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: 

Email Address is being cleared for Ship To party Partner function in VA02 Sales order

Former Member
0 Kudos

Hi,

                I need to change Ship To  Address through programatically in VA01/VA02 transaction (Salesorder -SAPMV45A program) ,

Able to modify Address details like Company name,city ,country telephone number..etc  properly   using Function module , but observed Email Address is being cleared off after  my logic is being executed. 

i am using SD_PARTNER_ADDRESS_SET function module for Modifying Ship To partner address.

A new Address number (temporary number like : "WE &00001" ) is being created after passing to it.

i am passing Email Address also for this function module in parameters. Please help in this through your suggestions.

Thanks,

Vamsi

4 REPLIES 4

Former Member
0 Kudos

You are right.

I'm doing the same thing and i have seen that in the function module the abap code to transport the value from the parameter to the internal table is missing/incomplete.

i wait for in the sap note but i didn't found anything.

Former Member
0 Kudos

Adding one more point ,

While i have gone into function module SD_PARTNER_ADDRESS_SET , found , one thing

There is an explicit Dynamic enhancement point with code related to Email Address (smtp_addr field) , but this code part is not being found while in Debug mode.  Reason i felt when i checked it's Enhancement  Properties as Switch position is in OFF.

Pasting that enhancment part code part which is not appeared while in debug mode...

whether if this code being able to make in Active mode, will my Email address issue will resolve? or activating this code will not affect any of other functionality? How to Make this code Active any suggestions?

ENHANCEMENT-POINT EHP_LV09AU18_02 SPOTS ES_SALV09A.

*$*$-Start: EHP_LV09AU18_02---------------------------------------------------------------------$*$*

ENHANCEMENT VPD_SFWS_SC1_V09A_SD_ADDR_SET.    "active version

*   email

     if not fis_address_comm-smtp_addr is initial.

       clear lvs_adsmtp_wa.

       lvs_adsmtp_wa-adsmtp-smtp_addr = fis_address_comm-smtp_addr.

       if not lvs_adsmtp_wa-adsmtp is initial.

         lvs_adsmtp_wa-adsmtp-flgdefault = 'X'.

         append lvs_adsmtp_wa to lvs_addr1_complete-adsmtp_tab.

       endif.

     endif.

*   mobil

     if not fis_address_comm-mob_number is initial.

       clear lvs_adtel_wa.

       lvs_adtel_wa-adtel-tel_number = fis_address_comm-mob_number.

       lvs_adtel_wa-adtel-r3_user = '3'.

       if not lvs_adtel_wa-adtel is initial.

         lvs_adtel_wa-adtel-flgdefault = 'X'.

         append  lvs_adtel_wa to lvs_addr1_complete-adtel_tab.

       endif.

     endif.

ENDENHANCEMENT.

*$*$-End:   EHP_LV09AU18_02---------------------------------------------------------------------$*$*



Welcome your Answers...



0 Kudos

Which is your relaese and patch level?

In my SAP ECC 6.0

SAP_BASIS7000020SAPKB70020
SAP_ABA7000020SAPKA70020
SAP_APPL6000016SAPKH60016

there isn't the enhancement mentioned to you.

Thanks of all.

0 Kudos

Hi Daniele petroni,

                   I will let you know soon, it is of my client system , currently  they are doing some maintaenace activity .

Thanks,

Vamsi