Documentation of function module

Hi All,
How  to create documentation of function module while creating function module
Pl tell me step by step process
Helpfule answer will definatly rewarded
Regards
Shashikant

Hi Shashikanth,
go to tcode se37.
before creating a function module  we have to create function group.
so to create function group.
chose menu path GOTO -- Function group -- create function group .
give the name  of the FG.
again choose menuu path GOTO -Function group -- change group.
give the FG name and select MAIN PROGRAM tab and activate that one.
now create ur FM and click on functiona module documentation button on the application tool bar.
then u will get a PC Editor
in that u will have &FUNCTIONALITY& below this line write ur discription
and for all the remaining options such as &EXAMPLE& &HINTS& &FURTHER_SOURCES_OF_INF&
write ur desired documentation
Then in d application tool bar u will have an icon 'SCREEN OUTPUT' or press  ctrlshiftF6.
then u will see the documenation.
Plz reward if helpful,
S.Gagnireddy.

Similar Messages

  • Documentation of Function Modules and Class Methods

    Hi
        I would like to know the function modules that handle the documentation of function modules and class methods.Is it possible to assign the same documentation of a function module to a method as method documentation?
        Are these documentations stored in some system tables?
    Thanks in advance,
    Hema

    The documentation text is stored as Standard text.
    you can see these details in the function module->
    goto->documentation->
    you will now see a screen, there GOTO->HEADER.
    YOU will see a screen with the below details.
    Text Name       Z0MM_SCM_FNC_EVCOR_DELIVERY
    Language        EN
    Text ID         FU   Function module
    Text object     DOKU       Online Documentation
    in this case TEXT NAME = FUNCTION MODULE NAME.
    These details are stored in STXH &STXL . But you can use select from these tables. you have to use READ_TEXT to read the documentation to the program.
    regards
    srikanth

  • Documentation for function module.

    Hi all,
    I want to document functionality of a function module that I have created using 'Function Module documentation'
    tab.Please advice.
    Regards,
    Anirban.

    hi,
    check these link
    regarding function module documentation
    Re: Documentation on Function modules
    Cheers
    Alfred
    Reward points if it is helpful.

  • Documentation on Function Modules,RFC,BAPI

    hi friends,
    I have to give training in these 3 topics(function module,RFC,BAPI) .can u please help me with the documentation part .
    thanku

    hi,
      give your mail id, such i can forward documents to that.
    regards,
    Pavan

  • Function module CS_BOM_EXPL_MAT_V2 Documentation

    I cannot find any documentation for function module CS_BOM_EXPL_MAT_V2.  It is a very powerful function module, however, it is not useful without documentation.  I know that it can do single level boms as well as multi level and a host of other things, but I can only guess without documentation.  Do you know where I can get documentation for this function module. 
                        thank you in advance, Leonard Getz, Dy4 Systems Inc. Ottawa, Ontario, Canada.

    This is what I found:
    CALL FUNCTION 'CS_BOM_EXPL_MAT_V2' "BOM explosion for material
    EXPORTING
      ftrel = SPACE               " csdata-xfeld  Limited multi-level - stop explosion at items not relevant to production
      aufsw = SPACE               " csdata-xfeld  Determine and enter order level and channel
      aumgb = SPACE               " csdata-xfeld  Calculate scrap quantity
      aumng = 0                   " stko-bmeng    Scrap quantity
      auskz = SPACE               " csdata-xfeld  Scrap
      bagrp = SPACE               " mara-matnr    Assembly restriction
      beikz = SPACE               " stpo-beikz    Material provision indicator
      bessl = SPACE               " csdata-xfeld  Material provision selection indicator
      bgixo = SPACE               " csdata-xfeld  Load assembly information for exploded assemblies only
      brems = SPACE               " csdata-xfeld  Limited explosion
      capid = 'STD1'              " tc04-capid    Application ID
      cospr = SPACE               " csdata-xfeld  Internal: (CO) order-spec. MatPreRead
      cuobj = 000000000000000     " marc-cuobj    Configuration
      datuv = 00000000            " stko-datuv    Validity date
      delnl = SPACE               " csdata-xfeld  Delete items not kept in stock from list
      emeng = 0                   " stko-bmeng    Required quantity
      erskz = SPACE               " stpo-erskz    Spare part indicator
      erssl = SPACE               " csdata-xfeld  Spare part selection indicator
      fbstp = SPACE               " csdata-xfeld  Limited multi-level - stop explosion at externally procured item
      mbwls = SPACE               " csdata-xfeld  Read material valuation
      mdmps = SPACE               " csdata-xfeld  Limited multi-level - explode phantom assemblies at least
      mehrs = SPACE               " csdata-xfeld  Multi-level explosion
      mkmat = SPACE               " csdata-xfeld  Limited multi-level; explode KMAT
      mmaps = SPACE               " csdata-xfeld  Limited multi-level - explode at least M assembly (M order)
      mmory = SPACE               " csdata-xfeld  Memory use ('1'=on;'0'=off;' '=no reaction)
      mtnrv = SPACE               " mara-matnr    Material
      postp = SPACE               " stpo-postp    Item category
      rndkz = SPACE               " csdata-xfeld  Round off: ' '=always, '1'=never, '2'=only levels > 1
      rvrel = SPACE               " stpo-rvrel    Relevant to sales
      sanfr = SPACE               " stpo-sanfe    Production
      sanin = SPACE               " stpo-sanin    Maintenance
      sanka = SPACE               " stpo-sanka    Costing
      sanko = SPACE               " stpo-sanko    Engineering/design
      sanvs = SPACE               " stpo-sanvs    Shipping
      schgt = SPACE               " stpo-schgt    Bulk material
      stkkz = SPACE               " stpo-stkkz    PM assembly
      stlal = SPACE               " stko-stlal    Alternative BOM
      stlan = SPACE               " stzu-stlan    BOM usage
      werks = SPACE               " marc-werks    Plant
      mdnot = SPACE               " csdata-xfeld  Restriction on MDMPS: do not explode M phantom
      panot = SPACE               " csdata-xfeld  Restriction on MDMPS: no parallel discontinue
      IMPORTING
        topmat =                    " cstmat        Data for start material
        dstst =                     " csdata-xfeld  Structure destroyed by filter
      TABLES
        stb =                       " stpox         Collective item data table
      matcat =                    " cscmat        Material catalog (sub-assemblies)
      EXCEPTIONS
        ALT_NOT_FOUND = 1           "               Alternative not found
        CALL_INVALID = 2            "               Incorrect parameter combination
        MATERIAL_NOT_FOUND = 3      "               Material not found
        MISSING_AUTHORIZATION = 4   "               No authorization (bill of material)
        NO_BOM_FOUND = 5            "               No BOM for this material
        NO_PLANT_DATA = 6           "               Material not maintained in plant
        NO_SUITABLE_BOM_FOUND = 7   "               BOM does not exist
        .  "  CS_BOM_EXPL_MAT_V2

  • Function Modules documentation.

    Hello Hi,
    I'm just wondering if there is any documentations about function modules?
    I am looking at some ABAP codes and it is somehow calling some function modules such as FIAA_DEPR_RECALCULATE, DEPR_RECALCULATE, AM_SHOW_POST_DEPR but I'm not sure what exactly they are doing.
    I know there is SE84 that i can check import / export / tables... but it's not a documentation explaining what the purpose of these function modules are. There is Documentation in the menu, but it always says "Document (function module) is not available in language EN" (I tried DE, but not working either)
    May I ask where I can obtain more information about these?
    thanks in advanced.
    Regards
    Matthew.

    Hi Mathew,
    Not all function modules from SAP will have associated documentation, you will have to first check if the FM is released by SAP or not, this you can do by checking the Released on field on the attributes tab of the FM. If you have a date here, then it means it is released and it will have associated documentation, you can read this by clicking on the documentation button on the application toolbar of SE37.
    For FMs that do not have documentation, and you want to know the functionality of it, sufficient comments are written in the code and these comments are in German most of the times, you might need to use Language on Google tools to translate it to English :).
    Regards,
    Chen
    Edited by: Chen K V on Jul 5, 2011 11:00 AM

  • Examples for using function modules and BApis.

    My Dear FRNDS,
    I am very new to ABAP. And I have read the documentation for  function modules but i am not that clear to practice them.So I would be very happy if u people share a little bit of ur experience with me.
    Please provide me some examples of all the use cases in function modules and specially exception handling.
    Frnds, i am going to work with bapis so i feel practicing function module will give me a edge.
    and please tell me after calling a BAPI FM why we have to perform   'BAPI_TRANSACTION_COMMIT' and 'BAPI_TRANSACTION_ROLLBACK'.
    .Ur efforts  will be greatly rewarded.
    thx,
    reshali

    Hi,
    Please check this sample codes.
    DATA: BAPI_Z05DOGI_DELIVERY LIKE BAPIOBDLVHDRCON-DELIV_NUMB ,
    BAPI_Z05DOGI_HEADER_DATA LIKE BAPIOBDLVHDRCON OCCURS 0 WITH HEADER LINE ,
    BAPI_Z05DOGI_HEADER_CONTROL LIKE BAPIOBDLVHDRCTRLCON OCCURS 0 WITH HEADER LINE,
    BAPI_Z05DOGI_ITEM_DATA LIKE BAPIOBDLVITEMCON OCCURS 0 WITH HEADER LINE,
    BAPI_Z05DOGI_ITEM_CONTROL LIKE BAPIOBDLVITEMCTRLCON OCCURS 0 WITH HEADER LINE ,
    BAPI_Z05DOGI_RETURN LIKE BAPIRET2 OCCURS 0 WITH HEADER LINE .
    CLEAR: BAPI_Z05DOGI_DELIVERY , BAPI_Z05DOGI_HEADER_DATA , BAPI_Z05DOGI_HEADER_CONTROL , BAPI_Z05DOGI_ITEM_DATA ,BAPI_Z05DOGI_ITEM_CONTROL , BAPI_Z05DOGI_RETURN .
    REFRESH: BAPI_Z05DOGI_HEADER_DATA , BAPI_Z05DOGI_HEADER_CONTROL , BAPI_Z05DOGI_ITEM_DATA , BAPI_Z05DOGI_ITEM_CONTROL , BAPI_Z05DOGI_RETURN .
    BAPI_Z05DOGI_DELIVERY = ZMM_WB1-ISSUE .
    BAPI_Z05DOGI_HEADER_DATA-DELIV_NUMB = ZMM_WB1-ISSUE.
    APPEND BAPI_Z05DOGI_HEADER_DATA.
    BAPI_Z05DOGI_HEADER_CONTROL-DELIV_NUMB = ZMM_WB1-ISSUE.
    BAPI_Z05DOGI_HEADER_CONTROL-POST_GI_FLG = 'X'.
    APPEND BAPI_Z05DOGI_HEADER_CONTROL.
    BAPI_Z05DOGI_ITEM_DATA-DELIV_NUMB = ZMM_WB1-ISSUE.
    BAPI_Z05DOGI_ITEM_DATA-DELIV_ITEM = 10.
    BAPI_Z05DOGI_ITEM_DATA-DLV_QTY = LFIMGGIA.
    BAPI_Z05DOGI_ITEM_DATA-SALES_UNIT = XTAB-MEINS.
    BAPI_Z05DOGI_ITEM_DATA-DLV_QTY_IMUNIT = LFIMGGIA.
    BAPI_Z05DOGI_ITEM_DATA-FACT_UNIT_NOM = UMVKZLIPS.
    BAPI_Z05DOGI_ITEM_DATA-FACT_UNIT_DENOM = UMVKNLIPS.
    APPEND BAPI_Z05DOGI_ITEM_DATA.
    BAPI_Z05DOGI_ITEM_CONTROL-DELIV_NUMB = ZMM_WB1-ISSUE.
    BAPI_Z05DOGI_ITEM_CONTROL-DELIV_ITEM = 10.
    BAPI_Z05DOGI_ITEM_CONTROL-CHG_DELQTY = 'X'.
    APPEND BAPI_Z05DOGI_ITEM_CONTROL.
    CALL FUNCTION 'BAPI_OUTB_DELIVERY_CONFIRM_DEC'
    EXPORTING
    DELIVERY = BAPI_Z05DOGI_DELIVERY
    HEADER_DATA = BAPI_Z05DOGI_HEADER_DATA
    HEADER_CONTROL = BAPI_Z05DOGI_HEADER_CONTROL
    TABLES
    ITEM_DATA = BAPI_Z05DOGI_ITEM_DATA
    ITEM_CONTROL = BAPI_Z05DOGI_ITEM_CONTROL
    RETURN = BAPI_Z05DOGI_RETURN.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    EXPORTING
    WAIT = 'X'
    IMPORTING
    RETURN = BAPI_Z05DOGI_RETURN.
    Go thru this link
    http://www.planetsap.com/LIST_ALL_BAPIs.htm
    BAPI_TRANSACTION_COMMIT
    Execute external Commit when using BAPIs
    This method executes a COMMIT WORK command. It is required for
    transactions developed externally to the R/3 System that change data in
    the R/3 System via BAPI calls.
    When you call BAPIs in your program that change data in the R/3 System,
    afterwards you must call this method to write the changes to the
    database.
    COMMIT WORK
    The statement COMMIT WORK completes the current SAP LUW and opens a new one, storing all change requests for the currenta SAP LUW in the process
    there are some FM that we use for creating trasaction . for example FM : that use for creating production order . if you execut the FM , the system will not create any data in the system so you need to excute the FM : BAPI_TRANSACTION_COMMIT to commit that creating the production order .
    in case of commit work, that is a syntax in abap program . if you use this syntax after you insert ,update or delete table in the sap ,system will do it immediately otherwise the system will do it after execution is complete.
    ROLLBACK WORK.
    for confirming or undoing database updates. COMMIT WORK always concludes a database LUW and starts a new one. ROLLBACK WORK always undoes all changes back to the start of the database LUW.
    Regards,
    Raj.

  • Doubt In Function module : Write_Form_Lines in Sap Scripts

    Friends,
      I wanted to know for what purpose the funtion module Write_Form_Lines is used in SAP SCRIPTS.
    Regards
    Yamini

    From SAP documentation:
    The function module outputs the text lines in table LINES into the specified form window. The text lines must have the SAPscript ITF format. From the data in the text header, the system uses only the field TDSTYLE to apply the formatting attributes defined in the specified style for this text. If the field is empty, the system uses the identically named formatting attributes (character and paragraph formats) of the form.
    Use parameter WINDOW to specify into which of the windows defined in the form you want to output the text. You can specify any window used in the form. The parameter FUNCTION determines how to merge the text lines to be output with any existing contents in the window. There are differences between the different window types or areas.
    Prabhu Rajesh.

  • SRM 7 ECS : SC and PO Function Modules

    Hi Gurus,
    Has anybody some documentation about function modules which are triggered in extended classic regarding SC and PO.
    Many thanks in advance.

    What are the FM involved in PO replication to the backend?
    Thanks

  • Documentation about this function module

    ineed Documentation about this function module RP_ANSAL_FROM_PERNR

    Hi Avinash,
    Have a look at the function group program documentation.It gives an idea of what the function module does.
    Short text
    Annual Salary Functionality (ANSAL)
    Description
    This function group contains different functionality for calculating the annual salary, and calculating a period salary from the annual salary.
    The function group evaluates different tables and features:
    Tables
    T503      defines whether an employee is paid on an
              hourly basis or per period
    T510W     defines the time unit
    T511      determines the relevant module from the annual
              salary wage type, rounding, etc.
    T539J     defines the valid wage types for calculating 
              the annual salary
    Features
    ANSAL     defines the annual salary wage type
    PFREQ     number of periods per year
    Old U510F -> use T510F ?
    Thanks
    Lakshman

  • Documentation for SAP function modules??

    Hello,
    is there any documentation for the SAP function modules available?
    I need documentation for SJ01 (SAP Objects). If I try to view the documentation in SE80, I get the error message: "Document OJ_XXX(whatever I selected) is not available in language DE"
    Where can I get this documentation?
    Is there an overview+documentation available somewhere of all SAP functions which may be used for own programs? Or how do I know what's already available and how to use it?
    Thanks
    Steffi

    Hi,
    Go thru this links
    http://sap.ittoolbox.com/topics/t.asp?t=303&p=449&h2=322&h1=303&h3=449
    http://www.erpgenie.com/abap/functions.htm
    Thanks
    Sunil

  • Documentation of the function module RSC1_ZDD_REPLAY_SET

    I am looking for the documentation of the function module RSC1_ZDD_REPLAY_SET but could not find it in any language.
    I am not a ABAP person so I am not familiar with ABAP, but I want to know what this functiond module does so I tried to look for a documentation, but could not.
    Does anyone have any information on this function module?
    Thanks.

    Thanks for the document.
    I think this is what I was looking for.
    So, the function module is used to transfer the monitor information that was collected in the mirror system in the scenario of to minimize the downtime for delta initialization.
    Even though it is an old document, it looks like that this is also applicable to the BW release greater than 2.0B.
    Thanks so much.

  • 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

  • Function module Documentation

    Hi,
    Can anybody send me following function module Documentation.
    LOAN_CHECK_POSTING_PRODUCTTYPE
    LOAN_CHECK_POSTING_VDARL
    LOAN_READ_VDARL
    BSS_CREATE_PAYSPLIT
    LOAN_REFERENCE_READ_OBJECTID
    LOAN_POST
    LOAN_IST_SCHREIBEN
    LOAN_REFERENCE_DELETE
    LOAN_REFERENCE_ADD
    ACCOUNT_REPORT
    Thanks & Regards,
    Ram

    Hi,
    Login the system with language 'DE'.
    Goto SE37--> Give Function Module Name --> Give 'Display' --> Select "Fbausteindokumentation' (Documentation)
    Translate to English using Internet Translation Tools .In Google Language Tools are there.U use it for Translating.
    Otherwise,Just use this link for Translation:
    Select German to English option in the dropdown.
    Put the German text in first box and click Translate then it displays English version.
    http://dictionary.reference.com/translate/
    Regards,
    Padmam.

  • Regarding function module documentation

    when iam clicking the function module documentation.it is displaying message as document function module is not available in EN.How to get the documentation in EN

    Hi Rao,
    Click on the Function module documentation in the application toolbar of function builder, it takes you to either PC editor or Line Editor, enter the corresponding documentation there and activate and come back, now activate your FM, it should work fine.
    Regards:-
    Santosh.D
    P.S. Mark usefull answers

