Function Module to retrive conversion exit function module names based on conversion routine

Hi All,
Can you people help me out in finding a function module, which takes conversion routine name as input and gives all the conversion exit function modules as output.
Thanks and Regards,
Shivaraj Naik.

Curious, I looked for the way SAP do the job in SE11, and they also use the CONCATENATE option...
From Include LSD11F01 Form OBJ_GOTO
*       Objektspezifische Navigationsziele
*      --> GOTOID   Kennung für Navigationsziele
*      --> DDNAME   Dictonary-Name
form obj_goto using  gotoid type gotoid
                     ddname.
  case gotoid.
    when 'CNVE'.   "Konvertierungsexit zu Domäne
      data: wb_request type ref to cl_wb_request.
      data: fb_name like tfdir-funcname
                        value 'CONVERSION_EXIT_'.
      concatenate fb_name ddname '*' into fb_name.
      condense fb_name.
* Request für Infosystem erzeugen
      class cl_wb_infosystem definition load.
      call method cl_wb_infosystem=>create_request
        exporting
          p_object_type        = 'FF'
          p_object_name        = fb_name
          p_operation          = swbm_c_op_search
          p_suppress_selection = 'X'
          p_show_as_popup      = 'X'
        importing
          p_wb_request         = wb_request
        exceptions
          action_cancelled     = 1
          execute_in_batch     = 2
          error_occured        = 3.
Regards,
Raymond

