Table Journaling need the user to be LDAP
Has anyone cahnged the code in TAPI to provide the LDAP user instead of the tnsnames user?
If so can you let me know how you did that ?
thanks
1) Create a database pakage where you will store/retreive the SSO username like this:
create or replace PACKAGE "PKG_SSO" IS
FUNCTION GET_USER_SSO
RETURN VARCHAR2;
PRAGMA RESTRICT_REFERENCES (GET_USAGER_SSO, WNDS, WNPS, RNPS);
PROCEDURE SET_USER_SSO
(P_USAGER_SSO IN VARCHAR2
END PKG_SSO;
create or replace PACKAGE BODY "PKG_SSO" IS
FUNCTION GET_USER_SSO
RETURN VARCHAR2
IS
V_USER_SSO VARCHAR2(100);
BEGIN
SELECT NVL(SYS_CONTEXT('USERENV','CLIENT_IDENTIFIER'),USER)
INTO V_USER_SSO
FROM DUAL;
RETURN V_USER_SSO;
END;
PROCEDURE SET_USER_SSO
(P_USER_SSO IN VARCHAR2
IS
BEGIN
DBMS_SESSION.SET_IDENTIFIER(NVL(P_USER_SSO,USER));
END;
END;
END PKG_SSO;
2) In Designer create two triggers logic "Pre-Insert" and "Pre-Update" for each tables:
-- Application_logic Pre-Insert <<Start>>
BEGIN
CG$REC.CREATION_DATE := SYSDATE;
CG$REC.CREATED_BY := PKG_SSO.GET_USER;
CG$REC.MODIFICATION_DATE := SYSDATE;
CG$REC.MODIFIED_BY := PKG_SSO.GET_USER;
END;
-- Application_logic Pre-Update <<Start>>
BEGIN
CG$REC.MODIFICATION_DATE := SYSDATE;
CG$REC.MODIFIED_BY := PKG_SSO.GET_USER;
END;
3) In your Forms create a WHEN-WHEN-FORM-INSTANCE and call
PKG_SSO.SET_USAGER_SSO(get_application_property(sso_userid));
The Form built-in will return the SSO userid OID (LDAP) if available then the we will store it context of the package PKG_SSO.
The TAPI will pickup the value of the context and set your audit values, if there is no value then PKG_SSO will return the Oracle username this case.
That's about it.
Similar Messages
-
Have been here before but still have not resolved a fix for a black screen when I try to access a PDF file using Safari...Now I've got a new iPad and need the User Guide which is only available in PDF and FireFox will not work.
Hello,
'''Try Firefox Safe Mode''' to see if the problem goes away. Safe Mode is a troubleshooting mode, which disables most add-ons.
''(If you're not using it, switch to the Default theme.)''
* On Windows you can open Firefox 4.0+ in Safe Mode by holding the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
* On Mac you can open Firefox 4.0+ in Safe Mode by holding the '''option''' key while starting Firefox.
* On Linux you can open Firefox 4.0+ in Safe Mode by quitting Firefox and then going to your Terminal and running: firefox -safe-mode (you may need to specify the Firefox installation path e.g. /usr/lib/firefox)
* Or open the Help menu and click on the '''Restart with Add-ons Disabled...''' menu item while Firefox is running.
[[Image:FirefoxSafeMode|width=520]]
''Once you get the pop-up, just select "'Start in Safe Mode"''
[[Image:Safe Mode Fx 15 - Win]]
'''''If the issue is not present in Firefox Safe Mode''''', your problem is probably caused by an extension, and you need to figure out which one. Please follow the [[Troubleshooting extensions and themes]] article for that.
''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
''When you figure out what's causing your issues, please let us know. It might help other users who have the same problem.''
Thank you. -
How to include in the sub-menu a table specifies of the user - UDO
hi, forum
how to include in the sub-menu a table specifies of the user
I created a table '@ IA_RELAT' in User-Defined Obejcts but I don't know as including in the sub-menu that I created
it follows my code
Private Sub SBO_Application_MenuEvent(ByRef pVal As SAPbouiCOM.MenuEvent, ByRef BubbleEvent As Boolean) Handles SBO_Application.MenuEvent
If (pVal.MenuUID = "MySubMenu") And (pVal.BeforeAction = False) Then
Try
<u201DmyTableName->@IA_RELATu201D>
Catch
SBO_Application.MessageBox("The Form already exists")
End Try
End If
thank you
End SubHi David
Excuse me but I didn't find in MenuCreationParams Objects how to do this call of the table '@ IA_RELAT' created in User-Defined Obejcts
It follows my code
in AddMenuItems I set up the Menu and Submenu
in SBO_Application_MenuEvent it is where I am having difficulties of showing the table '@ IA_RELAT' created in User-Defined Obejcts
Thank you for any help
Private Sub AddMenuItems()
Dim oCreationPackage As SAPbouiCOM.MenuCreationParams
oCreationPackage = SBO_Application.CreateObject(SAPbouiCOM.BoCreatableObjectType.cot_MenuCreationParams)
oMenuItem = SBO_Application.Menus.Item("43520") 'moudles'
Dim sPath As String
sPath = Application.StartupPath
sPath = sPath.Remove(sPath.Length - 3, 3)
oCreationPackage.Type = SAPbouiCOM.BoMenuType.mt_POPUP
oCreationPackage.UniqueID = "MyMenu01"
oCreationPackage.String = "Standard cost"
oCreationPackage.Enabled = True
oCreationPackage.Image = sPath & "UI.bmp"
oCreationPackage.Position = 15
oMenus = oMenuItem.SubMenus
Try ' If the manu already exists this code will fail
oMenus.AddEx(oCreationPackage)
'// Get the menu collection of the newly added pop-up item
oMenuItem = SBO_Application.Menus.Item("MyMenu01")
oMenus = oMenuItem.SubMenus
'// Create s sub menu
oCreationPackage.Type = SAPbouiCOM.BoMenuType.mt_STRING
oCreationPackage.UniqueID = "MySubMenu"
oCreationPackage.String = "Auxiliary Table"
oMenus.AddEx(oCreationPackage)
Catch er As Exception ' Menu already exists
SBO_Application.MessageBox("Menu Already Exists")
End Try
End Sub
Private Sub SBO_Application_MenuEvent(ByRef pVal As SAPbouiCOM.MenuEvent, ByRef BubbleEvent As Boolean) Handles SBO_Application.MenuEvent
If (pVal.MenuUID = "MySubMenu") And (pVal.BeforeAction = False) Then
Try
SBO_Application.ActivateMenuItem(menus.Item(1).UID.IndexOf("@IA_RELAT"))
Catch
SBO_Application.MessageBox("error")
End Try
End If
End Sub -
Work Folders Stopped Working - The sync server needs the user's current user name and password
Our Work Folders deployment has just stopped working.
Once the user has logged in to ADFS they get the following error message "The sync server needs the user's current user name and password (0x80c80300)"
At the same time we see the following error in the file servers SyncShare event log:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-SyncShare" Guid="{9E6153AD-A829-4B70-B997-8E463A7A111C}" />
<EventID>1013</EventID>
<Version>0</Version>
<Level>2</Level>
<Task>0</Task>
<Opcode>0</Opcode>
<Keywords>0x8000000000000000</Keywords>
<TimeCreated SystemTime="2014-12-03T14:48:32.922225100Z" />
<EventRecordID>1178</EventRecordID>
<Correlation />
<Execution ProcessID="1988" ThreadID="2800" />
<Channel>Microsoft-Windows-SyncShare/Operational</Channel>
<Computer>fileserver.domain.com</Computer>
<Security UserID="S-1-5-18" />
</System>
- <EventData>
<Data Name="User">eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6ImVoZWxJMUFwWm9HT2VZdXU5NGZZb21tamUzayJ9.eyJhdWQiOiJodHRwczovL1dpbmRvd3MtU2VydmVyLVdvcmstRm9sZGVycy9WMSIsImlzcyI6Imh0dHA6Ly9hZGZzLmVzaGVyLmFjLnVrL2FkZnMvc2VydmljZXMvdHJ1c3QiLCJpYXQiOjE0MTc2MTgxMTIsImV4cCI6MTQxNzYyMTcxMiwidXBuIjoiRExvdWdobGluQGVzaGVyLmFjLnVrIiwidW5pcXVlX25hbWUiOiJEYW5pZWwgTG91Z2hsaW4iLCJmYW1pbHlfbmFtZSI6IkxvdWdobGluIiwiZ2l2ZW5fbmFtZSI6IkRhbmllbCIsImF1dGhfdGltZSI6IjIwMTQtMTItMDNUMTQ6NDg6MjYuNzU1WiIsImF1dGhtZXRob2QiOiJ1cm46b2FzaXM6bmFtZXM6dGM6U0FNTDoyLjA6YWM6Y2xhc3NlczpQYXNzd29yZFByb3RlY3RlZFRyYW5zcG9ydCIsInZlciI6IjEuMCIsImFwcGlkIjoiMTY4RjNFRTQtNjNGQy00NzIzLUE2MUEtNjQ3M0Y2Q0I1MTVDIn0.eCefzniju5qjqxIDdC2KCefkiNBNoGV-B1zg8EsnygUyV0LilPpANpv5uH75JJ9ekv9BN0vz7m6QezHEN4dYc5Z-6UJCzm7Wz6s1yNqVz-Sq5_wf_RrrHkxntcLXT2LHyyLN6ZxJy8uOF4vLw_fLsDzrNHkpaKUoevLAvNLI503IAiKDijKmQ0Qa2hZGsDT57yhKLGtjMXdqwx6FpFpP6vxA9qoUlR1E-tlt0ezTSD8j36djV9VbFpTlfeiH26D0n92T4exQCJkPdVzR42G7KbYyo9Acu0GGf7dnameWMQV9lT-Jtb7hH9xNReuVSVzqgtstsSDJR0mCsKJfLrdKVw</Data>
<Data Name="Error">0X80C80021 - ECS_E_SYNC_ADFS_UNAUTHORIZED</Data>
</EventData>
</Event>
I have attempted re creating the setup using several blog posts including:
http://blogs.technet.com/b/filecab/archive/2014/03/03/deploying-work-folders-with-ad-fs-and-web-application-proxy-wap.aspx. Including deleting all WAP rules, deleting and recreating the Relaying Party Trust and obtaining new certificates for the file
server.
ADFS and WAP are working correctly for our Office 365 federations and on-premise SharePoint, Exchange and other web applications
If I turn ADFS authentication off on the Work Folders server I can successfully connect and setup work folders on a domain joined computer, however as soon as ADFS authentication is enabled I get the above error.Hi,
As you expressed, it should be an authentication issue.
I assume it will work by selecting Windows Authentication instead of ADFS in step shows in following picture.
The article also mentioned that the certificate is needed in following computers.
The self-signed AD FS certificate will need to be exported and installed on the following machines in the test environment:
Work Folders
Web Application Proxy
Domain joined Windows 8.1 client
Non-domain joined Windows 8.1 client
Thus I would like to confirm if certificate is also imported.
If you have any feedback on our support, please send to [email protected] -
How to restrict the entries of a database table based on the user name
Hi All,
I have created a Database Table. Table maintenance generator is generated for the table.
UNAME(user name) is one of the fields in the table. whenever the user creates a new entry, the field UNAME will be populated automatically with SY-UNAME value. I have used Table event '05' to do this.
My requirement is...
When a user tries to maintain the entries of the table using SM30, when 'DISPLAY' is chosen, all the records of the table should be displayed.
When 'MAINTAIN' is chosen, only those records which have UNAME = SY-UNAME(User Logged in) should be in EDIT mode. and rest all the records should be in DISPLAY mode(greyed out). It should allow to edit only those records which are created by the user logged in.
Could you please tell me how to do this..? Thanks in advance.
Thanks & Regards,
Paddu.HI,
In table main. gen there are number of events , try to select one event like 05 for the Sy-uname.
For the requirement:
In that event write the code like
this is basic idea not the code:
Case ' Sy-ucomm'.
when 'display'. " button
Nomally for the display button it will show all the records, but we need to write a code like this.
select all records frm the table.
( Need to write the code in case if the user first maintained the data then again press the display , list has to be refreshed.)
when ' Maintain'. " button.
Fetch the records that are with SY-UNAME and find out the edit function and implement it on each and every record.
endcase.
Thanks and Regards,
Bharani. -
In which table is located the user e-mail adress in SU01 ?
Hello,
I'm desperatly tring to locate in which table I can find the e-mail adress of the user that appear in SU01, the filed is named SMTP_ADDR but is related to a structure...
I have tried to locate tables containing this field with DD03L but without success...
Any idea ?
Thanks !Hi
It is in ADR6, you will need to use in conjunction with USR21 on person number to get the link with userID -
Need the user exit/BADI name for Reverese order MIGo- ME21N(changing item)
Hi
I have the below requirement.
I am changing the item details in the transaction MIGO transaction,the value of MSEG entries
are got changed.and also it should change in the Purchase order level also(in the table EKKO).
Can anybody tell me the User Exit /BADI name which is triggered in the Reverse order
i.e MIGO -> ME21N.So that i can implement my code in the reverse order in the User Exit/BADI.hi I did not find any paramater type EKPO in the Exporting or changing of any methods in the BADI's given by you...........
-
Java API Failed to authenticate the user session with LDAP
I have created a Java class that uses the MDM Java Api's it works fine on our Development environment where the MDM server uses its own built in authentication, but when I moved it to our QA environment where MDM use LDAP for authentication its failed with a 'Failed to authenticate the user session'. Has anyone seen this before?
hi Dan,
The java class which u have created that suppose to works fine on MDM server because to execute that program there are no requirement of such protocols, the problem u will face while exporting those program to an client machine
LDAP(Lightweight Directory Access protocol) connector communicates with the SAP system using RFC and with the directory server using these standard communication protocol.
so try to select the protocol such that it should help in making connection between the server,direcotryserver and the client machine through which u can execute u r java class using java Api's.
i hope this will give u an idea to through ur problem.
regards,
swapnil -
In using ARD I can send the certificate to the user's desktop and install the Lync application but so far the only way I can get the certificate into the user's login keychain is by having them enter their password. This of course becomes inefficient when having to adminster 75 systems.
Which command can I send to the individual systems to store the certificate into their login keychains without having them to verify their password?
Any and all help is greatly appreciatedunfortunately no, MS Lync references the user's login keychain - at this point I can run a command through ARD that allows me to move the cert into the keychain and have the cert accept a password from the root account but now the problem is finding a command line to change the default trust settings to 'Always Trust'
-
Need the user exit/BADI name to display the error msg in PO for net price
Hi
I have the below requirement.
While creating the PO(Purchase Order) with reference to PR(Purchase Requisition),if the net price value
is 0.01 USD then the system will display a pop up a error message that 'This is a free price for PR'.
Can anybody suggest me the User Exit or BADI name so that I can implement my code.
Thanks
PILOTME_CHECK_ALL_ITEMS
ME_CCP_ACTIVE_CHECK
MD_EXT_SUP
ME_DEFINE_CALCTYPE
MD_STOCK_TRANSFER
ME_PROCESS_PO_CUST
These are the BADIs gettting triggered while dragging the PR's to PO creation.
You can check any of these as per your requirement.
Check if the BADI 'ME_PROCESS_PO_CUST' is useful. -
Table for finding out the User details
Hi All,
We need to create a KPI for number of hours a user has looged into a system. Is there any specific table where all the user related information is captured.If the information is not present in a table where can we find the above information?Please someone help me out.....
Also is it the same in all the systems or does this information differ from system to system?If it differs then how do we find the number of hours a user has logged in for a BW system, for a CRM system and for ECC system?
Regards,
ShravaniHello,
USR01User master record (run-time data)
USR02 Logon data
USR03 User address data
USR04 User master authorizations
USR05 User Master Parameter ID
USR06 Additional data per user
USR07 Object/values of last failed authorization check
USR08 Table for user menu entries
USR09 Entries for user menus (work areas)
USR10 User master authorization profiles
USR11 User Master Texts for Profiles (USR10)
USR12 User master authorization values
USR13 Short Texts for Authorizations
USR14 Surchargeable language versions per user
USR15 External User Name
USR20 Date of last user master reorganization
USR30 Additional Information for User Menu
USR40 Table for illegal passwords
USR41 User master: Additional data
USRCOBJ Object Filters for Exploding Product Structures
USRM0 Material Master User Settings: User Screen Reference
USRM1 Material Master User Settings: Organizational Levels
USRM2 Material Master User Settings: Logical Screens
USRMM User settings: material master
Might be these can help you.
Thanks
Geeta -
Indicate to the user that a table has updated its contents
Hi,
I have some criteria but I am not sure where to go or if it is even possible.
What I have is a jspx page with a table on it.
I have a poll that periodically re-executes the query for the table. If there are any changes then the table is refreshed automatically.
This is great for when the user is looking at the page and he/she can see the new row appear as they are looking at the table.
However the users that are going to be using my application will likely to have the page open, but have the window minimized.
So to allow for a better user experience I would like to be able to notify the user when there has been a change on the page. (Instead of the user periodically checking the page; to find out that the data is the same)
What I would like to do is make the minimized window flash, which generally happens when you open up a new window, or a new message appears on msn messenger/pigeon. The minimized window flashes to indicate to the user that there has been a change (So to indicate a new row has appeared).
Does anybody know if this is possible? And how to approach this problem?
Thanks,
Steve
I am currently using JDeveloper 10.1.3thanks for the reply,
but i cant use just html like <input type hidden > as i'm using the struts like framework with the netui tags in weblogic where i need to link the tag value to the form bean to be passed to the server . thus i need to use the netui tag , which doesnt have a name but a tagId instead, so i'm using it like this :
<netui:hidden tagId="teleCarerId" dataSource="{actionForm.teleCarerId}" dataInput=""/>and then in javascrpit doing:
//document.form.teleCarerId.value = row.cells[4].innerText;but thats not my problem ()as it probably will work and its only an issue after i resolve the first part of my question:-
which is how do i hide a cloumn in a table and its values so that when the user selects a row i can pass the hidden value of row as part of my form .
as i mentioned before when i make the cloumn visible as in
<th><rpb:columnHeader field="TELECARERID"><i18n:getMessage messageName="telecarer_id"/></rpb:columnHeader></th>and give it a visible value:
<td><netui:label value="{container.item.TELECARERID}"/></td>
</tr>i can pick up the value fine using the javascript syntax:
row.cells[4].innerText;however when i hide only the value - which is only part of what i want to do as i want to also hide the column heading so that this part of the table isnt seen- as in:-
<td><netui:hidden dataInput="{container.item.TELECARERID}" dataSource="" /></td>then i cant use
row.cells[4].innerText;to pick up the value although it does hide the value and in viewsourec the value is there - is there some other syntax that i should be using here - and also how can i hide the cloumn heading so that the table looks asthtically good on the browser?
ie. what should i change this line of code to?
<th><rpb:columnHeader field="TELECARERID"><i18n:getMessage messageName="telecarer_id"/></rpb:columnHeader></th>thanks in advance for any help. -
Table name in Oracle for the User Mapping field?
Does anyone know the table name for the user Mapping field in EP6.0?
ThanksHi Alan,
why do you want to access the DB directly?! You can access the information via the Java API, which is in general the most secure way for the DB scheme is always "subject to change without notice"...
Best regards
Detlev -
Dropping tables in a specified user where in i dont know the SYS privilege
Hi,
I have 10 users with each user containing about 120 tables, but i want to drop all the tables without dropping the users and im working on a testing database where in i only have access to ALL_USERS...
Can anyone help me in this regard......
Thanks
- SriOk, I'll try to be clearer.
in SQL*Plus, first enter the line:
sql> spool drop_tables.sql;
then enter the query as above. This should output a load of lines which read 'drop table owner.table_name; and the last line will be row count.
Then issue the command:
sql> spool off;
you should then see that a file has been created on your filesystem called drop_tables.sql. Take a look inside and it will contain lots of 'drop table' commands.
return to SQL*Plus and run that script:
mysql> @drop_tables.sql
when you are SURE that you are happy with what has been dropped, issue the COMMIT;
if you are not happy, issue a ROLLBACKl
regards
James -
Which table store the user type attribute details on 4.5b version
Hi,
I am hunting for the table which store the user type attribute.To simply the problem when i create user in the 4.5b system using su01 tcode & when you select user type from logon data say you select Dialog or BDC or Background and CPIC type now where this information is store in the table, what i got from system is User type (A=online, C=CPIC, D=BDC, O=ODC) but on UI it is showing as Dialog or BDC etc. which is confusing me.
so can anyone tell the table which store detail info about say A = Dialog or D = BDC user type.
thanks,
John.Hi John,
These are the Fixed values allowed to this Domain. No value table is maintained but they maintain the Fixed values in the Value Range Tab of the Domain.
Go to SE11--> Domain Name ---> Display --> Select Tab strip Value Range, where you can see the fixed values for this Domain.
Satya
Maybe you are looking for
-
DVD stalls or hesitates on playback on external DVD players
When I play a DVD created in iDVD on DVD players (tried three) it stalls for about 5 seconds in two different places. When I play it on my computer it plays perfectly.The movies on this DVD were created in iMovie. When I play them in Quicktime player
-
Hyperion Smart View Error in Word and Power point
Hi, When I retrieve (Import) a report (FR) into MSpowerpoint or MS word I am getting an error message "The specified file wasn't found". Has any one faced this error before? Any thoughts please !!!! Help Appreciated. Thanks,
-
Adding of Custom Report in SAP Easy Access Menu
Hi all, How can we add the Custom Report in the SAP easy access Menu. Transaction code can be added thru Favourites, but not the Reports. Can any one give a ray on this one... Thanks, Srikanth
-
Hi I'm looking to start developing and have some questions about what I should be looking at in terms of hardware. I've looked across the mac range and have so far only come to conclusion that should not be looking at a portable solution. Please corr
-
Skype lists my phone number as Canada for call for...
No matter what I do it shows my number as a Canadian phon number. It is a US based number. The little flag in front of the number is the Canadian flag, I change it to USA and save. I go back in and it is Canada again.