Help to select OID user from Report
I have a Report deployed on a 10.1.2 report server and using OID and SSO.
Report runs ok with SSOCONN parameter via SSO login screen.
I need to use the OID user in my reports queries.
To check what sys_context('USERENV',..) parameter I need, I created a simple report that returns all USERENV parameters value including EXTERNAL_NAME and run it to see what userenv parameter is the right one to get the OID user.
But none of them has my OID username in it !
Anyone who can tell me how I can get my OID user from a select in Report.
Thanks & Regards,
Jean-Marc
Just an update :
Solution found via SSR on Metalink.
In fact, SYS_CONTEXT with CLIENT_IDENTIFIER works. It returns the OID/SSO user.
The probem was I was testing with Reports and that Report server on Linux has a bug and needs a patch available on metalink:- 5193731.
JM
Similar Messages
-
Help with Select Lists in Classic Report
Hello,
I working with APEX 4.1. Oracle 11.
I have a simple classic report with 4 columns (Username, Role, Read, Update). The Read and Update columns are Select Lists with values of "Yes", "No".
Report looks like this:
Username Role Read Update
JSmith Admin Yes Yes
LJones Dev Yes No
My requirement, is that when a user selects Yes from the Update select list, the value of the associated Read column needs to change to Yes as well for that particular Username. The change has to occur upon selection of Yes from the Update select list.
Im not very strong with javascript, but for testing purposes I applied: onchange="alert('hi');" on the Update column. When I make a change to the Update select list, the alert does pop up.
Can anyone suggest how I can implement the change to the associated Read value of Yes if the Update value chosen is Yes, for that particular row.
Thank you,
LauraLauraK wrote:
I working with APEX 4.1. Oracle 11.
I have a simple classic report with 4 columns (Username, Role, Read, Update). The Read and Update columns are Select Lists with values of "Yes", "No".
Report looks like this:
Username Role Read Update
JSmith Admin Yes Yes
LJones Dev Yes No
My requirement, is that when a user selects Yes from the Update select list, the value of the associated Read column needs to change to Yes as well for that particular Username. The change has to occur upon selection of Yes from the Update select list.
Im not very strong with javascript, but for testing purposes I applied: onchange="alert('hi');" on the Update column. When I make a change to the Update select list, the alert does pop up.
Can anyone suggest how I can implement the change to the associated Read value of Yes if the Update value chosen is Yes, for that particular row.Should be possible to do this using a Dynamic Action without writing any (or much) JavaScript. The complexity in this case is that you're using items in a report rather than standard page items. -
Help in selecting required columns from duplicates records
HI,
I have a table like below
empid,ename,sal,Jdate,Rdate,deptid,designation,Terminated_Emp
1,a,100,15-May-2014,11,SE,NO
1,null,null,15-OCT-14,null,null,YES
I want output like below
1,a,100,15-May-2014,15-OCT-2014,11,SE,YES
Please help me in writing sql query, can we write case condition for this?
NareshHI
And I have to select remaing records from first row only
I mean
empid,ename,sal,Jdate,Rdate,deptid,designation,Terminated_Emp
1,a,100,15-May-2014,null,11,SE,NO
1,null,null,null,15-OCT-14,null,null,YES
2,b,200,12-Jan-2014,null,12,SSE,NO
I want records like
1,a,100,15-May-2014,15-OCT-2014,11,SE,YES
2,b,200,12-Jan-2014,null,12,SSE,NO
Naresh -
Search help in selection screens for interactive report
A search help can only be assigned to DB table.
So my doubt is can it also be used for seletion screens created for an interactive report?
If yes what is the procedure.. Please give me one example at least...
waiting for your valuable suggestions.....
Thanks,
regards,
ChinmayHi Chinmay,
I suppose your requirement is to give search help to selection screen elements.
Here is the code.
REPORT ZSHAIL_F4HELP .
parameters: name(10) type c .
TYPES: BEGIN OF VALUES,
CARRID TYPE SPFLI-CARRID,
CONNID TYPE SPFLI-CONNID,
END OF VALUES.
dATA: PROGNAME LIKE SY-REPID,
DYNNUM LIKE SY-DYNNR,
DYNPRO_VALUES TYPE TABLE OF DYNPREAD,
FIELD_VALUE LIKE LINE OF DYNPRO_VALUES,
VALUES_TAB TYPE TABLE OF VALUES.
at selection-screen on value-request for name.
CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'
EXPORTING
tabname = 'DEMOF4HELP'
fieldname = 'CARRIER1'
SEARCHHELP = ' '
SHLPPARAM = ' '
DYNPPROG = PROGNAME
DYNPNR = DYNNUM
DYNPROFIELD = 'CARRIER'
STEPL = 0
VALUE = ' '
MULTIPLE_CHOICE = ' '
DISPLAY = ' '
SUPPRESS_RECORDLIST = ' '
CALLBACK_PROGRAM = ' '
CALLBACK_FORM = ' '
SELECTION_SCREEN = ' '
IMPORTING
USER_RESET =
TABLES
RETURN_TAB =
EXCEPTIONS
FIELD_NOT_FOUND = 1
NO_HELP_FOR_FIELD = 2
INCONSISTENT_HELP = 3
NO_VALUES_FOUND = 4
OTHERS = 5
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
AT SELECTION-SCREEN OUTPUT.
PROGNAME = SY-REPID.
DYNNUM = SY-DYNNR.
CLEAR: FIELD_VALUE, DYNPRO_VALUES.
FIELD_VALUE-FIELDNAME = 'CARRIER'.
APPEND FIELD_VALUE TO DYNPRO_VALUES.
I hope your query is solved.
If so,please award points.
Regards,
Sylendra. -
How do I create a Search Help which selects some rows from a table?
Well, I'm trying to be specific.
I have a parameter with a search help that shows columns BUKRS and BUTXT for ALL rows form the table T001. What I need is restrict the search help to show only three Values: BUKRS = 1000 BUKRS = 2000 BUKRS = 3000. This is like a search help with a SELECT sentence. How do I do it?Hi.,
you can go through thomas sir's suggestion. But my suggestion is If you are working in a custom Report , dont change it at Table level or Domail Level., Instead, use Function Module for Custom F4 help.,
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_bukrs.
CALL FM F4IF_INT_TABLE_VALUE_REQUEST.
check this help for your reference: http://help.sap.com/saphelp_nw04/helpdata/en/9f/dbaac935c111d1829f0000e829fbfe/content.htm.
If you are using Standard Report Check for Exits.
hope this helps u.,
Thanks & Regards,
Kiran -
Help! Print OLE object from report builder.
Dear OTN Members,
I would like to know how to print out a OLE object from
report builder, because currently I face problem to print out
the whole contain of the winword document file, because when I
display the OLE on the form it will only display according the
size I declare for it, it seems that it will not automatic
extend the size itself. i.e. if I drag the size to one page in
fact the maximum is one page, then when it display, it will only
display maximum one page eventhough the document file maybe
contain 10 page inside it. So when I print out the report it
will only show me one page, so if you have any solution, pls
share with me, thank you.
nullAs far as I know you have to use OLE Item to work with the information. Unfortunately there is not any standart way to extract a source document from OLE. Some applications such as Word, Excel support OLE Automation, so you could use OLE2 package to save the document as a file, that is the easest way. But others don't, so you may have to use an undocumented way to extract a document.
Take a look at the following thread:
Subj: 6i to 9i Ole to LOB translations, How do you know the App. server?
Re: 6i to 9i Ole to LOB translations, How do you know the App. server?
P.S. If you can't extract some types of your documents, please let me khow.
P.P.S. To extract a document through OLE2 package you could use something like the following. /I'm not sure the code is correct/:
DECLARE
handle ole2.obj_type;
BEGIN
ACTIVATE_SERVER('OLE1');
handle := forms_ole.get_interface_pointer('OLE1');
BEGIN
-- Save a document to disk
Args :=OLE2.CREATE_ARGLIST;
OLE2.ADD_ARG(Args, 'C:\test.doc'); -- file name
OLE2.INVOKE(handle, 'SaveAs', Args);
OLE2.DESTROY_ARGLIST(Args);
EXCEPTION WHEN OTHERS THEN
Message('Error');
END;
-- OLE2.RELEASE_OBJ(handle);
END; -
How to show a error message to user from report.
I don´t wanna to go in a form builder to create a simple form for just two inputs.
I have put two inputs into reports parameter screen, but I know that reports is not like forms, I cannot use SET_ITEM_PROPERTY to hide an element or put a runtime message to a label.
How can I show an error message when I validate an input from user, when some input trigger raise?
Thanks a lot!The SRW.message doesn't show me no alert on report 10g !!!
is there any restriction that can be made to block the displaying of the alert on the web environnement?
thanks.. -
Applescript help to select incoming message from inbox.
Hi I am in need of an applescript that takes an incoming message file from my "Temp" mail directory, then copies it's "body text",
and copies it's text to specific new directory folder.
Example:
Mail Subject = RenameFolder
Body of email = Joe Doe - Photo
I have this so far..... I have the mailbox selection working.... the rest is beyond my scripting abilities.
tell application "Mail"
set the selected mailboxes of the front message viewer to {mailbox "Temp" of account "Rons"}
end tell
I need it to select the message with subject matching "RenameFolder" and copy body test "Joe Doe - Photo"
to a new folder inside "/Volumes/Flix Media/Customer/Photo/"
I hope this all make sense.
Any and all help is appriciated.
Rontake a backup of ur phone on PC. and then apply hard reboot on device. Just press *#7370# and see everything will be flushed out frm your device.
regards
Nitin SuperByte
Moderator note: telephone no removed
Message Edited by spanishtaco on 21-Apr-2008 03:21 PM
Regards:
Nitin SuperByte
Forum Nokia Champion -
Graphical mess-mapping help needed: select single segment from many
Hi All,
I am sending a standard PO IDOC from R/3 and converting it into a file before sending to 3rd party.
The IDOC used is ORDERS.
In this IDOC segment E1EDK14 gets repeated in R/3 and I want to use the value of 009th occurance (E1EDK14 009) to map my values.
When I look at XML, it looks as follows
<E1EDK14 SEGMENT="1">
<QUALF>014</QUALF>
<ORGID>AB1</ORGID>
</E1EDK14>
<E1EDK14 SEGMENT="1">
<QUALF>009</QUALF>
<ORGID>CD1</ORGID>
</E1EDK14>
<E1EDK14 SEGMENT="1">
<QUALF>013</QUALF>
<ORGID>AA</ORGID>
</E1EDK14>
<E1EDK14 SEGMENT="1">
<QUALF>011</QUALF>
<ORGID>GDE</ORGID>
</E1EDK14>
I need to get the ORGID value of 009th segment( i.e when QUALF (above) has value '009'.
I tried to put a simple if condition in mapping (if qualf = 009-->then get ORGID), but it does not work.
Can you help.
Many thanks
ShirinThanks Prakasu,
I tried it again, but it is picking the first segment value and not the 009th one.
Many thanks
Shirin
Edited by: Shirin K on Oct 24, 2008 10:56 AM
Edited by: Shirin K on Oct 24, 2008 11:00 AM -
How to send email distribution to all users from report ?
Hi all,
I got the following report output :-
Item_______Qty_On_hand_________Min_qty____Email
[email protected]
[email protected]
[email protected]
Once the reporis being generated, it will distirbute to all the email id list. Will this possible ? or any other better way to handle this ?
Thanks.
Rgds
Limhello,
you need to use 9i or 10g for that. there you would set the "repeat on" property of you report to the group your report is based on. this will create one instance of your report for each person.
then you need to use advanced distribution, create a distribution XML file that defines your desired email distribution with dynamic TO value.
for further info about advanced distribution, consult the publisching reports manual.
thanks,
ph. -
Problem in User defined reports
Hi!!
I'm trying to generate an user defined report using following querry
select
Decode(:x,1,'ONE',
2,'TWO',
3,'Three',
4,'Four',
5,'Five',
6,'Six',
7,'Seven',
8,'Eight',
9,'Nine')
from Dual;
But its not working. I'm getting an error message stating
"Mising IN or OUT parameter at Index:1"
Vendor code 17041
plz helpI don't think user defined reports supports bind variables yet.
-
Could any one tell the FM for F4 help to select the file from application server.
Hi,
Try this one..
REPORT ZTESTAPPL.
data: t_filetab type table of SALFLDIR with header line,
t_spopli type table of spopli with header line.
parameters p_dir like SALFILE-LONGNAME default 'D:\SAPWORKING'.
call function 'RZL_READ_DIR_LOCAL'
exporting
name = p_dir
tables
file_tbl = t_filetab
EXCEPTIONS
ARGUMENT_ERROR = 1
NOT_FOUND = 2
OTHERS = 3
if sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
loop at t_filetab.
if t_filetab-size ne space.
t_spopli-varoption = t_filetab-name.
append t_spopli.
clear t_spopli.
endif.
endloop.
call function 'POPUP_TO_DECIDE_LIST'
exporting
CURSORLINE = 1
MARK_FLAG = 'X'
MARK_MAX = 25
START_COL = 0
START_ROW = 0
textline1 = 'Choose Files'
TEXTLINE2 = ' '
TEXTLINE3 = ' '
titel = 'File Selection'
DISPLAY_ONLY = ' '
IMPORTING
ANSWER =
tables
t_spopli = t_spopli
EXCEPTIONS
NOT_ENOUGH_ANSWERS = 1
TOO_MUCH_ANSWERS = 2
TOO_MUCH_MARKS = 3
OTHERS = 4
if sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
loop at t_spopli.
if t_spopli-selflag ne ' '.
write :/ 'Selected File: ' , t_spopli-varoption.
endif.
reward points if helpful -
Removing a User From SAP and Webtools
I have recently removed a user from SAP which was a user from webtools
i removed their license and removed them from webtools
My issue is that i now have a Sync Error
-10:Selected user was deleted
at NetPoint.SynchSBO.WebToolsChildObjects.AccountUser.SynchOUSR(NPUser u)
at NetPoint.SynchSBO.WebToolsChildObjects.AccountUser.NetPointToSBO(NPQueueObject qData)
at NetPoint.SynchSBO.SynchObjectBase.Synch()
What can i do to remove this error?
Please notify.
all answers and suggestions will be greatly appreciatedUser probably still exists in WebTools. Try to find & remove it.
If this doesn't help, you can remove user from synchronization queue:
1. run SynchManager
2. on page Synchronization click on tab Web tools Queue
3. find row with 'Name' equal NPUser; click on number in column 'Fail'
4. select row containing error message
5. press <Delete>
6. run synchronization -
Remove SP User from SharePoint subsite
Hello All,
I am trying to remove a user account form all sub sites except few.
I am making use of following command.
Remove-SPUser "Contoso\jdoe" -web http://webapp/sites/site1/web1/
But this command is removing the user from all the sub sites including the site collection.
Can anybody please help to delete the user from specific subsite only.
Thanks & Regards
MD Liakath Ali
MD.Liakath aliHi,
You can try to delete user from specific SharePoint group at sub site level using Power shell script as below .
#Remove
user from SP Group
$theGroup.RemoveUser($theUser);
Fine
more details on below blog
http://markimarta.com/sharepoint/add-remove-user-to-sharepoint-groups-with-powershell/
Regards
Soni
K -
Select user from dual with oid + oss ?
Implementing a solution for global user administration, authentication and application schema mapping, will it break the simple but efficient possibility to do a 'select user from dual' ?
If it is possible which value will we get, a global user identifier from the directory or something else ?
Thanks in advance for your helpActually we authenticate user using internal database users. Each user depending on his enterprise role will have a set of synonyms deployed to map the application schema. It is complex to handle a large set of users schema. With OSS it seem to be possible to authenticate user using an external LDAP directory (OID) and to map this user to an application schema switch user's enterprise role.
But I want to evaluate the impact of deployeing such solution, because our application use some 'select user from dual' single query to track user activity in some manner (this can be done using triggers or pl/sql api that do this job). If it is possible to have an unique user identifier in the database session context, even using external authentication and schema mapping of OSS we'll have less impact on the application. Else we'll have to change some API signatures to handle this user identifier.
Context is :
- use LDAP external functionalities provided with OSS to increase user management at an enterprise level ... single sign-on is our goal ,-)
- use schema mapping to reduce our complexity of schema management. One schema foreach role rather than one schema per user.
So, will we be able to individually know which user have the session in the database, rather than the shared schema name. If it is possible, the impact on our application will be really minor ...
Thanks in advance for your help. If someone who read this lines have such system deployed and can try the 'select user from dual', I'll be glad on the answer that the database will give ,-)
Maybe you are looking for
-
My new ipod touch 4g 8gb wont let me add songs/apps/etc from itunes
i just exchanged my old ipod for a brand new one at the apple store (both touch;4g) because the home button wont work when i try to add songs or apps to it (since it has nothing on it) it wont let me. i made sure to authorize my computer, too. it has
-
i have been using this page in all versions of firefox until ver 4.0 and it has worked fine https://npwas.com/dummy/charts/charts.html when this page is loaded enter a stock symbol in the text field "AAPL" then click one of the lower links --"Yahoo H
-
HT5622 set up apple id with invalid rescue email ??
I set up my apple id with a invalid rescue email. Now I forgot the answer of my security question and can't reset security question so How can I change my password when i can't answer security questions ??
-
ORABPEL-10903 while deploying SOAOrderBooking
I've seen multiple posts regarding this error but they don't seem to apply to my installation. We are doing a remote deployment, thus hostname is not localhost. But, the deployment logs seem to want to deploy to localhost. The error appears during th
-
How do we specify user and his manager hierarchy in weblogic
Hi, I am trying to find out the way to implement org hierarchy in weblogic ldap so that I can leverage it in human task. Any suggestions ? Thanks in advance. Sai