‎2009 Nov 10 4:36 AM
Hi Expert,
I have one progam which fetch the sales order data as per input selection and pass it to COOISPI T.Code.
Through the program
SUBMIT PPIO_ENTRY
USING SELECTION-SCREEN '1000'
WITH P_TCODE = 'COOISPI'
WITH P_AUTYP = '40'
USING SELECTION-SET 'SAP&COOISPI'
WITH SELECTION-TABLE rspar_tab
AND RETURN.
But when i schedule the job of program then it is not running.
Submit statement is running in background mode or not.
Is there any other way to doing this work.
‎2009 Nov 10 4:48 AM
Check the program is using any pointer object or oops ALV..If so then it wont execute in background.. u have to give a check for sy-batch and write alternate code for that
‎2009 Nov 10 5:13 AM
‎2009 Nov 10 5:25 AM
HI ,
yes it works
You check the statement SY-BATCH ..
Or u can call the transaction and pass the values...
Please see the sample code :
‎2009 Nov 10 5:45 AM