Sap Document Attachment Table

A Word About Using Attachments Technically speaking, notes, PC attachments, and URLs are treated as SAP office documents They result in corresponding entries in the SOOD and SOFM tables Contents of the attachments are stored in the SOC3 table (Notes and URLs) Contents of the PC attachments are written to the SOFFCONT1 table See Note 530792 for. SAP PI will pick the PDF forms from external system and trigger the ABAP server proxy with PDF attachment. 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 specific to the object. This expects a folder id and a document id; (SAP Office Object Definition) table, to obtain fields like file size, extension, and description. DATA lt_object_content TYPE STANDARD TABLE OF solisti1. Attachment settings: You can now configure attachment settings in Admin Center. Entry of personal or general notes for an object; Creation of attachments to an object; Creation of relationships between an object and documents that are in the optical archive or that are subsequently scanned in and stored. ***** *END-OF-SELECTION end-of-selection. g CRM_P_ORD , CRM_L_ORD Storage category: This is the storage category that defines the physical location of the content. Objective: Excellent piece of information on sap abap, I feel it is right place to get info on SAP ABAP. I need to migrate all the SAP attachment from one system to another. Document Owner: Aaron Diamond, CPA, SAP Business Analyst, FILO. The message is passed to the SAP XI adapter as the primary document. In our SRGBTBREL table the material attachments come in as Object Type = BUS1001006 (field TYPEID_A), then in field INSTID_A is the material number. "work area for MARA **Get data from MARA SELECT * FROM MARA INTO TABLE IT_MARA UP TO 50 ROWS WHERE MTART = P_MTART. Technically speaking, notes, PC attachments and URLs are treated as SAPoffice documents and result in corresponding entries in the SOOD and SOFM tables. a SD invoice, a MM material movement) thru fields BKPF-AWTYP, AWKEY (check table TTYP for a list) and those documents can alsor carry some links to documents. Default value is "Attachment (%d)". Deletion of attachments for all documents in the private root folder. To maintain the records in these tables by the Functional consultants, In SPRO, the node is created for the same. Click on Save. "internal tables data: i_document_data type standard table of t_document_data, i_packing_list type standard table of t_packing_list, i_attachment type standard table of t_attachment, i_body_msg type standard table of t_body_msg, i_receivers type standard table of t_receivers. internal table declarationsdata: i_otf type itcoo occurs 0 with header line,i_tline type table of tline with header line,i_receivers type table of somlreci1 with header line,i_record like solisti1 occurs 0 with header line,* objects to send mail. The first part of the code is the same as descibed in the previous blog. "do_print_n_get_spoolno *&-----* "Form send_mail "-----"PACKING LIST "This table requires information about how the data in the "tables OBJECT_HEADER, CONTENTS_BIN and CONTENTS_TXT are to "be distributed to the documents and its attachments. SAP Oil & Gas Online Training if PDF file from application server have more than 255 char then it is not working properly even attachment is not getting created. For more information, see Print Preferences: Per Document Tab. IDOC Step-by-Step. DESCRIBE TABLE compressed_attachment. Yes, populate tables C-1 and C-2 in SAR; and provide supporting attachments SAR APPENDIX D - Database Scan Results Yes, populate tables D-1, D-2, and D-3 in SAR; and provide supporting attachments SAR APPENDIX E - Web Application Scan Results Yes, populate tables E-1, E-2, and E-3 in SAR; and provide supporting attachments. LINE; Requires the type-dependent information of the. Here we would like to draw your attention to TEWDOC2DATATYPE table in SAP. Within the R/3 System, the attachment always contains references to the IDoc data. This table belongs to SOC3 and contains SAP Business Workplace/SAPoffice Documents attachments. By selecting Item document in the Document Type field, you will see the list of all existing item attachments. This view will be useful to find out totals per period and with some standard fields. DMS: Create an external document (URL). In SAP CRM Web UI, the attachments look like as follow : The DB entry for the above opportunity can be extracted from CRMD_ORDERADM_H as follow : Put the Guid of the business object in table SKWG_BREL in field INSTID_A and it will give you the LOIO ID as field INSTID_B. Storing FI Documents in SAP [ SAP Content Server ] Module: FI // Process: Document storage of PDFs in select FI module transactions. Use FM ARCHIVOBJECT_CREATE_FILE to generate document id. SAP Table EHHSSD_PII_ATT - Additional Info for Process Attachments. "internal tables data: i_document_data type standard table of t_document_data, i_packing_list type standard table of t_packing_list, i_attachment type standard table of t_attachment, i_body_msg type standard table of t_body_msg, i_receivers type standard table of t_receivers. w_doc_data-obj_name = 'SAPRPT'. - Set email's Senders & Receiver - Send email … This post is a step by step SAP ABAP Tutorial how to sends email from SAP with the CL_BCS in ABAP with sample ABAP code. ***** *END-OF-SELECTION end-of-selection. Then click the link for View Invoice. Document Owner: Aaron Diamond, CPA, SAP Business Analyst, FILO. -Change A Parked Document-Attach A File (Word, Excel) Via Change Parked Document-Display Changes To A Parked Document-Process A Rejected Journal Entry Via The Initiator’s Sap Inbox-Send A Copy Of A Journal Entry To Other Users-Delete A Parked Document-Create An Account Assignment Model-Use An Account Assignment Model To Initiate A Journal Entry. One feature is the ability to attach documents uploaded from your PC. *Prepare Mail Object DATA: LO_SEND_REQUEST TYPE REF TO CL_BCS VALUE IS INITIAL. Reply from sivajee on Aug 13 at 4:28 AM Thanks for the answer, I am end user I do not have access to tables. Enter the maximum number of table rows per page. * Populate the subject/generic message attributes w_doc_data-obj_langu = sy-langu. The attachment label indicates at a glance the number of attachments that have been added to the attachment container. DATA ls_receivers TYPE somlreci1. Many a times we need to check, how many GOS attachments are there in Purchase Orders or Purchase Requisitions or Vendors etc. Once the internal table is populated with the document data it can be used to create the attachment and send it via Email. It has 2 fields: TYEPE: HTML Content Type; EXTENSION: file name Extension; SDOKMIME SAP Mime Type Table. Try to use BDS_GOS_CONNECTIONS_GET function module to retrieve attachment list for notification. "document object DATA : I_TEXT TYPE BCSY_TEXT. Choose the method that you want to use. SAP Oil & Gas Online Training if PDF file from application server have more than 255 char then it is not working properly even attachment is not getting created. Send PDF attachment to email LO_DOCUMENT->ADD_ATTACHMENT(EXPORTING I_ATTACHMENT_TYPE = 'PDF' CATSDB table; Send PDF attachment to email September (2) July (7) June (10) May (13) Popular Posts. Objective The requirement was to send the Birthday Mails to Employee along with image in mail body. These are the FM for sending external email :- SO_DOCUMENT_SEND_API1 SAPoffice: Send new document with attachments via RFC SO_NEW_DOCUMENT_ATT_SEND_API1 (In 4. Step1:Resources used to send email with ZIP attachment Normal Top^. STRUCTURE; LINKS; Field Key Data Element Type Offset Attachment Schema: STORAGE_CATEGORY: SDOK_STCAT: CHAR: 233: 10: 0: SDOKSTCA: Category for physical documents: EEW_ATF_ROOT: DUMMY: CHAR: 243: 1: 0: Dummy function in length 1: Proudly powered by WordPress | Theme: WP Knowledge. To maintain the records in these tables by the Functional consultants, In SPRO, the node is created for the same. Click more to access the full version on SAP ONE Support launchpad (Login required). Field Key Data Element Type Offset Leng Decimals Check Table Text; MANDT: X: MANDT: CLNT: 0: 3: 0: T000: Client: DOKAR: X: DOKAR: CHAR: 3: 3: 0: TDWA: Document Type. The "INSTID_B" field value will be passed onto the next tool in the workflow and will be used to extract the attachments using the SAP Document Read tool. SAP Attachment: The following ABAP program sample is optimized to Mass extraction of SAP Attachments (GOS) for Sales Documents. * * Written by : SAP Basis, ABAP Programming and Other IMG Stuff * http ://www data g_document like sood4. xls speadsheet perform send_file_as_email_attachment tables it. If you understand these four steps, you need not look the search engine in future for such developments. In order to analyze if it is useful to save attachments in an alternative way, we will first look at the database size of the SOFFCONT1 table. Sending mail with attachment * * This program will allowed you to send email with attachment. Entry of personal or general notes for an object; Creation of attachments to an object; Creation of relationships between an object and documents that are in the optical archive or that are subsequently scanned in and stored. 1 Tables diagram for production orders DRAW (Document info record) CRVD_B (Document link to PRT) Docar docnr docvr doctl AFFH (PRT assigment data for production order) objid AFVC (order routing) DRAD_PORDER (documents linked to. Attachment settings: You can now configure attachment settings in Admin Center. As well as, all relevant SAP tables related to Purchasing process. com Date: Thu, 25 Mar 2010 07:37:41 -0400 Subject: [sap-dev] Table where attachments are stored. SAP Table EHHSSD_PII_ATT - Additional Info for Process Attachments. Select file from wherever you have it saved. REPORT ZSAPN_SEND_EMAIL. SAP Mime Type Table MIMETYPES. SAP Mass Attachments Extraction using ABAP. Transaction >> Financial >> General >> Select the Journal Entry >> Click the Document Attach button >> Click the Paper Clip icon >> Click the Delete tab in the Document Attachment window. The deleted attachments are placed in the private trash. You should see this, when SAP Note 1797202 is implemented: Storing attachment documents in SRM 7 Attachment meta data Attachment file meta data, such as linkage to the SRM business documents, are stored in SRM specific tables. To create attachment: Following are the function modules required to be executed for attaching the document. It used the Global Object Services / Attachment List in VA03 to download the documents attached to the order. Files are opened the same as before by double clicking the attached file in the attachment list. Document Storage in SAP server. In old classical legder SAP provided GLT0 table for totals. The Expert Search in the My SAP Notes & KBAs application lets you retrieve SAP Notes and SAP Knowledge Base Articles based on advanced selection criteria, and save these queries for future use. ABAP System Fields http://help. Sales order and material processes in SAP often include the capability to attach and upload supporting documents along with the data upload. SAP CA-DMS (Document Management System) Tables : DMS Integration for Viewer/CAD intergration TCodesDocument Processing TCodesRetrieval TCodesDocument Distribution TCodes. The final code for sending email with attachment in SAP ABAP using CL_BCS class. Enter the transaction code /n/WINSHTLQ/ADMPANEL. Any documents or links can be attachments. Posted by manish mishra on Mar 25 at 7:51 AM. STEP : Click Open. SAP Attachments Tables: SOLISTI1 — SAPoffice: Single List with Column Length 255, SOFM — SAPoffice: Folder contents, SODOCCHGI1 — Data of an object which can be changed, SOPCKLSTI1 — SAPoffice: Description of Imported Object Components, OBJECT_HEADER — Classification System: Object Description, SOMLRECI1 — SAPoffice: Structure of the API Recipient List, and more. For example attachment, URL link etc. The easiest way to find this is by going to GOS relationship table ‘SRGBTBREL‘. "Recipient list DATA: doc_chng LIKE sodocchgi1. These are the FM for sending external email :- SO_DOCUMENT_SEND_API1 SAPoffice: Send new document with attachments via RFC SO_NEW_DOCUMENT_ATT_SEND_API1 (In 4. Message Output for Purchase Orders - Read online for free. REPORT ZSAPN_SEND_EMAIL. The document will get uploaded and appear in the top section called description as shown below (Expand the tree) Zooming to desired area. Single sign-on is enabled. How to attach documents to Maintenance Plans, We have a number of work instructions that were created in Microsoft Excel and Word. If using path GOS => Create => Create attachment; then the document will be stored using SAPoffice. SAP ABAP Table T5ASRCONT02 (Attachments HRAdmin: Table for Document Contents (Imp. This FM gives document id of the attachment which is required to be passed in next function module. ABAP Program to send mail with Attachment. I'm describing a fairly common scenario here; often it is required to send out monthly reporting e-mails with PDF documents attached. Click on the "list" (as circled in the example below) portion of the "Services for object" (document link) icon. In SAP Fans the linking to SOOD is described as through parsing the SRGBTBREL-INSTID_B field -- and not using the GUID. Step 2: Select Maintain table. Attach Document to Requisition - GUI STEP : Select Create, then Create Attachment from drop-down menu. I would like to know the list of tables to be used for extraction in sequence and then the same to be imported. The add attachment button (+) lets the user add images, video, audio, and documents to the attachment collection. DATA lt_receivers TYPE STANDARD TABLE OF somlreci1. g CRM_P_ORD , CRM_L_ORD Storage category: This is the storage category that defines the physical location of the content. "Recipient list DATA: doc_chng LIKE sodocchgi1. g Sales Order). Is there any standard SAP report to check the attachments? Thanks, Sivajee Finance specialist. Generally, the images are send as attachment in mail but to send the image in the mail body different approach is to be used. To address this, you can upload attached documents through web forms. It means that the document contains three attachments. Sample scenarios for attaching and uploading documents ; Supported T-Codes for attached and uploaded documents. Elementary type is define by the built-in data type, field length and decimal places. Key fields are marked in blue. SAP SuccessFactors document management tools enable administrators to manage document attachments centrally for the HXM Suite. DATA: LO_DOCUMENT TYPE REF TO CL_DOCUMENT_BCS VALUE IS INITIAL. "Hex attachments (XLS) DATA: reclist LIKE somlreci1 OCCURS 5 WITH HEADER LINE. The attachment has the document type R3I and can contain either references to IDocs (IDoc numbers) or IDoc data. Documents can be attached in CRM Web UI, using the Attachments assignment block. The first "row is for the document, the following rows are each for one "attachment. Also, changing the setting for the message type in transaction NACE. Attach Document to Requisition - GUI STEP : Select Create, then Create Attachment from drop-down menu. Here we would like to draw your attention to VBRK table in SAP. htm For FAQ http://www. Continue Reading. Find out how to configure clients so that the same version of an SAP workflow item is used when the workflow is triggered in separate clients. The attachment is stored on an. This can be used in Report writer. Attach Document to Requisition - GUI STEP : Select Create, then Create Attachment from drop-down menu. Please find all tables in MM-PUR (Purchasing) : EBAN - Purchase Requisition T161P - Check of Document Type, Document Category, Item C T161R - REORG Control, Purchasing T161S - Release Indicator, Purchase Requisition T161T - Texts for Purchasing Document Types. DATA: LO_DOCUMENT TYPE REF TO CL_DOCUMENT_BCS VALUE IS INITIAL. SAP Table EHHSSD_PII_ATT - Additional Info for Process Attachments. This table belongs to SOC3 and contains SAP Business Workplace/SAPoffice Documents attachments. Summary This paper gives a step by step process of preparing an E-mail with an HTML body and HTML attachment and sending it to multiple E-mail ids. The attachment is stored on an. ) SAPoffice: Send new document with attachments via RFC Note : If you are using FM SO_NEW_DOCUMENT_ATT_SEND_API1 then Export Parameter DOCUMENT_DATA-OBJ_DESCR contains the Subject. xls file perform build_xls_data_table. In our SRGBTBREL table the material attachments come in as Object Type = BUS1001006 (field TYPEID_A), then in field INSTID_A is the material number. "ambil nilai text isi email CLEAR objtxt[]. Scenario: In most of the development scenario, some customizing tables are created. Cash management line items from MM purchase requisition. Please try again later. SAP SuccessFactors document management tools enable administrators to manage document attachments centrally for the HXM Suite. For this, CRM middleware settings are used so that user can access mailbox within Web UI. My code iden. Reply from sivajee on Aug 13 at 4:28 AM Thanks for the answer, I am end user I do not have access to tables. "Add document to send request CALL METHOD lo_send_request-> set_document ( lo_document). REPORT ZSAPN_SEND_EMAIL. BBP_PDATT is a standard SAP Table which is used to store Document Attachment data and is available within R/3 SAP systems depending on the version and release level. View the full list of Tables for Document Attachment. Hope it help to everyone. Send PDF attachment to email LO_DOCUMENT->ADD_ATTACHMENT(EXPORTING I_ATTACHMENT_TYPE = 'PDF' CATSDB table; Send PDF attachment to email September (2) July (7) June (10) May (13) Popular Posts. * * Written by : SAP Basis, ABAP Programming and Other IMG Stuff * http ://www data g_document like sood4. When click on execute button it will create a sales order attachment. lv_docid = gt_list-instid_b. Posted in ABAP Documents | Tagged ABAP, abap excel, abap sap mail, SAP ABAP, sap abap mail, sap excel attachment, sap excel attachment send, send excel mail abap, send mail | Leave a comment | Post navigation. The same ABAP Code can be user to mass extract Attachment for. I don't know where this entry is stored. Example program to send executable SAPOffice documents REPORT ztestemail2. You simply provide the name of the transaction you want to execute and the function module will output the constructed SAP shortcut in an internal table. The attachment Item gives a preview of the image, video, or document. This post describes how to add a new node in SPRO. x supports three ways to attach a document: GOS: Store the business document in an archival table, so that main tables are not affected by large attachments. SAP CRM cheat sheet. Any documents or links can be attachments. Sample scenarios for attaching and uploading documents ; Supported T-Codes for attached and uploaded documents. This guide describes how the attachment or URL links are stored within the Process control 2. READ TABLE t_signat WITH KEY doc_count = v_doccnt. A document in CM consists of several objects. To select only certain attachments you can query the SGTBREL table, then extract the necessary keys from the instid_b field to query the SOOD (SAP Office Object Definition) table, to obtain fields like file size, extension, and description. x supports three ways to attach a document: GOS: Store the business document in an archival table, so that main tables are not affected by large attachments. About this page This is a preview of a SAP Knowledge Base Article. I need to migrate all the SAP attachment from one system to another. SAP Attachments Tables: SOLISTI1 — SAPoffice: Single List with Column Length 255, SOFM — SAPoffice: Folder contents, SODOCCHGI1 — Data of an object which can be changed, SOPCKLSTI1 — SAPoffice: Description of Imported Object Components, OBJECT_HEADER — Classification System: Object Description, SOMLRECI1 — SAPoffice: Structure of the API Recipient List, and more. upload excell data to database [email protected]@@@@ Schedule mutiple jobs dynamically in abap; Pre-exit, Post-exit and over write exit; Create POP-UP in web dynpro without creating new w Create T-code for Web dynpro component Call URL from T-code in SAP r/3 system; How to use subroutine pool in program; Send mail with text attachment in sap!!!!!. Similarly Product settypes have individual history tables. Objective: Excellent piece of information on sap abap, I feel it is right place to get info on SAP ABAP. E-Mail, ID, or Login Name. Single sign-on is enabled. Not all historical information is stored in this table. The most important two are so called "logical info object" (LOIO) and a "physical info object" (PHIO). It could be a GR posting, a transfer posting or goods issue. In this tutorial I will show you how to attach documents to an ABAP Program and display them when required. Transaction >> Financial >> General >> Select the Journal Entry >> Click the Document Attach button >> Click the Paper Clip icon >> Click the Delete tab in the Document Attachment window. The document will get uploaded and appear in the top section called description as shown below (Expand the tree) Zooming to desired area. WRITE: / 'The document', FOL_CONT-OBJ_DESCR, 'could not be read !'. SAP ABAP Table T5ASRCONT02 (Attachments HRAdmin: Table for Document Contents (Imp. Got to learn new things from your Blog on SAP SD. 20 Download for Windows & Mac & Patch Level 14 (New) Added. SAP Fi Document Attachment Tables: BSEG — Accounting Document Segment, BKPF — Accounting Document Header, VBRK — Billing Document: Header Data, MSEG — Document Segment: Material, VBFA — Sales Document Flow, MKPF — Header: Material Document, and more. "document object DATA : I_TEXT TYPE BCSY_TEXT. STEP : Attachment has been saved to the requisition. If using path GOS => Create => Create attachment; then the document will be stored using SAPoffice. Select the attribute type as Executable program. In new GL SAP provided FAGLFLEXT table for totals. Sending Email with excel attachment. Previously, they could only be changed in Provisioning. A FI document can be attached to an original document (e. Attach a document. String for the attachment header. the tables that keep the links are : a) using create attachment in GOS: SRGBTBREL b) using OAWD or Store Buss. An SAP user has created a user decision step in an SAP workflow item and wants to know how an end user can send an attachment to other. SAP Document Management System Integration with Content Servers Slideshare uses cookies to improve functionality and performance, and to provide you with relevant advertising. Our problem is the size of SAP office tables and we cannot delete older entries because we do not know the importance of the documents users have attached to their SD documents. Print Preferences: General Tab. Revision #: 1 of 1 Last update: ‎2013-05-22 01:26 AM. SAP DDIC - Data Element Data Element - Data Element defines the data type, structure component, field labels, search help, search help etc. The first "row is for the document, the following rows are each for one "attachment. Search for additional results. SAP will generate a system message at the bottom left corner of the screen: ò 9. Choose the method that you want to use. Looking forward for your inputs and guidance. If you continue browsing the site, you agree to the use of cookies on this website. Attachment is added. This article provides a sample ABAP program to attach a document to Sales Order business object using SAP delivered function BDS_BUSINESSDOCUMENT_CREA_TAB. A Sterling B2B Integrator business process can invoke the SAP XI adapter to send a message to SAP XI. STRUCTURE; LINKS; Field Key Data Element Type Offset Attachment Schema: STORAGE_CATEGORY: SDOK_STCAT: CHAR: 233: 10: 0: SDOKSTCA: Category for physical documents: EEW_ATF_ROOT: DUMMY: CHAR: 243: 1: 0: Dummy function in length 1: Proudly powered by WordPress | Theme: WP Knowledge. Continue Reading. SAP ABAP - Sample Program To Convert Smartform To PDF Document & Mail It To The Concerned As An Attachment. If no folder is specified, the downloads are saved in the project folder. In this tutorial I will show you how to attach documents to an ABAP Program and display them when required. Header for Serial Numbers for Purchase Requisition Item. The attachment Item gives a preview of the image, video, or document. As i mentioned in attach GOS document to business objects post , GOS objects provides a pretty useful way to integrate SAP programs with office tools. The attachment has the document type R3I and can contain either references to IDocs (IDoc numbers) or IDoc data. SAP Table EHHSSD_PII_ATT - Additional Info for Process Attachments. The "INSTID_B" field value will be passed onto the next tool in the workflow and will be used to extract the attachments using the SAP Document Read tool. SAP Attachment: The following ABAP program sample is optimized to Mass extraction of SAP Attachments (GOS) for Sales Documents. xls file perform build_xls_data_table. View this Document. This ABAP program uses the function module 'SO_NEW_DOCUMENT_ATT_SEND_API1' to send the email with an attachment. In this post, you will find the main SAP Purchase Order Tables for header, item and historical. Documents can be attached in CRM Web UI, using the Attachments assignment block. The following program creates and displays ALV using CL_SALV_TABLE class. Got to learn new things from your Blog on SAP SD. This will help the end user to know more about the program and will not need to look for documentation in a separate repository. Find out how to configure clients so that the same version of an SAP workflow item is used when the workflow is triggered in separate clients. Browse Community Topics. Here are two ABAP Programs to send mail with and without attachment. pdf This documents covers SAP table details for all most functional module SAP. Attach a document. A sample program is provided there. SAP Document Attachment Tables: BBP_PDATT — Document Attachment, EKPO — Purchasing Document Item, VBAK — Sales Document: Header Data, BSEG — Accounting Document Segment, VBAP — Sales Document: Item Data, EKKO — Purchasing Document Header, and more. DATA lt_receivers TYPE STANDARD TABLE OF somlreci1. The first part of the code is the same as descibed in the previous blog. A document in CM consists of several objects. Within the R/3 System, the attachment always contains references to the IDoc data. docs in GOS : TOA01, TOA02, TOA03 (configurable in OAC3). *Send file by email as. out = compressed_attachment. LINE; Requires the type-dependent information of the. VBRK is a SAP standard transparent table used for storing Billing Document: Header Data related data in SAP. Below you can find the technical details of the fields that make up this table. DATA lt_receivers TYPE STANDARD TABLE OF somlreci1. All that remains to do is to fill the packing list (check out the sample program on page 4 for the full code) and send off the e-mail by using SO_NEW_DOCUMENT_ATT_SEND_API1. REPORT ZSAPN_SEND_EMAIL. To address this, you can upload attached documents through web forms. Phone +62-877-8655-5055 +62 (21) 580-6055. Step4:Convert data to binary and create attachment Important. The message is passed to the SAP XI adapter as the primary document. BBP_PDATT is a standard SAP Table which is used to store Document Attachment data and is available within R/3 SAP systems depending on the version and release level. The attachment has the document type R3I and can contain either references to IDocs (IDoc numbers) or IDoc data. "work area for MARA **Get data from MARA SELECT * FROM MARA INTO TABLE IT_MARA UP TO 50 ROWS WHERE MTART = P_MTART. SAP Table /BOBF/D_ATF_RT - Root Nodes of Do Attachment Folder. Similarly Product settypes have individual history tables. ) creates material documents. CL_BCS Class is the standard new SAP to handle and send email. In SAP CRM Web UI, the attachments look like as follow : The DB entry for the above opportunity can be extracted from CRMD_ORDERADM_H as follow : Put the Guid of the business object in table SKWG_BREL in field INSTID_A and it will give you the LOIO ID as field INSTID_B. Finally, send the mail out. List of MimeType in SAP. Sending Email with excel attachment. Domain Data Element Table Table Cluster/Pool View Search Help. Release Point Assignment for Purchase Requisition Release. IntroductionThis report based on the financial report of CareTech Holdings PLC dated 30 September 2016. Smartform to Mail as PDF attachment Author: Naresh Reddy Submitted: March 29, 2007 Here is the code to send the Smartform to mail as PDF attachment. This PDF forms will be available in external system. They require maintenance of an entire document info record, where you can add one or more "originals", which would be actual documents that you upload to the application server. Winshuttle Studio 12. If you want to see the files attached to a specific item, click the Find button on. *Retrieve sample data from table ekpo perform data_retrieval. Step by Step Process of Preparing E-mail with HTML body and HTML Attachment Applies to: This document applies to SAP ECC 6. SAP Fi Document Attachment Tables: BSEG — Accounting Document Segment, BKPF — Accounting Document Header, VBRK — Billing Document: Header Data, MSEG — Document Segment: Material, VBFA — Sales Document Flow, MKPF — Header: Material Document, and more. A FI document can be attached to an original document (e. "document object DATA : I_TEXT TYPE BCSY_TEXT. This document will explain this process. You might have a requirement to take a physical print out of a material document that was posted in SAP. Check the SAP Table SDOKMIME. The following table contains the parameters. w_doc_data-obj_descr = ld_mtitle. Specify parameters like this: CALL FUNCTION 'BDS_GOS_CONNECTIONS_GET' IMPORTING logical_system = * << optional parameter classname = BPR_NOTIF * << object type for notifications objkey = 1014866112016 * << your notification number + year client = XXX TABLES gos_connections = lt. In SAP CRM Web UI, the attachments look like as follow : The DB entry for the above opportunity can be extracted from CRMD_ORDERADM_H as follow : Put the Guid of the business object in table SKWG_BREL in field INSTID_A and it will give you the LOIO ID as field INSTID_B. x supports three ways to attach a document: GOS: Store the business document in an archival table, so that main tables are not affected by large attachments. Attach a document. You should see this, when SAP Note 1797202 is implemented: Storing attachment documents in SRM 7 Attachment meta data Attachment file meta data, such as linkage to the SRM business documents, are stored in SRM specific tables. I checked in the table SOOD (SAPoffice: Object definition), but there is no entry in there. Administrators can use document management tools to view and manage. "work area for MARA **Get data from MARA SELECT * FROM MARA INTO TABLE IT_MARA UP TO 50 ROWS WHERE MTART = P_MTART. The Expert Search in the My SAP Notes & KBAs application lets you retrieve SAP Notes and SAP Knowledge Base Articles based on advanced selection criteria, and save these queries for future use. Yes, populate tables C-1 and C-2 in SAR; and provide supporting attachments SAR APPENDIX D - Database Scan Results Yes, populate tables D-1, D-2, and D-3 in SAR; and provide supporting attachments SAR APPENDIX E - Web Application Scan Results Yes, populate tables E-1, E-2, and E-3 in SAR; and provide supporting attachments. Customer is always eager to make use of office tools in their ABAP programs. Create a Table - ZATTACHMENT. Here we would like to draw your attention to VBRK table in SAP. SOFFCONT1 table grows quickly in SAP landscapes and often gets into the top 10 largest tables in the system (TIP: check the list of largest tables in DB02 transaction). To be able to process custom logic in the GOS toolbar service, we need to inherit out service class from the GOS generic service class CL_GOS_SERVICE and put our logic in the inherited class. How it works: Currently the documents are stored via the SAP standard "Services for Object", "Create Attachment" in SAP table SOFFCONT1. In new GL SAP provided FAGLFLEXT table for totals. *Send file by email as. ) SAPoffice: Send new document with attachments via RFC Note : If you are using FM SO_NEW_DOCUMENT_ATT_SEND_API1 then Export Parameter DOCUMENT_DATA-OBJ_DESCR contains the Subject. DATA: lt_datatab TYPE tdtab_c132, lw_data LIKE LINE OF lt_datatab. "document object DATA : I_TEXT TYPE BCSY_TEXT. Storing FI Documents in SAP [ SAP Content Server ] Module: FI // Process: Document storage of PDFs in select FI module transactions. ( Part 3 ) ABAP Code Generator Tool. For example: If it is required to attach document to sales order,Go to VA02 transaction code, use following menu path to create attachment: System->"Services for Object"->Create Attachment To view the attachments already attached use following menu path: System->"Services for Object"->Attachment list. DATA ls_objcont TYPE solisti1. SAP Technical vs SAP. Sort by: Topic | Updated. SAP Attachment Tables: ATTACHMENT1 — Proxy Struktur (generiert), ATTACHMENT2 — Proxy Structure (Generated), SOLISTI1 — SAPoffice: Single List with Column Length 255, SODOCCHGI1 — Data of an object which can be changed, SOPCKLSTI1 — SAPoffice: Description of Imported Object Components, SOMLRECI1 — SAPoffice: Structure of the API Recipient List, and more. Choose Update and OK. Subject: Re: [sap-acct] T-Code To Pull The Report To Check Document Numbers Has Attachments Or Not. Below is the standard documentation available and a few details of the fields which make up this Table. Free global virtual event for data integration and data analytic gurus. The deleted attachments are placed in the private trash. * Fill the document data. SAP Attachment: The following ABAP program sample is optimized to Mass extraction of SAP Attachments (GOS) for Sales Documents. Using the function Create attachment, you can append any existing documents or spool requests stored by you to a selected document as attachments. Enter the package which is start's with Y or Z or Local Package. In change mode of notification you can use services for object icon to. Dear All; Thought to share a document on how to display SAP archived document from ABAP webdynpro application; Step1: Create Webdynpro application to display the required business document for (e. These attachments will be moved out of the SAP table and stored in external storage system, e. Outside the R/3 System, the data itself is in the. DATA ls_document_data LIKE sodocchgi1. In SAP Fans the linking to SOOD is described as through parsing the SRGBTBREL-INSTID_B field -- and not using the GUID. SAP/ABAP:Using BTE in FB02/FB03 to reflect changes made on FI document to Custom table Published on March 25, 2016 March 25, 2016 • 20 Likes • 3 Comments. Business Process Modeling homepage. Click on "Create" and then on "Store business. Smartform to Mail as PDF attachment Author: Naresh Reddy Submitted: March 29, 2007 Here is the code to send the Smartform to mail as PDF attachment. Below screen shot shows the AR document posted (in Company code – 0774) which is generated upon Billing. The document type that you have to provide in the packing list is "SAP". For example attachment, URL link etc. How to send email with zip attachment - We often have assignment in SAP Project to develop some ABAP Program that could send the email. Steps to Upload/Download file / attachment from ABAP Webdynpro with GOS(Generic Object Service): A HR Infotype '9990' is created in ECC for referencing the document. STEP : Click Open. A document in CM consists of several objects. Storing FI Documents in SAP [ SAP Content Server ] Module: FI // Process: Document storage of PDFs in select FI module transactions. SAP Stock Aging using the MSEG and MKPF tables Attached is an example of stock aging in SAP. A Sterling B2B Integrator business process can invoke the SAP XI adapter to send a message to SAP XI. About this page This is a preview of a SAP Knowledge Base Article. DATA: lt_datatab TYPE tdtab_c132, lw_data LIKE LINE OF lt_datatab. "Number of records of the content table being filled DATA: pk_lines LIKE sy-tabix. Winshuttle Studio v11 supports three ways to attach a document: GOS: Store the business document in an archival table, so that main tables are not affected by large attachments. Very often, users would like to have the ability to send their SAP reports via the company email system. Before going into the full details, please go through the tutorial Send email with attachment in SAP. The attachment has the document type R3I and can contain either references to IDocs (IDoc numbers) or IDoc data. View this Document. Creation: 8/15/2015 // Updated: 2/19/2016. Sorry! Something went wrong on our end. Register Today. Please find all tables in MM-PUR (Purchasing) : EBAN - Purchase Requisition T161P - Check of Document Type, Document Category, Item C T161R - REORG Control, Purchasing T161S - Release Indicator, Purchase Requisition T161T - Texts for Purchasing Document Types. Choose Update and OK. SAP Note 1498082 - FBL1N - FB03 - Attachment list empty. Parameterized strings are also accepted, for example, "Photos [%d]", where the parameter is substituted by the number of attachments. Table Storage: The Content of file converted to binary and it stores in tables like SOOD and SRGBTBREL. Handle event on click of button send email. "Binary attachments (PDF) DATA: objhex LIKE solix OCCURS 10 WITH HEADER LINE. SAP CRM cheat sheet. document_data-doc_size = ( tab_lines - 1 ) * 255 + STRLEN( objtxt ). com To: [email protected] Before we start writing the code, ensure that everything is configured correctly in the SCOT. "build_xls_data_table *&-----* "Form send_mail "-----"PACKING LIST "This table requires information about how the data in the "tables OBJECT_HEADER, CONTENTS_BIN and CONTENTS_TXT are to "be distributed to the documents and its attachments. By selecting Item document in the Document Type field, you will see the list of all existing item attachments. Below is the standard documentation available and a few details of the fields which make up this Table. For more information, and to to resolve this issue, refer to the following SAP Notes: SAP Note 1562421 - FB03: Attachment list does not contain all attachments. READ TABLE objtxt INDEX tab_lines. Step 2: Select Maintain table. "Email information DATA: tab_lines LIKE sy-tabix. Best way to supply content of the file is in SOLIX structure which is a table of hexadecimal characters. SAP_WAPI_GET_ATTACHMENTS is a standard SAP function module available within R/3 SAP systems depending on your version and release level. First option – Storing XSTRING in SAP Office. The tables CDHDR and CDPOS store the changes to an Object. *&-----**& Report ZTEST_NREDDY_PDF_MAIL*&*&-----*REPORT ZTEST_NREDDY_PDF_MAIL. This can be used in Report writer. Let me be little more specific with the technicalities of the four steps. loop at gt_list. Downhere is the step by step info on how to attach a Technical Specification or User Training Document or any other Information Document in SE38. Enter the program name which start with Y or Z and click on CREATE button. It is a flexible and neat report that you will find very useful. "document object DATA : I_TEXT TYPE BCSY_TEXT. Finally, send the mail out. REPORT ZSAPN_SEND_EMAIL. A FI document can be attached to an original document (e. SAP Table EHHSSD_PII_ATT - Additional Info for Process Attachments. You can see all files attached to the items and change their visibility (show or hide) from the Attachment Overview window. if yes what object type do i need to. If you continue browsing the site, you agree to the use of cookies on this website. BUS1001006 for Material Master, BUS2012 for Purchase Order) & object in OBJECT (e. It is a flexible and neat report that you will find very useful. LINE; Requires the type-dependent information of the. My code iden. - user3175371 Jan 10 '14 at 6:18. Address Sampoerna Strategic Square South Tower 18th Jl Jend. Alfresco or SAP Content Server and are still accessible in SAP. Sample scenarios for attaching and uploading documents ; Supported T-Codes for attached and uploaded documents. - Set email's Senders & Receiver - Send email … This post is a step by step SAP ABAP Tutorial how to sends email from SAP with the CL_BCS in ABAP with sample ABAP code. In SAP Fans the linking to SOOD is described as through parsing the SRGBTBREL-INSTID_B field -- and not using the GUID. To attach document in sap purchase order, we use transaction code ME22N. From: [email protected] Finally, send the mail out. CL_BCS Class is the standard new SAP to handle and send email. WRITE: / 'The document', FOL_CONT-OBJ_DESCR, 'could not be read !'. In SAP CRM Web UI, the attachments look like as follow : The DB entry for the above opportunity can be extracted from CRMD_ORDERADM_H as follow : Put the Guid of the business object in table SKWG_BREL in field INSTID_A and it will give you the LOIO ID as field INSTID_B. Applies To. SAP Document Attachment Tables: BBP_PDATT — Document Attachment, EKPO — Purchasing Document Item, VBAK — Sales Document: Header Data, BSEG — Accounting Document Segment, VBAP — Sales Document: Item Data, EKKO — Purchasing Document Header, and more. Documents can be attached in CRM Web UI, using the Attachments assignment block. Put break point in FM : SXV_GET_CLIF_BY_NAME and than go to your standart program and run it. xls file perform build_xls_data_table. The Attachment entity provides a single and simple way of uploading attachments to different modules with various data elements. As of Release 4. Subject: Re: [sap-acct] T-Code To Pull The Report To Check Document Numbers Has Attachments Or Not. Requirement: Send a excel sheet as E-mail attachment using CL_BCS for the displayed ALV. 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 specific to the object. The document will get uploaded and appear in the top section called description as shown below (Expand the tree) Zooming to desired area. Before going into the full details, please go through the tutorial Send email with attachment in SAP. When the document is attached within one of the preconfigured folders then the relationship of Order object is. Sending multiple attachment in user decision step of workflow. BBP_PDATT is a standard SAP Table which is used to store Document Attachment data and is available within R/3 SAP systems depending on the version and release level. As i mentioned in attach GOS document to business objects post , GOS objects provides a pretty useful way to integrate SAP programs with office tools. MIMETYPES: Table of MIME types. How to define content types for GOS doc attachments. The main objective of this document is to send the image in email body. Phone +62-877-8655-5055 +62 (21) 580-6055. In old classical legder SAP provided GLT0 table for totals. Default value is "Attachment (%d)". For this, CRM middleware settings are used so that user can access mailbox within Web UI. specify the sender email address and click the send button. Generally, the images are send as attachment in mail but to send the image in the mail body different approach is to be used. 2,548 Views 3 Likes Version history. For example: If it is required to attach document to sales order,Go to VA02 transaction code, use following menu path to create attachment: System->"Services for Object"->Create Attachment To view the attachments already attached use following menu path: System->"Services for Object"->Attachment list. Step4:Convert data to binary and create attachment Important Declare internal table and work area for MARA, add logic to get data from MARA. To create attachment: Following are the function modules required to be executed for attaching the document. * APPEND 'Email from SAP background Job' TO main_text. *Prepare Mail Object DATA: LO_SEND_REQUEST TYPE REF TO CL_BCS VALUE IS INITIAL. All The Tables In SAP MM Purchasing. Now go to transaction VA03 and check whether the attachment is added or not. SAP Attachments Tables: SOLISTI1 — SAPoffice: Single List with Column Length 255, SOFM — SAPoffice: Folder contents, SODOCCHGI1 — Data of an object which can be changed, SOPCKLSTI1 — SAPoffice: Description of Imported Object Components, OBJECT_HEADER — Classification System: Object Description, SOMLRECI1 — SAPoffice: Structure of the API Recipient List, and more. For more information, visit the ABAP homepage. The attachment is stored on an. 2,548 Views 3. Best way to supply content of the file is in SOLIX structure which is a table of hexadecimal characters. In this tutorial I will show you how to attach documents to an ABAP Program and display them when required. sap basis Unknown on September 18, 2016 at 12:43 PM Great place to learn about the new things and got great knowledge SAP MM Training in Chennai. Files are opened the same as before by double clicking the attached file in the attachment list. These files can be shown in a Sana web store. The message is passed to the SAP XI adapter as the primary document. 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 specific to the object. Choose Create >Create attachment and you can upload from your local directory. Similarly Product settypes have individual history tables. DESCRIBE TABLE ATTLIST LINES TAB_LINES. A sample program is provided there. SAP Senior Consultant PM. I_ATTACHMENT_TEXT/ I_ATTACHMENT_HEX: An internal table with the actuall text resp. People can upload documents attachments on several screens in the SAP SuccessFactors HXM Suite, such as the candidate profile or employee profile. Attach a document. •Turned On in all SAP systems - -Stores your documents to the SAP DB SOFFCONT1 •Designed for Temporary storage of document -No Security -Users can delete entries (OSS Note 1293080) -Deleted entries do not remove table entries (OSS Note) •In some cases Documents are no longer retrievable. In change mode of notification you can use services for object icon to. IF SY-SUBRC > 0. *Prepare Mail Object DATA: LO_SEND_REQUEST TYPE REF TO CL_BCS VALUE IS INITIAL. The CDHDR tables stores the Header level changes while CDPOS stores the item level. Attachment is added. a SD invoice, a MM material movement) thru fields BKPF-AWTYP, AWKEY (check table TTYP for a list) and those documents can alsor carry some links to documents. The linking of this attachment between the documents involves two steps, Configuration of Document Type and linking the content repository in T-Codes - OAC2 and OAC3 respectively. SAP Billing Document Tables : DFKKINVBILL_I - Billing Document Items Tcode, TVFK - Billing: Document Types Tcode, VLCINVOICE - VELO : Billing Document Tcode, DFKKINVBILL_H - Billing Document Header Tcode, VBRP - Billing Document: Item Data Tcode. READ TABLE it_attach INDEX w_cnt. In change mode of notification you can use services for object icon to. ) creates material documents. DATA: LO_DOCUMENT TYPE REF TO CL_DOCUMENT_BCS VALUE IS INITIAL. How to retrieve data from IDOC using segment and mail IDOC information as an attachment Invoice IDOC status report. Single sign-on is enabled. loop at itab. This can be used in Report writer. Alfresco or SAP Content Server and are still accessible in SAP. · If you click on CONNECTIONS internal Table It will gives you the details about attached document type here it is word doc in purchase order as shown in below snap shot. But you cannot attach document while you create PO in T/Code ME21N Save you PO ( ME21N ) and again open with change ( ME22N ) then you can attach document through Service for Object button. I_ATTACHMENT_TEXT/ I_ATTACHMENT_HEX: An internal table with the actuall text resp. Sending multiple attachment in user decision step of workflow. REPORT ZSAPN_SEND_EMAIL. Is there any standard SAP report to check the attachments? Thanks, Sivajee Finance specialist. SAP Ariba recommends a five-part strategy to effectively and efficiently respond to global supply chain disruption, with special offers, software, and services for supplier discovery, supplier risk management, and supply chain collaboration. If you want to see the files attached to a specific item, click the Find button on. *Populate message body text perform populate_email_message_body. The final code for sending email with attachment in SAP ABAP using CL_BCS class. DATA lt_objcont_bin TYPE STANDARD TABLE OF solisti1. SAP Document Management System Integration with Content Servers Slideshare uses cookies to improve functionality and performance, and to provide you with relevant advertising. Table Where the attachments are stored in SAP or I want to check what is size of the all attachment which attached by users in sap because due to. To select only certain attachments you can query the SGTBREL table, then extract the necessary keys from the instid_b field to query the SOOD (SAP Office Object Definition) table, to obtain fields like file size, extension, and description. In change mode of notification you can use services for object icon to. [adToAppearHere] Go to SE16(N), provide the business object name in field TYPEID_A (Type of Objects). document_data-doc_size = ( tab_lines - 1 ) * 255 + STRLEN( objtxt ). DATA ls_document_data LIKE sodocchgi1. com To: [email protected] Smartform. Creating Attachments to Work Items or to User Decisions in Workflows This document explains how to create documents like Word or PDF as an attachment to the work item or to the user decision step. We need to convert attachment into binary format, and to send data from internal table you need to convert internal table data into binary format. CLASS CL_BCS DEFINITION LOAD. Adding parameters to SAP Shortcuts. ( -There will be another icon opening the attachmentlist, I have solved this by using function module GOS_EXECUTE_SERVICE -no problem). In change mode of notification you can use services for object icon to. The order form, data processing agreement, and general terms and conditions are generally the same for any cloud service on our price list, while the cloud service description, including Product Supplement, Support Policy and Service Level Agreement, is a product-specific collection of terms. The final code for sending email with attachment in SAP ABAP using CL_BCS class. Attachment Item. Click Add File Attachment Rows. SAP Sample Programs Monday, October 24, 2011. 50 Download For Windows & MAC and Patch Level 8; SAP GUI 7. LO_DOCUMENT->ADD_ATTACHMENT. This can be used in Report writer. parameters:p_mail(99) type c obligatory. WRITE: / 'The document', FOL_CONT-OBJ_DESCR, 'could not be read !'. The attachment Item gives a preview of the image, video, or document. Default value is "Attachment (%d)". BBP_PDATT is a standard SAP Table which is used to store Document Attachment data and is available within R/3 SAP systems depending on the version and release level. You can provide many more parameters to specify user name, system to be used, et cetera. "work area for MARA **Get data from MARA SELECT * FROM MARA INTO TABLE IT_MARA UP TO 50 ROWS WHERE MTART = P_MTART. A FI document can be attached to an original document (e. SAP PI will pick the PDF forms from external system and trigger the ABAP server proxy with PDF attachment. Access the posted SAP document, (i. The deleted attachments are placed in the private trash. These functions always refer to the application object in use, for example, adding an attachment to the application object, showing linked objects to this one, or starting a workflow from this object. In some business scenarios, there is need to attach/store external file to standard object like Material/ Purchase Order or to custom application like Loan Application; in such case we can use SAP standard methodology like SAP Office, BDS (Business Document Service), DMS (Document Management Service), GDS (Generic Document Services) to store actual files in system with logical relation to an. Choose Create >Create attachment and you can upload from your local directory. pdf This documents covers SAP table details for all most functional module SAP. ( -There will be another icon opening the attachmentlist, I have solved this by using function module GOS_EXECUTE_SERVICE -no problem). SUBMIT zbds_test_documents VIA SELECTION-SCREEN. They require maintenance of an entire document info record, where you can add one or more "originals", which would be actual documents that you upload to the application server. How to send email with zip attachment - We often have assignment in SAP Project to develop some ABAP Program that could send the email. There are five steps involved in sending the email with an attachment. Finally, send the mail out. "ambil nilai text isi email CLEAR objtxt[]. In old classical legder SAP provided GLT0 table for totals. When click on execute button it will create a sales order attachment. This abap send mail program will help you to achieve this. Applications assigned to the logged in user are accessed in the Work Area. And i want to use store buisness document option of GOS in ours SAP would be connected to sharepoint, would i be able to make use of this. The SAP XI adapter must be configured as an inbound adapter. The desire is to link PC documents such as Excel, PDF, etc. The same ABAP Code can be user to mass extract Attachment for. In SAP, you can add different files to the sales documents, like sales orders, quotations, billing and delivery documents, and return orders. SAP ABAP - Sample Program To Convert Smartform To PDF Document & Mail It To The Concerned As An Attachment. ( -There will be another icon opening the attachmentlist, I have solved this by using function module GOS_EXECUTE_SERVICE -no problem). There are five steps involved in sending the email with an attachment. Create a Table - ZATTACHMENT. · If you click on CONNECTIONS internal Table It will gives you the details about attached document type here it is word doc in purchase order as shown in below snap shot. * ----- create and set document with attachment ----- * create document object from internal table with text CONCATENATE p_report p_vari sy-datum sy-uzeit INTO lv_subject SEPARATED BY space. Summary This paper gives a step by step process of preparing an E-mail with an HTML body and HTML attachment and sending it to multiple E-mail ids. Sample scenarios for attaching and uploading documents ; Supported T-Codes for attached and uploaded documents. g Sales Order). SAP Business One provides a feature to always bring up a table of exchange rates when you first log in to SAP, but maybe for … Read more › Assigning Attachment Folder per User. DRAD is a standard SAP Table which is used to store Document-Object Link data and is available within R/3 SAP systems depending on the version and release level. Elementary type is define by the built-in data type, field length and decimal places. SAP GOS: Generic Object Services. *Prepare Mail Object DATA: LO_SEND_REQUEST TYPE REF TO CL_BCS VALUE IS INITIAL. These documents must be stored on an external storage medium. "Recipient list DATA: doc_chng LIKE sodocchgi1. Let's use the word edit in the real world as. ***** *END-OF-SELECTION end-of-selection. The table in SAP for Mime Type is MIMETYPES. SAP ABAP Function Module SO_NEW_DOCUMENT_ATT_SEND_API1 (SAPoffice: Send new document with attachments using RFC) - SAP Datasheet - The Best Online SAP Object Repository. Outside the R/3 System, the data itself is in the. Subject: Re: [sap-acct] T-Code To Pull The Report To Check Document Numbers Has Attachments Or Not. All that remains to do is to fill the packing list (check out the sample program on page 4 for the full code) and send off the e-mail by using SO_NEW_DOCUMENT_ATT_SEND_API1. Attach Document to Requisition - GUI STEP : Select Create, then Create Attachment from drop-down menu. Table parameters ATTACHMENT_HEADER This table must contain the data dependent on the type of attachment. String for the attachment header. Attachment Item. SAP provides functionality to print these material documents.