cancel
Showing results for 
Search instead for 
Did you mean: 

SRM 7.0 Central Contract- Distribution to backend failure

Former Member
0 Kudos

Hello experts,

We are implementing SRM 7.0 Central contracts scenario with PI.

The Contracts get created and Released but the problem is that the Distribution to backend fails. The Status in BBP_PD shows 'Distribution Incorrect' and the RZ20 gives an error 'Backend data cannot be read'.

We checked all the configuration settings (including the PI settings) and everything seems to be in order.

Would appreciate if someone could throw some light on the potential cause of the problem.

Thanks

Raman.

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member183819
Active Contributor
0 Kudos

https://service.sap.com/sap/support/notes/1270081

where the contract data is lying in PI or SRM ?

Are all contracts npt reached ECC or only few.?

since there is a issue.

Are you sure SRM-PI-ECC ehp4 communications are correct.

attached note has trouble shooting guide.

Muthu

Former Member
0 Kudos

Thanks for the quick response.....Outbound message does n't get generated in SRM at all.

former_member183819
Active Contributor
0 Kudos

so you are telling that SRM did not give input to PI itself

PurchasingContractSRMReplicationRequest_Out

SAP Note 1268821 - SRM 7.0 / ERP 6.04: Config. of Central

Contract Management

cross verify all your settings - keep eye on moni transactions . any clue?

Note 1501340 - CCM: Contract not created and no error available - this note is existing in your ECC system

You are using the scenario Central Contract Management (CCM) as of SAP ERP 6.04 with SAP SRM 7.0. When the SOA message is updated in the SAP ECC system, the message is displayed with the processed successfully status; however, you cannot find the contract in the system.

Muthu

Former Member
0 Kudos

Yes.We used this Note 1268821 and 1268336 for configuration.SXMB_MONI does not generate any messages though we are able to generate Blank XML templates in test mode.

Former Member
0 Kudos

No Muthu....The Contract is not Getting out of SRM at all.It is failing right at that step.

former_member183819
Active Contributor
0 Kudos

YES. After approval message must created. any logs BBP_CTR_MON .

any piece of data missing in distribution purchase organisation since SRM dont front end dont validate.

some piece is missing.

Muthu

Former Member
0 Kudos

Will check that Tommorow and reply back.Thanks for the tips and leads so far.

former_member183819
Active Contributor
0 Kudos

Message must have created . check all SRM outbound transactions .but PI could not catch them.

Note 1284369 - User attributes check in Contract distribution via services - what is your SP level in SRM 700.

The sap stratergy in earlier version

table in ECC BBPD_CTR_IDOCREF with message 019-This will result in setting the GOA status to 'Distribution Incorrect'.

so SAP might have tried the same way in CCTR as well, Once message are created and this message number like IDOC number updated in ECC table for the further refrence .so like wise SRM trying to communicate the same to ECC but it would have failed.

do you remeber when GOA idoc fails this table we will have reference number and reprocessing idoc.

like any reference of your input must register in one ECC table but there may have this table or some other reference table.

/SAPSRM/CL_CH_SOA_MAP_CTR_OUT CLASS DO SOME trick and see what is happening here

Muthu

Former Member
0 Kudos

Tried debugging the Proxy PurchasingContractSRMReplicationRequest_OUT and found that the Contract data gets passed on to the Proxy but the data does not further get passed on to the PI system. We get a Communication failure message.We are analyzing the reason for Communication failure message.

Thanks.

Former Member
0 Kudos

ABAPer was able to find the issue.Contract message has been sent out of SRM though it is failing in ECC (due to some other reason)

former_member183819
Active Contributor
0 Kudos

what are the roles are assigned to XI user. there is some roles needs be assigned .

Central Contract Management

You require the following recipient communication channels:

- SRM: PI recipient channel

- ERP: PI recipient channel

Roles of the technical user in the SRM system:

- SAP_XI_APPL_SERV_USER

- /SAPSRM/EMPLOYEE

Note 1268336 contains detailed information about the point to point configuration of synchronous services that you use in the Central Contract Management.

Former Member
0 Kudos

The roles were fine....But the issue was what you mentioned as

''You require the following recipient communication channels:

- SRM: PI recipient channel

- ERP: PI recipient channel''

We defined an entry for PI System in SRM in transaction SXMB_ADM.

Former Member
0 Kudos

Sorry the post went with blank content....We maintained an entry for PI system in SXMB_ADM.After that was done, messages started flowing out of SRM into PI.

former_member183819
Active Contributor
0 Kudos

Did it reach ECC or still struck in PI ?

Muthu

Former Member
0 Kudos

It reached ECC.Thanks Muthu.

Former Member
0 Kudos

Problem in ECC Side was that we were trying to replicate Contracts with Purchasing organizations being assigned at Plant level.

It does not work this way.Once the Purchasing organization was assigned to a Specific Company code, Contract flowed thorugh to ECC.

Former Member
0 Kudos

Hi Muthu,

I am experiencing similar issue.

When I am creating a Central Contract in SRM and distributing it to ECC, the XML gets successfully posted in ECC.

But no contract is created in ECC and no error messgae is available either in ECC or SRM.

The SRM contract when seen through BBP_PD transaction shows status as "In Distribution".I have followed the complete config steps for CCTR mentioned in the available no 1268821.

Also I have implemented the notes mentioned in this thread.

Please let me know the reason why the ECC contract is not getting craeted and also due to the same Confirmation_out message is not triggered from ECC.

Thanks!!

Swati