Standard Function Module :- text processing,Workflow,Smartforms/Sapscript,SD,Application Log Maintenance

(1) Miscellaneous

(i)VIEW_MAINTENANCE_CALL Call of the complete maintenance dialog- just like SM30

(ii)ABAP_DOCU_DOWNLOAD Download ABAP documentation in HTML format.

(iii)AUTHORITY_CHECK_TCODE checks whether a user has authorisation to a transaction.

(iv)STATUS_TEXT_EDIT This gets the statuses of the document like Work Orders.

(v)WFMC_MESSAGE_SINGLE Pass the NAST as the parameter and get the print.

(vi)FIEB_PASSWORD_ENCRYPT

(vi)FIEB_PASSWORD_DECRYPT

(2)Text Processing

(i)READ_TEXT Read long text of an object into an internal table

(ii)SAVE_TEXT Create or change long text for an object

(iii)DELETE_TEXT Delete long text of an object

(iv)EDIT_TEXT_INLINE Edit online the long text of an object

(v)READ_TEXT_INLINE Called before EDIT_TEXT_INLINE to get the long text

(vi)LIST_TO_ASCI
Stores the report output into an internal table. This can be used to capture a list output and send it via email.

(3)Workflow

(i)SWE_EVENT_CREATE Create an event from any application or system program
(ii)SWE_TEMPLATE Function group for holding templates. The FM’s in this can be copied to create various FM’s required for workflow programming
(iii)BAPI_ORGUNITEXT_DATA_GET Get data on organizational unit, returns the organizational structure in an internal table., This can be used for agent determination.

(4)Smartforms/Sapscript

(i)SSF_FUNCTION_MODULE_NAME Used in Smartforms. This FM is calle din a print program. It generates a function module which is actually a generation of the SMARTFORMS which can be called in print program.

(5)SD

(i)CO_ZF_ORDER_LOCK_MULTI Checks if the order is locked. Check sy-msg2 and sy-msg1 to check if the order was locked.
(ii)MD_STOCK_REQUIREMENTS_LIST_API Determines material stock availability for in the supply plant. The result should be similar to MD04.

(6)Application Log Maintenance

(i)APPL_LOG_DELETE With this function module you delete logs in the database according to specified selection conditions
(ii)APPL_LOG_DISPLAY With this function module you can analyze logs in the database.
(iii)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.
(iv)APPL_LOG_INIT This function module checks whether the specified object or sub-object exists and deletes all existing associated data in local memory.
(v)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.
(vi)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.
(vii)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

(viii)APPL_LOG_WRITE_… messages are written in local memory or are output on the screen.
(ix)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.
(x)APPL_LOG_WRITE_HEADER With this function module, you write the log header data in local memory.
(xi)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.
(xii)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
(xiv)APPL_LOG_WRITE_SINGLE_MESSAGE.
(xv)APPL_LOG_WRITE_MESSAGES With this function module you write one or more messages, without parameters, in local memory.
(xvi)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.

Leave a comment