cancel
Showing results for 
Search instead for 
Did you mean: 

E-Mail address

Former Member
0 Kudos

Hi experts,

looking for the E-Mail adresss of the Business partnr in the FU. I am using root node and the association BUPA_CONSIGNEE_ROOT. ADDRESSINFORMATION-> ADDRESS ->E-MAIL, but it is empty.

I have filled the E-Mail both in the Location and in the Business Partner. Any hint where I can get it from?

Petra

Accepted Solutions (1)

Accepted Solutions (1)

former_member186607
Active Contributor
0 Kudos

Hi Petra,

check out standard extractor for control parameters /SCMTMS/EXTR_CPARAMS_TOR. Here we determine the e-mail-adress of the responsible person via the address number. I guess this should also work using the address number of the business partner:

IF ls_usaddress-addrnumber IS NOT INITIAL AND

         ls_usaddress-persnumber IS NOT INITIAL.

*       Get Email-Address using PERSNUMBER and ADDRNUMBER

        CALL FUNCTION 'ADDR_SELECT_ADR6_SINGLE'

          EXPORTING

            addrnumber          = ls_usaddress-addrnumber

            persnumber          = ls_usaddress-persnumber

          TABLES

            et_adr6             = lt_requisitioner_data

          EXCEPTIONS

            comm_data_not_exist = 1

            parameter_error     = 2

            internal_error      = 3

            OTHERS              = 4.

Best regards, Daniel


Former Member
0 Kudos

there is a Standard way to do this using the Standard parameter, but your answer is not wrong, thus I have marked it as correct.

Answers (1)

Answers (1)

former_member190756
Active Contributor
0 Kudos

Hello Petra,

maybe it is better to ask this question in the TM forum:

http://scn.sap.com/community/scm/transportation-management/content

as it is not an EM specific topic.

Best regards,

Steffen