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-->Calling program is not executing

Former Member
0 Likes
1,526

Hi,

I am trying to call another with some parameter, when i execute its goes to calling program with what ever parameter which i passed but program is not executing furhter.

I used SUBMIT standard syntax. Like SUBMIT & Return.

Though calling program is custom program i also tried with execute SUBMIT Using Selection screen option. But no use.

I am not sure what i am missing.

Thanks,

Narayan

9 REPLIES 9
Read only

Former Member
0 Likes
1,157

Hi,

is ur calling program is executing separately.first check it.otherwise send code u used for calling the program.

rgds,

bharat.

Read only

0 Likes
1,157

Hi Bharat,

Below is my psedo code.

-


Report Ztest123

LOOP AT lv_pinfo.

SUBMIT zprogram123 USING SELECTION-SCREEN 3000

WITH paym_id EQ lv_pinfo-laufi

WITH paym_dat EQ lv_pinfo-laufd

AND RETURN.

ENDLOOP.

-


Problem is when i execute Ztest123 goes to ZPROGRAM123 selection screen and pass given values and then no action.

If i execute ZPROGRAM123 seperatly, it works fine.

Thanks,

Narayan

Edited by: Narayanan Manivanan on Jan 8, 2008 11:16 PM

Read only

Former Member
0 Likes
1,157

Hello,

--->First check whether your code of "submit" is executing

In first program.If executing

-


>You come out from first progarm

-


> Put the break point for your second progarm and the

begin of the program execute it.

Now you can resolve your problem.Or else send your code.

Read only

arpit_shah
Contributor
0 Likes
1,157

hi,

try like this,

SUBMIT YPPDAILYUPDATE

with pstngdt in temp

with entdate eq ' '

with posdate eq 'X'

with rdata eq 'X'

with logic eq ' '

with high eq 'X'

with trend eq ' '

AND RETURN

.

or post your code so what u r missing?....i can say

Regards,

Read only

Former Member
0 Likes
1,157

Hi Narayan,

Use the below syntax..The below syntax works fine bcz i am using that one in many reports..That works fine for me..

SUBMIT zprogram123 and RETURN.

Award points if helpful..

Kiran Kumar.G

Have a Nice Day..

Read only

Former Member
0 Likes
1,157

Hi Narayanan,

Check if datatype of parameter you are passing and defind in your calling program are same

WITH paym_id EQ lv_pinfo-laufi

WITH paym_dat EQ lv_pinfo-laufd

Regards,

Mohaiyuddin

Read only

0 Likes
1,157

Fields are same.

Thanks,

Narayan

Read only

Former Member
0 Likes
1,157

Have you changed selection screen number in called program ? (you mentioned using selection-screen 3000 - default is 1000)

Regards,

Mohaiyuddin

Read only

0 Likes
1,157

I tried with both default and/or 3000. But no impact.