cancel
Showing results for 
Search instead for 
Did you mean: 

N:1 Mapping in PI 7.1

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member854360
Active Contributor
0 Kudos

For N:1 mapping you need to go for BPM however 1:N mapping is possible without BPM

Former Member
0 Kudos

Thank you everyone for your input.

I will go with BPM.

Regards

Tony

Former Member
0 Kudos

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

baskar_gopalakrishnan2
Active Contributor
0 Kudos

IMO, N:1 mapping without BPM is not possible.

Former Member
0 Kudos

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