01-09-2008 3:56 AM
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
01-09-2008 4:01 AM
Hi,
is ur calling program is executing separately.first check it.otherwise send code u used for calling the program.
rgds,
bharat.
01-09-2008 4:13 AM
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
01-09-2008 4:08 AM
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.
01-09-2008 4:18 AM
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,
01-09-2008 4:22 AM
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..
01-09-2008 4:26 AM
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
01-09-2008 4:38 AM
01-09-2008 4:55 AM
Have you changed selection screen number in called program ? (you mentioned using selection-screen 3000 - default is 1000)
Regards,
Mohaiyuddin
01-09-2008 5:06 AM