SELECTION-SCREEN BEGIN OF BLOCK B2 WITH FRAME TITLE TEXT-020.
PARAMETERS PRM_BUKR LIKE T001-BUKRS MEMORY ID BUK OBLIGATORY.
PARAMETERS PRM_WRK LIKE T001W-WERKS MEMORY ID WRK OBLIGATORY.
SELECTION-SCREEN END OF BLOCK B2.
SELECTION-SCREEN SKIP 1.
selection-screen begin of block REBATE with frame title text-021.
PARAMETERS: Yes radiobutton group R1,
No radiobutton group R1.
selection-screen end of block REBATE.
I have used this Include program in two programs TCode ZTCODE1 and ZTCODE2 respectively. As per my requirement Block REBATE should be displayed only in TCode ZTCODE2.
Don't forget to MODIFY SCREEN in the LOOP, after you have changed the attributes.
Dig Deeper on SAP ABAP
Related Q&A from Matthew Billingham
An SAP user is trying to run a report in an SAP ALV Grid online and wants to know how to get the data in the report to appear along with the header. Continue Reading
An SAP user needs to transfer customer purchase order spreadsheet data to SAP VA01 to create a new sales order. Continue Reading
An SAP user needs information on how to change the password on several SAP user accounts from a central location. Continue Reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.