Common ABAP Functions

Source: Internet
Author: User
Tags print format

Dynp_values_read-the value of the screen field. It can also be used to read the selection screen report.

Dypn_valus_update-update the screen Field Value

Get_global_symbols-return the tables, select options, texts, etc of a program. Even text definitions containing selection screen

Rey_dynpro_read-read screen

Dy_get_set_field_value-obtains or sets the value of the screen field.

Rs_refresh_from_selections-get the current selection screen content

Dy_get_focus-obtain the screen focus

Bp_joblog_read-obtains the execution result of the job log.

Get_job_runtime_info-get job-related information

Clpb_import-import the inner mark from the clipboard

Convert_otf-converts an SAP document (SAP script) to another type

Abap_docu_download-download the ABAP document in HTML Format

Arfc_get_tid-returns the terminal IP address in hexadecimal format

Bal _ *-all function modules that contain SAP application logs

Bp_event_raise-trigger an event in the ABAP/4 program

F4if_shlp_exit_example-F4 interface module

Ftp_connect-link to open and log on to the FTP server

Ftp_command-execute a command on the FTP server

Ftp_disconnect-close the link to the FTP server

Get_includetab-obtains the list of DES of a program.

Gui _ Exec-call a file or program

Help_start-displays help for a field

K_werks_of_bukrs_find-return all the factories of a specific company code

Popup_to_confirm_loss_of_data-returns all the factories of a specific company code.

Popup_to_confirm_step-a dialog box is displayed asking whether the operation continues.

Popup_toconfirm_with_message

Popup_to_confirm_with_value

Popup_to_decide

Popup_to_decide_with_message

Popup_to_display_text

Popup_to_select_month-a dialog box is displayed to select a month.

Popup_with_table_display-provide a display of a table for user to select one, with

Value of the Table Line returned when selected.

Conversion_exit _ cunit_output-unit conversion

Cloi_put_sign_in_front-place the minus sign. SAP places the minus sign after the number by default.

Conversion_exit_alpha_input-add 0 before the number string

Conversion_exit_alpha_output-removes 0 before the number string

Bapi_currency_conv_to_internal-convert the reward amount to an internal data format

Bapi_currency_conv_to_external-convert the reward amount to an external data format

Unit_conversion_simple-unit conversion

Sjis_sbc_to_dbc-halfwidth conversion to fullwidth

Sjis_dbc_to_sbc-fullwidth to halfwidth

Text_split-string segmentation

Convert_to_local_currency-convert the amount to the specified currency type at the specified date exchange rate

Convert_otfspooljob_2_pdf-convert otf spool to PDF

Pricng-Get pricing conditions

Profile_get-read a record from the INI File

Profile_set-write a record to the INI File

Read_text-read long text

Save_text upload long text

Registry_get-read a record from the Registry

Registry_set-set a record in the Registry

Rfc_abap_install_and_run-when the mode parameter value is 'F', run the program in the progam table.

Rh_get_active_wf_plvar-get activated HR plan

Rh_struc_get-returns information about all relevant organizations.

Rp_calc_date_in_interval-addition and subtraction of year, month, and day

Date_check_plausibility-check validity from day

Sd_datetime_difference-difference between two dates

Date_convert_to_factorydate-convert the input date to the factory calendar date

Month_names_get-Get all months and names

F4_date-display a calendar in a window. You can select a date.

Rp_last_day_of_months-get the last day of a month

First_day_in_period_get-First day of the obtained Period

Last_dat_in_period_get-Get End Time

Date_get_week-returns the number of weeks of a date.

Holiday_get-provides a daily table based on the factory calendar or calendar days.

Rs_variant_contents-Get Program Variant Information

Rs_change_created_variant-modify the program variant Information

Rzl_sleep-suspends the current program

Enque_sleep-Wait for a specified time before processing.

Enqueue_esfunction-lock an ABAP program so that it cannot be executed:

Be sure not to use the SY-REPID to pass your report name, when the SY-REPID is passed to the function module as a parameter, the SY-REPID has actually changed

Rzl_submit-Submit a remote report

Gui_upload-upload a file to the server

Gui_download-download an object to a local device

File_get_name-obtain the physical file path and file name from the logical file name

Filename_get-a file selection dialog box is displayed.

So_split_file_and_path-Splits a full file name containing a path into a file name and Path

Eps_get_file_attributes-Get File Attributes

Rzl_read_dir_local-read the Application Server Directory

Gui_create_directory-create a directory on the Display Server

Gui_delete_file-delete an object on the Display Server

Upload_files-upload one or more files

Ms_excel_ole_standard_ole-create a file and automatically start Excel

Gui_remove_directory-delete a directory from the Display Server

Esp_get_directory_listing-returns a list of files in a local or network directory.

Rzl_read_dir-if the left part of the server name is blank, read the local directory; otherwise, read the remote server directory.

Rzl_read_file-if the server name is specified, the local file is read; otherwise, the Remote Server File is read.

Rzl_write_file_local-Save the internal label to the Display Server (not PC ). Authorization check is avoided because the open dataset is not used.

Sapgui_progress_indicator-displays a progress bar

Rpy_transaction_read-given a transaction code to get its program and screen: or given a program and screen to get the transaction code

Scrolling_in_table-you can use it to process scrolling when writing a module pool.

So_new_document_att_send_api1-send a document as part of the email

So_spool_read-obtain the printer spool Based on the spool number.

So_wind_spool_list-view the printer spool number based on the user

LIST-TO_ASCII-converting ABAP reports from OTF to asscii

Sx_object_convert_oft_pdf-converting from oft to PDF (SAP script conversion)

Sx_object_convert_oft_prt-convert from OTF to print format (SAP script conversion)

Sx_object_convert_oft_raw-convert from OTF to ASCII (SAP script conversion)

Sxpg_call_system-check whether the user has the permission to execute a command

Sxpg_command_list_get-get a list of all defined external OS commands

Sxpg_command_definition_get-Definition of reading a single external so command from the R/3 System Database

Sxpg_command_check-check whether the user has the permission to execute a command

Sxpg_command _ execute-check whether the user has the permission to execute a command. if the user has the permission to execute a command, execute the command.

Terminal_id_get-return terminal ID

Th_delete_user-remove a user, with the same effect as smo4

Th_environment-obtain the Unix environment

Th_popup-display a system message on the screen of a specific user

Th_remote_transaction-run the transaction code on the remote server

Th_user_info-get the information of the current user (Session, login workbench, etc)

Th_user_list-display the list of users logging on to the Application Server

Write_list-display a list object

Ws_excel-start Excel

Ws_volume_get-Get terminal device tags

Www_list_to_html-after running a report, call this method to convert the list output to HTML

Sd_vbap_read_with_vbeln-read the information in table vbap according to the sales order

Co_ro_check_decimal_point-check the decimal places of data based on the unit

Postal_code_check-check the zip code

View_maintenance_call-maintain the label chart

F4if_int_table_value_request

Terminal_id_get-Get terminal ID

Message_text_build-convert messages to text

Ssf_function_module_name-smarform)

Sef_function_module_name smartforms-generate a function name when outputting the report, and then call the name

Rs_coverpage_selections-obtain a list of select parameters for a report

Rslg_write_syslog_entry-write a record to syslog

Rspo_sx_output_textdata-output data from the internal table to spool

Alsm_excel_to_internal_table-upload an Excel file to an internal table

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.