cancel
Showing results for 
Search instead for 
Did you mean: 

VOFM Copying Routines

Former Member
0 Kudos

Hi,

I have 2 requirements - firstly where sales orders should not be combined into a delivery for a particular Special Processing Indicator value ( VBKD - SDABW ), i.e, seperate deliveries should be created. The 2nd requirement is for delivery split for a single sales order based on shipping type condition.

I choose to copy the existing Copying requirement 051 in VOFM - > Copying Requirements - > Deliveries into a custom routine 600 and add the extra code here for VBKD - SDABW and asked my functional colleague to make necessary config in VTLA at header level. Unfortunately the routine is not triggered.

For the 2nd requirement, i decided to copy the existing copying req 101 and add the extra code here for shipping type in my custom routine 601 . After making config changes at item level, this routine is getting triggered and the delivery is getting split. However since 1st req is failing i tried putting the extra code of 600 in 601 itself -- since basically the 1st req also requires you to split the two orders into seperate deliveries instead of combining them into 1 delivery. But this is still not working.

i tried this idea since the concept is basically about splitting two orders into two deliveries in the 1st req and splitting a single order into multiple deliveries in the 2nd req. does my prob have anything to do with the fact that 601 is config at item level and 600 at header level ??

Any inputs are welcome since i am completely lost.... Thanks....

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Thank u... that worked for us... We also found SAP notes 546668 and 166397 which helped us... Thanks to everyone for their response

Former Member
0 Kudos

Hi

Can you tell me what logic you used for splitting in the routines ?

Cause for splitting you can use the field ZUKRL in LIKP table . In the conmbination requirement you can fill ZUKRL using the combination of sales area - special indicator -shipping type . This field is 40 characters long so you can fill this field with anything . Since the field is present in LIKP , if the field is nor unique for all items or orders than there will be split billing . Similarly it can be used for combination of sales orders .

I think this will suffice both your requirements .

eduardo_hinojosa
Active Contributor
0 Kudos

Hi,

Check these notes:

Note 546668 - FAQ: Delivery split when creating deliveries and related.

Note 399912 - Split analysis activation during delivery creation (so useful to do the analysis).

So you can copy it with tcode VOFM (search in google a document with this string: inside vofm ext:pdf, or check this notes, so you will know how to do your own VOFM (remember the naming conventions for VOFM, call it 901 e.g.). Too, you can check Note 327220 - VOFM function and its objects and related notes.

Regards

Eduardo