Skip to Content
avatar image
Former Member

graying out field?

Hi all,

Need your help.We are on SRM 4.0,R/3 4.6C.

On the Web gui,when we have options to go add items in the shopping cart by:

Catalog,Internal goods and services etc

My requirement is:

Now my requirement is to select from the drop down list and make that selection permanant for the end users i.e how can i freeze selection in the drop down list?

Please suggest a solution

Regards

Tommy

Message was edited by: Tom Hanes

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    May 25, 2006 at 02:02 PM

    Hi Tom,

    to default "Personal templates" in the drop down list box, you have to change the FORM status_mixed_to_web in LBBP_PDH_SEARCHF12.

    This form is populating the status list for SC.

    By default "All" status is selected:

    IF gs_search_field-status_mixed IS INITIAL.

    MOVE '00' TO gs_search_field-status_mixed.

    ENDIF.

    To change it to personal templates, change '00' to '07'.

    Rgds

    Christophe

    PS: please reward points for helpfull answers

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Tom,

      This is an ABAPer job.

      First you must have developer rights and key on your system.

      Then goes to transaction SE80 --> program SAPLBBP_PDH_SEARCH --> and locate the subroutine "status_mixed_to_web".

      Or goes directly to transaction SE38 on program LBBP_PDH_SEARCHF12.

      You will also need a modification key to be allowed to change this standard SAP object --> must be generated on the SAP marketplace with your S* user.

      Then, instead of the std code:

      <i>FORM status_mixed_to_web .

      DATA: lv_counter(2).

      IF gt_help_status_mixed[] IS INITIAL.

      • read status descriptions

      PERFORM status_mixed_text_fill.

      ENDIF.

      IF gs_search_field-status_mixed IS INITIAL.

      MOVE '00' TO gs_search_field-status_mixed.

      ENDIF.

      • fill status description for Dynpro

      PERFORM status_mixed_change.

      • Drop-down list for the create/change periods

      CLEAR lv_counter.

      LOOP AT gt_help_status_mixed.

      ADD 1 TO lv_counter.

      field-set 'STATUS_NUMBER' lv_counter gt_help_status_mixed-number.

      field-set 'STATUS_LIST' lv_counter gt_help_status_mixed-text.

      ENDLOOP.

      ENDFORM. " status_mixed_to_web</i>

      Change the default status in the list:

      <i>FORM status_mixed_to_web .

      DATA: lv_counter(2).

      IF gt_help_status_mixed[] IS INITIAL.

      • read status descriptions

      PERFORM status_mixed_text_fill.

      ENDIF.

      IF gs_search_field-status_mixed IS INITIAL.

      <b> MOVE '07' TO gs_search_field-status_mixed.</b> ENDIF.

      • fill status description for Dynpro

      PERFORM status_mixed_change.

      • Drop-down list for the create/change periods

      CLEAR lv_counter.

      LOOP AT gt_help_status_mixed.

      ADD 1 TO lv_counter.

      field-set 'STATUS_NUMBER' lv_counter gt_help_status_mixed-number.

      field-set 'STATUS_LIST' lv_counter gt_help_status_mixed-text.

      ENDLOOP.

      ENDFORM. " status_mixed_to_web</i>

      You can see the status list with codes (00, 01,....) in PERFORM status_mixed_text_fill.

      Rgds

      Christophe

  • avatar image
    Former Member
    May 25, 2006 at 01:53 PM

    Anybody?Please share your thoughts..

    Thanks

    Tommy

    Add comment
    10|10000 characters needed characters exceeded