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 for FB02

Former Member
0 Likes
10,878

Hello Guys,

Is there any BAPI for FB02 which updates the

reporting country feild and
vat field with

error messages as well?

Thanks in Advance.

5 REPLIES 5
Read only

Former Member
0 Likes
4,463

Hi,

You may use the FM FI_ITEMS_MASS_CHANGE.

Cheers

~Niranjan

Read only

Former Member
0 Likes
4,463

Hi,

There is no BAPI but you can find many FM for the same.

It is better to use BDC for this as it will check the standard message and customized message on the screen . You can use FB09 tcode for the same it will easy for you to make the BDC of this tcode.

Regards,

Rahul Singh

Read only

Former Member
0 Likes
4,463

Hi Amit,

Use Function Modules:

BAPI_ACC_DOCUMENT_POST                Accounting: Posting

BAPI_ACC_DOCUMENT_REV_POST     Accounting: Post Reversal

Read only

bastinvinoth
Contributor
0 Likes
4,463

use 'BAPI_ACC_DOCUMENT_POST'.

its having 3 structures, one of the structure having those fields BAPIACPA09

BAPIACPA09 -> TAX (Liable for VAT) , Country (Country Key)

Regards,

Bastin.G

Read only

RaymondGiuseppi
Active Contributor
0 Likes
4,463

There are no actual BAPI available , but FM like FI_ITEMS_MASS_CHANGE (which creates BDC for FB02)

But are you able to change those fields in FB02 or FB09 transactions, (Check Customizing and documentation like Note 827413 - FI: Changeability of fields in FI documents)

If those fields cannot be changed, consider BAPI like BAPI_ACC_DOCUMENT_REV_POST and BAPI_ACC_DOCUMENT_POST to reverse and post again the (corrected) documents. (If some documents are cleared, also consider calling FM POSTING_INTERFACE_RESET_CLEAR between POSTING_INTERFACE_START and POSTING_INTERFACE_END)

Use search tool at scn as there are already many threads/discussions on this topic.

Regards,

Raymond