CO-PA: Value fields - where to find? Function Module?

Hi there,
I want to select all the available value fields (VV010, ...) that can be included in tables CE1xxxx and CE2xxxx. Is there any Function module or table where I can get the (value) fields from? I don't want to create static coding that includes the fields that are included in this structures in this moment. My report should be as flexibel as it could be and so I'm looking for a possibility to get the VV-fields in the named tables.
Will thanh you so much
Kind regards
Max

Hi,
There are two tables you may need to refer to.
The table TKEF is the field catalog table and contains all fields and their attributes in the system, from where you can identify the value fields.  Table TKEFE lists the fields assigned to the operating concern.
You may also look at the program RKEREOFC to identify a FM or method for your use.
Cheers.

Similar Messages

  • Documentation for RS_EU_CROSSREF (where-used list function module)

    Hi,
    I'm trying to understand how to use the "RS_EU_CROSSREF" function module.
    It corresponds to the where-used list function you find in so many SAP screens.
    I need to use it in a program, but I can't find any good documentation about it.
    I'd like something that tells me what values I have to fill in parameters.
    For example, how to search form "TEST_FORM" in all programs ? or even in a given program, I didn't get how to restrict the search to a program...
    Thank you for any help,
    Quentin

    Hi Gurpreet Singh,
    table cross does not find any function modules although I know for sure that there are function modules calling the function module.
    Please post an example of how to find function modules calling a function module with RS_EU_CROSSREF.
    /Elvez

  • How to find function module

    hi all,
    how to find out particular function module suitable for this requirement.
    how to findout fm

    Hi Narendra,
    Apart from above replies, you can find function modules this way:
    1) Go to SE37
    2) From Menu, click <b>Utlities</b> and select <b>Find</b> option.
    3) A repository info system to find function modules will be opened.
    4) Use wild cards in function module box or short description to find function modules.
    PS: You can use this way to find programs in se38
    Regards,
    Vivek

  • How to pass multi value selection parameter to SAP Function Module?

    Hi ,
    Anyone know how to pass CR multi value parameter - array to SAP Function module ?
    eg  multi selection of customer in CR
    and then pass to Function module
    in SAP FM,  the SQL select these customer only
    How should the import parameter / table of SAP Function module designed?
    and how should CR pass the data to SAP FM
    thx
    John

    Moved to Integration Kit forum

  • LIKP-VERURSYS field - where to find it?

    Hi all,
    There is a filed VERURSYS in table LIKP (Distribution delivery: Original system).
    I'd like to update this field with some values but I am not able to find it on outbound delivery screen (t-code vl01NO).
    Could you please give me a hint where to find this field?
    Thanks a lot.
    Petr

    Hello Petr
    I was also unable to find this field. However this field is for use in distributed WMS system to indicate the source system from where the Delivery originated. Here you have a ERP system distributing (transferring) deliveries to a Decentralized WMS and vice versa. So I am thinking unless you activate and implement Decentralized WMS Integration, this filed may not be visible. Just my thought.

  • To find function module to update the field kbetr.

    hello friends  ,
                                i have a problem , i want to update kbetr field in konp table and  i am searching for a function module  .  Is there any function module with which we can update kbetr field in konp table.

    Hi,
    check th thread:
    Problem with BAPI_PRICES_CONDITIONS

  • How to find function module exit name when i know the Include

    As per my requirement i should change the existing exit. I know the include name but i want to
    know exit name. How to find out exit name based on include name. I tried Where-used list but it
    is not giving the exit and function module name.Please let me know.
    Regards
    Rajitha

    Hello Rajitha,
    1. You can do a "where-used" for the include & get the corresponding name of the exit function module.
    2. Goto table MODSAP & in the field MEMBER pass the name of the function module & you will get the Exit Name in the NAME.
    Hope this helps.
    BR,
    Suhas
    Edited by: Suhas Saha on Mar 16, 2009 3:08 PM

  • Parameter passing by value or by reference in function module

    hi everybody:
    Im a beginner for abap.
    Below description is described in online help.
    In function module, the CALL FUNCTION statement can pass import, export, and changing parameters either by value or by reference. Table parameters are always transferred by reference.
    I understand parameters passing by value means values carried by parameters are transferred, but I do not understand what is "by reference".
    Please kindly give me a explanation.
    Regards.
    Andy

    hi,
    Function modules are modular units with interfaces. The interface can contain the following elements:
    Import parameters are parameters passed to the function module. In general, these are assigned
    standard ABAP Dictionary types. Import parameters can also be characterized as optional.
    Export parameters are passed from the function module to the calling program. Export parameters
    are always optional and for that reason do not need to be accepted by the calling program.
    Changing parameters are passed to the function module and can be changed by it. The result is
    returned to the calling program after the function module has executed.
    Exceptions are used to intercept errors. If an error triggers an exception in a function module, the
    function module stops. You can assign exceptions to numbers in the calling program, which sets the
    system field SY-SUBRC to that value. This return code can then be handled by the program.
    By reference Passes a pointer to the original memory location.  Very efficient
    By value Allocates a new memory location for use within the subroutine. The memory is freed when the subroutine ends.  Prevents changes to passed variable
    By value and result Similar to pass by value, but the contents of the new memory is copied back into the original memory before returning.  Allows changes and allows a rollback
    When you pass a parameter by reference, new memory is not allocated for the value. Instead, a pointer to the original memory location is passed. All references to the parameter are references to the original memory location. Changes to the variable within the subroutine update the original memory location immediately.
    1  report ztx1804.
    2  data f1 value 'A'.
    3
    4  perform s1 using f1.
    5  write / f1.
    6
    7  form s1 using p1.
    8      p1 = 'X'.
    9      endform.
    The code in Listing produces the following output:
    X
    Hope this helps, Do reward.

  • How to find function module in se37

    hello friends,
    i am supposed to extract revesion level, matnr, plant from sap to an excel sheet.
    matnr and plant we can get from marc or mara, but i could not find revision level on these tables.
    the technical name is REVLV
    i searched for function modules in se37 i got 3 function modules, but there was no documentation,
    how does anyone get tpo know which function module  works for them , with out  having documentation.

    Hi,
    What is your requirement actually and what purpose I did't get you
    any how I got these below FMs which is having the field REVLV
    you can go through below FMs.
    /SAPHT/DRM_MAT_BOM_READ
    API_DOCUMENT_MAINTAIN2
    API_DOCUMENT_SAVE_BOM
    BAPI_DOCUMENT_CHANGE2
    BAPI_DOCUMENT_CHECKIN2
    BAPI_DOCUMENT_CHECKIN_REPLAC
    BAPI_DOCUMENT_CHECKOUTCANCEL
    BAPI_DOCUMENT_CHECKOUTMODIFY
    BAPI_DOCUMENT_CHECKOUTSET2
    BAPI_DOCUMENT_CHECKOUTVIEW2
    BAPI_DOCUMENT_CREATE2
    BAPI_DOCUMENT_CREATEFROMSRC2
    BAPI_DOCUMENT_CREATENEWVRS2
    BAPI_DOCUMENT_GETLATEST
    BAPI_DOCUMENT_GETLATEST2
    BAPI_DOCUMENT_GETSTRUCTURE
    BAPI_DOCUMENT_WHEREUSED
    BBP_PROD_REVLV_CHECK
    C14SX_BAPI_DOC_CREATE2
    C14SX_BAPI_DOC_CREATE2_EXIT
    CAD_DISPLAY_BOM_WITH_SUB_ITE
    CAD_ECM_READ
    CDESK_CALL_CHECKOUT_WIZARD
    CDESK_CHECKOUT_WIZARD
    CDESK_CHECKOUT_WIZARD_RFC
    CDESK_GET_STRUCTURE
    CDESK_WHERE_USED
    CM_DI_PROCEED_MAT_PROV
    CO_SD_BOM_SELECT_DIALOG
    CSAP_DOC_BOM_CREATE
    CSAP_DOC_BOM_DELETE
    CSAP_DOC_BOM_MAINTAIN
    CSAP_DOC_BOM_READ
    CSAP_MAT_BOM_CREATE
    CSAP_MAT_BOM_DELETE
    CSAP_MAT_BOM_MAINTAIN
    CSAP_MAT_BOM_OPEN
    CSAP_MAT_BOM_READ
    CSEP_MAT_BOM_READ
    CS_RT_DIALOG_CALL
    CV115_ECN_CHECK
    CV115_ECN_REVLEVEL_SET
    CVAPI_DOC_CHANGE
    CVAPI_DOC_CREATE
    CVAPI_DOC_MAINTAIN
    DMU_DOC_BOM_EXPLODE
    DMU_DOC_BOM_READ
    DMU_MAT_BOM_EXPLODE
    DMU_MAT_BOM_READ
    EXIT_SAPLQAAT_002
    EXIT_SAPLQBCK_001
    EXIT_SAPLQBCK_003
    EXIT_SAPLQPL1_001
    MB_CHECK_MPN_RELATION
    MB_CHECK_MPN_VALIDITY
    MB_MPN_CHANGE_READ_DATA
    MB_SEARCH_HTN_MATERIAL
    MEPO_CONFIRMATION_PAI
    MEPO_CONFIRMATION_PBO
    MEX_CHECK_REVISIONSSTAND
    ME_CONFIRMATION_MAINTAIN
    ME_SEARCH_REVISION_LEVEL
    MMPUR_Q_INFORECORD_DISPLAY
    QAAT_CHECK_QM
    QBCK_INSP_TYPE_LIST
    QBCK_INSP_TYPE_NEXT
    QBCK_QINF_LIEF_ZAEHL
    QBCK_QINF_QUANTITY_CHANGE
    QBCK_QINF_READ
    QBCK_QM_DOCUMENT_TEXTS
    QBCK_QM_GR_CHECK
    QBCK_QM_PUR_CHECK
    QBCK_QM_PUR_MNG_UPD
    QBCK_QM_SYSTEMS_COMPARE
    QBCK_VB_QINF_PLOS2_POST
    QBCK_VE_QINF_STATUS
    QELA_QINF_SELECT
    QPAP_PLAN_SELECT
    QPL1_CHECK_CREATE_POSITION
    QSS1_QINF_SHOW
    QSS2_REVLV_F4
    RFC_DISPLAY_BILL_OF_MATERIAL
    ZQM_CREATE_05_INSPECTION_LOT
    Regards
    Ganesh

  • Report to find function module names

    Hi all,
    My requirement is to get generate a report with the list of obsolete function modules and the SAP recommended function module equivalent to it. i have identified the table to get the obsolete function module . I m not able to get the function module equivalent to tithe obsolete function module.
    Thanks
    siva

    Hi Sivaprasath,
    U might have referred RODIR table for finding out function modules which are obsolete.
    To find the replacement of obsolete function modules check OSS notes in service.sap.com with search string as the name
    of the function module.
    U will get Related notes where u can get the alternative FM.
    Also check the documentation of obsolete FM,Else check the short description.It might be mentioned there itself for Alternative Function Module.
    Regards,
    Lakshman.

  • How to find Function Module & Program Name Used by IDOC

    hii Experts,
    i want to find program name & function modules used in IDOC. I have Idoc type, Message type & extension type.
    Help me

    Hi Vinod,
    Go to transaction WE64, click on the <b>search for message type</b> or press <b>shift+F6</b>. A popup will be displayed and here enter the message type for example 'QUOTES', u will be taken to the process codes available for the message type u have entered. click on the process code and data related to that process code will be displayed in the right hand side. Now double click on the process code, a pop up with function module name will be displayed. copy that and search for where used list in SE37.
    Hope it helps.
    Regards,
    Phani.

  • To find Function Module is used for How many times

    Hi Gurus.
    How to find a Function module is used for how many times since it is created.. we went through the Tcode STAT , ST03, STAD, STATTRACE but in ST03 we can find it for Program but we could not find it for Function module , So can any one please suggest us . we are using ECC 6.0 version.
    Thanks and Regards,
    Chaitanya.

    Hi Chaithu,
    Go to SE37,enter your function module, click on where used list button on the application bar.
    All the program used your function module used is displayed.
    Regards,
    Venkat.

  • To pass the values in repetitive structures any function module

    hi all,
          Is there any function module to pass the values in repetitive structures like infotype 0041(Date spcification). I heard there is a function module, so any of you can tell that function module.
    thanks,
    sekhar.

    Hi Chandra,
    If your question is to find a date for a given dar value in IT 0041 then this is the sol:
    Yes there is a function Module for IT0041, HR_ECM_READ_IT0041_DATE_TYPE
    eg: 
    INFOTYPES: p0041.
    DATA: lv_msg TYPE REF TO if_hrpa_message_handler,
              lv_date TYPE D.
    GET pernr.
    CLEAR: lv_date.
        CALL FUNCTION 'HR_ECM_READ_IT0041_DATE_TYPE'
          EXPORTING
            datar           = 'U2'       " specify the value of the dar value, for which u have to find date
            p0041           = p0041
            message_handler = lv_msg
          IMPORTING
            date            = lv_date.
    For the dar value U2, lv_date will have the corresponding date.
    Hope this will clear your doubt.
    Thanks,
    Kishore

  • Finding function modules

    Hello Frnds,
                         I have a query regarding Funtion modules. Actually i m working in newer version so i want to know the replacement  for the older version.
    Suppose earlier for uploading flat file data we used "ws_upload". But now in newer version we are using "GUI upload". So can anyone help me that how to find the new replacement function modules for the older ones.
    i.e in SAP.
    thanking u all.
    regards,
    karan

    <b>Refer the following code:</b>
    *&      Form  upload_file
    *       text
    FORM upload_file  USING    p_filename TYPE any
                 CHANGING p_local_table TYPE t_local_table.
    * To get the input data from desktop file
        DATA:  l_file TYPE string.
        CLEAR: l_file,
               p_local_table.
        l_file = p_filename.
        CALL FUNCTION 'GUI_UPLOAD'
          EXPORTING
            filename                = l_file
            filetype                = 'ASC'
          TABLES
            data_tab                = p_local_table
          EXCEPTIONS
            file_open_error         = 1
            file_read_error         = 2
            no_batch                = 3
            gui_refuse_filetransfer = 4
            invalid_type            = 5
            no_authority            = 6
            unknown_error           = 7
            bad_data_format         = 8
            header_not_allowed      = 9
            separator_not_allowed   = 10
            header_too_long         = 11
            unknown_dp_error        = 12
            access_denied           = 13
            dp_out_of_memory        = 14
            disk_full               = 15
            dp_timeout              = 16
            OTHERS                  = 17.
        IF sy-subrc <> 0.
          MESSAGE e002 WITH l_file.
        ENDIF.
    ENDFORM.                    " upload_file
    Here  l_file is the desktop file path and p_local_table is the internal table where the data is to be uploaded from the local file.

  • Can not find Function module in Crystal Report Database Connections FN

    Hi,
    we designed a Function Module XX in SE80.
    We set up BO Interagtion for SAP
    We can connect to the R3( CRM) System.
    We can See FN's.
    We can not see our Function Module XX we designed in SE80 in the Database Connection
    What is missing ?
    Any Authorization missing ?
    Which Where
    Thanks
    Martin Sautter

    Yes,
    we just have got it:
    /Database Assistant / Data / My Connections/<myConnection>/FN -> Right Mice Button/ Options ->  Table Name Like: <MYTABLE>
    than
    /Right Mice Button/Regenerate
    Thanks
    Martin

