Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

function modules

Former Member
0 Likes
1,783

hi ,

can any body tell me wat are all the functional modules in abap.

12 REPLIES 12
Read only

0 Likes
1,624

thanks alot for ur reply

Read only

Former Member
0 Likes
1,624

Hi Kalyan

Lot of Function Modules available in ABAP. Go to Se 37 and search the function modules using *. you will get all FMs. check one by one.

Thanks

Read only

0 Likes
1,624

thanks a lot for ur reply

Read only

Former Member
0 Likes
1,624

List of ABAP Functions ABAP_DOCU_DOWNLOAD Download ABAP documentation in HTML format.

APPL_LOG_DELETE With this function module you delete logs in the database according to specified selection conditions

APPL_LOG_DISPLAY With this function module you can analyze logs in the database.

APPL_LOG_DISPLAY_INTERN With this function module you can analyze logs in local memory, e.g. when you have only collected log records at runtime and do not want to write to the database.

APPL_LOG_INIT This function module checks whether the specified object or sub-object exists and deletes all existing associated data in local memory.

APPL_LOG_READ_DB With this function module you read the log data in the database for an object or sub-object according to specified selection conditions.

APPL_LOG_READ_INTERN With this function module you read all log data whose log class has at least the specified value, from local memory, for the specified object or sub-object.

APPL_LOG_SET_OBJECT With this function module, you create a new object or sub-object for writing in local memory. With a flag you can control whether the APPL_LOG_WRITE_... messages are written in local memory or are output on the screen.

APPL_LOG_WRITE_DB With this function module you write all data for the specified object or sub-object in local memory to the database. If the log for the object or sub-object in question is new, the log number is returned to the calling program.

APPL_LOG_WRITE_HEADER With this function module, you write the log header data in local memory.

APPL_LOG_WRITE_LOG_PARAMETERS With this function module, you write the name of the log parameters and the associated values for the specified object or sub-object in local memory. If this function module is called repeatedly for the same object or sub-object, the existing parameters are updated accordingly. If you do not specify an object or sub-object with the call, the most recently used is assumed.

APPL_LOG_WRITE_MESSAGE_PARAMS With this function module you write a single message, with parameters, in local memory. Otherwise the function module works like APPL_LOG_WRITE_SINGLE_MESSAGE.

APPL_LOG_WRITE_MESSAGES With this function module you write one or more messages, without parameters, in local memory.

APPL_LOG_WRITE_SINGLE_MESSAGE With this function module you write a single message, without parameters, in local memory. If no header entry has yet been written for the object or sub-object, it is created. If you do not specify an object or sub-object with the call, the most recently used is assumed.

ARFC_GET_TID will return the IP address of the terminal in hex.

BAL_CNTL_CREATE Create Control for log display

BAL_CNTL_FREE Release Control

BAL_CNTL_REFRESH Put new data in log display

BAL_DB_DELETE Delete logs from the database

BAL_DB_DEQUEUE Unlock log

BAL_DB_ENQUEUE Lock log

BAL_DB_LOAD Load logs from the database

BAL_DB_LOAD Load log(s)

BAL_DB_SAVE Save logs in the database

BAL_DB_SAVE Save log(s)

BAL_DB_SAVE_PREPARE Prepare save

BAL_DB_SEARCH Find logs in the database

BAL_DSP_LOG_DISPLAY Display messages in memory

BAL_DSP_LOG_DISPLAY Display Log

BAL_DSP_LOG_PARAMETERS Either output extended long text or call a callback routine (based on the data in BAL_S_LOG-PARAMS)

BAL_DSP_LOG_TECHNICAL_DATA Output all log header data

BAL_DSP_MSG_LONGTEXT Display message long text

BAL_DSP_MSG_PARAMETERS Either output extended long text or call a callback routine (based on the data in BAL_S_MSG-PARAMS)

BAL_DSP_MSG_TECHNICAL_DATA Output technical data of a message such as work area, error number, etc.

BAL_DSP_OUTPUT_FREE End output

BAL_DSP_OUTPUT_INIT Initialize output

BAL_DSP_OUTPUT_SET_DATA Set dataset to be displayed

BAL_DSP_PROFILE_DETLEVEL_GET Message hierarchy in DETLEVEL

BAL_DSP_PROFILE_NO_TREE_GET Display without tree (fullscreen)

BAL_DSP_PROFILE_POPUP_GET Display without tree (popup)

BAL_DSP_PROFILE_SINGLE_LOG_GET Standard profile (SLG1) for one log

BAL_DSP_PROFILE_STANDARD_GET Standard profile (SLG1) for a lot of logs

BAL_GLB_AUTHORIZATION_GET Assign authorization

BAL_GLB_AUTHORIZATION_RESET Reset authorization

