Skip to Content
author's profile photo Former Member
Former Member

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

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Feb 13, 2014 at 03:22 PM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 13, 2014 at 06:54 PM

    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 2 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...



    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.