HI ,
I am trying to create a script which creates routing header, operations, material assignments & operation long text(tcode CA01). I am using a bapi "BAPI_ROUTING_CREATE" for this .
The script works well for creating routing header & operations. However I am not able to extend it for material assignment & operation long text. The issue is with the loops and I am not able to figure out how to handle those for material assignment & long text . As soon as I insert these two tables, the script doesn't work anymore.
Can somebody have a look or share any example on how to handle this .?
my version of script is attached.
------------------------------
Aaksnha Gupta | SAP data migration
Moog GmbH | +918130780074
------------------------------