‎2009 Oct 28 3:33 PM
Does anyone know the difference between read/write and read with filter/write with filter? These are activities 33/34 and A6/A7 in S_DATASET.
‎2009 Dec 26 9:53 AM
You will find more usefull information in transaction ABAPDOCU than SU21.
Use the yellow "?" to search for the keyword "OPEN DATASET ... WITH FILTER" and read the explanation for what a developer can do with this, and whether or now an authorized user can then use the filter extention on the dataset command from the code.
Cheers,
Julius
‎2009 Oct 28 5:51 PM
<removed_by_moderator>
Edited by: Julius Bussche on Dec 28, 2009 3:25 PM
So that no one else has to waste their time with a random link...
‎2009 Oct 28 6:16 PM
>
> Hi,
>
> can you please check the Happy New Year
>
> Regards,
> Srinu
I don't see anything in that link that answers the question, can you please paste the text which does?
Edited by: Julius Bussche on Dec 28, 2009 3:26 PM
Link -> Happy New Year
‎2009 Oct 28 7:19 PM
‎2009 Dec 26 4:55 PM
Hi,
I guess below link might give you a little more help..
http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3d5c358411d1829f0000e829fbfe/frameset.htm
Happy debugging )
‎2009 Dec 26 9:53 AM
You will find more usefull information in transaction ABAPDOCU than SU21.
Use the yellow "?" to search for the keyword "OPEN DATASET ... WITH FILTER" and read the explanation for what a developer can do with this, and whether or now an authorized user can then use the filter extention on the dataset command from the code.
Cheers,
Julius
‎2009 Dec 28 2:02 PM
Thanks to Julius. Here is the information from ABAPDOCU. This seems to be the most information that is found anywhere. Help.sap.com doesn't say anything helpful.
************************
OPEN DATASET
Addition 9
... FILTER f
Effect
If you are working under UNIX or Windows NT, you canspecify an operating system command in the field f.
Example
Under UNIX, the following:
DATA dsn(20) VALUE '/usr/test.dat'.
OPEN DATASET dsn FOR OUTPUT FILTER 'compress'.
opens the file dsn and writes the data to the file incompressed form because of the UNIX command 'compress'.
OPEN DATASET dsn FOR INPUT FILTER 'uncompress'.
Reads the fila again.
‎2009 Dec 28 2:13 PM
If you want to do some advanced security, then try to track down where the value of the field f is coming from, and where the file path can be input as well (possibly without local customizing over-writing a configuratable path in config).
There are some programs which use this and even let the user influence them.
This is why restricting the program name in object S_DATASET should be your first weapon of choice....
Cheers,
Julius