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: 

CALL 'DB_GET_RELEASE'.

Former Member
0 Kudos
108

Hi

i want the value of databseversion number , i have found in system->status in that i am going through that screen program some where(db_get_release) the value of release if i am double click on that one it is giving not exist

call 'db_get_release'. what it is?

5 REPLIES 5

Former Member
0 Kudos
70

Hi kiran,

1. U can use the FM <b>DB_GET_RELEASE</b>

2. It will give the same (as shown on screen system-status)

database version number.

regards,

amit m.

Former Member
0 Kudos
70

hi Kiran,

That is a FM ,

chk this

REPORT  ychatest.

DATA : release(50).

CALL FUNCTION 'DB_GET_RELEASE'
  IMPORTING
    release = release.

WRITE : release.

0 Kudos
70

WHAT IS THE DIFF B/W CALL FUNCTION AND CALL

I FOUND CALL 'DB_GET_RELEASE' IF I DOUBLE CLICK ON THAT ONE IT IS SAYING NOT EXIST

0 Kudos
70

Hi again,

1. Call Function =

Some global FM is available in SAP, and we can use it.

2. CALL =

it means there is an internal call to some C function inside the Kernel.

This C function is compiled and is a part of the sap system,

we cannot directl see it in R/3. Such syntax is not generally used, apart by SAP itself.

regards,

amit m.

0 Kudos
70

CALL FUNCTION --- to call a Function module

CALL --- used when calling UNIX commands i guess

When you check the source code of that function module , you can get the same code which is

CALL 'DB_GET_REL' ID 'DBRELEASE' FIELD release.