Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

How to overwite TCODE field value in BAPI_ACC_DOCUMENT_POST

Former Member
0 Kudos

Hi All,

My requirement is posting the billing document through z-program

By suing the bapi BAPI_ACC_DOCUMENT_POST

In this bapi from ECC6.0 onwards the TCODE field value is BAPI only

But I want the TCODE field value as my z-tcode only

How can I overwrite this value in bapi?

Thanks in Advance

Jaya.G

3 REPLIES 3

Former Member
0 Kudos

hai jaya

can u elaborate waht u want exactly

0 Kudos

Try to Make a Custom ZBAPI and do the necessary changes and use it in ZTCODE

0 Kudos

hi,

BADI AC_DOCUMENT is available in the system.

This badi is called whenever the account document is posted in the system.

With the help of this badi, i guess you can change the t.code value.

regards,

Vinod.