cancel
Showing results for 
Search instead for 
Did you mean: 

Delivery related billing with VF04 based on sales group.

Former Member
0 Kudos

Hi Expert

I want to do delivery related billing in vf04 but sales group filed is grayed in vf04 so sorting is not possible if i not sort then it will bill to all customer that we dont want , i want to bill manually for different Customer on the basis Sales Group, how to handle this situation. we donu2019t have other choice such as Shipping point is only one. Even sold to party is same for all site. how to handle this situation.

thanks

Mona.

Accepted Solutions (0)

Answers (1)

Answers (1)

alex_zheng
Contributor
0 Kudos

Hi Mona,

The selection criteria fields for VF04 are hard-coded.

This cannot be done, the fields in the billing due list index are the

the fields in the billing due list (VKDFS) -> these are the only ones

that can be read and available to be added to the billing due list.

The nature of your request indicates that is is rather a consulting

issue.

Nevertheless :

A solution for this requirement can look like this (example with

sales office and sales group for RV60SBAT):

Add with an append the new field(s) on table VKDFS

(take care about the customer name space ZZ*)

Fill the fields ZZVKBUR and ZZVKGRP with userexit LV05IF0V

  • for Orders

FORM USEREXIT_VKDFS_SORTKRI_SALES.

VKDFS-ZZVKBUR = LVBAK-VKBUR.

VKDFS-ZZVKGRP = LVBAK-VKGRP.

ENDFORM.

  • for Deliveries

FORM USEREXIT_VKDFS_SORTKRI_DEL.

VKDFS-ZZVKBUR = LLIKP-VKBUR.

VKDFS-ZZVKGRP = LLIKP-VKGRP.

ENDFORM.

You will need to take a copy of RV60SBAT and add these fields to the

selection criteria and the select of VKDFS. See note 25026 which is

for selection via Payer but may provide additional information. Also

see note 63523.

You will also need to re-build the billing due index VKDFS with

program RVV05IVB.

I hope this information helps so far.

Thanks,

Alex