Application Development 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: 

Update Bseg table for one field (Functional Area)

Former Member
0 Kudos
2,310

Dear all

I need to update function area in bseg table for existing records. How can i modify for that particular field without using update command. Is any BAPI is there for update document no. I have Lakhs records. So is any other way to modify that field.

This is happening in production. please give your valuable guide how to do it?

9 REPLIES 9

Former Member
0 Kudos
398

Any one help this issues?

Former Member
0 Kudos
398

Hi,

Use LSMW

Regards

Mudit

former_member404244
Active Contributor
0 Kudos
398

Hi,

Go for BDC for FB02 and then record that field only and populate it.

also check with bapi 'BAPI_ACC_DOCUMENT_POST'.

Regards,

Nagaraj

0 Kudos
398

Hi nagaraj

'BAPI_ACC_DOCUMENT_POST'. is for create a document. But i need change documents.

raymond_giuseppi
Active Contributor
0 Kudos
398

I'm not sure it is advisable to perform, take a look at OSS [Note 966428 - FB02: Functional area (FKBER) can be changed on coding block|https://service.sap.com/sap/support/notes/966428],*this note seems to imply that this area should not be changed..

Look alsio to Customizing (SPRO) Financial Accounting, Financial Accounting Global Settings, Document, Line Item, Document Change Rules, Line Item.

Keep in mind that this field is replicated from FI line items to other applications and tables.

If you must perform this change at you own risk, you may build a huge batch-input based on FB02 or FB09 transactions. Another solution is to reverse the documents and then post again those documents with functional area.

Regards

Former Member
0 Kudos
398

Hi,

Try this function module 'BAPI_DOCUMENT_CHANGE'. If it is not possible try BDC program with the transaction 'FB09.

Regards,

Jyothi CH.

Former Member
0 Kudos
398

>

> Dear all

>

> I need to update function area in bseg table for existing records. How can i modify for that particular field without using update command. Is any BAPI is there for update document no. I have Lakhs records. So is any other way to modify that field.

>

> This is happening in production. please give your valuable guide how to do it?

By "function area", I assume you mean business area. You must reverse the documents and recreate them with the correct one.

rob

Former Member
0 Kudos
398

solved

0 Kudos
398

Hi,

Please let me know how you updated that field.

Thanks,

Ragav