Skip to Content

adding attachments to a PO from vendor confirmations report output

Hi Experts,

I have a custom report which displays the vendor confirmations as ALV GRID display for the Purchase order numbers mentioned in the selection screen.

Now my requirement is I will select one line at the report output and I want to add attachment to the PO from the vendor confirmation report, Coud you please suggest on achieving this requirement. I came across table SRGBTBREL table and INSTID_A holds the value of the PO nos .

Thanks,

RG

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    Posted on Sep 13, 2016 at 12:24 PM

    Hi.

    You should perform this sequence of function calls:

    - SO_FOLDER_ROOT_ID_GET' to set folder ID;

    - SO_OBJECT_INSERTto insert your document converted with SO_CONVERT_CONTENTS_BIN';

    - BINARY_RELATION_CREATE_COMMIT to finally register your attachment.

    Hope to help

    Bye

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.