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

Problem in Submit Program in background

Former Member
0 Likes
846

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.

4 REPLIES 4
Read only

Former Member
0 Likes
637

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

Read only

Former Member
0 Likes
637

Hi,

Why don't you debug and see id it working or not.

Read only

Former Member
0 Likes
637

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 :

Read only

0 Likes
637

Thanx for reply &problem solved.