cancel
Showing results for 
Search instead for 
Did you mean: 

Automatic creation of debit or credit memo

Former Member
0 Kudos

Hi All,

I have the following scenario as part of the Business requirement, please suggest me how to map this in SAP

A company sells products on the basis of a price. The agreement is that billing will happen on the basis of previous monthu2019s price, in the current month. On the first of every month the new price is declared. On the second of the month, after the new price is declared, the company calculates the difference on every invoice and needs to send debit memos and credit memos for the difference of the price between current month and last month. This should happen automatically and not on a invoice by invoice basis manually. In other words in one run all the debit memos and credit memos should get generated.

Thanks in advance

Seetharam

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member217082
Active Contributor
0 Kudos

Hi Seetharam

Apart from Hegals advice, You can Create a rebate agreement by giving the From and To Dates and Maintain a factory calendar and assign the factory calendar in customer master record->sales area data->billing tab->Invoicing dates for the customer.In the rebate agreement program SAPMV13A ,copy the program and assign the same program for the rebate agreement and include the logic when and how debit memo and credit memo should get generated

Regards

Srinath

Former Member
0 Kudos

Hi Srinath,

Thank you very much. Once the business requirement is freezed we are going to start the configuration process and will update the thread

Seetharam

former_member209761
Active Contributor
0 Kudos

Dear seetharamsapsd ,

Create a new document type for both credit memo and debit memo requests.

Copy control to the respective credit memo and debit memo should be there.

Pricing procedure should contain provision to map the difference amount.

Create a Z program recording a BDC for the creation of Debit and credit memo request.

It is better to keep have only one Z program.

In the program write a logic to check the price change comparing the values of previous month created orders and

this months condition record values.

Based on whether there is increase or decrease , system should run the respective BDC for the debit or credit memo request.

This program can be set in background maybe at midnight.

Also save VF04 as a background job (so that the debit / credit memos as also created automatically)

Set this VF04 background job to run after say 1 or 2 hours from the time our Z program is running.

I hope you know the different tables/fields from where you can get the desired condition to run the program.

Thanks & Regards,

Hegal K Charles

Former Member
0 Kudos

Hi Hegal,

Thanks for the reply. I will do accordingly and will get back if there is any issue

Seetharam