Sap connection parameters
hi Nagaraju,
Here u given program ,,, in that application server host name i cant understand
which host name that is sap server host name or i installed
server in my local machine that host name ?
our administator creating Sap user for me......there i get this totol
information ? or any thing else...........
just post it......................with details
mConnection = JCO.createClient("500", // SAP client
"username", // userid
"password", // password
null, // language
"server name", // application server host name
"00"); // system number
thanks,
tony
Hi Tony,
In case you want to call BAPI and send IDOC to the host, you need:
ClientNumber
UserName
Password
Language
Application Sever Host ( could be the gateway host)
SystemNumber
For Idoc,
ReceiverPartnerNumber
ReceiverPartnerType
ReceiverPartnerFunction
SenderPartnerNumber
SenderPartnerType
SenderPartnerFunction
the version of idoc the R3 supports.
Wish it helps.
Dennis
Similar Messages
-
File has to pass through FTPS connection.. Connection parameters?
Hi,
I want to transfer the file through FTPS connection. Partner side provided the following details as connection parameters.
- IP : 129.32.169.140
- POrt: 990
User name
Password
PASV mode
SSL Direct, OpenSSL,SSL Listing, SSL Transfers.
Kindly let me know what are all the parameters I need to pass in Receiver file adapter.
FTP Connection Parameters:
Server
Port
Data connection: Passive
Connection Security: FTPS for control connection or FTPS for control and Data connection.???
Command Order : ?????
Please let me know what are the security and command order parameters I need to use in Receiver file adapter.
They didn't provide any certificates.
Thanks
Deepthi.Hi Rajesh,
The message is not even failing.. It is in the status of "Delivering". The below are the logs from adapter and Messaging system.
File Adapter Log:
Success Message successfully received by messaging system. Profile: XI URL: http://xi-dev.intranet.XI.com.au:50200/MessagingSystem/receive/AFW/XI Credential (User): PIISUSER
Success Using connection File_http://sap.com/xi/XI/System. Trying to put the message into the receive queue.
Success Message successfully put into the queue.
Success The message was successfully retrieved from the receive queue.
messaging system log:
Message ID 44b756da-d9bd-42e2-3136-e34d75adfe03
Message Type Asynchronously Received Message (RECEIVE)
From Service Name: BS_1
To Service Name: BS2
Action Namespace http://XI.com/SAP_PI/ControlData Name: BYPASS
Connection Name File_http://sap.com/xi/XI/System
Status Delivering
Error Category
Error Code
Profile XI
Transport HTTP
Delivery Semantics Exactly Once
Times Failed 0
Number of Retries 3
Sent / Received 09/09/2009 11:22:52
Transmitted / Delivered 09/09/2009 11:22:53
Next Delivery 09/09/2009 11:22:53
Persist Until 10/09/2009 11:22:52
Valid Until 01/01/1970 10:00:00
Retry Interval 5 Minutes
Address http://xi-dev.intranet.XI.com.au:50200/MessagingSystem/receive/AFW/XI
Transport Headers authorization=Basic UElJU1VTRVI6dDFhbTRyaWE= Content-Length=3010 accept-encoding=gzip sap-xi-messageid=44B756DAD9BD42E23136E34D75ADFE03 content-length=3024 host=xi-dev.intranet.XI.com.au:50200 user-agent=SAP Web Application Server (1.0;700) content-type=multipart/related;boundary=SAP_4AA4E14330050131E10080000A722149_END;type="text/xml";start="" HTTP=POST soapaction="http://sap.com/xi/XI/Message/30"
Principal Propagation -
Assignment of BEx 7 connection parameters in unicode system
Hi, experts!
We faced the following problem:
There is a BEx 7 workbook on BI-server. We use this WB to save data in DSO with remote function module. To call the this FM, in VBA-function we create an object r3 like u201CSAP.Functionsu201D.This object gets BEx Analyzeru2019s current connection parameters. At that moment the following error raises: u201CRun-time error u201861704u2019: Internal application erroru201D.
Our BI-system is Unicode system. In all Non-unicode BI-systems, that we tested, connection parameters are sending successfully. However, if we create "SAP.Functions.Unicode" object, then there is another error: "Run-time error '-2147352568 (80020008)': Bad variant type".
When we use the similar functions in BEx 3.5, assignment of connection parameters is fine with "SAP.Functions" object both in Unicode and non-unicode systems... Using "SAP.Functions.Unicode" does not lead to error, but the connection is not happening in this case.
Could you advice what settings should be done in BI-system or how can we adjust our function to solve connection problen
Functions we use to assign connection in BEx7:
Sub testconnection() u2018non-unicode
Dim r3, MyFunc As Object
Dim RES_DATA_TBL As Object
Dim ConnObject As Object
Set ConnObject = Run("BEXAnalyzer.XLA!sapBEXgetConnection")
Set r3 = CreateObject("SAP.Functions")
r3.Connection = ConnObject ' here this error raises: "Run-time error '61704': u2018Internal application error".
Set MyFunc = r3.Add("Z_UD_DATA_ODS")
Set RES_DATA_TBL = MyFunc.Tables("RES_DATA")
Result = MyFunc.Call
End Sub
Sub testconnection_UC() u2018unicode
Dim r3, MyFunc As Object
Dim RES_DATA_TBL As Object
Dim ConnObject As Object
Set ConnObject = Run("BEXAnalyzer.XLA!sapBEXgetConnection")
Set r3 = CreateObject("SAP.Functions.Unicode")
r3.Connection = ConnObject ' here this error raises: "Run-time error '- 2147352568 (80020008)': Bad variant type"
Set MyFunc = r3.Add("Z_UD_DATA_ODS")
Set RES_DATA_TBL = MyFunc.Tables("RES_DATA")
Result = MyFunc.Call
End Sub
Thanks for your replies,
Best wishes,
Sergey Musatov.
Edited by: Sergey Musatov on Nov 23, 2011 7:05 AMHi, gurus!
Don't you have any ideas on this problem? It is not solved yet...
We'll be grateful if you care.
Thanks in advance.
Best wishes,
Sergey Musatov. -
SQL SERVER EXPRESS DATABASE CONNECTION Parameters
Hi,
I am using the Database called " SQL Server Express"
Can you give idea about connection parameters in JDBC Sender and JDBC Receiver.
Connection Parameters are:
JDBC Driver:
Connection:
Advance Thanks,
SateeshHi Sateesh,
Basis persons are configure the drivers in XI system to u r database.Once installation is complted u have check the following location whether drvers are install succesfull or not.
1)The location is D:usrsapD31DVEBMGS00SDM
ootoriginsap.comcom.sap.aii.af.jmsproviderlibSAP AG37.0014.20071029095337.0000aii_af_jmsproviderlib.sda.zip
In this ZIP file u have to check Sqljdbc.jar whether installed or not.
2)Check in VISUAL Adminstrator.Select JDBC adapter->Drivers->Sqljdbc.jar
Please check this url for DRivers configuartion
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/60237e74-ef19-2b10-5a9b-b35cc6a28e83
3)Configuer the JDBC sender/Reciever Adapter.
JDBC Driver:com.microsoft.sqlserver.jdbc.SQLServerDriver
CONNECTION:jdbc:sqlserver://IP ADDRESS:PORT;Database=HOST NAME;
USER NAME:sa
PWD:XXXXXXXx
Thanks
Ravi -
Receiver SOAP Adapter - Connection Parameters
I have a scenario where I need to pass some data (authentication data) to a web service.
I tried using Connection Parameters - Connection User Authentication, and it seems it does not go through SOAP HEADER.
Does anybody know I can pass data to a Web Service without using payload??
Actually I need to pass information set up in communication channel like user authentication.
Thanks and Regards,
Fabio RamosHi Carlos,
The link(pdf) is opening fine.... Just try again.
It actully explains your need...
Also go through this info below and see if it helps:
1) Check the wsdl message,mapped message (input to the SOAP Adapter)
2) Check the Target URL in the SOAP Reciever Adapter. Also SOAP Receiver Adapter Parameters -
http://help.sap.com/saphelp_nw2004s/helpdata/en/29/5bd93f130f9215e10000000a155106/frameset.htm
3) Try to test the WebService -
/people/siva.maranani/blog/2005/03/01/testing-xi-exposed-web-services
4) Also check these links -
Receiver SOAP Adapter Error: invalid content type for SOAP: TEXT/HTML
Problems with soap adapter?
You need to mention the Target URL i.e URL of the WSDL file.
Regards,
Abhy
Message was edited by: Abhy Thomas -
SAP Connectivity in Netweaver developer studio...
Hi everyone,
I am trying to use the feature of "SAP connectivity" in the NDS.
I created a proxy for a simple RFC.
What I am trying to do is to call the RFC from a Java code.
Here is what I wrote :
try {
Z_Rfc_Ws_Test2_Input input = new Z_Rfc_Ws_Test2_Input();
input.setInput("Salut la compagnie");
SAPProxy_PortType proxy = new SAPProxy_PortType();
Z_Rfc_Ws_Test2_Output output = proxy.z_Rfc_Ws_Test2(input);
} catch (Exception e) {
e.printStackTrace();
I get an exception because I didn't specify the username and its credentials. Of course, I have to specify the server and the client number.
Here is the exception :
com.sap.aii.proxy.framework.core.BaseProxyException: JCoClient connection missing
at com.sap.aii.proxy.framework.core.AbstractProxy.send$(AbstractProxy.java:150)
at com.proxy.SAPProxy_PortType.z_Rfc_Ws_Test2(SAPProxy_PortType.java:16)
at Client.main(Client.java:45)
Can someone help with this issue ?
Thanks in advance.Hi David,
In your below code the JCO configurations is missing I mean ur JCO client. Try some thing like this which is self explanatory.
(ur package name here if u have any)
import com.sap.mw.jco.*;
public class Jco {
public static void main(String[] args) {
// Necessary fields for Connection
JCO.Client myConnection = null;
JCO.Repository myRepository = null;
JCO.Function myFunction = null;
JCO.Field myHostName = null;
// Establishing a connection
try{
// Defining the connection parameters
myConnection = JCO.createClient("Client","User","Password","Lang","ServerIP","Sys Number");
myConnection.connect();
// Creating a repository
myRepository = new JCO.Repository(attribute,myConnection);
}catch(Exception e){
System.out.println(e.toString());
System.exit(1);
// Finally closing the connection
finally{
myConnection.disconnect(); -
Hi All,
I am developing an EJB wherein i make a connection to SAP system. My requirement is where should i save these connections parameters.
1. i dont want to hardcode them.
2. If the user wants to change the connection parameters in future he/she should be able to do that without any problems.
Is there some way i can store the values in the Configuartion Adapter service in VA and access them from EJB.
Please give your suggestions.
Regards
SidharthHi,
Put the connections parameters in a property file and import this file where ever necessary.Hence it will reduce time if any modifications required by others.Only the property file has to be modified once.
Regards,
Guru -
How can I change Connection parameters when promoting to Production ???
Hi Everyone !
Do you know how can I change Connection Framework parameters in a Webdynpro Application? The app was deployed in TEST, now I want to move it to Production...
In my application I am using Connection Framework to connecto to a BAPI.
The connection was created using
SAP Connectivity > SAP Enterprise Connector.
I provided connection parameters for a TEST environment (Host name, system number, client, logon name...).
I deployed the application in TEST, but how can I change these parameters prior to promote it to Production? Were and how do I fill the new parameter values?
Many Thanks,
Silvio HirashikiHi Silvio,
AFAIK, you need to provide JCO connection to proxy port type and all connection specific data is there. (http://help.sap.com/saphelp_nw04/helpdata/en/ed/897483ea5011d6b2e800508b6b8a93/frameset.htm). You can use configuration files for this or RFC destination.
You only need to regenerate proxy when interfaces of functional modules are dufferent for TEST and Production.
BTW, why are you using SAP EC instead of adaptive RFC model in WD application?
Best regards, Maksim Rashchynski. -
Add new System to SAP connection adapter - HAL
Hi. I would like to add a new System ID to Application Link's SAP connection adapter (HAL).
I mean: we have been changing SAP environment (i.e System ID) and I would like to add a new System ID in the list; however, as I create a new SAP connection, only a list of old System ID is displayed.
Even if I create and test correctly the new connection, the new System ID is still not displayed. Any advice?
Thanks a lot in advanceYou have recieved or are starting SAP Logon pad and not SAP Logon.
C:\Program Files\SAP\FrontEnd\SAPgui\
C:\Program Files\SAP\SapSetup\setup\SAL\
saplgpad.*
saplogon.*
Regards,
/Wim
PS, to SAP developers: there are multiple companies frowning upon the decision to display the grayed-out buttons in saplgpad. I would hate to roll-out 720 with a in-house launcher for saplgpad that hides the buttons using some dirty hack. -
Com.sap.connectivity.cs.extended.connectionserver error in webi
Hi
I am getting the below error in webi.
com.sap.connectivity.cs.extended.connectionserver error in webi while running the report.
Please let us know ASAP.We have raised SAP note for this and we got the solution.
Create new APS server and
add the following required services to the APS
"DSL Bridge Service"
"Adaptive Connectivity Service"
SAP Note for this
0001775372 Error csEx WIS 00000 when trying to create a web intelligence document
Regards
Gaurav Mang. -
List of items waiting in the SAP connect component in SOST transction
Hi All,
In SOST transction we can see the list of items waiting in the SAP connect component
I want to get this list of items
Could you please tell me how I can get this list?
Thanks in Advance
SnehalHi All,
Thanks for your reply.
The tables SOSC and SOOD are used to find the list of waiting objects to send.
My problem is , I have to delete some specific entries from this list through code so that these entries will not send to approver.
Is it sufficient to delete entry of seletced objtects from table SOSC?
Also could you please tell me about other tables like SOST?
Thanks in Advance
Snehal -
Setting connection parameters in iOS-Corebluetooth Framework
Hi Team,
According to the Core Bluetooth Framework Reference there is an option argument on the CBCentralManager.connectPeripheral method, but there is no documentation that describes it other than to mention that its "A dictionary to customize the behavior of the connection.".
I'm assuming that this is how the caller would specify the initial connection interval and slave latency. Please provide the dictionary details(i.e key of the dictionary).
Please suggest me, how to give the key and value for the connection parameters dictionary(mentioned above).
Thanks and Regards
-Ibrahim SulaimanThanks for the answer. I am sure a trigger could be done but would be a pain for a few deployment reasons.
In my searching seems like the ODBC setting work much like the fat JDBC. So I would guess I will need some VBA script in Access. But I am not sure VBA can drill down to the driver level.
Any thought on a VBA script a user could run to set the params then they could do their ad-hoc stuff? -
Mail Adapter connection parameters
Hi
I have done the following scenario.
/people/michal.krawczyk2/blog/2005/03/07/mail-adapter-xi--how-to-implement-dynamic-mail-address
The source file is picked and in SXMB_MONI it shows checkered flag but not reaching the target.
what should I give in connection parameters for Mail Server incase if I want to sent my file to gmail/yahoo mail
Thanks,
srinivasSrinivas,
Your receipient email address (gmail/yahoo) has nothing to do with connection parameters.
Con params in adapter refer to a mail server to connect and send email to the given receipient email addres...this mail server is needed coz XI doesnt have mail server built in...it uses external mail servers
hope its clear now
praveen -
Dynamic passing database connection parameters
I have a situation which is two different source of client but they have the same functions, so have the same screens. But they maintain two separate database even with same table structure/tablename (I inherited this and cann't change it). I am thinking I should have one reusable Entity Object/View Object. But when I create entity object, I create database connection first which has the database name/password/sid etc. My question is that is it possible the database connection parameters(name,password,host,sid etc) can reside in configuration files or something like that. somewhere in the java code, when I create a instance of view object/entity object, I find out which type of client is and so by passing the correct connection string, then the correct database entity object will be created. Is that something feasiable? Do I make myself clear? Please help!
Type of Client 1 type of Client 2
Same of ADF face Screen
|
|
Same VIew Object/Entity Object
|
|
| |
database for Client1 database for client2 but those two database have the same table, lets say Employee with same columns, data types.... etcHi,
This [url http://jobinesh.blogspot.com/2011/04/modifying-application-modules-jdbc.html]blog would be helpful.
-Arun -
Trying to evaluate VBScript to SAP connection
Hello,
I'm in need of some help. I have no experience with SAP, I'm currently working with VBScript. The company I work for uses SAP and they deployed a module to track parts being received. Unfortunately, the module was designed to receive one part at a time. Some of the locations will be receiving dozens of parts. I have been tasked with finding a way to provide a web page (vbscript) where the user can receive the parts in a batch. In order to accomplish this I need to be able to get data from SAP and then write data back to SAP.
Is it possible to not only read, but to write data back to SAP using VBScript? I want to implement a good solution and I need to implement a solution that the SAP administrators will be ok with.
I really could use some help finding a good starting point to help me understand what I need. If I can't do what I need in VBScript then I need to find a third-party tool that will let me interface with SAP.
Thank you,
BradBrad,
VBScript can read and write SAP data. Without knowing the details of exactly
what you are trying to do I'll post a little code that you may find useful:
Dim fc, sapConn, conn
Set fc = CreateObject("SAP.Functions") ' function control
Set sapConn = CreateObject("SAP.LogonControl.1") ' sap connection object
Set conn = sapConn.NewConnection() ' sap connection object
conn.System = "yoursystem" ' test, prod, development, whatever
conn.SystemNumber = "99" ' numeric
conn.ApplicationServer = "your.application.server" ' the machine name or ip
conn.MessageServer = "your.message.server" ' the machine name or ip
conn.client = 999 ' the client number
conn.user = "user_name" ' your rfc enabled user name
conn.Password = "password" ' the above named account password
Dim retcd
retcd = conn.Logon(0, True) ' establish the connection
If (retcd = False) Then
WScript.Echo "SAP Logon Failed."
Else
' do something useful
end if
These guys have some pretty useful coding examples too:
<a href="http://sapass.metro.client.jp/Sap_Active_X/index.htm">Useful Examples for vbscript and sap activex</a>
Please note, most of the examples on the above web site use VBA and not
vbscript. So, leave out the As ... part of every Dim statement for pure vbscript.
Here is an SAP URL on the subject you may find useful:
<a href="http://help.sap.com/saphelp_46c/helpdata/en/39/7e11e0ac6011d189c60000e829fbbd/frameset.htm">SAP RFC BAPI Interfaces</a>
Good luck!
Ray
Maybe you are looking for
-
I have a kinda particular question about the way my photos are shown on my site. I am creating a site as an online art gallery and I want each picture to pop-up in it's own window. I have seen tdizzle's question and will try that, but my needs go a l
-
Status of Wiki and Forum updates/migration/changes
Hey all, I've spent about two hours e-mailing and PMing various people interested in helping out with various wiki and forum tasks. This thread is an announcement of the current status, with the intent of getting everyone up to date. Its also an invi
-
Orignal Airport card with WPA security
I have two machines as follows: iMac G5, OS 10.4.6 with Airport Extreme iMac G4, OS 10.3.9 with original Airport card. Airport Express connected to cable modem (firmware v6.2) WEP 128 security. When I originally set up my wireless network, the G4 wou
-
The powerbook g4 17inch display
HOW DO I CONNECT A IBMTHINKPAD AS A SECOND MONITOR ONTO MY 1.67 POWERBOOK. ALSO WHAT SETTINGS DO I DO ON THE IBM AND APPLE 17INCH 1.67 POWERBOOK
-
11g Upgrade Method Doubt....
Hi, DB Version: 11.1.0.6 O/S : Win XP Prof I am reading 11g docs.In the Upgrade guide, there are quite a number of ways listed for the upgrade.Please look here. The listed ways are (1)Database Upgrade Assistant (DBUA) (2)Manual upgrade using SQL scri