SAP for Utilities Discussions
Connect with fellow SAP users to share best practices, troubleshoot challenges, and collaborate on building a sustainable energy future. Join the discussion.
cancel
Showing results for 
Search instead for 
Did you mean: 

Interest reversal Document printing issue in Customized Correspondence Type

Former Member
0 Kudos

dear experts;

In our organisation it is required to print the Interest Invoice reversal document.

Since there is no SAP standard document available we are using Custom Correspondence type.

We have done following steps : -

  1. Define Custom correspondence type ZXXX
  2. Define Standard Form Classes for Correspondence : ZXX = FI_CA_DOCUMENT
  3. Define application form for Correspondence : ZXX = ZFI_CA_DOCUMENT_SAMPLE

Then we are using events 0020 and 0030  as mentioned in http://scn.sap.com/thread/1112871

However after FPCOPARA run we observed that there is no data being populated in the RDI spool file in SP02.

Pls let me know if we are missing anything.

Thanks in advance.

regards;

Sagar

1 ACCEPTED SOLUTION

AmlanBanerjee
Active Contributor
0 Kudos

Hi Sagar,

Assuming that you are getting the records in table DFKKCOH and DFKKCOHI through events 0020 and 0030, I think FPCOPARA is not picking these line items because it is not finding any events for printing for the specific correspondence type.

Go to the following SPRO config-

IMG->Financial Accounting->Contract Accounts Receivable and Payable->Basic Functions->Correspondence->Define Correspondence Types.

Select the Correspondence type that you have created for the purpose and click on control.

Now go to the events tab.

Choose Event Concept as Event Concept from Contract Accounts Receivable and Payable.

Give the Print Time Event as 722 and Creation event as 723.

Event 0722 is triggered by the main correspondence program to print a document.

The underlying posting material is selected in the print event.

The document correspondence gets created in event 0723

So you need to develop a custom FM for the correspondence type that you have created and plug in to the event.

Hope it helps...

Thanks,

Amlan

View solution in original post

3 REPLIES 3

AmlanBanerjee
Active Contributor
0 Kudos

Hi Sagar,

Assuming that you are getting the records in table DFKKCOH and DFKKCOHI through events 0020 and 0030, I think FPCOPARA is not picking these line items because it is not finding any events for printing for the specific correspondence type.

Go to the following SPRO config-

IMG->Financial Accounting->Contract Accounts Receivable and Payable->Basic Functions->Correspondence->Define Correspondence Types.

Select the Correspondence type that you have created for the purpose and click on control.

Now go to the events tab.

Choose Event Concept as Event Concept from Contract Accounts Receivable and Payable.

Give the Print Time Event as 722 and Creation event as 723.

Event 0722 is triggered by the main correspondence program to print a document.

The underlying posting material is selected in the print event.

The document correspondence gets created in event 0723

So you need to develop a custom FM for the correspondence type that you have created and plug in to the event.

Hope it helps...

Thanks,

Amlan

0 Kudos

Hi Amland;

thanks a lot for youre  response.Can you tell me which fields that I sould (must) populate in DFKKCOH and DFKKCOHI ?

regards;

Sagar

0 Kudos

Hi Sagar,

First try to analyse how an entry gets populated in the table for a standard correspondence type, like say dunning (Cotyp-0003) or Returns (Cotyp-0001), before and after the transaction Code FPCOPARA is executed.

Before the print run, the entry in table DFKKCOH should contain the Correspondence type,Correspondence Key and all the other objects related to the correspondence, like the Document no, Creation date, Contarct Account, Business partner etc.

After the print run, the Print date field gets updated along with the date and the identifier.

The insertion of these entry in the table should be triggerred when you are reversing the interest document.

Hope it helps...

Thanks,

Amlan