Skip to Content
Author's profile photo Harsha Baid

Reversal of dunning run in SAP

1       Introduction

This document discusses how a dunning run can be reversed. Reversal of dunning run means changes are required both at the customer master level and at the document level since dunning updates the customer master data and the open items for the customers that have become overdue

At the customer master level the last dunning run date and dunning level is required to be changed to the immediate prior run for that customer.

At the document line item level the fields dunning date and dunning level are required to be restored to those corresponding to the immediate prior run.

2       Background

In a typical business scenario it might be possible that a dunning run was executed by mistake though it was not supposed to be executed.

The issue of dunning letters cannot be undone. However changes can be made in the customer master data and transaction data. This change in master and transaction data is described below in the document.

3     Procedure and Aspects involved

SAP provides a standard program to undo the dunning run which has already been run. The program is RFCORR14. This program can be executed in the test run and once the results of the test run are fine, the same can be executed in the real run.  Running the program in the real run requires that code changes are made to the program to hard code name of the user who can run the program. This is done to ensure that only users who have access can run the program. Unauthorized users are prevented from running the program.

An instance of reversal of dunning run:

Selecting a particular customer 172200269 for dunning

Customer Master Data before the execution of dunning run:

/wp-content/uploads/2014/02/1_392706.png

Documents that are overdue for that customer:

/wp-content/uploads/2014/02/2_392707.png

Carrying out a dunning run for the selected customer:

/wp-content/uploads/2014/02/3_392714.png

Subsequent to the dunning run the customer master data changes as below:

/wp-content/uploads/2014/02/4_392715.png

The line items in the customer master data also get updated as under with the new dunning date and the new dunning level.

Customer line item display:

/wp-content/uploads/2014/02/5_392716.png

At the document level, the last dunned date and last dunning level gets updated as shown under:

/wp-content/uploads/2014/02/6_392720.png

Now we reverse the dunning run which was executed above:

Using the program RFCORR14 to reverse the dunning run/wp-content/uploads/2014/02/7_392721.png

Carrying out a test run giving the run date and identification:

/wp-content/uploads/2014/02/8_392722.png

In the test run we can see that changes are made both at the document level and at the customer master level:

/wp-content/uploads/2014/02/9_392723.png

If the results of the test run are successful, we carry out the real run by checking the field “Update run with update to BSEG”:

/wp-content/uploads/2014/02/10_392724.png

In case the name of the user is not hard coded in the program we get the following error:

/wp-content/uploads/2014/02/11_392725.png

Once updated the error does not appear.

The customer master data and the document data changes as shown below:

/wp-content/uploads/2014/02/12_392732.png

In the customer master, the dunning date changes to the previous date. The dunning date changes from 12.09.2012 to 31.05.2012 as shown below:

/wp-content/uploads/2014/02/13_392733.png

At the document level also, the last dunned date changes to previous dunned date immediately prior to execution of the dunning run. The dunning run will appear as blank and the dunning level becomes 0 in case the dunning run which was reversed was the first run for that particular line item:

/wp-content/uploads/2014/02/14_392734.png

Thus we see that the program RFCORR14 can be used for reversal of dunning run that was incorrectly dunned.

In order to prevent unauthorized use SAP has placed a check that the user who is authorized to run the program be hard-coded in the program. This prevents unauthorized users from reversing the dunning run.

Assigned Tags

      28 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Ajay Maheshwari
      Ajay Maheshwari

      Awesome Harsha. This is what I call rule of KISS- keep  information short and specific

      This is something new to me. Thanks

      Ajay M

      Author's profile photo Former Member
      Former Member

      Thanks Harsha,

      Author's profile photo Erwin Leitner
      Erwin Leitner

      Hello

      Great work

      All the best erwin

      Author's profile photo Mohammed Kalim
      Mohammed Kalim

      Hello Harsha,

      Nice work. Thanks for sharing.

      Regards,

      Kalim

      Author's profile photo Consultant Khan
      Consultant Khan

      Hi Harsha,

      Thanks for sharing this great document.

      Regards

      KIM Khan

      Author's profile photo Former Member
      Former Member

      Hi Harsha ,

      Thanks for sharing valuable info..

      Regards

      Sada Bandla

      Author's profile photo Former Member
      Former Member

      Hi Harsha,

      Thanks, never knew SAP has some standard functionality to reverse Dunning run also 🙂 .

      Best Regards,

      Gaurav

      Author's profile photo Sreekanta Marikeri
      Sreekanta Marikeri

      Very good document. Thanks for sharing....

      Author's profile photo Former Member
      Former Member

      Great value addition

      Thanks Harsha

      Author's profile photo pankaj pandey
      pankaj pandey

      Its a new one.

      Thanks

      Regards

      Pankaj P.

      Author's profile photo Atul Walvekar
      Atul Walvekar

      Hi Harsha,

      Thanks for doc, its really knowledgable .

      Regards

      Atul

      Author's profile photo Former Member
      Former Member

      Easy to understand document.

      I didn't knew something like this can be done in SAP.

      Thanks!

      Author's profile photo Muthukumareshan vijayan
      Muthukumareshan vijayan

      Hi Harsha,

      Thanks for sharing this great document  and valuable info..

      Regards

      Muthu

      Author's profile photo pawan Gupta
      pawan Gupta

      Hi Harsha,

      THANKS

      Regards

      Pawan

      Author's profile photo Former Member
      Former Member

      Good resource for all...Thanks.

      Best Regards,

      Naresh K.

      Author's profile photo Former Member
      Former Member

      Thanks Harsha.. for sharing your knowledge...

      Rgds

      Naresh Keesara

      Author's profile photo Former Member
      Former Member

      Very Very helpful for new learners like me... Thank u so much.

      Author's profile photo Former Member
      Former Member

      helpful document....

      Author's profile photo Former Member
      Former Member

      Awesome document, Harsha, very helpful, thank you.

      Author's profile photo Former Member
      Former Member

      Hi Harsha,

      Great work.

      Regards

      Umamageshwaran.S

      Author's profile photo Former Member
      Former Member

      Hi Harsha,

      Really nice information. Thanks.

      Author's profile photo Aniket Dharmadhikari
      Aniket Dharmadhikari

      Good work Harsh

      Author's profile photo Former Member
      Former Member

      Good document Harsha...with nice explain.

      Thank you..

      Regards.

      Sudharsana Vamsi.

      Author's profile photo Shashi C
      Shashi C

      Hello Harsha,

      Very nice and useful document.

      Rgds

      Shashi

      Author's profile photo Onkar Kadam
      Onkar Kadam

      Very useful and nicely explained.

      Regards,

      Onkar Kadam

      Author's profile photo Jeetendar Singh Yadav
      Jeetendar Singh Yadav

      Hello Harsha,

      I have executed report RFCORR14.

      The dunning level does not not update to Customer master. Only the last dunned date is updated.

      If I perform another dunning run later will it not update the dunning level in Customer master to the new level ? (Which will be incorrect)

      Thanks for your reply !

      Author's profile photo Former Member
      Former Member

      Hello Harsha,

      Good one.. clearly explained..:-)  Thank you

      Author's profile photo felipe espinoza
      felipe espinoza

      debugging%20report%20RFCORR14

       

      Para los que desean probrarlo en debugging --> /h enter enter

      si funciona , pero en el BP no actualiza el nivel de resto todo funciona.

      debugging report RFCORR14