‎2011 Aug 16 7:56 AM
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.
‎2011 Aug 16 8:56 AM
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
‎2011 Aug 16 8:56 AM
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
‎2011 Aug 16 9:24 AM
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