I'm using the incoming idoc ACLPAY01 with the standard message type ACLPAY and what I need to do at the moment the receiving function module is executed is to adding a cost center (KOSTL) to the E1ACA3 segment based on another field that is already in that segment.
The receiving function module is the standard one IDOC_INPUT_ACLPAY and for doing this I implemented the user exit 032 (EXIT_SAPLACC1_032) and inside the include ZXAXXU06 I added the code for getting the cost center and I added it to the field C_ACCIT-KOSTL.
The problem is that the idoc is created, but the cost center is not there. Do you know what else should I do to make this work? Am I missing something?
Thanks in advance,