Similar Messages

  • BPS Exit Function Error

    Hi Experts,
    I am new to BPS. I am developing FM for Unit Convertion. Can some body please direct me the procedure to correct the following error? This error is being generated at the time of execution. I am working on BI 7.0.
    Please let me know if this is not enough info.
    Thanks in advance.
    Regards,
    Nimesh
    Error generating the test frame
    Message no. FL819
    Diagnosis
    The system could not generate a syntactically correct test frame for function module Z_BPS_EXIT_UNIT_CONV. You therefore cannot test the function module using the test environment. You have probably used an ABAP feature in the interface definition that is not yet supported in the test environment.
    The error message is:
    "ANY TABLE" expected, not "HASHED TABLE".
    System Response
    Procedure
    Check whether you can change the interface of the function module so that it is possible to generate the test frame. If this is not possible,you will have to write your own utility for testing the function module.

    Nimesh,
    Welcome to the forum.
    You can not test an SEM exit function from ABAP workbench rather it has to be tested from BPS.
    Exit function requires hash table XTH_DATA which is supplied from BPS.
    I think you are testing funciton module from SE37 that leads to error message posted by you.
    Have some test data in the planning cube & test it from Planning function exit function.
    There is a How-To Document "How-To Loop over reference data in FOX formulas".
    Though this function doesn't explain about exit function but it depicts execution of a planning funtion which will give you some insights.
    Hope it helps.
    Hari Immadi
    http://immadi.com
    SEM BW Analyst

  • BPS-Exit function

    Hi experts,
    I am tring to load flat file in BPS using EXIT function.
    For that i am using two function modules where one is main function module
    and another one is Init.Function.In function moduled there is no errors but
    while upload flat file records are not get generated.
    Kindly give me some tips to resolve this.
    If i case anyone want that FM means i will attcah those FM.
    Regards,
    Kiruthika

    Nimesh,
    Welcome to the forum.
    You can not test an SEM exit function from ABAP workbench rather it has to be tested from BPS.
    Exit function requires hash table XTH_DATA which is supplied from BPS.
    I think you are testing funciton module from SE37 that leads to error message posted by you.
    Have some test data in the planning cube & test it from Planning function exit function.
    There is a How-To Document "How-To Loop over reference data in FOX formulas".
    Though this function doesn't explain about exit function but it depicts execution of a planning funtion which will give you some insights.
    Hope it helps.
    Hari Immadi
    http://immadi.com
    SEM BW Analyst

  • Parameter Exit Function in Planning Folder

    Hi all,
    I created the planning function in SEM BPS using exit function. And then I added the parameter exit function 0VERSION to this function. After that, I tried to put this function in the planning folder.
    Does anybody know how to put the parameter exit function to the planning folder?
    Because I need the user to fill the value of the 0VERSION before they run the function.
    I assume this should work as the selection screen.
    Currently, Every time I run this function, there is no selection screen or the place that I could fill the value for this field. So, the system always receives no value for this field.
    Or Maybe you have another approach to get the user's value without restrict the data before run the exit function.
    Thanks a lot for your help,
    -Martin Darmawi-

    This behaviour is quite normal. You should use different approach.
    Parameters in exit functions can be filled in parameter group only and only with fixed values.
    You should create a planning variable, put it to the folder and then read value of this variable in your exit function with 'API_SEMBPS_VARIABLE_GETDETAIL' for example.

  • Simple exit function

    Hi All,
    I am new BPS planning functions, I am trying to write a simple exit function to manipulate amount.
    Example: For value type as Plan i.e. '020' , I want to added constant to existing values say '100'.
    like price = price + 100 (for all value types as '020').
    I know this can be done by formula function as well , I know that i need to build a function inorder to create a exit function. I need help in building the ABAP code.
    Any help greatly appreicated.
    Regards,
    Reddy.

    Hi Vachan,
    Thanks for the reply, you mentioned that XXX-value type.
    What XXX stand for? As i am new to SAP please can you be of more specific.
    Regards,
    Reddy.

  • Short Dump DYNPRO_MSG_IN_HELP in Conversion Exit

    Hi Gurus,
    I've written the following conversion exit:
    FUNCTION CONVERSION_EXIT_ZBZEI_INPUT.
    *"*"Lokale Schnittstelle:
    *"  IMPORTING
    *"     VALUE(INPUT)
    *"  EXPORTING
    *"     VALUE(OUTPUT)
    *"  EXCEPTIONS
    *"      INPUT_NOT_VALID
      DATA : CPI_OUT(4) type n, CPI_IN(5), cpi_in2(5), cpi_in3(5).
      DATA : CPI_YEAR(4), CPI_PERIOD(3).
      DATA : CPI_NUM2(2) TYPE N.
      DATA : CPI_NUM3(2) TYPE N,
             index(2)    type n,
             index2(2)   type n,
             merker(1).
      DATA : CPI_C8, CPI_C7, CPI_C6, CPI_C5.
      DATA: SONDERZ.                    "nimmt das Trennungszeichen auf
    *-initializations-----------------------------------------------------*
      check not input is initial.
      CPI_IN2 = INPUT.
      CLEAR : cpi_in, cpi_in3, cpi_out, OUTPUT, index, index2, merker,
              cpi_num2, cpi_num3.
      do.
        if cpi_in2+index(1) co '0123456789' and merker ne 'X'.
          cpi_in+index2(1) = cpi_in2+index(1).
          add 1 to index2.
        endif.
        if cpi_in2+index(1) = ':'.
          merker = 'X'.
          clear index2.
        endif.
        if cpi_in2+index(1) co '0123456789' and merker = 'X'.
          cpi_in3+index2(1) = cpi_in2+index(1).
          add 1 to index2.
        endif.
        add 1 to index.
        if index = 5.
          exit.
        endif.
      enddo.
      if cpi_in3 is initial.
        cpi_out = cpi_in.
      else.
        cpi_num2     = cpi_in.
        cpi_num3     = cpi_in3.
        cpi_out(2)   = cpi_num2.
        cpi_out+2(2) = cpi_num3.
      endif.
      if cpi_out(2) > 23.
        message e000 raising input_not_valid.
      endif.
      if cpi_out+2(2) > 59.
        message e001 raising input_not_valid.
      endif.
      output   = cpi_out.
    *  output+2(2) = cpi_in+3(2).
    endfunction.
    The problem is when the user inputs an invalid value and presses directly after this F4 the conversion exit will call and I get the short dump DYNPRO_MSG_IN_HELP  when I trigger the error message.
    Is there any way to know that the program is in value-request? Maybe a system field? Can I catch this error?
    Thanks for help.
    Lars

    Hello Lars,
    refering to OSS 84510 SAP does not allow error messages in this environment. However, to find out if you are in a F4- context you can use the kernel function 'DY_GET_DYNPRO_EVENT'
      data: event(3).
      "check if we are in F4 environment
      call 'DY_GET_DYNPRO_EVENT' id 'EVENT' field event.
      if sy-subrc <> 0 or ( event <> 'PAI'
                        and event <> 'INP' )."PAI also POV
        " not F4 help
        message e000 raising input_not_valid.
      else.
        "F4 help -> only S message
        message s000 display like 'E' raising input_not_valid.
      endif.
    Kind regards, miro

  • Function Module for search help Exit

    How to create a function Module for search help exits?
    please explain in details with step by step process.

    Hi,
    How to create a function Module for search help exits?
    function module for search help F4IF_SHLP_EXIT_EXAMPLE
    dynamic search help use 'F4IF_INT_TABLE_VALUE_REQUEST'
    please check out the link below it will help you
    A repository object maintained in the ABAP Dictionary. It supplies input fields on Dynpros with single- or multi-column input helps. Search helps can be linked in the Dictionary with components from structures, data elements, and check tables. A search help enables you to search for entry values with assigned data, without you having to know the exact spelling of the value.
    http://help.sap.com/saphelp_46c/helpdata/EN/cf/21ee52446011d189700000e8322d00/content.htm
    please explain in details with step by step process.
    create a search help exit:
    1. create an fm with this interface:
    *" TABLES
    *" SHLP_TAB TYPE SHLP_DESCR_TAB_T
    *" RECORD_TAB STRUCTURE SEAHLPRES
    *" CHANGING
    *" VALUE(SHLP) TYPE SHLP_DESCR_T
    *" VALUE(CALLCONTROL) LIKE DDSHF4CTRL STRUCTURE DDSHF4CTRL
    put this logic in it:
    Delete duplicate filter logic.
    This logic only needs to apply at the 'DISP' event - which is just
    before the hit list is displayed
    if callcontrol-step = 'DISP'.
    delete adjacent duplicates from record_tab.
    endif.
    2. edit your search help in se11 and enter the name of the above search help exit fm
    check this sample code..for dynamic search help
    REPORT  ZTEST_F4HELP                              .
    *---Report with selection screen and to display the list of
    possible entries for field 'B' as per the value in field 'A'.
    parameters: p_vbeln type vbak-vbeln,
                p_posnr type vbap-posnr.
    at selection-screen on value-request for p_posnr.
      data: begin of help_item occurs 0,
              posnr type vbap-posnr,
              matnr type vbap-matnr,
              arktx type vbap-arktx,
            end of help_item.
      data: dynfields type table of dynpread with header line.
      dynfields-fieldname = 'P_VBELN'.
      append dynfields.
      call function 'DYNP_VALUES_READ'
           exporting
                dyname               = sy-cprog
                dynumb               = sy-dynnr
                translate_to_upper   = 'X'
           tables
                dynpfields           = dynfields
           exceptions
                invalid_abapworkarea = 1
                invalid_dynprofield  = 2
                invalid_dynproname   = 3
                invalid_dynpronummer = 4
                invalid_request      = 5
                no_fielddescription  = 6
                invalid_parameter    = 7
                undefind_error       = 8
                double_conversion    = 9
                stepl_not_found      = 10
                others               = 11.
      read table dynfields with key fieldname = 'P_VBELN'.
      p_vbeln = dynfields-fieldvalue.
      call function 'CONVERSION_EXIT_ALPHA_INPUT'
           exporting
                input  = p_vbeln
           importing
                output = p_vbeln.
      select posnr matnr arktx into table help_item
                     from vbap
                          where vbeln = p_vbeln.
      call function 'F4IF_INT_TABLE_VALUE_REQUEST'
           exporting
                retfield    = 'POSNR'
                dynprofield = 'P_POSNR'
                dynpprog    = sy-cprog
                dynpnr      = sy-dynnr
                value_org   = 'S'
           tables
                value_tab   = help_item.
    also check this link it will help you
    /message/3854825#3854825 [original link is broken]
    *********please reward points if the information is helpful to you*************

  • Attribute value to exit function module

    Hello group,
    I'm working in a sem-bps project and I have a problem with an exit function, because
    I need the function module to read the value of a characteristic's attribute.
    I read the standard function module UPF_VARIABLE_USER_EXIT_ATTR: it retrieves the attribute value through the import parameters ITO_ATTR TYPE  UPC_YTO_ATTR.
    I put this attribute on my exit function but when I check the content of the attribute it’s always empty. Do you know how I can transmit the parameter from the exit planning function to the function module?
    Any input is appreciated, thanks Andrea

    Andrea, if you want to fill a variable with the characteristic's attribute of another variable look at the document "HowTo_BPS_VarOfTypeExit.pdf" (i send at your e-mail if you want). It Follows an extract in which it's filled the second variable with the characteristic's attribute of another variable: 
    Source code: Attribute values
    SELECT * FROM /bi0/mbps_produ INTO TABLE lt_chavl
    WHERE bps_prodl = ls_varsel-low.
    if sy-subrc <> 0.
    MESSAGE e026(upc) WITH ls_varsel-low '0BPS_PRODL'.
    attribute value not found
    exit.
    endif.
    ls_varsel-seqno = '0000'.
    ls_varsel-chanm = '0BPS_PRODU'.
    LOOP AT lt_chavl INTO ls_chavl.
    ls_varsel-seqno = ls_varsel-seqno + 1.
    ls_varsel-low = ls_chavl-bps_produ.
    APPEND ls_varsel TO eto_charsel.
    ENDLOOP.
    In the example above ls_varsel contains the attribute value to provide to eto_charsel (the output table in which you have the result).
    I suggest you to debug your application to see how ito_attr is passed to the FM.
    Hope it helps.
    Fabio

  • How to insert a code for a function module into a Customer Exit Variable?

    I have two Key Figures viz., Net Prchs Rtl, and Net Prchs Unt. Both these Key figures have This Week (TW) and Last Week (LW). There is a variable for This week but there is no variable defined for Last week.
    I need to get data in the column LW (Last Week) for both the key figures.
    In function module EXIT_SAPLRRS0_001 one of the functions I have is:
    Get the previous Fiscal Week
              CALL FUNCTION 'DATE_TO_PERIOD_CONVERT'
    I need to create a new variable to get values in the Last week column for different key figures and use function “'DATE_TO_PERIOD_CONVERT'” in that variable.
    Can anyone please explain me the steps as to how to use a function module in a variable so that when the variable is used in a key figure it shows the output.
    In other words what I want to know is after creating a Customer exit variable of type Characteristic value how do I refer the above mentioned function moduel and insert the code for the function module into the Customer exit variable that I created.
    Thank you.
    TR.

    Hi Wond,
    Thanks a lot for your reply. I understand what you mean but I have never done this before so can you please explain it in a detailed manner. I have the following code:
    Get the previous Fiscal Week
              CALL FUNCTION 'DATE_TO_PERIOD_CONVERT'
                EXPORTING
                  i_date         = ld_date
                  i_periv        = lc_periv
                IMPORTING
                  e_buper        = ln_poper
                  e_gjahr        = ln_bdatj
                EXCEPTIONS
                  input_false    = 1
                  t009_notfound  = 2
                  t009b_notfound = 3
                  OTHERS         = 4.
              IF sy-subrc <> 0.
                MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
              ELSE.
                lc_poper = ln_poper.
                CONCATENATE ln_bdatj lc_poper+1(2) INTO wa_e_t_range-low.
                wa_e_t_range-sign = 'I'.
                wa_e_t_range-opt = 'EQ'.
                APPEND wa_e_t_range TO e_t_range.
              ENDIF.
            ENDIF.
          ENDIF.
        ENDIF.
    I believe I should now use the above code in my customer exit variable. If that's right can you please explain me the steps as to how should I do this so that the variable gets populated.
    Thank you.
    Regards,
    TR.

  • How to Debug the DMEE exit function module

    Hi All,
    I wants to Debug the DMEE  tree exit function module.
    Could you please guide me.
    Regards,
    Seshadri

    Put a BREAK USER in User-Exit.
    Once the system enters into debugging mode,
    in debuger on setting tab,
    check the Update Debugging and System Debugging.
    Regards
    Bala Krishna

  • BAPI , BADI , USER EXIT , FUNCTION MODULE

    Hi Experts
    Can any body pls explain me abt BAPI , BADI , USER EXIT , FUNCTION MODULE  and its uses in details .
    Thanks
    Devashish

    Dear Deba,
    Functional Module:Procedure that can only be defined in function groups and outside of classes. Can be called from all
    programs. Begins with FUNCTION and ends with ENDFUNCTION. Is maintained using the Function Builder of the ABAP
    Workbench.
    Functional Module can be checked using T Code SE37 for a package ,say in standard SAP CS15 will be used for checking
    the where used list for a material and here it can be checked only for one material,in case if we want to check for a list of
    materials a small report can be developed using the fucntional modules like
    CSEP_MAT_BOM_SELECT_WHERE_USED   API Bills of Material: Select BOM(s) (or)
    CS_WHERE_USED_MAT                Bills of material; where-used list
    User Exit:A point in an SAP program where a customer's own program can be called.
    In contrast to customer exits, user exits allow developers to access and modify program components and data objects in the
    standard SAP System. On upgrade, each user exit must be checked to ensure that it conforms to the standard system.
    There are the following types of user exit:
    User exits that use INCLUDEs - These are customer enhancements that are called directly in the program.
    User exits that use tables - these are used and managed using Customizing.
    User Exits can be viewed or checked using the T Code SMOD and using CMOD an user exit will be activated.
    BAdi:
    A template for BAdI objects.
    Business Add-Ins (BAdIs) are the basis for enhancements where BAdI methods in object plug-ins can be called from ABAP
    programs. The calling program controls which BAdI implementations are used by specifying filter values. A BAdI consists of a
    BAdI interface, a set of filters and some settings.
    From Release 7.0, BAdIs are edited in the Enhancement Builder and reside in the global class namepsace. You can switch on
    their implementations via the Switch Framework.
    There are also classic BAdIs, which are edited in the BAdI-Builder and superseded function module exits in Release 4.6.
    Related T Code SE18.
    Regards
    Mangalraj.S

  • Badi's, user exits, function modules and reports

    Hi all,
    Can anybody tell me the exact diff among Badi's, user exits, function modules and reports? I mean what are their functions?
    thanks

    Hi,
         This is a beginners question,but still you can check the below links.
    BAdis:
    Regarding Enhancements/User-Exits in ABAP
    http://help.sap.com/saphelp_nw04/helpdata/en/c8/1975cc43b111d1896f0000e8322d00/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/ee/a1d548892b11d295d60000e82de14a/content.htm
    http://sap.ittoolbox.com/groups/technical-functional/sap-r3-dev/779183#
    FM:
    http://help.sap.com/saphelp_nw70/helpdata/en/9f/db988735c111d1829f0000e829fbfe/content.htm
    Reports:
    http://it.toolbox.com/wiki/index.php/How_many_types_of_reports_are_there_in_ABAP_and_what_is_the_difference_between_them%3F
    Regards,
    saurabh

  • Reg:function module to retrive the ekko table data

    Hi all,
    Is there any function module to retrive the ekko table data for the given select-options and parametrs.
    could you provide that.
    Thanks & regards,
    S.chaitanya.

    dear chaitanya,
    may be you can use this function module ME_READ_EKKO_MULTIPLE which can be used to pass the select options to retrieve the desired EKKO data.
    OR the best way would be to do a SELECT Query which would retrieve the data faster and in an effective manner.
    Hope this helps you.
    Help Children of U.N World Food Program by rewarding and enocourage others to answer your queries
    Thanks
    Venugopal

  • Dynamic Call --- User Exit/Function Module

    Hi All,
    We have a User Exit/Function Module which is called dynamically. This is configured and we are missing its configuration path. Could any of you guys let me know more details where this configuration could reside ?
    Thanks much
    Raghu

    Hi,
    When this function module CALL FUNCTION LT_TRWPR-FUNCTION is called, it automatically goes into a Z_XXXXXXXXX function module.
    This function module is called in all transactions where financial postings could happen, however to be precise i would say at the time of Vendor invoice postings.
    Eg: Tcodes MIRO, FB60.
    Thanks
    Raghu Kolla

  • Find Userexit name based on Exit function module

    Hi All,
    Is there any way to find the userexit name based on the function module.
    My exit function module is EXIT_SAPLATPC_001. I want to find the exit name.
    Appreciate your help.
    Thanks,
    Jaffer Ali.S

    Hi
    This is the Exit Name: ATP00001 for the Exit FM you have given. I took the package name this exit FM is stored in the Attributes of FM in SE37. In the search criteria of SMOD,after hitting f4..and selecting Information System, I gave the package name...and it gave me the exit name.
    P.S: The above method may sometimes lead to giving in more than one exit as result.
    Vishwa.

