cancel
Showing results for 
Search instead for 
Did you mean: 

RFC Lookup (RFC_READ_TABLE)

former_member185881
Active Participant
0 Kudos

Hello All

I am using RFC lookup with standard RFC RFC_READ_TABLE to read table in ECC.

Need to fetch all the rows present in table and with respect to number of rows I have to generate target segment.

Means if 5 rows are there in table then 5 segments need to be generated.

Target structure is MATMAS05

one idoc need to be generated and 5 times E1MVKEM segments need to be generated.

My mapping is like this

RFCLookup -> CollapseContext --> E1MVKEM

E1MVKEM is getting generated but not 5 times it is 6 times. One extra is generating.

Please guide me if my mapping is not correct.

Thanks

Dheeraj Kumar

Accepted Solutions (1)

Accepted Solutions (1)

suman_saha
Contributor

Hi,

This is because an extra blank value is coming at first which you can check doing display queue on the RFCLookUp output.

Remove the data field in the input structure of RFCLookup using RFC_READ_TABLE.The blank value will not occur.

Suman

former_member185881
Active Participant
0 Kudos

Thanks Suman

great help.

Answers (2)

Answers (2)

0 Kudos

Hi Dheeraj,

I'm a novice PI developer

Can you provide screenshots of your Mapping alongwith Display Queue on the RFC FM.

Regards,

azharshaikh
Active Contributor
0 Kudos

Hi Dheeraj,

Can you provide screenshots of your Mapping alongwith Display Queue on the RFC FM.

Regards,

Azhar