on 07-30-2011 10:56 PM
Hi,
I have a scenario on PI 7.1 (RFC to file) where I need to map the RFC node to target node and also a value to target node.
RFC Data Type
-
T_CUSTOMER DT_CUSTOMER (Element with data type as x:string)
KUNNR NAME1 (attribute to DT_CUSTOMER)
NAME1
T_CUSTOMER is mapped to DT_CUSTOMER since it is a table, source NAME1 is mapped to target NAME1. I need to map source KUNNR to target DT_CUSTOMER. I need to generate the output XML as below.
<DT_CUSTOMER Name1 = "Test Customer1">CUSTOMER1</DT_CUSTOMER>
<DT_CUSTOMER Name1 = "Test Customer2">CUSTOMER2</DT_CUSTOMER>
<DT_CUSTOMER Name1 = "Test Customer3">CUSTOMER3</DT_CUSTOMER>
I am aware that N:1 mapping can be achieved using BPM, but would like to know if it can be done without BPM.
Appreciate your help.
Thanks
Tony
For N:1 mapping you need to go for BPM however 1:N mapping is possible without BPM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
to clarify
source structure is T_CUSTOMER (0..Unbounded) with elements KUNNR and NAME1
Target structure is DT_CUSTOMER(0..Unbounded) with element NAME1
Target structure DT_CUSTOMER is of type x:string and can accept a value for itself.
Thanks for your help in advance!
Tony
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
N:1 mapping can not be achieved without BPM. You will have to use a BPM in this case to collect the sender messages.
For BPM collection patterns, refer to the Basis componenet, namespace : http://sap.com/xi/XI/System/Patterns for sample scenarios.
Regards
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.