Maybe you are looking for

  • "Maximum Render Quality" Better to turn it OFF when using CUDA MPE?

    http://crookedpathfilms.com/blog/201...port-settings/ "IMPORTANT NOTE ABOUT RENDERING TIME:  Make sure you do not select “Use  Maximum Render Quality” if you are utilizing the accelerated GPU  graphics (Mercury Playback Engine).  This will not improv

  • Is there a way to go and look at the purchases that I paid for on my ipad with itunes?

    Is there a way for me to look at the purchases that I paid for on my ipad with itunes?

  • Nothing happens when i type a subject in the status bar

    when I type a subject or something I want to find e.g. wikipedia or red sea, dogs etc in the box in middle of screen, nothing happens. I am not rerouted to any page. The only way I can access a page is to write the address in the menu bar at the top

  • OPP (Output Post Processor) logfile

    Hi All, One of the xml template is failed and when I check the Log from OAM the below message is showing: "The Applications File Server could not open the file /output/fsprod/log/FNDOPP57048.txt for read." Please help Thanks,

  • Something wrong in JaxRpc

    Dear Sir, I had already set up my SOA Suite Environment. When i follow the Oracle SOA Suite Quick Start in Chapter 3.1 , i got trouble in PostFulfillmentReq activitie, the message is <bindingFault xmlns="http://schemas.oracle.com/bpel/extension">