Coding for DB connect
Hi All,
I am new to SAP BW and trying to gather as much as I can when reading topics and looking to you all to gather the knowledge.
Can anyone tell me what is the ABAP code that needs to be put in place for DB connect. I am aware of the procedure , but have no idea of the preparation that needs to be done in BW and also the ABAP code that needs to be done.
Thanks in advance
Amit
it's very simple :
RSA1 -> SourceSystems -> right window RMB on SourceSystems -> Create ... -> Databasesystems -> type in the qualifier for your systemj in BW
On the next screen you can choose your Databasesystem and your User.
Type in the PIN twice and then the connection-Info, depending on your DBMS, b.e. for an ORACLE-System type in your Database-Connection you want out of your TNSNAMES.ORA.
Select afterwards your table/view, create a DataSource. Voilá, that's all.
A little hint. Don't forget synchronizing your connection on all your Systems (DEV, QAS, PRD), otherwise you'll waste a lot of time searching for this completely superfluos bug
Bye
Ralf
Similar Messages
-
Hi Experts,
could you write me pls a draft coding for an RFC connection?
Thank you!You mean something like this:
CALL FUNCTION 'Z_FUNCTION_NAME' DESTINATION 'PRD'.
That's all there is to it. You just add the Keyword DESTINATION and the name of a destination mainted in SM59 to the CALL FUNCTION statement. Now that I have typed this, however, I question if this inquiry really belongs in the Web Dynpro ABAP forum. This seems more like a general ABAP question.
Hint - for WDA specific functionality you can use the Service Call Wizard to generate the context and the logic to call a RFC. Was that perhaps what you were refering to. -
How to set/get the values thru Wedbynpro coding for User mapping fields
Hi All
In system object we have the user mapping fields like District,city,plant,Salesmanager.
now we want to set/get the values of these usermapping fields of system object thru webdynpro coding...
if anybody have sample codes of the same then it would be great help to me
Thanks in advance
Thanks
Trisha RaniHi Kavitha
Thanks for your reply
My requirement is exactly as follows.
1) i have created one portal system object in system administration and also i created usermapping fields in the system object from the usermanagement in system object.
i created the user mapping fields like Plant,SalesManager,District etc.
i also created the system alias name for the same system object
2) Now i came to persoanlize link and mapped the system object to the portal user.
while mapping to the system object we need to enter Mapping userId, Password , once we enter these values and we can also enter the values of usermapping fields which we defined while creating the system object ( for example District,Salesmanager,Plant etc)
once we enter all the values and click on save then these usermapping values to be mapped to the portal user.
3) Now my requirement is , i want to control the usermapping field values thru webdynpro coding for setting/getting the values.
I need sample code of the same.
Please let me know if u need more details on the same.
Thanks
Trisha Rani -
ASA 5505 configured for WebVPN connecting to Citrix Web Interface
ASA 5505 configured for WebVPN connecting to Citrix Web Interface.
i have a ASA 5505 that I am attempting to configure for WebVPN with passthrough into Web Interface . The user authenticates into WebVPN OK and gets the option to click on the Citrix Link (which is i add bookmark citrix server http:// 172.30.40.5.) i enter the citrix and then for example i want to open to outlook it can not open. (when i want to open some application no application is open)).there is no alarm at asa. how i solve this issue?
thanks.Teymur,
Can you confim that after disabling the ssl/tls on the Citrix server (secure connectivity) that you are getting exactly the same error. It is possible that it is generating a different error.
The bug where we have see the existing error was CSCtf06303 but that has been fixed in 8.4.1. Can you confirm the exact version of code you are running on the ASA.
If you have confirmed the above two notes it may be adventageous to open a TAC case as we may need to do some live additional troubleshooting.
Thanks
-Jay -
Licensing for Unity Connection after Upgrade from 8.5 to 9.1.2
I upgraded my Unity connection from 8.5.1 to 9.1.2. ( my CUCM is still on 8.5.1) . I have 200 CUWL-STD ( 2200 DLUs), and 50 CUWL-PRO (850 DLUs) . Now I am working with Cisco to get a license file for Unity Connection and apply that to my ELM. I attached my licensing page for when I was in 8.5.1 . Just want to make sure if I will be getting enough license with that license file, or possibly I need to buy more. Someone told me that if I want to have users with mailbox I need to order more licenses since every user take one CUWL license.
Honestly i do not know how CUWL licensing work regardig to Unity or even CUCM.
Thanks,Hi,
The following link provides details of licenses usage by diff endpoints on version 9.x
http://www.cisco.com/c/en/us/td/docs/voice_ip_comm/cucm/upgrade/uct/9_1_1/CUCM_BK_U0AE00F5_00_uct-admin-guide/CUCM_BK_U0AE00F5_00_uct-admin-guide_chapter_0100.html
HTH
Manish -
I am trying to install software for iTwin Connect, but after downloading the dmg file and launching the program, I receive a message saying the file can't open and to check my internet connection. Any ideas?
Many Thanks, Kurt.
I knew I'd seen the solution you've provided somewhere - either in MacWorld or MacFormat - but couldn't remember the Gatekeeper bit!
I shall save it somewhere VERY safe now in case this happens again …
You have made an old man very happy and saved me from worrying that senile decay had suddenly set in. (I was 70 last week so you might understand the situation from that.)
Best wishes
OllyanDinah -
What is the easiest way to check for internet connection in C#?
Hi!
I searched a lot but I didn't get my answer. I'm looking for the easiest way to check for internet connection. Can you help me?
Thanks a lot.Hi Pouya Ebrahimzadeh,
I suggest you could connect a site to check if it can be opened.
Public Shared Function CheckForInternetConnection() As Boolean
Try
Using client = New WebClient()
Using stream = client.OpenRead("https://msdn.microsoft.com/")
Return True
End Using
End Using
Catch
Return False
End Try
End Function
If you have any other concern regarding this issue, please feel free to let me know.
Best regards,
Youjun Tang
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Shall I use one datasource for multiple connection pool?
Hi,
I need to clarrify that, Shall I use one Datasource for multiple connection pool in distributed transaction?
Thanks with regards
SureshNo. If its transactions across multiple databases you should use different datasources.
-
How do I check the Oracle enviornment variables for a connection?
I am using Oracle JDBC 10.2.0.4 and trying to output the Oracle enviornment variables for a connection.
I am trying to determine if the values output from sqlplus from the following two SQL select statements are different in the connection object:
SELECT * from NLS_SESSION_PARAMETERS order by 1;
NLS_CALENDAR GREGORIAN
NLS_COMP BINARY
NLS_CURRENCY $
NLS_DATE_FORMAT MM/DD/YYYY HH24:MI:SS
NLS_DATE_LANGUAGE AMERICAN
NLS_DUAL_CURRENCY $
NLS_ISO_CURRENCY AMERICA
NLS_LANGUAGE AMERICAN
NLS_LENGTH_SEMANTICS BYTE
NLS_NCHAR_CONV_EXCP FALSE
NLS_NUMERIC_CHARACTERS .,
NLS_SORT BINARY
NLS_TERRITORY AMERICA
NLS_TIMESTAMP_FORMAT DD-MON-RR HH.MI.SSXFF AM
NLS_TIMESTAMP_TZ_FORMAT DD-MON-RR HH.MI.SSXFF AM TZR
NLS_TIME_FORMAT HH.MI.SSXFF AM
NLS_TIME_TZ_FORMAT HH.MI.SSXFF AM TZR
SELECT sys_context('userenv','language') from dual;
AMERICAN_AMERICA.WE8ISO8859P1
Is there a way to do this in the API or do I just need to run the SQL statements in a Class and output the values to a log?
Thanks,
--ToddSo try it.
Create a connection with no settings.
Alter all of the (session only)
Query again and see.
Either the query will return the altered values or it won't. -
My new tv needs to plug into an ethernet port for internet connectivity.
I'm hoping it can plug into my TC however my TC is wirelessly connected to my current home network... how can i get this to work?
TC version A1470 (i think, brand new)
Many thanks.
BenIf the TC is connected to a wireless network provided by another Apple router, then the TC extends the network by default, and the Ethernet ports are enabled on the TC.
If the TC is connected to a third party network wirelessly, then it must have been setup to "join" the wireless network. When the TC is set up this way, the TC becomes a wireless hard drive and nothing more. The Ethernet ports are not enabled when the TC "joins" a wireless network.
So, a logical first troubleshooting step would be to confirm "how" the TC is currently set up. To do that.....assuming that you are using a current or recent version of AirPort Utility on your Mac.......
Open AirPort Utility
Click on the TC icon, then click Edit in the smaller window
Click the Wireless tab at the top of the window
Check the setting for Network Mode and report on that -
AnyConnect: No Address Available for SVC Connection on Cisco ASA 5505
Get Error
The secure gateway has rejected the connection attempt. A new connection attempt to the same or another secure gateway is needed, which requires re-authentication. The follow message was received from the secure gateway: No address available for SVC connection.
ip local pool VPN 192.168.250.50-192.168.250.60 mask 255.255.255.0
tunnel-group SSL type remote-access
tunnel-group SSL general-attributes
address-pool VPN
tunnel-group Any-Connect type remote-access
tunnel-group Any-Connect general-attributes
address-pool VPN
I have a VPN pool
I can make a clientless SSL connectionHi,
Maybe you are not falling into that tunnel-group SSL? By default, you will fall into the DefaultWebvpnGroup unless you choose the TG via a dropdown or directly access the group via a groupurl.
Example: When no 'tunnel-group-list' or 'group-url' is configured:
Accessing https:// will take you to DefaultWebvpnGroup.
When 'tunnel-group-list enable' is configured under webvpn, you will get a dropdown of tunnel-groups to choose from [provided you have an alias defined for the group]
When group-url is configured for a particular TG, say https:///test , on accessing that URL, you are taken to that group directly.
So basically, you would need to check which group you are hitting. Running 'debug webvpn 255' should also show you this.
Thanks
Rahul -
Could not load library for database connection LCA
Hi,
I am facing RFC connection prblem while connectiong to database. I have installed SCM5.1 and live cache in single server
Please find the logs.
Work process log:
B Mon Jul 20 11:19:13 2009
B create_con (con_name=LCA)
B Loading DB library 'E:\usr\sap\SC7\DVEBMGS03\exe\dbsdbslib.dll' ...
M *** ERROR => DlLoadLib: LoadLibrary(E:\usr\sap\SC7\DVEBMGS03\exe\dbsdbslib.dll) Error 126 [dlnt.c 241]
M Error 126 = "The specified module could not be found."
B *** ERROR => Couldn't load library 'E:\usr\sap\SC7\DVEBMGS03\exe\dbsdbslib.dll'
[dbcon.c 4731]
B ***LOG BYG=> could not load library for database connection LCA [dbds#1 @ 1035] [dbds 1035 ]
A
A Mon Jul 20 11:21:58 2009
A GENER starting remote generation: /SAPAPO/OM_SYNC_LC_DB (requested by W1).
B
SM21:
No shared library found for the database with ID LCA|
No shared library found for the database with ID LCA
/SAPAPO/OM17|/SAPAPO/OM_SYNC_LC_DB|K |SAP Web AS Problem|SBAC |
Documentation for system log message BY G :
As well as the standard connection, an attempt was made to set up
another database connection, under the specified ID. The Shared Library
for this second database could not be found.
The Shared Library is usually found in the the Executable
directory (profile parameter DIR_LIBRARY) under the name dbs
<dbs>slib<os_ext>. <dbs> stands for the database type and <os_ext>
stands for the operating system-specific extension of the Shared
Libraries.
The database type is determined from the entry that corresponds to the
specified DB ID in the table DBDCON. Check whether the data in this
entry is correct.
ST22
Runtime Errors DBIF_DSQL2_CONNECTERR
Exception CX_SY_NATIVE_SQL_ERROR
Date and Time 20.07.2009 11:22:21
Short text
Error setting up a secondary database connection
What happened?
Connection to database system not possible with identifier "LCA".
|----
System environment
SAP-Release 700
Application server... "
Network address...... "
Operating system..... "Windows NT"
Release.............. "5.2"
Hardware type........ "8x AMD64 Level"
Character length.... 16 Bits
Pointer length....... 64 Bits
Work process number.. 8
Shortdump setting.... "full"
Database server... "
Database type..... "ORACLE"
Database name..... "SC7"
Database user ID.. "SAPSC7"
Terminal................. " "
Char.set.... "C"
SAP kernel....... 701
created (date)... "Jul 6 2009 23:47:55"
create on........ "NT 5.2 3790 Service Pack 1 x86 MS VC++ 14.00"
Database version. "OCI_10201_SHARE (10.2.0.2.0) "
Patch level. 50
Patch text.. " "
Database............. "ORACLE 9.2.0.., ORACLE 10.1.0.., ORACLE 10.2.0.."
SAP database version. 701
Operating system..... "Windows NT 5.0, Windows NT 5.1, Windows NT 5.2, Windows
NT 6.0"
Information on where terminated
Termination occurred in the ABAP program "SAPLSLCAPPS" - in
"LCA_EXISTS_LCA_ROUTINE".
The main program was "/SAPAPO/TS_BATCH_RUN ".
In the source code you have the termination point in line 23
of the (Include) program "LSLCAPPSU05".
The program "SAPLSLCAPPS" was started as a background job.
Job Name....... "MACROS"
Job Initiator.. "SC7GEN"
Job Number..... 10222002
The termination is caused because exception "CX_SY_NATIVE_SQL_ERROR" occurred
in
procedure "LCA_EXISTS_LCA_ROUTINE" "(FUNCTION)", but it was neither handled
locally nor declared
in the RAISING clause of its signature.
The procedure is in program "SAPLSLCAPPS "; its source code begins in line
1 of the (Include program "LSLCAPPSU05 ".
Please help me to resolve the issue.
SurajHi Natalia Khlopina,
I have raised OSS message to SAP.
Below is the information
E:\usr\sap\SC7\SYS\exe\uc\Copy_ of_NTAMD64_15062009>sdbregview -l
Server Utilities e:/sapdb/programs 7.7.02.08 64 bit valid
DB Analyzer e:/sapdb/programs 7.7.02.08 64 bit valid
PCR 7301 e:/sapdb/programs 7.3.01.21 valid
PCR 7500 e:/sapdb/programs 7.5.00.42 64 bit valid
SAP Utilities e:/sapdb/programs 7.7.02.08 64 bit valid
APO LC APPS f:/sapdb/lcs/db/sap 6.00.004 64 bit valid
Redist Python e:/sapdb/programs 7.7.02.08 64 bit valid
Base e:/sapdb/programs 7.7.02.08 64 bit valid
JDBC e:/sapdb/programs 7.6.03.02 valid
Messages e:/sapdb/programs MSG 0.5010 valid
ODBC e:/sapdb/programs 7.7.02.08 64 bit valid
SQLDBC 77 e:/sapdb/programs 7.7.02.08 64 bit valid
Database Kernel f:/sapdb/lcs/db 7.7.02.08 64 bit valid
Loader e:/sapdb/programs 7.7.02.08 64 bit valid
SQLDBC e:/sapdb/programs 7.7.02.08 64 bit valid
SQLDBC 76 e:/sapdb/programs 7.6.01.15 64 bit valid
Fastload API e:/sapdb/programs 7.7.02.08 64 bit valid
C:\Documents and Settings\sc7adm>disp+work
disp+work information
kernel release 701
kernel make variant 701_REL
compiled on NT 5.2 3790 Service Pack 1 x86 MS VC++ 14.00
compiled for 64 BIT
compilation mode UNICODE
compile time Jul 6 2009 23:47:55
update level 0
patch number 50
source id 0.050
supported environment
database (SAP, table SVERS) 700
701
operating system
Windows NT 5.0
Windows NT 5.1
Windows NT 5.2
Windows NT 6.0
Thanks for quick responce.
Suraj -
About a month ago I could no longer connect to the internet on our PC. Every time I clicked on the Firefox icon the Netscape sign-on window would pop up. I would try to close it but it would pop up over and over again. If I tried to close it a dozen or so times eventually Firefox would open up but it would never connect. Just today I moved my Netscape file to the recycle bin. No longer does the Netscape sign-on window pop up but following Network Connection error message pops up: "Error 623: The system could not find the phone book entry for this connection".. This error window behaves the same way the Netscape sign-on window used to behave. Every time I click to close it it pops open again. After numerous clicks Firefox opens up but it never connects.
Do you have this error message on a Mac computer or on a Windows computer?
I've only seen this error mentioned on a Windows computer.
*http://kb.mozillazine.org/Autoconnect -
All my Windows operating Systems are set to use the UI Culture: German
With Update-Help or Save-Help you can download PowerShell help in different (any) language by use of the –UICulture parameter.
Update-Help –UICulture en-US
Because my Windows OS is set to use the German UI Culture and the Cmdlet Get-Help depends on it, I cannot access PowerShell help in a different Language (English) with Get-Help.
There is still no translated German PowerShell help and even if I have installed the en-US verbose Help files I cannot use it (easily)!
I made a suggestion on Microsoft Connect to add the –UICulture Parameter to the Get-Help Cmdlet, to make it possible to call Help in a different language then the Windows Ui Culture.
As a workaround until then you can use the .NET Class [System.Threading.Thread]::CurrentThread.CurrentUICulture to set the UI Culture and get Help in a different language.
Function Get-HelpUICulture {
param (
[String]$HelpSearchString,
[String]$UICulture
# remember the UICulture
$OldCulture = [System.Threading.Thread]::CurrentThread.CurrentUICulture
trap
[System.Threading.Thread]::CurrentThread.CurrentUICulture = $OldCulture
# set thread to given UICulture
[System.Threading.Thread]::CurrentThread.CurrentUICulture = $UICulture
# call powershell help in given language
Get-Help $HelpSearchString -Full
# reset UICulture
[System.Threading.Thread]::CurrentThread.CurrentUICulture = $OldCulture
# Example: call PowerShell en-US help in verbose English:
Get-HelpUICulture -HelpSearchString Get-Command -UICulture ‘en-US’
If you want to access the PowerShell 3.0 Help in another language please vote for my Connect suggestion!
https://connect.microsoft.com/PowerShell/feedback/details/767899/please-add-uiculture-to-get-help
Please click “Mark as Answer” if my post answers your question and click
“Vote As Helpful” if my Post helps you.
Bitte markiere hilfreiche Beiträge von mir als “Als Hilfreich bewerten” und Beiträge die deine Frage ganz oder teilweise beantwortet haben als
“Als Antwort markieren”.
My PowerShell Blog http://www.admin-source.info
[string](0..21|%{[char][int]([int]("{0:d}" -f 0x28)+('755964655967-86965747271757624-8796158066061').substring(($_*2),2))})-replace' '
German ? Come to German PowerShell Forum!Hello JosKW
Thank you for your suggestions!
In my 3 Part Blog Series about the new 3.0 PowerShell, I offer a full blown Proxy Function for the Get-Help cmdlet to solve this better.
For now I have the first two Articles Published at my Blog, the Third Part will follow soon:
PowerShell 3.0 updateable help Update-Help, Save-Help und Get-Help Basics
http://www.admin-source.de/BlogDeu/497/powershell-3-0-updateable-help-update-help-save-help-und-get-help-grundlagen
PowerShell 3.0 updateable help Update-Help, Save-Help und Get-Help using
http://www.admin-source.de/BlogDeu/523/powershell-3-0-updateable-help-update-help-save-help-und-get-help-anwenden
The Articles are written in German. I think you as a Dutchman can read this.
Or you can use the Translate Button on my Page, to use Google Translate Service to read this in the Language of your choice. ;-))
Cheers Peter
Please click “Mark as Answer” if my post answers your question and click
“Vote As Helpful” if my Post helps you.
Bitte markiere hilfreiche Beiträge von mir als “Als Hilfreich bewerten” und Beiträge die deine Frage ganz oder teilweise beantwortet haben als
“Als Antwort markieren”.
My PowerShell Blog http://www.admin-source.info
[string](0..21|%{[char][int]([int]("{0:d}" -f 0x28)+('755964655967-86965747271757624-8796158066061').substring(($_*2),2))})-replace' '
German ? Come to German PowerShell Forum! -
Set password for database connection at runtime
Hi there,
is it possible to set the password and/or the user for the database connection at runtime.
The use case is to read the values from a file and decrypt them, and the to establish the conenction. So that i don't habe to redeploy everything if there is a change.
Thanks in advance.How exactly do i set these values for the datasource?
Edited by: Alex on 15.02.2012 09:50
€: JDeveloper 11.1.1.5.0
The use case is, that there is a file with an encrypted password. This should be decrypted and then be used for the connection. So when this encrypted passowrd changes, i don't want to edit and deploay the app once again. Instead the new encrypted password should be decrypted via code an then be used.
Edited by: Alex on 15.02.2012 10:00
Maybe you are looking for
-
Lync 2013 Server / Roles & Components
Lync 2013 Server / Roles & Components Front End User authentication and registration Presence information and contact card exchange Address book services and distribution list expansion IM functionality, including multiparty IM conferences Web confe
-
How to configure SSO for web dynpro ABAP (not web dynpro Java)
Hi Experts, I am testing SSO in IDES for web dynpro ABAP (Not for web dynpro Java / not for portal). When I am entering url of web dynpro application in web browser like internet explorer, then it should ask for user id and password first time, a
-
Does anybody know why type might render strangely when viewing a PDF in Chrome, Firefox and IE? I have a client who I create a report for every year. This year there seems to be a problem with the PDFs that I have exported when they are viewed in var
-
Demo users for BPM in Oracle BPM Suite 11.1.1.4 (Patchset 3)
Hello, In the previous release a utility was made available to insert demo users for BPM (demo-community.zip) See also http://blogs.oracle.com/middleware/2010/07/installing_seeded_users_for_bpm_11113_on_linux.html Could I (re)use this utility in orde
-
How to draw a line b/w cells of a template of SF?
Hi, In smartform i am using a template with four cells, i require to draw a line in the middle, i.e. end of second cell and start of third cell, is there any way to achive this?