Maybe you are looking for

  • Can't Open iWork '08 Files

    Just downloaded the new pages, keynote, numbers from the app store. Now I can't open any of my files which were all made in iWork '08. It says I need to open the file in iWork '09, but I never had iWork '09, nor is it available now.. Help?

  • Fingerprin​t reader not working after resuming from sleep

    I kind of mentioned this problem in a previous post and was directed here http://www-307.ibm.com/pc/support/site.wss/documen​t.do?sitestyle=lenovo&lndocid=MIGR-67245 which is a patch that could possibly fix it.This patch didn't work. What is happenin

  • Cloud service with iTunes - how does it work?

    May I use "cloud" service to storage my podcasts? (http://selectel.ru/services/cloud-storage/) iTunes doesn't see the link (Bad http error 502)

  • LMS 4.2 user tracking

    Hello, I have a problem with LMS 4.2 user tracking. When I generate a report on all my network all mac address are ok but there is no Hostname/Ip address in the result, except for 2 equipments. the only difference between these 2 equipements and the

  • CUPS 6.0.6 and CUPC 7.0.x DeskPhone Mode not working

    Hi Everyone, we got a Problem when enabling DeskPhone in the CUPC. Serverhealth shows me "invalid credentials". When i take a look at the trace from CTIManager i get the following Errors: CTI|Available Servers (2)|<CLID::StandAloneCluster> CTI|authen