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 Command

Former Member
0 Kudos
113

Dears,

We have requirement , where need to submit this program in the background RPTQTA00 . And I have to submit this program with the option of u2018Directu2019 button in the selection screen. When I checked the coding in the User command they have coded for the option. Is it possible to submit this program in the report using u2018SUBMITu2019 command.

Let me know is there any possible way where in the submit command I can pass the usercommand value or the u2018PRCO_TYPEu2019 value equal u20182u2019.

Regards

Alfred

1 REPLY 1

Former Member
0 Kudos
71

Dears,

Got the solution

The process type value was available in the selection screen with the SUBMIT command , so when I pass the value u20182u2019 instead of the OKCODE value of the PUSHBUTTON it works fine.

Following is the code for the same.

T_UCOMM = '2'.

SUBMIT rptqta00 " USING SELECTION-SCREEN '1000'

WITH pnpbegda EQ begda

WITH pnpendda EQ endda

WITH pnppernr-low EQ pernr

WITH SE_KTART IN quota

WITH PROC_TYP EQ T_UCOMM

WITH sw_gen_n EQ v_sw_gen_n

AND RETURN.

Regards

Alfred