cancel
Showing results for 
Search instead for 
Did you mean: 

Direct contract in the backend - Classic Scenery SRM 7.0

pedro_santos6
Contributor
0 Kudos

Hi Masters,

I´m using SRM 7.0 Package 08 in the classic scenery.

I´m trying to create a direct contract of a QUOT acepted and that need to go to the backend.

I´m using two badis:

BBP_DETERMINE_LOGSYS

Where the variable CV_LOGSYS is with the system backend destiny

BBP_CTR_BE_CREATE

Where the variable IV_LOGICAL_SYSTEM is with the system backend destiny.

Where the variable CV_USER is with the user RFC.

The result is generating myself a message: " CONTRACT 4400000041 - WAS CREATED " (/SAPSRM/PDO_WKL455 BPP_PD455)

But that contract is not available in SRM and it is not also available in ECC.

I forgetting something?

Thank you,

Pedro Marques

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi,

Contract(Central contract) replication from SRM to ECC will be via eSOA technology (enterprise services) if the ECC is 6.0 EHP4.

for Lower version the contract (GOA)replication happens via IDOC

please confirm your EHP??

regards,

Mitesh

pedro_santos6
Contributor
0 Kudos

Hi,

That´s solved with the code below:

IF_EX_BBP_DETERMINE_LOGSYS~CONTRACT_LOGSYS_DETERMINE

DATA: wa_items TYPE bbp_pds_transfer_item.
READ TABLE it_items INTO wa_items INDEX 1.
IF sy-subrc = 0.
cv_logsys = wa_items-be_log_system.
ENDIF.
commit work and wait.

Rgs,

Pedro Marques

Former Member
0 Kudos

Hi,

Contract(Central contract) replication from SRM to ECC will be via eSOA technology (enterprise services) if the ECC is 6.0 EHP4.

for Lower version the contract (GOA)replication happens via IDOC

please confirm your EHP??

regards,

Mitesh

Former Member
0 Kudos

Hi,

Contract(Central contract) replication from SRM to ECC will be via eSOA technology (enterprise services) if the ECC is 6.0 EHP4.

for Lower version the contract (GOA)replication happens via IDOC

please confirm your EHP??

regards,

Mitesh

Former Member
0 Kudos

Pedro,

I am not sure if you can create a contract through those Badis in SRM70. bcoz with SRM70 and ECC60 Ehp4, XI/PI is introduced as a medium to create central contracts. I dont know if you are using ECC60 Ehp4 pack.

Regards,

Jagadish

pedro_santos6
Contributor
0 Kudos

I believe that it exists yes possibility, as well as it comments on the text of the badi:

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.

Activities

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

Anybody have some idea?

Thanks,

Pedro

Former Member
0 Kudos

Hi Pedro,

Not sure for the resom you are trying to use BADI's for creating the Contract, as per standrad configuration the following XI/PI messages needs to set up for creating the contract.

SRM PurchasingContractERPRequest_Out_V1 PurchasingContractERPRequest_In_V1 ERP

ERP PurchasingContractERPConfirmation_Out PurchasingContractERPConfirmation_In SRM

Refer Note 1268821 this gives the exact steps and configuration required for contract management in SRM7.0 and ECCehP4.