Text format in XML is converted somehow to number in report
Hi all,
We have the following XML generated by siebel:
<ssLfRmYearlyIncome>242.000 kr</ssLfRmYearlyIncome>
<ssLfRmYearlyIncome1>363.000 kr</ssLfRmYearlyIncome1>
In our RTF template the form fields have bee defined as 'Regular Text' with the folmula
<?ssLfRmYearlyIncome?>
<?ssLfRmYearlyIncome1?>
However, when running the report it is converted/changed to:
Yearly Income: 363,00 kr
Yearly Income: 242,00 kr
How is this possible when it has been defined as text?!
Any advice on how to solve this?
Regards,
Hakan
Hi ,
I tryed with the same xml tag u pasted here..its working fine.
<ssLfRmYearlyIncome>242.000 kr</ssLfRmYearlyIncome>
<ssLfRmYearlyIncome1>363.000 kr</ssLfRmYearlyIncome1>
Check it once....
Thanks,
Ananth
Similar Messages
-
Using File Content Conversion converting XML format to text format
Hi All,
I am able to convert to Text format using file content conversion, But the requirement is to convert the same for the structure with additional subnodes as in the example (also complex nested structures)
<ns0:SendXSDEmployeeDetails xmlns:ns0="http://ehro.eds.com/FRAMEWORK/FileToFile/FileCConverion">
<Employee>
<Employee_ID>2</Employee_ID>
<Employee_Name>KannanKumar</Employee_Name>
<Address>
<Street>13th Cross Reddy</Street>
<City>Bangalore</City>
<Pincode>641026</Pincode>
<Phone_No>
<t1>9901934934</t1>
<t2>9901934934</t2>
</Phone_No>
</Address>
</Employee>
</ns0:SendXSDEmployeeDetails>
can any one help on this please
I have already seen the blogs :
/people/krishnakumar.ramamoorthy3/blog/2007/01/27/generic-mapping-to-convert-nested-xml-to-flat--receiver-file-adatper
/people/ravikumar.allampallam/blog/2005/06/24/convert-any-flat-file-to-any-idoc-java-mapping
<b>Can any one help to do this in simple way</b><br>Hi,
Like correctly pointed by JaiShankar, the Sender File Adapter currently does not supoort such stracutures.
the strcuture supported is described in this link,
http://help.sap.com/saphelp_nw2004s/helpdata/en/2c/181077dd7d6b4ea6a8029b20bf7e55/content.htm
Regards
Bhavesh -
How to convert XML message in text format by using HTTPS-Receiver adapter
Is it possible to convert XML message in text format when we use HTTPS as the receiver adapter?
If yes, how?
Thanks!
MrudulaHi Mrudula,
As far as i know there are no content conversion methodology for HTTPS as the recevier adapter.
Also you can read through these links to confirm the same:
http://help.sap.com/saphelp_nw04/helpdata/en/0d/5ab43b274a960de10000000a114084/content.htm
http://publib.boulder.ibm.com/infocenter/wbihelp/v6rxmx/index.jsp?topic=/com.ibm.wbia_adapters.doc/doc/sap_xi/sapximst30.htm
SAP NetWeaver - XML Communication Interface (CA-XML) [original link is broken]
Regards,
abhy
note: reward the helpful. -
How to convert CSV/Text files to XML format
Hi,
I am trying to convert a .csv/.txt(Flat) file(s) to XML format. How can i achive this?
Ex: I want to convert this text file to XML.
Book# first name last name ID# ID1# F#
B99 FRISBY NASIER LUCJ A A 3127 1
B131 HAWKINS MICHAEL LUCJ A A 3129 2
B313 KING JOSHUA CUCJ I I-DORM 10
B307 GRAVES KIMBERLY NUCJ F F-DORM 24-FL
R469 HEATH DARRELL SUCJ A A 3132 1
R212 PEREZ DARRELL SUCJ A A 3133 2
R62 COFFEY GREGORY NUCJ HC H C 3112 3FLOOR
R215 BLACKWELL DEREK LUCJ OOW W 01 1 Could anyone please suggest me if we have any open source java api to acheive this?
Thanks,
Srikanth.Have a look at [http://servingxml.sourceforge.net/|http://servingxml.sourceforge.net/] or [http://www.talend.com/|http://www.talend.com/]
-
Adapter Module to convert text message to XML
Hello Experts,
I am writing a custom adapter module to convert the text content to XML message at the sender adapter end.
I have followed the steps mentioned in the "HowToCreateModulesforJ2EEAdapterEngine" guide available on SDN.
I have created the java logic in the process mesthod of the bean to conver the text message to XML paylod (don't know if it is correct). I do not have much idea about the Adpater API methods.
Can anybody help me with the logic to convert the text msg to xml paylod using adapter frame work APIs or is there any way I can debug and test my logic in NWDS.
Any help will be greatly appreciated.
- RajanHi ,
To convert Text message to XML why yiu want to go for Adapter Module?? Using file content conversion it self you can do it right?????
There is no standard logic to convert text file to XML, the logic purely depends on your text message format.
Regards,
Raj -
Convert mm/dd/yyyy text format to date format
I imported a csv file and the date column is in text format. How do I convert it from m/d/yyyy text format to yyyy-mm-dd DATE format in Numbers v 3.1?
Thanks for any help you can give!UPDATE: I found that your formula didnt produce the correct result
It changed mm/dd/yyyy to yyyy/dd/mm — rather than the desired yyyy/mm/dd
By hacking at it, I found that changing the D column formulas around fixed this.
Your original function:
D2=RIGHT(A2,4)&"-"&MID(A2, B2+1, C2−B2−1)&"-"&LEFT(A2,B2−1)
Changed:
D2 =RIGHT(A2,4)&"-"&LEFT(A2,B2−1)&"-"&+MID(A2, B2+1, C2−B2−1) -
Idoc is recieved as xml format instead of text format
hi i am new to XI , I am right now i am trying with Idoc to file scenario
i am sending idoc from an R/3 system and i am receiving it as file in another R/3 system. In accordance to that i have designed & configured all settings, But when i am sending idoc thru my communication channel i am able view a '" *.txt " file with all my necessary details in xml format instead of text format.
desin details
my source and target fields are
FLCUSTOMER_CREATEFROMDATA idoc to the file which as the only few important fields of idoc.
configuration details
in communication cahnnel :
adapter type : file
message protocol: file
processing parameters:
constructution mode : create
file type : binary
advance mode
row.fieldNames : with its fields seperated buy comma
row.fieldSeparator : ,
row.endSeparator : 'nl'
i stuked up with this level for the past 10 days ur valuble suggestion will help me lot to reach my target
Regards
saravanakumar P.K.You have selected the wrong message protocol: to get an file not XML you should select File Content converion as message protocol
change it to folowing
configuration details
in communication cahnnel :
adapter type : file
message protocol: file content conversion
processing parameters:
constructution mode : create
file type : binary
advance mode
row.fieldNames : with its fields seperated buy comma dnt use this
row.fieldSeparator : ,
row.endSeparator : 'nl'
specify only field sepratator and endseparator dnt have to specify fielnames for receiver adapter in contant conversion. -
How to convert a Form to a Text file and XML file?
Hi:
I want to convert a Form to a Text file and XML file,but I don't know how convert?
Please help!
Oracle Form Builder V10.1.2.0.2
Oracle Database 10g Enterprise Edition Release 10.2.0.3.0
Thanks in advance!..or follow the steps in Mtalink note; Doc ID: Note:196924.1
Forms XML Conversion Feature ( Converting Forms To XML) -
Convert spool in the text format and send mail
Hi All
Can anyone tell me
how to convert the spool into the text format and send that in email as an attachment..
Points will be rewarded
URGENTHi,
Read spool using FM RSPO_RETURN_ABAP_SPOOLJOB
CALL FUNCTION 'RSPO_RETURN_ABAP_SPOOLJOB'
EXPORTING
rqident = v_rqident "Spool Number
FIRST_LINE = 1
LAST_LINE =
TABLES
buffer = i_spool "Internal table output
You will get spool in internal table and then its your game, play the way you want.
Regards,
Mandeep -
Hello All,
i created pdf form in livecycle.i am populating this pdf form and submit.when i am submiting form ,i will get the data in xfa(xml forms architecture).now i want to import this xml to indesign.when i importing this xml to indesign,it imported without rich text format.this means in indesign formate is not preserved when importing xfa(xml forms architecture).
how to import xfa(XML Forms Architecture) to indesign without losing rich text format.
please help me,its urgent.
thanks
HumayooI really have no idea what kind of file that is and how is the structure, but if it´s valid XML, I guess you could use InDesigns Tags to Styles mapping engine to format incoming stuff....
-
Hi,
Can any one help how to create a XML report so that i should be saved in text format OR is there any way where when you click on view output a dialog box with open, save and cancel option appears so that i can save the output in required format.
Thanks,
Dinesh..Hi Dinesh,
Can any one help how to create a XML report so that i should be saved in text format
While defining the respective concurrent program set the output to 'TEXT'. You can do this by:
Sysadmin > Concurrent > Program > Define ; and the select or define the program that you want the output to as TEXT
In the OUTPUT field ensure to have the type as 'TEXT'.
is there any way where when you click on view output a dialog box with open, save and cancel option appears so that i can save the output in required format.
Alternative to the above, while submitting the request after selecting your desired concurrent request , click on Option and change the output type.
Hope this Helps!
Thanks &
Best Regards, -
in fact it's about mac:excel8 or 11 in OSX10.7.4,
how convert in a cell a number written in text format into its value?
cheers francoisHi francois,
If I copyone of them and do a past special/value, it does not work.
Try just Paste instead of Paste Special > Value
I know your question is about Excel, but this works in Numbers:
Copy 1 234 567 (with spaces) and Paste (not Paste Special) into a Cell in a Numbers Table. The result is 1234567 and it behaves as a number. A formula will consider it to be a number:
You asked Wayne: what do you mean by "to reference a cell" ??
The reference is from Cell A2 to Cell A1 through a formula, such as: =A1+1
Regards,
Ian. -
Convert SAPScript text linse to normal stream text format
Hi Gurus.
We have a custom popup FM that displays text lines from a file provided by SAPScript text format.. (after u2018call function u2018READ_TEXTu2019).
However, for example, the Tab indent markers in this text u2013 represented by two commas u2018,,u2019 are printing instead of spaces representing the indent in our popup.
We are searching a FM that takes the SAPScript text format and converts it to plain text format (before our Z_popup is called) where the Tab markers are replaced by spaces (in our case this is four spaces for each Tab mark).
We have already tried FMu2019s: CONVERT_text; CONVERT_ITF_TO_STREAM_TEXT; CONVERT_ITF_TO_STREAM_TEXT. But none of them seem to fulfill the requirements stated above.
Can anyone please advice?Hi Arnie,
Instead of searching for FM you can manually code which is flexible.
"after gettting text from READ_TEXT in lt_tline.
Data: lt_string type table of string,
lv_string type string.
CONSTANTS: c_par TYPE char2 VALUE ',,'. " Sign for tabs
LOOP AT lt_tline INTO wa_tline.
CONCATENATE lv_string wa_tline-tdline INTO lv_string SEPARATED BY ' '.
REPLACE ALL OCCURRENCES OF c_par IN lv_string WITH ' '.
Append lv_string to lt_string. "if needed in string table
ENDLOOP.
Regards,
Kiruba -
XML SELECT error ORA-01830: date format picture ends before converting enti
Apologies, If I have to open a new thread. I have a similar problem and would be grateful if you can help:
Created a view based on an xsd. View works fine. However when selecting data from the view, the xml output is scrambled. On search found there is a pretty print function which can be added when creating the view: .extract('/*') as:
).extract('/*')
as RBid
from Balit_Submissions bs
Again the view gets created successfully. But when doing the same select from it get the error:
ERROR:
ORA-01830: date format picture ends before converting entire input string
I have narrowed it down to the .xsd definition of the tag: <xsd:element name="CreationDateTime" type="ecc:MessageDateTimeType">
In the view, CreationDateTime is selected as follows:
,XMLelement("CreationDateTime",xmlattributes(to_char(bs.creation_datetime,'yyyy-mm-dd"T"hh:mi:ss"Z"') as "v"))
where the column bs.creation_datetime is Oracle data type DATE.
The MessageDateTimeType is defined in Oracle as a timestamp.
Any hints to overcome this.
Using: Oracle Database 10g Enterprise Edition Release 10.1.0.5.0 - Production
I will paste the full .xsd and view if required.
Thanks
James SathiarajIndeed a small test case would be great. Not sure if I could reproduce - have touched 10.1.0.5 in 4, 5 years...
-
I am Lion on Mac Book pro.
When I move a mail with attachement to a folder, sometimes, it loses its mime-type and becomes a text formatted message. Hence the contents of the attachments are added as text to the mail and I cannot download the attachments then.
This does not happen always, but almost 3/10 times.
Thanks.
Regards,
VirajWhat type of mail account is this (POP, IMAP, .Mac)? If IMAP or .Mac, what are your Preferences > Accounts > Mailbox Behaviors > Drafts settings?
Go to Apple Menu > System Preferences > Network, choose Network Port Configurations from the Show popup menu, and make sure that the configuration used to connect to Internet appears at the top of the list. Turn OFF all the port configurations except the one needed to connect to Internet and see whether that helps — if it doesn’t, turn ON again the ones you want enabled.
Open Keychain Access > Keychain First Aid and verify/repair the keychain.
Try also turning OFF the Search For Certificates options in Keychain Access > Preferences if any of them is ON — take a look at the following articles for more information on this particular issue:
http://www.hawkwings.net/2006/07/18/apple-mail-phones-home-too/
http://www.macgeekery.com/tips/mailapp_doesnt_phone_homeeither/
Maybe you are looking for
-
CS5.5 Design Premium: installer failed to initialize
Ok, I'm having this problem. This started because I had to perform a system restore. I ended having to go back so far with the system restore that all of my Adobe Products(among others) no longer appeared to be installed. So I downloaded Adobe CS5
-
Embedding logo in a JSP file created by JDev2
I am using HTML code(as usual) in a JSP file to create a e-Commerce site. I want to show company logo which is a .jpg file and also the company name in a single frame. Can someone please tell me how I embed logo and text in this single frame? Suntae
-
Can OS be installed and run from a Firewire drive?
Hello, I recently started to switch from WindowsXP to a Mac Mini. I was considering installing WindowsXP to a drive that I put into my AMS Venus 3.5" drive enclosure. This is a combination enclosure that supports USB 2.0 and Firewire 400. I've never
-
Tracking Purchase orders to accounts payable
What would be the best way for an auditor to use ERP to ensure the accounts payable are completely recorded. how can he/she efficiently match up purchase orders with accounts payable? is there a way one can ask the ERP a query and it can return any p
-
Exporting Report Output to Doc, RTF or other
I have designed a few reports using Developer 2000 and I was wondering if if was possible to export the output of these reports to other file formats such as Word's Doc or RTF formats .... while the tool is powerfull it would be nice to let people us