Create and Update Joint Production Using ZRFC
The following API structure tables list all the APIs and the respective API fields that are required to create and update joint production within the current version of SAP distribution targets. These APIs are listed in the order in which they are invoked.
/PTC/ZMATERIAL_COSTS_SPLIT_UPD
SAP does not provide any APIs that can be directly accessed by the client to consume joint production information. This custom RFC has been developed to enable calling the standard SAP function MATERIAL_COSTS_SPLIT_UPDATE to create and update joint production.
Windchill Attribute Name
API Structure
API Field
API Field Description
Value If Default Used
Source
Transform
Assembly Number
TMAKG
MATNR
CoProduce Material Number
Windchill
Plant
TMAKG
WERKS
Plant
Windchill
Alternate Number
TMAKG
CSPLIT
Apportionment Structure
Windchill
TMAKG
CRULE
Cost Apportionment Methods
“2”
TIBCO
Default lookup
TMAKG
UKZ
General Action Flag
TIBCO
Default lookup
Assembly Number
TMAKV
MATNR
CoProduce Material Number
Windchill
Plant
TMAKV
WERKS
Plant
Windchill
Alternate Number
TMAKV
CSPLIT
Apportionment Structure
Windchill
TMAKV
SCTYP
Structure Type
“U”
TIBCO
Default lookup
TMAKV
KTEXT
Joint Production Description
TIBCO
Default lookup
TMAKV
UKZ
General Action Flag
TIBCO
Default lookup
CoProduce Primary Material Number
TMAKZ
MATNR
Material Number
Windchill
TMAKZ
WERKS
Plant
Windchill
TMAKZ
CSPLIT
Apportionment Structure
Windchill
TMAKZ
KUPPL
Co-product
Windchill
TMAKZ
DATUB
Valid-to date
TIBCO
Default lookup
TMAKZ
ZIFFR
Equivalence Numbers
Windchill
TMAKZ
UKZ
General Action Flag
TIBCO
Default lookup
這是否有幫助?