Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Invoice Split for same customer but for different output types

Former Member
0 Kudos

Hi Gurus,

I have a requirement from the customers. A new output type has to be created with reference to the old type and for this output type a new driver program and SAP script was created with reference to the old one.They wants invoice split to be happened based on item level PO number. That was done successfully.

This invoice split logic was written in the billing routine RV60C901(Customized).

But now they came back with a issue that the invoice split should be done only if they use the new output type but not for the old one. That means for the same customer for one output type invoice split should be done based on item level po number and for one output type it should not. How can this be controlled for a particular

output type?

This output types will not be used in the billing routine as the split happens at the sales order level. Is there any configuration that allows split for a particular output type.

Please suggest me how to proceed???

2 REPLIES 2

former_member555112
Active Contributor
0 Kudos

Hi,

In the invoice split routine check if it is possible to find the output type making use of field symbols.

Just check in debug if the variable for output type is available as follows:-

(Program Name)variable name.

Regads,

Ankur Parab

0 Kudos

Hi,

In debugging i tried to find whether any output related field is used but the output type will be used for printing the the invoice, So it is used only after the billing is completed and at the time of printing the invoice. So how to use this output type in the splitting routine???