on 03-10-2006 7:47 PM
Hi,
I created new field using EEWB. Created new domain with check table and associated the domain with new field.
Added the field to the screen as drop down field. This
field is not showing values from check table.
Can somebody guide me if I am missing any step?
Thanks,
I don't know how it works on 5.0 but in 4.0 SP7 you have also to add some code to get it done. So for the activity bsp we added a combo box. you do that in se37 "CRM_ACTIVITY_DROP_DOWN_FILL" hope this help's
JR
adding some fields , select satements for external transaction number
= Division in the activity transaction
and ZMarketing table as lookup for profiles JR 18.2.2004b
EEH Definitionen for Zdivision
TYPES: zdivision01_tab TYPE TABLE OF zdivision01.
FIELD-SYMBOLS: <lt_zdivision01> TYPE zdivision01_tab.
DATA: ls_zdivision01 TYPE zdivision01.
EEH Definitionen for Zmarketing
TYPES: ZMARKETING_tab TYPE TABLE OF ZMARKETING.
FIELD-SYMBOLS: <lt_ZMARKETING> TYPE ZMARKETING_tab.
DATA: ls_ZMARKETING TYPE ZMARKETING.
Bosch Rexroth 29.01.04
adding the select statement for the customer owned fields/help
EEH-Felder
EXTERN_ACT_ID
WHEN 'EXTERN_ACT_ID'.
First, the data for output table has to be created.
CREATE DATA <ls_dropdown_listbox>-data TYPE
STANDARD TABLE OF Zdivision01.
Assign the field symbol for data table in order to work on the
table
ASSIGN <ls_dropdown_listbox>-data->* TO <lt_Zdivision01>.
Select data as needed
SELECT * FROM Zdivision01 INTO TABLE <lt_Zdivision01>.
WHERE langu = sy-langu.
here you can work on the table
delete <lt_proc_type_t> where process_type eq '...' and
APPEND ls_Zdivision01 TO <lt_Zdivision01>.
SORT <lt_Zdivision01> BY Division.
Define, in which column the key is defined
<ls_dropdown_listbox>-keycolumnname = 'division'.
Define, in which column the description is defined
<ls_dropdown_listbox>-valuecolumnname = 'division'.
Ende ZDivision
WHEN 'ATTR_SET'.
First, the data for output table has to be created.
CREATE DATA <ls_dropdown_listbox>-data TYPE
STANDARD TABLE OF Zdivision01.
Assign the field symbol for data table in order to work on the
table
ASSIGN <ls_dropdown_listbox>-data->* TO <lt_Zdivision01>.
Select data as needed
SELECT * FROM Zdivision01 INTO TABLE <lt_Zdivision01>.
WHERE langu = sy-langu.
here you can work on the table
delete <lt_proc_type_t> where process_type eq '...' and
APPEND ls_Zdivision01 TO <lt_Zdivision01>.
SORT <lt_Zdivision01> BY Division.
Define, in which column the key is defined
<ls_dropdown_listbox>-keycolumnname = 'division'.
Define, in which column the description is defined
<ls_dropdown_listbox>-valuecolumnname = 'division'.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
In CRM 4.0 also we no need to add code unless until we have to pick the values dynamically at runtime.If we assign the check table it has to come in the dropdown.
1) Check the same field in GUI and verify the field has value help with the values from the table assigned.
2) If it is available in GUI then put a break point in fill_drop_down value method of the MAC and verify wether the class picks value from the correct table.
Regards,
Abdul Raheem S
I still need to try the custom development option though.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I finally opened OSS and SAP came back saying that SAP consulting is required to be taken. They sounded like it is not possible through configuration.
Anyways thank you people for ur input.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Chandrika and Manual,
Thanks for the reply,
I gave some values to the domain. I went to PC UI screen of the custome field. Still drop down did not got populated.
Am I missing something?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Manuel,
Thanks for your reply.
I went to se11 and got the structure of the field. Went to Entry help/Check tab of the structure. I changed mode to edit, but still check table field was un editable. I have developer access to the system. Am I missing anything?
Thanks,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Parimal,
Check table shows up only if you have a foreign key from another table in your structure. In other words you cannot manually add a check table. What Manuel would have meant is the value table assigned in the domain, which I think you have already assigned it. Just for testing can you assign some fixed values in the domain and see if it comes accross?
Also, did you select the field group type for this field as DDLB (drop down list box)?
Hi again,
Look the field in your structure in se11 transaction and go to tab of check/search help and if the field havent the check table add to the structure.
Regards.
Manuel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Manuel,
I did check the domain option in the field setting of field group and regenerated the layout. Still it is not showing values in drop down.
Is there something else I need to take care of.
Thanks,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Bhatt,
You have to mark domain values in your fieldgroup sturcture for this field.
Regards.
Manuel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.