Application Development and Automation 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: 
Read only

How to overwite TCODE field value in BAPI_ACC_DOCUMENT_POST

Former Member
0 Likes
1,206

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
Read only

Former Member
0 Likes
647

hai jaya

can u elaborate waht u want exactly

Read only

0 Likes
647

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

Read only

0 Likes
647

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.