cancel
Showing results for 
Search instead for 
Did you mean: 

Appending new fields to BSEG table and updating old records

sanjay_ram
Participant
0 Kudos
368

Hi,

We would like to add new fields to BSEG table. While we know that it can be done, we want to know whether we can create an abap program to update this new custom field for the old records which are already existing in BSEG table?

Has anybody done this or we can update this field only for new records going forward and not for old records?

View Entire Topic
Former Member
0 Kudos

Hello Sanjay,

You can use the FM "FI_ITEMS_MASS_CHANGE"

with this function module you can change FI items with FB02 transaction

Best Regards,

Yassir

sanjay_ram
Participant
0 Kudos

Hi,

Using this function can i also update custom fields for old records?

Former Member
0 Kudos

Hi,

The import parameter of FI_ITEMS_MASS_CHANGE has S_BSEG structure. This structure has all the fields of BSEG and hence there is high possibility that zfields also can be updated. Please give it a shot.

Consider the options you have FM FI_ITEMS_MASS_CHANGE is the best choice.

Regards,

Kumaran