‎2010 Jan 21 7:11 AM
Hi experts,
Have anybody changed the field BKPF-TCODE?
I am working on interface program to posting FI document via BAPI_ACC_DOCUMENT_POST.
Now,the result doc will always has TCODE=BAPI but my requirement want TCODE to have the same value as the interface program name.
Thanks,
Amornpon
‎2010 Jan 21 9:35 AM
Its getting filled in the subroutine fill_acchd of include LACC9F20
gs_acchd-tcode = sy-tcode.
The only possibility is implicit enhancement in routine fill_acchd.
But how will you differentiate through which transaction the record was created, if its required later.
‎2010 Jan 21 9:35 AM
Its getting filled in the subroutine fill_acchd of include LACC9F20
gs_acchd-tcode = sy-tcode.
The only possibility is implicit enhancement in routine fill_acchd.
But how will you differentiate through which transaction the record was created, if its required later.
‎2010 Jan 22 3:55 AM
Thanks for the answer.
Actually I try to avoid enhancing but it seems impossible.
About differentiate which TCODE that post the doc is not a problem.
I just want to know which doc is posted by my interface program.
I will fill TCODE with Z-TCODE that runs the interface program.