i have 2 fields on selection screen of a Report along with
a check box.My requirement is initially that first field
sud be mandatory but when we click on the check box the
first field which was mandatory sud now be optional and the
second field now sud be mandatory.Please provide the
solution asap. thank u.
Answer Posted / sunil kumar gautam
This example will be help full for this problem.
PARAMETERS check1 AS CHECKBOX USER-COMMAND check.
select-OPTIONS regio for kna1-regio MODIF ID mad.
select-OPTIONS kunnr for kna1-kunnr MODIF ID kad.
AT SELECTION-SCREEN .
"LOOP AT SCREEN.
if check1 = 'X'.
if kunnr is INITIAL.
Message 'Customer is manditory' type 'E'.
endif.
endif.
if check1 is INITIAL.
if regio is INITIAL.
Message 'Region is manditory' type 'E'.
endif.
endif.
Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
How to find Kernal badi ?
What are the update types possible? : abap data dictionary
hi.. sap sd is installed in my PC .i m unable to start becoz ,i have given wrong password many times and it's locked.please tell me how can i open SAP logon. tell the process at my id dst.noida@rediffmail.com please advance thanx
Explain what are the events used in interactive reports?
what is the t-code to link technical and functional operation?
the problem is that , while i am undergoing with my practice session, i am creating too many new programs.they are occupying much space in my hard-disk. how to delete un-necessary programs completely from my data- base........... plz help me with this .....
What are different types of parameters?
What is match code? : sap abap hr
What are the techniques involved in using sap supplied programs?
Can a transparent table exist in data dictionary but not in the data base physically? : sap abap data dictionary
can anybody give me functional specification (or table name & field names) of stock analysis report, work in progress report,generating vendor detailed list
What is the syntax for call transaction? : abap bdc
What is smart forms? : abap hr
What is value table? : abap data dictionary
Table events aNd table maintains generation