Problem while craeting WSDL from ABAP
Hi all
I have encountered a problem.I created a WSDL from a ABAP program,but in the ABAP function module what it does is it inserts value onto a transparent table from a table which let me specify as a virtual table.So after generating the wsdl i am surprised to see the virtual table has come in the output part .I am unable to make out why this happened.
i am mentioning below the ABAP code which inserts value on to a transparent table from a virtual table
Code-Function module-smlg_modify
<u>virtual table Definition</u>
"table with items for insertion
DATA INS_TAB LIKE RZLLITAB OCCURS 0 WITH HEADER LINE.
DESCRIBE TABLE MODIFICATIONS LINES ITEMS.
LOOP AT MODIFICATIONS.
MODIFICATIONS-GROUPTYPE = GROUPTYPE.
CASE MODIFICATIONS-MODIFICATN.
WHEN 'I'. "insertion of an item
INS_TAB = MODIFICATIONS.
APPEND INS_TAB.
END LOOP
DESCRIBE TABLE INS_TAB LINES ITEMS.
IF ITEMS > 0.
INSERT RZLLITAB FROM TABLE INS_TAB-->(one i mentioned as virtual.)
ENDIF.
In such a case how comes the virtual comes as the output in wsdl
I am mentioning below the the wsdl
<----
>
<?xml version="1.0" encoding="ASCII"?>
<wsdl:definitions xmlns:ctc="http://sap.com/ctc" xmlns:ctc-bapi="http://www.sap.com/ctc/abapprovider" xmlns:ctc_ref="urn:example/encoded" xmlns:ctclib="http://sap.com/ctc/schema/lib" xmlns:plnk="http://schema.xmlsoap.org/ws/2003/05/partner-link" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="http://sap.com/ctc/services" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="SMLG_MODIFYServiceDefinition" targetNamespace="http://sap.com/ctc/services">
<wsdl:types>
<xsd:schema xmlns:tns="http://sap.com/ctc/services" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://sap.com/ctc/services">
<xsd:element name="GROUPTYPE" type="xsd:string"/>
<xsd:element name="SET_LOCK" type="xsd:string"/>
<xsd:complexType name="ERFC_MODIFICATIONS">
<xsd:sequence>
<xsd:element name="CLASSNUM" type="xsd:int"/>
<xsd:element name="CLASSNAME" type="xsd:string"/>
<xsd:element name="GROUPTYPE" type="xsd:string"/>
<xsd:element name="TIMERERD" type="xsd:int"/>
<xsd:element name="LOGRERD" type="xsd:int"/>
<xsd:element name="FAVTYPE" type="xsd:string"/>
<xsd:element name="MODIFICATN" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:element name="ERFC_MODIFICATIONS" type="tns:ERFC_MODIFICATIONS"/>
<xsd:element name="CLASSNUM" type="xsd:int"/>
<xsd:element name="CLASSNAME" type="xsd:string"/>
<xsd:element name="GROUPTYPE" type="xsd:string"/>
<xsd:element name="TIMERERD" type="xsd:int"/>
<xsd:element name="LOGRERD" type="xsd:int"/>
<xsd:element name="FAVTYPE" type="xsd:string"/>
<xsd:element name="MODIFICATN" type="xsd:string"/>
</xsd:schema>
</wsdl:types>
<wsdl:message name="SMLG_MODIFYInput">
<wsdl:part name="GROUPTYPE" type="xsd:string"/>
<wsdl:part name="SET_LOCK" type="xsd:string"/>
</wsdl:message>
<wsdl:message name="SMLG_MODIFYOutput">
<wsdl:part name="ERFC_MODIFICATIONS" type="tns:ERFC_MODIFICATIONS"/>
<wsdl:part name="CLASSNUM" type="xsd:int"/>
<wsdl:part name="CLASSNAME" type="xsd:string"/>
<wsdl:part name="GROUPTYPE" type="xsd:string"/>
<wsdl:part name="TIMERERD" type="xsd:int"/>
<wsdl:part name="LOGRERD" type="xsd:int"/>
<wsdl:part name="FAVTYPE" type="xsd:string"/>
<wsdl:part name="MODIFICATN" type="xsd:string"/>
</wsdl:message>
<wsdl:portType name="SMLG_MODIFYPT">
<wsdl:operation name="SMLG_MODIFYOperation">
<wsdl:input message="SMLG_MODIFYInput"/>
<wsdl:output message="SMLG_MODIFYOutput"/>
<wsdl:fault message="ctclib:BAPIException" name="BAPIException"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="SMLG_MODIFYBinding" type="SMLG_MODIFYPT">
<ctc:binding transport="com.sap.mw.jco"/>
<wsdl:operation name="SMLG_MODIFYOperation">
<ctc-bapi:function name="SMLG_MODIFY"/>
<wsdl:input>
<ctc:body encodingStyle="ctc:SCHEMA2ABAP">
<ctc-bapi:partbinding name="GROUPTYPE">
<field elementname="GROUPTYPE">
<name>GROUPTYPE</name>
<type>CHAR</type>
</field>
</ctc-bapi:partbinding>
<ctc-bapi:partbinding name="SET_LOCK">
<field elementname="SET_LOCK">
<name>SET_LOCK</name>
<type>CHAR</type>
</field>
</ctc-bapi:partbinding>
</ctc:body>
</wsdl:input>
<wsdl:output>
<ctc:body encodingStyle="ctc:SCHEMA2ABAP">
<ctc-bapi:partbinding name="ERFC_MODIFICATIONS">
<table elementname="ERFC_MODIFICATIONS" jcoName="ERFC_MODIFICATIONS">
<structure elementname="RZLLIMODGP" jcotype="RZLLIMODGP">
<field elementname="CLASSNUM">
<name>CLASSNUM</name>
<type>NUMC</type>
</field>
<field elementname="CLASSNAME">
<name>CLASSNAME</name>
<type>CHAR</type>
</field>
<field elementname="GROUPTYPE">
<name>GROUPTYPE</name>
<type>CHAR</type>
</field>
<field elementname="TIMERERD">
<name>TIMERERD</name>
<type>NUMC</type>
</field>
<field elementname="LOGRERD">
<name>LOGRERD</name>
<type>NUMC</type>
</field>
<field elementname="FAVTYPE">
<name>FAVTYPE</name>
<type>CHAR</type>
</field>
<field elementname="MODIFICATN">
<name>MODIFICATN</name>
<type>CHAR</type>
</field>
</structure>
</table>
</ctc-bapi:partbinding>
<ctc-bapi:partbinding name="CLASSNUM">
<field elementname="CLASSNUM">
<name>CLASSNUM</name>
<type>NUMC</type>
</field>
</ctc-bapi:partbinding>
<ctc-bapi:partbinding name="CLASSNAME">
<field elementname="CLASSNAME">
<name>CLASSNAME</name>
<type>CHAR</type>
</field>
</ctc-bapi:partbinding>
<ctc-bapi:partbinding name="GROUPTYPE">
<field elementname="GROUPTYPE">
<name>GROUPTYPE</name>
<type>CHAR</type>
</field>
</ctc-bapi:partbinding>
<ctc-bapi:partbinding name="TIMERERD">
<field elementname="TIMERERD">
<name>TIMERERD</name>
<type>NUMC</type>
</field>
</ctc-bapi:partbinding>
<ctc-bapi:partbinding name="LOGRERD">
<field elementname="LOGRERD">
<name>LOGRERD</name>
<type>NUMC</type>
</field>
</ctc-bapi:partbinding>
<ctc-bapi:partbinding name="FAVTYPE">
<field elementname="FAVTYPE">
<name>FAVTYPE</name>
<type>CHAR</type>
</field>
</ctc-bapi:partbinding>
<ctc-bapi:partbinding name="MODIFICATN">
<field elementname="MODIFICATN">
<name>MODIFICATN</name>
<type>CHAR</type>
</field>
</ctc-bapi:partbinding>
</ctc:body>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="SMLG_MODIFYService">
<wsdl:port binding="SMLG_MODIFYBinding" name="SMLG_MODIFYServicePort"/>
</wsdl:service>
</wsdl:definitions>
>
My purpose is to create a .cproc file which will pass values to this wsdl file.I dont know how to pass as the table which the function module accepts as input is output in wsdl.so i am not aware how to pass value.Kindly help me out how to create a .cproc file for it
Thanks
Neeta
It is not finding the correct URL - hence the 404 - page not found error.
Correct the URL and try again.
Similar Messages
-
Problem while genearting WSDL from ABAP
Hi all
I have encountered a problem.I created a WSDL from a ABAP program,but in the ABAP function module what it does is it inserts value onto a transparent table from a table which let me specify as a virtual table.So after generating the wsdl i am surprised to see the virtual table has come in the output part .I am unable to make out why this happened.
i am mentioning below the ABAP code which inserts value on to a transparent table from a virtual table
Code-Function module-smlg_modify
<u>virtual table Definition</u>
"table with items for insertion
DATA INS_TAB LIKE RZLLITAB OCCURS 0 WITH HEADER LINE.
DESCRIBE TABLE MODIFICATIONS LINES ITEMS.
LOOP AT MODIFICATIONS.
MODIFICATIONS-GROUPTYPE = GROUPTYPE.
CASE MODIFICATIONS-MODIFICATN.
WHEN 'I'. "insertion of an item
INS_TAB = MODIFICATIONS.
APPEND INS_TAB.
END LOOP
DESCRIBE TABLE INS_TAB LINES ITEMS.
IF ITEMS > 0.
INSERT RZLLITAB FROM TABLE INS_TAB-->(one i mentioned as virtual.)
ENDIF.
In such a case how comes the virtual comes as the output in wsdl
I am mentioning below the the wsdl
<----
>
<?xml version="1.0" encoding="ASCII"?>
<wsdl:definitions xmlns:ctc="http://sap.com/ctc" xmlns:ctc-bapi="http://www.sap.com/ctc/abapprovider" xmlns:ctc_ref="urn:example/encoded" xmlns:ctclib="http://sap.com/ctc/schema/lib" xmlns:plnk="http://schema.xmlsoap.org/ws/2003/05/partner-link" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="http://sap.com/ctc/services" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="SMLG_MODIFYServiceDefinition" targetNamespace="http://sap.com/ctc/services">
<wsdl:types>
<xsd:schema xmlns:tns="http://sap.com/ctc/services" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://sap.com/ctc/services">
<xsd:element name="GROUPTYPE" type="xsd:string"/>
<xsd:element name="SET_LOCK" type="xsd:string"/>
<xsd:complexType name="ERFC_MODIFICATIONS">
<xsd:sequence>
<xsd:element name="CLASSNUM" type="xsd:int"/>
<xsd:element name="CLASSNAME" type="xsd:string"/>
<xsd:element name="GROUPTYPE" type="xsd:string"/>
<xsd:element name="TIMERERD" type="xsd:int"/>
<xsd:element name="LOGRERD" type="xsd:int"/>
<xsd:element name="FAVTYPE" type="xsd:string"/>
<xsd:element name="MODIFICATN" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:element name="ERFC_MODIFICATIONS" type="tns:ERFC_MODIFICATIONS"/>
<xsd:element name="CLASSNUM" type="xsd:int"/>
<xsd:element name="CLASSNAME" type="xsd:string"/>
<xsd:element name="GROUPTYPE" type="xsd:string"/>
<xsd:element name="TIMERERD" type="xsd:int"/>
<xsd:element name="LOGRERD" type="xsd:int"/>
<xsd:element name="FAVTYPE" type="xsd:string"/>
<xsd:element name="MODIFICATN" type="xsd:string"/>
</xsd:schema>
</wsdl:types>
<wsdl:message name="SMLG_MODIFYInput">
<wsdl:part name="GROUPTYPE" type="xsd:string"/>
<wsdl:part name="SET_LOCK" type="xsd:string"/>
</wsdl:message>
<wsdl:message name="SMLG_MODIFYOutput">
<wsdl:part name="ERFC_MODIFICATIONS" type="tns:ERFC_MODIFICATIONS"/>
<wsdl:part name="CLASSNUM" type="xsd:int"/>
<wsdl:part name="CLASSNAME" type="xsd:string"/>
<wsdl:part name="GROUPTYPE" type="xsd:string"/>
<wsdl:part name="TIMERERD" type="xsd:int"/>
<wsdl:part name="LOGRERD" type="xsd:int"/>
<wsdl:part name="FAVTYPE" type="xsd:string"/>
<wsdl:part name="MODIFICATN" type="xsd:string"/>
</wsdl:message>
<wsdl:portType name="SMLG_MODIFYPT">
<wsdl:operation name="SMLG_MODIFYOperation">
<wsdl:input message="SMLG_MODIFYInput"/>
<wsdl:output message="SMLG_MODIFYOutput"/>
<wsdl:fault message="ctclib:BAPIException" name="BAPIException"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="SMLG_MODIFYBinding" type="SMLG_MODIFYPT">
<ctc:binding transport="com.sap.mw.jco"/>
<wsdl:operation name="SMLG_MODIFYOperation">
<ctc-bapi:function name="SMLG_MODIFY"/>
<wsdl:input>
<ctc:body encodingStyle="ctc:SCHEMA2ABAP">
<ctc-bapi:partbinding name="GROUPTYPE">
<field elementname="GROUPTYPE">
<name>GROUPTYPE</name>
<type>CHAR</type>
</field>
</ctc-bapi:partbinding>
<ctc-bapi:partbinding name="SET_LOCK">
<field elementname="SET_LOCK">
<name>SET_LOCK</name>
<type>CHAR</type>
</field>
</ctc-bapi:partbinding>
</ctc:body>
</wsdl:input>
<wsdl:output>
<ctc:body encodingStyle="ctc:SCHEMA2ABAP">
<ctc-bapi:partbinding name="ERFC_MODIFICATIONS">
<table elementname="ERFC_MODIFICATIONS" jcoName="ERFC_MODIFICATIONS">
<structure elementname="RZLLIMODGP" jcotype="RZLLIMODGP">
<field elementname="CLASSNUM">
<name>CLASSNUM</name>
<type>NUMC</type>
</field>
<field elementname="CLASSNAME">
<name>CLASSNAME</name>
<type>CHAR</type>
</field>
<field elementname="GROUPTYPE">
<name>GROUPTYPE</name>
<type>CHAR</type>
</field>
<field elementname="TIMERERD">
<name>TIMERERD</name>
<type>NUMC</type>
</field>
<field elementname="LOGRERD">
<name>LOGRERD</name>
<type>NUMC</type>
</field>
<field elementname="FAVTYPE">
<name>FAVTYPE</name>
<type>CHAR</type>
</field>
<field elementname="MODIFICATN">
<name>MODIFICATN</name>
<type>CHAR</type>
</field>
</structure>
</table>
</ctc-bapi:partbinding>
<ctc-bapi:partbinding name="CLASSNUM">
<field elementname="CLASSNUM">
<name>CLASSNUM</name>
<type>NUMC</type>
</field>
</ctc-bapi:partbinding>
<ctc-bapi:partbinding name="CLASSNAME">
<field elementname="CLASSNAME">
<name>CLASSNAME</name>
<type>CHAR</type>
</field>
</ctc-bapi:partbinding>
<ctc-bapi:partbinding name="GROUPTYPE">
<field elementname="GROUPTYPE">
<name>GROUPTYPE</name>
<type>CHAR</type>
</field>
</ctc-bapi:partbinding>
<ctc-bapi:partbinding name="TIMERERD">
<field elementname="TIMERERD">
<name>TIMERERD</name>
<type>NUMC</type>
</field>
</ctc-bapi:partbinding>
<ctc-bapi:partbinding name="LOGRERD">
<field elementname="LOGRERD">
<name>LOGRERD</name>
<type>NUMC</type>
</field>
</ctc-bapi:partbinding>
<ctc-bapi:partbinding name="FAVTYPE">
<field elementname="FAVTYPE">
<name>FAVTYPE</name>
<type>CHAR</type>
</field>
</ctc-bapi:partbinding>
<ctc-bapi:partbinding name="MODIFICATN">
<field elementname="MODIFICATN">
<name>MODIFICATN</name>
<type>CHAR</type>
</field>
</ctc-bapi:partbinding>
</ctc:body>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="SMLG_MODIFYService">
<wsdl:port binding="SMLG_MODIFYBinding" name="SMLG_MODIFYServicePort"/>
</wsdl:service>
</wsdl:definitions>
>
My purpose is to create a .cproc file which will pass values to this wsdl file.I dont know how to pass as the table which the function module accepts as input is output in wsdl.so i am not aware how to pass value.Kindly help me out how to create a .cproc file for it
Thanks
NeetaIt is not finding the correct URL - hence the 404 - page not found error.
Correct the URL and try again. -
Problem with generating WSDL from ABAP
Hi all
I have encountered a problem.I created a WSDL from a ABAP program,but in the ABAP function module what it does is it inserts value onto a transparent table from a table which let me specify as a virtual table.So after generating the wsdl i am surprised to see the virtual table has come in the output part .I am unable to make out why this happened.
i am mentioning below the ABAP code which inserts value on to a transparent table from a virtual table
Code-Function module-smlg_modify
<u>virtual table Definition</u>
"table with items for insertion
DATA INS_TAB LIKE RZLLITAB OCCURS 0 WITH HEADER LINE.
DESCRIBE TABLE MODIFICATIONS LINES ITEMS.
LOOP AT MODIFICATIONS.
MODIFICATIONS-GROUPTYPE = GROUPTYPE.
CASE MODIFICATIONS-MODIFICATN.
WHEN 'I'. "insertion of an item
INS_TAB = MODIFICATIONS.
APPEND INS_TAB.
END LOOP
DESCRIBE TABLE INS_TAB LINES ITEMS.
IF ITEMS > 0.
INSERT RZLLITAB FROM TABLE INS_TAB-->(one i mentioned as virtual.)
ENDIF.
In such a case how comes the virtual comes as the output in wsdl
I am mentioning below the the wsdl
<----
>
<?xml version="1.0" encoding="ASCII"?>
<wsdl:definitions xmlns:ctc="http://sap.com/ctc" xmlns:ctc-bapi="http://www.sap.com/ctc/abapprovider" xmlns:ctc_ref="urn:example/encoded" xmlns:ctclib="http://sap.com/ctc/schema/lib" xmlns:plnk="http://schema.xmlsoap.org/ws/2003/05/partner-link" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="http://sap.com/ctc/services" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="SMLG_MODIFYServiceDefinition" targetNamespace="http://sap.com/ctc/services">
<wsdl:types>
<xsd:schema xmlns:tns="http://sap.com/ctc/services" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://sap.com/ctc/services">
<xsd:element name="GROUPTYPE" type="xsd:string"/>
<xsd:element name="SET_LOCK" type="xsd:string"/>
<xsd:complexType name="ERFC_MODIFICATIONS">
<xsd:sequence>
<xsd:element name="CLASSNUM" type="xsd:int"/>
<xsd:element name="CLASSNAME" type="xsd:string"/>
<xsd:element name="GROUPTYPE" type="xsd:string"/>
<xsd:element name="TIMERERD" type="xsd:int"/>
<xsd:element name="LOGRERD" type="xsd:int"/>
<xsd:element name="FAVTYPE" type="xsd:string"/>
<xsd:element name="MODIFICATN" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:element name="ERFC_MODIFICATIONS" type="tns:ERFC_MODIFICATIONS"/>
<xsd:element name="CLASSNUM" type="xsd:int"/>
<xsd:element name="CLASSNAME" type="xsd:string"/>
<xsd:element name="GROUPTYPE" type="xsd:string"/>
<xsd:element name="TIMERERD" type="xsd:int"/>
<xsd:element name="LOGRERD" type="xsd:int"/>
<xsd:element name="FAVTYPE" type="xsd:string"/>
<xsd:element name="MODIFICATN" type="xsd:string"/>
</xsd:schema>
</wsdl:types>
<wsdl:message name="SMLG_MODIFYInput">
<wsdl:part name="GROUPTYPE" type="xsd:string"/>
<wsdl:part name="SET_LOCK" type="xsd:string"/>
</wsdl:message>
<wsdl:message name="SMLG_MODIFYOutput">
<wsdl:part name="ERFC_MODIFICATIONS" type="tns:ERFC_MODIFICATIONS"/>
<wsdl:part name="CLASSNUM" type="xsd:int"/>
<wsdl:part name="CLASSNAME" type="xsd:string"/>
<wsdl:part name="GROUPTYPE" type="xsd:string"/>
<wsdl:part name="TIMERERD" type="xsd:int"/>
<wsdl:part name="LOGRERD" type="xsd:int"/>
<wsdl:part name="FAVTYPE" type="xsd:string"/>
<wsdl:part name="MODIFICATN" type="xsd:string"/>
</wsdl:message>
<wsdl:portType name="SMLG_MODIFYPT">
<wsdl:operation name="SMLG_MODIFYOperation">
<wsdl:input message="SMLG_MODIFYInput"/>
<wsdl:output message="SMLG_MODIFYOutput"/>
<wsdl:fault message="ctclib:BAPIException" name="BAPIException"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="SMLG_MODIFYBinding" type="SMLG_MODIFYPT">
<ctc:binding transport="com.sap.mw.jco"/>
<wsdl:operation name="SMLG_MODIFYOperation">
<ctc-bapi:function name="SMLG_MODIFY"/>
<wsdl:input>
<ctc:body encodingStyle="ctc:SCHEMA2ABAP">
<ctc-bapi:partbinding name="GROUPTYPE">
<field elementname="GROUPTYPE">
<name>GROUPTYPE</name>
<type>CHAR</type>
</field>
</ctc-bapi:partbinding>
<ctc-bapi:partbinding name="SET_LOCK">
<field elementname="SET_LOCK">
<name>SET_LOCK</name>
<type>CHAR</type>
</field>
</ctc-bapi:partbinding>
</ctc:body>
</wsdl:input>
<wsdl:output>
<ctc:body encodingStyle="ctc:SCHEMA2ABAP">
<ctc-bapi:partbinding name="ERFC_MODIFICATIONS">
<table elementname="ERFC_MODIFICATIONS" jcoName="ERFC_MODIFICATIONS">
<structure elementname="RZLLIMODGP" jcotype="RZLLIMODGP">
<field elementname="CLASSNUM">
<name>CLASSNUM</name>
<type>NUMC</type>
</field>
<field elementname="CLASSNAME">
<name>CLASSNAME</name>
<type>CHAR</type>
</field>
<field elementname="GROUPTYPE">
<name>GROUPTYPE</name>
<type>CHAR</type>
</field>
<field elementname="TIMERERD">
<name>TIMERERD</name>
<type>NUMC</type>
</field>
<field elementname="LOGRERD">
<name>LOGRERD</name>
<type>NUMC</type>
</field>
<field elementname="FAVTYPE">
<name>FAVTYPE</name>
<type>CHAR</type>
</field>
<field elementname="MODIFICATN">
<name>MODIFICATN</name>
<type>CHAR</type>
</field>
</structure>
</table>
</ctc-bapi:partbinding>
<ctc-bapi:partbinding name="CLASSNUM">
<field elementname="CLASSNUM">
<name>CLASSNUM</name>
<type>NUMC</type>
</field>
</ctc-bapi:partbinding>
<ctc-bapi:partbinding name="CLASSNAME">
<field elementname="CLASSNAME">
<name>CLASSNAME</name>
<type>CHAR</type>
</field>
</ctc-bapi:partbinding>
<ctc-bapi:partbinding name="GROUPTYPE">
<field elementname="GROUPTYPE">
<name>GROUPTYPE</name>
<type>CHAR</type>
</field>
</ctc-bapi:partbinding>
<ctc-bapi:partbinding name="TIMERERD">
<field elementname="TIMERERD">
<name>TIMERERD</name>
<type>NUMC</type>
</field>
</ctc-bapi:partbinding>
<ctc-bapi:partbinding name="LOGRERD">
<field elementname="LOGRERD">
<name>LOGRERD</name>
<type>NUMC</type>
</field>
</ctc-bapi:partbinding>
<ctc-bapi:partbinding name="FAVTYPE">
<field elementname="FAVTYPE">
<name>FAVTYPE</name>
<type>CHAR</type>
</field>
</ctc-bapi:partbinding>
<ctc-bapi:partbinding name="MODIFICATN">
<field elementname="MODIFICATN">
<name>MODIFICATN</name>
<type>CHAR</type>
</field>
</ctc-bapi:partbinding>
</ctc:body>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="SMLG_MODIFYService">
<wsdl:port binding="SMLG_MODIFYBinding" name="SMLG_MODIFYServicePort"/>
</wsdl:service>
</wsdl:definitions>
>
My purpose is to create a .cproc file which will pass values to this wsdl file.I dont know how to pass as the table which the function module accepts as input is output in wsdl.so i am not aware how to pass value.Kindly help me out how to create a .cproc file for it
Thanks
NeetaHello Anton,
where on the abap-server I can find the generated wsdl?
I have downloaded the wsdl to eclipse 3.3 and can call the webserrvice successfull.
But when I try o call the webservice with <netweaver-server>/wsnavigator, I can input the data-fields, but the request answer is that the web-service is not found on the given domain.
So I want manipulate the domain in the wsdl.
Best regards
Oliver Prodinger -
Problem while Calling Webservice from ABAP
Hello All,
I am Calling the Webservice using ABAP-Class from abap,i getting the following HTML response error from the Webservice.Can any one help me.
tional//EN">######
####td {font-family : Arial, Tahoma
, Helvetica, sans-serif; font-size : 14px;}##A:lin
k ##A:visited
##A:active ####
Thanks and Regards,
KamalIt is not finding the correct URL - hence the 404 - page not found error.
Correct the URL and try again. -
Problem while retrving data from a view
Hi Friends
i have a problem while retriving data from a view <b>v_t685a</b>.
the error message is :""" "V_T685A" is not defined in the ABAP Dictionary as a table, projection view or database view."""
i wrote : select single VTEXT1 from V_T685A into w_cst_jin1 where
KSCHL = 'JIN1' and
KAPPL = 'V'.
how to retrive the data.
waiting for quick response
Regards
MukeshHi
This is a Maintenance View, not a Database View
SO can't fetch data using select statement.
You can use the Table <b>T685</b> directly to fetch the condition Types data straight away instead of the view. write the same select for this table and use.
Regards
Anji
Message was edited by:
Anji Reddy Vangala -
i am facing problem while reading values from properties file ...i am getting null pointer exception earlier i was using jdeveloper10g now i am using 11g
hi TimoHahn,
i am getting following exception in JDeveloper(11g release 2) Studio Edition Version 11.1.2.4.0 but it works perfectly fine in JDeveloper 10.1.2.1.0
Root cause of ServletException.
java.lang.NullPointerException
at java.util.PropertyResourceBundle.handleGetObject(PropertyResourceBundle.java:136)
at java.util.ResourceBundle.getObject(ResourceBundle.java:368)
at java.util.ResourceBundle.getString(ResourceBundle.java:334)
at org.rbi.cefa.master.actionclass.UserAction.execute(UserAction.java:163)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178) -
Problem while selecting BELNR from BSEG
Hi Experts,
I have a report performance problem while fetching BELNR from BSEG table.
I have to print latest BELNR from BSEG where BUZID = M but at the time of execution of report, It is taking too much time (More that hour and sometimes it gets hanged).
I have also gone through the comments provided by experts for previous problems asked in this forum e.g. BSEG is a cluster table that is why data retrieval takes long time etc.
Can any one has any other idea or suggestion or any other way to solve this problem
Regards,
NeerajHi,
1) Try to create an index on BUZID field
2) Don't use SELECT/ENDSELECT statement. Instead of that extract all the concerned entries from BSEG into an internal table :
select belnr from bseg appending table itab where buzid = 'M'.
then do this :
sort itab by belnr.
describe itab lines n.
read table itab index n.
Please reward if helpful.
Regards,
Nicolas. -
Im having problem while transferring songs from PC to Ipod. Ive followed all steps 'File<Add to Library' but i cant find songs in my ipod. Ive also synced the ipod and backup as well but still same. what to do?
Try:
iTunes: Finding lost media and downloads
iTunes: How to re-create your iTunes library and playlists
Next try:
Downloading past purchases from the App Store, iBookstore, and iTunes Store
Also:
Recovering your iTunes library from your iPod or iOS device: Apple Support Communities -
Problem while loading data from ODS to infoobject
Hi guys,
I am facing problem while loading data from <b>ODS to infoobject</b>.
If I load data via PSA it works fine but
if I load data without PSA its giving error as Duplicate records.
Do u have any idea why it is so.
Thanks in advance
savioHi,
when you load the data via the PSA, what did you select? Serial or Paralel?
If you select serial most likely you don't have duplicates within the same datapackage and your load can go through.
Loading directly in the IObj will happen thefore if you have the same key in two different packages, the "duplicate records" will be raised; you can perhaps flag your IPack with the option "ignore duplicate records" as suggested...
hope this helps...
Olivier. -
Problem while reading data from Serial Port
Hi All,
I am facing some problem while reading data from Serial Port.
As per the requirement I am writing the data on Serial Port and waiting for response of that data.
Notification for data availabilty is checked with method public void serialEvent(SerialPortEvent event) of javax.comm.SerialPortEventListener.
When we are writing data on the port one thread i.e. "main" thread is generated and when data availability event occures another thread "Win32SerialPort Notification thread" is generated. This creates problem for me as we can't control thread processing.
So can anybody pls explain me how to overcome this problem?
Regards,
NehaMy Problem is:-
I am simoultaneouly wrting data on port & reading data from port.
First I write data on port using outputStream.write() method. Now when target side sends me response back for the request on serial port DATA_AVAILABLE of SerialPortEventListner event occured,we are reading data from serial port.Now till the time we didn't get the response from target next command can't be written on the serial port. When we are writing data on port main thread is executed.Now my problem starts when DATA_AVAILABLE event occured.At this point another thread is created.Due to this my program writes data of next command without reading response of previous command.To solve this prob. I have used wait() & notify() methods as follows.But again due to this my pc hangs after execution of 2 commands. (PC hang in while loop in a code provided below.)
From SOPs I could figure it out that after 2 commands we are not able to write data on serial port so DATA_AVAILABLE event doesn't occure n pro. goes in wait state.
Can anybody help me to solve this issue.
Neha.
Code:
public void serialEvent(SerialPortEvent event)
switch (event.getEventType())
case SerialPortEvent.BI:
case SerialPortEvent.OE:
case SerialPortEvent.FE:
case SerialPortEvent.PE:
case SerialPortEvent.CD:
case SerialPortEvent.CTS:
case SerialPortEvent.DSR:
case SerialPortEvent.RI:
case SerialPortEvent.OUTPUT_BUFFER_EMPTY:
break;
case SerialPortEvent.DATA_AVAILABLE:
try
dataThread = Thread.currentThread();
dataThread.setPriority(10);
dataAvailable = true;
byte[] tempArray=new byte[availableBytes];
inputStream.read(tempArray);
catch (IOException io)
SOP(io, "Error in serialEvent callback call for event DATA_AVAILABLE");
public void writetoPort(byte[] data) throws IOException
outputStream.write(data);
while(finalTimeOut >= actualTime)
if( ! dataAvailable)
actualTime = System.currentTimeMillis();
else
synchronized (mainThread)
mainThread = Thread.currentThread();
mainThread.wait();
public void sendDatatoUser(byte[] b) throws Exception, HWCCSystemFailure
obj.returnData(b);
synchronized(mainThread)
mainThread.notify();
-
Problems While Extracting Hours From Date Field
Hi Guys,
Hope you are doing well.
I am facing some problems while extracting hours from date field. Below is an example of my orders table:-
select * from orders;
Order_NO Arrival Time Product Name
1 20-NOV-10 10:10:00 AM Desktop
2 21-NOV-10 17:26:34 PM Laptop
3 22-JAN-11 08:10:00 AM Printer
Earlier there was a requirement that daily how many orders are taking place in the order's table, In that I used to write a query
arrival_time>=trunc((sysdate-1),'DD')
and arrival_time<trunc((sysdate),'DD')
The above query gives me yesterday how many orders have been taken place.
Now I have new requirement to generate a report on every 4 hours how many orders will take place. For an example if current time is 8.00 AM IST then the query should fetch from 4.00 AM till 8 AM how many orders taken place. The report will run next at 12.00 PM IST which will give me order took place from 8.00 AM till 12.00 PM.
The report will run at every 4 hours a day and generate report of orders taken place of last 4 hours. I have a scheduler which will run this query every hours, but how to make the query understand to fetch order details which arrived last 4 hours. I am not able to achieve this using trunc.
Can you please assist me how to make this happen. I have checked "Extract" also but I am not satisfied.
Please help.
Thanks In Advance
Arijityou may try something like
with testdata as (
select sysdate - level/24 t from dual
connect by level <11
select
to_char(sysdate, 'DD-MM-YYYY HH24:MI:SS') s
, to_char(t, 'DD-MM-YYYY HH24:MI:SS') t from testdata
where
t >= trunc(sysdate, 'HH') - numtodsinterval(4, 'HOUR')
S T
19-06-2012 16:08:21 19-06-2012 15:08:21
19-06-2012 16:08:21 19-06-2012 14:08:21
19-06-2012 16:08:21 19-06-2012 13:08:21
19-06-2012 16:08:21 19-06-2012 12:08:21trunc ( ,'HH') truncates the minutes and seconds from the date.
Extract hour works only on timestamps
regards
Edited by: chris227 on 19.06.2012 14:13 -
Error while sending email from ABAP
Hi
I am using function module SO_NEW_DOCUMENT_ATT_SEND_API1 to send the email to an external id.
In the debugging mode i can see the function module is getting executed successfully i.e sy-surc value is 0.
But i am getting a sucess message i.e "No message sent".
Has anybody faced this kind of problem.Please let me know how to rectify this error
Thanks
DebrajHi Deb,
Have you done the relevant configuration in SCOT transaction to connect to a SMTP server and also as per note 455140???
Also this blog from Thomas Jung could help you...
/people/thomas.jung3/blog/2004/09/08/sending-e-mail-from-abap--version-610-and-higher--bcs-interface
Cheers
JK -
Problem to Import WSDL from MII in SAP Netweaver
Hi everyone,
i'm tryng import a wsdl from MII (WebService Transaction) but when i create the adaptative web service model in webdynpro project and insert the WSDL URL, show this error message:
"The WSDL contains neither services, bindings or porttypes and can therefore not be processed".
I have read some tutorials for connect webdynpro and mii and i think that my procedure is correct.
With others webservices for exmple for sap EC i don´t have this problem.
Someones knows what´s can be the problem?
Thank YouHi,
WSDL is a XML document contains type, message, operation, binding, port, service tags. so check your WSDL document contains all these tags with appropriate information.
We can generate WSDL XML document from MII by executing a transaction.
http://<server name>:<port>/XMII/WSDLGEN/<transaction name>
To test SOAP protocol : http://<server name>:<port>/XMII/SOAPRunner/<transaction name>
Kindly ensure all the configuration settings.
Thanks
Rajesh Sivaprakasam. -
Problem while passing parameter from report to report.
Hi
I'm using forms and reports 10g, hava a problem while passing the parameter from reports to report.
i'm using srw.set_hyperlink to call report from report.
i have created a key value in the cgicmd.dat file called
faccre802005-2006: report=faccre80 destype=cache desformat=pdf userid=<userid/passwd@cs> server=<servername>
Now in the format trigger i'm using this key value
function BTN_DEBITFormatTrigger return boolean is
temp varchar2(5000);
IP_ADDRESS VARCHAR2(50);
SERVER_NAME VARCHAR2(10);
L_ACCT_CODE VARCHAR2(14);
begin
SELECT MAST_INT_DESC,MAST_USER_PGM_ID INTO IP_ADDRESS,SERVER_NAME FROM MAST_INT_INFO WHERE MAST_INT_ID='VISHWA';
temp := IP_ADDRESS||'?faccre80'||:P_FIN_YEAR||'+server='||server_name;
temp :=temp ||'+'||'P_PREVIOUS_CODE='''||:ACCT_CODE||''''||'+'||'P_COMPANY_CODE='''||:P_COMPANY_CODE||'''';
temp :=temp ||'+'|| 'P_FROM_DATE='''||TO_CHAR(:P_FROM_DATE,'DD-MON-RRRR')||''''||'+'|| 'P_TO_DATE='''||TO_CHAR(:P_TO_DATE,'DD-MON-RRRR')||''''||'+'||'P_TRUST_CODE='''|| :P_TRUST_CODE||'''';
temp :=temp ||'+'|| 'P_UNIT_CODE='''||:P_UNIT_CODE||''''||'+'||' P_FIN_YEAR='''||:P_FIN_YEAR||'''';
temp :=temp ||'+'|| 'P_LEVEL='''||:P_LEVEL||''''||'+'||'P_HEADER='''||replace(:P_HEADER,' ','%20')||''''||'+'||'P_FORMAT='''||:P_FORMAT||'''';
SRW.Set_Hyperlink(temp);
END;
return (TRUE);
end;
Report is coming but not the expected result because parmaeters are not coming from first report to second report.
If i dont use cgicmd file userid and password are displyed in the URL.
Pl tell me how to pass parameter from one report to another.
thanks and regardsHi
I got the solution.
I forgot to add %* at end of the KEY value. -
Problem while using trigger from line of 6534
I have faced some problems while using triggering with 6534. They are listed below. Please provide solution me.
1. ) i was using pattern input with triggering(buffered) in which i am using the example given in library buffered pattern input-triggered.vi
Now i am using port 0 to take input. From line 0 of port 2 i want to generate a pulse which can trigger the operation & start acquisition. For that i am using write to single line.vi . My DPULL is open so bydefault the line will be at low level & by vi i will make it high which will trigger the operation.
In normal condition if we use write to a single line.vi it will write the given status on that line within a fraction of second and abort execution. But when i am usin
g it for trigger in following manner, it did not work.
First i started the VI buffered pattern input-triggered.vi.I have configured the start trigger with leading edge trigger. I have set the time limit properly.Synchronous operation is set at the front panel of vi.
Now if start the write to a single line.vi to give start trigger, nether it triggered the operation,nor it abort execution of single line write vi.When time out occured in triggered vi, then both vis stopped simultaneously. Why this happened?
2.) Similar problem i faced when i wanted to perform the change detection.vi Port 0 is configured for input.Line 1 to 7 are fixed with some status by connecting them to Vcc or GND. I have connected port 0 line 0 with port 2 line 0. So when i change status of line 0 of port 2 change detection should be occured o port 0. i am changing the status of line 0 of port 2 by write to a single line.vi But here i faced same problem as first that it was not writing to port 0 line 0. And bo
th process stopped when time limit occured in change detection vi.
So what can be the problem? Please help me.Hi Vishal,
1) You should check to see that when you are writting a static 1 to line 0 you see a pulse high. You should also make sure that you wire this line to the STARTTRIG for group 0.
2) If you solve question 1 you will also have question 2 solved.
It might be helpful to create a program that configures both programs (pattern I/O on port 0 and static I/O on port 2) in the same program and then starts both groups. I would do a little testing to see exactly what signals you do or do not see.
Ron
Maybe you are looking for
-
HT4783 Why can I not airdrop between my iMac and iPad Air?
Is there a way to airdrop between my iMac and iPad Air?
-
Could i upload the moive which taken by sony nex-3 to ipad2 and play it on it ?
I have tried to use the camera connection kit to upload the moives which were taken by sony Nex-3 to my ipad 2. The photo and the moive files were uploaded to Ipad2 successfully but I can't play the moives. It shown as a MP4+thx symbol on the file on
-
How to change sequence of variable entries in a WebTemplate?
WebApp Designer Gurus! I have a WebTemplate with 2 dataproviders (queries). One query has following order of variables set in query properties (using query designer): A B C Second query does not have A variable, and has following order of variables:
-
Miro to be booked @ purchase order amount.
Dear All, I had a query related to MIRO-when we book MIRO on a purchase order , we can only book as per the quantity in GR.Is there a way that i can control the amount while booking the MIRO i.e tolerance +- 15000/- or smaller amount.right now i can
-
Is my recovery I'd the same as my alternate ID and if not how do I set up my recovery ID
Please help