Skip to Content
author's profile photo Former Member
Former Member

Attachment options

Hii...

I have used Table Editor In screen painter. Requirement is file attachment option in a Screen Painter like our workpalce screen.

How It's possible Please suggest.

Thanks in Advance....

Regards

Vshal

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Sep 05, 2011 at 07:57 PM

    Hi,

    Is it an attachment to a SAPoffice document or to a workitem?

    What is Table editor, and how is it related to your attachment requirement?

    Is your question about how to create an attachment by program, or how to execute something from the dynpro?

    Sandra

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi,

      So, your first question was more or less out of context: words like screen painter, table editor, workplace, just were there to confuse us!

      As Surendra said, the simple is to use GOS.

      But do you want to allow the user to add/view manually, or to do it programmatically?

      Steps are:

      1) Is your attachment linked to a standard business object or not? If no, then create a Z business object (SWO1) with minimum (keys)

      2) Add the GOS toolbox (in the title bar) : CL_GOS_MANAGER

      3) If you want the program to add the file on its own, it must be added as a SAPoffice document to root folder 'B' (SO_FOLDER_ROOT_ID_GET, SO_DOCUMENT_INSERT_API1), and linked to the business object (CL_BINARY_RELATION=>CREATE_LINK)

      As you see, I didn't give you references as you can now search more precisely by yourself.

      Sandra

  • author's profile photo Former Member
    Former Member
    Posted on Sep 06, 2011 at 05:54 AM

    Hi vshal13feb ,

    You can try with GOS(Generic Object Services) also find the link

    [attaching-file-in-module-pool]

    Thanks

    Surendra

    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.