cancel
Showing results for 
Search instead for 
Did you mean: 

Mapping Problem

Former Member
0 Kudos

Hi,

My input structure is BAPI_Response, It as three fields like OBJECT_INDEX, FIELD NAME, FIELD VALUE,.

and BAPI generates bunch of records based on the Index value...

for example:

OBJECT_INDEX.....FIELD NAME......FIELD VALUE

5...../B20C/S_CRATCL..........abcd

5..... /BA1/C40FTRAN......... TEST_001

5..... /BA1/C65DATRUN... 20061206

5..... /BA1/C65JCTIME........ 12061130018900000

5..... /BA1/C75DATDEF........ 00000000

This repeats for n numbers of records in data base.

I have to map the repective FIELD NAME to FIELD VALUE and I have to get a flat file(txt) for the Fields "/B20C/S_CRATCL", "/BA1/C40FTRAN" ,"/BA1/C65DATRUN" for each index.

Thanks in advance

KGS

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Create target Structure look like this.

First create Datatype : F1,F2,F23

Create another Datatype : here select the above Data type and give the Occurrence (0..Unabounded)

then do the neceaary steps in IR.

ID :

Create Communcation channel for Sernder RFC Adapter.

Create Communcation channel for Reciver File Adapter.

Adapter : File,

TP : NFS OR FTP

MP: FCC (FILE CONTENT CONVERSION)

AE : your server name.

when you select the content conversion you need pass the below values.

Record Structure : Substructure name (that means second datatype ).

http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm

Records,

Venu.