‎2011 Jun 30 3:20 PM
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?
‎2011 Jun 30 3:38 PM
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
‎2011 Jun 30 4:58 PM
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.
‎2011 Jun 30 5:22 PM
‎2011 Jul 01 2:18 PM
‎2011 Jul 05 7:28 PM
‎2011 Jul 06 4:00 PM
‎2011 Jul 06 4:05 PM
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?
‎2011 Jul 06 5:25 PM
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.
‎2011 Jul 06 6:32 PM
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
‎2011 Jul 06 6:54 PM
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
‎2011 Jul 06 7:53 PM
Thanks for the feedback. Don't forget to close the thread...