Maybe you are looking for

  • Oracle 10g R2 installation with ASM+RAC

    Gurus, Need some suggestuon on Oracle 10g R2 installation with ASM and RAC option. We have found many documents on the Oracle, HP, HP-Oracle CTC and third party web sites, but nothing that is specific to this particular combination of separate ORACLE

  • LSMW Material Master - create several valution types within one Run

    Hello @ll, i created a LSMW for material master migration, and i would like to create up to 4 different accounting views (based on different valuation types) within one LSMW Run. As there is the Field BWTAR on Structure BMM00, and the accounting fiel

  • Pulling the latest records from the datasource to BW

    Hi, I need to pull the most recent records from a custom table on R/3 side. I make use of infoset query to retrieve data from two different tables. One custom table and the other SAP table MAKT. I created a transaction data... Datasource make use of

  • Crystal reports connection refused

    Hello BW Experts, While trying to connect SAP BW from Crystal we are getting this error ‘Database connector Error: BAPI Error #:0’ Error occurred when starting the parser : Error opening a RFC Connection. Does this mean the RFC connection is broken.

  • Flashing tips bar in PSE 10

    Yesterday I asked: "How do I get rid of the annoying flashing tips bar at the bottom of the screen in PSE 10?" It takes up space on my monitor and provides no useful service, e.g., if I want to make a photo look like a woodcut, I'll look it up myself