GL Account Search Help Issue

We want to change the standard search help of GL Account in the Shopping Cart line item.
Currently it fetches the value from ECC backend but we need to utilise a custom search help from SRM system.
Pease let me know how do we do this.
Thanks.

Hi,
  You can do this with WD dynamic programming.
  You can do with domodifyview badi for accounting component /SAPSRM/WDC_UI_DO_ACC.
  You need to handle both views 'V_DO_ACCOUNTING' and  'V_DO_ACCOUNT_DETAIL' in the domodifyview badi implementation.
I am sending the sample  code. How to attach the custom search help dynamically.
  DATA lo_nd_comp_context    TYPE REF TO if_wd_context_node.
  DATA lo_nd_acc_context     TYPE REF TO if_wd_context_node.
  DATA lo_nd_info_acc        TYPE REF TO if_wd_context_node_info.
  DATA lv_value_help_mode    TYPE i.
  DATA lv_value_help         TYPE string.
  " Read Context
  lo_nd_comp_context = wd_context->get_child_node( name = 'COMP_CONTEXT' ).
  " get node info object of accounting node
  IF lo_nd_acc_context IS BOUND.
    lo_nd_info_acc = lo_nd_acc_context->get_node_info( ).
  ENDIF.
  " continue only if node info is supplied
  IF lo_nd_info_acc IS BOUND.
    " get current search help info
    lo_nd_info_acc->get_attribute_value_help(
      EXPORTING
        name            = 'G_L_ACCT'
      IMPORTING
        value_help_mode = lv_value_help_mode
        value_help      = lv_value_help
" Below this will add the custom search help from SRM .
         lo_nd_info_acc->set_attribute_value_help(
        EXPORTING
          name            = 'G_L_ACCT'
          value_help_mode = 'BUS2121'
          value_help      = 'Z_F4-Your search help'   " you own search help.
  endif.
Regards,
Devi prasad

Similar Messages

  • Cost Center and G/L account search help not working

    Hi Gurus,
    I am facing a problem with the search help button for cost assignment in Shop screen.
    When I press the search button for cost center, there is no new screen coming up asking me the search criteria to be given as input. Same is the problem when I search for G/L accounts.
    I have defined the backend RFC user as dialog user and also defined the RFC(dialog) in the SRM system for the backend RFC.
    My user id has authorization object M_BBP_SHLP in my profile.
    What may be the reason for this issue?
    Note: I am currently using SRM5.0 system with backend R/3 4.7 version. This SRM system is already connected to another backend system ECC6.0, and the search help is working fine for those users.
    Pls. guide me on how to resolve this issue.
    Regds,
    Ancy

    Hi Ancy,
    Don't give wild search. Give some words following with * like "UK*" lists all the UK Cost centers. For the G/L accounts: G/L Accounts will get updated in the SC automatically depend upon the product category what you have selected.
    Check the configuration  Cross Application Basic settings->Account Assignment ->Define G/L Account for the product category.
    If you have maintained the configuration for the paritcular G/L Account and Product cateogyr then when G/L Account is updated automatically in the SC (Depend upon this configuration)
    Kind Regards
    Sameer

  • GL Account Search Help...

    We do not assign GL Accounts.   We force the user to select one.   We prefer that they use the supplied search help to select the GL.
    Currently, we are swithing one of our system from an R/3 backend to a non-R/3 backend.   For detailed reasons, we are storing the GL Accounts locally.    We would like to provide a search help with these values and the texts, but the standard access for search helps is not available in the BADI's.  
    Any ideas on how to populate the search help for GL with local data?
    Thanks
    Dave

    Sundeep,
    Thanks for the response.  
    My problem is that the standard BADI does not include a method that will effect the GL Account.   It has about 15 or 20 methods to deal with the other Search Helps, but not the GL Account.  
    If it is there, could you point me to the specific method, because none of them seem to point the GL Account or Account Assignment.   There is one for Account Assignment Category...but I don't think that is what I want.
    One more issue here.   I am using the NOR3 modules as templates.   In the Search Help meta function for the NOR3 modules, the case statement does not include data or call back program and function for the GLAccount.   So even getting the search help process functioning is going to be a trick.  
    Let me know if you have any ideas,
    Thanks,
    Dave

  • Enhancing F4 Search Help Issue - Standard Component

    Hello All,
    We have a requirement in SRM to customize couple of standard Search helps attached to the Webdynpro components. As such I know the concept of how we can handle this requirement but hitting an issue.
    Standard Working scenario -
    1) Standard Structure available with multiple fields. Two fields that are of our interest are SH_VALUE and SH_VALUE_LABEL.
    2) Standard Search help for this being used has fields VALUE and VALUE_LABEL.
    3) In the Structure the both the fields SH_VALUE and SH_VALUE_LABEL are mapped to the Search help VALUE and VALUE_LABEL.
    4) In the WD component the node is mapped to the standard structure.
    Running the application and the picking up the values from F4 on the SH_VALUE field will return its corresponding value and also map the SH_VALUE_LABEL field with the Label from the F4 since the structure and Search help mapping are there.
    So far good when its standard.
    Issue I am facing -
    We need to modify this standard search help to customize our needs.
    1) Did a Copy of the standard Search help and then modified to suit our needs. The output structure of the search is still the same as the standard one.
    2) Did a Post Exit in the WD component to call our custom search help through the below code -
    data lo_nd_attrib type ref to if_wd_context_node.
    data lo_nd_attrib_info type ref to if_wd_context_node_info.
    lo_nd_attrib = wd_context->path_get_node( path = `ATTRIBUTES_DATA.ATTR_DTLS_MULT` ).
    lo_nd_attrib_info = lo_nd_attrib->get_node_info( ).
    lo_nd_attrib_info->set_attribute_value_help( name = 'SH_VALUE' value_help_mode = '121' value_help = 'Z_ORG_ATTR' ).
    lo_nd_attrib_info->set_attribute_value_help( name = 'SH_VALUE_LABEL' value_help_mode = '121' value_help = 'Z_ORG_ATTR' ).
    Running the application just returns the SH_VALUE field but does not get the data for the SH_VALUE_LABEL.
    Is there something wrong in the way I am calling the Custom Search help or should I need to approach this differently?
    Thanks,
    Nagarajan.

    Hi Nagarajan,
    Well, you are trying to set the search help to both attributes ( sh_value, sh_value_label) individually and it is having no link between these two attributes
    i.e. once you select a value from search help of SH_VALUE, its no where linked that the other details to be passed to SH_VALUE_LABEL.
    We generally, do the linking of attributes to search help parameters at structure level as below
    So, if you need the same behaviour, then you need to assign the Zsearch help at strucuture field SH_VALUE and link the parameters to both fields SH_VALUE & SH_VALUE_LABEL
    In case, if find it not possible to to this way,
    You need to populate the value of field SH_VALUE_LABEL upon selection of value from search help of SH_VALUE.
    i.e. by registering the search help selection event to an OnEnter action and write the logic to populate the value to SH_VALUE_LABEL
    Please refer the below link
    Automatically Trigger onEnter event after selecting value from the Value Help(F4 Help)
    Hope this helps you.
    Regards,
    Rama

  • Search Help Issue

    Hi All,
    I'm facinng one strange issue with search helps.  I have devloped online form in WDA with some F4 helps(I have used "Value Help button from Webdynpro Native) .
    If I click search help buttons 15 times, the whole browser is closing with out any warning or error. I have been analysing why it is happening, but no use till  now. I have seen browser log using HTTP Watch and Debug Webdynpro application etc.
    Did any one face this issue? Is there any parametere setting or something? Or Is any other setting in ADS or J2ee or Adobe or any where???
    Any pointer will  be really apprecaited. Going live very soon in days..:)... Till now I couldnt realize this issue, infact tested in Dev and QA...but never tried keep on clicking for few times, until user pointed it out..
    Can some one also try clicking for 15 times any search help and see , is it the same case?
    Apprecaite your response.
    Version Details:
    SAP ECC 6.0
    SAP_BASIS     700     0016     SAPKB70016     SAP Basis Component
    SAP_ABA     700     0016     SAPKA70016     Cross-Application Component
    Findings:
    I was reducing the form size gradually like deleting some script, and fields... then number of hits  increasing. I mean now after the changes the count increased to 22 then application is closing..
    Regards,
    Ravi
    Edited by: Ravi Devarasetty on Apr 2, 2010 11:51 AM

    Hi Otto,
    I have already gone through that Snote. Nothing related to my issue. Probably I should open an OSS message.
    New Findings:
    I thought It is the problem with search helps, but after testing rigorously...the same problem with Submit Button. After clicking 22 times the applicaion gets closed automatially...
    I doubt some related to Sizing????
    Regards,
    Ravi
    Edited by: Ravi Devarasetty on Apr 3, 2010 10:03 AM

  • Search help issue with WebGui Transaction iView

    Hi All,
        We have customized transaction ZME51 for ME51 transaction.
        Transaction  iView has been created for this in EP.
       But we are not getting search help within search help.
    Please guide if anybody has got idea.
    regards,
    gangadharayya.

    Hi,
    Is your transaction working directly.
    Try actual program/report transaction.. dont use Z transaction.
    Check if you are getting search help for standard one? If so, you need to create Z searchhelps for yours.
    regards
    Kedar Kulkarni

  • Search Help Issue : Pls suggest

    Dear All,
    I have three text fields in one of my screens.
    1. Transporter
    2. TruckType and
    3. Destination
    I have provided search help for Transporter field and  I display all the above three fields in the search help LOV.
    My requirement is that on selection of any entry from the search help, the other two fields on the screen i.e. Truck Type & Destination should also get populated from the relative fields of the selected entry.
    Regards,
    Alok.

    Hi Alok,
    check this code...
    tables: mara, makt.
    data mat like mara-matnr.
    data: begin of itab occurs 0,
    matnr like mara-matnr,
    end of itab.
    data : begin of btab occurs 0,
    maktx like makt-maktx,
    end of btab.
    data mak like makt-maktx.
    DATA : return like ddshretval occurs 0 with header line.
    data: begin of dynpfields occurs 3.
    include structure dynpread.
    data: end of dynpfields.
    parameters: p_matnr like mara-matnr,
    p_maktx like makt-maktx.
    Initialization.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_matnr.
    REFRESH ITAB.
    SELECT matnr FROM mara INTO TABLE ITAB.
    call function 'F4IF_INT_TABLE_VALUE_REQUEST'
    EXPORTING
    retfield = 'MATNR '
    dynprofield = 'P_MATNR '
    dynpprog = sy-REPID
    dynpnr = sy-dynnr
    value_org = 'S'
    TABLES
    value_tab = ITAB
    return_tab = return.
    mat = return-fieldval.
    unpack mat to mat.
    select single maktx from makt into mak where matnr = mat.
    p_matnr = return-fieldval.
    refresh return.
    clear return.
    move 'P_MAKTX' to dynpfields-fieldname.
    move mak to dynpfields-fieldvalue.
    append dynpfields.
    CALL FUNCTION 'DYNP_VALUES_UPDATE'
    EXPORTING
    dyname = 'SY-REPID'
    dynumb = '1000'
    tables
    dynpfields = dynpfields.
    refresh return.
    clear return.
    Regards
    CNU

  • Search Help issue in VA03

    Hi Gurus,
    After entering the PO/Job reference Number as 80 and clicking on search,we are receiving an error message saying that "No document selected" for one user ID.
    But for the remianing User ID's,with the same Search options,we are able to get the list and user will select the appropriate Sales Order from the avaialable list.
    We have given SAP_ALL for this User ID.Please help in resolving this issue.
    Regards,
    Narendra.

    hi Narendra,
    please check the following Basis notes 1450365 & 1489927 & 1521329
    kind regards
    Paul Quinn

  • Access Account assignment data inside custom search help

    Hi Experts,
    I have faced with a challenge and I am stuck. Need some expert advise.  I am developing a custom search help for GL account. Inside the search help exit I have to know what is the account assignment category of the accounting line i am currently accessing in WEB UI. for example i have one item in SC and there is a cost distribution between cost center and WBS element. Now i want to access GL account search help from second line in the account assignment ( ie from line having WBS as Acc Assignment).
    one approach that i can think of is Enhance Accounting WD component and capture the details in a static attribute of a custom class and access them inside the search help exit. I know this will work. But i am looking for more clean approach.
    I saw below code in WD comp method GET_BO_INFO of component controller.
    lo_task_container = /sapsrm/cl_ch_wd_taskcont_fact=>get_task_container_instance( ).
       CHECK lo_task_container IS BOUND.
    * Get the BO type
       ev_bo_type = lo_task_container->get_bo_type( ).
    * Get the BO mapper, BO GUID, and item GUID of the lead selection
       CASE ev_bo_type.
         WHEN /sapsrm/if_pdo_obj_types_c=>gc_pdo_shop.
           lo_bom_sc ?= lo_task_container->get_bom_sc( ).
           ev_hdr_guid = lo_bom_sc->/sapsrm/if_cll_bo_mapper~get_bo_guid( ).
           ev_item_guid = lo_bom_sc->/sapsrm/if_cll_bo_mapper~items_get_lead_selection( ).
    I am not sure if this works. But even if this works I can not get the exact accounting line that the user is currently processing. Any ideas????
    thanks
    sankar.

    Hi,
    Any Ideas?

  • Strange Issue With Search Help

    Hi Experts,
    I am stuck with a search help issue, when using a certain Help for an input field on my screen i am getting a "Value help dialog canceled" cancelled error , the same search help seems to be working fine
    when run from sap r/3.
    I am pretty sure the design part (Attribute binding and mentioning the search help in the context ) is correct and how it should be.
    Could Someone Please throw some lite on this issue.
    Thanks In Advance,
    Chaitanya.

    Hi Chaitanya,
    When reusing DDIC search helps in WDA, it may not always work as desired. Calls to classic screens in search help exits for example is one of the scenarios that works pretty well with SAPGUI but doesnt work with WDA.
    The following links may be of help!
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/47/9f724642314aabe10000000a42189b/frameset.htm
    Thanks,
    Chitrali

  • Cost assignment search help not working

    Hi,
    I have looked in to the SD thread already, but none of the notes seems to be of interest as we are on support package of the notes!.
    Here is the problem, when trying to select cost assigment values, cost center and GL account search helps/f4 functionality is not working.
    Can u pls tell me which all settings inside the system I should be looking into, also any possible notes ?, we are on SRM4.0, pack 13.

    The reply can be more professional. People here are not hunting for points. They are here to help struggling people to solve their problems. The points are in no way a match for the time and the valuable answers they suggest. There should be more courteousness in thanking. Points are just the least way to thank. But some questioners take it as if they are paying something and doing a great return. Anyway great to hear that your problem got solved!
    Regards, IA

  • Search help to filter values

    hi friends,
    appreciate your help on this search help issue
    TYPE   ACTCODE
    DUN     A01
    DUN     A02
    DUN     A03
    COL     A06
    COL     A07
    i need to have a search help on selection screen when it loads, search help should have only values TYPE = DUN
    please tell me how to
    thnaks
    iver

    Hi
    the same req
    see this code
    aapply for ur logic
    by putting condition in where condition
    reward if usefull
    it is a code for search help which will give u the based on ur condition
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_OBJID-LOW.
    IF S_OBJID IS NOT INITIAL.
        SELECT OTYPE OBJID FROM HRP1000
                     INTO TABLE IT_OBJID_SH
                     WHERE OTYPE = 'D'.
    IF SY-SUBRC EQ 0.
    SEARCH HELP FOR QUALIFICATION.
        CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
          EXPORTING
                 DDIC_STRUCTURE         = ' '
            RETFIELD               =  'OBJID'
                 PVALKEY                = ' '
           DYNPPROG               = SY-REPID
           DYNPNR                 = SY-DYNNR
           DYNPROFIELD            = 'S_OBJID'
                 STEPL                  = 0
                 WINDOW_TITLE           =
                 VALUE                  = ' '
           VALUE_ORG              = 'S'
                 MULTIPLE_CHOICE        = ' '
                 DISPLAY                = ' '
                 CALLBACK_PROGRAM       = ' '
                 CALLBACK_FORM          = ' '
                 MARK_TAB               =
               IMPORTING
                 USER_RESET             =
          TABLES
            VALUE_TAB              =  IT_OBJID_SH
                 FIELD_TAB              =
                 RETURN_TAB             = RETURN_TAB
                 DYNPFLD_MAPPING        =
               EXCEPTIONS
                 PARAMETER_ERROR        = 1
                 NO_VALUES_FOUND        = 2
                 OTHERS                 = 3
        IF SY-SUBRC <> 0.
              MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                      WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
      ENDIF.

  • Message "Use the most recent SAPGUI version" in search help for CC or GL

    Hi,
    Would anybody know how to make the pop-up message "Use the most recent SAPGUI version" disappear when using the cost center or G/L account search help during shopping cart creation. We are using SRM 4.0 (SRM Server 500) connected to ECC 6.0 backend.
    I've tried looking at SAPnote 929208 which essentially is for correcting the same message for a 640 WAS connection to a 700 WAS but the kernel patches recommended are already installed in the system (current patch level for both systems even exceeded recommended kernel patch levels).
    Thanks and regards,
    Joy

    Hello,
    Please  check the attached note 1005358.
    Note: Customers using SRM 4.0, which allows using integrated ITS 6.40,
    must use the integrated ITS 6.40 if they wish to use ERP 2005 (ECC 6.0)
    as a Backend system. No code changes will be done for SRM 4.0.
    In order to maintain the product version please check the following;
    http://service.sap.com/system-data, note 172481.
    Also, check the following notes:
    929208 - 640 RFC branch, "Use the most recent SAPGUI version"
    721993 - ITS updates in Release 6.40 (SAP Integrated ITS)
    I hope it helps.
    Kind regards,
    Gaurav
    PLEASE GIVE FULL POINTS FOR USEFUL REPLIES

  • Custom Field in Account Assignment with search help functionality..

    Hello friends,
      I have added a custom field(Profit Center) in account assignment frame which is having search help also attached..
      the data for search help read from R/3.. When i click the search help in WEB , I got an error message saying that 'No input help available ( Search help PRCTR_EMPTY is empty )
      Any one have found this kind if issue?
    please help out
    Regards,
    john.

    Hi
    You can create a custom search help (simialar to R/3 srch help for profit center) and create a corresponding search help exit for this purpose.
    You need to call the R/3 table from SRM to get the required data and then map the data in to the search help fields.
    Hope this will solve ur problem.
    Regards
    - Atul

  • Account assignment search help in SC.

    We currently implement stand-alone scenario and looking for solution how to maintain account assignment data in EBP. As far as I know account assignment data managed in back-end system and not replicated into EBP.
    We would like to manage account assignment data in EBP in Z-table. This table required to have F4-search for WBS-elements in SC transaction.
    So the question is how to create F4-search based on Z-table. Can BADI BBP_F4_READ_ON_ENTRY help me to resolve this issue? It seems like this BADI does not work in SC transaction.
    Is it possible to show WBS-element description on account assignment overview screen?
    Thanks,
    Alexander

    Hi
    Which R/3 back-end are you using ?
    Are you not replicating the same A/c Assignment caetgories from R/3 into SRM
    system ?
    Do let me know.
    <b>Meanwhile, Please go through the following SAP OSS Notes below -></b>
    Note 945158 - F4-Help Validation in local Scenario
    Note 815849 - FAQ: Account assignment system response
    Note 791465 - PPOMA_BBP:Incorrect search help in back-end for WBS elements
    Note 725247 - Search help and BAdI BBP_F4_READ_ON_ENTRY in accnt assgn scr
    <u>The 2 Related Notes for Note 725247</u>
    1) Note  925890 - Cost centre drop down not working
    2) Note  839534 - Problems with dropdown list in Acc. ***. overview
    Note 856914 - Cost Assignment search returns incorrect description
    Note 712701 - Backend search help for WBS elemnt (Work breakdwn structure)
    Note 693795 - Search help for activities for the network
    Hope this will help.
    Regards
    - Atul

Maybe you are looking for