cancel
Showing results for 
Search instead for 
Did you mean: 

ESS W4 Filing Status Dropdown

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

0 Kudos

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.

Former Member
0 Kudos

Thank you very much Pam. We will try to implement it.

Former Member
0 Kudos

Go to context node (your F4 node of Dropdown) properties and configure selection = 1..n