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

Select in update mode..

Former Member
0 Likes
2,110

Hi All..

I have found one strange behavior with a select query in update mode. After doing PGI, one output type will trigger and associated smartform will get called via nast protocol. Inside that smartform i am using a select query to fetch data from some table and that select query returning expected values. But at the same time when i check in se16n table entries are not updated(created). So my doubt is, how select query returning values before database update?? I have tried select with bypassing buffer extension then also i can able to get values from select query?? Could anyone please explain what's the logic behind it and is there any extension to fail select query(SY-SUBRC <> 0) if database is not updated ??

1 ACCEPTED SOLUTION
Read only

RaymondGiuseppi
Active Contributor
0 Likes
1,744

Did you perform some search on database LUW and Isolation Levels (Here you select data modified in your own LUW, when SE16n executes in another one)

4 REPLIES 4
Read only

RaymondGiuseppi
Active Contributor
0 Likes
1,745

Did you perform some search on database LUW and Isolation Levels (Here you select data modified in your own LUW, when SE16n executes in another one)

Read only

0 Likes
1,744

Thanks Raymond Giuseppi ..

Read only

Former Member
0 Likes
1,744

Hi,

Why not provide the results form the query to the function module that is used by the Smartform?

by the way I'm not a 'Gent', gender neutral heading would be appreciated.

Kind regards Simone

Read only

0 Likes
1,744

Done. Sorry for the incnvenience.