06-16-2009 2:43 AM
Hi,
When we execute 'FPG1' Transaction, 2 outbound IDOCs are generated:
- FI document (FIDCC2/FIDCCP02)
- Controlling Document (CODCMT/CODCMT02)
Requirement is to change the control-record of the above 2 Idocs.
For FIDCC2, we could find FM 'FI_IDOC_CREATE_FIDCC2' which is hit during FPG1. Identified the
Customer-Exit in this FM and was able to change the control record.
But we are unable to find a User-Exit/Customer-Exit, where we can change the control record
for 'CODCMT'. During analysis, came over a FM 'K_DOCUMENT_SEND' which seems to be used for
CODCMT. But in the debug mode of Txn 'FPG1', it never hit this FM.
Any inputs as to how we can change the control record for CODCMT (during FPG1) would be appreciated.
06-30-2009 3:27 AM
Hi All,
I researched a bit more and was able to get to the solution.
The FM 'K_DOCUMENT_SEND' is called in UPDATE TASK by Standard SAP.
The FM ''K_DOCUMENT_SEND' can be enhanced by using the new Enhancement Framework option.
We were able to apply our custom code via Implicit Enhancement option and was able to modify the control record
for CODCMT, for our specific scenarios.
Regards,
Prathap
05-03-2012 12:44 PM
Hi Prathap,
Finally could you debug FM 'K_DOCUMENT_SEND' through transaction FPG1? It seems that FPG1 never goes to this FM..
Thanks,
Gergo