on 10-19-2007 3:01 AM
Hi Expert
Managment in our company need a report which should show the anychanges made on the document number have to be displayed for each users could anyone help me in coding please
I want to create a report which will show the changes make to the documents
In that I want to join two tables CDHDR and CDPOS, but CDPOS is cluster table and CDHDR is transparent table so how can i join these both and create an SQL statement to fetch the records from CDHDR and CDPOS
SELECT CDHDR-OBJECTCLAS,
CDHDR-OBJECTID,
CDHDR-CHANGENR,
CDHDR-USERNAME,
CDHDR-UDATE,
CDHDR-UTIME,
CDPOS-VALUE_NEW,
CDPOS-VALUE_OLD FROM CDHDR,CDPOS
WHERE CDHDR-OBJECTCLAS='VERKBELEG'
AND CDHDR-OBJECTCLAS=CDPOS-OBJECTCLAS
AND CDHDR-OBJECTID=CDPOS.OBJECTID
AND CDHDR-CHANGENR=CDPOS.CHANGENR.
Do you think this will work , if not then how can i join both the tables to fetch the data
Anyhelp is highly appriciable
regards
Piroz
Hello,
it is not possible to access the data of SAP cluster tables from the SQL Server Dev. Studio or Query Analyzer directly. You have to write an SAP ABAP Report to access the data within these tables.
Regards
Clas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.