cancel
Showing results for 
Search instead for 
Did you mean: 

Mapping of records in file to one BAPI

Former Member
0 Kudos

Hi

Is it possible if I have a file with two different type of records and which needs to be mapped to two different structures of BAPI.

How can this be done.

Regards

Rinku

Accepted Solutions (0)

Answers (2)

Answers (2)

prateek
Active Contributor
0 Kudos

<i>Is it possible if I have a file with two different type of records </i>

If its an XML file u may directly use the graphical mapping and if it is a text file u should go for file content conversion

<i>two different structures of BAPI.</i>

A single BAPI could not have different structures.

Are u trying to say, u want to map with different fields?

Regards,

Prateek

Former Member
0 Kudos

Hi Prateek,

Yes different tables I meant by structure......

Regards

Hema

Former Member
0 Kudos

Hi Rinku,

I believe you could do it. e.g you have a message type M having 2 type of records R1 & R2, you would need to create 2 maps M->RFC1 and M-> RFC2. What you need to do is involve R1 while mapping to RFC1 ignoring R2, similarly involve R2 while mapping to RFC2 ignoring R1. Let me know if this not what you are looking for.

Saswata

Former Member
0 Kudos

Hi Saswata

I have only one RFC not two.

regards

Rinku