on 04-24-2009 2:30 PM
Hi Gurus !
I have added a Z field to the Shopping Cart: "ZZUBICACION". This fields has a domain with 3 fixed values:
Value / Description
1 - Location_1
2 - Location_2
3 - Location_3
I created this Customer Fields (CUF) using sapnote 672960 and using append structures in INCL_EEW_PD_HEADER_CSF_SC and INCL_EEW_PD_HEADER_CSF.
The field is appearing correctly in the Shopping Cart and the values are saved. So far, so good.
Here is my question:
Can I make the field look like a traditional listbox ? Right now is appearing as an input field with binoculars to the side.
Thank you in advance,
Best Regards,
Mariano.
Did you try my suggestion from the other forum?
Regards, Dean.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
>
> Hi,
>
> Solution in foll thread:
>
>
I found a easier solution. Instead of modifyng the ITS (java and html) you can modify a Function Group (ABAP).
The function group is BBP_PDH_CUF, the include is LBBP_PDH_CUFF02 and the form is modify_display_table.
At the beginning of that form I have the following code:
*{ INSERT XXXKNNNNNN 1
* Object registration key: ----------------------
LOOP AT <display> INTO ls_display.
CASE ls_display-name.
WHEN 'ZZUBICACION'.
ls_display-f4_availabl = 'W'. " Drop down listbox
MODIFY <display> FROM ls_display.
WHEN OTHERS.
CONTINUE.
ENDCASE.
ENDLOOP.
*} INSERT
Thank you for your time.
I'm going to leave the question as answered.
Mariano.-
Hi Mariano,
Thank you for posting the logic to display the drop down list box for customer fields. I followed your instructions and logic, but was not able to create the drop down. I have started a new thread regarding this question.
It would be very helpful if u could reply to that. please help me in this regard. Once again thanks for your help and time i really appreciate it.
Thanks & Regards,
Sanjeev.
User | Count |
---|---|
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.