BAL_GLB_CONFIG_GET Read configuration

BAL_GLB_CONFIG_SET Set configuration

BAL_GLB_MEMORY_EXPORT Put function group memory in ABAP-MEMORY

BAL_GLB_MEMORY_IMPORT Get function group memory from ABAP-MEMORY

BAL_GLB_MEMORY_REFRESH (Partially) reset global memory

BAL_GLB_MEMORY_REFRESH (Partially) initialize memory

BAL_GLB_MSG_CURRENT_HANDLE_GET Get current message handle

BAL_GLB_MSG_DEFAULTS_GET Get message defaults

BAL_GLB_SEARCH_LOG Find logs in memory

BAL_GLB_SEARCH_MSG Find messages in memory

BAL_LOG_CREATE Create log with header data

BAL_LOG_CREATE Create log with header data

BAL_LOG_DELETE Delete log (from database also at Save)

BAL_LOG_EXIST Check existence of a log in memory

BAL_LOG_HDR_CHANGE Change log header

BAL_LOG_HDR_CHECK Check log header data for consistency

BAL_LOG_HDR_READ Read log header and other data

BAL_LOG_MSG_ADD Put message in log

BAL_LOG_MSG_ADD Put message in log

BAL_LOG_MSG_CHANGE Change message

BAL_LOG_MSG_CHANGE Change message

BAL_LOG_MSG_CHECK Check message data for consistency

BAL_LOG_MSG_CUMULATE Add message cumulated

BAL_LOG_MSG_DELETE Delete message

BAL_LOG_MSG_DELETE Delete message

BAL_LOG_MSG_EXIST Check existence of a message in memory

BAL_LOG_MSG_READ Read message and other data

BAL_LOG_MSG_REPLACE Replace last message

BAL_LOG_REFRESH Delete log from memory

BAL_LOG_REFRESH Delete log from memory

BAL_MSG_DISPLAY_ABAP Output message as ABAP-MESSAGE

BAL_OBJECT_SELECT Read Application Log objects table record

BAL_OBJECT_SUBOBJECT Check whether object and subobject exist and the combination is allowed

BAL_SUBOBJECT_SELECT Read subobject table record

BP_EVENT_RAISE Trigger an event from ABAP/4 program

BP_JOBLOG_READ Fetch job log executions

CHANGEDOCUMENT_READ_HEADERS Get the change document header for a sales document, and put the results in an internal table.

Reward points if useful

Read only

0 Likes
1,624

thanks alot for ur reply

Read only

Former Member
0 Likes
1,624

Hi,

Go into transaction SE37, enter * in the name field and press F4 then choose 'Information system'. By default the list will only have 200 entries, so change the maximum no. of hits to a bigger number. Then wait a long time, and if it doesn't time out you'll get a list of all the function modules in your system.

Now reserve yourself a REALLY long time to read the whole list.

Regards,

Nick

Read only

Former Member
0 Likes
1,624

Hi,

Function Modules for creating programs (Useful when you are generating programs)

RS_PROGRAM_CHECK_NAME : To check program names if you are generating them.

RS_CORR_INSERT : To insert the correction request in the repository.

REPS_OBJECT_ACTIVATE : To activate repository objects, for example - to activate a newly generated program.

RS_DELETE_PROGRAM : To delete the program.

RS_ACCESS_PERMISSION : To lock or unlock a program.

Function Modules related to Date and Time Calculations

CALCULATE_DATE : Calculates the future date based on the input .

DATE_TO_DAY : Returns the Day for the entered date.

DATE_COMPUTE_DAY : Returns weekday for a date

DATE_GET_WEEK : Returns week for a date

RP_CALC_DATE_IN_INTERVAL : Add days / months to a date

Function Modules related to (ALV) ADVANCED LIST VIEWER

REUSE_ALV_LIST_DISPLAY : ABAP List viewer (LIST DISPLAY)

REUSE_ALV_GRID_DISPLAY : ALV GridControl full screen

REUSE_ALV_FIELDCATALOG_MERGE : Create field catalog from dictionary structure or internal table

Function Module related to Change Tracking

CHANGEDOCUMENT_READ_HEADERS : Read and format change documents

DAY_ATTRIBUTES_GET : Returns attributes for a range of dates specified

MONTHS_BETWEEN_TWO_DATES : To get the number of months between the two dates.

END_OF_MONTH_DETERMINE_2 : Determines the End of a Month.

HR_HK_DIFF_BT_2_DATES : Find the difference between two dates in years, months and days.

FIMA_DAYS_AND_MONTHS_AND_YEARS : Find the difference between two dates in years, months and days.

MONTH_NAMES_GET : Get the names of the month

WEEK_GET_FIRST_DAY : Get the first day of the week

