on 02-18-2014 10:23 PM
Hi Guru,
I need a help from you.
the shopping cart, PO, and confirmation are created in SRM correctly, and PO,confirmation are correctly replicated to ERP system.
but the invoice is created in SRM and replicated to ERP system with Idoc status 51 error, showing communication failure, the detail can be seen in attached picture.
what is the reason for this error? how to correct it?
thanks
have a good day
jeff
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vinita,
Thanks again, I tried WE19 and report RBDMANI2, but error still keep same unluckily.
I also found some possible reason from website.
For Idoc. in status 51:
Two technical errors are often the cause of incorrect IDoc processing in the application:
1. Incorrect process code in the partner profile: I think process code iv01 is right chosen.
2. Authorizations missing: Does the RFC user (for immediate processing) or the batch user (for background processing) have the required authorizations? I am not sure what kind of authorizations
are required exactly? for example, the user I used for RFC, has assigned SAP_ALL and SAP_NEW.
who can help me to understand the Authorization a little more?
Thanks
jeff
Hi jeff,
"communication failure" is a general error in the idoc, and would you please further check if there is speicific error in this idoc?
If you can't find this, I am afraid that you have to debug the process and you may set breakpoint at BAPI_ACCSERV_CHECKACCASSIGNM.
Regards,
Ivy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Raghu,
Thank you for your input.
I tried your suggestion. I set an external break point for the method "CONSTRUCTOR"of the class "/SAPSRM/CX_SPML_CONNECTION, but the debugger only start one time when I finished shopping card creation and checked the follow-on document in SRM.
Debugger did not start when i am doing confirmation and invoice.
please give me some details point for debugging the invoice creation in SRM.
Thanks again
jeff
Hi Jeff ,
Is this the 1st time you are sending an invoice or is it happening intermittently . For the inital check can you please go to BD64 distribution model view and check in there if you have the below defined.
The following message types are required:
If you use the P-card option, you also require these message types and BAPI:
if you could paste the screenshot would be better
Thanks
Regards
Vinita
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank for, Vinita.
I already setup distribution model by BD64 and partner profile by WE20 in both system (outbound in SRM and inbound in ERP). Everything for outbound Idoc is green light in SRM (sending successfully with status 03).
No P-card is used and it is classic scenario with SRM7.0 and ECC6.
I attach a picture that is the inbound setting for partner profile in ERP by WE20.
I used process code IV01 for setting up message type BBPIV, and the function module is IDOC_INPUT_BBP_IV.
Anything correct or not ?
Thanks
Regards
Jeff
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.