on 04-16-2010 5:04 PM
Hi SAP Experts,
In my project: SAPECC will receive the inbound IDOC PORDCR05 from PI, and I have to create the Purchase Order in SAP ECC from this inbound idoc. What I did so far:
1. In the Partner Profile for PI (Partner type = 'LS'), I define Inbound Parameter:
Message Type: PORDCR
Process Code: BAPI (Function Module: BAPI_IDOC_INPUT1 - in debug mode, I see it call another 'IDOC_INPUT_PORDCR')
2. Distribution Model:
Sender: PI
Receiver: SAPECC
BAPI: PurchaseOrder:CreateFromData
3. In WE19, I create inbound IDOC and test, but get the IDOC error 51: 'Partne role cannot be processed by BAPI BAPI_PO_CREATE'
in Diagnosis for this message: 'Only the following roles are possible for BAPI BAPI_PO_CREATE:
IP - invoicing party
GS - goods supplier
4. In Partner Profile for PI - Inbound Parameters: PORDCR- Partner Role: I see just only two options: EL and LS.
Please advise:
1. Do i use the right Process Code in this scenario?
2. Do i need to create the new Process Code, Z Message Type and Z Function Module?
3. How can I solve this IDOC error?
Thanks for your help,
Elaine
Hi
I am facing the same error. Can you please tell me how did you resolve that??
Thanx in advance.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please post it in ABAP or Functional forums.
VJ
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.