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: 

Reading email address from message condition record - problem with SWC macros

Former Member
0 Kudos

I need to read the email adresses stored in a standard ESYM message condition record (transaction VV11) in my own ABAP programm. Today i read NACH-TDNAME and use the SWC macros to get the addresses.


   swc_create_object message 'MESSAGE' nach-tdname.

   swc_get_table_property message 'Recipients' itab_receivers.


   loop at itab_receivers.

     swc_get_property receiver  'Name' itab_reclist-receiver.

     ...

   endloop.


However, the external email adresses get truncated by the swc_get_property macro. Instead of the full length address I  get only 30 characters even if the destination field is long enough.


So Im looking for an alternative to the SWC macros to retreive the full email adress.



1 ACCEPTED SOLUTION

Juwin
Active Contributor
0 Kudos

Recipients object, seems to have an attribute AddressString. Can you see if that attribute has the complete address without truncation.

Thanks,

Juwin

2 REPLIES 2

Juwin
Active Contributor
0 Kudos

Recipients object, seems to have an attribute AddressString. Can you see if that attribute has the complete address without truncation.

Thanks,

Juwin

Former Member
0 Kudos

Just tested this. Works fine, thanks for the fast reply!