Generate transformation in ABAP
Hi,
i need to create a transformation with an expert routine dynamicallyy in ABAP ?
(expert routine contailns always the same coding)
Any idea?
regards
rouzbeh
Edited by: Roozbehan on May 26, 2010 9:50 AM
Hi,
my problem is modifying a standard dso from an internal table which contains modified entries
from active table of dso.
Edit DSO Entries
I want to modify dso via a request (in order to modify all three tables automaticcaly)
i need to start a dtp.
as i have no transformation manually created in bi, my idea is to create dynamiccaly a dtp
which calls my coding in exper routine.
thanks
Similar Messages
-
Error when generate Transformation- GP_ERR_RSTRAN_MASTER_TMPL related
Dear all:
We created transformation for cube 0PA_C01 and infoSource 0HR_PA_1 based on 3.x transfer rule. When we performed "Check", it is done successfully with any error. But during activation, there s syntax error occurred in program "GP_ERR_RSTRAN_MASTER_TMPL". And error lines are as following--
line 2815:
"Field "_B_1-MVIEW-CO_AREA" is unknown. It is neither in one of the spe"
"cified tables nor defined by a "DATA" statement. "DATA" statement. "DA"
"TA" statement."
Also there are two error message generated :
RSTRAN511- Error During generation
RSO404 - Error when activating Transformation 0ERUYQ8XMDJS1DP5U5U7HTBBNBME3GOE
Any thought please ~~~
BR
SFHi
Iam creating transformations for 0IC_C03. Iam facing problem in activating the transformations successfully. Some times it is throughing the above said error and some other times it is throughing the error ASSIGN_TYPE_CONFLICT. I searched forums almost a day and i found that SP 9 is unstable in which we are now and experts suggesting to upgrade to SP10 or SP12. But the problem is client is not willing to go to SP upgradation now. I have no clue now. I almost spend two days on this. But on the other hand iam able to generate transformations successfully and able to load data for other cube 0SD_D04.
kindly suggest any one to get rid of this issue. Iam running out of time.
Thanks
Kumar -
Table maintenance generator in webdypro abap
Hi Experts,
Please can you suggest how to implemnt Table maintenance generator in webdypro abap.
Regards,
BBCHi,
Thanks for your inputs,
Now I have included add, modify, delete and save functionalities to ALV table.
Here What I did, fist it shows the list of records from data base table with ALV table as ready only mode.
Then
If we click on add button then last row will add with editable mode,
If we select a row and click on modify button then in that row fourth field only editable (because first three are primary key fields).
If we select row and click on delete then record deleted and updated in database table.
If click on save button, it captures the modified ones then saved.
if we test individual functionality, it is working fine.
If we do fist add functionality then after saving if we click on modify row then it is showing total row as in editable mode.
Here as per modify fyctionlaity in that row fourth field only have to show editable.
Please can you suggest how to resolve this issue?
Regards,
BBC
Edited by: BBC Achari on Sep 7, 2011 9:23 AM -
Hello.
Well, this message try to get any primary information about SAP ABAP Transformations. While I get some answers, I'll read about SAP Transformations with ABAP, but maybe my solution can be answer it by some of you, because is too easy than I'm thinking.
1. - I need to read a string with tags, and convert it to a itab, and
2. - i need to write a string with tags, from itab data.
The tags definition is:
<IFX>
<SignonRq>
<SignonPswd>
<CustId>
<SPName></SPName>
<CustPermId></CustPermId>
<CustLoginId></CustLoginId>
</CustId>
</SignonPswd>
<ClientDt></ClientDt>
</SignonRq>
<PresSvcRq>
<BillInqRq>
<RqUID></RqUID>
<MsgRqHdr>
<NetworkTrnInfo>
<NetworkOwner></NetworkOwner>
<OriginatorName></OriginatorName>
<TerminalId></TerminalId>
<BankId></BankId>
</NetworkTrnInfo>
</MsgRqHdr>
<CustId>
<CustIdType></CustIdType>
<CustIdNum></CustIdNum>
</CustId>
<BillerId>
<SPName></SPName>
<BillerNum></BillerNum>
</BillerId>
<BillId></BillId>
<SelRangeDt>
<StartDt></StartDt>
</SelRangeDt>
</BillInqRq>
</PresSvcRq>
<SignoffRq>
<CustId>
<SPName></SPName>
<CustPermId></CustPermId>
<CustLoginId></CustLoginId>
</CustId>
</SignoffRq>
</IFX>
Please, SAP Transformations can help me? How can I create the transformation file and ABAP code, according these definition?
Thanks in advance.Hi,
my problem is modifying a standard dso from an internal table which contains modified entries
from active table of dso.
Edit DSO Entries
I want to modify dso via a request (in order to modify all three tables automaticcaly)
i need to start a dtp.
as i have no transformation manually created in bi, my idea is to create dynamiccaly a dtp
which calls my coding in exper routine.
thanks -
QUERY_VIEW_DATA generates exception in ABAP code
Hi,
I have activated service QUERY_VIEW_DATA in SAP BW environment 7.0 service pack: SAPKW70008
During testing of the webservice I encounter an exception in source code on the ABAP side:
CL_SRG_RFC_PROXY_CONTEXT======CM002
THe following statement generates the exception:
-7b- deserialize data
SRT_TRACE_WRITE_PERF_DATA_BEG 'FM_PROXY->DESERIALIZE'. "#EC NOTEXT
call transformation (template)
source xml l_xr
result (st_to_abap).
SRT_TRACE_WRITE_PERF_DATA_END 'FM_PROXY->DESERIALIZE'. "#EC NOTEXT
The call transformation dumps immediately.
Value of TEMPLATE = /1BCDWB/WSS0041112143114038399
I tried all threads in SDN but to no avail.
Has anybody encountered the same error?
kind regards,
PaulHi Arun,
I logged in to Web Service Navigator and i get to the screen where it asks me to enter Info provider, Selection variables, Query name and View id. Since my Query does not have any selection parameters i only entered Info provider and Query name and left selection and view id
when i execute i get two boxes one for Request and other for Response. On top of these box i have InvalidVariableValues error message...Complete response message is as follows
HTTP/1.1 500 Internal Server Error
Set-Cookie: <value is hidden>
Set-Cookie: <value is hidden>
content-type: text/xml; charset=utf-8
content-length: 600
accept: text/xml
sap-srt_id: 20100830/133557/v1.00_final_6.40/4C7B07E332A20095E10080000A754720
server: SAP NetWeaver Application Server / ABAP 701
<soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/"><soap-env:Header></soap-env:Header><soap-env:Body><soap-env:Fault><faultcode>soap-env:Client</faultcode><faultstring xml:lang="en">InvalidVariableValues</faultstring><detail><n0:GetQueryViewData.Exception xmlns:n0="urn:sap-com:document:sap:soap:functions:mc-style"><Name>InvalidVariableValues</Name><Text>Incorrect call of OLAP layer CL_RSR_OLAP; error in BW-BEX-ET ()</Text><Message><ID>BRAIN</ID><Number>369</Number></Message></n0:GetQueryViewData.Exception></detail></soap-env:Fault></soap-env:Body></soap-env:Envelope>
Thanks
Surya -
Simple Transformation from ABAP to XML and back
Hi experts,
Can anyone provide me a simple example of a 'simple transformation' that will convert and internal table with more than one column into XML via a simple transformation.
I've spend days now reading SAP help and e-learning examples, but this just won't work and I am getting short dumps saying 'The goal was to access variable "ROOT". However, this access was notv possible.'
Here is my ABAP:
data: begin of struc,
counter type i,
aname type string,
aname2 type string,
end of struc.
data: cnt_c type c.
data: itab like table of struc with HEADER LINE,
xml_string type xstring.
do 3 times.
move sy-index to: itab-counter, cnt_c.
concatenate 'nameA' cnt_c into itab-aname.
concatenate 'nameB' cnt_c into itab-aname2.
append itab.
enddo.
CALL TRANSFORMATION Z_ST_TEST5
SOURCE ROOT = itab
RESULT XML xml_string.
CALL FUNCTION 'DISPLAY_XML_STRING'
EXPORTING
XML_STRING = xml_string.
skip 1.
and here is my ST:
<?sap.transform simple?>
<tt:transform xmlns:tt="http://www.sap.com/transformation-templates">
<tt:root name="ROOT"/>
<tt:template>
<TABLE>
<tt:loop ref=".ROOT" name="line">
<ITEM>
<counter>
<tt:value ref="$line.aname" />
</counter>
<name>
<tt:value ref="$line.aname" />
</name>
<name2>
<tt:value ref="$line.aname2" />
</name2>
</ITEM>
</tt:loop>
</TABLE>
</tt:template>
</tt:transform>Figured it out. The interla tables used in teh call transformation statement can never have a header line.
-
Problem with "CALL Transformation" in ABAP
Hello All,
I am creating XML from ABAP program and using CALL TRANSFORMATION. Everything works fine but when my XML is created sometimes in some "element" values it is truncating space between the texts. For example, I have a field "description" with value "Bon Apetite" it changes to "BonApetite" (space truncated) after transformation! I did research everywhere but could not find why this would happen! Please give me any feedback if you have any information.
Thanks.
MithunHello Mithun,
when you use the call transformation statement you have to specifiy the xslt transformation used. As a first step you usually use the transformation with the name ID. This is a special transformation for making the asXML representation of abap data. Unfortunately if you look into this transformation you find the following:
<xsl:transform version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
>
<xsl:strip-space elements="*"/>
<xsl:template match="/">
<xsl:copy-of select="."/>
</xsl:template>
</xsl:transform>
If I remember correctly when you use another transformation this will first call the ID transformation and after this the specified one. So it should not be possible to just copy ID transformation and remove the line. I'll have to think again how to avoid the behaviour.
Best Regards
Roman -
Dynamic XSLT Transformation for ABAP
Hi Team,
I have a simple requirement, but could not get it to work. Tried different posts but need some help.
I have an input XML file as follows:
<ITEM>
<ITEMQUALF>
<MATERIAL>
<UPC>
<VENDORMATERIAL>
<ITEM>
I created my internal table with the exact fields as above and created a transformation which works fine. The problem is, there are scenario's where only one tag "MATERIAL", "UPC", OR "VENDORMATERIAL" is passed in the input XML. Empty tags are not passed. For E.G.
<ITEM>
<ITEMQUALF>
<UPC>
<ITEM>
My transformation fails in this scenario because it does not finds the MATERIAL and VENDORMATERIAL tags. I tried using the <tt:cond/> tag, but no luck. I have some specific questions:
1) How to take care of this scenario where empty tags are not passed? (I have the Superset of all the Tags available in an XSD). A quick Sample would help me a lot because I have spent weeks breaking my head with this.
2) Is there any other method or Option to parse a very larger input file (~40 MB) as above? I have seen the iXML ABAP methods but don't know if we should use XSLT or iXML or is there any other method. We don't have XI in our landscape. Our system is ECC 6.0, ABAP 7.0 - SP 17, Enhancement Pack 3.
Any pointers would help a lot. Thanks for your time.
Regards
SanjayHello Sanjay
In such a scenario I usually make pre-transformation filling the missing elements before the main mapping.
Input:
<?xml version="1.0" encoding="utf-8"?>
<List>
<ITEM>
<ITEMQUALF/>
<MATERIAL/>
<UPC/>
<VENDORMATERIAL/>
</ITEM>
<ITEM>
<ITEMQUALF/>
<UPC/>
</ITEM>
<ITEM>
<MATERIAL/>
</ITEM>
</List>
XSLT Mapping (XML to XML):
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:template match="*">
<List>
<xsl:for-each select="ITEM">
<xsl:element name="ITEM">
<xsl:element name="ITEMQUALF">
<xsl:value-of select="ITEMQUALF"/>
</xsl:element>
<xsl:element name="MATERIAL">
<xsl:value-of select="MATERIAL"/>
</xsl:element>
<xsl:element name="UPC">
<xsl:value-of select="UPC"/>
</xsl:element>
<xsl:element name="VENDORMATERIAL">
<xsl:value-of select="VENDORMATERIAL"/>
</xsl:element>
</xsl:element>
</xsl:for-each>
</List>
</xsl:template>
</xsl:stylesheet>
Resulting XML:
<?xml version="1.0" encoding="UTF-8"?>
<List>
<ITEM>
<ITEMQUALF/>
<MATERIAL/>
<UPC/>
<VENDORMATERIAL/>
</ITEM>
<ITEM>
<ITEMQUALF/>
<MATERIAL/>
<UPC/>
<VENDORMATERIAL/>
</ITEM>
<ITEM>
<ITEMQUALF/>
<MATERIAL/>
<UPC/>
<VENDORMATERIAL/>
</ITEM>
</List>
Regards
Uwe -
Hi all,
I am setting up a tool that counts the number of specific lines written for a SAP project, for KPI purpose. It is already working for reports, includes, functions (group and functions), classes, BSP applications and so on....
I am now looking for a way to count the lines of codes written in a Webdynpro ABAP application. Does anyone knows where is the code generated? In what format (classes, reports) ?
Quick and Helpful answers will be highly rewarded.
YannHi Yann,
Code will be generated as class. IF you want the class name of current webdynpro component that is generated, right click on the webdynpro component -> select check -> extended syntax check. New window will be opened in which program name will be specified. Remove the "" ==CP" suffix and remaining part is the class name of the current webdynpro component.
Thanks,
Prashanth -
Problem with CALL TRANSFORMATION xml - abap
Hello!
I got the following problems using call transformation to read a xml-file to local abap datatype!
Simple xml file for testing:
<BMECAT>
<HEADER>
asdf
</HEADER>
</BMECAT>
XSLT file:
<xsl:transform xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:sap="http://www.sap.com/sapxsl" version="1.0">
<xsl:template match="/">
<xsl:value-of select="./BMECAT/HEADER"/>
</xsl:template>
</xsl:transform>
The xslt transformation works with xslt-tester!
My Source:
DATA: xmlupl TYPE string,
outputx TYPE XSTRING,
lv_string TYPE string.
* in xmlupl my xml import is stored
CALL FUNCTION 'SCMS_STRING_TO_XSTRING'
EXPORTING
text = xmlupl " variable type string
IMPORTING
buffer = outputx. " variable type xstring
TRY .
CALL TRANSFORMATION path_to_xslt_file
SOURCE XML outputx
RESULT HEADER = lv_string.
CATCH cx_xslt_exception INTO xslt_error.
data: xslt_message type string .
xslt_message = xslt_error->get_text( ).
ENDTRY.
After debugging in xslt_message is stored the following text:
"The element abap was expected for the XML-ABAP transformation"
Can anyone help me with this problem?
Regards,
Danielhi
good
try this code
Just look at this piece of code, I think it should help you.
DATA : ITAB TYPE TABLE OF SPFLI,
L_XML TYPE REF TO CL_XML_DOCUMENT.
SELECT * FROM SPFLI INTO TABLE ITAB.
CREATE THE XML OBJECT
CREATE OBJECT L_XML.
CONVERT THE DATA TO XML
CALL METHOD L_XML->CREATE_WITH_DATA( DATAOBJECT = ITAB[] ).
DATA IS CONVERTED TO XML; DISPLAY THE XML-DOCUMENT
CALL METHOD L_XML->DISPLAY.
thanks
mrutyun^ -
dear abap experts,
i currently want to read an xml file and convert it to an internal table in abap program.
in sap help, i find TRANSFORMATION, but the example there is convert from data in abap to xml format.
i have tried to convert from xml file to data in abap program and i face a short dump with error message XML_FORMAT_ERROR. do i need to make a proper structure for keeping my xml format ?
or is there something miss in my program ?
beside using transformation, is there any way to convert string that content xml file content to an internal table ?
please advice
regards
eddhie<i>XML_FORMAT_ERROR</i>
this happens if the XML is not well formed. to make sure its well formed, just copy paste the xml in question into a notepad and save it as .xml. now double click it, it should open in Internet explorer and show the xml in tree format. if the xml is not well formed, browser wont render it and throw error message.
if the xml is a small document, post it here we can see whats wrong.
to convert XML to ABAP you can use CALL TRANSFORMATION key word which will require to you do develope XLST program to do the conversion.
of you can use FM SMUM_XML_PARSE.
(search this forum, i have already provided code sample for this FM)
Regards
Raja -
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 -
XML Transformation error (ABAP -- XML)
Hi,
I'm getting the foll. error while doing a XML Transformation, Can anyone help me in this regard..
<FIN_WT>56.0</FIN_WT>
<FIN_WT_UNIT>KG</FIN_WT_UNIT>
<ZZQMNUM />
<ZZHOLD />
<ZZDUMATNR
The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.
The following tags were not closed: asx:abap, asx:values, OUTPUT, item. Error processing resource 'file:///C:/Documents and...
> />
<PSP_NR>U5/0626-HT-193-1-36-344</PSP_NR>
<ZZCRTNAME>ALFI</ZZCRTNAME>
<ZZAPPNAME>ALFI</ZZAPPNAME>
Regards
Jikuare you trying to transform XML to itab?
is the xml well formed one - you can check this by running the xml file in webbrowser, if it doesnt display, then it means the xml is not well formed.
Regards
Raja -
About single transformation in ABAP
Hi gurus,
We are trying to use single transformation to change an ABAP internal table to xml.
Our structure of internal table is like below:
DATA: BEGIN OF I_TOXML,
A TYPE CHAR10,
B TYPE CHAR10,
END OF I_TOXML.
The xml after transformation should be the following way:
<?xml version="1.0" encoding="UTF-8" ?>
<ufinterface billtype="bscubas" filename="test.xml">
<basdoc id="A">
<basdoc_head>
</basdoc_head>
</basdoc>
</ufinterface>
The node basdoc can be unbounded, while basdoc_head only occur once. The attribute "id" for basdoc is the value of varible A of internal table.
Any help will be appreciated.
Moderator message: there is plenty of documentation on "simple transformations" to XML, please read that before asking for basic how-to.
Edited by: Thomas Zloch on Nov 4, 2010 9:32 AMhi
use this links
INNER JOIN and OUTER JOINhttp://help.sap.com/erp2005_ehp_03/helpdata/EN/cf/21ec77446011d189700000e8322d00/frameset.htm
JOINED TABLES
http://help.sap.com/erp2005_ehp_03/helpdata/EN/0f/49bd6a5d5049edba7b3afe6c7956e3/frameset.htm
u will find all thins related to joins with example and how to use it
Cheers
Snehi
Edited by: snehi chouhan on Jul 25, 2008 9:45 AM -
Client Proxy : How to Call Outbound Generated Proxy in ABAP report ?
Dear SDNrs.
I have already created a Scenario for Client/ Outbound Proxy in XI .
I have already Generated Client/ Outbound Proxy in ECC .
Now Question is How to call this generated Proxy in report ?
Please Guide ..... I dont have any idea ...
1. before calling any proxy in report what information needs to collect from generated Proxy ?
2. How to call this generated Proxy in report ?
Regards
Prabhat Sharma.Hi Prabhat
You have to use your knowledge about ABAP OO for this.
It's simple. You created your Proxy Object throught SPROXY transaction, right? Now, you have to instance your class (information avaliable in SPROXY-> Proxy Objetc -> Class Name) and to use the method displayed there.
Follow an example:
DATA: wa_backfeed TYPE zibrsapglbackfeed_sapgl,
wa_output TYPE zibrsapglrequest,
lo_clientproxy TYPE REF TO zibrco_sapgl_out,
lo_sys_exception TYPE REF TO cx_ai_system_fault.
TRY.
CREATE OBJECT lo_clientproxy.
CALL METHOD lo_clientproxy->sapgl_out
EXPORTING
output = wa_output.
CATCH cx_ai_system_fault INTO lo_sys_exception.
lo_sys_exception->if_message~get_text( ).
ENDTRY.
Maybe you are looking for
-
Control lifespan of modern apps from powershell
Hello, I want to launch modern IE from a powershell script, and execute an action in that script when the user closes IE. this is easy with regular programs as you can control the processes or simply wait for the return of a command. To launch modern
-
How to get ISO-8859 characters from DOM ?
Hi, I have problems to get the ISO-8859 characters from the DOM. I parse a XML file and read the values from the DOM. All "umlauts" are scrambled. The details: The first line of the XML file is: <?xml version="1.0" encoding="ISO-8859-1"?> It contains
-
Compare PDF Docs From The Command Line
Hi All, I love the compare PDF that you get in Adboe professional - Its awesome. Does anyone know if you can script this to diff an entire folder of pdfs? I m happy to program this but do not know where to start / where the API is and whether it is p
-
I have canon lbp7750cdn printer. i assigned ip 192.168.1.50 to it to install as network printer. after a few unsuccessful attempts realised the ip was already assigned elsewhere, hence changed ip to 192.168.1.60 and the printer worked. but now when i
-
Display clip duration between markers in canvas window?
I can do this in Avid- but can not seem to figure it out in FCP. There are two TC windows in each canvas window. Is there any way to set them to display the clip duration between markers? In other words- I would like to see the duration between and I