Q:
Dear all,
I have parameters in my ABAP/4 reporting program:
parameters: date like sy-datum,
division (1) type c.
parameters: r1 radiobutton group rad1,
r2 radiobutton group rad2.
How to change below code into ABAP/4 language
if r1 ne space.
division = invisible.
elseif r2 ne space.
divisio = visible.
endif.
thank you
A:
Try something like this in the even AT SELECTION-SCREEN or AT SELECTION-SCREEN
OUTPUT (whichever makes sense for what you are doing...)
LOOP AT SCREEN.
If screen-name = division.
if r1 ne space.
screen-invisible = 1.
elseif r2 ne space.
screen-invisible = 0.
endif.
modify screen.
endif.
ENDLOOP.
You may also try adding a statement for screen-input and/or screen output
instead. That way they are still visible, but you can't change them.
ABAP,ABAP report,Interactive Report,ALV grid,ALV list,IDOC,User Exit,RFC,Smartform,sapscript,ABAP Performance,Remote Function Module( RFC ),Function Module,Modularization techniques,ABAP tools,ALV report Generator,ABAP Interview Questions,BDC,BAPI,ALE,BADI, EDI,InternalTable,DataStructure,LSMW,Domain,DataElement,Basis and Administration ,ABAP HR development,ABAP Debugger,BW,ExceptionHandling,Download FI, CO, MM, PP, SD, PM, PS, QM, SM, HR, BW, APO,ABAP Tutorial
Search on this Website
Friday, December 7, 2007
Disable Parameters in Report Selection Screen
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment