Skip to Content
-2

Trigger Invoice as attachment via Email through vf02

Hi Experts,

We need to trigger Invoices as attachments to the customers during creation in vf02 and we have created a new output type for the Email (NAST-NACHA = 5). The email is constructed using cl_bcs class and we are triggering from vf02. But during cl_bcs->send() method, change pointers are getting activated for address related tables and giving an error in Processing log as in the attachment. Could you please suggets how to fix this.

Regards

Aditya

capture.jpg (47.3 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Jan 11 at 07:54 PM

    This is standard functionality that works just fine out of the box with standard programs. Not sure why you chose to write custom code for it but obviously that's where the issue is.

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 12 at 06:39 AM

    Hi Jyothir,

    As far as I think you can trigger email notification to your customer by simply doing som standard configuration. I do not know the reason for doing the ABAP coding behind this.

    If you are doing standard config simply do certain settings listing below -

    1. Configure NACE settings as per your requirement. Put access sequence , output type and processing routines.

    2. Check SOST settings

    3. Mention the email id in the customer master data

    Try and trigger from invoice use application V3

    Regards,

    Arnab

    Add comment
    10|10000 characters needed characters exceeded