Any idea how to use AUTHORITY_CHECK_DATASET
Hello Friends,
anybody knows how to use these FM 'AUTHORITY_CHECK_DATASET' and FILE_GET_NAME_USING_PATH.
i know the logical path has been created in my system as 'zzzzz' but i don't how to use that.
thanks,
john.
I know its an old thread, but maybe it helps someone: I used the following code to test the AUTHORITY_CHECK_DATASET:
REPORT ZTEST1.
DATA: BEGIN OF ITAB OCCURS 0,
ATYPE(20),
END OF ITAB.
PARAMETER P_FNAME LIKE AUTHB-FILENAME.
PARAMETERS:P_READ AS CHECKBOX DEFAULT 'X',
P_WRITE AS CHECKBOX DEFAULT 'X',
P_RWF AS CHECKBOX DEFAULT 'X',
P_WWF AS CHECKBOX DEFAULT 'X',
P_DELETE AS CHECKBOX DEFAULT 'X'.
CLEAR: ITAB, ITAB[].
IF P_READ EQ 'X'.
ITAB-ATYPE = 'READ'.
APPEND ITAB.
ENDIF.
IF P_WRITE EQ 'X'.
ITAB-ATYPE = 'WRITE'.
APPEND ITAB.
ENDIF.
IF P_RWF EQ 'X'.
ITAB-ATYPE = 'READ_WITH_FILTER'.
APPEND ITAB.
ENDIF.
IF P_WWF EQ 'X'.
ITAB-ATYPE = 'WRITE_WITH_FILTER'.
APPEND ITAB.
ENDIF.
IF P_DELETE EQ 'X'.
ITAB-ATYPE = 'DELETE'.
APPEND ITAB.
ENDIF.
LOOP AT ITAB.
CALL FUNCTION 'AUTHORITY_CHECK_DATASET'
EXPORTING
ACTIVITY = ITAB-ATYPE
FILENAME = P_FNAME
EXCEPTIONS
NO_AUTHORITY = 1
ACTIVITY_UNKNOWN = 2
OTHERS = 3.
CASE SY-SUBRC.
WHEN 0.
WRITE:/ 'You have', ITAB-ATYPE, 'access to', P_FNAME.
WHEN 1.
WRITE:/ 'You do not have', ITAB-ATYPE, 'access to', P_FNAME.
WHEN OTHERS.
WRITE:/ 'Error with function'.
ENDCASE.
ENDLOOP.
Marko
Similar Messages
-
I am trying to pair my cell phone and tablet using Messages App, but only MMS messages will come through on my tablet. I've tried pairing and unpaired, reinstalling app on my tablet, and can't figure it out. Any idea how to fix this?
ThanksI Shared my most ridiculous situation but didn t log under your problem.
sorry, I gave you your answer under sunshine99 or Dianna. I want out and you want in.
if you not find just email me at [removed]
thanks
Personal information removed as required by the Verizon Wireless Terms of Service
Message was edited by: Admin Moderator -
I had a group account on mobileme...a family pack that each of us at work had an individual account and we all shared one account in the family. It kept our work calendar- a schedule telling who is in the office and who is on call. This is still on my macBook but not on my phone or my iPad. Any idea how I make my phone show the calendars on my MacBook? It was there before I went to iCloud.
If your email account offers a webmail access, I suggest checking the webmail - log in to your account using the webmail access, and I predict you will see all those "unread" emails there and can dispose of them from there.
This happens because the iPhone that went bad, when reading those emails, did not remove them from your email provider's servier. -
I have installed a trial of Adobe illustrator on my macbook pro. It is the 2014 release of adobe illustrator. I want to trace an image using the custom trace button.
I start a new document. Then I place my scanned pencil/colored pencil drawing, in to the document. I have tried scanning and then placing it as a jpeg, bitmap, and tiff file. I have tried scanning and then placing it, in color and in black and white. The scan mode I use is flatbed. Adobe illustrator allows me to select the default button and one of eleven preset buttons (e.g high fidelity photo), but it does not allow me to click the custom trace button. The custom trace button is grey while all the other buttons are white.
Does anyone have any ideas how I could custom trace?It seems pointless to adjust it afterwards because it is then only a couple a pencil lines rather then a full drawing. And how do I adjust it afterwards? Would I do this using the different buttons under the window button?
-
I have changed my e-mail address and therefore need to change my apple ID. When I change it to my new address it says it is already my rescue address and cannot be used. Any ideas how to change my rescue address?
To change the iCloud ID ("email address") you have to go to Settings>iCloud, tap Delete Account, provide the password for the old ID when prompted to turn off Find My iDevice, then sign back in with the ID you wish to use. When you do this you may find that the password for your old ID isn't accepted. If this should happen, and if your old ID is an earlier version of your current ID, you need to temporarily recreate your old ID by going to https://appleid.apple.com, click Manage my Apple ID and sign in with your current iCloud ID. Click edit next to the primary email account, change it back to your old email address and save the change. Then edit the name of the account to change it back to your old email address. You can now use your current password to turn off Find My iDevice on your device, even though it prompts you for the password for your old account ID. Then save any photo stream photos that you wish to keep to your camera roll. When finished go to Settings>iCloud, tap Delete Account and choose Delete from My iDevice when prompted (your iCloud data will still be in iCloud). Next, go back to https://appleid.apple.com and change your primary email address and iCloud ID name back to the way it was. Now you can go to Settings>iCloud and sign in with your current iCloud ID and password.
-
When I try to sync my ipad using itunes I get the following message. This iPad cannot be synced. You do not have enough access privileges for this operation. Any ideas how this can be resolved?
See if the user tip helps: https://discussions.apple.com/docs/DOC-6562
-
Following a software update, I can no longer access/authorise music purchased via iTunes from my old Apple ID, which I have not used for 8 years, and no longer have password. Any ideas how I can re-access/recover that music?
Apple ID FAQs > http://support.apple.com/kb/HT5622
-
I am using a T61 ThinkPad with an external hard drive and my itunes library keeps disapearing but remains on the external drive. Any idea how to fix this so my music doesn't disapear all the time? It's a real drag pulling music back into iTunes each week
In iTunes 11 uncheck the preferences setting in in the iTunes Preferences panel "Advanced > Copy Files to iTunes Media folder when adding to Library"
-
I am trying to install the OS Mavericks upgrade on my MAC and it requests for me to enter an administrator password. I do not use an an administrator password on the machine. Any ideas how to resolve this?
If you bought the machine new yourself, and did not enter a password when configuring it, leave the field blank.
If you bought it used, then you need to reset the password, as described here:
Apple Article to reset the password -
I was in the middle of the iOS 8 update and tried to turn my phone off (yes, I realize this was dumb) But what happened was it tried to reset. Now, my iphone 4s has the connect to itunes screen. I have tried to reset, recover, etc but I keep getting and error -51 message. Any ideas how I can get my phone working again? I am not worried about saving any info just having a phone to use!
Try a Hard Reset.....
Press and hold the Wake / Sleep button AND the Home button at the same time, keep them both pressed until the Apple Logo appears on the screen, it can take 10 or more seconds. Ignore the swipe to turn off message. -
In Mail, when using "reply all" why does Mail automatically include my email address in the cc line? Whey would I want to include my email address in an email I am sending.? Anybody have any idea how to stop Mail from including my email address in the cc line when using "reply all"?
Automatically cc myself is not checked. I did find out that if you have multiple email address that all of them need to be associated with "My Contact" tab. Thanks
-
the wifi i have been using for months quit working yesterday. any ideas how to fix this?
HELP!!!Is your Wi-Fi visible?
iOS: Wi-Fi or Bluetooth settings grayed out or dim
iOS: Troubleshooting Wi-Fi networks and connections
Did you check your router?
iOS: Recommended settings for Wi-Fi routers and access points -
last time i bought apps by using visa gift card so iam trying to use the kind of visa gift card and the system is denying the method payment ....any idea how to solve this with my itune account ?
A few reasons I can think of, but instead of shooting in the dark, lets check with experts who can look at your account.
iTunes Store Support
http://www.apple.com/emea/support/itunes/contact.html -
I am using Windows 7 but when I go into iTunes - then Properties, I cannot find a Compatibilty Tab. Any idea how to turn off this mode please?
I am using Windows 7 but when I go into iTunes - then Properties, I cannot find a Compatibilty Tab. Any idea how to turn off this mode please?
-
Any ideas how I can insert a pdf into word, using the insert object option. However the pdf i want to insert has text and lines annotated, but once inserted the comments don't appear???? any help would be greatly appreciated.
You will need to find a forum for MS Word since that is the software that you are trying to manipulate in this. If you think the processing/creation of the PDF plays a role then you should ask in the forum for the software that you are using to create the PDF.
This forum is for issue regarding downloading and installing Adobe trial products, so in any circumstance, your issue does not fit in this forum.
Maybe you are looking for
-
here in MIGO screen we frequently use Goods receipt, Transfer posting, cancellation,display, goods issue, return delivery, what is this Place in Storage, Remove from storage, subsequent adjustment, subsequent delivery can any one reply....
-
Bug in photo library : all in low res (res of the viewer)
I have a strange bug, after having installed an app (Iris photo suite). All my pics are now viewed in low res in the iphone (the res of the thumbnail !!). and impossible to delete the pics of the photo library. I tried to shut of and restart the ipho
-
Hello there, I've a little annoying problem with distiller. I'm using a linux program which is creating ps files than transferring into windows and converting to .pdf with distiller. But PS files have this string; stroke showpage savepage this causes
-
Bandwidth Rate-Limit -w- WWR-Queue
How would one convert a layer-2 port's "switchport rate-limit" bandwidth statement, on a 6509 -w- WS-X6748-SFP ports, to a routed/layer-3 "wrr-queue" bandwidth statement policy? Basically trying to hard-core the port's speed to 20MB. Current/tested
-
How to get, from a remote application, list of groups & users?
I need to get list of groups, and users in a group, and profile of a user of weblogic from a remote application. Do I need to use classes from com.bea.p13n.security.management.authentication? How?