‎2013 Feb 17 11:03 AM
Dear all,
I am a functional consultant and novice in ABAP.
I am not sure whether I am putting my query in the right forum.
We are having one function module which gets the data from the external MES system & runs CO11N followed by KO88 in SAP.
It is scheduled to be run for every 4 hours. But sometimes it fails & generates the session in SM35 which we need to run manually.
I had investigated the possible reasons at our end. The material components are having sufficient stock in the respective storage locations. So not having correct data (input) or lack of stock are ruled out.
Beside this can there be any other technical reason why the function module fails?
Please do note that whenever we run the session created in SM35, it runs flawlessly.
Could you please help me to resolve this?
Manoj
‎2013 Feb 17 11:23 AM
what is the name or transaction of this function module?
is it a standard FM or an own developed?
do you run it in batch or in foreground?
‎2013 Feb 17 11:34 AM
Hi Jurgen,
It is a developed one & runs transaction CO11N with goods movement followed by settlement of the production order
It runs in background.
Manoj
‎2013 Feb 17 11:53 AM
Have you checked the joblog to this background job? maybe there is a hint.
‎2013 Feb 17 12:52 PM
Jurgen,
Our ABAP consultant has checked that but he says with that he can't tell us the reason of the failure.
Any other clue?
Manoj
‎2013 Feb 17 3:19 PM
For which part does it create a batch input? CO11N or KO88?
if KO88, then I suggest that you check this OSS Note 123726 - Batch input to settlement transaction is incorrect
‎2013 Feb 17 7:16 PM
Thanks Jurgen,
It creates batch input for both the transactions in one go.
I shall check the note also.
Manoj
‎2013 Feb 17 7:31 PM
Hello Jurgen,
Just wanted to add that when we run session created in SM35 after the failure of function module, it runs successfully. This wipes out the possibility of shortfall of the input entries.We do not change the input entries while running the session in SM35.
This is creating confusion.
Manoj
‎2013 Feb 17 7:44 PM
Creation of one batch input for both transactions is certainly a desired functionality which was programmed specially for you, isn't it?
Please see what SAP posted in the note I gave you.