How to convert information of a job posting into a xml string or file
hi hr experts,
I hope to find some answers.
Is there a function in the ERP system that converts all the information of a job posting into a xml string or file?
This could be used to communicate with external job databases, e.g. monster or jobpilot.
The function CALL TRANSFORMATION converts data to XML. Is this really the only way to convert the job posting?
Thanks for your feedback and help.
Ralf von Seht
Edited by: Ralf von Seht on Mar 26, 2008 4:45 PM
Edited by: Ralf von Seht on Mar 26, 2008 4:46 PM
Hi Elena,
The issue is caused by XSLT is not script enabled by default. Please provide XsltSettings in the loading to fix the issue. For more information, please see:
http://daomingworks.wordpress.com/2009/12/11/xslt-transform-data-error-use-the-xsltsettings-enablescript-property-to-enable-it/
Thanks,
Jinchun Chen
Jinchun Chen
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact tnmff AT microsoft.com(Please replace AT with @)
Similar Messages
-
How to convert date format dd.mm.yy into yyyymmdd?
Hello experts,
how to convert date format dd.mm.yy into yyyymmdd?
Thanx
AxelHi
go through these previous threads on similar question
https://forums.sdn.sap.com/click.jspa?searchID=673529&messageID=1763194
Date Conversion in Flat File
converting the DATE(yyyymmdd) into MONTH(yyyymm) format
Date Format Conversion from MM.DD.YYYY to YYYYMMDD
gives clear idea
Reagrds
Kiran
Message was edited by:
ravi kiran naalla -
Extract the job advertisement into a XML-Schema
Hi there,
I have to extraxt the job advertisements in a xml-Schema for making our E-Recruiting compatible to a job-exchange.
Is there a report or tc or something else which extracts the information of the job advertisement in a xml?
Or if not how and where can I read out my Informations about the company or the duration of my job advertisement e.g.
And after I have this information, how can I prepare the information into a dtd (XML-Schema)
Thx for answersYes, in fact I solved to do that, now I'm getting a differente problem, I'm trying to get the content to a file, but with no success, I'm getting just "[Document]: #null" into my file, maybe I'm doing something wrong when I try to write it, here's my code in case you or someone else can help me telling me what do I really have to do, thanks in advance.
public class XMLTransformer {
public static void main(String[] args) throws Exception {
try {
String xml_doc = //"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" +
//"<!DOCTYPE web-app PUBLIC \"C:\\sms.dtd\">\n" +
"" +
"<root>\n" +
"<sms>\n" +
"<tlf>584123161640</tlf>\n" +
"<op>D</op>\n" +
"<sc>3344</sc>\n" +
"<body>MENSAJE</body>\n" +
"</sms>\n" +
"</root>";
DocumentBuilderFactory factory =
DocumentBuilderFactory.newInstance();
DocumentBuilder builder = factory.newDocumentBuilder();
//Document document = builder.parse(xml_doc);
InputSource inStream = new InputSource();
inStream.setCharacterStream(new StringReader(xml_doc));
Document doc1 = builder.parse(inStream);
File f1 = new File ("c:/salida.xml");
FileWriter out1 = new FileWriter(f1);
PrintWriter wr = new PrintWriter(out1);
f1.createNewFile();
//String inputLine;
//while ((inputLine = lector.readLine()) != null)
wr.write(doc1.toString());
//lector.close();
out1.close(); } -
Proc C - How to convert datetime variable in Proc C into C?
Hi,
Does anyone know how to convert a datetime variable in Pro C into C?
For Example,
Order_Table with OrderId and OrderDate fields.
How do I compare the OrderDate with the system datetime in Pro C or C?
Thank you.Maybe this will help:
http://asktom.oracle.com/~tkyte/Misc/CTime.html -
Do anyone know how to convert a decimal to binary, 1 into 01
do anyone know how to convert a decimal to binary
i wants to convert 1 into 01, but the computer print out 1, it didn't print 0
also 0 it also print only 0, and 3 it print11
so decimal of 3, the computer print correct, but 0 and 1 it print wrong
how can i print 01 if my decimal is 1
int a=1;
System.out.print(Integer.toBinaryString(a));
can anyone help me solve this question
and
you can use java or jsp
if you can use jsp it would be better, if not use javait's not printing anything 'wrong'.
0 in binary is 0
1 in binary is 1
All it's doing is cutting off leading zeros since they don't change the value.
1 is the same as 01 is the same as 00000001...no difference
Similarly, when you print decimal 3 as 11, it could just as easily say 00000011 and be correct, since the zeros don't change anything. -
How to convert desimal in range 0-100 into binary 8 bit.
hi everybody..
i have a questions. i want to design pwm that contollered by labview software..in pwm duty cycle..range of duty is 0-100. how to convert in the 8 bit binary?
example
duty_cycle binary
100 00000000
99 00000010
0 11111111If your percentage is x, then your 8-bit value would be y = (100-x)/100*256 = (100-x)*2.56.
You can convert y into binary easily enough.
EDIT: Nevermind, I just read your example again.
With having only 8 bits to play with, your percentage has to be in steps of 12.5. You could take your number and divide by 12.5. This would give how many bits are to be high.
There are only two ways to tell somebody thanks: Kudos and Marked Solutions -
Does anyone know how to convert the output from the standard report to xml?
Does anyone know how to convert the output from the standard SAP report to xml?
since it a standard report which you cannot modify you can only do the following.
submit report exporting list to memory
then
list from memory and then
use the returned itab along with CALL TRNSFORMATION key word to convert to xml.
but this only going to place the whole list content (including data and formating lines,etc) into a xml element and not the actual data alone in the list . -
How to convert date format(mm/dd/yy) into dd-mm-yy
I want to convert date format(mm/dd/yy) into dd-mm-yy
like 12/23/06 into 23-sep-06hey, you can use SimpleDateFormat to format your date. this is sample code, maybe could help you.
class dateFormat
public static void main(String[] args)
Date now = new Date();
System.out.println("Before format : "+now);
SimpleDateFormat sdf = new SimpleDateFormat( "dd-MM-yy" );//Change your date format in here.
String display = sdf.format(now);
System.out.println("After format : "+display);
}If you already understand about my sample code, i think it's easy to make your own date format. Just modified few line of my code. -
How to convert a multi page PDF document into a single TIF file?
Hi!
We are trying to convert a multi page PDF document into a single TIF file. We are using Adobe Acrobat Standard v 9. Can it be possible?I am also looking for feedback. Although having a PDF copy of a document is wonderful, long term and efficient archival for my workplace is tif or tiff.
Very frustrating that the PDF to tiff creates a separate tiff file for each page of the multi-page PDF document. Are there any options or work-arounds? -
How to convert oracle report in html form into excel form?
Hi friends !! I m trying to convert oracle 10g report into excel form.Its coming in excel form but not with all formats.How to solve the problem?
Hello,
Please give us more information what kind of report(s). Sample example etc.,
Sri -
How to convert FCP subtitles created in Text to EXPORT as one .stl file for broadcaster
I created about 300 subtitles in Text, one version for English and one for German, that included narration and on-screen dialog, for a one-hour film I produced. An exported QT file creates a burned-in subtitle. However, the European distributor wants the film without subtitles and wants the subtitles as a .stl file (with the TimeCode for start and end of each subtitle text), one for English and one for German. I can create a QT file without subtitles. But I could not find a way to convert the FCP text into a file.
a. In FCP, I see no option to export to create an .stl file. How does one go about making the .stl file?
b. Some software I found like Subtitle Extractor creates an .stl file from an existing track in DVDSP's subtitle tracks, like S1 or S2, etc. I also see no such option in DVDSP to export to create an .stl file. Does this mean I would need to re-write all the subtitles in FCP into DVDSP? This means re-writing over 600 subtitles from FCP to DVDSP! This will take months. Any faster and effective solution? DVDSP is a solution only if this Subtitle Extractor software works! Any feedback on this? I tried to run a quick test in DVDSP but no .stl file was created and it resulted in an error.
c. I need to identify which subtitles are narration, and indentify the person speaking the dialog for the .stl file. Do I do this on the stl file or FCP (assuming there is a way to convert the FCP work)?
Using FCP 7.0.3, Mac OSX 10.6.8, 3.06 GHz Intel Core 2 Duo, 4GB Mhz, 500 GB driveI've worked with title exchange pro and I thought it was great. The software author was very helpful when I had a probllem. I used it in a different way (converting a pre existing stl file into a subtitle track in fcp - a series of text clips with the appropriate timings and placement that I could copy into a sequence - to proof subtitles created by a service before using for a digital cinema print), but I'm pretty sure it'll do what you want.
http://www.spherico.com/filmtools/TitleExchange/ -
How to convert special characters like #, &, etc occuring in the input string
Hi,
I am using method 'Get' to submit a form . When ever there is any
special character like '#' in my input For example "033#Test", nothing
gets posted beyond 033.
Can any one please let me know how do I overcome this problem.
Thanks in advance.
Regards,
Moin
Moinuddin:
It seems possible your browser may be confused by the fact that 033 is
the octal representation for an ESCape character (Hex 1B). Try dropping
the leading zero. In addition, it is usually better to represent special
characters like the hash mark "#" using HTML character entities instead
of literals, i.e. # = hash mark
Regards,
Jim Brown
Moinuddin Ahmed wrote:
>
> Hi,
> I am using method 'Get' to submit a form . When ever there is any
> special character like '#' in my input For example "033#Test", nothing
> gets posted beyond 033.
>
> Can any one please let me know how do I overcome this problem.
>
> Thanks in advance.
> Regards,
> Moin
Jim Brown
Developer Relations Engineer
BEA Support
-
How to Convert the content in BLOB field into a PDF file...
Hi,
I am having PDF files stored in BLOB column of a table in Oracle Database (11G R2).
I want to retrieve the files back and store them in hard disk. I am successful in storing the content as a file with '.doc' but if I store the file as '.pdf', adobe fails to open the file with error
Adobe Reader could not open file 'xxx.pdf' because it is either not a supported file type or because the file has been damaged (for example it was sent as an email attachment and wasn't correctly decoded)
I am using following example code to achieve my goal...
Declare
b blob;
c clob;
buffer VARCHAR2(32767);
buffer_size CONSTANT BINARY_INTEGER := 32767;
amount BINARY_INTEGER;
offset NUMBER(38);
file_handle UTL_FILE.FILE_TYPE;
begin
select blob_data into b from blobdata where id=1;
c := blob2clob(b);
file_handle := UTL_FILE.FOPEN('BLOB2FILE','my_file.pdf','w',buffer_size);
amount := buffer_size;
offset := 1;
WHILE amount >= buffer_size
LOOP
DBMS_LOB.READ(c,amount,offset,buffer);
-- buffer:=replace(buffer,chr(13),'');
offset := offset + amount;
UTL_FILE.PUT(file_handle,buffer);
UTL_FILE.FFLUSH(file_handle);
END LOOP;
UTL_FILE.FCLOSE(file_handle);
end;
create or replace FUNCTION BLOB2CLOB ( p_blob IN BLOB ) RETURN CLOB
-- typecasts BLOB to CLOB (binary conversion)
IS
|| Purpose : To Convert a BLOB File to CLOB File
|| INPUT : BLOB File
|| OUTPUT : CLOB File
|| History: MB V5.0 24.09.2007 RCMS00318572 Initial version
ln_file_check NUMBER;
ln_file_size NUMBER;
v_text_file CLOB;
v_binary_file BLOB;
v_dest_offset INTEGER := 1;
v_src_offset INTEGER := 1;
v_warning INTEGER;
lv_data CLOB;
ln_length NUMBER;
csid VARCHAR2(100) := DBMS_LOB.DEFAULT_CSID;
V_LANG_CONTEXT NUMBER := DBMS_LOB.DEFAULT_LANG_CTX;
BEGIN
DBMS_LOB.createtemporary (v_text_file, TRUE);
SELECT dbms_lob.getlength(p_blob) INTO ln_file_size FROM DUAL;
DBMS_LOB.converttoclob (v_text_file, p_blob, ln_file_size, v_dest_offset, v_src_offset, 0, v_lang_context, v_warning);
SELECT dbms_lob.getlength(v_text_file) INTO ln_length FROM DUAL;
RETURN v_text_file;
END;user755667 wrote:
Hi,
I am having PDF files stored in BLOB column of a table in Oracle Database (11G R2).
I want to retrieve the files back and store them in hard disk. I am successful in storing the content as a file with '.doc' but if I store the file as '.pdf', adobe fails to open the file with error
Adobe Reader could not open file 'xxx.pdf' because it is either not a supported file type or because the file has been damaged (for example it was sent as an email attachment and wasn't correctly decoded)
I am using following example code to achieve my goal...
Declare
b blob;
c clob;
buffer VARCHAR2(32767);
buffer_size CONSTANT BINARY_INTEGER := 32767;
amount BINARY_INTEGER;
offset NUMBER(38);
file_handle UTL_FILE.FILE_TYPE;
begin
select blob_data into b from blobdata where id=1;
c := blob2clob(b);
file_handle := UTL_FILE.FOPEN('BLOB2FILE','my_file.pdf','w',buffer_size);
amount := buffer_size;
offset := 1;
WHILE amount >= buffer_size
LOOP
DBMS_LOB.READ(c,amount,offset,buffer);
-- buffer:=replace(buffer,chr(13),'');
offset := offset + amount;
UTL_FILE.PUT(file_handle,buffer);
UTL_FILE.FFLUSH(file_handle);
END LOOP;
UTL_FILE.FCLOSE(file_handle);
end;
create or replace FUNCTION BLOB2CLOB ( p_blob IN BLOB ) RETURN CLOB
-- typecasts BLOB to CLOB (binary conversion)
IS
|| Purpose : To Convert a BLOB File to CLOB File
|| INPUT : BLOB File
|| OUTPUT : CLOB File
|| History: MB V5.0 24.09.2007 RCMS00318572 Initial version
ln_file_check NUMBER;
ln_file_size NUMBER;
v_text_file CLOB;
v_binary_file BLOB;
v_dest_offset INTEGER := 1;
v_src_offset INTEGER := 1;
v_warning INTEGER;
lv_data CLOB;
ln_length NUMBER;
csid VARCHAR2(100) := DBMS_LOB.DEFAULT_CSID;
V_LANG_CONTEXT NUMBER := DBMS_LOB.DEFAULT_LANG_CTX;
BEGIN
DBMS_LOB.createtemporary (v_text_file, TRUE);
SELECT dbms_lob.getlength(p_blob) INTO ln_file_size FROM DUAL;
DBMS_LOB.converttoclob (v_text_file, p_blob, ln_file_size, v_dest_offset, v_src_offset, 0, v_lang_context, v_warning);
SELECT dbms_lob.getlength(v_text_file) INTO ln_length FROM DUAL;
RETURN v_text_file;
END;I skimmed this and stopped reading when i saw the BLOB to CLOB function.
You can't convert binary data into character based data.
So very likely this is your problem. -
How to convert a table exists in db into an ore.frame object ?
Hi:
I can get the "ore.frame "object that is returned by ore.ls() while have created by ore.create(),but I want to make a table in db as "ore.frame" object and I can operate it in R console.But how?
thanks very much.Let's say you have a table <tt>FOO</tt> in the same schema that you used to <tt>ore.connect</tt> to. To get it as an <tt>ore.frame</tt> object:
ore.sync(table = "FOO")
ore.attach() -
How to convert the 3.x ABAP Routines into BI 7 ABAP Routines
Hi All,
I am trying to convert a BI 3.x data flow into BI 7 data flow suing DTP's.
But i am stuck at Transformations. We have used several Routines in 3.X data flow and those routines are not converted automatically into the new data flow.
Is there any other tool or program whcih will convert the ABAP routines automatically into the new ABAP format.
my sample ABAP 3.x Code looks like this in Start routine,
LOOP AT DATA_PACKAGE.
IF ( DATA_PACKAGE-CPPVLC EQ 0
AND DATA_PACKAGE-CPPVOC EQ 0
AND DATA_PACKAGE-CPSTLC EQ 0
AND DATA_PACKAGE-CPQUAOU EQ 0
AND DATA_PACKAGE-CPSVLC EQ 0 ).
DELETE DATA_PACKAGE.
CONTINUE.
ENDIF.
I tried to replace DATA_PACKAGE with SOURCE_PACKAGE, but it did not work.
any help will be appreciated.
Cheers
POPSI tried to replace DATA_PACKAGE with SOURCE_PACKAGE, but it did not work.
When you use SOURCE_PACKAGE it will not have header line so you need to use workarea.
Use something like
LOOP AT SOURCE_PACKAGE into WA_SOURCE_PACKAGE.
Define WA_SOURCE_PACKAGE of type SOURCE_PACKAGE.
and replace further data_package in the code with WA_SOURCE_PACKAGE
Hope this helps.
Edited by: Praveen G on Jan 27, 2009 4:10 AM
Maybe you are looking for
-
My screen has turned black as if the LCD screen isn't working. I have tried using the lockbutton and home button to turn it on, but it doesn't work. What should I do?
-
Hi, We're trying to add the "Functional Area" (PNPFKBER) so it appears immediately on the selection-screen of a number of standard SAP reports, and for the most part it works fine. We've accomplished this by copying the standard report category of th
-
[solved] asciidoc -- pdf/roff
Hi, I am playing around with asciidoc, and already can convert some stuff to html, but not to pdf/roff. This is done by a script called a2x. According to the manpage, this requires: - xsltproc (presumably named libxslt in Arch) - DocBook XSL Styleshe
-
Why do I suddenly have no audio on my iPad? Did downloading iOS 7 have anything to do with it? I've gone into every setting every tutorial has suggested and have set the slide switch on the side to "mute" then switched it on and off. So far, nothi
-
Photoshop Touch with IOS 8.1 update
on ipad 3 and mini cannot locate photos in My Photostream folder. Will this be fixed?