How to use BAPI_ROUTING_CREATE
We would to share Full ABAP Program to upload Routing using BAPI_ROUTING_CREATE . Routing data is located in Excel file.
Below is the template from excel file. and you can modify it according to your needs
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
perform fill_cell using 1 1 'X' 'Material No' 'L' 'C'. perform fill_cell using 1 2 'X' 'Task List Description' 'L' 'C'. perform fill_cell using 1 3 'X' 'Plant' 'L' 'C'. perform fill_cell using 1 4 'X' 'Task List Usage' 'L' 'C'. perform fill_cell using 1 5 'X' 'Status' 'L' 'C'. perform fill_cell using 1 6 'X' 'From Lot Size' 'L' 'C'. perform fill_cell using 1 7 'X' 'UoM Task List' 'L' 'C'. perform fill_cell using 1 8 'X' 'Work Center' 'L' 'C'. perform fill_cell using 1 9 'X' 'Control Key' 'L' 'C'. perform fill_cell using 1 10 'X' 'Operation Short Text' 'L' 'C'. perform fill_cell using 1 11 'X' 'Base Qty' 'L' 'C'. perform fill_cell using 1 12 'X' 'Valid From(YYYYMMDD)' 'L' 'C'. perform fill_cell using 1 13 'X' 'Machine' 'L' 'C'. perform fill_cell using 1 14 'X' 'FOH' 'L' 'C'. perform fill_cell using 1 15 'X' 'Labor' 'L' 'C'. perform fill_cell using 1 16 'X' 'Carrier' 'L' 'C'. perform fill_cell using 1 17 'X' 'Qty per Jig' 'L' 'C'. perform fill_cell using 1 18 'X' 'Jig Available' 'L' 'C'. |
You can download ABAP Program to upload or download Routing here – > Upload SAP Routing ABAP Program