2009 Sep 16 7:08 AM
Hi Experts,
I have created customer contract using the BAPI "BAPI_CONTRACT_CREATEFROMDATA" and now I am in need of creating value contract by passing the assortment module number to the field VBAP-SKOPF, which is in VA41 T-code. Which BAPI I can use to create contract for this? Help me.
Thanks and regards,
Venkat.
Hi Experts,
I have created customer contract using the BAPI "BAPI_CONTRACT_CREATEFROMDATA" and now I am in need of creating value contract by passing the assortment module number to the field VBAP-SKOPF, which is in VA41 T-code. Which BAPI I can use to create contract for this? Help me.
Thanks and regards,
Venkat.
2009 Sep 16 7:46 AM
Hello
Use FM 'SD_SALESDOCUMENT_CHANGE' for change contract.
Search SDN for code example.
You need fill:
ITEM_IN-ASSORT_MOD
ITEM_INX-ASSORT_MOD
or 'BAPI_CUSTOMERCONTRACT_CHANGE'
CONTRACT_ITEMS_IN-ASSORT_MOD
CONTRACT_ITEMS_INX-ASSORT_MOD
And for create - use "BAPI_CONTRACT_CREATEFROMDATA"
CONTRACT_ITEMS_IN-ASSORT_MOD
CONTRACT_ITEMS_INX-ASSORT_MOD
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |