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

Updating BLART with BAPI : BAPI_ACC_DOCUMENT_POST

Former Member
0 Likes
1,570

Hi gurus,

I'd like to know wether it is possible to update the field BLART with the bapi BAPI_ACC_DOCUMENT_POST.

It seems that this bapi can be used for creating and updating BAPI Documents.

could you help me on this subject, please ?

Brice

1 ACCEPTED SOLUTION
Read only

RaymondGiuseppi
Active Contributor
0 Likes
1,167

BAPI_ACC_DOCUMENT_POST is a BAPI which posts accounting documents like transaction FB01.

What is your exact requirement (changing BLART, when ?)

Regards,

Raymond

4 REPLIES 4
Read only

RaymondGiuseppi
Active Contributor
0 Likes
1,168

BAPI_ACC_DOCUMENT_POST is a BAPI which posts accounting documents like transaction FB01.

What is your exact requirement (changing BLART, when ?)

Regards,

Raymond

Read only

0 Likes
1,167

I want to change the blart field of an existing FI document ( In bsid index table ).

Read only

0 Likes
1,167

You must reverse the incorrect document and then re-post it correctly.

Rob

Read only

0 Likes
1,167

The BLART document type is in BSEG and COBL, it is not one of the modifable field by default, are you able to change its value via FB02, if yes you may create a small BTC calling transaction FB02.

(Check via SPRO - Financial Accounting - Financial Accounting Global Settings - Document - Document Header - Document Change Rules, Document Header)

Also check

- [Note 107350 - Possibility of changing COBL fields after posting|https://service.sap.com/sap/support/notes/107350]

- [Note 79760 - Certain BSEG fields cannot be changed (FB02)|https://service.sap.com/sap/support/notes/79760]

So consider the following BAPI

- BAPI_ACC*REV_POST (e.g. BAPI_ACC_GL_POSTING_REV_POST)

- BAPI_ACC_DOCUMENT_POST with correct values

Regards,

Raymond