cancel
Showing results for 
Search instead for 
Did you mean: 

Combine selected Debit memo request Items into one invoice

Former Member
0 Kudos

Hi

The requirment is to select line items from multi debit memo request documents and combine those line items into one invoice.

So far, our ABAP developer is designing an selection screen to list all the line items met certain criteria (e.g. certain material number, or certain service rendered dates etc.) from multi debit memo request.

My challenge is how actually combine all these line items and push into one invoice ?

I see that in VF01 SAP provides the capability to combine multi sales documents into one invoice processing . ( forget about the invoice split rule for now.) , but the item selection is greyed out.

If I use VF06 do the collective billing, where to enter the line items ?

Is there some user exit / BAPI can push line items from different sales document into one invoice creation ?

Please let me know if my requirement is not clear.

Thanks

Edited by: Eric Y on Aug 25, 2008 6:04 AM

Accepted Solutions (0)

Answers (5)

Answers (5)

claudia_neudeck
Active Contributor
0 Kudos

no action since over two months, I close this thread

Former Member
0 Kudos

Reply to R.Janakiraman:

1.) As my understanding that debit memo is a billing invoice. Debit Memo Request is a sales doc. At least what I meant here debit memo and billing invoice is the same document.

2.) We would like create the debit memo (invoice) through "SD" not FI.

The challenge still exists, let me explain.

Let's say we have 50 Debit Memo Request (DMR) Documents ready to bill the customer and each DMR has multi line items.

e.g. DMR 001 has 20 line items and DMR 002 has 30 line items.

The customer would like to take the 10 line items from DMR 001 and 20 line items from DMR 002 ( by certain selection criteria) to combine into one invoice.

I was thinking use VF01 to combine the DMR 001 and 002 and let the program put billing block on those non-billed items, but in reality it doens't work; because some of the line items in the original DMR may have already been blocked the user. If the program put billing block, I can't tell whether the line item billing block is set originally by end user or the program.

What I am trying to search for is the solution to take some of the line items from different DMRs and combine into one invoice, not combine several DMRs into one single invoice.

Please help if there is any BAPI can do the job .

Thank you, Ashish Mohapatra , I will ask our ABAP developer to investigate the bapi

BAPI_SALESDOCU_CREATEFROMDATA1.

SNavaneetha

You said that "The line items being greyed out is due to the property of the Item category of the DMR". Does that mean I can config the item category to allow to be entered ? Which field in the Item category that I can do that ?

Great thanks for all

Edited by: Eric Y on Aug 30, 2008 7:13 PM

Former Member
0 Kudos

The BAPI BAPI_SALESDOCU_CREATEFROMDATA1 is to create debit memo request and not debit memo (ie G2 type Billing document).

To combine some items of different DMRs, you can use VF04 transaction. (only if they have same sold-to party, billing date etc)

If only you have a very clear cretiria for selecting and combining DMR, you can do the same programatically.

former_member183879
Active Contributor
0 Kudos

Hi Eric,

The line items being greyed out is due to the property of the Item category of the DMR.

If you want to combine multiple DMRs into one DM, it is possible through normal copy controls. You can also do that combination through VF04(Billing due list)

Once you select the DMRs in VF04, and say Create collective billing, the invoice creation screen will show different line items/different invoices based on the scenario.

Here, if you want to remove a line item, or change teh quantity of the l ine item, your configuration is as follows.

In VOV7, go to the item category, select the Billing relevance as F( It should be billing quantity equal to total quantity minus billed quantity)

If this is done, then it will allow you to delete the individual line item, or change the quantity in the line item.

Hope this helps

Former Member
0 Kudos

hi,

You reqirement is not clear, Since in the begining you said it is a debit memo and later you say it is billing doc. Also you have not mentioned how you created the debit note (thro 'SD route or FI).

Pl respond.

Regards,

R.Janakiraman

Former Member
0 Kudos

Use the bapi BAPI_SALESDOCU_CREATEFROMDATA1.