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

calling a transaction

Former Member
0 Likes
1,117

I have to write a wrapper program for transaction STAD . I have to pass the parameters user name 'x', date sy-datum and run time 23hrs 59 mins. How do i do that ?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,044

Hi,

rstartti is starting time and rendti is ending time.

If you want to collect untill 23:59:00 then your statement is correct using rendti.

You have typo error on RREADTI.


SUBMIT RSSTAT20 WITH RUSER = 'EMERGENCY'
                WITH RDAY = SY-DATUM
                WITH RENDTI = '235900'
                AND RETURN. 

Hope this will help.

Regards,

Ferry Lianto

Hi,

rstartti is starting time and rendti is ending time.

If you want to collect untill 23:59:00 then your statement is correct using rendti.

You have typo error on RREADTI.


SUBMIT RSSTAT20 WITH RUSER = 'EMERGENCY'
                WITH RDAY = SY-DATUM
                WITH RENDTI = '235900'
                AND RETURN. 

Hope this will help.

Regards,

Ferry Lianto

9 REPLIES 9
Read only

former_member194669
Active Contributor
0 Likes
1,044

Please use

SUBMIT and call program RSSTAT26 with input variables, and execurel the wrapper program

aRs

Read only

0 Likes
1,044

SUBMIT {rep|(name)} [selscreen_options]

[ list_options ]

[ job_options]

[AND RETURN].

pass the relavant parameters and call the program.

Read only

Former Member
0 Likes
1,044

Hi,

Please try this.


SUBMIT RSSTAT26 WITH RUSER = SY-UNAME
                WITH RDAY = SY-DATUM
                WITH RSTARTTI = '235900'
                AND RETURN.

Regards,

Ferry Lianto

Read only

0 Likes
1,044

Ferry,

the statement is working fine but how to come out of that transaction does it not return to the program with 'BACK' button its coming with 'CANCEL' button

Read only

Former Member
0 Likes
1,044

Hi,

Please try to call program RSSTAT20 instead.

RSSTAT26 is dialog program report.


SUBMIT RSSTAT20 WITH RUSER = SY-UNAME
                WITH RDAY = SY-DATUM
                WITH RSTARTTI = '235900'
                AND RETURN.

Regards,

Ferry Lianto

Read only

0 Likes
1,044

its actually duration of run . Is it the field rreadti? I changed it like this . Is the statement correct?

SUBMIT RSSTAT20 WITH RUSER = 'EMERGENCY'

WITH RDAY = SY-DATUM

WITH RREADTI = '235900'

AND RETURN.

Read only

Former Member
0 Likes
1,045

Hi,

rstartti is starting time and rendti is ending time.

If you want to collect untill 23:59:00 then your statement is correct using rendti.

You have typo error on RREADTI.


SUBMIT RSSTAT20 WITH RUSER = 'EMERGENCY'
                WITH RDAY = SY-DATUM
                WITH RENDTI = '235900'
                AND RETURN. 

Hope this will help.

Regards,

Ferry Lianto

Read only

0 Likes
1,044

Thanks for your replies.

Read only

Former Member
0 Likes
1,044

Hi,

Please close the thread if your problem solved and reward all helpful anwers.

Regards,

Ferry Lianto