10-28-2015 3:04 PM
Hello Gurus,
I am using BAPI_SALESORDER_CHANGE in a Z program to update sales orders.
When i execute this program in background(background job) then job log contains messages returned by BAPI.
But, when i execute same program in foreground then no message are being displayed/written in output.
Why it is so?
10-28-2015 5:41 PM
Hi Jitendra,
Kindly check the source code, in bapi's table option their is a parameter name called 'RETURN' in that error message are stored in bapi. check weather the content of return is displayed or not in source code.
kindly check the function module documentation in se37.
Hope it helpful,
Regards,
Venkat.
10-28-2015 6:52 PM
Hi Venkat,
Kindly check the source code, in bapi's table option their is a parameter name called 'RETURN' in that error message are stored in bapi. check weather the content of return is displayed or not in source code.
yes RETURN table is there and i am NOT displaying its content(using Message/Write) in Z program.
My question is: If there is no write/message statement in the program then how system is displaying messages in case of batch job and not displaying in case of foreground processing.