Menu

SAP Function Module BAPI_TRADINGCONTRACT_CREATE

Trading Contract: Create from Template Data

The Function Module BAPI_TRADINGCONTRACT_CREATE (Trading Contract: Create from Template Data) is a standard Function Module in SAP ERP and is part of the function group 2124 within the package WB2B.

Technical Information

Function Module BAPI_TRADINGCONTRACT_CREATE
Short Text Trading Contract: Create from Template Data
Function Group 2124
Package WB2B
Module Type Remote-Enabled

Importing Parameters

These are the IMPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
HEADDATAIN LIKE BAPITCHEAD Communication Structure: Trading Contract Header Data:

Exporting Parameters

These are the EXPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
HEADDATAOUT LIKE BAPITCHEADOS Communication Structure: Trading Contract Header Data:
TRADINGCONTRACTNO LIKE BAPITCKEY-DOCUMENT_NUMBER Trading Contract: Trading Contract Number

Changing Parameters

This function module does not define any CHANGING parameters.

Table Parameters

These are the TABLE parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
BUSINESSDATAIN LIKE BAPITCBUS Communication Structure: Trading Contract Business Data
BUSINESSDATAOUT LIKE BAPITCBUSO Communication Structure: Trading Contract Business Data
BUSPARTYIN LIKE BAPITCPARTY Communication Structure: Trading Contract Partner
BUSPARTYOUT LIKE BAPITCPARTYO Communication Structure: Trading Contract Partner
EXTENSIONIN LIKE BAPIPAREX Reference Structure for BAPI Parameters EXTENSIONIN/EXTENSIONOUT
EXTENSIONOUT LIKE BAPIPAREX Reference Structure for BAPI Parameters EXTENSIONIN/EXTENSIONOUT
HEADTEXTIN LIKE BAPITCHEADTEXT Trading Contract: Header Text in Case of Creation
HEADTEXTOUT LIKE BAPITCHEADCTEXT Trading Contract: Header Text in case of Change
ITEMDATAIN LIKE BAPITCITEM Communication Structure: Trading Contract Item
ITEMDATAOUT LIKE BAPITCITEMO Communication Structure: Trading Contract Item
ITEMTEXTIN LIKE BAPITCITEMTEXT Trading Contract: Item Texts in Case of Creation
ITEMTEXTOUT LIKE BAPITCITEMCTEXT Trading Contract: Item Texts in Case of Change
PARTNERADDRESSES LIKE BAPIADDR1 BAPI Reference Structure for Addresses (Organization/Company)
RETURN LIKE BAPIRET2 Return parameter
SCHEDULEDATAIN LIKE BAPITCSHL Communication Structure: Trading Contract Sched. Line Data
SCHEDULEDATAOUT LIKE BAPITCSHLO Communication Structure: Trading Contract Sched. Line Data

Exceptions

This function module does not define any Exceptions.