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.

Similar Messages

  • 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

  • Trying to find Function modul for requirement capacity in work center

    Hi Colleagues,
    I have tried to find a function modul: Import - Work center , Export - requirement capacity.
    but havn't succeed with.
    I will be glad for any help.
    tnx & best regards

    I need a FM that export the requirement capacity of a Work center.
    Report CM01 has the same functionallity, however, by debugging it I coudn't find any useful function, morever, I have found a thread in the forum with the same issue but it wasn't helpful.
    an example for my needs is as followed:
    Function: CAPACITY_REQUIREMENT_FOR_WORK_CENTER
    IMPORT:
                            1. Work Center = MG1602
                            2. Plant = 1000
                            3.date from = 01.04.2011
                            4. date to     = 01.05.2011
    EXPORT:
                            1. Capacity Requirment (Total) =  240 [Hours]
                            2. Capacity Requirment (period) = 22  [hours]

  • 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

  • How to find function module's and tables used for the particulat screen or TCODE?

    Hello Nation,
    I would like to know how to find the  function modules and tables used for the particular screen or TCODE or program.
    Example : I would like know the function module used in the program RDBGFT?
                     How can i find that?
    Thanks in advance ,Awaiting your reply.

    Make use of Find function  with the keyword "CALL FUNCTION".
    Make use of the same find function with the keyword "Select" to know the database tables used.
    Regards,
    Philip.

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

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

  • How to find  function module call in 'BP_GIVE_MESSAGE' in BAPI

    Hi experts
    i want debugg the BAPI_GOODSMVT_CREATE  to find out what data passing to 'BP_GIVE_MESSAGE' function module.
    i tried to find through FIND button i could not find it.
    please can you tell me how can i find  call 'BP_GIVE_MESSAGE' in BAPI_GOODSMVT_CREATE source code.

    Hi experts
    i want debugg the BAPI_GOODSMVT_CREATE  to find out what data passing to 'BP_GIVE_MESSAGE' function module.
    i tried to find through FIND button i could not find it.
    please can you tell me how can i find  call 'BP_GIVE_MESSAGE' in BAPI_GOODSMVT_CREATE source code.

  • Want to find function module for MB31.

    HY,
    <b>I WANT TO KNOW THE FUNCTION MODULE FOR THE MB31</b>,
    AND WHEN WE ENTER THE PRODUCTION ORDER NO IN THE 1ST SCREEN OF MB31,
    IT GOES TO THE 2ND SCREEN
    HERE WE HAVE TO PUT THE QUALITY,
    <b> WAT I WANT IS THAT:-</b>
    WHEN WE ENTER THE ORDER NO IN CO11 i.e. CREATE PRODUCTION ORDER CONFIRMATION,
    IT ASK FOR THE QUALITIES TO CONFIRM.
    AFTER THIS WHEN WE GO TO MB31 AND PUT IN THE ORDER NO
    ON THE 2ND SCREEN IT ASKS FOR THE QUALITY,
    NOW, I WANT THAT WHEN WE ENTER THE NO OF QUALITIES IN MB31 MORE THAN WE HAVE ENTERED IN CO11, IT SHOULD GIVE AN ERROR MESSAGE.
    <b>POINTS CONFIRMED.</b>
    THANKS IN ADVANCE,
    KARTIKEY.

    Hi,
    Please look at the following thread:
    Re: user exit and customer exit
    If you scroll down, there is a post by Aashish Anchlia which has a useful utility to find a user exit for an SAP transaction. That should help.
    Sudha

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

  • Finding function modules for a particular Bapi

    Which function module is behind a particular BAPI? How to find the function modules.

    HI,
    Business Application Programming Interfaces (BAPIs) are the standard interfaces provide to enable access to SAP functions across formal, stable, and dialog-free interfaces. These interfaces can be used by external applications developed by customers and complementary software partners as well as by other SAP applications.
    BAPIs can be used for these types of integration:
    Connecting R/3 Systems to the Internet using the SAP Business Connector or Internet Application Components (IACs)
    BAPIs also allow the creation of true component software, as they enable standardized communication between SAP components. The ultimate objective is to encapsulate the functionality of the SAP system in independent business components that are integrated through a common interface (the BAPIs).
    The integration of new SAP components (such as Advanced Planner and Optimizer (APO) and Business Information Warehouse (BW)), non-SAP software, and legacy systems.
    Implementation of distributed R/3 scenarios with asynchronous connections using Application Link Enabling (ALE).
    Using PC programs as frontends to the R/3 System – These can be developed with Visual Basic (Microsoft), for example, or with Visual Age for Java (IBM).
    Lot of other information about BAPIs can be found in many help portals. This is just an introduction to the world of BAPis. Hope this helps.
    Reward If helpfull,
    Naresh.

  • Finding Function Module in IDOC

    Hi All,
    I am creating business partner and inbound IDOCs are being posted.I want to find out the following lists from the IDOC.Please help me out:
    1.Function Module involved
    2.Partner function
    3.Process Code
    Thanks in Advance.

    Hi,
       Check the following tcodes.
    1.Function Module involved   :  check WE19
    2.Partner function                :  we20
    3.Process Code                  : we41 and we42
    reg,
    siva

  • How to find function modules used in maintenance table views

    Hi,
    How do I find the function modules used in maintenance table views?
    I'm using SM30 and trying to open the custom table but there is an error message saying CREATE DATA PROCESSING FUNCTION MODULE.
    Thanks.
    Kath

    hi
    in se80 select functon group and put your table function group name there and click display. it will show you the function modules used for that tables.
    Regards
    Madhu

  • 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

  • Linux-3.10.10 fails silently when booting with UEFI

    This problem has occured for me on several occasions in the past (with 3.10.2 and 3.10.8) but that has been with kernels in [testing]. With 3.10.10 dropping to [core], this is the first time this has happened for me with an official release. Though t

  • Solaris 8 on Sparc and X86

    Will I experience any problems connecting a Trusted Solaris 8 X86 systems to a SPARC Trusted 8 system? Will all the trusted features work between the two. Thx

  • Issue with multiple Albums with the same name. (i.e. Greatest Hits)

    I have multiple albums all with the same name (i.e. Greatest Hits). iTunes mixes all of the albums as one. All of the track 1s together, all track 2s together .... Is there a way for iTunes to recognize that there is more than 1 album with the same n

  • Applet reloaded : IE 7/8 problem only

    Hello all, I have this very weird issue with an applet : it does not stop reloading. More precisely, in IE, my applet is loaded in an ajax loaded DOM element. When I remove the DOM element : stop() is first invoked by the browser, but start() follows

  • Kodak pictures in Front Row??

    Does anyone know how i would get pictures from my Kodak Easyshare folder(s) into...where-ever...so when i bring up Front Row i can slideshow them? It says something about "shared photos"...and that their's none in my local network. So i tried putting