Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

INCLUDE bdcrecx1

Former Member
0 Likes
587

Hi,

I have written a function that do batch operations using bdcrecx1 include. But, When I try to call this function from using RFC I see the works that my batch input should do haven't been done. If I call this function normally(from SAP) not using RFC, I see that batch operation is ok. I have debugged my batch, and see that there are WS_UPLOAD, WS_DOWNLOAD. May the problem deal with this? And How can I solve problem?

Thanks.

3 REPLIES 3
Read only

Former Member
0 Likes
516

Yes the culprits for the problem is indeed those FMs only.

YOu need to transfer(FTP) the files on the presentation server to application server and read the file from there to do your BDC.

Regards,

Ravi

Read only

0 Likes
516

But, my files are already in application server. I mean that the path of files can be accessed. They are not in local such as c:/ or d:/. I see that there is session value in bdcrecx1. Should I do with session this batch operation for RFC?

Read only

Former Member
0 Likes
516

HI Nail

I suggest if you are calling by RFC then instead of BDC you can use BAPI for uploading the data.

or else you want it through BDC then try changing GUI_UPLOAD and GUI_DOWNLOAD.

regards

kishore