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

Commit work

Former Member
0 Likes
589

Hi All,

I am using FM FI_ITEMS_MASS_CHANGE to modify data of BSEG table in a report program.

I want to SELECT the modified data from BSEG in the same program.

I am using <b>commit work</b> statement after the FM is called, and then selecting the data from BSEG into an internal table, but still i am getting the old data(before modification).

Please suggest some pointers to get the modified data from table in the same report.

Rgds

Kaushal

4 REPLIES 4
Read only

Former Member
0 Likes
505

Did you refreshed the internal table..

Check internal table when you call that Fm for second time..

Read only

Former Member
0 Likes
505

Hello Kaushal,

Try using COMMIT WORK AND WAIT instead of COMMIT WORK.

Manoj

Read only

Former Member
0 Likes
505

Hi

The data is getting modified correclty. Only that when i try to select the same into a different internal table i get the previous entries.

But when i go and check in table BSEG i can see the modified values correctly.

Rgds

kaushal

Read only

Former Member
0 Likes
505

Hi Manoj

I have already tried COMMIT WORK AND WAIT, but it is giving the same problem

Rgds

Kaushal