How to extract current user SQL password from SAP
I have an external exe that needs to connect via ADO to the currently running SAP application using the current user.
I used the SAPbobsCOM.Company object to extract the
CompanyDB , Server ,DbUserName and Password to create my ADO connection string. But obviously the password is encrypted and (when I debug.print gives me ****) is not useful.
Does anyone know how to get this password through the SDK?
Thanks,
Indika.
Hi,
I've already asked about it. No way. Simply forget.
You can ask for password for the first time and store it in the database or in the registry.
Regards,
Mark
Message was edited by: Mark Gulyansky
Similar Messages
-
How to extract Cleared and Open Items from SAP R/3?
Hi experts,
I have a requirement from user to extract cleared and open invoice items from SAP R/3.
Can someone tell me how to do that?
Thanks!Hi,
Use the Data source 0FI_AR_4 to Know the status (0FI_DOCSTAT) of payment to be done by customer.
OR
Enhance the 2LIS_13_VDITM with VBUP fields which will give the status of Billing.
With rgds,
Anil Kumar Sharma .P -
How to extract meta data of documents from SAP R/3
dear all,
i`am working in aproject where we connect the documents for SAP R/3 applications.we maintain our own repository for that purpose.it may be in bound or out bound according to customer needs.the meata data related to the documents is stored in SAP.our requirement now is to have that metadata available in our repository .can any one guide me how to write ABAP code for extracting meata data from SAP and enable even nonSAP users to have the access for the documents.
thanks in advance
raviHi,
One way to do this is probably set a connection between SAP Database and an external database and store the meta data into external database from where a non-sap user will have an eccess to the data.
Steps required are :
1. we have to involve basis team also in that.
2. they will make one entry
in DBCON table
(that entry will point to secondary database/external database)
(suppose the name of this secondary connection is HRCON)
3. Also they will make connection string
in application server.
4. After that,
we should have
the table definition in SAP dd dictionary
and also
the same defintion
in the external database.
5. now in abap code,
we have to use like this.
DATA: mydbcon(30) TYPE c.
mydbcon = 'HRCON'.
INSERT ydev_msg_cur CONNECTION (mydbcon)
FROM msg_cur .
<b>Hope this helps.
Please mark helpful answer.</b>
Regards,
Amit Mishra -
Question on how to Hide the User Name, Password, and Domain fields in the MDT Wizard
MDT 2012 U1
Deploying Windows 7 via Offline Media (ISO) to MS Virtual PC's
I am looking on how to Hide the User Name, Password, and Domain fields which are prepopulated in the MDT wizard via the CS.ini (Not so concerned about the Domain field as I am User Name and Password)
We do need the Computer Name and OU fields to be seen, so skipping the wizard is not a option
The client just does not want these fields to be seen by the end users, they dont want them to even know the account name used for adding the machine to the domain, of course the password is not displayed but it must not be displayed either.
But since we use the fields they must still be fuctional just not seen.
Thanks.....
If this post is helpful please click "Mark for answer", thanks! Kind regardsYou shouldn't have to edit DeployWiz_Definition_ENU.xml. You should only need to add "SkipAdminPassword=YES" to the CS.ini file and your authentication information.
Example:
[Settings]
Priority=Default
Properties=MyCustomProperty
[Default]
OSInstall=Y
SkipCapture=NO
SkipAdminPassword=YES
UserID=<MyUserID>
UserPassword=<MyPassword>
UserDomain=<MyDomain.com>
SkipProductKey=NO
SkipComputerBackup=YES
SkipBitLocker=NO
-Nick O.
Nick,
SkipAdminPassword=YES is for:
You can skip the Administrator Password wizard page by using this property in the
customsettings.ini.
I am hidding the Username/Password/and domain field in the computer name Wizard pane which is read from the cs.iniDomainAdmin=xxxxx
DomainAdminPassword=xxxxx
DomainAdminDomain=xxxxxx
JoinDomain=xxxxxx
If this post is helpful please click "Mark for answer", thanks! Kind regards -
How do I keep my email password from remaining in Preferences? I want to enter it every time I get my mail. I upgraded to OS M Lion but it won't let me delete it from preferences (the password from Account Info). Once you enter the password, it keeps it permanently. i do not want that. It's worked prior to using M. Lion. Any suggestions? Also, The other pressing issue i have is, I DO NOT want ANY mail showing in my inboxes when Mail starts UNTIL i enter that password for each account. Instead of creating different user accounts for the MacBook, it's just easier this way. Or is it? If this is a permanent thing, then I may switch back to Lion. I guess I shoud've waited until the kinks were out before installing (**** Mac-head!)
Thank you all kindly for any suggestions & your time
Regards,
JCI DO NOT want ANY mail showing in my inboxes when Mail starts UNTIL i enter that password for each account.
That is simply not possible with Mail, and never has been. Anyone who uses your account can see all messages stored in Mail. The only true solution is to not let other people use your account. Let other people use the guest account, or if you share the machine with someone else, set up a separate user account for that person. This will also solve the problem of remembering the password. It will become a non-issue for Mail to remember your password if nobody else has access to your account. -
How can I retrieve a lost password from my computer necessary to install Adobe flash player
How can I retrieve a lost password from my computer necessary to install Adobe flash player
Forgot Your Account Password
For Lion, Mountain Lion, or Mavericks
Boot to the Recovery HD:
Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
When the menubar appears select Terminal from the Utilities menu.
Enter resetpassword at the prompt and press RETURN. Follow
instructions in the dialog window that will appear.
Or see:
Reset a Mac OS X 10.7 Lion Password
OS X Mountain Lion- Reset a login password,
OS X Mavericks- Solve password problems,
OS X Lion- Apple ID can be used to reset your user account password.
For Snow Leopard and earlier with installer DVD
Mac OS X 10.6- If you forget your administrator password,
OS X- Changing or resetting an account password (Snow Leopard and earlier).
For Snow Leopard and earlier without installer DVD
How to reset your Mac OS X password without an installer disc | MacYourself
Reset OS X Password Without an OS X CD — Tech News and Analysis
How To Create A New Administrator Account - Hack Mac -
How to Extract Customized Financial Statement Version from R/3 to BW
Hi Gurus,
Could anybody tell me how to Extract Customized Financial Statement Version from R/3 to BW. Also send me docs on FICO and COPA extraction from R/3 to BW.
Thanks in advance...
Regards
RafiSayed
Please see this BW Best Practice link
http://help.sap.com/bp_biv133/
http://help.sap.com/bp_biv235/BI_EN/html/BW/COPABaselineAnal.htm
http://help.sap.com/bp_biv235/BI_EN/html/BW/ControllingAnalysis.htm
COPA Business content
http://help.sap.com/saphelp_nw04/helpdata/en/28/3dc7393b26da1de10000000a114084/content.htm
Hope this helps
Thnaks
Sat -
How to connect to a Sql server from Oracle using db link
Hi All,
Does anybody have any idea about how to connect to a sql server from oracle database using db link to syncronize the data? I need to pull the data from Sql server table to Oracle tables and relay messages back to the sql server.
Thank you,
Praveen.we have 2 products - DG4MSQL and DG4ODBC.
DG4ODBC is for free and requires a 3rd party ODBC driver and it can connect to any 3rd party database as long as you use a suitable ODBC driver
DG4MSQL is more powerfull as it is designed for MS SQL Server databases and it supports many functions it can directly map to SQL Server equivalents - it can also call remote procedures or participtae in distributed transactions. Please be aware DG4MSQL requires a license - it is not for free.
Check out Metalink and you'll find notes how to configure both products.
For a generic overview:
Note.233876.1 Options for Connecting to Foreign Data Stores and Non-Oracle Databases
And the setup notes:
DG4ODBC
Note.561033.1 How to Setup DG4ODBC on 64bit Unix OS (Linux, Solaris, AIX, HP-UX) :
Note.466225.1 How to Setup DG4ODBC (Oracle Database Gateway for ODBC) on Windows 32bit RDBMS.HS-3-2 :
Note.109730.1 How to setup generic connectivity (HSODBC) for 32 bit Windows (Windows NT, Windows 2000, Windows XP, Windows 2003) V817:
Note.466228.1 How to Setup DG4ODBC on Linux x86 32bit
DG4MSQL
Note.466267.1 How to Setup DG4MSQL (Database Gateway for MS SQL Server) on Windows 32bit
Note.562509.1 How to Setup DG4MSQL (Oracle Database Gateway for MS SQL Server) 64bit Unix OS (Linux, Solaris, AIX,HP-UX)
Note.437374.1 How to Setup DG4MSQL (Oracle Database Gateway for MS SQL Server) Release 11 on Linux -
How to backup only users' relevant files from File History on Windows 8.1?
Hi,
I would like to find out how to backup certain user's files from File History on Windows 8.1?
I'm planning to store the backup files on our server, over a shared network, so that client can retrieve them whenever they need.
I manage to do one by excluding all the folders from c:\, but it occurs quite silly to me to go select one by one files to exclude them.
Please advise if there is a better way?Hi,
This IT Professional forum is for general questions, feedback, or anything else related to Office 2010, since your question is more related to Windows client, I'd recommend you post a new question in the following forum for further assistance:
https://social.technet.microsoft.com/Forums/windows/en-US/home?category=w7itpro%2Cw8itpro%2Cwindowsvistaitpro%2Cwindowsxpitpro%2Cwindowsintune
The reason why we recommend posting appropriately is you will get the most
qualified pool
of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.
Steve Fan
TechNet Community Support
It's recommended to download and install
Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
programs. -
How to extract the actual XML document from soap message?
My problem is " how to extract the actual XML document from soap message? "
i just want to extract the attachment i.e. (pure XML document without any soap header or envolope).
i could be ver thank full if u could solve my problem.
[email protected]Hi,
This is some skeleton code for extracting an attachment from a SOAPMessage.
import javax.activation.DataHandler.;
import javax.xml.soap.*;
import javax.xml.message.*;
Iterator allAttachments = message.getAttachments();
AttachmentPart ap1 = null;
while(allAttachments.hasNext()){
ap1 = (AttachmentPart)allAttachments.next();
//Check that the attachment is correct one. By looking at its mime headers
//Convert the attachment part into its DOM representation:
if(ap1.getContentType() == "text/xml"){
//Use the activation dataHandler class to extract the content, then create a StreamSource from
//the content.
DataHandler attachmentContent = ap1.getDataHandler();
StreamSource attachmentStream = new StreamSource(attachmentContent.getInputStream());
DOMResult domAttachment = getDOMResult(attachmentStream);
domAttachment holds an xml representation of the attachment.
Hope this helps. -
How to find current user name on a LAN machine....
how to find current user name in a remote machine in LAN .
how to find current user name on a local machine in LAN .how to find current user name in a remote machine in
LAN .Many users may be logged on concurrently on the remote machine.
how to find current user name on a local machine in
LAN .The user who is running the code in the process would be obtainable via:
System.getProperty("some property goes here");
I leave it to you to look at the API documentation for System.getProperties() to see what property name you would retrieve. -
How do you update the schema password from Oracle Enterprise Manager...
How do you update the schema password from Oracle Enterprise Manager...
Or do you mean, change the SYSMAN's password?
If this is the case, I suggest you to refer to this link --> EM HowTo Reset sysman Password
~ Madrid -
How do you update the schema password from OEM
How do you update the schema password from Oracle Enterprise Manager...
There is a metalink article on changing the SYSMAN password, assuming that's what you're referring to. See Metalink Note 270516.1
-
How can we prepare the PDC Cheques from SAP?
Hi,
How can we prepare the PDC Cheques from SAP?
tx
BharatDear:
For catering PDCs in SAP there is a standard procedure. First you book PDC down payment request through F-37 which is mostly done with reference to invoice( A request is a notional entry having no financial impact). After realizing the check at due date you post it through F-29 and clear the customer afterwords through F-32. For configuration you must define Special GL indicator in FBKP for customers and mark it as noted item.
Regards -
How to view current date and time on SAP screen
Hi Everybody,
How to view current date and time on SAP screen .I have set time zone in T-code STZAC.now iam getting correct date n time in my tranctions but i want to check without any tractions
Plz repay,Regards,
Sadik.Hi,
You can check the time by running a report .
It will show the database and central instance time : Report name :rsdbtime
Thanks and Regards
Vijay kumar G
Edited by: vijay kumar gopal on Mar 4, 2008 1:09 PM
Maybe you are looking for
-
Adobe Bridge Doesn't show all files in a folder
I am using a MacPro with 8GB of Ram and 1TB HD running Mountain Lion. I have a network folder that has about 320 GB of files in it. This is spread out between about 255 different Illustrator files. When I view them in Finder, all the files show up
-
I want my file adapter to poll multiple locations in soa 10g
Hi All I had a requirement that "I want my file adapter to poll multiple locations in soa 10g".I came to know that in soa 11g it is possible. I want this to be done in soa 10g. plz help me. thanks, krishna
-
Query on Forms (10g)
Hi All, I have simple find form, this has two fields ENAME and DEPTNO, Here a single employee is attached to multiple departments, so based on the ENAME the LOV of the DEPTNO will be made available, and user will choose the appropriate value of the r
-
Is there any program that will allow me to embed a video file into a PDF?
-
Css and images are not loading in SharePoint website
Scenario:- System Configuration- Windows server 2008 R2, SharePoint Designer 2010, SP server 2010 all are in Local Machine. 1. I had reset the Windows server 2008 R2 password and opened SharePoint Designer 2010. 2. Opened previous working site and fo