cancel
Showing results for 
Search instead for 
Did you mean: 

sales order Items having different billing date

Former Member
0 Kudos

HI experts,

we do have issue as follows:

  • when we create a sales order with a billing block = Z1 or Z4 (collective invoice). Tha billing date for each item should have the same billing date (the maximun of the billing date of each item) , but it is not working like this.

  • If sales order created with billing block Z1 or Z4, the billing dates for each line items should be same. But here in above case, the both line items created with different billing dates.

  • The correction to be done when we have a Z1 or Z4 billing block is to check (and change if requiered) :

         * the billing date of each item when a new item is added on a sales order   

         * the billing date of each item if one billing date is changed   

         * check and change the billing date of each item when an item is deleted

  • please suggest the posible solution.

Accepted Solutions (0)

Answers (3)

Answers (3)

jignesh_mehta3
Active Contributor
0 Kudos

Hello Prasann,

One of your requirement is when a Billing date of one of the Item is changed, Billing Dates of all the other Item should be changed. This is not possible via standard settings and you will have to insert a ABAP code in User Exit to do the needful.

Similarly, for the requirement if changing the Billing Date for other items if one of the item deleted, you need a development.

It will be a good idea to set in the custom code to copy the Header Billing Date to all the items whenever there are any changes in Item Billing Date or Item is deleted.

Thanks,

Jignesh Mehta

Lakshmipathi
Active Contributor
0 Kudos



In normal circumstances, while you create a sale order, after maintaining all header data, when you key in material code and quantity, system would, by default, copy the header data which includes Billing Date.  Having said this, ideally, all line items should have the same date.  In your case, if that is not happening, then you need to check in debug mode why system is not working as expected.


Moreover, since the validation should be done at item level when you key in a new line item, you can try with USEREXIT_MOVE_FIELD_TO_VBAP in the program MV45AFZZ

G. Lakshmipathi

eduardo_hinojosa
Active Contributor
0 Kudos

Hi

Check your copy rules from deliveries and SO and if you have any customer VOFM subroutine working.

Regards

Eduardo