cancel
Showing results for 
Search instead for 
Did you mean: 

Using BAPI to create contract in backend.

Former Member
0 Kudos

We are using SRM4.0 and backend R/3 4.7. We are using the extended classic scenario and have to create the contracts both in SRM and backend.

We need to use the BAPI FM BAPI_CONTRACT_CREATEFROMDATA to create the contracts in R/3. But I'm facing a difficulty in calling this BAPI.

Please could you advise what are the mandatory parameters. Please could you tell me what should be the value for ORDER_HEADER_IN-DOC_TYPE, ORDER_HEADER_IN-SALES_ORG, ORDER_HEADER_IN-DISTR_CHAN, ORDER_HEADER_IN-DIVISION?

Thanks in advance,

Anish Cherian

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Anish,

Please look at this threads:

and this:

Documentation of the BADI - BBP_CTR_BE_CREATE

BBP_CTR_BE_CREATE

____________________________________________________

Short Text

Create Contract in Backend System

Use

With Business Add-In BBP_CTR_BE_CREATE, you can replace or supplement existing contract data in SAP Enterprise Buyer with your own backend structures and tables.

Enterprise Buyer calls this BAdI before it makes the RFC to the backend system to create a contract.

Requirements

You use the method CONTRACT_LOGSYS_DETERMINE of the BAdI Determine Backend System/Company Code. Only in connection with this, can you use BBP_CTR_BE_CREATE.

Standard settings

The BAdI provides the following methods:

-> CONTRACT_INTERFACE_FILL

-> CONTRACT_PROCESS_TYPE_FILL

Activities

Implement and activate the BAdI if you wish to create contracts in the backend system and replace or supplement contract data.

Regards,

Marcin

Former Member
0 Kudos

Hi Marcin,

Many thanks for that. But we have already implemented this for the 'Global outline agreements'.

My understanding is that for creating the 'purchase contracts' in backend, we need to use the BAPI or the function module BBPV_CONTRACT_CREATE.

Please could you advise?

Answers (0)