Ansicht
Dokumentation

MSAM_ATTACH_UPLOAD - PM/CS: Create attachment functionality

MSAM_ATTACH_UPLOAD - PM/CS: Create attachment functionality

General Data in Customer Master   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

You use this method to upload the binary attachment contents to the specified attachment.

Notes

Errors are collected in the RETURN table.

Technical note

To change an existing attachment the following are the mandatory importing parameters:

OBJECT_KEY : Object to which attachment is attached

OBJECT_TYPE : Business object type(constant values)

ATTACHMENT_ID : Attachment Number

ATTACHMENTS : Contents of the attachments in Binary

Customer Enhancements

The BAPI wrapper customer enhancement concept allows customers to use additional data that was not planned for the interface. The Extension parameter acts as a data container where the additional values are transferred during import.

In addition to the extension parameters at the interface, there are BAdIs (Business Add-Ins) provided in the method. These BAdIs can be used to by the customer to write their own custom logic and perform additional processing activities.

Available BAdIs

BADI_EAM_MSAM_ATTCH_CREATE : Customer BAdI for Attachment Object

Example

Notes

Further information





Parameters

ATTACHMENTS
ATTACHMENT_ID
OBJECT_KEY
OBJECT_TYPE
RETURN

Exceptions

Function Group

MSAM_MOREP_ATTACHMENT

CPI1466 during Backup   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.

Length: 1628 Date: 20240523 Time: 065536     sap01-206 ( 31 ms )