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
What is the difference between the function module and a normal abap/4 subroutine? : abap modularization
What are logical databases? : abap hr
What are multiple use BADIS?
Explain the data types of internal tables?
What is the meaning of table buffer? This buffer is used by which type oftable?
What is the disadvantage of a call by reference?
What are the different types of views and their definition?
What is the use of enqueue function module? : sap abap data dictionary
What are the three hierarchical levels of data types and objects?
what are the problem we face during development( if we say v are in support(development)? what are the critical problems araises during LSMW updation and Smart form layout development for involce and po? very very important questions now a days commonly asking..plz plz reply me
What type of user exits have you written ?
When the top-of-page event does get triggered?
Explain what are the events used for logical database?
Is there any method apart from bdc for data upload to sap? : abap bdc
How does the interface between the dynpro and the abap/4 modules take place?