Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

How to mail chart/graphics in abap

danny_roussel4
Participant
0 Kudos

Hi there,

I have some abap that creates great charts using GRAPH_MATRIX.

I have also abaps that send emails with attachments.

Now I want to email a chart, but I don't know what to specify inn the SO_CONTENT.

Has anyone experince with this please?

I did found the following:

"If the field SO_SEND is set to a value other than SPACE, then the graphic is NOT output on the screen. Instead, a SAPoffice document is generated which is described by the parameters SO_RECEIVER, SO_TITLE and SO_CONTENTS."

any help appreciated!!

danny

3 REPLIES 3

former_member194669
Active Contributor
0 Kudos

Hi,

If you are using fm GRAPH_MATRIX_3D there is importing parameter "mail_allow" have you checked that

0 Kudos

Hi,

the paramater 'mail_allow' means that when the graph is shown on the screen, one can email this graph.

But of course, since my abap runs during the night in background, this will not have much influence...

danny

0 Kudos

Hi,

You can see a PERFORM GR_SEND called in this function

Which in turn calls functions SO_OBJECT_INSERT & SO_DYNP_OBJECT_SEND & SO_OBJECT_SEND

in the include LGRAPFGL to send the email.

May be you can debug and check what is happening and you can include the same logic in your program.