‎2011 Jul 27 3:03 PM
Friends,
I have a Transaction Z, to read a file and created documents in FI, using Call Transactio 'FB01'.
The document is created with the field BKPF-TCODE = 'FB01', Would record the transaction in the field Z ?
Anyone know of any exit or badi for this ?
Thanks,
Fabio
‎2011 Jul 27 3:39 PM
Hi
This field is getting filled in the include LACC9F20 , form FILL_ACCHD .
You can create an enhancement there to change the tcode but I think that other transactions looks for this record with TCODE = FB01 if you change, it will not be possible, like a reversal.
Cheers.
‎2011 Jul 27 4:00 PM
Hi
Try to use the BAPI BAPI_ACC_DOCUMENT_POST instead of the CALL TRANSACTION, that field will be filled with your z-transaction automatically
Max
‎2011 Dec 16 12:44 AM
Hi,
When we use the BAPI BAPI_ACC_DOCUMENT_POST, the field BKPF-tcode is filled with the Z-transaction, however, if we run the same program in background this field is not filled. I such a case what is the solution. Is creating an enhancement in the include LACC9F20 , form FILL_ACCHD the only option?
Thanks
‎2011 Jul 27 4:14 PM