Skip to Content
0
Dec 09, 2014 at 02:13 PM

GTM function module BAPI_TRADINGCONTRACT_CREATE

394 Views

I copy trading contracts (SAP GTM) using function module BAPI_TRADINGCONTRACT_CREATE. First I use function module BAPI_TRADINGCONTRACT_CHANGE to read the contract I want to copy and then I create the new trading contract with function module BAPI_TRADINGCONTRACT_CREATE.

On the trading contract I have sales conditions marked as delivery costs (KNTYP = B). For these conditions the vendor field is displayed when double-clicking on the condition.

The problem is when creating trading contract with BAPI_TRADINGCONTRACT_CREATE I can't update the value in the vendor field.

Please help.

/Torben