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 are the update types possible? : abap data dictionary
Explain badi in abap.
Describe the data classes?
How to split one Invoice into Multiple ( Step by Step)?
Sal abap on hana interview
Difference between stand alone CRM and back-end CRM
how to update the filed value in SAP in ZAWSYS and create time and date? please tell me the answer
In selection screen I have three fields, plant mat no and material group. If I input plant how do I get the mat no and material group based on plant dynamically?
Create any functions? How to go about it?
Can you create an internal table dynamically?(at run time)
What should be declared explicitly in the corresponding abap/4 statements to access internal tables without header lines & why?
The max number of calling modes stacked at one time is?
What are the differences between the table and the structure in the data dictionary in the sap abap?
write a program for creation of customer quotation using BAPI 'BAPI_QUOTATION_CREATEFROMDATA'.
How do you control printer functions from sapscript?