p$pool:sap:routing_create
p$pool:sap:routing_create
With this decision table, an administration parameter group SAPDef is filled with the data required for creating a routing including material data and processes in SAP. The decision table is located in the network group POOL and can be edited by the user. In particular, you should note that the referenced parameter groups can be adjusted individually. Their names can also be modified. Before calling the function, you must ensure that the contents of the parameter groups are filled correctly and the number of filled data records is adjusted. If desired, additional tables can be added.
ELSE | ||
B1 | ||
A1 | SAPDef.FunktionsName = ’BAPI_ROUTING_CREATE’ | x |
A2 |
|
|
A3 | p$tdv:sap:add_import(’GROUP’,0,0) | x |
A4 | p$tdv:sap:add_import(’GROUPCOUNTER’,0,0) | x |
A5 |
|
|
A6 | p$tdv:sap:add_tabelle( ’RETURN’ , ’BAPIRET2’ ,’BapiReturn’ , 0 ,0 ) | x |
A7 | p$tdv:sap:add_tabelle( ’TASK’ ,’BAPI1012_TSK_C’ ,’Routing_Header’ , 2 , 1 ) | x |
A8 | p$tdv:sap:add_tabelle( ’MATERIALTASKALLOCATION’ , ’BAPI1012_MTK_C’ , ’Materialdata’ , 2 , 1 ) | x |
A9 | p$tdv:sap:add_tabelle( ’OPERATION’ , ’BAPI1012_OPR_C’ , ’Processdata’ , 2 , 3 ) | x |
A10 | p$tdv:sap:add_tabelle( ’TEXTALLOCATION’ , ’BAPI1012_TXT_HDR_C’ , ’TextAllocation’ , 2 , 2 ) | x |
A11 | p$tdv:sap:add_tabelle( ’TEXT’ , ’BAPI1012_TXT_C’ , ’Longtext’ , 2 , 6 ) | x |
A12 | p$tdv:sap:add_tabelle( ’PRODUCTIONRESOURCE’ , ’BAPI1012_PRT_C’ , ’FHM’ , 2 , 3 ) | x |