cancel
Showing results for 
Search instead for 
Did you mean: 

Invoice Split with exception !!

Former Member
0 Kudos

I split invoice depending upon tax codes in the sales order(enhancing a sample routine in VOFM and assigning it to copy control). But according to the requirement there would be some items in sales order with particular tax codes for which there should not be any split. For others split should occur. Right now my routine splits the invoice when it finds a different tax code. Can you guys suggest me a solution how can this be possible ? Thank you in advance.

Accepted Solutions (0)

Answers (6)

Answers (6)

Former Member
0 Kudos

Hello All,

The problem is solved. We are using a tax code group maintained in a custom table field and passing the tax code group to ZUKRI. And this is the new splitting critereon.

Thank you.

regards,

Arindam

Former Member
0 Kudos

Hi Arindam ,

In your Functional Specification give the condition that if " Tax code = xxxxx " and "Tax code = yyy " then split (Explain this to abaper ,abaper will be able to do this)

just like multiple payers in billing will split .

Regards

Adarsh PD

Former Member
0 Kudos

Hi Arindam ,

In your Functional Specification give the condition that if " Tax code = xxxxx " and "Tax code = yyy " then split (Explain this to abaper ,abaper will be able to do this)

just like multiple payers in billing will split .

Regards

Adarsh PD

Former Member
0 Kudos

Hi Arindam ,

In your Functional Specification give the condition that if " Tax code = xxxxx " and "Tax code = yyy " then split (Explain this to abaper ,abaper will be able to do this)

just like multiple payers in billing will split .

Regards

Adarsh PD

former_member182378
Active Contributor
0 Kudos

arindam,

please elaborate

But according to the requirement there would be some items in sales order with particular tax codes for which there should not be any split. 

tw

Former Member
0 Kudos

Hello TW,

For example,-

A sales order has two items. One has a tax code AA and the other has a tax code AB. The current customized routine(Data Transfer - VOFM) while creating invoice will split into two invoices. Whenever the items have different tax codes there will be separate invoices.

But, the requirement is that there will be some tax codes for which we dont need to split the invoices.

lets say for  AA, AB we dont split but if its AA and AC we will split.

Former Member
0 Kudos

Hi,

maintain a ztable where you´ll keep the exceptions that will be checked by your customized routine. Work with your abaper to define logic needed.

Regards,

JM

Lakshmipathi
Active Contributor
0 Kudos

Since the routine is a customized one as indicated by you, you need to revalidate the same with your technical team and modify the existing logic to suit your requirement.

G. Lakshmipathi