2014 Nov 28 6:54 AM
hello all,
i have created a Parameter Transaction for a Report Painter program....
i want call this transaction and skip initial screen(i.e directly displaying the output by passing the desired value form another ZReport)...
i used code Call Transaction 'ZPS106' and skip first screen...(here ZPS106 is parameter transaction for Report Painter Program)....
but the problem the initial selection screen is still displayed,
how do i avoid this,
hello all,
i have created a Parameter Transaction for a Report Painter program....
i want call this transaction and skip initial screen(i.e directly displaying the output by passing the desired value form another ZReport)...
i used code Call Transaction 'ZPS106' and skip first screen...(here ZPS106 is parameter transaction for Report Painter Program)....
but the problem the initial selection screen is still displayed,
how do i avoid this,
2014 Nov 28 7:07 AM
Hi Vinay,
Please try creating a Dialog Transaction.
Regards
Sri
2014 Nov 28 7:15 AM
we are not supposed to create a dialog transaction for report painter programs...
2014 Nov 28 7:09 AM
hi vinay,
if u want want to skip parameter screen just use the code
SUBMIT <Z program Name> WITH <parameter> =
enter your parameter name of zprog in <parameter> and pass the desired value.
i hope its will help you.
Regards,
Adarsh
2014 Nov 28 7:17 AM
hi adarsh,
i don't think we can use SUBMIT for programs created using report painter,
because the report name varies every time an updation is done,
need some other way...
2014 Nov 28 7:18 AM
hi,
give the parameter Id in the screen . where u have the option for parameter id in screen painter.
Attributes -->parameter Id
here is the code after that.
set parameter id 'parameter id ' field name lv_field.
Call Transaction 'ZPS106' and skip first screen.
2014 Nov 28 7:23 AM
hi viajy kiran
i have already done like that but still the initial screen is displayed,
how to avoid this...
2014 Nov 28 7:31 AM
select the set parameter and get parameter options in the screen.
even if it wont work....
use the code
get parameter id 'param id' field name in the program zps106
2014 Nov 28 7:24 AM
Dear Vinay,
Use this code submit program name using selection screen 1000. & pass first program ouput to your screen fields. in coding like this as an example.
SUBMIT yrm07mlbd USING SELECTION-SCREEN '1000'
WITH matnr IN/EQ first report output field
WITH bukrs IN/EQ first report output field
WITH werks IN/EQ first report output field
EXPORTING LIST TO MEMORY AND RETURN.
2014 Nov 28 7:32 AM
Hi vinal Use Function module GRW_JOB_SUBMIT_PREPARE to get program name.. take it in a variable and pass it through submit...
or else u can find user program name using user tcode in table TSTCP and you can use it in your submit stament.
Regards,
Adarsh
2014 Nov 28 8:03 AM
Hi Vinay,
For call transaction 'XY' and skip first screen. to work properly you should have a navigation defined from first screen to second.
Either have the 'Next Screen' (in first screen's attributes tab) filled with the details of the next screen.
Or have a call screen <next screen number> in one of the PAI modules of the first screen.
Basically the PBO is skipped and PAI is directly called and if there is no navigation defined to second screen then the first screen itself is called.
Best regards,
Saurabh
2014 Nov 28 8:12 AM
2014 Nov 28 8:39 AM
You can try one more thing.
Have this piece of code in the first PBO module of the first screen -
If sy-tcode = <name of transaction>
supress dialog.
endif.
This will ensure that when the screen is called from your transaction the first screen is skipped and it goes directly to second screen. But one of the two conditions for navigation that I mentioned earlier should be met here as well.
Best regards,
Saurabh
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |