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?
What is a data dictionary? : sap abap data dictionary
Explain the Inportance of pa40? : abap hr
what next in SAP-ABAP/4 is it going to be change?
What are the tcodes for performance tuning?
Why do we use logical blocks in abap program?
I am trying to automate a manual processing of iDOCs in BD87. I used the following code to pass idoc-id to global variable 'DCN' and then skip the first screen of BD87 to go to processing directly. After running this code SET PARAMETER ID 'DCN' FIELD itabhdr-idoc_id. CALL TRANSACTION 'BD87' AND SKIP FIRST SCREEN. it takes me to the first screen because it cannot recognize my idoc-id. How I can pass idoc-id to global? I have used the above code to goto VA02 with VBELN and it worked perfectly.
What are the attributes of the data in data dictionary? : abap data dictionary
What is an authorization in sap?
What are the functional areas?
How will you link form with the event driven in sap scripts?
Can you show multiple alvs on a single screen?
What are the major steps will you use for tuning?
How you attach search help to data element? : sap abap data dictionary
What is the purpose of at first and at last?