‎2013 Jul 03 3:55 AM
HI,ALL
When I use BAPI BAPI_ACC_DOCUMENT_POST in my program then posting OK and getting a accounting document. Then I check table BKPF and find the field TCODE that record is 'ZFI1029'. I don't know why it isn't a standard TCODE ?
Whether your SAP system is also in the same situation ? pls give directions ,thanks a lot .
‎2013 Jul 04 5:14 AM
Hi Yong,
Either you can do what Raymond has said or if it is for FI posting using transaction FB01, then you can write sy-tcode as below.
gs_acchd-tcode = 'FB01'.
Regards,
Debopriya Ghosh
‎2013 Jul 03 10:43 AM
‎2013 Jul 04 4:03 AM
HI Raymond,
Could we use some may make the field BKPF-TCODE is a standard tcode when we use BAPI_ACC_DOCUMENT_POST in program ?
‎2013 Jul 04 4:10 AM
Hello,whether we have been necessary change it turn into standard tcode through enhance?
‎2013 Jul 04 5:14 AM
Hi Yong,
Either you can do what Raymond has said or if it is for FI posting using transaction FB01, then you can write sy-tcode as below.
gs_acchd-tcode = 'FB01'.
Regards,
Debopriya Ghosh
‎2013 Jul 04 8:33 AM
Hi Debopriya,
Thanks your reply, if I keep the field value is Z+tcode in table field BKPF-TCODE, whether it will have some bad affection for system?
‎2013 Jul 04 11:38 AM
Hi Yong,
I dont think it will be a problem.
I have created a Custom Transaction where I have done a FI posting by BAPI 'BAPI_ACC_DOCUMENT_POST' using a Z-Transaction. Where I have checked in the Table of BKPF-TCODE contains the Z-Transaction.
Regards,
Debopriya Ghosh
‎2013 Jul 05 2:32 AM
‎2013 Jul 05 10:05 AM