Post GI programmatically for subcontracting PO stock (mvt type 541)
I have to automate a process where we use subcontracting PO's. I can do the process manually, and most of it programmatically - the only place where I am struggling is to find the programmatic equivalent of transaction ME2O (not 0), where you post the GI of subcontracting stock for use by the Vendor (mvt type 541).
I have tried to use the BAPI to create goods movements, and also the FM
, but have had no joy. I simply get the error message:
Goods movement not possible with mvmt type 541
Does anyone out there have a solution/suggestion for the above?
Points will obviously be rewarded for helpful/correct answers.