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

User defined fields in BSEG and populate through BAPI_ACC_DOCUMENT_POST

Former Member
0 Likes
742

I have appended 5 ZZ fields in BSEG table and ACCIT struture.

I have defined Z_BAPI_ZUSR structure with POSNR as first field along with five ZZ fields.

In BAPI_ACC_DOCUMENT_POST, in EXTENSION2 structure i am passing these data. I have implemented BADI as per SAP recommended code. Data is appearing in ACCIT structure inside BAPI.

Some how these fields are not getting updated in BSEG.

Is there any other structure where i need to append these 5 fields?

I have appended 5 ZZ fields in BSEG table and ACCIT struture.

I have defined Z_BAPI_ZUSR structure with POSNR as first field along with five ZZ fields.

In BAPI_ACC_DOCUMENT_POST, in EXTENSION2 structure i am passing these data. I have implemented BADI as per SAP recommended code. Data is appearing in ACCIT structure inside BAPI.

Some how these fields are not getting updated in BSEG.

Is there any other structure where i need to append these 5 fields?

1 REPLY 1
Read only

Former Member
0 Likes
441

After executing the program SAPFgCCG it is working fine.