Skip to Content
avatar image
Former Member

Add attachment in ME41

Hi,

A smartform is mailed to vendor when a user saves in ME41. User wants to do attachment in ME41 only (Not in ME42 or so..) and this attachment should be mailed along with the smartform when he saves in me41. Please help.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Dec 09, 2016 at 10:58 AM

    the link between document and attachment is the document number.

    In a create transaction like ME41 the document number is assigned when you save the document, which means this number is unknown when you add the attachment, hence it will not work.

    And SAP stated in OSS note 1827022 that they are not planning to change this logic.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 09, 2016 at 11:28 AM

    Thanks for your answer. Is their any workaround for it?

    Add comment
    10|10000 characters needed characters exceeded

    • There is no workaround, it's just how GOS functions. It's not even specific to this transaction, you might want to read about it in general.

      The only way to achieve what you're asking is to replace ME41 with a completely custom program that would combine both steps. It's not feasible in standard.

  • avatar image
    Former Member
    Dec 12, 2016 at 12:21 PM

    Is der any option through which we can do attachment to the GOS button of ME42 tcode using a custom program? I am aware we can do attachment through me42 directly. When I click on save on ME41 a pop up box will open where i can select the file and click on ok. Once i click on ok this file will be sent in mail to the vendor and get attached to the GOS button of ME42 tcode.

    Add comment
    10|10000 characters needed characters exceeded