Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

need help about dunning application form

Former Member
0 Kudos
304

Hello everybody,

I have a problem with the dunning printing.

I made a copy of the form of application FI_CA_DUNNING_SAMPLE of the class of form FI_CA_DUNNING. I configured the activity of revival with the form as well as the module function ISU_DUNNING_PR_CORR_CONT_0350.

However nothing leaves to the impression, except the texts into hard, as well as the constants. No local variable like &WA_DUNN_HEAD-LAUFD& is posted.

Can you help me ?

Virginie

8 REPLIES 8

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos
218

Yes, all variables that are used in the form must be global. For example, You can not use local variables inside of PERFORM statements. Put your variables in the TOP include or at the top of the program.

Regards,

Rich Heilman

0 Kudos
218

I know that.

In fact, a module is generated automatically, and workareas for the use in forms are in the TOP include :

DATA: WA_DUNN_HEAD TYPE FKKMAKO.

DATA: WA_DU_EURO TYPE FKKMAKO.

But, in my application form, when I call them like : &WA_DUNN_HEAD-GPART& ( or by : insert 'Program symbols' ),

nothing is posted.

0 Kudos
218

Are you sure that there is data in these work areas.

Regards,

Rich Heilman

0 Kudos
218

I'm not sure because I can't debug.

To print the form, I have to go in the spool request (SP01).

The dunning is made, and I have data in table FKKMAKO.

But the link don't seem to exist.

The first node of the application form FI_CA_DUNNING_SAMPLE is on FKKMAKO.

Do you know how debug from sp01 ?

I set pointbreak in module function and in application form.

0 Kudos
218

the spool in SP01 has already passed the point of generation, viewing the document in SP01 does not kick off the print program. You will have to debug from the transaction which generates this output, or you can trigger it manually via the print program. Are you working with a standard SAP print program, or a custom one. Maybe you can post some relevant code?

Regards,

Rich Heilman

0 Kudos
218

I'm working with a standard SAP program.

I use the transaction : FPCOPARA.

When I debug, I don't enter in the application form or function module.

0 Kudos
218

I do not have that transaction in my system. So this transaction is the one that will print your form? If it passes the printing off to another task, you will have to turn on UPDATE Debuggin. Set a breakpoint in the main progam, once stopped in the main program, click settings, update debugging.

Regards,

Rich Heilman

0 Kudos
218

In some industry components we can also print in the dunning activity run. However, SAP recommends that we use the dunning activity for creating a correspondence container and the transaction Correspondence Printing (FPCOPARA) for printing.