Problem Mapping to ABAP Proxy
Hello,
I Have a very strange error.
So i send a Message from Java Proxy ->to-> ABAP Proxy.
The Mapping is a XSLT Mapping.
The Mapping everthings fine but the ABAP Proxy get and error like:
Error during XML => ABAP conversion (; error ID: ; ( ))
....CREATE_TRANSACTIONS(1)IT_TRANSACTION(1)item(1)OPERATORQUAL(9) Error Text: Data loss occurred when converting 9134408 Kernel ErrorId: CONVT_DATA_LOSS))
Ok the error is normally not so strange, but in my XML Message the tag OPERATORQUAL is empty. The 9134408 ist the last filled tag for the OPERATORQUAL.
Why the ABAP Proxy think there is something in ?
I checked the XML and there is nothing.
But when the proxy think there is something like 9134408 that the error is normal, because the field has only except only 1 Char Values.
Any Idea whats going wrong?
Regards,
Robin
Hi Udo whats up ? ,
Mappings all works fine.
Problem was that blanks was there in the XML Tag that you can't see in the XML view.
This blanks came already from Database.
Know i kill all blanks in XSLT Mapping and it Works !
see you soon and regard from zagreb,
Robin
Similar Messages
-
Problem with Synchronous abap proxy time out
Hi there.
I have the following scenario:
sync sync
3rd party <--> PI <--
> ERP
http abap proxy
In the implementing class on the abap proxy i'm calling an standard BAPI, followed by a commit and returning the result.
The 3rd party app has a mechanism that when a message fails, he'll retry each 5 mins until it gets the response.
Last night there where some delays on ERP that cause the sync mesages to timeout, the 3rd party retried about 10 times to send the message until it finally went off. This morning i check and i have the same message 11 times on ERP!!, to my understanding if the sync comm timed out the process will abort and the message will not be processed on ERP, does anybody knows if im missing some configuration for this to work this way??.
Kind Regards,
Roberto.Hi Roberto.
There are a lot of time out configures in PI .
Follow the link that explain about this:
How to Investigate Timeouts In Synchronous XI PI Scenarios
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/c059d583-a551-2c10-e095-eb5d95e03747
I hope to help you.
If you still keep this problem, you can ask me more about it.
Regards..
Bruno. -
Problem with Inbound Abap Proxy
Hi Experts,
I have an Inbound ABAP proxy scenario that insert data into a ztable. The whole process from XI to R/3 works fine, except it does not update my ztable.
The only time the ztable gets updated is when i debug it. I used this report "SPRX_TEST_INBOUND" to debug
Anyone who's had a similar problem.
Thank you in Advance,
DannyHi,
did you use the same XML from SXMB_MONI that gets posted during message flow?
you can check inside your inbound proxy if the values are not empty etc
and then raise an exception to see what's going on
you can also do an endless loop and get inside it to see the real values
that get passed into the proxy
Regards,
michal
<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a> -
Problem receiving acknowledgement: abap proxy == file adapter
Hi experts,
I am developing an asynchrone interface using PI 7.0. The scenario is: SAP ==> FILE.
In SAP I have created an abap proxy in wich I requested an acknowledgement when calling from the abap code. In PI I have created an Integration Process with a receive step, and a send step. In de send step I am asking for a transport acknowledgement.
When I test the interface and I look in the SXMB_MONI in PI, I see the acknowledgement given back to the IP, but in the SAP backend system I don't receive anything in the abap proxy which had send the original message. In de SXMB_MONI from SAP I see a "?" Still awaiting acknowledgement.
Can anyone help me with this scenario? I really need an acknowledgement from the file adapter in the calling abap proxy.
Regards, JeroenYou need to crate a REceiver Agreement for this sender...
The Integration Server sends an acknowledgment message back to the sender (CENTRAL_BACK). It uses the name of the sender system for logical and technical backward routing.
If the sender is addressed using an ABAP proxy, you must define a corresponding receiver agreement for this sender.
http://help.sap.com/saphelp_nw04/helpdata/en/29/345d3b7c32a527e10000000a114084/content.htm
-SM -
Problem Creating an ABAP Proxy based on a WSDL which uses extensions.
Hi all,
I'm trying to create an Asset in Salesforce using ABAP.
I can generate the ABAP Proxy OK, (from the SalesForce Enterprise WSDL I created) but the Asset definition does not exist.
I think my issue stems from the fact that the SalesForce WSDL uses extension elements for the definition of Asset.
I found the following notes on the extension element
516072 - XI Proxy Generation (not really for abap)
1386239 - Extention of complex type containing xsd:any (this is close but we are on SAP BASIS Release 70 701 not 702
Threads which talks about extension element not supported.
Proxy generation terminated: WSDL error ( EXTENSION not supported)
WSDL Error: Element 'extension' not
Threads which talks about how to modify the WSDL
Creating ABAP proxy from WSDL fails when <extension> present
Creating ABAP proxy from WSDL fails when <extension> present (but this is using xmlspy which I don't have and the instructions aren't clear to me)
What I'm really looking for is
1) Any Notes which I could apply in a basis 701 environment to enable creating abap proxies from wsdl with extension elements
2) Any tips on how to modify my WSDL to remove the extension elements yet still offer the same functionality (i.e. I need to use the create function with a sobject of Asset (which is currently defined via an extension.
3) Anyone who has integrated with SalesForce to create SalesForce objects (Accounts, Assets, etc) either tips on how to modify the WSDL or sample ABAP code as to how you got around the missing extension elements.
Regards,
JohnHi John,
couldn´t you post a section from your wsdl file which includes the type definition with an extension?
I think you could remove the extension an copy all elements from the type definition which is extended into the new type definition.
Here an example that you get the idea:
<xsd:complexType name="PERSON">
<xsd:sequence>
<xsd:element name="firstName" type="xsd:string"></xsd:element>
<xsd:element name="lastName" type="xsd:string"></xsd:element>
<xsd:element name="ageInYears" type="xsd:int"></xsd:element>
<xsd:element name="weightInLbs" type="xsd:float"></xsd:element>
<xsd:element name="heightInInches" type="xsd:float"></xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="femalePerson">
<xsd:complexContent>
<xsd:extension base="typens:PERSON" >
<xsd:element name="favoriteLipstick" type="xsd:string"></xsd:element>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
is going to be ->
<xsd:complexType name="PERSON">
<xsd:sequence>
<xsd:element name="firstName" type="xsd:string"></xsd:element>
<xsd:element name="lastName" type="xsd:string"></xsd:element>
<xsd:element name="ageInYears" type="xsd:int"></xsd:element>
<xsd:element name="weightInLbs" type="xsd:float"></xsd:element>
<xsd:element name="heightInInches" type="xsd:float"></xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="femalePerson">
<xsd:element name="firstName" type="xsd:string"></xsd:element>
<xsd:element name="lastName" type="xsd:string"></xsd:element>
<xsd:element name="ageInYears" type="xsd:int"></xsd:element>
<xsd:element name="weightInLbs" type="xsd:float"></xsd:element>
<xsd:element name="heightInInches" type="xsd:float"></xsd:element>
<xsd:element name="favoriteLipstick" type="xsd:string"></xsd:element>
</xsd:complexType>
Save your changes to a local file and use this to generate your proxy.
Bye Richard -
Problem with sender ABAP proxy
Hi All,
I have created sender ABAP proxy (Async). I am testing the proxy from SPROXY transaction it selft .. when i provide the data and execute the proxy it is showing <b>"Services Processed Without Error"</b> , but i am not getting any error , i am not able to see any message in SXMB_MONI or RWB .. how to check where the message is failing ??Hi,
You said you are sending message from proxy....its very easy to debug in this case. You can set a breakpoint directly in your proxy caling program. Just check if you are calling commit work after calling proxy.
Also you can do it using the abap system command '/H' or the code 'BREAK-POINT' for/in the report program triggering the iterface.
Check out this thread...
How to Debug proxies
Hope this will help you.
Ni;esh -
Problem is triggering ABAP proxy
Hi All,
My scenario is to create a sales order in R/3 system using ABAP proxy and to get the Sales Order number as the response from the synchornous BAPI.
While triggering the proxy, I'm gettin the error as follows,
Please help me out in clearing this issue.
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!-- Call Adapter
-->
- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
<SAP:Category>XIProxy</SAP:Category>
<SAP:Code area<b>="ABAP">SERIALIZE_APPLICATION_DATA</b></SAP:Code>
<SAP:P1>Response Message</SAP:P1>
<SAP:P2>CX_XSLT_RUNTIME_ERROR</SAP:P2>
<SAP:P3>: 0000000000</SAP:P3>
<SAP:P4>Error Text: No valid XSLT program supplied Kernel ErrorId: CX_XSLT_RUNTIME_ERROR</SAP:P4>
<SAP:AdditionalText>Error when handling Response Message; XSLT error: CX_XSLT_RUNTIME_ERROR: XSLT program and source line: : 0000000000; Error Text: No valid XSLT program supplied Kernel ErrorId: CX_XSLT_RUNTIME_ERROR</SAP:AdditionalText>
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack />
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
Regards,
DhanaHi
Go thru SAP Note:<b>546048</b>
It says that application data is incorrect tht's why can't post the message.
So plz chk ur ABAP Server Proxy code.
Regards
Arpit Seth -
Problems while activating ABAP proxy
Hi All,
I am dealing with a problem while I am trying to activate a proxy in Sproxy tcode
Package Check for Table/Structure ZDT_ENVIO_DADOS_MESTRES_IN
The object TABL ZDT_ENVIO_DADOS_MESTRES_IN uses TTYP PRXCTRLTAB
Table Type PRXCTRLTAB
Package ZBW does not have sufficient use access
Does someone could help me on how to fix that ?
Regards
DiegoHi Diego,
Add SAI_TOOLS under Use access.
Check the below link for more info.
http://help.sap.com/saphelp_nw04/helpdata/en/ea/c05da0f01011d3964000a0c94260a5/content.htm
Thanks, -
Problem with numeric types in Abap Proxy
Hello,
We are having problems with some abap proxy calls. When a numeric type is filled with 0 the node it´s automatically removed and no value it's recived in XI. The only way I have found to avoid this problem it's to define the field with type string or change the cardinality to 1..1 instead of 0..1. It's there any way to maintain the type and the cardinality?? Maybe with a pattern??
Regards,
Alberto Pla.Hi Alberto
I had this problem, and I decided to use xsd:string instead of xsd:integer. This will solve the issue.
Anyway.. check this note:
[Note 1242795 - Mapping of XSD default values by ABAP Proxy Generation|https://service.sap.com/sap/support/notes/1242795]
Regards
Francesco -
Error monitoring abap proxy in WorkBench
Hi all...
I have a problem monitoring an abap proxy in RWB. I receive this message when i try to see the details of the message (Message Content and Queue Monitor options in Message Display Tool) in message monitoring in RWB: User PIRWBUSER has no RFC authorization for function group HTTPTREE ., error key: RFC_ERROR_SYSTEM_FAILURE. In the other side, i can see the header of the message in the message data of the same option.
Any idea with this problem?
Thanks...Hi,
check your RFC destination. Here is more info about this error message.
In general we get this error while trying to access Unicode / Non Unicode system using Non Unicode / Unicode RFC connection...Your RFC destination should have same Character Format of your target system
Please checkc this property in RFC desctination under Special Option tab.
For r/3 system, Menu->Status. Check if its unicode or not and it should have the same format as that is listed in RFC.
The user should have following authorizations:
SAP_XI_APPL_SERV_USER
SAP_XI_IS_SERV_USER
Regards,
Venkat. -
Abap proxy client and https webservice
Hi, I have a problem with an abap proxy client.
This proxy works perfectyl when I call the test webservice (via HTTP protocol) but it does not work if I try to call the productive webservice (via HTTPS protocol). Of course I have configured LPCONFIG in order to let the proxy point to the correct web site.
I'm pretty sure that problkem is caused by different protocols HTTP vs HTTPS.
I thought the problem could be the web site certificate, so I added it into the PSE (transaction STRUST) but nothing happnes.
Your help is really appreciated.
Edited by: robcom69 on Feb 22, 2010 3:34 PM
Edited by: robcom69 on Feb 22, 2010 3:35 PM
Edited by: robcom69 on Feb 22, 2010 3:49 PMI have loaded the certificate in the TRUST transaction.
Anyway, in our system we do not have the SAPCRIPTOLIB libraries and I do not underastand if they are necessary or not.
I mean, I need these libraries only if I expose an HTTPS server from SAP or even if SAP is the client and it need to access an external https webservice ?
Please help. -
ABAP proxy transmit data to XI asynchronous,how to capture the status
We are facing a problem when using ABAP proxy to transmit record asynchronous to XI system. Situation is we canu2019t capture the status in XI system , as if XI failed to receive the record, in R3 we need to update the record as not successful received.
Kindly let me know if you have this similar experience in your project.
Thanks in advance.-Create object and suboject in SLG0 transaction
- In program
*Call function to create log
CALL FUNCTION 'BAL_LOG_CREATE'
*Call function to add messages
CALL FUNCTION 'BAL_LOG_MSG_ADD'
*Call function to save all the messages to database
CALL FUNCTION 'BAL_DB_SAVE'
-View the log in SLG1 transaction -
Where we should implement inbound abap proxy?
I have to implement Inbound abap proxy, there i need to call two BAPI s to create reservation and purchase requisition based on material number coming from input.
my doubt is all this code where should i implement and also please give me some sample codes.
Thank you
NeelimaHi,
U can find the code in the following link,
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/06adbf03-0a01-0010-f386-d8e45561a3c4
ABAP Inbound Proxy Error !
Problem with Inbound Abap Proxy
How to call BAPI from ABAP Inbound Proxy
issue with inbound abap proxy
Reward If Helpful,
Jagadish. -
Abap proxy with attachments in enhanced interface determination/mapping
Hi guys.
We were receiving a abap proxy from ECC with a pdf attached in the header.
This was the scenario PROXY ---> FILE
We used the PayloadSwapBean Module in a Receiver File Adapter to get this document and put it in a FTP Server.
Now we have to make and improvement in the scenario and we have to generate two receiver interfaces so the scenario looks like this:
PROXY ---> FILE and JDBC.
So we have to use an enhanced interface mapping and an enhanced interface determination.
The problem is that with this enhanced interface determination/mapping the attached document is lost.
Any solution?
Thanks a lot.
Regards.> The problem is that with this enhanced interface determination/mapping the attached document is lost.
I know there was an issue in early PI 7.1 SP versions. maybe you find a bug fix for this?
Otherwise report to SAP. -
Problem with Consuming ABAP Server Proxy WSDL in InfoPath
Tried to design a InfoPath (MS Office 2003) form from a WSDL file of a web service generated from an ABAP Server Proxy in a NW2004s SP10 system. InfoPath rejected this WSDL with error InfoPath cannot use the selected Web service method for receiving data because the method does not provide valid XML data. Tried other WSDL files from other web services from ABAP Proxy with InfoPath, all got rejected.
Validated the WSDL file with XMLSPY, no error. Tried to import the WSDL into XI 3.0, no error. Also tried the WSDL in .NET C#, also worked fine. It seemed only InfoPath does not like this WSDL from ABAP Proxy.
Created a similar web service in XI 3.0 and InfoPath had no problem with its WSDL. Then I compared the two WSDL files. There are differences. After try and error on changing the differences, I have nailed down to the XML tag that caused the problem. Please see the extracted WSDL line attached at the end. In the XI 3.0 generated WSDL the wsdl:message and the wsdl:part have the same name. In the ABAP Proxy generated WSDL the wsdl:part has the name Parameters which is different from the wsdl:message. After I copied the wsdl:message name to the wsdl:part name, InfoPath accepted the WSDL file without any problem.
I know the fix but I like to find out the root cause. Is this a known issue? Did we miss some configuration setting thats causing this issue? Any help will be much appreciated.
WSDL from NW2004s SP10 ABAP Proxy
<wsdl:message name="RegionR3GetList_Req_MT">
<wsdl:part name="Parameters" element="tns:RegionR3GetList_Req_MT"/>
</wsdl:message>
<wsdl:message name="RegionR3GetList_Resp_MT">
<wsdl:part name=" Parameters" element="tns:RegionR3GetList_Resp_MT"/>
</wsdl:message>
WSDL from XI 3.0 Interface
<wsdl:message name="RegionR3GetList_Req_MT">
<wsdl:part name="RegionR3GetList_Req_MT" element="tns:RegionR3GetList_Req_MT"/>
</wsdl:message>
<wsdl:message name="RegionR3GetList_Resp_MT">
<wsdl:part name="RegionR3GetList_Resp_MT" element="tns:RegionR3GetList_Resp_MT"/>
</wsdl:message>Anne Tarnoruder has pointed out to me that her SDN article "Consuming SAP Enterprise Services in a Microsoft Office InfoPath Form" has described the the cause and workaround of this issue on page 9. I am extracting it below and mark this thread as answered. Thanks to Anne but not sure how I can award point to her.
Currently SAP supports only the Document style of WSDL, and not the Microsoft-specific RPC style, which causes a problem when consuming SAP services in the Microsoft environment. In this example, you need to apply a workaround that involves a minor correction of locally-stored WSDL files:
a. In the Project Explorer toolbar, click the Show all files icon and expand the Web reference folder.
b. For each Web reference in the project, perform the following steps:
c. Open the WSDL file, replace all instances of <wsdl:part name="parameters" with <wsdl:part name="parameter" (remove the s in parameters) and save the file.
d. Right-click the Reference.map file and choose Run Custom Tool to invoke a utility that generates code for XML Web services. This recreates the local proxy.
Maybe you are looking for
-
I have OS X 10.5.8 on my iMac, I'm trying to install Snow Leopard. When I insert the disk and click install it starts, but when its about 1/4 of the way done the computer restarts and my disk spits back out. When I look to see if it installed it stil
-
Hi forum, In a report i need to show the value of overdue items that were collected in a period between two key dates (entered as variables) First I restrict as follows: KF: Credit amount Net due date [] key date 1, key date 2 But additionally I woul
-
I have a Nokia 808 PureView, but my nfc is not working. It doesnt work with the test card or with other devices...
-
How to use an own LIS as table for a Library
Hi all, I want to use an own library (eg: S731, stocks), but when I try to do the entry in T804A (tcode SM31) the system replies that it's not in the right range of names. If I run report RDDKOR54 for T804A requires that the table begins by Z' or Y,
-
"add_months" and "interval"
please tell me what is the difference between the below query.i need to take the last month date using the current date.Which query will be the correct one and whats the difference. select trunc(sysdate)+ interval '1' month from dual; select trunc(ad