cancel
Showing results for 
Search instead for 
Did you mean: 

Sales Document Issue Replication "Pricing document cannot be opened"

Former Member
0 Kudos

Hello Experts,

I´m facing an issue when replicating sales order from ECC to CRM.

Whenever I try to replicate a sales document form ECC to CRM there is a queue in CRM inbound queue <smq2> which has the SYSFAIL status. This queue details send me to smw01. Under smw01 I found the BDOC BUS_TRANS_MSG with Information State (no processing) and when clicking on the icon BDOC Message Errors, I can see the detailed error

Pricing document cannot be opened "Message no. PRC_MESSAGES_EXT120"

Validation error occurred: Module CRM_DOWNLOAD_BTMBDOC_VAL, BDoc type BUS_TRANS_MSG. "Message no. SMW3018"

Has anyone face this issue before ? Any comment on how to solve the issue will be highly appreciated.

Relevant Information.

ECC 6.0

CRM 7.0

Replication Scenario Defined: A "Interdependent Changes"

Replication from CRM to ECC is working fine and no pricing errors were found.

Regards.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hello Kumar,

Thanks for your reply.

I already checked the VMC via Tx. SM52 and its running OK. Just to ensure this I also reset the VMC.

Even these steps mentioned before it was clear for me that the VMC was running OK, since sales orders generated from CRM had no troubles with pricing neither with replication to ECC.

Any other idea ??

I have already checked for notes: 793158 / 579336 but they seem to be no relevant for my BBPCRM

Thanks in advance for your comments.

kakshat
Advisor
Advisor
0 Kudos

In CRM, pricing happens through IPC which, in turn, runs on VMC. Have you made sure that VMC is up and running?

Former Member
0 Kudos

Hello Kumar,

I already checked for the VMC and can confirm that it is running OK.

Any other Idea ??

Regards

Former Member
0 Kudos

Hello Kumar,

I already checked for the VMC and can confirm that it is running OK.

Any other Idea ??

Regards

Former Member
0 Kudos

Hello Kumar,

I already checked for the VMC and can confirm that it is running OK.

Any other Idea ??

Regards

kakshat
Advisor
Advisor
0 Kudos

Ok. Did you try reprocessing the Bdoc from SMW01 and then debugging it to reach the problem?

Former Member
0 Kudos

Kumar,

With the help of my ABAP collegues we were able to debbug. What we found was an IPC_FAILURE exception on the CRM_ORDER_SAVE function under SAPLCRM_ORDER_API.

We couldn´t go any further and we are still not clear on what is causing the issue.

Any idea after this debbug ??

Regards.

kakshat
Advisor
Advisor
0 Kudos

Daniel,

You are closer to the problem but most probably the exception is being raised somewhere before the call to CRM_MESSAGES_GET_EXCEPTIONS. CRM_MESSAGES_GET_EXCEPTIONS would probably just be reading the message log using the input handle and returning the same. You will need to debug to find out where exactly the exception is being raised. You could start from the call to CRM_ORDER_SAVE_OW and move backwards from there. One thing that you can do is to track parameter iv_log_handle because wherever the IPC_FAILURE exception is being raised, the log handle would have been used. Yet another hint would be to set breakpoints at the calls to RFCs SPC_CREATE_DOCUMENT and SPC_CHANGE_DOCUMENT. These RFCs are interfaces to VMC commands related to pricing document. You can check the es_profile-messages parameter for error messages from VMC.


Hope it helps.