on 01-24-2014 11:25 PM
I have a situation where the source contains personal as well as academic details of a student. The target should receive personal and academic details as a separate message.
I know that it can be achieved by creating two different target structures , one for academics and other for personal and create corresponding service interfaces. But I don't want to do that way.
I have a single target structure, containing two different nodes, one for personal and one for academic. Can i achieve the same with the single structure ?
Is multi-mapping the key ? If so, how do I achieve it. Please provide a step by step process.
Screenshot of my structures attached.
Ignore the red marks, coz I haven't mapped the fields.
Thank you.
Dear shankar,
Your requirement is pretty much possible.
In your mapping go to signature tab. Add target message MT_STUDENT_TARGET.change the occurrence to unbounded.
In the first message you disable academics and map the personnel.
For second message you do opposite.
In the operation mapping you are going to need two service interface. So put first service interface which is going to get only personnel details.second for academics.
Both the service interfaces are going to use same message type.
Regards,
Muniyappan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Shankar,
You can achieve this with simple message mapping and no need for multi mapping in this case.
For your source structure every student should have personal node and academic node so map the student node to both personal and academic node.
Then map the remaining field as per your target structure.
Hope this help
Harish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The target should receive personal and academic details as a separate message.
I don't think it is possible to create separate messages with a simple mapping.
If you want to receive both the details as separate messages then multi mapping is the only option.
Simple.. add the same interface on the target side twice..
You can find step by step explanation in the below document
Hi Shankar,
to create two different message you need to create multi mapping. You need to create two target structure (data type, message type and service interface) and use the two message types in message mapping.
Please refer the below links for detail
Designing and Configuring Multi-Mappings - SAP NetWeaver Process Integration - SAP Library
regards,
Harish
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.