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 / harsh bansal
you shud code in AT Selectin
screen event
At selection screen.
If p_checkbox is initial.
If first_field is initial.
Message e000(zmsgclass).
Endif.
Elseif p_checkbox eq 'X'.
If second_field is initial.
Message e001(zmsgclass).
Endif.
Endif.
This vl b enuf..
Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
How can you display frames (horizontal and vertical lines) in lists?
What is the use of the raising exception? : abap modularization
What are the differences between interactive and drill down reports?
What is the difference between bdc_open_group and bdc_open_dataset. : abap bdc
What are the Control levels in internal tables?
what is diff between ECC 5.0 AND ECC 6.0
What are the different methods of passing data? : abap modularization
What are the list of screen elements?
what is sap scriptview ?
What is repository info. Systems?
What is the use of at new statement ?
What are the layers of data description in r/3? : abap data dictionary
How will you find manager of an employee
Which function module would you use to check the user’s authorization to access files before opening a file?
What is an evaluation path? : sap abap hr