on 06-15-2006 12:03 AM
I am trying to create flag in Message Mapping with the following condition from Legacy - XI - R/3:
If there are <b>new</b> customers from source, then pass <b>N</b> flag to Target.
If there are <b>changes</b> to existing customers, then pass <b>U</b> flag to Target.
Can anybody give me steps on how I can accomplish this in message mapping?
Thanks.
Rajan,
If I understood correctly...
In both the cases, the data that u get from the legacy system will be different. ie for a new customer u will receive all the data including Name, contact address etc. But in the case of an update, u will receive only the data that's been changed.
-Naveen.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
As per the given info
This condition, you can do with If-Else logic in the mapping. But think about other 2 cases mentioned .
1)I hope you will get source info thru file from Legacy system.
If so, just write a Adapter Module in the Sender Adapter, and set the Flag there itself. Then just map as it is . Provided you are able to differentiate these 2 types from the file itself.
2)In another thought, how are you finding out who is new customer/Changes ? Are you using any Lookups in the Mapping..
Regards,
Moorthy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
From source file, a flag has to pass either U or N to the target system field. So I created If/then/Else mapping where if the source file has flag as U then it will send blank space or blank value; otherwise the default value N will be sent. But when I run the test file, I am getting message mapping error. Where could I go wrong in mapping? Is there any blog or message thread anyone can give?
HI Rajan,
What is the error ?
Can you test your mapping in the IR with Test Tab by providing input xml from the SXMB_MONI.
For this you can refer this-
/people/michal.krawczyk2/blog/2005/09/16/xi-how-to-test-your-mapping-in-real-life-scenarios
Also make sure that , your xml structure is valid.
Regards,
Moorthy
Can you elaborate more on ur scenario ?
Vara
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.