on 11-25-2006 11:08 AM
Hi,
I am starting with WD for ABAP (NW04s). I am using PA0022 table as model and displaying these values on the view. By default most of the fields like country, education centre, Faculty, Branch, Score come with an F4 option. But the value displayed in these fields are always key fields(Numeric), which would not make any sense for the end user. Now I would like the Text/Descriptions to be displayed against each field.
Can anyone help me out.
Regards,
<i><b>Seema.</b></i>
Thanks a lot guys,
My Question has been answered.
Regards,
Seema.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Using dropdownby Key select fields is a good option here.
Change the input fields to be Dropdownby key instead.
Where there is a domain, the framework will populate the metadata in the context nicely.
Where the dropdown list isnt poulated as you would like, you can quickly fill the values.
basic code steps:
WD_CONTEXT -> Get_child_node " get the node containing the fields to have dropdowns
lr_child_node->get_node_info " get a reference to the metadata info of a node.
lr_node_info->set_attribute_value_set " to populate with key value / human friendly values
The user now sees descriptions, the context attribute receives the key value.
This is not a search help, and is suitable for small lists only. eg < 100 entries
regards
Phil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Phil
This is the dump i m getting,
Note
The following error text was processed in the system D35 : Attribut LANGU konnte nicht gefunden werden. ¥ꯂ¦
The error occurred on the application server RETHR6_D35_01 and in the work process 0 .
The termination type was: RABAX_STATE
The ABAP call stack was:
Method: IF_WD_CONTEXT_NODE_INFO~GET_ATTRIBUTE of program CL_WDR_CONTEXT_NODE_INFO======CP
Method: GET_AND_FORMAT of program CL_WDR_DATA_CONTAINER=========CP
Method: IF_WDR_SHLP_CONTEXT_MANAGER~GET_VALUES of program CL_WDR_DEFAULT_SHLP_CONTEXT===CP
Method: CREATE_SEARCH_HELP of program CL_WDR_DDIC_SEARCH_HELP=======CP
Method: CONSTRUCTOR of program CL_WDR_VALUE_HELP_HANDLER=====CP
Method: HANDLE_DD_SHLP of program CL_WDR_VALUE_HELP_HANDLER=====CP
Method: HANDLE_VALUE_HELP of program CL_WDR_VALUE_HELP_HANDLER=====CP
Method: HANDLE_AFTER_UPDATE_DATA of program /1WDA/LSTANDARD===============CP
Method: IF_WDR_CLIENT~AFTER_CLIENT_UPDATES of program CL_WDR_CLIENT_SSR=============CP
Method: DO_AFTER_TRANSPORT of program CL_WDR_WINDOW_PHASE_MODEL=====CP
Plz help me out.
Regards,
Seema
After you have created Message on SMP,
Try the following:
add the attribute LANGU to the node where these fields are located in the context.
May require you to create a structure
with include paXXXX and LANGU.
Then use this structure instead of paxxxx in the context.
Set the context of LANGU to a valid language.
I suspect you will need E and not EN for english.
So trial error while waiting for the SMP response.
regards
Phil.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.