Application Development and Automation 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: 
Read only

Archiving for Dunning

Former Member
0 Likes
1,304

Hi SAP Gurus,

I have a requirement to archive the outgoing doucments when dunning is run. currently the document that is generated is a custom smartform. The steps I followed are to first create Doc_type in OAC2 by copying FIODUNNING and then creating new record in OAC3 for BUS3008 and ZFIODUNN. Then copid the function module FI_ARCHDUNNING* to 'Z'. and there I have modified the TOA_DARA parameters for SAP_OBJECT n Doc type and object key to company code + vendor no. I hav made the required changes in FIBF to make this as the act. comp for process 1040. And now if I run the dunning, though a document is generated, it is not getting archived. Please let me know if I missed some thing. Is my approach right ? What should I do next ?

Hi SAP Gurus,

I have a requirement to archive the outgoing doucments when dunning is run. currently the document that is generated is a custom smartform. The steps I followed are to first create Doc_type in OAC2 by copying FIODUNNING and then creating new record in OAC3 for BUS3008 and ZFIODUNN. Then copid the function module FI_ARCHDUNNING* to 'Z'. and there I have modified the TOA_DARA parameters for SAP_OBJECT n Doc type and object key to company code + vendor no. I hav made the required changes in FIBF to make this as the act. comp for process 1040. And now if I run the dunning, though a document is generated, it is not getting archived. Please let me know if I missed some thing. Is my approach right ? What should I do next ?

1 REPLY 1
Read only

Former Member
0 Likes
758

I got it. I had to sent all the parameters to the function module 'get_print_parameters' with either ' ' or some data.