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

Batch Input does not work with RFC (remote modules enabled).

Former Member
0 Likes
1,634

Good Morning My Friends,

I have a Java program that calls a function in SAP, inside it has a Batch Input.

My problem is when I run the program:

Batch Input does not work correctly.

But when I turn on Debug.

Batch Input performs correctly.

How can I fix it?

11 REPLIES 11
Read only

Former Member
0 Likes
1,406

Hi,

When batch input doesn't work then there is an error somewhere. Try to record (SAP transaction SHDB) what you're doing and then check it what you put in via your Java program. But why use batch input maps and not a BAPI which does the update, then you will get better feedback on your errors.

Best regards,

Guido Koopmann

Read only

0 Likes
1,406

Batch input works with PFCG transaction.

and he performed only for button clicks generate.

has no error return aparentimente batch input just does not work.

I do not understand why.

Read only

Former Member
0 Likes
1,406

What error are you getting?

Read only

0 Likes
1,406

There is no error message.

Read only

0 Likes
1,406

Can you check the authorizations of the RFC user?

Read only

0 Likes
1,406

?

Read only

0 Likes
1,406

Ok may be that wouldn't work because you are saying that there are no error messages. What I am not able to understand is how are you concluding that it's not working? What makes you say that it's not working?

Read only

0 Likes
1,406

do not get me wrong.

I did not say you do not understand.

I did not understand your question.

I solved this problem with another solution (function).

appreciate everyone's help.

and I apologize for the delay in responding.

Read only

Sandra_Rossi
Active Contributor
0 Likes
1,406

Hi

But when I turn on Debug.

Be precise, I think you mean that you changed the display mode to 'A', or 'E'?

There are many reasons why it could work differently. Could you explain exactly what you tried?

Is it a CALL TRANSACTION or a batch input session?

If it is a CALL TRANSACTION, did you make sure what value SY-SUBRC has, and which messages are returned in the addition MESSAGES INTO? (please mention also the S messages, they are very important)

BR

Sandra

Read only

0 Likes
1,406

Hi Sandra,

I explain the situation, I have a Java program that calls an RFC, it's called a Batch Input 'PFCG', but this batch Input did not work in the background.

Then solved the problem by finding a function that did the same thing. so I removed the batch input and put the function 'PRGN_AUTO_GENERATE_PROFILE_NEW' instead.

BR

Deivison

Read only

0 Likes
1,406

Thanks for the feedback. Don't forget to close the thread...