SAP Function Modules

PTRA_WEB_CCC_ARCHIVE_DOC SAP Function module







PTRA_WEB_CCC_ARCHIVE_DOC is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.

See here to view full function module documentation and code listing, simply by entering the name PTRA_WEB_CCC_ARCHIVE_DOC into the relevant SAP transaction such as SE37 or SE80.

Associated Function Group: PTRA_WEB_CCC
Released Date: Not Released
Processing type: Normal fucntion module
Normal function module settings


Pattern for FM PTRA_WEB_CCC_ARCHIVE_DOC - PTRA WEB CCC ARCHIVE DOC





CALL FUNCTION 'PTRA_WEB_CCC_ARCHIVE_DOC' "
  EXPORTING
*   ip_file =                   " xstring
    ip_filename =               " string
    ip_image_link =             " ptra_image_link
*   ip_manual_upload =          " boolean
*   it_bin_data =               " rmps_t_1024
*   ip_length =                 " num12
  IMPORTING
    et_return =                 " bapirettab
    .  "  PTRA_WEB_CCC_ARCHIVE_DOC

ABAP code example for Function Module PTRA_WEB_CCC_ARCHIVE_DOC





The ABAP code below is a full code listing to execute function module PTRA_WEB_CCC_ARCHIVE_DOC including all data declarations. The code uses the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the original method of declaring data variables up front. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8).

DATA:
ld_et_return  TYPE BAPIRETTAB .

DATA(ld_ip_file) = 'Check type of data required'.
DATA(ld_ip_filename) = 'Check type of data required'.
DATA(ld_ip_image_link) = 'Check type of data required'.
DATA(ld_ip_manual_upload) = 'Check type of data required'.
DATA(ld_it_bin_data) = 'Check type of data required'.
DATA(ld_ip_length) = 'Check type of data required'. . CALL FUNCTION 'PTRA_WEB_CCC_ARCHIVE_DOC' EXPORTING * ip_file = ld_ip_file ip_filename = ld_ip_filename ip_image_link = ld_ip_image_link * ip_manual_upload = ld_ip_manual_upload * it_bin_data = ld_it_bin_data * ip_length = ld_ip_length IMPORTING et_return = ld_et_return . " PTRA_WEB_CCC_ARCHIVE_DOC
IF SY-SUBRC EQ 0. "All OK ENDIF.







ABAP code to compare 7.40 inline data declaration with original syntax

The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.

DATA:
ld_et_return  TYPE BAPIRETTAB ,
ld_ip_file  TYPE XSTRING ,
ld_ip_filename  TYPE STRING ,
ld_ip_image_link  TYPE PTRA_IMAGE_LINK ,
ld_ip_manual_upload  TYPE BOOLEAN ,
ld_it_bin_data  TYPE RMPS_T_1024 ,
ld_ip_length  TYPE NUM12 .

ld_ip_file = 'Check type of data required'.
ld_ip_filename = 'Check type of data required'.
ld_ip_image_link = 'Check type of data required'.
ld_ip_manual_upload = 'Check type of data required'.
ld_it_bin_data = 'Check type of data required'.
ld_ip_length = 'Check type of data required'.

Contribute (Add Comments)

Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name PTRA_WEB_CCC_ARCHIVE_DOC or its description.