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 Command

fabio_bellocchio
Participant
0 Likes
1,182

Dear SDN,

In order to create a custom Report, I need to understand a Standard program, which at a certain point has a "GET objec" command.

The structure objec, in this case, is related to the OBJEC table, which is related to the PCH database that was defined as the Logical Database in the program Attributes. (So far so good!)

My problem is that when the command "GET objec" is executed, it returns specific values in that structure, but I can't find where these data is coming from.

When in my Z program I execute the same command, it returns a completely different set of data.

Please, does anyone know what is the logic behind that command, or how I can find the source of the data that is loaded into this strucutre when the "GET" command is executed?

(The SAP Report in case is RHSBES00)

Thank you.

1 ACCEPTED SOLUTION
Read only

former_member209703
Active Contributor
0 Likes
794

It should return the same data if you are using the same selection criteria. Check it out.

This is the main program of the PCH logical database SAPDBPCH.

When GET OBJECT is executed, the corresponding form PUT_OBJEC is fired in the main program. You can see it in the DBPCHF00 include.

Regards

2 REPLIES 2
Read only

former_member209703
Active Contributor
0 Likes
795

It should return the same data if you are using the same selection criteria. Check it out.

This is the main program of the PCH logical database SAPDBPCH.

When GET OBJECT is executed, the corresponding form PUT_OBJEC is fired in the main program. You can see it in the DBPCHF00 include.

Regards

Read only

Former Member
0 Likes
794

Fabio,

Please search the forums using 'Logical database' and read some documentation to understand the GET command.

Basically it fills the structure from the database using select and goes in a select-endselect loop until the selection screen data is satisfied.

BR,

Diwakar