VA01 copy documents, update pricing dates and prices

Source: Internet
Author: User

The user often copies the document, and when the document is copied, it brings over the historical data of many dates. Pricing date is one of them, and the price is often changed, or deleted, there will be a price error and so on.

1. Update the pricing date to ensure that historical prices are not used.

2. Update the price to ensure that the price is followed by the pricing date.

1. Update the pricing date

Include Lv45cfdb

FORM Vbkd_select

To do the implicit enhancement, at the end of the form, update the VBKD.

LOOP  at FXVBKD.  FXVBKD-PRSDT = sy-DATUM.   MODIFY FXVBKD. Endloop.

2. Update prices

Include MV45AFZB (export of sales order)

FORM USEREXIT_NEW_PRICING_VBKD

IF  is  not INITIAL  and ' Uebr ' .   ' B ' . ENDIF.

VA01 copy documents, update pricing dates and prices

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.