on 03-20-2007 12:54 PM
Hi frends,
As Iam a fresher to SAP XI, I would be very thankful if someone can answer this question.
Need to send a Delivery IDOC from a sap system to other to create sales order idoc on the receiver side if the sold to party is already present.
If the sold to party not present, one has to be created using an DEBMAS idoc and then create the Sales order idoc.
I am very much confused how to configure this BPM scenario.
As per the specification i need to create two interface mappings one for Delivery to Salesorder and the other for Delivery to Customer.
But I don't understand how two interface mappings can be created and used in a BPM scenario.
Please help me resolve this issue.
Thanks in Advance.
Hi Kinthali,
Check these blogs/help file realted to IDOC scenario for ur help:
<a href="/people/michal.krawczyk2/blog/2005/11/21/xi-idoc-to-idoc-tunneling--how-fast-and-easy-can-you-get: IDOC to IDOC tunneling - how fast (and easy) can you get?</a>
Go through Michal's book, this is a one stop for all issues related to IDOC:
<a href="/people/michal.krawczyk2/blog/2006/10/11/xi-new-book-mastering-idoc-business-scenarios-with-sap-xi: New book: Mastering IDoc Business Scenarios with SAP XI</a>
Also check these files:
<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/cdded790-0201-0010-6db8-beb9bb2b2660">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/cdded790-0201-0010-6db8-beb9bb2b2660</a>
<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c09b775e-e56e-2910-1187-d8eba09c7a4a">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c09b775e-e56e-2910-1187-d8eba09c7a4a</a>
Regards,
Subhasha Ranjan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Chilla,
Can you please explain how to perform the RFC lookup.
Also please check the below transformation rule given in the Spec to be followed when performing message mapping.
*********************************************************
source field: E1ADRM1-PARTNER_ID
TARGET FIELD: PARTN_NUMB
Rule: E1ADRM1-PARTNER_Q = 'WE'
Select kunnr from KNB1 where ALTKN = E1ADRM1-PARTNER_ID and BUKRS = 'GR11'
value = KNB1-KUNNR
and check that KNA1-STCD2 = 999839383 with KNA1-KUNNR= KNB1-KUNNR
if no entry found in KNB1 customer must be created.
*************************************************************
I dont understand where should i write the above code in XI.
Also let me know how to execute one Interface mapping if condition fails and the other if condition is true.
Thanks & Regards,
Harish.
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,
I hope..
The way is in Message mapping first source is Delivery Idoc and target two one is debmas and second is sales order idoc . two messages seperately , with occurrences 0..1 , see the sender side sold to party and writa RFC Lookup to get the sold to part details from R3 using respective RFC/BAPI . if it is existed the create the sales order idoc
Else
then create the sold to party idoc sing DEBMAS first and then create the second message
If sold to party is existed then message to be suppressed. the message to to be executed.
If any error occur occurs then do accordingly ..
I hope it is clear.
Regards
Chilla
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
9 | |
9 | |
7 | |
7 | |
6 | |
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.