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 get the matnr from iw22 -Change - componets tab.

Former Member
0 Kudos

Hi,

I'm using the tcode iw22 , and NOTIF_EVENT_SAVE is the BADI using to trigger the mail.

In iw22 - I entered the notification number, and clicked on Change button.

In the tab strips , I selected the components , there is one field componet. and I made the changes.

How can I include this field value((RESBD-MATNR) along with the mail .

Please help me.

With regards ,

Rajesh

1 ACCEPTED SOLUTION

MariaJoãoRocha
Contributor
0 Kudos

Hi,

the matnr is in the structure RIWO1 of the badi NOTIF_EVENT_SAVE; method CHANGE_DATA_AT_SAVE.

Regards,

Maria João Rocha

2 REPLIES 2

MariaJoãoRocha
Contributor
0 Kudos

Hi,

the matnr is in the structure RIWO1 of the badi NOTIF_EVENT_SAVE; method CHANGE_DATA_AT_SAVE.

Regards,

Maria João Rocha

Former Member
0 Kudos

Hi

Which function module or class you are using to send mail.

Use this 'SO_NEW_DOCUMENT_ATT_SEND_API1' Function module to send mail and in this fucntion module append material number in CONTENTS_TXTwhich is table parameter (body of your mail).

Regards,

Ameen