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

Refresh on logical database

Former Member
0 Likes
989

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
Read only

mvoros
Active Contributor
0 Likes
736

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
Read only

mvoros
Active Contributor
0 Likes
737

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

Read only

0 Likes
736

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>.