Professional Documents
Culture Documents
I am using RSNAST00 to process and print 2 delivery outputs via 'SUBMIT RSNAST00 WITH... AND
RETURN' syntax in the ABAP of my Z Transaction Code. Basically, I create the outputs at delivery
creation stage (they do not print) and then print them later using my Z transaction. It all works fine
except for the fact that when RSNAST00 runs the following 2 popups appear when successful:
Is there anyway for me to suppress these screens as the user does not want to see them when they
run the Z transaction?
Should I run RSNAST00 using SUBMIT in the background? If so, can anyone help with the syntax?
N.
Tags:
abap
Niall Fitzmaurice
February 01, 2006 at 12:48 PM
0 Likes
Correct Answer
Copy Code
1. DATA: number TYPE tbtcjob-jobcount,
4.
6. EXPORTING
7. jobname = name
8. IMPORTING
9. jobcount = number
10. EXCEPTIONS
11. cant_create_job = 1
12. invalid_job_data = 2
13. jobname_missing = 3
14. OTHERS = 4.
15. IF sy-subrc = 0.
16.
21. TO SAP-SPOOL
27. IF sy-subrc = 0.
29. EXPORTING
33. EXCEPTIONS
34. cant_start_immediate = 1
35. invalid_startdate =2
36. jobname_missing =3
37. job_close_failed =4
38. job_nosteps =5
39. job_notex =6
40. lock_failed =7
41. OTHERS = 8.
43. ...
44. ENDIF.
45. ENDIF.
46. ENDIF.
Not what you were looking for? View more on this topic or Ask a question
3 replies
Rashid Javed replied
January 31, 2006 at 19:32 PM
Hmm may be you can submit the report to a background job, this way there will be no popups.
for example
username SY-UNAME
cheers.
0 likes
Correct Answer
Copy Code
4.
6. EXPORTING
7. jobname = name
8. IMPORTING
9. jobcount = number
10. EXCEPTIONS
11. cant_create_job = 1
12. invalid_job_data = 2
13. jobname_missing = 3
14. OTHERS = 4.
15. IF sy-subrc = 0.
16.
21. TO SAP-SPOOL
26.
27. IF sy-subrc = 0.
29. EXPORTING
33. EXCEPTIONS
34. cant_start_immediate = 1
35. invalid_startdate =2
36. jobname_missing =3
37. job_close_failed =4
38. job_nosteps =5
39. job_notex =6
40. lock_failed =7
41. OTHERS = 8.
43. ...
44. ENDIF.
45. ENDIF.
46. ENDIF.
0 likes
Kind regards,
N.