您的位置:首页 > 其它

常用的SAP标准函数

2015-12-24 09:05 881 查看
Function ModuleDescription
ABAP4_CALL_TRANSACTIONCall transaction code, also see SAPGUI_SET_FUNCTIONCODE
ADDR_PERS_COMP_COMM_GETGet additional user address details not retrived by SUSR_USER_ADDRESS_READ (i.e. email address)
BAPI_COMPANYCODE_GET_PERIODRetrieve fiscal year and payrole period (based on date and company code)
CALCULATE_DATEIncrease/decrease DATE by a specific number of Days/Months
CONVERT_DATE_TO_EXTERNALConverts date from system storage format to users specified display format
CREATE_TEXTSCreate standard texts (i.e. PO headers texts)
CURRENCY_AMOUNT_SAP_TO_DISPLAYConvert currency value from value stored in SAP to displayed currency
CURRENCY_AMOUNT_DISPLAY_TO_SAPConvert currency value from displayed currency value to value stored in SAP
CLPB_EXPORTExport files to clipboard
CLBP_IMPORTCopies clipboard into table
DATE_COMPUTE_DAYReturns day of the week for a particular date(1=Monday, 5=Friday etc.)
DATE_TO_DAYReturns day of the week for a particular date('Monday', 'Friday', 'Sat.')
ENQUEUE_READReturns list if active lock objects
DETERMINE_PERIODRetrieve fiscal year and payrole period (Note: verision parameter is fiscal year varient from table T009)
DYNP_VALUES_UPDATEReturn values (i.e. from an F4 value request) into respective fields on a dynpro.
F4IF_INT_TABLE_VALUE_REQUESTDisplay internal table as search help (documented in SAP)
FILE_GET_NAMERetrieve Logical file path. Use Transaction 'FILE' to view/create logical file paths
FTI_FISCAL_YEAR_MONTH_GETReturns fiscal year for specific date
GUI_DOWNLOAD, WS_DOWNLOAD, DOWNLOADDownload file to PC
GUI_UPLOAD, WS_UPLOAD, UPLOADUpload file from PC
HR_SEN_CRULE_0100_DATEIncrease/decrease DATE by a specific number of Days/Months/Years
JOB_OPEN, JOB_SUBMIT, JOB_CLOSECreate and submit background jobs.
MESSAGE_TEXT_BUILDBuilds actual message based on info returned from Call transaction
NUMBER_GET_NEXTGet the next unique number in a number range. Use tcode SNRO for maintaining number ranges.
NUMBER_CHECKCheck if number is within a number range (see tcode SNRO)
NUMBER_GET_INFOGet info about number range (see tcode SNRO).
POPUP*Display Pop-up Screen(s)
READ_TEXTSRetrive standard texts (i.e. PO headers texts)
READ_EXCHANGE_RATERetrieve exchange rate on a particular date
RS_CREATE_VARIANTCreating a Report Variant
RS_VARIANT_CONTENTSReturns contents of a variant, is also useful as the result lists all variable names that could be set on screen.
RZL_READ_DIR_LOCALGet list of files within specific directory(Application Server)
SAPGUI_SET_FUNCTIONCODEExecute SAP function code. Can also be used to execute transaction code by using '/o' i.e. '/OSE80'.
STUM_WP_TOTAL_ACTIVITYRetrieves list of all process from all servers (i.e. SM50, SM66). Also returns a second table, containing a list of all the servers.
STUM_WP_SERVER_ACTIVITYS & EW_TH_WPINFORetrieves list of processes on current server.
SUSR_USER_ADDRESS_READGet user address details stored under 'Own data'
SUSR_USER_PARAMETERS_GETGet user parameter details stored under 'Own data'
SUSR_USER_DISPLAY_WITH_AUTHSDisplays user authorisation objects (Note: may have to debug around authority checks)
SUSR_USER_AGR_ACTIVITYGR_GETGet users activity group details
SUSR_SYNC_USER_TABLESSync USR tables
SXPG_COMMAND_EXECUTEExecute external command(FTP data in & out of SAP)
TH_POPUPDisplay Windows Message on Users Screen
WS_EXECUTEExecute External Program
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: