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

rfc problem

Former Member
0 Likes
730

hi all,

am facing a strange problem while calling rfc frm other system. when am executing the rfc manually its very much working fine, but when the same rfc is called from other server am getting an error 'no batch input data for screen sapmf05a ' ..

please help me with possible solutions.

thanks

suresh

Moderator message: please choose more descriptive subject lines for your posts.

Edited by: Thomas Zloch on Aug 18, 2011 1:10 PM

6 REPLIES 6
Read only

former_member222709
Contributor
0 Likes
699

Hi Suresh,

With reference to the error, I think the RFC is calling a BDC in the destination system. In BDC, to successfully execute the Transcation all the screen data needs to be passed in the required format.

You can verify the error by Activating the External Debugger and select the option of display all errors (CTU Mode = A) and call the RFC from your new system. You might need to chage the variable type definition in your source.

Regards,

Pranav.

Read only

0 Likes
699

hi pranav,

thanks for reply ..

as i said my rfc is working fine if we manually give the test data in se37 and run it.- OK

but if it is called from an external system i.e. non sap system its getting failed and throwing error 'no batch input data for the screen sapmf05a' .

i dont understand 'change the variable type definition in source' ? .. is there any impact ?

pl. let me know

thnks

suresh

Read only

former_member222709
Contributor
0 Likes
699

Let's try to verify the actual problem in steps.

1. Is the RFC calling a BDC?

2. Did you try using the External Debugger? (Search in SDN, you will get ample help on using this)

3. I've faced this problem in BDC, when I try to pass a Numerical value, I had to pass it as characters i.e. the data element type used was type char instead of numc.

Regards,

Pranav.

Read only

madhu_vadlamani
Active Contributor
0 Likes
699

Hi Suresh,

Is it combination of RFC and BDC. If that is then you have to skip that screen with some code. Check this ans post .

Regards,

Madhu.

Read only

Former Member
0 Likes
699

Hi,

Did you debug your RFC??

I faced thsi scenario wherin i was using the tables as it_itab.

It should be used as it_itab[].

Try using this solution, it will help.

Thanks,

Manish

Read only

madhu_vadlamani
Active Contributor
0 Likes
699

Hi Suresh,

Is it resolved.

Regards,

Madhu.