Stanard search help -default values change

I have assigned a search help to sales order like this
SELECT-OPTIONS   :s_vbeln     FOR  gv_vbeln MATCHCODE OBJECT  VMVA.
When i press F4 i get select options correctly.But in select options there is a field Called Transaction group which will be defaulted to '0' i.e Sales Order.
I wanna change this default valur to '4'(Contract). Any Techniques.

i think u can set value to the params VTV t0 '4' .
select-options : trvog for vbak-trvog memory id vtv default '4' no-display,
                 vbeln for vbak-vbeln matchcode object vmva.
regards
Prabhu
Edited by: Prabhu Peram on May 21, 2010 3:42 PM

Similar Messages

  • Search help: default value for 'Maximum no of hits'

    Hello,
    I have a request from a user to change the default value for maximum number of hits in the search help.
    Any quick hint?
    Regards,
    Michal

    Not sure if this is possible and don't have a SAP system available at the moment ...
    But check this out...
    Is there anything in user profile ..
    or check if the number of hits field has a PARAMETER ID associated with it...
    Then in that case you might default a value other than 500 in your user profile.
    Cheers,
    Ram

  • SAP CRM Search Help - defaulting values in search help screen

    Hi All,
    I am working on search help object in service order(Amount allocation )  BTAMNTALL component view name vIEW:BTAMNTALL/HdrBillplanDet and field name STRUCT.AC_ASSIGNMENT. in that block if we select account assignment type as ERP cost center it will give standard search help in Select account assignment field.
    Its basically calling the standard search help CRMT_AC_ASSIGN_KOSTL_E. After pressing F4 it will display the popup Controlling area cost center and description. Basically I need to default the Controlling area in F4 help based on some logic.I am not sure where to write code for this one.
    Please find the attachment where I need to default the value. any help is appreciated.
    Thanks,
    Sapsar.

    At least can you read the document I provided carefully? the point 2.3.1.2 give you the answer.
    Anyway if the document doesn't specify "defining a default value" but give you some ideas/hints, you only need to use a little your imagination. Like:
    1- Use a custom search help with a constant (static)
    2- Use a custom search help with a search exit to determine the data that you need from the sales org of course you need to add the orgunit as an input parameter for the search help and supress the input parameter which will be determined in the search help exit (dynamic)
    3- Create a value node for the context (hidden) and put the info you need once you select the sales org in the hidden attribute/s, this hidden attributes should be mapped in the get_v method (dynamic, not sure if this will work, I never tried, but will be nice if you try and give us some feedback)

  • Search help default value in SE11

    Hello!
    I would like to set a default value to a self-made search help.
    I referred the following link in this theme:
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/73/5414f0adbd11d194f200a0c929b3c3/frameset.htm
    This docu tells me, how can I enter default value to a field. But life is not so easy, because I have to EXCLUDE a constant.
    I mean default value can be a constant like this: 'A'.
    But I would like to set one like this: <>'C' to exclude all documents with the status C.
    If I test the help search in runtime it is accepting values to exclude but I would like to pre-set the value.
    Thank you for any answers
    Tamá

    Hi,
    There is no simple solution for this. If you have a view in your selection method instead of the table then you can define your requirement in the selection TAB to restrict based on your conditions.
    Without using a view the other option is to use a search help exit.
    Think view is a better and safe bet.
    Cheers
    VJ

  • Search Help default value

    Hi experts,
    I want to create a search help for the Material. In the search help I should set some default value like the language and the company. I know how can I set the default language, but how can I say that the default language could not be 'EN'.
    I need to set this one: SPRAS NE 'EN', but I don't know how.

    Hi,
    Create a help view first and include the tables ,in the selection conditions tab page restrict the data entry by adding all the condition such as EQ,NE.GT,LT AND ,OR operator as per your requirement.
    Then add this help view to the selection method in the search help created.
    eg:SPRAS NE 'EN'
    Hope this will help you!!!
    Try this It works!!
    Regards,
    Nishi.M

  • Restrict dictionnary Search help displayed values.

    Hi,
    my problem is that I have to display a search help. The search help already exists in the dictionnary and is defined using a Dictionnary Table.
    I need to display the same serach help but I have to filter the results using a range of values for one of the fields and I would like to know how to proceed.
    I know that user-exit exists in some search help, it's not the case here.
    The kind of solutions I'm looking for is :
    -  directly restrict the existing search hellp values
    -  found a way to display a search help from abap using an internal table ( cause it's easy in this case to do fill a internal table doing the sql request myself)
    - if the solutions above can't apply, doing my own search help in the dictionnary but in this case, I don't know to make this search help for values restriction.
    I specify that the screen use the screen painter, it may be important ?
    Thanks for your help
    best Regards,
    Morgan

    Hi,
    Search Hels exits is only for exceptions, so in our case, we won't use the search help exits, it is better create/change the Custome one and attach the same to the fiels, there you can give the Default value for the fileds, so there you can restrict the values
    or else, we have an option like, APPEND SEARCH HELPS, so by using this, we can restrict some field values, this Append Search helps, can be append to Standard Search helps also, so do Append the Standard Search help and add your field and give the Default values to restrict the user
    hope you get the answer
    Regards
    Sudheer

  • Generic problem for search help without values

    Hi,
    Always I open a search help without values I get the warning popup "No values found" but after this no link let me come back to the previous screen.
    Does anybody know how I can solve this (in a standard way)
    thanks
    regards

    Hi
    It seems to be a bug in the system.
    <b>Please have a look at the following SAP OSS Notes -></b>
    <u>Note 574604 - Various correction reports for EBP business partner
    Note 1028643 - Input help for contact persons in purchase order
    Note 843008 - EBP4.0 and higher: Terms of Payment, Texts and codes
    526416 Structural enhancements LFA1
    698246 EBP 4.0 address maintenance: Default address for address use
    701321 EBP 3.5 address maintenance: Default address for address use
    701323 EBP 3.0 address maintenance: Default address for address use
    701384 BBP 2.0C address maintenance:Default address for address use
    690619 Plants are not transferred during location replication
    641960 New processing of terms of payment in EBP 3.5
    628386 Incorrect link for EBP for 'External business partners'
    Note 544392 Error in search helps EBP 2.0
    Note 544816 Error in search helps EBP 3.5
    Note 544713 Error in search helps EBP 3.0</u>
    Please raise a customer OSS message with SAP as well.
    Regards
    - Atul

  • Problem in Search Help[F4] - Values Not being Dsplayed

    Hi,
    Search help values are not being displayed.
    F4 help pop up is being displayed with the text on top: ' xxxx number of entries found".
    But no values are visible in that popup where it normaly displayes all values for selection. This is happening with all search helps.
    Example: I tried for Tcode: ME21, for field Vendor.
    =><i>No patch has been applied on Server recently.</i>
    Any clue on that..??
    Any help is appriciated.
    Regards,
    Vijay Raheja

    Hello Vijay,
    This is simple as well.
    Go to help then settings and then F4 help. Under system defaults tab strip you will find Display tab strip. Here go to change mode and choose dialog. The other choice will be for control only ( 2 radio buttons only this time around). However to do so make sure you have the authorization object S_ADMI_FCD with value TCTR.
    Ask yoru authorization adminstrator to make these changes. He would be having these authorizations. Normally all  users dont have this authorization as this is part of security audit considerations.
    Please award points if issue got solved.
    Regards.
    Ruchit.

  • Hi,   search help     --   restricted value

    hi
    there is already a search help for a field in one of the transaction codes in fico. i think this search help is attached in code by writing match code syntax.
    but my prob is that this search help for the particular field shows 10 char and out of this 10 char i need to show only 5 char from 3 to 7 when the user press f4.
    eg. 1234567890 i need to show 34567 only without changing the se38 code.
    when user press f4 he gets lots of records and all records should show 5 char only, now it is showing 10 char.
    is it possible, if yes, then how???
    pl can anybody help me.
    thanx
    rocky

    Hi rocky,
    You can do like this.
    Use the below logic with your table, you will get as desired,
    DATA: BEGIN OF gt_matnr OCCURS 0,
          matnr TYPE mara-matnr,
          END OF gt_matnr,
          BEGIN OF gt_list OCCURS 0,
          field1(5) TYPE c,
          END OF gt_list.
    PARAMETERS: p_matnr TYPE mara-matnr.
    INITIALIZATION.
      SELECT matnr
        FROM mara
        INTO TABLE gt_matnr.
      LOOP AT gt_matnr.
      gt_list-field1 = gt_matnr(5).
      APPEND gt_list.
      ENDLOOP.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_matnr.
      CALL FUNCTION 'POPUP_WITH_TABLE'
           EXPORTING
                endpos_col   = 30
                endpos_row   = 20
                startpos_col = 10
                startpos_row = 10
                titletext    = 'Select MATNR'
           IMPORTING
                choice       = p_matnr
           TABLES
                valuetab     = gt_list
           EXCEPTIONS
                break_off    = 1
                OTHERS       = 2.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.

  • Search Help with value on SE11

    Hi Gurus,
    I have two parameters on my screen, PARTNER and PSOBKEY. I have created a Search Help on SE11 for the second parameter, and this search help has that 2 parameters too.
    First I enter PARTNER, then I open the search help for PSOBKEY, and I want the value on PARTNER to be on the search help.
    How I can do this from the SE11?
    Thanks for your help.
    J. Garibaldi

    Hi Garibaldi,
    In your search help the PARTNER should be one of the search help parameters. It should be marked as IMP (Import) parameter. The name of this parameter in the search help should be same as that on your screen. The parameter PSOBKEY would be the EXP (Export) parameter of your search help.
    If you maintain above things, when you enter the PARTNER field on the screen and open the search help of PSOBKEY, the value of the PARTNER screen field would be automatically copied and imported into your search help.
    Please refer to the SAP help http://help.sap.com/saphelp_47x200/helpdata/EN/4f/991f82446d11d189700000e8322d00/frameset.htm for more detailed understanding.
    Regards,
    Suresh

  • Search Help Selected Values not reflected in WebUI

    Hello All, We have a requirement to create a standard F4 value help for PRODUCT_ID field and the selected value should be reflected in the WebUI field. This field is in a table view context node and the component is a stand alone WebUI component. Everything works fine till the Search help is called and the values is selected. But the selected value is not reflected in the Product_ID field. We have checked many forums and links and tried almost all the alternatives suggested. Here's is the code attached for reference.
    DATA:l_wa_map       TYPE if_bsp_wd_valuehelp_f4descr=>gtype_param_mapping,
           l_i_inmap     TYPE if_bsp_wd_valuehelp_f4descr=>gtype_param_mapping_tab,
           l_i_outmap    TYPE if_bsp_wd_valuehelp_f4descr=>gtype_param_mapping_tab.
      DATA:  lv_str_index TYPE string.
    *  l_wa_map-context_attr = 'product_id'.
    *  l_wa_map-f4_attr      = 'PRODUCT_ID'.
    *  APPEND l_wa_map TO:l_i_inmap,l_i_outmap.
      lv_str_index = iv_index.
      CONCATENATE 'table[' lv_str_index '].PRODUCT_ID' INTO l_wa_map-context_attr.
      l_wa_map-f4_attr = 'KEY'. "'PRODUCT_ID'. "'
      APPEND l_wa_map TO: l_i_outmap.
      lv_str_index = iv_index.
      CONCATENATE 'table[' lv_str_index '].PRODUCT_ID' INTO l_wa_map-context_attr.
      l_wa_map-f4_attr = 'VALUE'. "'PRODUCT_ID'.   "
      APPEND l_wa_map TO: l_i_outmap.
      CREATE OBJECT rv_valuehelp_descriptor TYPE cl_bsp_wd_valuehelp_f4descr
         EXPORTING
          iv_help_id        = 'COM_PR_SHTEXT'      "#EC NOTEXT
          iv_help_id_kind   = if_bsp_wd_valuehelp_f4descr=>help_id_kind_name  "if_bsp_wd_valuehelp_f4descr=>help_id_kind_comp
          iv_input_mapping  = l_i_inmap
          iv_output_mapping = l_i_outmap
          iv_object_ref     = me
          iv_trigger_submit = abap_true.
    Is there any further code or event call required to reflect the value in the WebUI? or what exactly is required to be done here?
    Thanks in Advance.
    Prasad

    Thanks Dharmakasi, your point to use Condense was the issue which was preventing the values from reflecting in the field.
    However, below code is not required.
    * lv_str_index = iv_index.
      CONCATENATE 'table[' lv_str_index '].PRODUCT_ID' INTO l_wa_map-context_attr.
      l_wa_map-f4_attr = 'PRODUCT_ID'.
      APPEND l_wa_map TO: l_i_inmap.
    I had another requirement which worked in below way. Note this is for Custom data elements with value help in domain. Hope this is helpful for other folks.
    DATA:l_wa_map TYPE if_bsp_wd_valuehelp_f4descr=>gtype_param_mapping,
    l_i_inmap TYPE if_bsp_wd_valuehelp_f4descr=>gtype_param_mapping_tab,
    l_i_outmap TYPE if_bsp_wd_valuehelp_f4descr=>gtype_param_mapping_tab.
      DATA:  lv_str_index TYPE string.
      lv_str_index = iv_index.
      CONCATENATE 'table[' lv_str_index '].GC_CARD_TYPE' INTO l_wa_map-context_attr.
      CONDENSE l_wa_map-context_attr NO-GAPS.
      l_wa_map-f4_attr = 'KEY'.
      APPEND l_wa_map TO: l_i_outmap.
      CREATE OBJECT rv_valuehelp_descriptor TYPE cl_bsp_wd_valuehelp_f4descr
        EXPORTING
          iv_help_id        = '/GLB/CNPCR_GC_CARDTYPE'     "#EC NOTEXT
          iv_help_id_kind   = if_bsp_wd_valuehelp_f4descr=>help_id_kind_dtel
          iv_input_mapping  = l_i_inmap
          iv_output_mapping = l_i_outmap.

  • Search help exclude values

    Hi
    I have created a search help with selection method --> MCHB. One of the fields i use is CLABS. Do you know how to exclude the zero values of this field. Is there any trick ( i suppose the search help exit) to write code in this. Any ideas?

    Hi Antonis,
    In SE11 you can create a Help View with filter, and then use it as your selection method
    regards,
    Paulo

  • Search Help Criteria Values

    Hi,
    I have a custom search help and I am calling the same using the MATCHCODE OBJECT in selection screen.
    Now my requirement is to pass the search help selection criteria values from the program. How to do that?
    Many thanks in advance!
    Regards,
    Benu

    Hi,
      Am not clear..
    Do you want to display your own records from the program in the F4 help?
    Thanks and regards,
    Senthil Kumar Anantham.

  • Limit SC screen default value change

    Hi All,
    When we go for 'Create Limit Item' option, we will get a screen with the following fields.
    Description
    Product Category
    Value Limit
    Expected Value
    Required  'Between' 'from date' ' to date'
    Here default value for 'from date' is todays date.
    I want to change this date value before the screen comes.
    Could you please let me know how can I change it?
    I am working on SRM5.
    Regards,
    Nikhil V.Kumar

    Hi Ricardo
    Thank you for the reply.
    I tried with that BADI. But its not working.
    Regards,
    Nikhil V.Kumar

  • Help with value change events

    I need to be able to use the value change event to handle sorting and control the properties of a multicolumn listbox. I have a slow loop that runs every 10 seconds and acquires new data if it's available. New data is appended directly to the list box. The event structure handles two events. One to change colors of the text when new data is added and another to sort the contents when a user clicks on the column header. The first event seems to work just fine. It only runs when new data is added. The second event is the problem. It runs every time the loop runs and ties up the user interface so that it does not respond.
    What am I doing wrong??
    By the way, it seems that whatever I am doing wrong crashes LabVIEW while I am
    editing the vi. Probably during a partial compile. LabVIEW crashed twice while I was creating this test vi and I don't normally have trouble with LabVIEW crashing. It has crashed in both the transact.cpp and panel.cpp.
    Thanks for any help or guidance you can offer.
    Attachments:
    Event_Handling_Test.vi ‏242 KB

    I have made a few quick modifications, see attached.
    -- The lower loop should probably be a plain loop, since the timing is done by the event structure.
    -- You cannot use a shift register in the upper loop if you want the acquired list to remain sorted.
    Sorry, I am on vacation in the middle of nowhere and only spend a few minutes on this. There are many improvements possible.
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    Event_Handling_TestMOD.vi ‏200 KB

Maybe you are looking for

  • Java code to access the SLD

    Hi, I'm writing a java application that needs to connect to the SLD Server and then query and return data about the SID and available instances and associated database(s). I have figured out the connection piece using  SAP_JCODestinationAccessor, but

  • How to call JCS in simple java class

    I want to make a atsratup class and this class will have to communicate with a java controls.But i am not able to create an instance of java control in simple startup class. IF any body has called java control in simple java class pls. let me know

  • PXE works on Virtual Machines by errors on physical

    2012R2.  Only 1 box for all roles.  PXE has been working fine (both Virtial and Physical).  3 weeks ago all PXE stopped working.  I was called in to look things over.  Errors showed that the MP was having issues, so I uninstalled the role and reinsta

  • HR standard report through Adobe Document Services

    Hi, since note "1155459 RPCIIDP0: layout correction of company title in PDF format", SAP transformed this report in an Adobe form. Although I can find ADS configuration guides in this forums, my question is:  Wouldnu2019t be normal that SAP had this

  • HUGE file sizes when editing with Photoshop CS5

    Reluctantly I've set Photoshop CS5 up to process photographs for things like barrel distortion that my 18-200 Nikon seems especially prone to. I open any given photograph with apple-shift-O, make my changes and save. However, the copy that's then put