Integration with Remedy ARS to SAP using web services
Hi!
There have been made a wsdl file from a sap babi, this file is loaded into remedy and the fields are mapped (input and output). When doing a search from the remedy using the wsdl file, we get the error "No selection criteria specified", even if there are input search parameters sent.
Is there a way on the SAP side, to see what remedy is sending over and maybe try to find out if a field in the wsdl must be filled out or not. We use the BABI_EMPLOYEE_GET which is made into a wsdl. This has been tried local on a j2ee for sap and the wsdl worked there.
-RB
you can set a http (exteranl ) break point inside the BAPI and then call the WS (the user executing and the client needs to be the same)
Similar Messages
-
How to integrate Microsoft and SAP using Web Services?
Hi All
How to integrate Microsoft and SAP using Web Services? If any one has document please send it to me. My id is [email protected]... Please
Help me
Best Regards
Ravi ShankarHi Ravi,
This is for Customizing Email and Other Web Services.
Create addresses
The address maintenance of R/3 users is carried out either via the R/3 User Maintenance (Transaction SU01) or the Private office settings (Transaction SO12):
Address --> Other communication...
Selection of the required communication service.
Enter address.
Copy or save.
b) Configuration of SAPconnect (Transaction SCOT)
Set communication method
4.0 + 4.5: Goto --> Customizing --> Communication methods
as of 4.6: Settings --> Communication methods
Set the method of the required communication service to the value 'SAPCONNECT' and save the setting.
Customized the same for Internet mailing.
C) If you want to Transfer Table Structure Values from SAP R/3 to Web Services then
1. Create BAPI and Transfer whichever things you want.(Note: The Structure
of BAPI should be similar to Web Structure (Datatypes).
2. Create a BDC and Schedule it in the Background.
Hope it helps you, Awaiting for the Reward Points.
Thanks
Subrato Chowdhury -
Integrating FIM with SAP using web services connector
Hi
I am implementing the FIM web services connector to integrate with SAP. The MS connector config guide for SAP documentation seems to me missing some content or at least I think it might be written for an earlier version of
SAP than the version we are working with(different screenshots, options, etc). The version of SAP we have implemented is EHP6 for SAP ERP6 which I believe translates to ECC6.
SAP web services have been configured and FIM performs successful discovery of the wsdl endpoint and BAPI operations as expected. Our issue is that FIM fails to run a full import. From the digging around web service config and error logs two observations comes
out:
1. FIM Full Import workflow does not render correctly through the web service configuration tool and complains of a duplicate attribute "xml:space is a duplicate attribute on line on line 424 on position 103". Review of the wsconfig generated by the
webservice config tool points to an variable supplied to a construct the query to a BAPI of HR infotype 0006. Extract below:
...<InArgument x:TypeArguments="d:BAPIP0006L" xml:space="preserve">[If(Not IsNothing(addressInfo) AndAlso Not IsNothing(addressInfo.item), addressInfo.item, Enumerable.Empty(Of BAPIP0006L)()).
OrderByDescending(Function(a) DateTime.ParseExact(a.VALIDBEGIN, dataSourceDateFormatValue, Nothing)).
ThenByDescending(Function(a) Integer.Parse(a.RECORDNR)).FirstOrDefault()]</InArgument>...
I can only guess that it means the query should keep the spaces within the string it passes to SAP but this is where my understanding stops.
2. SAP returns errors about not implementing a BAPI EMPLOYEE_GETDATA function which is not part of the exposed BAPI operations. Well the obvious solution to this would be expose this missing operation (which is undocumented in MS config guide) however this
BAPI is a core requirement to retrieve person information. I would be hugely surprised if this operation was not factored into the config. This makes me think that to understand this better I need to resolve issue 1 first and get the rendering sorted first.
Has anyone come across the above issues with a recent implementation with this connector? Or help point me in the right direction?
any help would be greatly appreciated!
thanks!!Hi Joe,
you most probably missed the sentence "Add the required BAPI’s in the function group and select those required BAPI’s and click continue." in the "Connector for SAP.docx" document on page 8. In other words your webservice does not provide the required
BAPIs.
In the "DefaultSAPECC_6.wsconfig" the workflows for import and export require specific BAPIs.
Also make sure that your Service Definition has got the same name as in the documentation and the workflow template.
I was fighting with this for the last 4 days but in the end got it working.
Hope this helps
Chris -
Technical insight for integration with Remedy?!
Does anyone got technical insight of how IDM is integrated with Remedy? Does it use e.g. Remedy EIE?
Any details would be highly appriciated.
//Lyou can set a http (exteranl ) break point inside the BAPI and then call the WS (the user executing and the client needs to be the same)
-
Example using an SAP RFC (web service)
Is there a good example out there for using an SAP RFC (web service) with Xcelsius 2008? I cannot seem to get it to work. I am trying to use the SAP sample RFC called BAPI_FLIGHT_GETLIST. If someone can get an example to work using this BAPI, I would love to see it.
Thanks,
Kennethhi sap guys.. can ne 1 send me the complete documents on tc- st01.. system trace... i'll be thankful to you. Iam new to this forums can i dont know how to posta queston... just iam posting this queston in one of the queston's reply. Please help me out abt TC- ST01 and how to post a queston in this forums..
Thanks in Advance.
Regards,
Younus -
Siebel integration using Web Service
Hi,
We are in the process of integrating Siebel with external systems using web service. We also use the Virtual business component with customer business service. After web service call, it return Siebel property set in format of XML, we need parse the XML (property set) to populate data into VBC fields in order to display data in user interface.
It seems that writing custom XML parsing script is not very desired as so many fields are involved in the integration object. We just wondering if there is any other better ways to populate data into VBC with out using escript since the integration object created by importing WSDL already listed all integration fields. Can data returned by Web service call directly populated the VBC fields through the integration object?
Thanks
SteveEffectively what you're looking at doing here is taking your external content (from the Web Service) and then converting that into the very specific Property Set format that a VBC requires.
The EAI Data Transformation Engine is your friend here as it should let you perform the (hopefully simple) transformation between the two, although you'll also need to define the property set as an Integration Object (an External One to keep the additional envelopes created to a minimum) and then after the DTE has been called take a careful look to make sure everything is the way that it should be.
Put all these parts into a workflow itself, and use the workflow to call the external web service and that should cut to a minimum the code you'll need in the VBC.
Graham -
Novice Help with Creating Opportunities Using Web Services 2.0
Hello,
I recently took over our CRM integration services and was asked to push some data via our custom portal.
We use our portal to automate the creation of new opportunities in our Oracle CRM System.
The code was developed using Web Services 1.0
I was recently asked to add data to the "Parent Opportunity" field upon creation of a new Opportunity. Now I may be mistaken and if I am I will be very pleased, but it seems to me this field isn't available in 1.0
If I am mistaken and there IS a way to push data to the "parent opportunity" field using 1.0 Please completely disregard what I have typed below.
Upon looking at the WSLD for 2.0 I see "ParentoptyID" as an available field.
I took it upon myself to try and move this process over to 2.0 but I have hit a few major stumbling blocks. Here is the working code for 1.0:
Public Function CRMAddFinalShipmentOpportunity2(ByVal Session As Session, ByVal Subject As String, ByVal Type As String, ByVal Priority As String, ByVal Account As String, ByVal DueDate As String, ByVal Status As String, ByVal Description As String, ByVal AnnBudget As String, ByVal oppType As String, ByVal partNumber As String, ByVal currency As String, ByVal Territory As String, ByVal Owner As String, ByVal Opp As String) As String
Dim opportunity As nkkcrm.SiebelOpportunity20.Opportunity = New nkkcrm.SiebelOpportunity20.Opportunity
Dim input As New nkkcrm.SiebelOpportunity20.OpportunityInsert_Input
Dim results As New nkkcrm.SiebelOpportunity20.OpportunityInsert_Output
Dim strPriority As String = "1-High,2-Medium,3-Low"
Dim strType As String = "Call,Correspondence,Email,Event,Final Shipment - Book,Final Shipment - Special,Lead Follow-Up,Meeting,Opportunity Follow-Up,Other,Presentation,Quote Follow-Up,Sample Follow-Up,Service Request Follow-Up"
Dim strStatus As String = "Completed,Deferred,Waiting For Someone Else,In Progress,Not Started,Assigned,In Call"
CRMAddFinalShipmentOpportunity2 = ""
' Validate Data (CRM will validate if owner is valid)
If Owner = "" Then
AddError("Error: Missing Owner")
Exit Function
End If
If Subject = "" Then
AddError("Error: Missing Subject")
Exit Function
End If
If strType.IndexOf(Type) < 0 Then
AddError("Error: Invalid or Missing Type")
Exit Function
End If
If strStatus.IndexOf(Status) < 0 Then
AddError("Error: Invalid or Missing Status")
Exit Function
End If
If strPriority.IndexOf(Priority) < 0 Then
AddError("Error: Invalid or Missing Priority")
Exit Function
End If
If Not IsDate(DueDate) Then
AddError("Error: Invalid or Missing DueDate")
Exit Function
End If
Try
opportunity.Url = Session.GetURL()
opportunity.CookieContainer = Session.GetCookieContainer()
'Create the opportunity
Dim tmpAry(0) As nkkcrm.SiebelOpportunity20.Opportunity
input.ListOfOpportunity(0) = tmpAry
input.ListOfOpportunity.SetValue(New nkkcrm.SiebelOpportunity20.Opportunity, 0)
'Assign the opportunity Properties
input.ListOfOpportunity(0).Owner = Owner
input.ListOfOpportunity(0).OpportunityName = Subject
input.ListOfOpportunity(0).AccountName = Account
input.ListOfOpportunity(0).SalesStage = "Rebuy"
input.ListOfOpportunity(0).CloseDate = Date.Today
input.ListOfOpportunity(0).Territory = Territory
input.ListOfOpportunity(0).stProject_Name = "FINAL SHIPMENT REBUY"
input.ListOfOpportunity(0).SourceCampaign = "Rebuy"
input.ListOfOpportunity(0).OpportunityType = oppType
input.ListOfOpportunity(0).Revenue = AnnBudget
input.ListOfOpportunity(0).Description = Description
input.ListOfOpportunity(0).bRebuy = "Y"
input.ListOfOpportunity(0).ProductInterest = partNumber
input.ListOfOpportunity(0).plCurrency_Type = currency
'input.ListOfOpportunity(0).ParentoptyId = Opp
'insert the opportunity
results = opportunity.OpportunityInsert(input)
If results.ListOfOpportunity.Length > 0 Then
CRMAddFinalShipmentOpportunity2 = results.ListOfOpportunity(0).OpportunityId
End If
Catch webex As WebException
AddError(webex.Message)
Catch ex As Exception
AddError(ex.Message)
End Try
End Function
What changes might I need to make in order to make this function correctly using Web Services 2.0?
Currently I get the following errors- For every line of input.ListOfOpportunity(0) I get: '..cannot be indexed because it has no default property.'
Another example of an issue I'm running into is: 'SetValue' is not a member of 'nkkcrm.SiebelOpportunity20.ListOfOpportunityData'We were able to make this work by re-modeling my code after a code sample I found that creates new Activities.
Here's my code in case it helps someone scanning these forums in the future (Disregard the Opportunity entries that are missing when you compare this to my earlier code- Those weren't relevant to making this work or not work, I simply am not using them now.):
Public Function CRMAddFinalShipmentOpportunity2(ByVal Session As Session, ByVal Owner As String, ByVal Subject As String, ByVal Type As String, ByVal Priority As String, ByVal DueDate As String, ByVal Status As String, ByVal Description As String, ByVal POValue As String, ByVal oppType As String, ByVal partNumber As String, ByVal currency As String, ByVal servername As String, ByVal pass As String, ByVal usrname As String) As String
'Get SessionID
Dim sessionId As String
sessionId = getSessionLogin(usrname, pass, servername)
Dim Opportunity As nkkcrm.SiebelOpportunity20.Opportunity = New nkkcrm.SiebelOpportunity20.Opportunity
Dim OppInput As New nkkcrm.SiebelOpportunity20.OpportunityInsert_Input
Dim OppOutput As New nkkcrm.SiebelOpportunity20.OpportunityInsert_Output
Dim strPriority As String = "1-High,2-Medium,3-Low"
Dim strType As String = "Call,Correspondence,Email,Event,Final Shipment - Book,Final Shipment - Special,Lead Follow-Up,Meeting,Opportunity Follow-Up,Other,Presentation,Quote Follow-Up,Sample Follow-Up,Service Request Follow-Up"
Dim strStatus As String = "Completed,Deferred,Waiting For Someone Else,In Progress,Not Started,Assigned,In Call"
'Validate Data (CRM will validate if owner is valid)
If Owner = "" Then
AddError("Error: Missing Owner")
Exit Function
End If
If Subject = "" Then
AddError("Error: Missing Subject")
Exit Function
End If
If strType.IndexOf(Type) < 0 Then
AddError("Error: Invalid or Missing Type")
Exit Function
End If
If strStatus.IndexOf(Status) < 0 Then
AddError("Error: Invalid or Missing Status")
Exit Function
End If
If strPriority.IndexOf(Priority) < 0 Then
AddError("Error: Invalid or Missing Priority")
Exit Function
End If
If Not IsDate(DueDate) Then
AddError("Error: Invalid or Missing DueDate")
Exit Function
End If
'Instantiate OpportunityData
Dim objListOfOpportunity As nkkcrm.SiebelOpportunity20.ListOfOpportunityData
Dim objOpportunity As nkkcrm.SiebelOpportunity20.OpportunityData()
Try
objOpportunity = New nkkcrm.SiebelOpportunity20.OpportunityData(0) {}
objListOfOpportunity = New nkkcrm.SiebelOpportunity20.ListOfOpportunityData()
objOpportunity(0) = New nkkcrm.SiebelOpportunity20.OpportunityData
'Assign the opportunity Properties
objOpportunity(0).Owner = Owner
objOpportunity(0).OpportunityName = Subject
objOpportunity(0).AccountName = "UNKNOWN"
objOpportunity(0).SalesStage = "Rebuy"
objOpportunity(0).CloseDate = Date.Today
objOpportunity(0).Territory = "North America"
objOpportunity(0).stProject_Name = "FINAL SHIPMENT REBUY"
objOpportunity(0).SourceCampaign = "Rebuy"
objOpportunity(0).OpportunityType = oppType
objOpportunity(0).Revenue = POValue
objOpportunity(0).Description = Description
objOpportunity(0).bRebuy = True
objOpportunity(0).ProductInterest = partNumber
objOpportunity(0).plCurrency_Type = currency
'Connect the Opportunity to ListOfOpportunity
objListOfOpportunity.Opportunity = objOpportunity
'Connect ListofOpportunity to Input Parameter
OppInput.ListOfOpportunity = objListOfOpportunity
Opportunity.Url = servername & "/Services/Integration;jsessionid=" & sessionId
'Opportunity.CookieContainer = Session.GetCookieContainer()
Opportunity.OpportunityInsert(OppInput)
Return "success"
Catch webex As WebException
AddError(webex.Message)
Catch ex As Exception
AddError(ex.Message)
End Try
End Function
Public Function getSessionLogin(ByVal usrname As String, ByVal pass As String, ByVal servername As String)
Dim loginurl As String = servername & "/Services/Integration?command=login"
'MessageBox.Show(loginurl);
Dim req As HttpWebRequest = DirectCast(WebRequest.Create(loginurl), HttpWebRequest)
' username and password are passed as HTTP headers
req.Headers.Add("UserName", usrname)
req.Headers.Add("Password", pass)
' cookie container has to be added to request in order to
' retrieve the cookie from the response.
Dim cookie As Cookie
req.CookieContainer = New CookieContainer()
' make the HTTP callby
Dim resp As HttpWebResponse = DirectCast(req.GetResponse(), HttpWebResponse)
If resp.StatusCode = System.Net.HttpStatusCode.OK Then
' store cookie for later...
cookie = resp.Cookies("JSESSIONID")
If cookie Is Nothing Then
Return "invalid session"
End If
Return cookie.Value
Else
Return "invalid session"
End If
End Function -
Using web services with flash cs3 and actionscript 3.0
Hi,
I want to use web services under flash cs 3 and by using as
3.0.
It was possible with as 2.0 to do it easily thanks to the
webservice Connector.
But I can't find how to use web services under flash and as
3.0.
I thought web services took part of the many improvements
flash cs 3.0 contain, but obviously it does not:(
Can anybody help me to use webservices with flash cs 3 and as
3.0?
Thanks in advance,
PascalDark Armor, You mentioned the book Adobe Flash CS4 Professional Classroom in a Book, which I have. I could not find anything in there. Did you mean to say Actionscript 3.0 for Adobe Flash CS4 Professional? I do have that book and it looks like there is information there. Just wanting to make sure that you meant what you said. Thanks!
-
Issue using web-service with forms9i
using web-service with forms9i
Hi
I have a setup of oracle9ias release 2 on solaris machine. I have made a web-service which is deployed on nt machine on weblogic server. I have made a call from my form (forms9i) to this web-service. When i try to use that web-service after deploying my form on solaris, it initializes the web-service and performs the action successfully. Now the problem is that my form also makes a call to report server to generate a report. The problem is when i initialize the web-service and uses its function it works but after that making a call to report server will fail. Also if i make a call to report server first, it generates the report and then i make call to the web-service, then that web-service fails to run. And in both cases, the forms application stops saying session has aborted.
Why cant i make call to both the things in one session of application? What could be the reason for that? Need help urgently.Sorry,
I didn't know that this was necessary to find a solution.
Here are the definition out of the WSDL File:
<xsd:complexType name="ZS_EQART_RANGE_LINE">
<xsd:sequence>
<xsd:element name="SIGN" type="tns:char1"/>
<xsd:element name="OPTION" type="tns:char2"/>
<xsd:element name="LOW" type="tns:char10"/>
<xsd:element name="HIGH" type="tns:char10"/>
</xsd:sequence>
</xsd:complexType>
Thanks for Help
Ron -
How to use web services with Dynamic url behaviour
Hi,
IView created by me currently uses some web services whose url behavior is static but i want to give a dynamic url behavior. i.e. i want to use the url which user provides. So here are my questions
1. How I shall assign the url supplied by the user to IView?
2. If I want to set some config variables during runtimes how I shall do it?
Thanks in advance,
VishveshHi,
1. I'm guessing you mean the webservice's url the user provides is pointing to an identical webservice to what you used to create your proxy... otherwise I think it will be very hard to do (I can imagine creating the proxies using the wsdl tool in run time or using code dome.. but that can't be what you want, right?).
So if what you wanted is to use the same web service with a different url, then the web service's proxy class you created has API for doing this in code! (it inherits it)
2. you can't, simply since the portal application doesn't ever use the config file... it isn't even deployed to the portal... so dynamic properties are "out of the question" here, sorry... see 1 again
Regards,
Ofer -
How to use Google Tool Bar using web Services in SAP Portal
Hi,
I created a HTML Page in SAP Portal project. I want to incorporate <b>Google Toolbar using web services in my HTML Page.</b>
Please suggest/ tutorial/ codes how to implement this ?
Thanks in Advance,
Anmolsolved
-
Re: Error while using Web services for working with Informatica workflow
Hi All,
I am getting below error when i am calling Informatica wokrflow using Web Services HUB.
able to establish connection with the informatica server.
please can any one help out me in this.
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: java.lang.NullPointerException
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}stackTrace:java.lang.NullPointerException
at org.apache.axis.message.SOAPEnvelope.addHeader(SOAPEnvelope.java:230)
at org.apache.axis.client.Call.invoke(Call.java:2789)
at org.apache.axis.client.Call.invoke(Call.java:2501)
at org.apache.axis.client.Call.invoke(Call.java:2424)
at org.apache.axis.client.Call.invoke(Call.java:1835)
at AI.Informatica.proxyclasses.DataIntegrationServiceSoapBindingStub.startWorkflow(DataIntegrationServiceSoapBindingStub.java:1101)
at AI.Informatica.javasrc.GSS_Informatica.start_workflow(GSS_Informatica.java:745)
at AI.Informatica.javasrc.GSS_Informatica.execute(GSS_Informatica.java:1384)
at AI.Informatica.javasrc.GSS_Informatica.main(GSS_Informatica.java:382)
{http://xml.apache.org/axis/}hostname:win2k3sami
java.lang.NullPointerException
at org.apache.axis.AxisFault.makeFault(AxisFault.java:104)
at org.apache.axis.client.Call.invoke(Call.java:2504)
at org.apache.axis.client.Call.invoke(Call.java:2424)
at org.apache.axis.client.Call.invoke(Call.java:1835)
at AI.Informatica.proxyclasses.DataIntegrationServiceSoapBindingStub.startWorkflow(DataIntegrationServiceSoapBindingStub.java:1101)
at AI.Informatica.javasrc.GSS_Informatica.start_workflow(GSS_Informatica.java:745)
at AI.Informatica.javasrc.GSS_Informatica.execute(GSS_Informatica.java:1384)
at AI.Informatica.javasrc.GSS_Informatica.main(GSS_Informatica.java:382)
Caused by: java.lang.NullPointerException
at org.apache.axis.message.SOAPEnvelope.addHeader(SOAPEnvelope.java:230)
at org.apache.axis.client.Call.invoke(Call.java:2789)
at org.apache.axis.client.Call.invoke(Call.java:2501)
... 6 more
Thanks in advance.
Mahesh.Hi All,
I am getting below error when i am calling Informatica wokrflow using Web Services HUB.
able to establish connection with the informatica server.
please can any one help out me in this.
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: java.lang.NullPointerException
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}stackTrace:java.lang.NullPointerException
at org.apache.axis.message.SOAPEnvelope.addHeader(SOAPEnvelope.java:230)
at org.apache.axis.client.Call.invoke(Call.java:2789)
at org.apache.axis.client.Call.invoke(Call.java:2501)
at org.apache.axis.client.Call.invoke(Call.java:2424)
at org.apache.axis.client.Call.invoke(Call.java:1835)
at AI.Informatica.proxyclasses.DataIntegrationServiceSoapBindingStub.startWorkflow(DataIntegrationServiceSoapBindingStub.java:1101)
at AI.Informatica.javasrc.GSS_Informatica.start_workflow(GSS_Informatica.java:745)
at AI.Informatica.javasrc.GSS_Informatica.execute(GSS_Informatica.java:1384)
at AI.Informatica.javasrc.GSS_Informatica.main(GSS_Informatica.java:382)
{http://xml.apache.org/axis/}hostname:win2k3sami
java.lang.NullPointerException
at org.apache.axis.AxisFault.makeFault(AxisFault.java:104)
at org.apache.axis.client.Call.invoke(Call.java:2504)
at org.apache.axis.client.Call.invoke(Call.java:2424)
at org.apache.axis.client.Call.invoke(Call.java:1835)
at AI.Informatica.proxyclasses.DataIntegrationServiceSoapBindingStub.startWorkflow(DataIntegrationServiceSoapBindingStub.java:1101)
at AI.Informatica.javasrc.GSS_Informatica.start_workflow(GSS_Informatica.java:745)
at AI.Informatica.javasrc.GSS_Informatica.execute(GSS_Informatica.java:1384)
at AI.Informatica.javasrc.GSS_Informatica.main(GSS_Informatica.java:382)
Caused by: java.lang.NullPointerException
at org.apache.axis.message.SOAPEnvelope.addHeader(SOAPEnvelope.java:230)
at org.apache.axis.client.Call.invoke(Call.java:2789)
at org.apache.axis.client.Call.invoke(Call.java:2501)
... 6 more
Thanks in advance.
Mahesh. -
Using web service with our WP 8.1 app
please i need help , for our graduation project we are making an app for tourism but in order to bring data we started to use web service with php and our professor told us to connect our app with something called json web service but I dunno how to do
this i need any help any tutorial to do it a book or something pleaseI'd start with the documentation:
How to connect to an HTTP server using Windows.Web.Http . -
Calling SAP ME web services with out reference names
Hello,
When calling SAP ME web services from non SAP clients, is there a way the users can by pass the reference names? Just pass SFC details instead of SFCREF.
example:- Data collection web service expects SFCRef:- SFCBO:<SITE>,<SFC> rather than that, what we are expecting is just pass SFC name and get response from ME.
-Adarsha.K.SHi Adarsha,
ME always accepts references only.you can do this in two ways,
1. Form a string with respective business object + site + object and pass.(ex: SFCBO:<SITE>,<SFC>) and then pass as reference.
2. through SOAP UI request XML. ex:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:me="http://sap.com/xi/ME" xmlns:gdt="http://sap.com/xi/SAPGlobal/GDT">
<soapenv:Header/>
<soapenv:Body>
<ParametricRequest_sync xmlns="http://sap.com/xi/ME">
<ParametricRequest>
<SiteRef>
<Site>SITE1</Site>
</SiteRef>
<me:SfcRef>
<me:Sfc>SFC1</me:Sfc>
</me:SfcRef>
<DcGroupRef>
<DcGroup>ABC</DcGroup>
<Revision>A</Revision>
</DcGroupRef>
<ParametricMeasure>
<MeasureGroup>ABC</MeasureGroup>
<MeasureName>PARAM1</MeasureName>
<Actual>1</Actual>
</ParametricMeasure>
<ResourceRef>
<Resource>RESOURCE1</Resource>
</ResourceRef>
<me:OperationRef>
<me:Operation>OPERATION1</me:Operation>
<me:Revision>A</me:Revision>
</me:OperationRef>
</ParametricRequest>
</ParametricRequest_sync>
</soapenv:Body>
</soapenv:Envelope>
hope this helps. -
How can i records with date format using web services?
Hello
I can't record date records using web services. I get no message errors.
I can import string values but no dates (YYYY-MM-DD). Do you have any clue about that?
Regards
Arturohello,
That's the code I'm using to update an opportunity. In the date fields (e.g. dFecha_de_entrega_al_cliente) I've tried to put an specific date in the correct format (If i put it in another format i've got an error message due the wrong format). The CRM accepted the code but it didn't update the values that are different of string.
I don´t know if there is something missing in teh program or if the developer environment is not the adequate.
Regards for your comments
Arturo
Private Sub ActualizarOportunidad(ByVal fila As Data.DataRow, ByVal TipoPersona As String)
Dim oLog As New Log()
Dim IdLog As Integer
Dim NumSerie As String = ""
Try
oLog.Insert_Log("Activación Garantía - Crear Oportunidad", oLog.GetLastIdProceso())
IdLog = oLog.GetLastId()
Dim sr_input As Opportunity.OpportunityUpdate_Input
Dim sr_output As Opportunity.OpportunityUpdate_Output
sr_input = New Opportunity.OpportunityUpdate_Input
Dim sr(1) As Opportunity.OpportunityData
sr(0) = New Opportunity.OpportunityData
NumSerie = fila("NumeroSerie").ToString().Trim()
sr(0).ExternalSystemId = NumSerie
sr(0).OpportunityName = fila("NumeroSerie").ToString().Trim()
sr(0).SalesStage = "Deseo" '"Cerrada/Ganada"
sr(0).dFecha_de_entrega_al_cliente = fila("FechaEmision").ToString().Trim()
sr(0).dFecha_de_facturacin_al_cliente = fila("FechaCompra").ToString().Trim()
sr(0).stNro_Factura = fila("NumeroFactura").ToString().Trim()
sr(0).plActividad_Economica = fila("IdActividad").ToString().Trim()
sr(0).plTipo_de_Venta = fila("TipoCompra").ToString().Trim()
sr(0).CustomObject8ExternalSystemId = fila("ApellidoVendedor").ToString.Trim()
'sr(0).CustomObject8ExternalSystemId = IIf(TipoPersona = "J", fila("DocumentoE").ToString().Trim(), fila("Documento").ToString.Trim())
'sr(0).CustomObject7ExternalSystemId = fila("")
Dim lofsr As Opportunity.ListOfOpportunityData
lofsr = New Opportunity.ListOfOpportunityData
lofsr.Opportunity = sr
sr_input.ListOfOpportunity = lofsr
sr_output = oOpportunity.OpportunityUpdate(sr_input)
oLog.Update_Log(IdLog, "Si", NumSerie, "")
Catch ex As SoapException
Me.txtError.Text = ex.Detail.InnerText.ToString()
oLog.Update_Log(IdLog, "No", NumSerie, ex.Detail.InnerText.ToString())
End Try
End Sub
************************************************************************
Maybe you are looking for
-
Quick link does not open in new window
Hi all I created an URL iView and assigned a quick link to it. The "launch in new New Window" property is set to "display in separate window". If i call the quick link url the iView is not shown in a separate window, but in the content area. Why? If
-
J2SE Adapter Installation error
Hi I'm getting the following error when i try and start the J2SE Adapter service from windows services - Error opening the Java Virtual Machine (Path: E:\Java\jre6\bin\client) Its been an issue before when i had spaces in the path, but since then its
-
We have an incremental level-1 backup Mon-Sat and cold full backup on Sundays with retention policy of 7 days. While troubleshooting some backup issues (space issue, expired backups) I ran the following commands and trying to understand the output. R
-
Archiving material master - storage location
Hi experts, I am in process of archiving storage locations of few material codes which are split valuated. Actually material/s are extended to 3-4 storage location and one storage location has to be removed from the same. i am using transaction code
-
Boot problems - can I "Archive and Install" to back-up and then reformat?
Hi all! I'm having booting problems with my PowerBook 15". I've ran the hardware/disk utility tests and everything seems fine. The problem is, I get a blue-screen with the spinning sun-dial or sthing. It keeps spinning and spinning! I tried going int