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

BAPI_ACC_DOCUMENT_POST

Former Member
0 Likes
626

Hi,

1. our database table BSEG was extended with a field 'ZZVAN'

2. the FM 'BAPI_ACC_DOCUMENT_POST' has been extended by implementing the Badi 'ACC_DOCUMENT'.

Method IF_EX_ACC_DOCUMENT~FILL_ACCIT looks like this:

c_accit-zzvan = '123456789012'.

The document was posted succesfully, but the field 'zzvan' in the database was not filled in.

I expected the field bseg-zzvan to be filled in.

Do we need extra customizing, or any clue on what might be missing is welcome here ?

2 REPLIES 2
Read only

Former Member
0 Likes
463

Hi,

Try using the BTE to populate the custom field..

Check this link for a good example..

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/207835fb-0a01-0010-34b4-fef...

Thanks,

Naren

Read only

0 Likes
463

Thanks.