on 05-16-2011 11:02 AM
Hi Experts,
In the ESS W4, the first entry in the 'Filing Status' dropdown is a blank value then followed by 'Single','Married' etc. If the user selects the blank value from the dropdown, then in the Review screen '00' will be updated across the Filing Status. The client wants us to get rid of the blank value from the dropdown (which is a Dropdown by Key). Please advice.
Thank you in advance.
Regards,
Karthik
We had the same issue and while we could not get rid of the blank line, we did put in a validation that would prevent the user from choosing it. In Se24 go to object CL_HRPA_INFOTYPE_0210, them method SPECIFIC_COMPUTATIONS_TXSTA
We changed Line 17, which read
CHECK p0210-txsta NE '00'. "TKP 1380941
To instead read
If p0210-txsta NE '00'.
.
.Leave all the regular SAP code here.....
.
.
Else (at the end of the code, we add an else with the following code to write out the error messageElse.
Message e992(5U) (we added a message "Please enter a valid filing status" to message class)
into dummy.
MOVE-CORRESPONDING sy TO msg.
field_name = 'P0210-TXSTA'.
APPEND field_name TO field_list.
CALL METHOD message_handler->add_message
EXPORTING
message = msg
field_list = field_list
cause = message_handler->infotype_specific.
is_ok = false.
ENDIF.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Go to context node (your F4 node of Dropdown) properties and configure selection = 1..n
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.