MIGO: Searching batches via classes using search help MCH1 (incl. SH MCH1C)

Hello everyone,
I have a strange issue in MIGO on our Development server, and was wondering if anyone else had ever encountered similar problems.
In MIGO, when we choose "Goods issue", and "Other", we enter the material number, plant and storage location. After pressing ENTER, the "Batch" tab appears allowing us to enter the batch. Now, searching for the batch creates a problem, and here is the process:
1. Press F4 on the "Batch" field - this envokes the Search help procedure.
2. Enter the class and the class type on the next screen and press ENTER. A subscreen appears with the class characteristics.
3. Without filling out any of the characteristics, press "Find in initial class" button.
In the bottom part of the screen, the system creates a split to display the results in a form of ALV list, BUT no results are ever displayed.
Here is another piece of information which might be useful. The version of the DEV installation is ECC 6.0, and the patch level for Logistics and Accounting is SAPKH60009. The patch level of the corresponding IDES system is SAPKH60006, and in the IDES system we have no problems with this search through MIGO.
This tells me that there might be a problem caused by the upgrade - but that's not sure, and that's why I ask if anyone else had run into such an issue.
I am an ABAPer, so I approached this problem first by comparing the search helps of the two versions. The collective SHelp is MCH1, but searching batches via classes uses the elementary SHelp MCH1C. I found some differences in the elementary SHelps' function exits, these are included in the SAP note 1020405, and have no effect on the functionality. I even tried "downgrading", and using the search help from IDES, but still got no results. I decided that this was not causing the problem.
Can anybody suggest what might be the cause of the problem? Our MM people tell me there is no customizing for this process, and that it worked on IDES from the very beginning without any problems.
Thanks in advance!
Srdj

