Also pass recordtype (e.g B10 B40) logdate logtime. Make sure you are using correct BAPI check
BAPI_PRO* in SE37. Some are for Process orders and rest for Production Orders
Also pass recordtype (e.g B10 B40) logdate logtime. Make sure you are using correct BAPI check
BAPI_PRO* in SE37. Some are for Process orders and rest for Production Orders