2009 Sep 28 7:22 AM
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
2009 Sep 28 7:38 AM
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