Similar Messages

  • How to limit results in search help CV01 (incl. COM_SE_F4_HELP_EXIT)

    Hi experts,
    in transaction CV03N I want to limit the result list (table RECORD_TAB) of the search help CV01 using authority check. The user should not even see the document shorttext (from table DRAT) of some TOP SECRET documents in the F4-help result ... Actual solution: no user has rights for CV03N ... :-P
    I found out, that the search help for the dynpro field DRAW-DOKNR is CV01,
    including following search helps:
    CV01T
    CV01O
    CV01C
    CV01B
    CV_TREX
    Also there is a search help exit (function modul) COM_SE_F4_HELP_EXIT for CV01.
    I tried to enhance the search help exit using the prepared BADI COM_SE_F4_RESULT_ITEMS, but after i did a short test with the relevant method, i found that there is something not working as i expected ...
    Problem:
    in the function modul COM_SE_F4_HELP_EXIT there is a step prepared called STEP SELECT.
    * STEP SELECT    (Select values)
    * This step may be used to overtake the data selection completely.
    * To skip the standard seletion, you should return 'DISP' as following
    * step in CALLCONTROL-STEP.
    * Normally RECORD_TAB should be filled after this step.
    * Standard function module F4UT_RESULTS_MAP may be very helpfull in this
    * step.
      IF CALLCONTROL-STEP =  'SELECT'.                 "here i put Session BREAK-POINT
        PERFORM STEP_SELECT
                  TABLES   SHLP_TAB
                           RECORD_TAB
                  CHANGING SHLP
                           CALLCONTROL.
    *                                      Don't process additional STEP. ..
        RETURN.
      ENDIF.
    But after i put a BREAK-POINT and than start CV03N, searching a document via F4 + press ENTER, no debugging (!).
    I have to mention that the search help proceeded was CV01T.
    Question:
    can anyone explain why STEP SELECT is not proceeded in FM COM_SE_F4_HELP_EXIT using F4-help in transaction CV03N?
    I appreciate any hint in my "search help combat"
    regards
    Jörg
    Edited by: Thomas Zloch on Apr 26, 2011 10:11 PM - please do not promise "re-ward"

    INCLUDE with FORM
    ***INCLUDE LZCV_SHLPF01 .
    * nach dem Muster der Suchhilfe SAPBC_GLOBAL_F4_SFLIGHT
    * ausführlich Doku siehe dort und in den einz. incl. FB Dokus
    *&      Form  AUTHORITY_CHECK
    *       text
    *      -->P_RECORD_TAB  text
    *      -->P_SHLP_TAB  text
    *      <--P_SHLP  text
    *      <--P_CALLCONTROL  text
    FORM authority_check
           TABLES   shlp_tab    TYPE      shlp_desct            "#EC NEEDED
                    record_tab  STRUCTURE seahlpres
           CHANGING shlp        TYPE      shlp_descr
                    callcontrol TYPE      ddshf4ctrl.
    * Ablauf:
    * 1. GET Inhalte der Suchilfe Parameter (siehe SE11, CV01T)
    * 2. Feldinhalte in interner Tabelle anpassen (--> no Authority)
    * 3. PUT neue Inhalte der Suchhilfe Parameter an Ergebisliste übergeben
    * Teil 1
    * ¯¯¯¯¯¯
      CALL FUNCTION 'F4UT_PARAMETER_VALUE_GET'   "Inhalte Parameter DOKAR holen
        EXPORTING
          parameter               = 'DOKAR'                     "CV01T
          fieldname               = 'DOKAR'  "it_drat
        TABLES
          shlp_tab                = shlp_tab
          record_tab              = record_tab
          results_tab             = it_drat
        CHANGING
          shlp                    = shlp
          callcontrol             = callcontrol.
      CALL FUNCTION 'F4UT_PARAMETER_VALUE_GET'   "Inhalte Parameter DKTXT holen
        EXPORTING
          parameter               = 'DKTXT'                     "CV01T
          fieldname               = 'DKTXT'  "it_drat
        TABLES
          shlp_tab                = shlp_tab
          record_tab              = record_tab
          results_tab             = it_drat
        CHANGING
          shlp                    = shlp
          callcontrol             = callcontrol.
    * Teil 2
    * ¯¯¯¯¯¯
      LOOP AT it_drat.
        AUTHORITY-CHECK                             " here prepare the change of Paramaters
                 OBJECT 'C_DRAW_DOK'
                     ID 'DOKAR'
                  FIELD it_drat-dokar.
        IF sy-subrc NE 0.
          it_drat-dktxt = text-001.
    *     [!]Text ausgeblendet...Auth.Check(DOKAR)
          MODIFY it_drat.
        ENDIF.
      ENDLOOP.
    * Teil 3
    * ¯¯¯¯¯¯
      CALL FUNCTION 'F4UT_PARAMETER_RESULTS_PUT'
        EXPORTING
          parameter               = 'DKTXT'                     "CV01T
          fieldname               = 'DKTXT'  "it_drat
        TABLES
          shlp_tab                = shlp_tab
          record_tab              = record_tab
          source_tab              = it_drat
        CHANGING
          shlp                    = shlp
          callcontrol             = callcontrol
    *     EXCEPTIONS
    *       PARAMETER_UNKNOWN       = 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.
    ENDFORM.                    " AUTHORITY_CHECK

  • Search Help parameter not passing in FM

    A  Search Help ZAMCH1 is included in collective search help MCH1.Within it an elementary search help  ZMME_CHARG2 is included.In  this Elementary Search Help, a parameter 'CHRUE' ( Inventary Indicator) is there with data element 'ZMM_CHARG_IND' and default value 'X'.
         But this parameter is not passed into the search help exit i.e. the function module.All other parameters are passed correctly in structure 'shlp-selopt' except CHRUE.So the indicator is always blank in FM.what might may be the reason and remedy ?

    Since your search help starts with the letter Z, it is a custom search help.  So we can't look at the code to see what might be going on.  You can try posting more specific information from the search helps here, and then someone might be able to help you.
    - April King

  • Search help for field of tcode MIGO

    Hi,
    I want to add search help for Goods recipient (GOITEM-WEMPF) field on MIGO screen, how to achieve that?
    I tried with BADI MB_MIGO_BADI, but its now working.
    Is there any BADI or field exit available?
    Thanks

    hi
    i know that there are two options for defining the input help of a field.
    1 Define the input help in ABAP dictionary. (recommended option)
    2 Define the input help in the screen field. the disadvantage is that there is no automatic reuse.
    1st option
    Se11 --> create your own search help
        substeps:
            1) Enter short description
            2) selection method : this is the check table/view  of the field  GOITEM-WEMPF
            3) Search help parameter : parameters used in the search help.
            4) IMP: Import parameters
            5) EXP: Export parameters
            6) Lpos :hitting list [search result]position in the header  [values 1,2,3,4,5]
            7)Spos: search position on the dialog search screen.
            8) data elements : they are from the selection method.
            9) Save and activate
            10)  test this via the button "test"
           Note: the search help is not yet effective fo the field GOITEM-WEMPF
            11) Attach this search help for the table [ selection method mentioned above]
                  a) Goto change mode of this table via SE11
                  b) choose goto--> search help> for table
                            or  Extras --> search help for table, in the next dialog box enter the name of search help
                  C) The proposal created by the system for assigning the search help parameters to the key fields of the table is probably correct. check this and copy the definition.
                  d) Active this table.
                  e) Call the create entries function for table GOTIME again. the input help of field WEMPF should behave as desired.
    regards,
    Brian
    Edited by: Brian Zhu on Mar 26, 2010 10:38 AM
    Edited by: Brian Zhu on Mar 26, 2010 10:58 AM
    Edited by: Brian Zhu on Mar 26, 2010 10:59 AM

  • About Running Remote Search Helps in SRM via Webdynpro ABAP

    Hi there,
    I am having troubles trying to implement an input help for a custom field in the standard Shopping Cart Portal page for item level.
    I would like to implement the same input help used in field Network of Activities, but as I can see in WDA component '/SAPSRM/WDC_UI_DO_ACC', it seems to use another component in order to run a remote Search Help (I assume it is an original search help from PS system).
    Does anybody know how to use this backend search help WDA Component? (/SAPSRM/WDC_UI_BACKEND_SH)
    I haven´t found any information regarding that :S.
    Another option would be to create a new RFC FM in PS returning the expected values, and use these entries to build a list value selector associated to the corresponding context attribute (This is not what I would like...)
    Thanks in advance!

    Vicente Ángel Lopez Romero wrote:
    > Hi there,
    >
    > I am having troubles trying to implement an input help for a custom field in the standard Shopping Cart Portal page for item level.
    >
    > I would like to implement the same input help used in field Network of Activities, but as I can see in WDA component '/SAPSRM/WDC_UI_DO_ACC', it seems to use another component in order to run a remote Search Help (I assume it is an original search help from PS system).
    >
    > Does anybody know how to use this backend search help WDA Component? (/SAPSRM/WDC_UI_BACKEND_SH)
    >
    > I haven´t found any information regarding that :S.
    >
    >
    > Another option would be to create a new RFC FM in PS returning the expected values, and use these entries to build a list value selector associated to the corresponding context attribute (This is not what I would like...)
    >
    > Thanks in advance!
    Figured it out.
    /SAPSRM/WDC_UI_BACKEND_SH is a 'freely programmed' search help used in SRM.
    1. Add this helpview (HV) component usage to your component controller, and view controller.
    2. Map HV SELECTION context to your view
    3. Modify the context attribute you want backend searchhelp to 'freely programmed', and select the component usage created in step above (note this is done dynamically in SAP code, b/c attribute is defined as dictionary search help in SAP components) -- this took a bit to figure out.
    4. IMPORTANT: Give your context attributes the SAME NAME (COST_CTR in my case) as those in structure /SAPSRM/S_CH_WD_MAP_ACC (how obvious was that)
    5. IMPORTANT: Set your LOGSYS in /SAPSRM/CL_PDO_VALHELP_FACTORY class - love those those factories (tic)
    DATA: lo_helper TYPE REF TO /SAPSRM/IF_PDO_ACCT_ASSGT_HLPR,
    CALL METHOD /SAPSRM/CL_PDO_VALHELP_FACTORY=>GET_ACCT_ASSGT_HELPER
    RECEIVING
    RO_ACC_ASSGT_HELPER = lo_helper.
    CALL METHOD lo_helper->set_searchhelp_control
    EXPORTING
    iv_logsys = ls_logsys-logsys.
    6. Now handle event DATA_SELECTED to get data from SELECTION, and move to your Context field.
    How simple was that? Yikes. I should have just built a custom dictionary search help to RFC over and call the BAPI for Cost Center List.
    - Tim

  • How to replace a field's search help of DDIC in FPM feeder class?

    Hi All,
    I want to replace a field's search help in DDIC structure, for an example, in structure HCMT_BSP_PA_XX_R0009, the field BANKL(Bank Keys) has a search help named 'H_BANKL', I want to replace this search help with other one such as 'H_BANKEY' in the FPM feeder class CL_HRESS_PER_DETAIL, I redefined such method:
    method if_fpm_guibb_form~get_definition.
    field-symbols: <fs_field_description> like line of et_field_description.
    call method super->if_fpm_guibb_form~get_definition
    importing
    es_message = es_message
    eo_field_catalog = eo_field_catalog
    et_field_description = et_field_description
    et_action_definition = et_action_definition
    et_special_groups = et_special_groups
    ev_additional_error_info = ev_additional_error_info.
    read table et_field_description assigning <fs_field_description> with key name = 'BANKL'.
    set search help name of field 'bank key'
    if <fs_field_description> is assigned.
    <fs_field_description>-ddic_shlp_name = 'H_BANKEY'
    endif.
    endmethod.
    I test it and found the search help window was replaced indeed, but all the value of import/export parameters in the new search help was lost, it means, the value of import paramer BANKS(Bank country) and the export parameter BANKA(bank name) were lost. Only the value of BANKL itself can be returned by the new search help window. Can you give me some suggestions about how to maintain the link( value exchange) between structure HCMT_BSP_PA_XX_R0009 and dynamically defined search help 'H_BANKEY' in FPM feeder class?
    I tried to use sap memory ID but it doesn't works well.

    This question was answered at [Webdynpro Forum|how to replace a field's search help of DDIC in FPM feeder class?;:
    That is because for the import and export of DDIC Search help values to work in WDA, not in FPM layer.Feeder Class can do nothing about it.

  • Search help for Web Dynpro using the SAP-search help

    Hi,
    I’m trying to create a generic search help for Web Dynpro using the SAP-search help. It should working so, that I construct a Web Dynpro-component, that gets the data of the search help from the SAP-system, interpreted it and creates the ui-elements and the needed context generic.
    The mapping between the Input field of the customerview and the right search help is to be made with an xml-file, which contains the information: name of the view, the input field, the search-help-name and the name of the field that will be returned.
    The xml-file is reading from a helper-class. That helper-class contains any information, witch need the search help-component as well as the customer-component.
    The initialization takes place in the method wdDoModify of the customer. The call of the search help from the customer should be implement with an Action, witch is bound to a Button(create dynamic in the helper-class behind the input field).
    In a second foot should be create a plugin for eclipse, witch insert the used files (search help component, helper class, …) in the project. In addition it should create the call in the customer generic.
    It would be great if someone can give me a feedback!

    Hi Mike,
    The BlanketAgreement.exe is a reference to the executable that will be created when you compile the solution you created in Part II - Part III. I think there is a mistake in the tutorial because it asks you to name the project 'Blanket' which means that by default the executable will be called Blanket.exe and not BlanketAgreement.exe. The tutorial also misses the step asking you to compile the Blanket project before you go on to create an installer. You should compile your Blanket project in Release mode before creating an installer. By compiling the project you'll get a Blanket.exe file in the bin folder of your Blanket project which you then need to add to the installer per the instructions.
    SAP do offer development courses in some areas and there is training material here on the SDN and on the SAP partner portal (and maybe the customer portal as well). Try searching this forum for 'training' or 'tutorial' and you should get a few links. There's also a development certification.
    Personally I'd recommend you give yourself a little project to work on and just get stuck in
    Kind Regards,
    Owen

  • How to use Search help PRCTR_EMPTY in Web dynrpo ABAP

    Hi,
    I have a requirement to use search help PRCTR_EMPTY as F4 help for an InputField in my application. But, in the F4 help, if I select "Profit Center Via Standard heirarchy" and search, it is giving me the following error:
    "Sending of dynpro SAPLSPO4 0300 not possible: No window system type specified"
    Here the search help is trying to call a R/3 screen from web dynpro.
    Pelase suggest me if there is any other way to use this search help in web dynpro.
    Thanks,
    Manogna

    hello,
    Any search help where R/3 screen is called, will not work in WD ABAP environment. You can create search help using OVS and follow the similar way of data selection as in search help.
    Regards
    Vishal kapoor

  • Class is not appearing in "Java Batch Job Class Search" when trying to add.

    Hi,
    I have oracle CC&B 2.3.1, with SDK 2.2.0.12. I am trying to create new java batch job class by copying an existing one and modifying it to be used with new Batch Control .
    Steps are as follows:
    1-Created file by copying the exiting file
    CreateLatePaymentChargesProcess.java ; and only changing the name of the class:
    public class CmCreateLatePaymentChargesProcess
    extends CmCreateLatePaymentChargesProcess_Gen
    File location :
    D:\spl\ccb231\applycm\ssgc_patch\java\source\cm\ CmCreateLatePaymentChargesProcess.java
    D:\spl\ccb231\applycm\ssgc_patch\java\source\cm\ CmCreateLatePaymentChargesProcess_Gen.java
    2-Run ApplyCm build successfully , which generated these files:
    D:\spl\ccb231\java\target\cm\com\splwg\ccb\domain\billing\batch\ CmCreateLatePaymentChargesProcess.class
    D:\spl\ccb231\java\target\cm\com\splwg\ccb\domain\billing\batch\ CmCreateLatePaymentChargesProcess_Gen$1.class
    D:\spl\ccb231\java\target\cm\com\splwg\ccb\domain\billing\batch\CmCreateLatePaymentChargesProcess_Gen$CmCreateLatePaymentChargesProcessWorker_Gen$ThreadParameters.class
    D:\spl\ccb231\java\target\cm\com\splwg\ccb\domain\billing\batch\CmCreateLatePaymentChargesProcess_Gen$CmCreateLatePaymentChargesProcessWorker_Gen$ToDoProperties.class
    D:\spl\ccb231\java\target\cm\com\splwg\ccb\domain\billing\batch\CmCreateLatePaymentChargesProcess_Gen$CmCreateLatePaymentChargesProcessWorker_Gen.class
    D:\spl\ccb231\java\target\cm\com\splwg\ccb\domain\billing\batch\CmCreateLatePaymentChargesProcess_Gen$JobParameters.class
    D:\spl\ccb231\java\target\cm\com\splwg\ccb\domain\billing\batch\CmCreateLatePaymentChargesProcess_Gen.class
    All the above classes are part of CM.jar file
    ContextManagedObjects.xml ;  contains these information
    <com.splwg.shared.environ.ContextManagedObjectData>;
    <domainPackages/>
    <lookupFieldClasses class="tree-map">
    <no-comparator/>
    </lookupFieldClasses>
    <cobolAlgorithmInterfaceExtensions class="tree-map">
    <no-comparator/>
    </cobolAlgorithmInterfaceExtensions>
    </com.splwg.shared.environ.ContextManagedObjectData>;
    packageMetaInfo.xml was not created
    Still the class is not appearing in "Java Batch Job Class Search" when trying to add a new program name referencing this java class.
    I tried restarting the Tomcat application server, still not appearing.
    Where did I go wrong about it?
    Thanks
    Edited by: cc&amp;amp;amp;b-user on Jul 29, 2011 12:39 AM
    Edited by: ccb-user on Aug 2, 2011 9:28 PM
    Edited by: ccb-user on Aug 7, 2011 11:36 PM

    Hi,
    Did you copying the base file CreateLatePaymentChargesProcess.java?
    I also create a new batch job which copying the CreateLatePaymentChargesProcess batch code the only difference in getBills() method query and inner class CreateLatePaymentChargesProcessWorker extend CmCreateLatePaymentChargesProcessWorker_Gen, instead of CreateLatePaymentChargesProcessWorker_Gen.
    The batch is working fine in my end.
    Thanks,
    Atul Singh.

  • Using a function module in a search help.

    People,
    I make a function module for a search help. Into the function module I call a function 'K_GROUP_SELECT' that show me a screen to make another search but I don't know how can I put the value that this function return me in the field that the user click the button of the search help in my program.
    This is the code that I put in the function module.
    Thanks!
    FUNCTION Z_GROUP_SELECT_ZFINCOKOH1_B.
    *"*"Local Interface:
    *"  TABLES
    *"      SHLP_TAB TYPE  SHLP_DESCT
    *"      RECORD_TAB STRUCTURE  SEAHLPRES
    *"  CHANGING
    *"     VALUE(CALLCONTROL) LIKE  DDSHF4CTRL STRUCTURE  DDSHF4CTRL
    *"     VALUE(SHLP) TYPE  SHLP_DESCR
    tables: setheader.
    data: setname type setheader-setname.
      CONSTANTS:
                  CLASS         TYPE SETCLASS VALUE '0103',
                  FIELD_NAME    TYPE RGSBS-FIELD  VALUE '*',
                  KOKRS         TYPE TKA01-KOKRS  VALUE 'BPPR',
                  KTOPL         TYPE TKA01-Ktopl VALUE 'CAPI'.
    IF callcontrol-step = 'SELECT'.
    *PERFORM k_group_select USING: CLASS, FIELD_NAME, KOKRS, KTOPL.
    CALL FUNCTION 'K_GROUP_SELECT'
      EXPORTING
       BUTTONS                  = 'X'
       CLASS                    = CLASS
       CRUSER                   = '*'
       field_name               = FIELD_NAME
       SEARCHFLD                = '    '
       SEARCHFLD_INPUT          = 'X'
       SEARCHFLD_REQUIRED       = 'X'
       SET                      = '*'
       START_COLUMN             = 10
       START_ROW                = 5
       TABLE                    = 'CCSS'
       TYPELIST                 = 'BS'
       UPDUSER                  = '*'
       KOKRS                    = KOKRS
       KTOPL                    = KTOPL
    IMPORTING
       SET_NAME                 = setname
    EXCEPTIONS
       NO_SET_PICKED            = 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.
    endif.
    ENDFUNCTION.

    Carlos,  Please see the following program. It is working well in my system.  The only difference is that I've implemented you function module as a subroutine instead of in a FM.   You can see that it will return the selected value back to the screen field.
    report zrich_0002 .
    data: setname type setheader-setname.
    parameters: p_val type setheader-setname.
    data: dynfields type table of dynpread with header line.
    data: return type table of ddshretval with header line.
    at selection-screen on value-request for p_val.
      perform f4_help.
      p_val = setname.
    start-of-selection.
    *       FORM f4_help                                                  *
    form f4_help.
      constants: class  type setclass value '0103',
                 field_name    type rgsbs-field  value '*',
                 kokrs  type tka01-kokrs  value 'BPPR',
                 ktopl  type  tka01-ktopl value 'CAPI'.
      call function 'K_GROUP_SELECT'
           exporting
                buttons            = 'X'
                class              = class
                cruser             = '*'
                field_name         = field_name
                searchfld          = '    '
                searchfld_input    = 'X'
                searchfld_required = 'X'
                set                = '*'
                start_column       = 10
                start_row          = 5
                table              = 'CCSS'
                typelist           = 'BS'
                upduser            = '*'
                kokrs              = kokrs
                ktopl              = ktopl
           importing
                set_name           = setname
           exceptions
                no_set_picked      = 1
                others             = 2.
    endform.
    REgards,
    Rich HEilman

  • Search help for batch field(CHARG)

    Hi all,
    In QM01 transaction in the critical information tab I have added a field called 'To Batch' and made the existing batch as 'From batch'. Now I gave the same check table for TO Batch (MCH1) also as like in From batch.
    But now I am getting an error message as 'Entry not found in MCH1' whenever I enter a value in To batch field.
    Do you guys know what is this?
    If possible reply me with a search help that can be used for Batch field..

    several:
    MCH1
    MCH1C
    MCH1F
    MCH1M
    MCH1U
    MCH1V
    MCH2_VBOB_MOB

  • Search Help from SAP values using WebDynpro ABAP in ADOBE Interactive Form

    Hi,
    How to populate search help on ADOBE interactive online form which is residing on a WebDynpro ABAP application?
    Thanks & Regards,
    Sandip amar

    HI,
    Adobe from is integraated with R/3 just like smartform.
    So if u use any DDIC tabel field which have inbuilt search help then it will automatically intergrated with Adobe form.
    If not then u have to make at ztable via foreign key or via FM at program level.
    Regards
    ricky

  • F4-Help without using a table search help

    Hi,
    We´re using CRM 2007 and I have created several F4-Helps for different fields on the webui.
    There it was always necessary to use an existing table search help in the GET_V-method:
    CREATE OBJECT rv_valuehelp_descriptor
        TYPE
          cl_bsp_wd_valuehelp_f4descr
        EXPORTING
          iv_help_id                  = lv_help_id   "search help name
          iv_help_id_kind             = if_bsp_wd_valuehelp_f4descr=>help_id_kind_name
          iv_input_mapping            = lt_inmap
          iv_output_mapping           = lt_outmap
          iv_trigger_submit           = abap_true.
    But how can I create a f4-help without an existing search help. I have an internal table that I want to be shown like an f4-help (not as dropdown -> a dropdown-field wouldn´t be a problem).
    Structure of the internal table: COML_PROD_CAT_REL_F4
    Thanx for help.
    Greetings,
    Sven
    Edited by: Sven Keller on Aug 13, 2008 4:26 PM

    Hi Sven,
    you already pasted the correct call for creating a value help. Now what you have to alter is the variable lv_help_id to reflect a F4-Valuehelp class.
          CREATE OBJECT rv_valuehelp_descriptor TYPE cl_bsp_wd_valuehelp_f4descr
            EXPORTING
              iv_help_id        = '(CL_CRM_UIU_BP_IDTYPE_2_F4)' "#EC NOTEXT
              iv_help_id_kind   = if_bsp_wd_valuehelp_f4descr=>help_id_kind_comp
              iv_input_mapping  = lt_inmap
              iv_output_mapping = lt_outmap.
    As you can see CL_CRM_UIU_BP_IDTYPE_2_F4 is a normal ABAP class implementing interface IF_BSP_WD_CUSTOM_F4_CALLBACK. Please take a look at it.
    It should not be very hard to implement the single method
    cheers Carsten

  • Search help from one field used to populate another on subscreen.

    I have a subscreen with 2 fields;  Plant & Batch.   Search help MCH1F displays batches for plants.  When a batch for a plant is selected in the search help for the batch field, I want to populate the plant field in addition to the batch.  The batch number comes back from the search help selection, but I need to get the plant associated with that batch just selected and populate the subscreen plant field.  SET/GET doesn't work either in the screen field setup or abap flow logic.   Any tips would be appreciated.  Thanks.

    Hi Kurt,
    i think that way its not possible but the closest way is
    i HAVE TWO TABLES
    ZPHY
    ZPROC
    I HAVE SCREEN  IN WHICH I HAVE TO GET VALUE FOR  PHY BASED ON ID.
    AND FOR OTHER FIELD IN THE SCREEN I HAVE PROC BASED ON THE ID I USED TO GET PHY AND  FOR THE SAME ID I AHVE MULTIPLE PROC AND I HAVE SELECT ONE OF THOSE , HERE WHEN YOU PRESS F4 IT WILL GIVE ALL THE PROC ASSOCIATED TO
    ID THATI USED IN THE SELECTION OF PHY.
    AND I THINK YOURS IS THE SAME CASE RIGHT.
    FIRST GET
    process on value-request.
    FIELD zabc-def MODULE VALUE_REQUEST_PHYACT.
    FIELD zabc-proc MODULE VALUE_REQUEST_PROC.
    MODULE VALUE_REQUEST_PHYACT INPUT.
    DATA: progname TYPE sy-repid,
          dynnum   TYPE sy-dynnr.
    CLEAR zabc.
    CLEAR : zabc-def, zabc-id, zabc-proc,
    zabc-ZSHECPROC.
    CLEAR FINAL.
    CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'
      EXPORTING
        TABNAME                   = 'ZPHY'
        FIELDNAME                 = 'def'
        SEARCHHELP                = 'ZPHY'
      SHLPPARAM                 = ' '
        DYNPPROG                  = PROGNAME
        DYNPNR                    = DYNNUM
      DYNPROFIELD               = ' '
      STEPL                     = 0
      VALUE                     = ' '
      MULTIPLE_CHOICE           = ' '
      DISPLAY                   = ' '
      SUPPRESS_RECORDLIST       = ' '
      CALLBACK_PROGRAM          = ' '
      CALLBACK_FORM             = ' '
      TABLES
        RETURN_TAB                = IT_RETURN4
    EXCEPTIONS
      FIELD_NOT_FOUND           = 1
      NO_HELP_FOR_FIELD         = 2
      INCONSISTENT_HELP         = 3
      NO_VALUES_FOUND           = 4
      OTHERS                    = 5
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    read table it_return4 index 1.
    zabc-def = it_return4-fieldval.
    select single id into zabc-id FROM ZPHY
                          WHERE def = zabc-def.
    FINAL-def = zabc-def.
    FINAL-id = zabc-id.
    HERE BASED ON ID I AM RETRIEVING  DEF FIELD ,THIS IS FROM SEARCH HELP USING SE11.
    AND FOR THE SAME ID I HAVE TO GET PROC FIELD FROM ANOTHER TABLE
    ENDMODULE.                 " VALUE_REQUEST_PHYACT  INPUT
    MODULE VALUE_REQUEST_PROC INPUT.
    DATA : SERVICE LIKE zabc-id.
    select single id into SERVICE FROM ZPHY
                          WHERE def = zabc-def.
    SELECT * INTO TABLE ITAB_TEST4 FROM ZPROC
                      WHERE id = SERVICE.
    CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
      EXPORTING
      DDIC_STRUCTURE         = ' '
        RETFIELD               = 'proc'
      PVALKEY                = ' '
      DYNPPROG               = ' '
      DYNPNR                 = ' '
      DYNPROFIELD            = ' '
      STEPL                  = 0
        WINDOW_TITLE           = 'PROCEDURE'
      VALUE                  = ' '
        VALUE_ORG              = 'S'
      MULTIPLE_CHOICE        = ' '
      DISPLAY                = ' '
      CALLBACK_PROGRAM       = ' '
      CALLBACK_FORM          = ' '
      TABLES
        VALUE_TAB              = ITAB_TEST4
      FIELD_TAB              =
        RETURN_TAB             = IT_RETURN4
      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.
    if sy-subrc = 0.
              clear itab_TEST4.
              read table it_return4 index 1.
                   zabc-proc = it_return4-fieldval.
         read table itab_TEST4 with key id = itab_details-def
             itab_zMOR-def = itab_details-def.
             itab_zMOR-zzfname  = itab_details-zzfname.
            endif.
    SELECT SINGLE ZSHECPROC INTO zabc-ZSHECPROC FROM ZPROC
    WHERE proc = zabc-proc.
    FINAL-proc = zabc-proc.
    final-zshecproc = zabc-zshecproc.
    *********AGAIN THIS IS NOT THE SEARCH HELP FROM SE11
    ENDMODULE.                 " VALUE_REQUEST_PROC  INPUT
    hope this helps
    Thanks

  • Window freezes when Product category selected via match-code (search help)

    Hello Experts,
    I am using SRM 7.0 Extended Classic Scenario.
    I maintained a product category hierarchy in the SRM environment.
    I maintained the GL Accounts related, the tax determination, the source system etc.
    I did all this customizing in a Development environment where everything was working fine.
    Now I just transported all this to a Quality environment.
    And in the Quality I am facing the following issue :
    If I select a product category via the match-code (search help), after the category is selected, the window freezes.
    I have to shut it down manually using the Windows Close button.
    However, when I type the category number, everything works fine.
    Do you have any idea what could be causing this issue, and how to fix it ?
    Thanks in advance,
    Sofiane

    Hello,
    We have the exact same issue in SRM 7.0 Extented Classic Scenario. This was working fine before we installed the latest support package 11. Which support package do you have?
    The same problem occurs with every drop down menu (search help) in EBP. For example when creating a new shopping cart, if I try to add approver, the same thing happens. After clicking 'Approval Process: Display / Edit Agents' > 'Add Approver', the window freezes. Same thing happens with IE8 and Firefox 3.6.13. Could you also try the same?
    Could it be a new bug in SP11?
    Thanks and best regards,
    Matti Hokkanen
    Edited by: Matti Hokkanen on Nov 4, 2011 10:30 AM
    Edited by: Matti Hokkanen on Nov 4, 2011 10:43 AM

Maybe you are looking for