Besst way to find a function module

Hi there
I am quiet new to ABAP and I am curiouse about how to best approach the search for a function module??
can u guys please tell me how you search for functions modules that preform a specific task.
For example if I search for a function module that would display a itab in an alv grid, how would I do that?
Thanks,
Nana

Hi Nana Lohmanns 
Generic way of Finding the function module is only to go to se37 type any combination like ALV na dpress F4.
You will get name of function modules along with short text,then you can try the one you think as useful.
Like when you are looking for a Function module which can perform Operation on DATE.go to SE37 Type _DATE then press F4.You will get list of Function modules like:
<b>DATE_CHECK_PLAUSIBILITY</b>: Check to see if a date is in a valid format for SAP. Works well when validating dates being passed in from other systems.
<b>DATE_COMPUTE_DAY</b>: Returns a number indicating what day of the week the date falls on. Monday is returned as a 1, Tuesday as 2, etc.
<b>DATE_GET_WEEK</b> :will return the week that a date is in.
<b>DATE_IN_FUTURE</b>: Calculate a date N days in the future.
Visit this link also,That will also be helpful for you,to get feel of Some Common Function MOdules.
http://www.sapgenie.com/abap/functions.htm
Close the thread,If your Question is answered.
Regards,
Vijay Raheja

Similar Messages

  • How to find which function module write the relevant idoctype?

    Dear All,
    how to find which function module write the relevant idoctype?

    Hi,
    Generally the function modules of the idoc types are having a naming convention as IDOC_INPUT for inbound processing and IDOC_OUTPUT for outbound processing followed by the idoc type name
    for example : For IDOC type ORDERS
    the inbound function module will be IDOC_INPUT_ORDERS and for outbound IDOC_OUTPUT_ORDERSP
    In this way you can find the function module for a particular IDOC
    P.S: Hope this is what you have asked for
    Regards
    Sarves

  • I am trying to find a function module or BAPI for internal order change. I

    I am trying to find a function module or BAPI for internal order change. I did come across a function module ALE_INTERNALORDER_DB_CHANGE which directly updates the internal order using insert statements. Can i use this for internal order change or this is any other Function module for updating the internal order.
    I dont want to use BDC as a option. Please suggest.

    This is possible using the Rotator Component Widget from Infosemantics.com.au but it is only compatible with  SWF output, not HTML5.
    Go to this page and scroll down to the video tutorials about the Rotator Component widget:
    http://www.infosemantics.com.au/adobe-captivate/youtube-video-tutorials

  • How to find Obsolete function modules ?

    Hi ,
    I am working on upgrade project R/3 4.6 to ECC 6.0 . I need to find obsolete function modules in program . I already have list of obsolete  FM .Is there any program or logic through which we can find all obsolete FM at single execution.
    Thanks & Regards
    Sandeep

    Hello Sandeep,
    I'm not sure if there's a standard report/program to list obsolete function modules, but you can manually check them in table RODIR (via SE16 transaction) - there's a flag properly called 'OBSOLETE'
    FYI, table TFDIR contains the FMs that were released.
    There are some notes which provid additional information on this topi:
    #109533: Use of SAP function modules
    #857904: Upgrade from Release 6.40 to 7.0 for customer programs
    #595310: ws_filename_get function module is obsolete
    Please be aware that those FMs are still there - all applications will have the old function modules installed for
    backwards compatibility and legacy reasons. However if you are writing your own code, these function modules will still be available, but not supported by SAP Support.
    I hope this information help you.
    Best regards,
    Tomas Black

  • Finding a Function Module

    hi,
    do you know a Function Module named something like bbp_complete_items_from_ref.
    Please help me to find the Function Module .
    Reagards
    Ilhan

    Hi,
    You can find any function module please follow the below process-
    Goto TCode SE37-->Give the name of the FM in part or full like
    ITSDELETE* and press F4.
    System will give you the list of all the FM which contain these above words.
    Regards,
    Sachin

  • How to find the function module for standard tables.

    Hi
    Could any one please tell me how to find the standard function module to update the standard tables
    Thanks & Regards
    Sowmya

    Hi sowmya,
    To find the function modules for standard tables you go for a where used list of that particular table and check only function module interfaces checkbox...
    and more over you can go for DB_UPDATE_TABLE will be the function module for updating database table..
    Hope this information would help you
    Regards
    Narin Nandivada

  • How to find standard function modules for IDOCs

    Hi,
    Can anyone tell me is there any way to find the standard function module for IDOC. I have checked BD60 but it's not available. For example  Idoc type WPUBON01 and I need to know the function module. Can anyone tell me the way out.
    Secondly, if anyone can provide me the code to map the file fields and idoc segements.
    Regards

    Use WE82 to find message type associated with Idoc type.
    Then use this message type as a search string to find the FM.
    The associated FMs are.
    POSED_FILL_OVERVIEW_ENT_WPUBON
    POSED_INIT_DATA_WPUBON       
    POSED_LOCK_DATA_WPUBON       
    POSED_OVERVIEW_ASSIGN_WPUBON 
    POSED_READ_DATA_FROM_DB_WPUBON
    POSED_READ_TR_DATA_WPUBON    
    POSED_SAVE_DATA_WPUBON       
    POSED_SEARCH_STRING_WPUBON   
    POSED_STORE_DATA_WPUBON      
    POSED_UNLOCK_DATA_WPUBON     
    POSED_UPDATE_DATA_WPUBON     
    POSED_UPDATE_TR_DATA_WPUBON  
    Thanks,
    Utsah Garg.

  • How to find the Function module name

    Hi,
         Use the appropriate function module to get the manager.  (Z_GET_MANAGER )
    OR:  Given the Org Unit,  find the Manager  for that Organization.  Relationship  O – B012 – S   gives the position of the Manager.
    for that we used  HRP1001 table in that fields
    OTYPE = O,  RSIGN = B, RELAT =012.
    This is the Job that desribes the position,  relationship  S – B007 – C.
    Use the appropriate Function Module to find the Job?witch table it willbe???
    Thanks & Regards
    Kavitha

    use table HRP1001 or FM RH_GET_LEADING_POSITION. this will give the position of the manager. now from PA0001 get the manager name by using this position(PLANS).
    You can also use FM - RH_GET_LEADER
    Regards,
    Amit
    Reward all helpful replies.

  • Wher do find the function modules

    hi all there are 5000 preexiting function groups and 30,000 function modules and more they say....... my question is where do we find them ? and is it explained in there ........how do we know their purpose....
                                                                                    thnk you
                                                                                    santo.
    Message was edited by:
            santhosh jagannathan

    Well -- have you ACTUALLY tried doing  this. Most of the time you'll get  a SAP message  "Document Function module name in Language EN (or whatever) doesn't exist.
    (Some of the newer fmods do have some documentation as well as the BAPI's but great swathes of the old FM's don't).
    That still also doesn't relate to the original point --there isn't any point in learning what all these do --you are simply wasting "Brain Power and capacity".
    It's much better to find out when you've got real problems to sort out or processes to analyze.
    That's one of the HUGE differences between experienced developers and relative newbies.
    With SAP there really is TOO MUCH info to absorb totally - especially in a short time.
    Pick your area and just go through the forums, google, use colleagues etc etc.
    The fact that i might know what a quantum computer is or that function module xxxxxx is used in say the PP module won't make me per-se a better devloper.
    Cheers
    jimbo

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

  • How to find IDOC Function Module for Basic Type:ORDERS05

    Hi,
    What is the Transaction Code to locate the Function Module linked to the IDOC Basic Type & IDOC Message Type?
    Appreciate Your Help.
    Thanks,
    Kannan.

    Hi Seshu,
    Thanks for your reply. While creating a Custom IDOC, How do I link the IDOC Function Module and Basic Type. Appreciate Your Help.
    Thanks,
    Kannan.

  • Process to find out tables & functional module

    Hi,
    I would like to know the process to find out tables for configured objects not the master data objects and also the process for finding a functional module for particular application like action.
    regards Srinath

    Hi
    There is no direct way to see this.
    You need to Pick the Program(Se37/38) and tables (SE16/11)and to see where its been used
    The FM for RSZDELETE is RSZ_DB_COMP_REORG_AS_POPUP.
    Hope it helps

  • Function module to find time difference

    Can any body help me to find the function module to find the time diff: between two times, time is in 24hrs

    Hi again,
    1. Difference is always returned in SECONDS.
    2. use this code (just copy paste in new program)
    REPORT abc.
    data : t1 type sy-uzeit.
    data : t2 type sy-uzeit.
    DATA : DIFF TYPE I.
    t1 = '090000'.
    t2 = '100000'.
    DIFF = T2 - T1.
    WRITE :/ DIFF.
    regards,
    amit m.

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

Maybe you are looking for