HRGPBS_HESA_DATE_FORMAT : Format the date in dd/mm/yyyy format

SD_CALC_DURATION_FROM_DATETIME : Find the difference between two date/time and report the difference in hours

L_MC_TIME_DIFFERENCE : Find the time difference between two date/time

HR_99S_INTERVAL_BETWEEN_DATES : Difference between two dates in days, weeks, months

LAST_DAY_OF_MONTHS : Returns the last day of the month

DATE_CHECK_PLAUSIBILITY :Check for the invalid date.

DATE_2D_TO_4D_CONVERSION :Year entry: 2-character to 4-character.

DAY_IN_WEEK :Input date and will give the name of the day 1-monday,2-Tuesday....

SD_DATETIME_DIFFERENCE : Give the difference in Days and Time for 2 dates

Function Modules Related To Formatting

CLOI_PUT_SIGN_IN_FRONT : Displays the negative sign in front of the numeral

RKD_WORD_WRAP : Wrap text into several lines

CONVERSION_EXIT_ALPHA_INPUT : Pad zeros to the number at the left

CONVERSION_EXIT_ALPHA_OUTPUT : Eliminate zeros to the number at the left

READ_EXCHANGE_RATE : Exchange Convertion

SPELL_AMOUNT: Transforms numeric values into text

Function Modules Related To Dialog Prompts

POPUP_TO_CONFIRM : Displays a popup dialog with a user defined message for confirmation

POPUP_TO_GET_VALUE : Displays a popup dialog requesting a value for a particular table-fieldname

SAPGUI_PROGRESS_INDICATOR : Displays a progress bar with text to denote the percentage of completion and status

FILENAME_GET : Displays a popup dialog to get the presentation server filename

F4_DATE : Displays a popup dialog to choose date

GUI_UPLOAD : Upload a file from the presentation server

POPUP_TO_SELECT_MONTH : Display a pop-up to select a month

GET_PRINT_PARAMETERS : Printer parameters

Function modules related to RFC communication

RFC_CONNECTION_CLOSE : Close a RFC connection

RFC_GET_SYSTEM_INFO : Give system's information of a remote system

Function modules related to reading/writing files

FILE_READ_AND_CONVERT_SAP_DATA: Uploads the file from either presentation or application server into an internal table

SUBST_GET_FILE_LIST: To get the list of files from Application Server.

ALSM_EXCEL_TO_INTERNAL_TABLE : Legacy Data Transfer w/ Excel

WS_FILE_DELETE : Delete files on UNIX server

PFL_COPY_OS_FILE : Copy UNIX files

EPS_GET_DIRECTORY_LISTING : Returns all files from a Server directory

Function Modules related to sending emails

SO_NEW_DOCUMENT_ATT_SEND_API1 - Sends emails with texts and attachments

SO_NEW_DOCUMENT_SEND_API1 - Sends emails with texts.

Function Modules related to F4 Help

F4IF_INT_TABLE_VALUE_REQUEST - F4 help also returning the value to be displayed in internal table

Function Modules related to data maintenance

VIEW_MAINTENANCE_CALL - To maintain data from a table

Function Modules related to FI, CO and SD Modules

FOR_ALL_SKC1A : Account subtotal

VC_I_GET_CONFIGURATION : Sales Purchase details configuration

SD_PRINT_TERMS_OF_PAYMENT : Print terms for unique payment

SD_PRINT_TERMS_OF_PAYMENT_SPLI : Print terms for some parcels payment

J_1B_NF_DOCUMENT_READ : Read NF details

J_1B_NF_VALUE_DETERMINATION : Read values from NF returned combined with J_1B_NF_DOCUMENT_READ using.

Amount and Currency

CURRENCY_AMOUNT_SAP_TO_IDOC - Convert currency to IDOC format

CONVERT_TO_LOCAL_CURRENCY - Conversion of currency

CLOI_PUT_SIGN_IN_FRONT Move the negative sign from the left hand side of a number, to the right hand side of the number. Note that The result will be left justified (like all

character fields), not right justifed as numbers normally are.

CONVERT_TO_FOREIGN_CURRENCY Convert local currency to foreign currency.

CONVERT_TO_LOCAL_CURRENCY Convert from foreign currency to local currency

Regards,

Priya.

Read only

Former Member
0 Likes
1,624

Hi,

there is a database table for function modules i.e. TFDIR,

u'll come to know all the function modules which are there in sap by executing this 'TFDIR' table in T.code se11.

seshu.

Read only

0 Likes
1,624

thanks a lot for ur reply.

Read only

Former Member
0 Likes
1,624

HI,

1. GOTO sE11

2. TABLES TFDIR

3. Execute

u can fine all the function modules.

Regards,

kavitha.k

Read only

0 Likes
1,624

thanks a lot for ur reply