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

SUBMIT PROGRAM

Former Member
0 Likes
1,226

Dear All,

i call program with following code.

SUBMIT ZPP009_UPLOAD_DATA VIA SELECTION-SCREEN WITH PR_TEXT EQ 'SD-Data Upload to SALES DEMAND' AND RETURN.

its working properly

my problem is when i call the program ZPP009_UPLOAD_DATA selection screen is appearing

when i run & finished same selection screen appearing but i dont want it

when the calling program finished i want to go to main program .

please help me to solve this problem

11 REPLIES 11
Read only

Former Member
0 Likes
1,089

hi Nelson.,

use like this.

SUBMIT ZPP009_UPLOAD_DATA USING SELECTION-SCREEN SY-DYNNR WITH PR_TEXT EQ 'SD-Data Upload to SALES DEMAND' AND RETURN.

<b><i>Reward points if useful</i></b>

Chandra

Read only

0 Likes
1,089

NO DEAR

its file uploading screen therefore we have to select file through selection screen

Dear Chandrasekhar

thanks

but its not working dear

Read only

0 Likes
1,089

Hi Nelson,

Check ur program ZPP009_UPLOAD_DATA, whether it contains all events like ,

AT SELECTION-SCREEN.

START-OF-SELECTION.

END-OF-SELECTION.

may this solve ur problem.

Rohit G

Read only

0 Likes
1,089

no rohith

all possible events are there everything is ok in that program

Read only

harimanjesh_an
Active Participant
0 Likes
1,089

Hi Nelson,

Try this, dont use SELECTION_SCREEN. Just pass the value to its parameter and it wont display the selection screen of ZPP009_UPLOAD_DATA.

SUBMIT ZPP009_UPLOAD_DATA WITH PR_TEXT EQ 'SD-Data Upload to SALES DEMAND'

AND RETURN.

Reward me if useful,

Harimanjesh

Read only

Former Member
0 Likes
1,089

Hi Nelson,

Do this , will surely solve your problem

SUBMIT ZPP009_UPLOAD_DATA AND RETURN

WITH PR_TEXT EQ 'SD-Data Upload to SALES DEMAND' .

<b>

Kindly Reward if useful

Rohit G

</b>

Read only

kesavadas_thekkillath
Active Contributor
0 Likes
1,089

try this syntax

SUBMIT ZPP004_COMPONENT_BACK_FLUSH EXPORTING LIST TO

MEMORY WITH PA_UNINO = ST_HEADER-UNINO AND RETURN.

reward if usefull

Read only

0 Likes
1,089

Thanks Vasu

but it also not working

Read only

0 Likes
1,089

hi Nelson,

I think you can only do this if you put an EXIT statement at the end of the submitted program.

ec

Read only

0 Likes
1,089

thanks Eric

i got your idea its not work with Exit but work with Leave Program statement.

Read only

kesavadas_thekkillath
Active Contributor
0 Likes
1,089

your query is amazing....

just try some tricky way hope luck hits u...remove end-of-selection form u r second program

or use something like suppress dialog