Menu

SAP Function Module SRM_DOCUMENT_CHECKIN_VIA_FILE

SRM: Set Content with File Transfer

The Function Module SRM_DOCUMENT_CHECKIN_VIA_FILE (SRM: Set Content with File Transfer) is a standard Function Module in SAP ERP and is part of the function group SRM_BAPI_DOCUMENT within the package SRM_BAPI_DOCUMENT.

Technical Information

Function Module SRM_DOCUMENT_CHECKIN_VIA_FILE
Short Text SRM: Set Content with File Transfer
Function Group SRM_BAPI_DOCUMENT
Package SRM_BAPI_DOCUMENT
Module Type Normal Module

Importing Parameters

These are the IMPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
AS_NEW_VERSION LIKE BAPISRMDOC-BOOLEAN 'X': Check In as New Version
DOCUMENTCLASS LIKE BAPISRMDOC-DOCCLASS Location of Document
DOC_CONTEXT LIKE BAPIDOCCONTEXT Access Context: RMS ID and SPS ID
DO_COMMIT LIKE BAPISRMDOC-BOOLEAN 'X': Commit after Changing Attribute
OBJECTID LIKE BAPISRMDOC-GUID Internal Document ID

Exporting Parameters

These are the EXPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
RETURN TYPE BAPIRET2 Return Parameter
X_NEW_DOC_CREATED TYPE BAPISRMDOC-BOOLEAN Boolean

Changing Parameters

This function module does not define any CHANGING parameters.

Table Parameters

These are the TABLE parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
FILE_TAB LIKE BAPIDOCFILES Table of Document Files

Exceptions

These are the Exceptions of this function module.

Exception Name Short Text
DOC_NOT_FOUND Document Not Found
INTERNAL_ERROR Internal Error
NOT_AUTHORIZED No Authorization
PARAMETER_ERROR Parameter error
YET_LOCKED Document locked by other user