on 12-29-2008 2:23 PM
Hi All,
My Scenario is:
JDBC - > BAPI or IDOC
the legacy system sends customers to SAP XI... and those customers could be old or new...
so... in my interface... I ask with a RFC LookUp.. if the customer exists or have to create a new one.
for create we use the iDoc: DEBMAS06... but it doesn't support modify a customer.
Modifications with: BAPI: BAPI_CUSTOMER_CHANGEFROMDATA1.
which is the best way to do this???
2 messages mappings??? with 2 receivers determination???
1 message mapping whit 2 diferent messages?? and 1 receiver???
Have read about Enhanced Receivers... but doesn't work...
Help Please....
Thx, and Regards
hi,
>>>for create we use the iDoc: DEBMAS06... but it doesn't support modify a customer.
come one.... debmas always supports modifications
use debmas but just populate it correctly
you don't need any splits just use debmas for both cases
Regards,
Michal Krawczyk
http://mypigenie.com XI/PI FAQ
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In the Configuration Part of the Integration Builder, in the Interface Determination you can add more Inbound Interfaces, even the same one twice.
When you do that, a new column appears between the two you already had, named 'Condition'.
In here you can select all the values from your (Outbound) Interface and compare them to a fixed or dynamic value of your choosing. The interface will then use the Interface Mapping you selected only when the condition is true. This way you can let the same outbound message use multiple possible mappings/interface mappings.
Don't forget that you now need to make a Receiver Agreement for every condition you added.
hi,
>the same STCD1 for a customer that exists in Sap... it.. give me an error...
did you read the error info?
BAPI should give you exactly the same
so the answer is still - yes you can use IDOC for both
changes and creation - there is no need to use BAPI in your case
Regards,
Michal Krawczyk
http://mypigenie.com XI/PI FAQ
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.