Skip to Content
avatar image
Former Member

Copying Control settings

Hi,

By using any copying control settings from sales document to Delivery order , Can we able to change ship-to-party in Delivery document? or By creating any routine would address this issue?

Thanks,

KP.

EM

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Feb 09, 2011 at 05:40 PM

    Hi,

    Create your own VOFM subrutine (use 003 as a sample and do the changes) and set it in VTLA

    form daten_kopieren_XXX.   "vofm xxx as a copy from 003
            xvbpa = cvbpa.
            xvbpa-vbeln = likp-vbeln.
           "here, set your coding for LIFNR or KUNNR and PARVW
            xvbpa-updkz = updkz_new.
            xvbpa-posnr = posnr_low.
    endform.
    

    I'm telling you about header. If it's for item check them

    Regards

    Eduardo

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi KP,

      1. Check what VOFM you have in copy rule. Copy it to the new VOFM. Talk with your ABAP to decide how to do it (range number for subroutines, RV80HGEN, ....)

      2. Decide what kind of partner you will use (customer or vendor, function,....)

      3. Set the policy or rule when the substitution must work. You and your ABAPer might know how to design the algorithm in ABAP.

      4. Set a breakpoint and debug it to check thatt it works. Think in all possible scenarios and check them before transport to production enviroment.

      I hope this helps you

      Regards

      Eduardo