2016 Jan 13 3:42 PM
Hi all,
I create a sales order through the BAPI_SALESORDER_CREATEFROMDAT2 and I want to determine commitment item externally. I put my commitment item in the field order_items_in-cmmt_item, but it doesn`t transfer to the created sales order item. There are no any FM-derivation rules.
I debug the process through FM_ASS_INPUT_PUT_SD where i_vbapkom-fipos is succesfully moved to gf_fmobjects-fipos, and then through FM_ASS_INPUT_GET_SD where gf_fmobjects-fipos is moved to c_cobl-fipos (and gf_fmobjects cleared then)
But in the beginning of the FORM cobl_fuellen the strusture cobl is cleared and so CI is not transfered.
Please, help me, where is the problem?
Best regards,
Roman
Please, let know if you get the answer. Thank you in advence!
Best regards, Roman.
2016 Jan 15 9:23 AM
2016 Jan 15 3:30 PM
Hi Roman,
create your own implementation of BAdI BADI_SD_SALES_ITEM.
The method IF_EX_BADI_SD_SALES_ITEM~ITEM_MAINTAIN_COM should be the right one.
KR
Andrea
2016 Jan 15 4:39 PM
Thank you for reply!
The method IF_EX_BADI_SD_SALES_ITEM~ITEM_MAINTAIN_COM is not useful in my case because i can`t influence on the cobl structure.
The method IF_EX_BADI_SD_SALES_ITEM~ITEM_COBL_COM_I works fine either the method BADI_FMDERIVE~FILL_CUSTOMER_FIELDS which I use finally.
However i still wonder why the BAPI_SALESORDER_CREATEFROMDAT2 don`t transfer commitment item to the sales order item without any BAdI`s.
regards, Roman
2016 Jan 15 9:00 PM
I would search for SAP notes and, if none found, open an incident with SAP.
2016 Jan 18 8:40 AM
Please, let know if you get the answer. Thank you in advence!
Best regards, Roman.
2016 Jan 18 2:45 PM
Roman, I was suggesting that you search the notes and open an incident. Sorry if the verbiage was not clear. When someone says "I would" they usually mean "if I were in your place, this is what I would do".
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |