2005 Aug 10 4:12 PM
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
2005 Aug 10 4:16 PM
2005 Aug 10 4:40 PM
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.
2005 Aug 10 4:47 PM
2005 Aug 10 4:58 PM
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.
2005 Aug 10 5:04 PM
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
2005 Aug 10 5:15 PM
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.
2005 Aug 10 5:21 PM
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
2005 Aug 10 5:33 PM
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.