Skip to Content
author's profile photo Former Member
Former Member

Change dropdown values for ADD ITEM button in PO screen

Hi,

We have upgraded from SRM 5 to SRM 7.

Due to the new screens in SRM 7,in PO screen for adding any additional

lines from a shopping cart,we need to click on the ADD ITEM button

under the ITEMS tab as shown in attached document.However the issue we

are now facing is that the drowpdown values for this button show

the "external catalog" links also(as they are enabled in shopping cart

screen for the buyer).

For Shopping cart screen,the display for the dropdown options can be

controlled via badi BBP_SC_MODIFY_UI.However for PO there is no badi

available.

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Posted on Feb 08, 2012 at 04:14 AM

    Hi,

    In the PO also if you click ADD items you will see only the Catalog link that is the std functionality

    if you want to add line items in the PO .Go to the right hand side click setting you see the default row(line item) in the PO to

    10. you can change the number here.

    this is the procedure

    Regards

    G.Ganesh Kumar

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 08, 2012 at 10:50 AM

    Hello.

    External Catalog links for ADD_ITEMS are shown because of your User Attribute settings. If you remove them it will not be shown.

    WD Comp. : /SAPSRM/WDC_UI_PO_DOTC_IT

    View : V_PO_DOTC_BASIC

    Method : VWDDOMODIFYVIEW

    In this method Check for below Code. This enables the link for Catalog in PO.

    *Initialise the Catalog Entries for the User
        wd_this->mo_dotm_po_i_bd->init_catalog_entries( io_view = view ).
    

    If you dont want to remove it from the user setting then create a post exit for method VWDDOMODIFYVIEW.

    Use this bit of Code.

      lr_toolbar_btn_choice ?= io_view->get_element( 'ADD_ITEM' ).   "add to item
    
              lr_menu_action_item ?= cl_wd_menu_action_item=>new_menu_action_item(
                  id                   = lv_service_id    " Service ID of Catalog.
                  on_action            = 'ADDITEM_CATALOGUE'    " name of action as defined in view
                  text                 = lv_service_descript    " Decription of the catalog
                  view                 = io_view ).  
    
              lr_toolbar_btn_choice->remove_choice( the_choice = lr_menu_action_item ).
    

    Check the piece of Code in the class /SAPSRM/CL_CH_WD_DOTM_PO_I_BD method /SAPSRM/IF_CLL_DOTM_PO_I_BD~INIT_CATALOG_ENTRIES

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.