Purpose  of function modules

hai,
Suppose a  requirement is given and there is a need to find a Function module which can do that.
Please let me know about any doucument which explains the purpose of built-in function modules.
Thanks,
Sairam.

Sairam,
Look into the following Link.
http://abapprogramming.blogspot.com/2007/06/lesson-24-function-groups-and-function.html
You see all the function module in SAP from transaction SE37. In SE37 Put * in Function module name and press f4. It will give you a list of limited no of Function module names. To see a full list press new selection at the bottom of popup and then put * in Func module name and press enter. But this is a huge list.
I would suggest to search by using wild card search. eg. if you need FM for popup put POPUP In FM name field and press F4.
Hope this helps
Vinodh Balakrishnan

Similar Messages

  • Info needed on  function module CALCULATE_TAX_ITEM

    Hi,
    what is the purpose of function module CALCULATE_TAX_ITEM.where it can be used.
    Points will be awarded
    Thks
    Hagi

    hi
    can you tell the purpose of using this function module in Purchasing.
    Plz value answers are appreciated.Points will be awarded
    Thanks
    Hagi

  • Function modules Exit and Init

    Hi Friends,
    What is the purpose of function modules init and exit in the "Exit" functions.
    why two function modules are using in the Exit functions?
    Please give me relevant secanarios?
    will assign the points.
    Thanks
    BPS

    <b>FM Initialization</b>:
    A function module to initialize the planning function. This function module is optional. It is only required if new transaction data records are to be generated in the planning function that are different, in terms of the combinations of values, to characteristics in the previous transaction data that are not to be changed. The keys for these new transaction data records are delivered by the function module in the table ETO_CHAS. The keys are supplemented by the keys of the transaction data that already exist. The data objects for which the planning function is called up are formed from these keys. They also influence how often and with which combinations of transaction data the second function module is called up.
    <b>Function Module:</b>
    A function module that is called up several times and that changes transaction data records. This function module receives a package of transaction data records in each case. These differ only in their characteristics to be changed. They have the same values as far as all other characteristics are concerned. The transaction data is in table XTH_DATA. Only the existing records are transferred. If key combinations were returned by the initialization function module, and no transaction data exists for these, then table XTH_DATA is empty. The key combination is in the table ITO_CHASEL.
    Its not necessary to write a init FM unless you need to generate new records by the exit function.
    regards,
    sanjay.

  • Pls explain me the use and purpose of following Function modules

    pls explain me the use and purpose of following Function modules
    1. G_MAX_PERIOD_AND_OFFSET_GET
    2.  DEQUEUE_E_TABLE
    3. FI_COMPANY_CODE_CHECK
    4. G_PERIOD_GET
    5. alv_display_function
    6. G_SET_GET_ID_FROM_NAME
    thanks ,
    phyrose

    1. <b>G_MAX_PERIOD_AND_OFFSET_GET</b>
    For given No. of period & periods it gives the offset
    <b>2. DEQUEUE_E_TABLE</b>
    To Unlock the table records
    <b>3. FI_COMPANY_CODE_CHECK</b>
    To validate Company Code
    <b>
    4. G_PERIOD_GET</b>
    Returns no. of Posting period & Special period for give company code, posting date & ledger
    <b>5. alv_display_function</b> -
    No such FM exists
    <b>
    6. G_SET_GET_ID_FROM_NAME -</b> Use this module to derive the internal set Id from the name that appears on the user interface, for example, in order then to import the set (see the function group documentation).
    The function module first determines a candidate list of sets based on the set name and the class that might have been specified that could match the set name. The class can also be masked (e.g. 000+ for all FI-SL sets, including dynamic sets).

  • Purpose of all the below Function Modules?

    Hi All,
    What is the Purpose of all the below Function Modules?
    CALL FUNCTION 'K_REPO_PCA_AUTHORITY_CHECK'
    CALL FUNCTION 'K_PCA_RESP_AUTHORITY_CHECK'
    CALL FUNCTION 'G_CURRENCY_FROM_CT_GET'
    CALL FUNCTION 'GET_CURRENT_YEAR'
    CALL FUNCTION 'BDC_OPEN_GROUP'
    CALL FUNCTION 'BDC_INSERT'
    CALL FUNCTION 'MESSAGE_TEXT_BUILD'
    Akshitha.

    Hi,,
    G_Buffer_ReSET-->Deleting Buffer in Set Manager
    G_SET_ENCRYPT_SETID-->Conversion of Combination of Characteristics in a Set ID
    G_SET_GET_INFO-->Checks whether Set exists and Provides Information about Set
    Reward IF useful

  • Purpose of STATUS_READ function module

    Hi ,
    Can anyone explain the purpose of using STATUS_READ function module.
    Regards
    Rishikesh

    The function module reads a status object in the status management
    internal buffer and delivers all or all active single statuses of the
    status object.
    <b> Parameters</b>
         CLIENT----
    client no
         OBJNR----
    Object number of status object to be read,
                                       Object number must exist intable JSTO.
         ONLY_ACTIVE----
    'Transfer Active Statuses Only' Flag
                                       Only those statuses are given that are currently active.
         OBTYP----
    Object type of status object
         STSMA----
    status profile assigned to the object
         STONR----
    Status number, i.e. status number of the only status currently active with status number or 00 if such is not active.(00 - 99)
         STATUS----
    Single statuses table
         STATUS-STAT contains the status in internal format (Ixxxx, Exxxx).
          If the STATUS-INACT field is initial, the status is active, if it is 'X'
          the status is inactive.

  • Where to see all available function modules and their purposes.

    Dear all Experts,
    Can anybody please tell  where i will be able to see the all availble function modules, and their purpose....
    eg, if i have to retrive data from my pc file (.txt or .xls) , using GUI_UPLOAD, then i have to take file name in form of string.
    to take that from user, in form of string, we use function  <b>'KD_GET_FILENAME_ON_F4'</b>..
    can anybody give related links ?
    your help will be certainly rewarded.
    waiting
    Regards
    Vinay...............

    Hi Vinay..
    just go through these links
    you can find lot of information which u need
    this is having the Function module names and the Description and the use of that function module
    http://www.erpgenie.com/abap/functions.htm
    http://www.geocities.com/victorav15/sapr3/abapfun.html
    http://www.onestopsap.com/function-module/
    http://www.sapdevelopment.co.uk/fmodules/fmssap.htm
    Regards Rk

  • Purpose of the function modules BAPI_IOBJ_GETDETAIL, BAPI_MDPROVIDER_GET_ME

    Hi,
    Can any one please explain the following doubts...
    1) What is the purpose of the function modules BAPI_IOBJ_GETDETAIL, BAPI_MDPROVIDER_GET_MEMBERS and when will they be used in BW, the purpose.
    2) What are the different function modules useful in tracing the performance on the BW Side?
    Thanks & Regrads,
    Dinakar.

    HI,
    BAPI_IOBJ_GETDETAIL:
    To get the information about the InfoObjects.
    BAPI_MDPROVIDER_GET_MEMBERS:
    when you call BAPI_MDPROVIDER_GET_MEMBERS, BI hierarchies with
    time-dependent names or time-dependent structures are also evaluated with the
    current key date.
    Check this thread and the link
    List Of BAPIs used for Extraction..?
    http://help.sap.com/saphelp_nw04s/helpdata/en/9b/c1993c54966f3ae10000000a114084/frameset.htm

  • Purpose of this function module:HR_BEN_MAP_SELOPT_TO_DYNSEL

    Hi,
    I could see in many benefit standard programs using the function module HR_BEN_MAP_SELOPT_TO_DYNSEL. I just want to know purpose of this.
    This FM does not have any documentation to know what it is.
    Please share if you know why and how it works.
    Thanks,
    Ravi.

    Speaking as someone who happens to be named Michael Broughton ;), let me note that I did not depend on trying to parse the OWB runtime repository to determine the last run status for a given mapping. I used a set of our own tables that we use to audit various processes that run against our database.
    Similar to you, we had the notion of a master process and sub-processes. So, our load could be described as:
    Insert master process row with status "Started".
    For each mapping to execute:
    insert a sub-process row with status "started"
    if the last run of the master process ran to "COMPLETE", or the last run of this master process ran to "FAILED" but there is no row for this sub-process with status "COMPLETE", then we need to run the process. run it and update the sub-process row with the return status. If status <> OK, then update master process to status "FAILED" and exit.
    otherwise, If we determined that the mapping did not need to be executed, then update the sub-process row with status "COMPLETE"
    We put in the stubs for the processes whether we need to run them or not so that if the load fails multiple times, each run will contain the complete list of mappings that were completed.
    In point of fact, if you insert the stubs when skipping over mappings during a restart then you can condense the "do I need to run this time" logic to: Run allways unless the last master process run failed but this process succeeded.
    How you want to code that query will depend entirely on how you are saving your data.
    Hope this helps. I'd offer code snippets but I away from my work 'puter 'til next week.
    Mike

  • Purpose of this function module?

    Hi Abapers,
    Please let me know the purpose of this function module.
    RH_START_EXCEL_WITH_DATA.
    regards,
    vijay

    Hi vijay,
    1. Suppose i want to show some data
       DIRECTLY IN EXCEL,
       from my internal table.
    2. Just copy paste in new program.
      (it will show data from T001 Table,
       directly into excel)
    3.
    report abc.
    data  : itab like table of t001 with header line.
    select * from t001 into CORRESPONDING FIELDS OF table itab.
    CALL FUNCTION 'RH_START_EXCEL_WITH_DATA'
      EXPORTING
        DATA_FILENAME       = '\ABCdd.XLS'
        DATA_TABLE          = ITAB[]
        WAIT                = 'X'
        DELETE_FILE         = 'X'
      EXCEPTIONS
        NO_BATCH            = 1
        EXCEL_NOT_INSTALLED = 2
        INTERNAL_ERROR      = 3
        CANCELLED           = 4
        DOWNLOAD_ERROR      = 5
        NO_AUTHORITY        = 6
        FILE_NOT_DELETED    = 7
        OTHERS              = 8.
    regards,
    amit m.

  • How to create a Z Function Module

    Hi,
      I am trying to create a Z function module in BI 7.0 that i can use in Transformations.
    SE37> Name of FM.Create..>
    It is prompting me to enter Function Group.
    What is Function Group and How can i create a new function group (Detail Steps please)
    and steps involved in creating a Function Module in BI 7.0
    Thanks in Advance

    Hi,
    Function Group is just like a folder under which we can store n no. of function modules for organizational purpose. If u want any global declarations we will declare at function Group Level.
    It is mandatory to save a function module under one function group. Select Goto menu item, select Function Group, then select, create function group in SE37. Just give the technical name and description and save.
    Hope this helps u..
    Regards
    Ramakrishna Kamurthy

  • How to check for a function module with its description and functionality

    Hi all,
    How to check for a function module,with its description and its functionality,in detail how can I know the purpose of a particular function module,how to search for a function module which suits my requirement .

    Hi,
    You can search a FM of your requirement by putting in the Key words and searching for a FM. Like * KEYWORD * and then pressing F4.
    Say for example you need to search something regarding converstion.
    Search for * CONVERT * and press F4.
    If there is something specfic like converting date to something you can give
    DATE * CONVERT *
    OR
    CONVERT * DATE *  and press F4.
    Once you narrow down your search you will have a Function module documentation inside the Function module. Please note that all the FMs willl not have documentation.
    Regards,
    Pramod

  • Function modules for the following

    Hi,
    I want to know the function modules for the following purposes.
    1) Check whether a date is valid or not
    2) Calculate the no of days between two dates.
    Expecting an early response.
    Thanks n Regards,
    Amit

    Hi,
    PARAMETERS: p_list LIKE t009b-bumon AS LISTBOX
                         VISIBLE LENGTH 11 OBLIGATORY ,
                p_list1 LIKE t009b-bdatj OBLIGATORY.
    SELECTION-SCREEN POSITION POS_HIGH.
    PARAMETERS: p_list2 LIKE t009b-bumon AS LISTBOX
                          VISIBLE LENGTH 11 OBLIGATORY,
                p_list3 LIKE t009b-bdatj OBLIGATORY.
    Calling Function Module for calculating no of days between the
    selected period
        CALL FUNCTION 'NUMBER_OF_DAYS_PER_MONTH_GET'
             EXPORTING
                  par_month = p_list
                  par_year  = p_list1
             IMPORTING
                  par_days  = ws_n_days.
        CALL FUNCTION 'NUMBER_OF_DAYS_PER_MONTH_GET'
             EXPORTING
                  par_month = p_list2
                  par_year  = p_list3
             IMPORTING
                  par_days  = ws_n_days1.
    For Concatenating the month and year into the date format
        CONCATENATE  p_list1  p_list ws_i INTO ws_c_date1.
        CONCATENATE p_list3  p_list2 ws_n_days1 INTO ws_c_date2.
      date = ws_c_date1 - ws_c_date2.
    In the above sample code the selection screen has month and year as input.
    Also check this link
    http://www.sapdevelopment.co.uk/tips/date/datehome.htm
    Check FM
    <b>RP_CALC_DATE_IN_INTERVAL</b> Add/subtract years/months/days from a date
    <b>SD_DATETIME_DIFFERENCE</b> Give the difference in Days and Time for 2 dates
    <b>Also for checking valid date:</b>
    U can specify the date field as
    Select-options:  s_date like likp-date(similar to ur requirement)
    This itself ceck for the valid date no seperate validation needed.
    Thanks & Regards,
    Judith.

  • Function modules to create leave request?

    Hi experts,
    In my project I need to create a leave request and trigger workflow for approval. Do you know any function modules existed for this purpose? Or shall we need to create workflow and attach it with inserting IT2001 records?
    Thanks a lot.

    Are you going to use standard SAP Portal application for leave or not?
    If yes there are documents available about ESS configuration for the same and you can assign the standard workflow or copy and make the required chnages then assign it in configuration.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/108c31e7-b6a7-2d10-3692-c1a9f7a5c4dc?QuickLink=index&overridelayout=true
    Regards
    Ajay

  • Function modules to read Time clusters B1 and B2 from PCL1 and PCL2

    Hi All
    Are there any function modules or macros to read time clusters B1 & B2?
    I want to read time data in the clusters for reporting purpose.
    Regards,
    Rupesh Mhatre

    You can also call the FM HR_TIME_RESULTS_GET and get the exact cluster you need from B2 like WPBP, ZE, SALDO etc.
    Otherwise if you want to use the older FM declare the GET_TBUFF and GET_BUFFER_DIR as of below structure.
    DATA: BEGIN OF TBUFF OCCURS 5000.                           "XPMK014785
            INCLUDE STRUCTURE PCL1.
            DATA: SGART(2),
          END OF TBUFF.
    DATA: BEGIN OF BUFFER_DIR OCCURS 2000,                      "XPMK014785
            SGART(2),
            CLIENT LIKE PCL1-CLIENT,
            RELID LIKE PCL1-RELID,
            SRTFD LIKE PCL1-SRTFD,
            NTABX LIKE SY-TABIX, "pointer auf aktuellen satz
            OTABX LIKE SY-TABIX, "pointer auf alten satz (falls vorhanden)
            NNUXT LIKE PCL1-SRTF2, "anzahl folgesaetze aktueller Satz
            ONUXT LIKE PCL1-SRTF2, "anzahl folgesaetze alter Satz
          ofset(3) type p,     "offset innerhalb eines entry
          END OF BUFFER_DIR.
    INT_TIME_RESULTS should be of type PTM_TIME_RESULTS.
    Regards
    Ranganath

