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
Have you printed any report?
What are authorization objects and what statement is used to perform an authorization check in an abap program?
How can you find the field/data underlying a transaction?
How many types of tables exists and what are they in data dictionary?
8)when u create sales report what u can see in that report ? what rthose field names or data element names? 9)when u create purchase order details report what u can see in that report ?what rthose fieldnames or dataelements? 10)when u create material stock report in material master grouped by material type and plant what u can see in report ?what rthose field names or dataelement ? 11)when u create shipping forecast report what u can see in that report ?what rthose data elements or field names?
What is the project you are currently working and work that you are doing
Hi my dear friends,Please give the answers for the following link http://www.saptechnical.com/InterviewQ/interviewQ.htm
If A is the super class of B. And both the classes have constructor. We create an object of class B. Then which constructor will be called? If both then in which order?
What is view proxy in abap?
What are the tcodes for performance tuning?
Control Break statements- At new...endat.
Name a few data dictionary objects?
What do you mean by batch data communications programming?
how 2 create the normal form by using functional module
How can we handle table control in bdc? : abap bdc