Supporting Attachments and Comments

Objective

After completing this lesson, you will be able to configure settings to send attachments and comments

About Sending Attachments and Comments

Buyers can add attachments and comments to the transaction documents that are being sent or received through the gateway. To send attachments and comments, you must configure the required settings on your SAP ERP or SAP S/4HANA system. SAP Ariba provides BAdIs to customize attachments and comments.

How to Support Attachments and Comments

How to Support Attachments

Attachments are supported at the:

  • Header level using the SAP Generic Object Services (GOS)
  • Line level using the SAP Document Management System (DMS)

Watch the video to learn how to Support Line Level Attachments from the Gateway.

For doctypes that do not support attachments by default, you can implement the ARBCIG_ES_ATTACHMENT_UTIL BAdI to support attachments. The following implementation methods are available:

Implementation methodDescription
PRE_ATTACHMENT_PROCESSTo pre-process the attachment information.
POST_ATTACHMENT_PROCESSTo post-process the attachment information.
ATTACH_GOS_OBJECT_INSERTTo modify parameters before GOS object is inserted.
ATTACH_GOS_BIN_REL_CREATETo modify parameter before GOS binary relation is created.
ATTACH_DMS_DOC_CREATETo modify the parameters before creating the DMS document.
ATTACH_DMS_DOC_CHECKINTo modify the parameters before the DMS Document is checked-in.
READ_DMS_DOC_MODIFYTo modify parameters before reading the DMS document.

How to Support Comments

Comments are supported as a Text object at both the header and line level.

For doctypes that do not support comments by default, you can implement the ARBCIG_ES_COMMENT_UTIL BAdI to support comments. The following implementation methods are available:

Implementation methodDescription
PRE_PROCESS_COMMENTTo pre-process the comment information.
POST_PROCESS_COMMENTTo post-process the comment information.

Note

For more information, see Supporting Attachments and Comments.

Now that you've learned about supporting attachments and comments, we'll move on to mapping variants and partition.

Log in to track your progress & complete quizzes