on 09-30-2013 6:31 AM
Dear Experts,
i have requirement in FPM , my component is : FPM_FORM_UIBB and Configration Name :ZHRESS_CC_PER_DTL_PERSDATA_SG
and Feeder Class is: CL_HRESS_PER_DETAIL_GENDER
my requirement in my Personnel Profile under ESS, i need to hide the First Marriage field based on Marital Status field selection. i.e if Marital Status id
"Married" then i need to show the First Marriage field and make it Mandatory else i need to hide the First Marriage field.
now my problem is where i need to write the logic .
my Personnel Profile Screen is:
Thanks in Advance,
SudhaSuma.
Hi,
You have to use the Method "GET_DATA" from the Feeder-Interface.
In parameter CT_FIELD_USAGE indicate which field is to be made visible/mandatory.
And after that set the value for EV_FIELD_USAGE_CHANGED .
Let me know if this helps.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sudha,
Did your requirement got fulfilled?
Please let us know if you facing any issue.
If solved then please close the thread.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Hitesh and Ram,
Thank you verymuch for your help.
i have Partially Solved the issue. what i have done is.
i just enhanced the GET_DATA method by creating Post-Exit method. and read the Field Catelog and CS_DATA for data checking based on prev values i just updated (passing MANDATORY = 'X' & VISIBLE = 'X' property for FIELD_CATELOG.
but it is working Visible property well and for Mandotory property not working, it is displaying * infront but it is not working.(i.e it is not displaying Error msg, if there is empty value).
is there any other place (or) other way that i need to do.
Thank you,
Sudha.
Hi Sudha,
As Hitesh mentioned, do your logics in GET_DATA method and also do ensure to make the visibile property to the corresponding values(either 01 or 02), ev_field_usage_changed = abap_true and
ev_data_changed = abap_true.
BR,
RAM.
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.