11-23-2011 4:38 PM
Hello Experts,
I want to find out the exits/BADI's for changing the file format while submitting a file for collection agency during mass processing ( FP03DM ).
I know there are events 5062, 5063, 5064 but they only enable me to change the existing field contents and not the length..etc of rows in the file.
Please suggest
Thanks
Ricky
11-24-2011 12:23 AM
Hi Ricky,
Your problem can have two solutions:
1. Fill the data in event 5062, 5063 and 5064. These events update table 'dfkkcolfile_p_w'. From there by passing Issue Date and ID, you can pick all records to be submitted to Collection Agency. The using event 1799, you can pick all these records and create your own file. (Preferable)
2. You can customize structures FKKCOLFILE_HEADER, FKKCOLFILE, FKKCOLFILE_TRAILER to include your own fields. But in this case, it fields would be in same order as structure.
Thanks.
Ravi
11-24-2011 12:23 AM
Hi Ricky,
Your problem can have two solutions:
1. Fill the data in event 5062, 5063 and 5064. These events update table 'dfkkcolfile_p_w'. From there by passing Issue Date and ID, you can pick all records to be submitted to Collection Agency. The using event 1799, you can pick all these records and create your own file. (Preferable)
2. You can customize structures FKKCOLFILE_HEADER, FKKCOLFILE, FKKCOLFILE_TRAILER to include your own fields. But in this case, it fields would be in same order as structure.
Thanks.
Ravi
11-29-2011 7:53 PM
Thanks Ravi.
Soultion 1) seems to work. But is it event 1799 or 1728 that encloses calls to all of these events 5062 5063 5064. Can you please verify?
Thanks
Ricky
11-29-2011 11:09 PM
11-29-2011 11:15 PM
Hi Ricky,
Event 1799 is a common event for all mass runs which is triggered after the last interval of mass run is processed. You can use this event for your problem. I'm doing it for my interface. Just make sure to put a case or if statement to be executed only when the mass run related to Collection Agency submisison takes place.
I think the ID for submission mass run is '0098'. For this you can check field i_basics-runkey-aktyp.
Thanks.
Ravi