Functional Description
This NER performs adds, updates, deletes and inquiries on the Cost Classification table (F31P21).
Setup Notes and Prerequisites
The szTransactionAction parameter must be passed to the function to indicate the operation to be performed. Valid values are:
A = Add
C = Change/Update
D = Delete
I = Inquire
Special Logic
All Cost Classification fields passed to the NER will be validated before the table operation is performed. Any errors
encountered will be returned.
Technical Specifications
1.0 If szTransactionAction is equal to A, C, D, or I
1.1 Validate szBranchPlant (MMCU) in Business Unit Master (F0006)
1.2 Validate mnProjectNumber (PRMJ) in Work Order Master (F4801)
1.3 Validate szCostType in UDC 30/CA
1.4 Validate szAccountId in the Account Master (F0901)
1.5 Validate szCostClassification in UDC 31P/C
2.0 If no errors in validation occured
2.1 Perform requested table operation
D31P0300 - F31P21 - Cost Classification MBF
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
szTransactionAction | TNAC | char | OPT | NONE |
A code that indicates the activity you want to perform on the transaction. In an EDI transaction, this code represents the Transaction Set
| ||||
cSuppressErrorMessage | SUPPS | char | OPT | NONE |
A flag indicating whether or not runtime error messaging will occur when an error message is issued from a business function.
0 = allow
| ||||
szErrorMessageId | DTAI | char | OPT | NONE |
A code that identifies and defines a unit of information. It is an alphanumeric code up to 8 characters long that does not allow blanks or
| ||||
cErrorCode | ERRC | char | OPT | NONE |
This error code indicates if any errors occurred during the creation of the Trip Document Detail (F4914) records by the Delivery Document
| ||||
szBranchPlant | MMCU | char | OPT | NONE |
A code that represents a high-level business unit. Use this code to refer to a branch or plant that might have departments or jobs, which
| ||||
mnProjectNumber | PRJM | MATH_NUMERIC | OPT | NONE |
A number that identifies an EPM project in the system. The project must be set up in the Add/Revise Project program (P31P011). | ||||
szCostType | COST | char | OPT | NONE |
A code that designates each element of cost for an item. Examples of the cost object types are:
o A1 Purchased raw material
o B1
| ||||
szAccountId | AID | char | OPT | NONE |
A number that the system assigns to each general ledger account in the Account Master table (F0901) to uniquely identify it. | ||||
szCostClassification | CTCL | char | OPT | NONE |
A user defined code 31P/CC that the system uses to associate cost types or account numbers with cost buckets, such as material costs,
| ||||
jdDateUpdated | UPMJ | JDEDATE | OPT | NONE |
The date that specifies the last update to the file record. | ||||
szUserId | USER | char | OPT | NONE |
The code that identifies a user profile. | ||||
szWorkStationId | JOBN | char | OPT | NONE |
The code that identifies the work station ID that executed a particular job. | ||||
szProgramId | PID | char | OPT | NONE |
The number that identifies the batch or interactive program (batch or interactive object). For example, the number of the Sales Order Entry
| ||||
mnTimeOfDay | TDAY | MATH_NUMERIC | OPT | NONE |
The computer clock in hours:minutes:seconds. |
None |
None |