cancel
Showing results for 
Search instead for 
Did you mean: 

File to Rfc

Former Member
0 Kudos

Hi,

I am doing File to Rfc scenario , in that I want to insert, update, retrieve the R/3 table. In this I have done with the retrieve part,need a solution for inserting,updating values via XI.Can anyone suggest me on this issue.

Regards,

S.K.Karthikeyan.

Accepted Solutions (1)

Accepted Solutions (1)

santhosh_kumarv
Active Contributor
0 Kudos

>>inserting,updating values via XI

XI only passes the values to the RFC. You have to do the ABAP coding to update/insert the values passed by XI in the R3 table.

1. Create the RFC with the required import parameters.

2. Import the RFC in to XI.

3. Pass the file content to the RFC import parameters.

4. The RFC ABAP code has to use this import parameter values and update/insert it to the R3 table.

Thanks

SaNv...

Answers (1)

Answers (1)

former_member192295
Active Contributor
0 Kudos

Hi

At source(file) take one column for charater indication and pass that character to RFC function.

in source code develop conditon like

if char = i mean execute insert command

else if char = u mean execute update command

else retrive

endif.