Skip to Content
0
Oct 26, 2017 at 06:35 PM

Auto Debit Note creation with only discount condition

210 Views Last edit Oct 26, 2017 at 07:18 PM 2 rev

Hi Experts,

I have searched the SCN and posting this requirement, Please help me...

I Want to create a Debit Memo request and Debit Memo automatically with reference to Invoice. I can automate it using 'BAPI_SALESDOCU_CREATEFROMDATA' or Function module for Create Sales Order.

Now the issue is In invoice there are somany condition types like Base price, Discount, Tax, Fright.

But I want to create the debit memo request only for the Discount amount or Value. which I want to do using BAPI of FM. But when I am passing the reference Invoice details in BAPI and FM executing. System is getting Pricing procedure which is standard process and creating the Debit Memo Request..

Please Help me How to create a Debit Memo request with reference only for discount value from the reference Invoice.