on 08-22-2012 2:56 PM
I'm configurering the Personal Profile and my customer wants the phone number (communication type, area code and phone number) to be mandatory for the emergency address, but hidden for the permanent address. They should have the option to fill out 3 telephone numbers with only the
first being mandatory.
I have made a z-version of HRESS_CC_PER_DTL_ADDRESS_US and added the elements (COM1, AREA1, TELN1....2,3).
In V_T588MFPROPC I have marked the fields like this:
Version: 10
Subtype:1
Structure: P0006
Field Name: COM1 (AREA1, TELN1....)
Check in unused
But the fields are still visible for both addresses.
I'm not sure if I have to enter COM, AREAC and TELNR (without the numbers) or the ones with the numbers (COM1...) in V_T588MFPROPC.
When I mark AREAC and TELNR as unused (and add the fields in the z-configuration), only TELNR is hidden!
Anybody knows how to get rid of the phone numbers for only one subtype?
First please check my blog so that you can understand what can be done in which layers
The problem is that the telephone fields in US screen structure HCMT_BSP_PA_US_R0006 are named differently compared to P0006 and this is the reason your settings do not work (e.g. there is no field called AREAC in P0006 structure). The mapping between fields is done via conversion class.
So your options:
1. Implement BAdI HRPAD00INFTYUI and makes sure that you set the parameter field_attributes as you wish in method output_conversion. You can hide fields of UI structure for a particular subtype.
2. Create seperate UI configurations (copy of HRESS_CC_PER_DTL_ADDRESS_US). Hide fields based on subtype in UI configurations and assign them using HRESS_CC_PER_CONFIG.
Hope this answers.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sagar
I just read the discussion:
http://scn.sap.com/thread/3170848
that tells that it will not be possible making two subtype variations until EHP6.
Have you succeded creating separate UI configurations based on subtype and assigned them using HRESS_CC_PER_CONFIG in EHP5?
The other thread was talking about different configurations for Overview screen (biz cards).
In EHP6 it is possible to create seperate bizcard blocks per subtype.
For detail/edit screens it is possible to have multiple configurations based on subtype in EHP5 as per your requirement.
Also please check the complete thread. It is possible to hide certain fields (based on subtype) in Overview screen using customizing or BAdI
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
11 | |
10 | |
6 | |
5 | |
5 | |
5 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.