Maybe you are looking for

  • How can I get rid of a Java Runtime Environment error message

    Please can you help me get rid of this message? It drives me mad

  • SAP Accelerated Data Migration (ADM) Tool

    Hi- Has anyone used ADM for SAP HR/HCM data migration? If yes, can you please share your experience? <REMOVED BY MODERATOR> Thanks, Edited by: Hunk2007 on Feb 19, 2008 6:11 PM Edited by: Alvaro Tejada Galindo on Feb 19, 2008 12:14 PM

  • 5월 30일 - OTN Install Fest(SOA Development) 개최

    OTN Install Fest - SOA Development 에 초대합니다. (5월 30일 금요일 14:00 ~ 18:00, 트라이콤 교육센터 제1강의실) * 등록하기 ==> http://oracle.rymo.net/2008/0530_OTN/index.php?page=greeting * 선착순 80분에게 우선적으로 등록의 기회를 드립니다. 본 핸즈온 워크샵에서는 SOA로 구현할 수 있는 주문처리 시스템의 데모 샘플들을 생성하는 실습을 진행합니

  • Business Object : Goods Issue ?

    For a goods issue in an outbound delivery , I need to set up a workflow . I found a BO 'BUS2017' for goods movement ..not sure if this is the one ? It has only one event ..!! If anyone has implemented a workflow for this BO or scenario , pls let me k

  • Problem in smart form

    hi experts i have one problem in smartform.my requirement is invoice but to display terms and conditions in back side.actualy i am doing like this terms and conditions i maintained in second page.in first page second page as next page and in second p