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

fields not getting updated in the database through BAPI enhancement

Former Member
0 Likes
767

Hi Experts,

I have added 4 custom fields in the transaction FB60. The fields are getting displayed in vendor line item.

I have to fill these fields from an inbound idoc which uses the BAPI_ACC_DOCUMENT_POST bapi. I have implemented the BADI BADI_ACC_DOCUMENT to pass my custom fields to the bapi and it is processing correctly by adding the custom field values to the extension table that is getting passed to the standard program of the BAPI from the BADI.

But I think, I have missed to append my fields in one of the standard structures. I have added the fields in BSEG, CI_COBL( which is getting called in BAPICOBL_CI, ACCIT).

Can anybody tell me which other standard structure I should add my custom fields so that it functions properly and gets added to the BSEG table.

Regards,

Sangeeta.

Hi Experts,

I have added 4 custom fields in the transaction FB60. The fields are getting displayed in vendor line item.

I have to fill these fields from an inbound idoc which uses the BAPI_ACC_DOCUMENT_POST bapi. I have implemented the BADI BADI_ACC_DOCUMENT to pass my custom fields to the bapi and it is processing correctly by adding the custom field values to the extension table that is getting passed to the standard program of the BAPI from the BADI.

But I think, I have missed to append my fields in one of the standard structures. I have added the fields in BSEG, CI_COBL( which is getting called in BAPICOBL_CI, ACCIT).

Can anybody tell me which other standard structure I should add my custom fields so that it functions properly and gets added to the BSEG table.

Regards,

Sangeeta.

1 REPLY 1
Read only

Former Member
0 Likes
483

Solved on own.