cancel
Showing results for 
Search instead for 
Did you mean: 
Subscribe

One of our customers has this process:

At the moment of the outbound delivery creation related to the sales order, if they need packaging material they add it directly in the outbound delivery and use it to package the delivered material.

At the end of the month they launch the VF04 - billing due list -. For this particular process only the ZWIA are created in the pool and thereafter they have to bill the "packaging positions" due to invoice, using the VF01 - first choosing manual the ZF2.

In "Copy control" Delivery => Invoice, the "position type A" is part of the LF => ZWIA customizing while "position P" => ZF2.

I would like to configure this process so that they do not require further steps more after the VF04 - and that therefore, after launching it, the outcome is the two invoices (ZWIA and ZF2).

Thanks for your help in advance,

David

View Entire Topic
Former Member
0 Likes

What are the Billing types user inputs in the selection screen of VF04, have you tried by inputting both billing types in field "Billing Type"?

former_member342867
Participant
0 Likes

The VF04 only finds the ZWIA. After this ZWIA is posted, doesn't find any more - that's why they currently use the VF01 to bill the package positions left to be invoiced.

Former Member
0 Likes

The question is -

Why with VF04 user cannot invoice delivery with packing material?

If billing document can be created with VF01, then it should be possible to create it with VF04 too.

Perform below test:

1. Create a delivery with only packing material

2. In the selection screen of VF04 input ZF2 in field "Billing Type" and execute. Does the billing due list pickup the delivery referred to in 1?

If not, please paste the screenshot here

former_member342867
Participant

I tested and the test was quite relevant. I found something.

The VF04 tries to bill the Pack position with a ZWIA ... BUT as in "copy control" is not allowed, it triggers an error. And that's perfectly fine.

The thing I found is that in "MV50AFZ1 form userexit_move_field_to_lips", given a certain condition (customers country = 'ES') the likp-fkarv = 'ZWIA' (FKARV = "The billing type that the system automatically proposes for this type of sales document during the creation of billing documents (invoices, credit memos, etc.) that refer to deliveries").

I guess I should try to substitute this "billing type proposal" in "copy control" at "pack position type" level - using a new routine in Data VBRK/VBRP... That's my best guess by now.

Former Member
0 Likes

To confirm, did you test by inputting billing type ZF2 in the selection screen of VF04, when you try to bill a delivery with packing material?

Before doing any development, please test this.

former_member342867
Participant
0 Likes

Yep... actually when I wrote "I tested and the test was quite relevant" - the test I did is the one you mentioned.

I'm trying to figure out where is the best point to develop... I'll try tomorrow to put some breakpoint in copy control and see what I can do.

I'll keep you posted - thanks very much for your help.