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

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi,

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

rgds,

bharat.

0 Kudos

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

Former Member
0 Kudos

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.

arpit_shah
Contributor
0 Kudos

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,

Former Member
0 Kudos

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..

Former Member
0 Kudos

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

0 Kudos

Fields are same.

Thanks,

Narayan

Former Member
0 Kudos

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

Regards,

Mohaiyuddin

0 Kudos

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