Create Routing
The following API structure tables list all the APIs and the respective API fields that are required to create routings within the current version of SAP distribution targets. These APIs are listed in the order in which they are invoked.
BAPI_Routing_Create
This BAPI is used to create Routings. The invocation of BAPI_Routing_Create is followed by the BAPI_Transaction_Commit and BAPI_Transaction_Rollback based on success or failure of the call.
Windchill Attribute Name
API Structure
API Field
API Field Description
Value If Default Used
Source
Transform
Process plan number
TASK
TASK_LIST_G ROUP
Task list group
N/A
Windchill
N/A
TASK
GROUP_COUN TER
Group counter
N/A
TIBCO
N/A
Change Number
TASK
CHANGE_NO
Change number
N/A
Windchill
N/A
TASK
TASK_LIST_U SAGE
Task list usage
N/A
TIBCO
N/A
TASK
TASK_LIST_S TATUS
Task list status
N/A
TIBCO
N/A
Lot
TASK
LOT_SIZE_FR OM
Lot size from
N/A
Windchill
N/A
TASK
LOT_SIZE_TO
Lot size to
N/A
N/A
N/A
Part Number (from Process plan part link)
MATERIA LTASKAL LOCATION
MATERIAL
Material
N/A
Windchill
N/A
Target ID
MATERIA LTASKAL LOCATION
PLANT
Plant
N/A
Windchill
Substring of the Target ID
Process plan number
MATERIA LTASKAL LOCATION
TASK__LIST__ GROUP
Task list group
N/A
Windchill
N/A
MATERIA LTASKAL LOCATION
GROUP__COU NTER
Group counter
N/A
TIBCO
N/A
Change Number
MATERIA LTASKAL LOCATION
CHANGE__NO
Change number
N/A
Windchill
N/A
OperationH olderNumb er
OPERATION
TASK__LIST__ GROUP
Task list group
N/A
Windchill
N/A
OPERATION
GROUP__COU NTER
Group counter
N/A
TIBCO
N/A
Change Number
OPERATION
CHANGE__NO
Change number
N/A
Windchill
N/A
Operation Label
OPERATION
ACTIVITY
Operation number
N/A
Windchill
N/A
ErpValidati onCode
OPERATION
CONTROL__K EY
Control key
N/A
Windchill
Cross reference
Work Center
OPERATION
WORK__CNTR
Work center
N/A
Windchill
Target ID
OPERATION
PLANT
Plant
N/A
Windchill
Substring of the Target ID
Description
OPERATION
DESCRIPTION
Description
N/A
Windchill
BaseUnitOf Measure
OPERATION
OPERATION__ MEASURE__U NIT
Operation measure unit
N/A
Windchill
Cross reference
OPERATION
DENOMINAT OR
Denominator
N/A
TIBCO
N/A
OPERATION
NOMINATOR
Nominator
N/A
TIBCO
N/A
Quantity
OPERATION
BASE__QUAN TITY
Base quantity
N/A
Windchill
N/A
SetupTime
OPERATION
STD__UNIT__ 01
Standard unit 1
N/A
Windchill
Substring after space
SetupTime
OPERATION
STD__VALUE __01
Standard value1
N/A
Windchill
Substring before space
ProcessingT ime
OPERATION
STD__UNIT__ 02
Standard unit 2
N/A
Windchill
Substring after space
ProcessingT ime
OPERATION
STD__VALUE __02
Standard value2
N/A
Windchill
Substring before space
LaborTime
OPERATION
STD__UNIT__ 03
Standard unit 3
N/A
Windchill
Substring after space
LaborTime
OPERATION
STD__VALUE __03
Standard value3
N/A
Windchill
Substring before space
WaitingTim e
OPERATION
MAX__WAIT_ _TIME__UNIT
Maximum wait time unit
N/A
Windchill
Substring after space
WaitingTim e
OPERATION
MAX__WAIT_ _TIME
Maximum wait time
N/A
Windchill
Substring before space
QueueTime
OPERATION
STANDARD__ QUEUE__TIM E__UNIT
Standard queue time unit
N/A
Windchill
Substring after space
QueueTime
OPERATION
STANDARD__ QUEUE__TIM E
Standard queue time
N/A
Windchill
Substring before space
MoveTime
OPERATION
STANDARD__ MOVE__TIME __UNIT
Standard move time unit
N/A
Windchill
Substring after space
MoveTime
OPERATION
STANDARD__ MOVE__TIME
Standard move time
N/A
Windchill
Substring before space
ProcessPlan Number
SEQUENC E
TASK__LIST__ GROUP
Task list group
N/A
Windchill
N/A
SEQUENC E
GROUP__COU NTER
Group counter
N/A
TIBCO
N/A
Sequence Line Number
SEQUENC E
SEQUENCE__ NO
Sequence number
N/A
Windchill
N/A
Category
SEQUENC E
SEQUENCE__ CATEGORY
Sequence category
N/A
Windchill
Cross reference
SEQUENC E
REFERENCE__ SEQUENCE
Reference sequence
N/A
Windchill
Cross reference
Name
SEQUENC E
DESCRIPTION
Description
N/A
Windchill
BaseUnitOf Measure
SEQUENC E
TASK__MEAS URE__UNIT
Task measure unit
N/A
Windchill
Cross Reference
BranchingO peration
SEQUENC E
BRANCH__OP ERATION
Branch operation
N/A
Windchill
N/A
ReturnOper ation
SEQUENC E
RETURN__OP ERATION
Return operation
N/A
Windchill
N/A
OperationH olderNumb er (From operation)
SUBOPER ATION
TASK__LIST__ GROUP
Task list group
N/A
Windchill
N/A
SUBOPER ATION
GROUP__COU NTER
Group counter
N/A
TIBCO
N/A
Change Number
SUBOPER ATION
CHANGE__NO
Change number
N/A
Windchill
N/A
Operation Label
SUBOPER ATION
ACTIVITY
Operation number
N/A
Windchill
N/A
ErpValidati onCode
SUBOPER ATION
CONTROL__K EY
Control key
N/A
Windchill
Cross referencing
Work Center
SUBOPER ATION
WORK__CNTR
Work center
N/A
Windchill
N/A
SUBOPER ATION
PLANT
Plant
N/A
TIBCO
N/A
Description
SUBOPER ATION
DESCRIPTION
Description
N/A
Windchill
N/A
BaseUnitOf Measure
SUBOPER ATION
OPERATION__ MEASURE__U NIT
Operation measure unit
N/A
Windchill
Cross referencing
SUBOPER ATION
DENOMINAT OR
Denominator
N/A
TIBCO
N/A
SUBOPER ATION
NOMINATOR
Nominator
N/A
TIBCO
N/A
Quantity
SUBOPER ATION
BASE__QUAN TITY
Base quantity
N/A
Windchill
N/A
SetupTime
SUBOPER ATION
STD__UNIT__ 01
Standard unit 1
N/A
Windchill
Substring after space
SetupTime
SUBOPER ATION
STD__VALUE __01
Standard value1
N/A
Windchill
Substring before space
ProcessingT ime
SUBOPER ATION
STD__UNIT__ 02
Standard unit 2
N/A
Windchill
Substring after space
ProcessingT ime
SUBOPER ATION
STD__VALUE __02
Standard value2
N/A
Windchill
Substring before space
LaborTime
SUBOPER ATION
STD__UNIT__ 03
Standard unit 3
N/A
Windchill
Substring after space
LaborTime
SUBOPER ATION
STD__VALUE __03
Standard value3
N/A
Windchill
Substring before space
COMPONE NTALLOC ATION
TASK__LIST__ GROUP
Task list
Group
N/A
TIBCO
N/A
COMPONE NTALLOC ATION
GROUP__COU NTER
Group
Counter
N/A
TIBCO
N/A
Change Number
COMPONE NTALLOC ATION
CHANGE__NO
Change number
N/A
Windchill
N/A
Operation Label
COMPONE NTALLOC ATION
ACTIVITY
Activity
N/A
Windchill
N/A
COMPONE NTALLOC ATION
BOM__TYPE
BOM type
N/A
TIBCO
N/A
COMPONE NTALLOC ATION
BOM__NO
BOM number
N/A
TIBCO
N/A
COMPONE NTALLOC ATION
ALTERNATIV E__BOM
Alternative
BOM
N/A
TIBCO
N/A
COMPONE NTALLOC ATION
ITEM__ID
Item id
N/A
TIBCO
N/A
COMPONE NTALLOC ATION
ITEM__NO
Item number
N/A
TIBCO
N/A
QuantityA mount
COMPONE NTALLOC ATION
COMP__QTY
Component
Quantity
N/A
Windchill
N/A
QuantityUn it
COMPONE NTALLOC ATION
COMP__UNIT
Component unit
N/A
Windchill
Cross referencing
Target ID
COMPONE NTALLOC ATION
PLANT
Plant
N/A
Windchill
Substring
Part Number (From process plan part link)
COMPONE NTALLOC ATION
MATERIAL
Material
N/A
Windchill
N/A
COMPONE NTALLOC ATION
BOM__TYPE_ _ROOT
BOM type
N/A
TIBCO
N/A
COMPONE NTALLOC ATION
BOM__NO__R OOT
BOM number root
N/A
TIBCO
N/A
COMPONE NTALLOC ATION
ALTERNATIV E__BOM__RO OT
Alternative BOM root
N/A
TIBCO
N/A
Operation Holder Number
PRODUCT IONRESO URCE
TASK__LIST__ GROUP
Task list group
N/A
Windchill
N/A
PRODUCT IONRESO URCE
GROUP__COU NTER
Group counter
N/A
TIBCO
N/A
Change Number
PRODUCT IONRESO URCE
CHANGE__NO
Change number
N/A
Windchill
N/A
Operation Label
PRODUCT IONRESO URCE
ACTIVITY
Activity
N/A
Windchill
N/A
AllocationN umber
PRODUCT IONRESO URCE
ITEM__NO__O F__PRODUCTI ON__RESOUR CE
Item number of PRT
N/A
Windchill
N/A
PRODUCT IONRESO URCE
CTRL__KEY
Control key
N/A
TIBCO
N/A
Resource Number
PRODUCT IONRESO URCE
DESCRIPTION
Description
N/A
Windchill
N/A
Type, Category
PRODUCT IONRESO URCE
PRT__CATEG ORY
PRT category
N/A
Windchill
Cross Referencing
Target ID
PRODUCT IONRESO URCE
PRT__PLANT
PRT plant
N/A
Windchill
Substring
ResourceNumber
PRODUCT IONRESO URCE
MATERIAL
Material
N/A
Windchill
N/A
Type
PRODUCT IONRESO URCE
DOCUMENT__ TYPE
Document type
N/A
Windchill
Cross Referencing
DocumentN umber
PRODUCT IONRESO URCE
DOCUMENT__ NUMBER
Document number
N/A
Windchill
N/A
PRODUCT IONRESO URCE
DOCUMENT__ PART
Document part
N/A
TIBCO
N/A
DocumentVersion
PRODUCT IONRESO URCE
DOCUMENT__ VERSION
Document version
N/A
Windchill
N/A
ResourceNumber
PRODUCT IONRESO URCE
EQUIPMENT
Equipment
N/A
Windchill
N/A
TEXT
FORMAL_COL
Text Format
NA
TIBCO
NA
Long Description
TEXT
TEXT_LINE
Long Description Text
NA
Windchill
NA
TEXTALLOCATION
OBJECT_TYPE
Object Type
NA
TIBCO
NA
Change Number
TEXTALLOCATION
CHANGE_NO
Change Number
NA
Windchill
NA
Process Plan Number
TEXTALLOCATION
TASK_LIST_GROUP
Process Plan Number
NA
Windchill
NA
TEXTALLOCATION
SEQUENCE_NO
Sequence Number
NA
Windchill
NA
Operation Label
TEXTALLOCATION
ACTIVITY
Operation Label
NA
Windchill
NA
Sub-Operation Label
TEXTALLOCATION
SUB_ACTIVITY
Sub-Operation Label
NA
Windchill
NA
TEXTALLOCATION
LANGU
Language Code
NA
TIBCO
NA
TEXTALLOCATION
LANGU_ISO
Language Code
NA
TIBCO
NA
TEXTALLOCATION
LINE_FROM
Starting Line Number For Long Description Text
NA
TIBCO
NA
TEXTALLOCATION
LINE_TO
Ending Line Number For Long Description Text
NA
TIBCO
NA
这对您有帮助吗?