How to Skip Authorisation Checks when i use LDB PNPCE
Hi Experts,
I have requirement to skip authorization checks in PNPCE LDB.
Please let me know how it is possible , it is quite urgent
Thanks a lot in Advance!
Regards,
Akila
Moderator message: do not skip authorization checks, do not post "urgent" issues here.
Edited by: Thomas Zloch on Aug 7, 2011 9:53 PM
Hi Akila,
Its not the good idea to ignore the authorization check, There should be a legitimate reason why it has implemented at first place?
(If programmatic)The one who implemented the Auth check is he right person to approach how to ignore,just a matter of checking sy-subrc(But i would hesitate to apply that) . Or if this applied by roles then Security person might help you.
@Prasenjit: How Dummy value could serve this purpose?
Cheers
Amit
Similar Messages
-
How to skip required check on mandatory field of selection screen
Hi expert,
In my report, I define two rodiobutton to show block1 or block2, but every time I click each radiobutton, the message "Fill in all required entry" shown, so my question is how can I skip required check when click radiabutton?
Some of my selection-screen code is :
PARAMETER: P_block1 RADIOBUTTON GROUP GRP1 DEFAULT 'X' USER-COMMAND UC1.
PARAMETER: P_block2 RADIOBUTTON GROUP GRP1.
SELECT-OPTIONS S_ERDAT FOR VBRK-ERDAT OBLIGATORY.Hi,
If you dont want PAI to be triggered when you select the radio button, then you can remove the USER-COMMAND while declaring parameter.
If User Command is necessary, use following code
PARAMETER: P_block1 RADIOBUTTON GROUP GRP1 DEFAULT 'X' USER-COMMAND UC1.
PARAMETER: P_block2 RADIOBUTTON GROUP GRP1.
SELECT-OPTIONS S_ERDAT FOR VBRK-ERDAT .
AT SELECTION-SCREEN.
CHECK SY-UCOMM NE 'UC1'.
IF S_ERDAT IS INITIAL.
MESSAGE E038(001) WITH 'ERDAT IS MANDATORY'.
ENDIF.
Please Reward points. -
I accidentally quit my CC on my Macbook pro and now the cloud icon is grayed out and every time I hover over it with the mouse I get the spinning beach ball of death on the icon. I have no idea how to open it because when I use spotlight search to open it it gives me a message saying "Creative Cloud is not open anymore" help!
Since you didn't include any pertinent info such as the Mac model and OS version you are running, here is some general information:
Mac OS X: Gray screen appears during startup
Depending on which OS yours came with originally - and which OS you are now running - you would either need your original install disks - you can call Apple for replacements by giving them your serial number. Or you may be able to reinstall the OS by using recovery (again, depends on which model/which OS). -
How to disabled mutli desktop when I using Full Screen?
How to disabled mutli desktop when I using Full Screen?
Some app have a preferences option to do this which like iTerm2
In Lion-Style FullScreen windows, I can't use command + tab to quickly switch between in the apps, I must switch to the app own desktop which is using fullscreen, It's so trouble. I even think this is a flaw in Apple's design.
So, How can I have use this feature in others apps such as Google Chrome, Mail, Safari and so on.
Please Help me! Thanks! Thanks! Thanks!nobody can help me ?
-
How to add authorisation check to a program?
Hi all :
Could you please tell me how to add authorisation check to a program?
Thanks a lot.Hi,
Check SAP help for authority-check. You can search on SDN on that.
AUTHORITY-CHECK
Basic form
AUTHORITY-CHECK OBJECT object
ID name1 FIELD f1
ID name2 FIELD f2
ID name10 FIELD f10.
Thanks
Nidhi -
How you can find out when someone using your icloud account
how you can find out when someone using your icloud account
Someone on a different device only needs to sign with your iCloud ID and password in order to access your account, they don't need to answer any security questions if they have your credentials. If you think this happened, you should change your iCloud password as explained here: iCloud: Change your iCloud password. After you change the password, you will need to change it on your devices by going to Settings>iCloud>Account and entering the new password.
If you want to inquire further about this, contact the Apple account security team: Apple ID: Contacting Apple for help with Apple ID account security. -
HT201342 How do I spell check when composing an e-mail?
How do I spell check when composing an e-mail
Webmail sites typically have a link tool that appears on the formatting bar above the compose box. The specifics might vary but generally speaking, if you click the button for the link tool, paste the link, then OK that, a link should be inserted at the current cursor position.
To see what I mean for Yahoo! mail, check out this thread: [https://support.mozilla.org/en-US/questions/938081 url is not highlighted when sending it on an email and cannot be directly accessed].
Does that help? -
How can i record call when i use handfree
How can i record call when i use handfree
Define hands-free, are you using a headset/Bluetooth?
To note, Recording is not a natively supported function of the iPhone. There are laws regarding this... and in America, both parties have to be notified/in-knowledge of being recorded.
Where are you from? If outside the USA, Google Voice won't work.
Have you looked into a VoIP provider that supports what you wish to do? -
How to close parent window when we use call method l_window_manager- create
hi...
how to close parent window when we use call method l_window_manager->create_external_window
thank you.hi
good
go through this link,hope this ll help you to solve your problem
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/63a47dd9-0b01-0010-3d8e-de27242bf011
thanks
mrutyun^ -
How to give pernr in range using LDB PNPCE
I am using LDB PNPCE and in report category i want to give select option for pernr that will accept pernr in ranges also.So Please tell me how to give ranges of pernr.
Thanx in advance.Hi,
You mean that you want to set a range of personnel numbers as default on selection screen when running the report?
If so, you can do that. That field is PNPPERNR, it is a select-option, set default values for it in event INITIALIZATION of your report.
pnppernr-sign = 'I'.
pnppernr-option = 'BT'.
pnppernr-low = ....
pnppernr-high = ...
append pnppernr.
Thanks -
How to use ldb PNPCE with FM u0091HR_INFOTYPE_OPERATIONu0092
Hi all,
Im creating a report with LDB PNPCE, this report has to create/modify infotypes of an ID person. Im trying to use de FM HR_INFOTYPE_OPERATION, but its not working A DUMP is generated, with this description:
An exception that could not be caught occurred.CX_HRPA_VIOLATED_PRECONDITION
I think that the problem is due to logical database PNPCE, because if I use PNP, its working Does anybody know anything about using the FM HR_INFOTYPE_OPERATION with the LDB PNPCE?
Thanks!!This piece of code it's working with ldb PNP
CALL FUNCTION 'ENQUEUE_EPPRELE'
EXPORTING
MODE_PREL = 'E'
MANDT = SY-MANDT
pernr = wa_p9961-pernr
infty = '9961'
SUBTY =
OBJPS =
SPRPS =
endda = wa_p9961-endda "'99991231'
begda = wa_p9961-begda "'20071201'
SEQNR =
X_PERNR = ' '
X_INFTY = ' '
X_SUBTY = ' '
X_OBJPS = ' '
X_SPRPS = ' '
X_ENDDA = ' '
X_BEGDA = ' '
X_SEQNR = ' '
_SCOPE = '2'
_WAIT = ' '
_COLLECT = ' '
EXCEPTIONS
foreign_lock = 1
system_failure = 2
OTHERS = 3
CALL FUNCTION 'HR_INFOTYPE_OPERATION'
EXPORTING
infty = '9961'
number = wa_p9961-pernr
subtype = wa_p9961-subty
OBJECTID =
lockindicator = 'X'
validityend = wa_p9961-endda
validitybegin = wa_p9961-begda
recordnumber = lwa_pa9961-seqnr
record = wa_p9961
operation = 'INS'
tclas = 'A'
dialog_mode = '0'
nocommit = ' '
VIEW_IDENTIFIER =
SECONDARY_RECORD =
IMPORTING
return = l_return
KEY =
CALL FUNCTION 'DEQUEUE_EPPRELE'
EXPORTING
MODE_PREL = 'E'
MANDT = SY-MANDT
pernr = wa_p9961-pernr
infty = '9961'
SUBTY =
OBJPS =
SPRPS =
endda = wa_p9961-endda "'99991231'
begda = wa_p9961-begda "'20071201'
SEQNR =
X_PERNR = ' '
X_INFTY = ' '
X_SUBTY = ' '
X_OBJPS = ' '
X_SPRPS = ' '
X_ENDDA = ' '
X_BEGDA = ' '
X_SEQNR = ' '
_SCOPE = '3'
_SYNCHRON = ' '
_COLLECT = ' '
But if I use ldb PNPCE instead PNP, with the events:
GET person.
GET group.
GET peras.
ths dump is generated...
Thank u!! -
FM's used in report program using ldb pnpce
hii all,
will anybody provide me function modules that are used to populate data in report program using ldb pnpce.
<REMOVED BY MODERATOR>
thanks in advance
regards
Ashweeni.
Edited by: Alvaro Tejada Galindo on Mar 18, 2008 6:01 PMU can use all the FM's which were used for LDB PNP ..
For ex : Use the below to get the payroll results ..
To get the results directory
call function 'CU_READ_RGDIR'
exporting
persnr = peras-pernr
tables
in_rgdir = pc261_tab
exceptions
no_record_found = 1
others = 2.
to get evaluation periods ...
call function 'CD_EVALUATION_PERIODS'
There are no particular FM's that will populate data in report
program .. please let me know what is the requirement ... -
How to skip authorisation for infotype when using dynamic selection ?
Hi folks,
I have a problem here.
When im using dynamic selection screen, i cannot skip authorisation for subtypes of an infotype. Eg. if my record for 0185 have records that do not have authorisation for the subtypes. Dynamic selection will filter away this record and will not get me into the Get Peras as id i use to run has authorisation configured. IT will skip out of Get Peras.
However, if im not using dynamic selection screen, i will use the normal pnpce fields, i will be able to get the record, as i do my authorisation check using function module in the get peras, and i did not declare 0185 in the infotypes.
May i know if there is any solution to this problem as dynamic selection screen is a standard...
Thanks,
lihuihi,
however i cannot skip authorisation for the whole pernr as i need the authorisations for the processing reports.
Currently the case is like this..
i have a authorisations for infotype 0185. i have 2 subtypes records such as ZA and ZB. the user does not have authorisation to read ZB but has authorisation to read ZA.
However, when use dynamic selection, it will skip out the pernr.
If the pernr 0185 records has only ZA subtype but no ZB subtype, it will not skip this pernr when using dynamic selection.
Anymore idea how to overcome this? -
How to skip source transactions when capture is stopped and re-started
Due to a network issue I have stopped streams (capture/prop/apply) between a source-DB and target-DB. After 4 hours the network was back up again. I want to skip the transactions received in source-DB in this 4 hours time. When I re-start steams (capture/prop/apply), it should skip the transactions received in these 4 hours and start fresh capture. How can do that. Any help is much appreciated.
Amalids1ked,
But you did not skip only ONE transaction. You probably skipped several tnx. I told exactly how to skip only one transaction.
Actually, If you want to move current SCN to new one it is better to use incomplete recovery guide (I think you need to recreate propagation process - just check it)
Regards,
SergeR. -
Skipping Authorisation checks in LDB
Hi All,
I am working on HR module and I have got to work on a report which is using LDB (Logical DataBase).LDB will do authorisation checks by default.
1) My requirement is to skip the authorisation checks and allow all the data to be retrieved.
Can this be done by calling any standard FM ? If yes , please name it.
regards,
PP//LDB will do authorisation checks by default.
in my opinion you are looking for a data retrieval process from report development point of view.
Ok say you are pulling data from infotype -08 which is sensitive information. now you need a entry for the object of this and then you are allowed to select on this table.
keep an authority-check on this table pa0008 and if you have the access then you will proceed or else dont pull the records.
Authority-object / Authority -check from program perspective will do .
ex:
AUTHORITY-CHECK OBJECT 'Z_TCODE'
ID 'ACTVT' FIELD '03' " read access
ID 'ZTCODE' FIELD p_tcode. " actual value
IF sy-subrc EQ 0. " check authorization
* fetch record
SELECT SINGLE *
FROM tstc
INTO wa_tstc
WHERE tcode EQ p_tcode.
Br,
Vijay.
Maybe you are looking for
-
okay...my ipod (with the click wheel) is definitely messed up. a few months ago i accidentally dropped it, and it started having a sad face and then the folder icon. i took it to an apple store and they restored it for me. it started working fine and
-
canh someone answer me asap im currently in te process of ordering the lcd+digitizer dont want to waste my money
-
I created a demo in Captivate and wish to put a link to it in my Framemaker document, which will become a PDF. First I import the SWF file into my Framemaker doucment. After the Framemaker document has been made into a PDF, I click on the link that
-
Using TCOde rscrm_bapi and a query result in a error
Hi All, When using tcode RSCRM_BAPI the query execution results in a error Query Meta data is Incomplete Please suggest me the solution for this ASAP. Regards, Varma
-
HI Gentlemen, Could you tell me in brief, how can I quickly load an XML data file that has its corresponding schema files? I tried to do this with the XDB Utilities demo, but I had to create the destination table by hand before. Is there a tool avail