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

BKPF Custom Fields update from BAPI

Former Member
0 Likes
2,876

Hello,

I have cutom fields on BKPF table and trying to PARK FI document through "BAPI_ACC_DOCUMENT_POST" by enabling BTE, which is working fine;  but i couldn't get my custom fields value gets populated in BKPF by passing value either in "DocumentHEADER" structure in BAPI or passing from BTE / "DOCUMENT_HEADER" in BTE.

Could someone suggest how we can achieve this.

Thanks

Mani

3 REPLIES 3
Read only

PawelGrzeskowia
Explorer
0 Likes
1,515

Try to use extension2 parameter.

Read only

0 Likes
1,515

Its not helping, I have implemented CL_EXM_IM_ACC_DOCUMENT for extension2 and the control is not coming there.

Thanks

Mani

Read only

Former Member
0 Likes
1,515

Hi Manikandan,

Could you plz try to call FM FI_DOCUMENT_CHANGE immediately after BAPI BAPI_ACC_DOCUMENT_POST or other reason could be that you might have not used BAPI_TRANSACTION_COMMIT or COMMIT work statements.

Cheers

VJ