Skip to Content
author's profile photo Former Member
Former Member

where is the code to avoid invoice split using multiple delivery numbers

My functional consultant is asking me to debug because while trying to created invoice using the 2 deliveries are not commingling into a single invoice. Means not able to create single invoice using both delivery notes.

He said, u201CThe split is happening in include RV60C901 based upon the vbrk-zukri value which is being populated in the perform "split_on_header_text". The thing is I do not know why this is the case - both of these DNs do not have any header text that is different.

Can you please help me look into why these split.

You can use VF01 and enter these 2 DN #s 6073122213 and 6073122212 in 2 different lines and choose the save icon. This will allow you to get to this code.

If you execute all the way through you will create an invoice. You can cancel this using VF11 (with the # that came up after full execution and the number 1 before that number) again by putting in the 2 new #s and choosing save.

Once this is cancelled you can go back to the VF01 step with the 6073122213 and 6073122212 doc #su201D.

Ho can I find out why ?

The coding perform split_on_header_text includes ztable selection :

*Get a list of text elements the program should check for

select *

appending corresponding fields of table t_zsplittext

from zsplittext " Texts ID's checked for splitting/combining

where vkorg = vbrk-vkorg and" Sales Organisation

zzenhancno = 'VD-06' and" Enhancement name

tdobject = 'VBBK' and" Texts used within VD-06

zzactive <> ''. " The record should be active

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Sep 23, 2008 at 03:53 AM

    Hi SAM ,

    first thing is u need to debug that program , and find out which enhancements it is using t_zsplittext ?.

    as per my knowledge Splitting will happens based on the config.



    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.