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: 

Refresh on logical database

Former Member
0 Kudos
488

Hello Gurus,

I need your help to solve one issue, please.

I make a copy from RM07RESL report to one Z, this report get data with logical database.

I need to create a button for user refresh data. I try to use the FM LDB_PROCESS, but return code 3, because the logical database is already in use, defined in program attributes.

Thanks in advanced.

Best Regards.

Paulo

1 ACCEPTED SOLUTION

mvoros
Active Contributor
0 Kudos
235

Hi,

I don't think that it's possible. You have to go back to your selection screen and run it again. Another reason why not to use logical databases (I understnad that you can't change it in this case).

Cheers

2 REPLIES 2

mvoros
Active Contributor
0 Kudos
236

Hi,

I don't think that it's possible. You have to go back to your selection screen and run it again. Another reason why not to use logical databases (I understnad that you can't change it in this case).

Cheers

0 Kudos
235

Hi,

After calling LDB_PROCESS function you could add this code.

DATA: L_FIELD(40). 
FIELD-SYMBOLS: <FS>. 
L_FIELD = '(SAPLSLDBFREE)BAD_LDBS[]'. 
ASSIGN (L_FIELD) TO <FS>. 
CLEAR <FS>.