Search help - On Change event in delivery order process transaction

Hello to all,
The functional guys want to have an abap code written in the delivery order transaction VL02N in the item detail of an item. We have to call a transaction when a particular value is selected in the search help of the field, 'Mat Freight Group' in the 'Loading & Shipment' tab  in the Item Details screen. How do i proceed with this requirement ?
Thanks
Shehryar Dahar

Hi
Check the following enhancements/user exits for the delivery transaction and use the related one for your purpose
V02V0001
V02V0002
V02V0003
V02V0004
V50PSTAT
V50Q0001
V50R0001
V50R0002
V50R0004
V50S0001
V53C0001
V53C0002
V53W0001
VMDE0001
VMDE0002
VMDE0003
VMDE0004
Reward points for useful Answers
Regards
Anji

Similar Messages

  • Question on Search Help and Authorization Check for Sales Order Type

    Question 1:
    When I go to VA01 and click the search help, it shows only order type that are not blocked.
    However, when I have sales order type in select-options of a Z program,
    S_AUART FOR VBAK-AUART
    I click on the search help, it gives all the sales order types. How can I have a list with unblocked sales order type only?
    Question 2:
    I want to check whether a use can extract data from a sales order type (e.g. OR and RE)that he/she authorized to use.
    I have include the following in my program:
    AUTHORITY-CHECK OBJECT 'AUART'
    ID 'AUART' FIELD 'OR'.
    It always returns SY-SUBRC = 12.
    But order type 'OR' is granted to the user (he/she can create order with type OR in VA01)
    Please kindly give me some ideas, thanks.

    hi,
    ad1
    use following code:
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR auart.
      PERFORM auartGet.
    FORM auartGet.
        CALL FUNCTION 'RV_HELP'
             EXPORTING
                  KEY            = VKORG
                  KEY2           = VTWEG
                  KEY3           = SPART
                  KEY4           = '0'
                  NUMBER         = '008'
                  FIELD_IN       = AUART
             IMPORTING
                  FIELD          = AUART.
    ENDFORM.
    ad2.
    example:
       AUTHORITY-CHECK OBJECT 'V_VBAK_AAT'
             ID 'AUART' FIELD 'OR'
             ID 'ACTVT' FIELD '01'. "01-create order, 02-change, 03 display
    check sy-subrc eq 0.
    regards,darek

  • SD material price change should refresh Delivery order.

    There was a price change for the material after creation of  outbound delivery. a dynamic credit limit management is enabled which blocks the creation of delivery order if there is no sufficient credit available for party. Now after change in prices the delivery order should go to credit block while doing PGI. which is not happeining. At Billing creation the prices gets refreshed and party is billed with new rate. This is creating debit balance in customer account. Kindly suggest solution how to block the PGI in such cases?
    Regards
    Sanjay Petkar

    Hi,
    Please check the VOV8 credit group filed configuration. If it is 2 at delivery level. Then only it do credit check at delivery level...
    Regards
    sankar

  • Logistics - Delivery order process

    Dear all,
    We need to develop DO (Delivery Order for logistice dept. ) facality from our supply location.
    client requirement is follwing
    Delivery Challan: This will be generated from depot and will be linked to SO. Every vehicle should carry this and customer acknowledgement should be obtained on the same
    Transportation details: We would like to have vehicle number and LR number as active data fields (today it is fed as text field). Also, these details should appear in Invoice summary report.
    Please guide me for the same.
    Thansk in advance.

    no one replied

  • Changing Exactly-Once-in-Order Processing in the Adapter Engine

    During some issues with hanging messages in some communication channels I noticed that messages for other receivers were also on hold. So adapter engine was processing all messages EOIO while Integration Server does that per receiver.
    I found the [solution in the SAP Help |http://help.sap.com/saphelp_nw04/helpdata/en/45/13b942f14d29efe10000000a114a6b/content.htm] but I am not able to access the mentioned link: http://<host><port>/MessagingSystem/migration.jsp
    Error message I got is: 404 not found.
    Looks like something changed! I checked some simular links like http://<host>:50000/MessagingSystem/monitor/monitor.jsp and that works fine.
    (I also checked the role SAP_XI_ADMINISTRATOR_J2EE was included in my userprofile)
    Please help me finding what I do wrong...or what has changed.

    Hi Sunil,
    ok, but do you know how what happened with the
    http://<host>:50000/MessagingSystem/migration.jsp
    I need that link to change the EOIO processing in the adapter engine.
    Regards,
    Michel

  • Change search help for each line of a web dynpro table

    Hi all i have got the following code to dynamically change the search help of a single field on a web dynpro app and was just wondering if anyone could show me the code for implementing it onto a table so that the same field on each row has a different search help assigned to it!
    CALL METHOD node_info->set_attribute_value_help
    EXPORTING
    name = 'DEPT'
    value_help_mode = '121'
    value_help = 'PREMN'.
    Regards
    Mart

    Hi,
    it is possible to have different search help for same table column for different context elements i.e. table lines. the way to acheive this is by using cell variants in table column.
    Steps to follow:
    1. In your table column insert cell variant. Depending upon number of variations for search help, insert that number of cell variants in table column
    2. Enter the value of variant key property of each cell variant for ex. 01 for first cell variant and 02 for second cell variant
    3. Insert cell editor for each of cell variant. for ex. if you have 2 different search helps for single column then insert two cell variant in table column and for each cell variant insert cell editor, let say input field in this case
    4. Bind the value property of each input field to different context attribute of the node. for ex: you have table with two columns i.e. Dynamic and fldate
    .  First column is Dynamic. It will have two cell variants and each cell variant have cell editor of type input field  i.e. depending upon the value of second column i.e. fldate, the search help of first column will be decided.
    5.  Create context node from structure "SFLIGHT" and select 3 components from structure i.e. Carrid, connid, fldate. Add another context attribute to same context node i.e. selected_cell_variant of type string
    6. Bind each of context attribute carrid and coonid to value property of cell editor i.e. input field of cell vairaints from column Dynamic
    7. Bind value property of cell editor i.e. input field of fldate column to context attribute fldate
    8.. Bind selectedCellVariant property of table column Dynamic to context attribute selected_cell_variant
    9. Now, Write method at the wddoinit of view to fill up the context node from table sflight table
    10.  Write event handler for event OnEnter of cell editor from table column FLDATE. in this event handler depnding upon the date set the value of context attribute "selected_cell_variant" to 01 or 02
    DATA lv_date TYPE S_DATE.
      ASSERT CONDITION context_element IS NOT INITIAL. " context_element is default paramter for event handler
      context_element->get_attribute(
        EXPORTING
          name  = 'FLDATE'    " NAME
        IMPORTING
          value = lv_date    " DATA
      IF lv_date > '20101016'.
        context_element->set_attribute(
          EXPORTING
            value =  '01'   " Attribute Value
            name  = 'SELECTED_CELL_VARIANT'     " Web Dynpro: Name of Context Element
      ELSE.
        context_element->set_attribute(
          EXPORTING
            value =  '02'   " Attribute Value
            name  = 'SELECTED_CELL_VARIANT'     " Web Dynpro: Name of Context Element
      ENDIF.
    11. Depending upon the value of selectedCellVariant the corresponding search help will show up in table column. So change the value of column fldate for each table row and see how search help gets changed.
    Thanks,
    Rahul
    Edited by: Rahul Yadav on Oct 17, 2010 12:09 AM

  • How to triger a event when select search help

    code like this
    SELECTION-SCREEN BEGIN OF LINE.
    PARAMETERS: pa_werks LIKE t001w-werks.
    SELECTION-SCREEN COMMENT 20(10) g_werks.
    SELECTION-SCREEN END OF LINE.
    AT SELECTION-SCREEN ON pa_werks.
      g_werks = pa_werks.
    I want when select search help ,g_werk changed,but now  only press enter g_werks will be change
    how can I do ? when select a value from search help  g_werks change

    Hi,
    Use something like this:-
    PARAMETERS : p_werks TYPE t001w-werks.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_werks.
      PERFORM get_f4_help.
    *&      Form  GET_F4_HELP
    *      -->P_WERKS  text
      "populate an internal table with all possible values to be displyed
      "Use FM F4IF_INT_TABLE_VALUE_REQUEST
    Hope this helps you.
    Regards,
    Tarun

  • Search Help for ROUTE field in VA01

    Hi All,
       I need help in assigning search help to ROUTE(VBAP-ROUTE) field in VA01 Transaction.Instead of standard F4 list I need a list of Routes from the Custom table which will be maintaned.This new F4 list has to be displayed based on order types...Means only for order type ZXXX it should show the new F4 List, for the rest of the ordertypes it should show the standard F4 List.
    P.S : Search help H_TVRO is assigned to the Route.This Search help doesn't have Search help Exit or Append Search help options.
    Your help is highly appreciated.
    Thanks.
    Satyan.

    Hi,
       You can do that using search help exits you would find several threads already posted to the forum for this like below:
    Link[Search Help Exits|Search Help Exit;
    Regards,
    Himanshu

  • Search help for custome field with different data type

    Hi Friends,
    I have Created a  custom table in which i have created a field is
    ZMATLONG which stores material number.
    Now the data element is zdmat which is of char 40..
    Now i want to give search help for this field ZMATLONG..
    I have tried many ways giving search help to this field
    a) i Tried to attach the standard search help of MATNR ie : MAT1 but its showing me data type inconsistancy
    b) i created a zsearch help and in the selection method i have used database table mara , again here iam getting the same error data type inconsistancy...
    Now how can i give the search help like matnr field to my custom field ZMATLONG...
    How can i do it..?
    Thanks in Advance..
    Regards
    Kumar

    Hi,
    MATNR ahs length 18 and ZMATLONG has length 40.So due to this u cannot use MAT1 search help.
    best way would be cope MAT1 into Z search help. Then in the search help parameter change the data element of field
    MATNR as ZMATLONG.
    Now if you assign Z search help to ZMATLONG  it will work.
    I tried this its working fine.
    Shanmugavel Chandrasekaran

  • Help regarding search help

    hi,
    i want to know the functionality with example on "search help".
    how r they useful?....how r they created??...and how to use them in dialog program??
    thanks

    Hi Kunal,
    There are 3 ways:
    1)In the PAI of the screen, add a module Process on value request. For example:
    PROCESS AFTER INPUT.
    MODULE USER_COMMAND_100.
    PROCESS ON VALUE-REQUEST.
    FIELD field_name MODULE value_request_for_field_name.
    *field_name is the field for which you require search help.
    In the Module value_request_for_field_name call this function 'F4IF_INT_TABLE_VALUE_REQUEST'.
    2)The above procedure can be used if the field you have defined doesnt have an existing search help.If it already has search help and the field in the screen is taken from the dictionary,then in the attributes,u can check from from dictionary under the dictionary tab.
    3)A manual search help can also be created in the se11 transaction by clicking on the search help radio button and giving the table and field name for which search help is required.
    Creating Elementary Search Helps
    Procedure
    In the initial screen of the ABAP Dictionary, select object class Search help, enter the name of the search help and choose Create.
    A dialog box appears in which you must select the type of search help.
    Select Elementary search help and choose .
    The maintenance screen for elementary search helps appears.
    Enter an explanatory text in the field Short text.
    You can for example find the search help at a later time using this short text.
    In the Definition tab page enter the selection method of the search help.
    You can enter the name of a table or a view (database view, projection view or help view) here. If you enter a table that has a text table, the name of the text table is automatically entered in the corresponding field.
    Using the input help (F4 help), select fields of the selection method as parameter in the Search help parameter area. Select the fields that should be used in the dialog box for value selection or in the hit list.
    If the selection method is a table that has a text table, both the fields of the table and the fields of the text table are offered in the input help.
    The data element of the parameter is automatically copied from the selection method. The data element defines the output attributes and the F1 help of the parameter in the hit list and in the dialog box for value selection.
    You can assign the parameter another data element. To do so, select the Mod flag. The Data element field is now ready for input. Then select a data element with the input help (F4 help). Only data elements whose data type, length and number of decimal places is the same as those of the previous data element can be assigned.
    This removes the link between the data element of the search help parameter and the data element of the selection method field having the same name. If you cancel the Mod flag, the data element of the assigned table field is used again.
    Define the attributes of the search help parameters.
    Select the IMP flag if it is an import parameter. Select the EXP flag if it is an export parameter.
    You can define the dialog for the input help with the fields LPos, SPos and SDis. Enter the parameter position in the hit list in LPos. If you enter nothing or the value 0 here, the parameter is not displayed in the hit list.
    Enter the parameter position in the dialog box for value selection in SPos. If you enter nothing or the value 0 here, the parameter is not displayed in the dialog box for value selection.
    Set the SDis flag if the parameter should be a pure display field in the dialog box for value selection. The user is thus informed that the contents of the parameter restrict the value, but he cannot change this restriction. This makes sense for example when the parameter is an import parameter or if it has a default value.
    You can assign the parameter a default value in the Default value field.
    Select the dialog type of the search help.
    The dialog type defines how the hit list is displayed in the input help.
    Save your entries.
    A dialog box appears in which you have to assign the search help a development class.
    Choose .
    Do not forget to link the search help to a screen field. The search help attachment is not part of the search help definition; it is part of the object definition to which the search help is attached.
    Result
    The search help is activated. You can find information about the activation flow in the activation log, which you can display with Utilities ® Activation log. If errors occurred during activation, the activation log is automatically displayed.
    Please check this link on how to create search help.
    http://www.sapdevelopment.co.uk/dictionary/shelp/shelp_basic.htm
    1) after creation of search help, you can assign this to database field in change mode of table and double clicking of the field name.
    2) in screen field, double click to see the attributes and give your search help there.
    Refer this link
    http://help.sap.com/saphelp_erp2005/helpdata/en/cf/21ee93446011d189700000e8322d00/frameset.htm
    Hope this resolves your query.
    Reward all the helpful answers.
    Regards

  • Custom Search Help in Standard Transaction?

    Hi,
    is possible to tie a custom search help to an input field of a standard transaction?
    If yes, what would be the best way to achieve this?
    Thanks.
    / Elvez

    Hi
    Yes it is! But you have to change a std object!
    If you want to use your search help only in that trx, you should update the input/output field by screen painter and add your search help.
    If you want your search is to be used in all trxs use that field, you should update the dictionary structure where that field is defined or his data element.
    Max

  • Search help for ztable

    Dear Experts,
    I hv created 2 ztables. 1) ydept and 2) yemp_msater.
    ydept table contains master data and  yemp_msater table referecing this table.
    I hv created a search help for ydept-dept field. when i run ydept ( SE11) I see the search help with 2 column one is for dept code and department name in other.
    And i hv used same field in yemp_msater, but for this table, search help is with department code only. but i want department code and department name as i can see for ydept table.
    can any one has idea about how to achieve this.
    Thanks in advance
    Jaspal

    dear jaspal
    need little change at search help level
    open your search help in change mode
    make all field (in your case 2 field) as IMP
    and code as EXP.
    now activate your search help
    try to use in your both program
    let me know if useful
    regards
    avirat.

  • Search help paramter to be filled during runtime

    Hi Experts,
                      I have a requirement to create a search help, below is the description of my requirement....
    1. I have two search help parameters in the search help.
         Division         (1st parameter)
         Divistion text  (2nd Parameter)
    2.When the user provides the Division, then Division text parameter has to be filled automatically during the runtime. Logic needs to be handled only in the Search help exit(Function module) .
    Kindly provide your valuable suggestions regarding this requirement. Contributions will be highly appriciated. Thanks
    Regards,
    Laxman.P

    Hi
    Check this link fuller.mit.edu/tech/search_helps.ppt
    In your search help exit, in events SELECT and DISP, manipulate the values in the table SHLP with your new field.
    For example
    IF callcontrol-step = 'SELECT'.
    SHLP-INTERFACE-SHLPFIELD = 'DIVISIONTEXT'.
    APPEND SHLP-INTERFACE.
    SHLP-FIELDDESCR-FIELDNAME = 'DIVISIONTEXT'.
    SHLP-FIELDDESCR-LANGU = 'E'.
    SHLP-FIELDDESCR-POSITION = '0002'.
    SHLP-FIELDDESCR-DOMNAME = 'ZDIVISIONTEXTDOMAIN'
    .etc(all relevant fields)
    APPEND SHLP-FIELDDESCR.
    MODIFY SHLP_TAB FROM SHLP.
    ENDIF.
    Regards,
    Deepa.

  • Problem creating Search help

    Hi,
    I am trying to create a search help for a Z table. I have just given the search help parameters and flagged the input and output parameters for these fields. However when i try to activate the searchhel it throws me an error sayin "Elementary search help without hit list is meaningless". Is this because this is a Z table with Z fields?

    You can attach to data-element and to field in table/view definition (tab fields, select field and click on "search help" to change default attachment) - only useful if you want to get another search help that the default one attached to data-element. (look at [Help from the ABAP Dictionary|http://help.sap.com/saphelp_470/helpdata/en/9f/dbaa5435c111d1829f0000e829fbfe/frameset.htm])
    If you want that other fields be provided to the search help, define those as input/output parameters of the search help and don't forget to check ddic ref box in the definition of the dynpros.
    Regards,
    Raymond

  • 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.

Maybe you are looking for