Menu

SAP Function Module BAPI_CONTRACT_CREATEFROMDATA

Create Customer Contract

Technical Information

Function Module BAPI_CONTRACT_CREATEFROMDATA
Short Text Create Customer Contract
Function Group 2034
Package VAW
Module Type Remote-Enabled

Importing Parameters

These are the IMPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
SALESDOCUMENTIN TYPE BAPIVBELN-VBELN Sales and Distribution Document Number
CONTRACT_HEADER_IN TYPE BAPISDHD1 Document Header Data
CONTRACT_HEADER_INX TYPE BAPISDHD1X Checkbox for Header Data
SENDER TYPE BAPI_SENDER Logical System - Sender
BINARY_RELATIONSHIPTYPE TYPE BAPIRELTYPE-RELTYPE SPACE Binary Relationship Type (Private)
INT_NUMBER_ASSIGNMENT TYPE BAPIFLAG-BAPIFLAG SPACE Internal Item Number Assignment
BEHAVE_WHEN_ERROR TYPE BAPIFLAG-BAPIFLAG SPACE Error Handling
LOGIC_SWITCH TYPE BAPISDLS Internal Control Parameter
TESTRUN TYPE BAPIFLAG-BAPIFLAG Test Run
CONVERT TYPE BAPIFLAG-BAPIFLAG SPACE Conversion of Partner Function + Order Type

Exporting Parameters

These are the EXPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
SALESDOCUMENT TYPE BAPIVBELN-VBELN Number of Generated Document

Changing Parameters

This function module does not define any CHANGING parameters.

Tables Parameters

These are the TABLES parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
RETURN TYPE BAPIRET2 Return Messages
CONTRACT_ITEMS_IN TYPE BAPISDITM Item Data
CONTRACT_ITEMS_INX TYPE BAPISDITMX Item Data Checkbox
CONTRACT_PARTNERS TYPE BAPIPARNR Document Partner
CONTRACT_CONDITIONS_IN TYPE BAPICOND Conditions
CONTRACT_CONDITIONS_INX TYPE BAPICONDX Communication Fields for Maintaining Conditions in the Order
CONTRACT_CFGS_REF TYPE BAPICUCFG Configuration: Reference Data
CONTRACT_CFGS_INST TYPE BAPICUINS Configuration: Instances
CONTRACT_CFGS_PART_OF TYPE BAPICUPRT Configuration: Part-of Specifications
CONTRACT_CFGS_VALUE TYPE BAPICUVAL Configuration: Characteristic Values
CONTRACT_CFGS_BLOB TYPE BAPICUBLB Configuration: BLOB Internal Data (SCE)
CONTRACT_CFGS_VK TYPE BAPICUVK Configuration: Variant Condition Key
CONTRACT_CFGS_REFINST TYPE BAPICUREF Configuration: Reference Item / Instance
CONTRACT_DATA_IN TYPE BAPICTR Contract Data
CONTRACT_DATA_INX TYPE BAPICTRX Contract Data Checkbox
CONTRACT_TEXT TYPE BAPISDTEXT Texts
CONTRACT_KEYS TYPE BAPISDKEY Output Table of Reference Keys
EXTENSIONIN TYPE BAPIPAREX Customer Enhancement for VBAK, VBAP, VBEP
PARTNERADDRESSES TYPE BAPIADDR1 BAPI Reference Structure for Addresses (Org./Company)

Exceptions

This function module does not define any EXCEPTIONS.