Menu

SAP Function Module BAPI_CONTRACT_CREATEFROMDATA

Create Customer Contract

Recommended Now

All-new Echo Dot Smart speaker with Alexa

This bundle includes Echo Dot (3rd Gen) Charcoal and Philips Hue White A19 Medium Lumen Smart Bulb, 1100 Lumens. Built in Smart Home hub. Ask Alexa to control Zigbee-compatible devices. No additional Philips Hue hub required. Two choices for easy smart lighting - Start setting the mood with Hue Smart bulbs and your Echo device, supporting up to 5 Hue Bluetooth & Zigbee smart bulbs. Add the Hue Hub for whole-home smart lighting (up to 50 light points) and bonus features.

Check it out on amazon.com →

The Function Module BAPI_CONTRACT_CREATEFROMDATA (Create Customer Contract) is a standard Function Module in SAP ERP and is part of the function group 2034 within the package VAW.

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
BEHAVE_WHEN_ERROR LIKE BAPIFLAG-BAPIFLAG SPACE Error Handling
BINARY_RELATIONSHIPTYPE LIKE BAPIRELTYPE-RELTYPE SPACE Binary Relationship Type (Private)
CONTRACT_HEADER_IN LIKE BAPISDHD1 Document Header Data
CONTRACT_HEADER_INX LIKE BAPISDHD1X Checkbox for Header Data
CONVERT LIKE BAPIFLAG-BAPIFLAG SPACE Conversion of Partner Function + Order Type
INT_NUMBER_ASSIGNMENT LIKE BAPIFLAG-BAPIFLAG SPACE Internal Item Number Assignment
LOGIC_SWITCH LIKE BAPISDLS Internal Control Parameter
SALESDOCUMENTIN LIKE BAPIVBELN-VBELN Sales and Distribution Document Number
SENDER LIKE BAPI_SENDER Logical System - Sender
TESTRUN LIKE BAPIFLAG-BAPIFLAG Test Run

Exporting Parameters

These are the EXPORTING parameters of this function module.

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

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

Exceptions

This function module does not define any Exceptions.