FILE_UPLOAD SAP Method Check whether ASU Content Version could be uploaded









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

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


Method Type - Static

This is a Static Method so you can call it directly

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

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


Parameters of Method FILE_UPLOAD

.

NameTypeData TypeDescriptionDefault Value
IM_CT_VERSION_HImportingTYPE
/ASU/CONTENT_VERSION_HEADER
Application Specific Upgrade: Content Version



Exceptions of Method FILE_UPLOAD

NOT_AUTHORIZED - Not authorized to upload given ASU Content Version

Example ABAP coding


DATA: lv_IM_CT_VERSION_H TYPE /ASU/CONTENT_VERSION_HEADER,
lv_other TYPE c.

CALL METHOD /ASU/CL_AUTHORIZATIONS=>FILE_UPLOAD(
EXPORTING
IM_CT_VERSION_H = lv_IM_CT_VERSION_H ).

Links to Related Class(s)

/ASU/CL_...
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!