on 01-15-2013 4:33 PM
Hi All,
Am facing an another issue with MIME file i.e. update and release ,
Am able to update the XML in the MIME using the below code for first time, but its not updating for the 2nd time...its updating only when I closes the browser...so what I understood is... the XML is still in use after the first time I updated.
CONCATENATE '<chart numberPrefix='''' yAxisName=''PAY''xAxisName=''RAJESH'' caption=''Weekly Sales Summary''> '
'<set value=''14400'' label=''1st Week ''/> '
'<set value=''19600'' label=''2nd Week ''/>'
'<set value=''24000'' label=''3rd Week ''/>'
'<set value=''15'' label=''4th Week ''/> '
'</chart>' INTO XMLDATA_STR.
CALL FUNCTION 'SCMS_STRING_TO_XSTRING'
EXPORTING
TEXT = xmldata_str
* MIMETYPE = ' '
* ENCODING =
IMPORTING
BUFFER = xmldata.
mr->PUT(
exporting
I_URL = '/sap/bc/webdynpro/sap/Z_FUSIONDEMO/Data.xml' " Object URL
I_CONTENT = xmldata " Object Contents (if exists -> overwrite contents)
).
****************** XML read
mr->GET(
exporting
I_URL = '/sap/bc/webdynpro/sap/Z_FUSIONDEMO/Data.xml' " Object URL
importing
E_CONTENT = XMLDATA1 " Object Contents
).
cl_abap_conv_in_ce=>create(
EXPORTING
encoding = 'NON-UNICODE'
endian = 'L'
RECEIVING
conv = conv
).
conv->convert(
EXPORTING
input = XMLDATA1 " type xstring
IMPORTING
data = XMLDATA_STR1 " type string
).
Am getting the update data on text message , but its not updating on IFrmae,..please suggest me how can I close the XMl after I update ..so that which can be accessable to IFrame
Closed
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.