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

GET bsid. How does it work?

Former Member
0 Likes
1,706

Hi guys,

How does GET works?

GET bsid.

bsid is an logical database...

Thanks a lot!

Rgds,

Mark

Hi guys,

How does GET works?

GET bsid.

bsid is an logical database...

Thanks a lot!

Rgds,

Mark

2 REPLIES 2
Read only

Former Member
0 Likes
980

Hi,

You can consider GET like a SELECT ..ENDSELECT statement.

It will get the data in BSID work area.

Regards,

Atish

Read only

Former Member
0 Likes
980

Hi,

When you link a logical database with an executable program, the GET statements determine the depth to which the logical database is read. When you call the function module LDB_PROCESS, you determine the depth by specifying a node name in the CALLBACK parameter. For each node for which you request data, a callback routine can be executed at two points. These correspond to the GET and GET LATE events in executable programs. In the table parameter CALLBACK, you specify the name of the callback routine and the required execution point for each node. A callback routine is a subroutine in the calling program or another program that is to be executed at the required point.

For the GET event, the callback routine is executed directly after the data has been read for the node, and before the subordinate nodes are processed. For the GET_LATE event, the callback routine is processed after the subordinate nodes have been processed.

The line type of the table parameter CALLBACK is the flat structure LDBCB from the ABAP Dictionary. It has the following components:

LDBNODE

Name of the node of the logical database to be read.

GET

A flag (contents X or SPACE), to call the corresponding callback routine at the GET event.

GET_LATE

A flag (contents X or SPACE), to call the corresponding callback routine at the GET LATE event.

Also chk this for sample code

[http://help.sap.com/saphelp_nw70/helpdata/en/9f/db9aa335c111d1829f0000e829fbfe/content.htm]

Pls. reward if useful...