GET_ATTACHMENT_FOLDER SAP Method Get attachment folder data









Below is documentation, parameters and attributes of ABAP Method GET_ATTACHMENT_FOLDER within SAP class /SCMTMS/CL_CFIR_CRT_REQ_ASSIST. There is also a number of example ABAP code snipts to help you use the functionality of this method.

This is a private Method so can only be executed from within the class itself. I.e. You could access it from another method of the class.

This method is available within SAP systems depending on your version and release level, you can view further information by entering the class name /SCMTMS/CL_CFIR_CRT_REQ_ASSIST into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.


Method Type - Instance

This is an Instance Method so needs to be instantiated first before you can access any of the methods. I.e. you need to create a local variable of TYPE ref to the class.

The following technical details of method GET_ATTACHMENT_FOLDER can also be found below:

  • Importing parameters
  • Exporting parameters
  • Changing parameters
  • Returning parameters
  • Exceptions
  • Coding Examples


Parameters of Method GET_ATTACHMENT_FOLDER

.

NameTypeData TypeDescriptionDefault Value
IT_KEYImportingTYPE
/BOBF/T_FRW_KEY
Key Table
IV_ASSOC_TO_AFImportingTYPE
/BOBF/OBM_ASSOC_KEY
Association
IV_BO_KEYImportingTYPE
/BOBF/OBM_BO_KEY
Business Object
IV_NODE_KEYImportingTYPE
/BOBF/OBM_NODE_KEY
Business Object
ET_AF_DOCUMENT_DATAExportingTYPE
/BOBF/T_ATF_DOCUMENT_K
Document node of the Attachment Folder
ET_AF_FILE_CONTENT_DATAExportingTYPE
/BOBF/T_ATF_FILE_CONTENT_K
File Content Node of Attachment Folder
ET_AF_ROOT_DATAExportingTYPE
/BOBF/T_ATF_ROOT_K
Root node of the Attachment Folder
ET_ROOT_AF_KEY_LINKExportingTYPE
/BOBF/T_FRW_KEY_LINK
Key Link



Exceptions of Method GET_ATTACHMENT_FOLDER

This method does not have any exceptions

Example ABAP coding

This is a private Method so the below code can only be executed from within the class itself. I.e. from another method of the class.

DATA: lo_class TYPE REF TO /SCMTMS/CL_CFIR_CRT_REQ_ASSIST.
DATA: lv_ET_AF_DOCUMENT_DATA TYPE /BOBF/T_ATF_DOCUMENT_K,
lv_ET_AF_FILE_CONTENT_DATA TYPE /BOBF/T_ATF_FILE_CONTENT_K,
lv_ET_AF_ROOT_DATA TYPE /BOBF/T_ATF_ROOT_K,
lv_ET_ROOT_AF_KEY_LINK TYPE /BOBF/T_FRW_KEY_LINK,
lv_IT_KEY TYPE /BOBF/T_FRW_KEY,
lv_IV_ASSOC_TO_AF TYPE /BOBF/OBM_ASSOC_KEY,
lv_IV_BO_KEY TYPE /BOBF/OBM_BO_KEY,
lv_IV_NODE_KEY TYPE /BOBF/OBM_NODE_KEY,
lv_other TYPE c.

CALL METHOD lo_class=>GET_ATTACHMENT_FOLDER(
EXPORTING
IT_KEY = lv_IT_KEY
IV_ASSOC_TO_AF = lv_IV_ASSOC_TO_AF
IV_BO_KEY = lv_IV_BO_KEY
IV_NODE_KEY = lv_IV_NODE_KEY
IMPORTING
ET_AF_DOCUMENT_DATA = lv_ET_AF_DOCUMENT_DATA
ET_AF_FILE_CONTENT_DATA = lv_ET_AF_FILE_CONTENT_DATA
ET_AF_ROOT_DATA = lv_ET_AF_ROOT_DATA
ET_ROOT_AF_KEY_LINK = lv_ET_ROOT_AF_KEY_LINK ).

Links to Related Class(s)

/SCMTMS/...
Full list of available SAP object classes

Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!