on 05-12-2022 7:22 PM
Hi gurus,
We are using the BAPI_SALESORDER_CREATEFROMDAT2 in order to create a sale order with schdule type subcontracting.
The BAPI create a new sales order with the BOM explosion fine.
But when we see the purchase requisition (type L) created in Sales Order schedule, we coiuldn't see the material list exploted.
It's seems like when the Purchase Requisition, the BOM is missing.
Could you please help us with that issue?
Thanks!
Hi Mathias,
My suggestion is to trigger it from your function/program that calls the Bapi. Not from VA01.
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Matias,
If you do the same thing from gui and if everything works fine, that means you are missing some data in bapi. And to understand what is wrong, it is best to put a break point in bapi and save data as test case for bapi. Once you do that you can open bapi in se37 and load saved test data to try different combinations.
Hope that helps.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
2 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.