Application Development 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: 

SUBMIT PROGRAM

Former Member
0 Kudos

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

Former Member
0 Kudos

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

0 Kudos

NO DEAR

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

Dear Chandrasekhar

thanks

but its not working dear

0 Kudos

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

0 Kudos

no rohith

all possible events are there everything is ok in that program

harimanjesh_an
Active Participant
0 Kudos

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

Former Member
0 Kudos

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>

kesavadas_thekkillath
Active Contributor
0 Kudos

try this syntax

SUBMIT ZPP004_COMPONENT_BACK_FLUSH EXPORTING LIST TO

MEMORY WITH PA_UNINO = ST_HEADER-UNINO AND RETURN.

reward if usefull

0 Kudos

Thanks Vasu

but it also not working

0 Kudos

hi Nelson,

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

ec

0 Kudos

thanks Eric

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

kesavadas_thekkillath
Active Contributor
0 Kudos

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