‎2007 Apr 18 4:07 PM
we know that reports are client-independent . but how to create client dependent reports?pls give some sample program
‎2007 Apr 18 4:10 PM
All report programs are client-independent. Which means that if you create the program in one client, it also exists in another client within the instance. Only the data which the report will output will be different as the data is client-dependent.
You can not create a client dependent program, function module, class, etc.
Regards,
Rich Heilman
‎2007 Apr 18 4:29 PM
If you are referring to client dependent data retrieval in a Report, then the SELECT would look like..
SELECT SINGLE * FROM VBAK CLIENT SPECIFIED
WHERE MANDT = SY-MANDT "or whatever
AND VBELN = OBJECT-KEY-SALESDOCUMENT.
~Suresh
‎2007 Apr 18 4:42 PM
Hi,
If you are asking about how to restrict a report to be executed in specific clients...you can do it in the INITIALIZATION event. Check whether the current client is what you are looking for. If it then nothing to do otherwise give corresponding error message.... I guess that this can be done even using Authorization objects...
Regards,
Bharat.