How to map text payload (Not XML) to IDOC

Hi All,
In a scenario wherein I am getting a Text file as a Outbound Payload in XI (It is not a XML file - simple text Payload file which we see in SXMB_MONI) through XI Adapter and I need to map the text file to IDOC.
I can not use here File Adapter (File Content Conversion) as Incoming file is not stored at any location and it is just pushed to PI Server.
However I am not able to visualize how the text Payload will be read and mapped to IDOC.
Your inputs will be highly appreciated.
Regards,
Nitin Patil

I can not use here File Adapter (File Content Conversion) as Incoming file is not stored at any location
and it is just pushed to PI Server
Which adapter are you planning to use in this case? If not FCC then you can also opt for MessageTransformbean to do the conversion....for more information refer this blog /people/gabrielsagayaselvam.panneerselvam/blog/2009/12/07/standard-adapter-framework-modules-afmodules-in-pi-71-150part-2 (also check the embedded blog reference given by the author)
What is the content (format) of the file....even a .txt file can have a XML message......just that we need FCC or above bean when the file is a CSV file.
Regards,
Abhishek.

Similar Messages

  • How to map jsp in web.xml

    Hi,
    CAn anybody tell me that how to map .jsp in web.xml
    thanx
    vjoy

    Same as servlets, except that you specify jsp-file in place of servlet-class - see below
      <servlet>
         <servlet-name>MyJspServlet</servlet-name>
         <jsp-file>/jspServlet.jsp</jsp-file>
      </servlet>
      <servlet-mapping>
         <servlet-name>MyJspServlet</servlet-name>
         <url-pattern>/myJspServlet</url-pattern>
      </servlet-mapping>cheers,
    ram.

  • How to Digital Signature Payload not SOAP header

    Hi Gurus,
    How to Digital Signature Payload not SOAP header.
    Thanks,
    imommam

    Hi Imommam,
    As of now B2B does not have support for it. If you have any specific requirement, please log a SR with support.
    Regards,
    Anuj

  • How to map more than one xml element with some Paragraph in a Text Frame

    Hi friends,
    I am new in InDesign Java Scripting and I have to place or map, more than one xml elements of different parents, into one textbox. Is it possible through JavaScript? Can anyone help me in this because I have no idea how it should work and it urgently required.
    Thanks in Advance

    I had answered to you already in your first post: the short answer is that it's not possible on the same text box unless you assign a common ancestor of these two "parents" item. That's not a question of scripting, it's the way Indesign handle the XML with the layout. Import a xml in Indesign and drop tags to page item. What you can do manually is quite representative of what can be done through scripting.
    If you assign this anscestor to the text frame, you have to expect that all text child items will be displayed in the text frame (including the text of all the child of the two "parents" and all the other parents/childs that could be under the common ancestor). Having a XML that is designed for Indesign usage is pretty much inevitable if you are doing anything "serious".

  • How to map text from Request Offering to custom textbox

    Hi!
    I have new custom Tab in Incident form with new textbox. I need this textbox fill with text added by user on Portal, but I can't figure out how to map user input to this text box. I can't see it in Request Offering form. Also when I create binding from this
    form to extension of Incident Class, I can't change older Request Offering mapped to Incidents.
    What can I do to make this work correctly?
    Thanks

    User's answers from Request OFfering are stored in one field called UserInput. As result:
    You can't bind control to specified answer
    You can create your own control\converter to parse UserInout field (this is XML text)
    SCSMSolutions
    email: freemanru (at) gmail (dot) com

  • How to insert Text physically to xml in xml Element

    hello friends,
    I am newb of jDom. i am trying to change xml "Element's"--->"Text". My xml is as follows .....
    <?xml version ="1.0">
    <Elements>
             <code>
                       <data>EE550</data>
             </code>
    </Elements> I am trying to replace that "<data>" by <data>AA550</data>
    my code is as below
                 SAXBuilder sb = new SAXBuilder();
                 Document doc = sb.build(new File("src/xml/M90EE.xml"));
                 Element element = doc.getRootElement();
                 List children = element.getChildren();
                 String key = (element.getChild("text").getChild("mkey").setText("AA550").getTextTrim());   System.out.println("mkey       :"+key);
    output:
    mkey   :AA550 but is it possible to change in the xml file phisically.
    thanQ
    Ajay

    hello Reegz,
    ThanQ so much for perfect solution....
    when i do like that it is actually adding text to the existing Element Text.. so i wrote as follows....
    SAXBuilder sb = new SAXBuilder();
    Document doc = sb.build(new File("src/xml/M90EE.xml"));
    *String skey = (element.getChild("text").getChild("mkey").removeContent().toString());*     //--------->step 1
    *String skey1 = (element.getChild("text").getChild("mkey").addContent("ISO9001").toString());* //-------->step 2     
    String rdmkey = (element.getChild("text").getChild("mkey").getTextTrim());
    XMLOutputter serializer = new XMLOutputter();
    String str = serializer.outputString(doc);
    FileWriter fr = new FileWriter("src/xml/M90EE.xml");
    fr.write(str);
    fr.flush();
    fr.close();Is there any other way to replace text in step1 and step2 other than above or will it be enough for multiuser programming. Because this application will be accessed by so many number of user's what do u sujjest.
    thanQ ...
    Han.

  • How to log just plain text but not xml while using util.logging?

    i tried the following code to log simple messages in my app.However it logs the messages in xml. I don't want this and only plain text will be enough so what should i do? e.g. using some formatters?
    import java.util.logging.*;
    class LoggerTest{
         public static Logger logger =Logger.getLogger("demo.test");
         public static  void main(String args[]) throws Exception{
              FileHandler fh = new FileHandler("log.xml",true);
              logger.addHandler(fh);
              for(int i=0;i<100;i++){
                   logger.log(java.util.logging.Level.INFO,"appanded");
    }thx!

    This post
    http://forum.java.sun.com/thread.jsp?thread=319861&forum=31
    shows that if you make a properties file (you can name it logging.properties or whatever) with at least the line
    java.util.logging.FileHandler.formatter= java.util.logging.SimpleFormatter
    and then run with
    java -Djava.util.logging.config.file=logging.properties LoggerTest
    you will get what you want.
    You can set this property programmatically (actually the SBIS is deprecated, but I am too lazy to do the StringReader class right here):
    String my_prop = "java.util.logging.FileHandler.formatter=java.util.logg
    ing.SimpleFormatter" ;
    Properties props = new Properties (System.getProperties());
    props.load( new StringBufferInputStream( my_prop));
    System.setProperties(props);
    but you would need to set the property before you create the formatter.

  • [CS3 JS] How to associate text with an XML tag

    Hello,
    I have a script that allows one to create or modify an XML tag after one selects text, a text frame or an existing XML tag. It works fine for making the XML tag but it does not associate the text or text frame to the tag. To do that I have to right click on the selection and use the context menu to Tag Text or Tag Frame.
    I want to make this automatic but cannot see how to script it.
    Thanks for any help

    I figured out the problem (which of course creates other interesting problems).
    In the line:
    var elementRef = rootElement.xmlElements.add (tagRef);
    I forgot to add a reference to the xmlContent. It should read:
    var elementRef = rootElement.xmlElements.add (tagRef, whatToTag);
    However, this script is designed to create a dialog box where one can either create a tag along with attributes or edit an existing one. I'll post it when I am done, but there is one hangup. The script not only changes the name of a selected xml tag but all tags with the same name. How can I get it to change only the selected tag? Below is the boiled down script that duplicates that problem.
    Thanks,
    Tom
    var myDoc = app.activeDocument;
    var selObj = app.selection[0];
    var TagIWantToChange = selObj.markupTag;
    var newTagName = "PleaseWork"; //This line replaces all the coding to create a dialog box where the tag name could be edited.
    TagIWantToChange.name = newTagName;

  • How to map text(n) in access to varchar2(2n) ?

    Question 1:
    Because some asian characters count 2 bytes in oracle
    while they count only 1 character in access, I want to map
    any text column with length (N) in acccess to varchar2(2N), so that there won't be any data loss.
    I tried changing it in 'data type mapping' page of capturing wizard.
    I set 'length' of text->varchar2 mapping to 2.
    I Also tried changing Options from tools menu before creating oracle model.
    But the oracle model created wasn't affected by this setting. In oracle model, the result is still varchar2(n)instead of varchar2(2n)
    any suggestion?
    Question 2:
    So I tried to change the size of columns in oracle model.
    ( eg: change varchar2(40) to varchar2(80) )
    Partly it worked.
    The columns created in destination oracle database are 80 bytes long,
    but the data migrated was cutting off at 40, the rest was gone.
    any suggestion.
    ps.
    access 2000 -> oracle 10gR1
    omwb 10.1.0.4 ( win2000 sp4 )

    Hi, turloch
    Zfan,
    -Are you getting this problem only on text to
    varchar2?as far as i know, yes. only on text -> varchar2.
    i changed the mapping of text->varchar2 in tools->option->data type mappings
    set it to 3 then recreated the oracle model as being prompted.
    but the mapping is not correctly reflected in the resulting oracle model.
    -Does setting the target for Text to varchar2(4000)
    help? [click on the field change to 4000 then click
    on another field before clicking ok]yes. i've tried. setting it to 4000 makes all the varchar2 column 4000 bytes long.
    i also tried 100, makes all the varchar2 column 100 bytes long.
    i also tried 90, no effect.
    -Is this a general problem or a specific problem?
    i.e. Does this happen on memo to clob
    conversion...(As well as local testing here in
    Dublin, Ireland, testing is done in Japan which I
    would expect to catch most multibyte character
    issues)i don't know abt. memo-> clob. never tested it.
    but for text-> varchar2, it definitely got some problem.
    >
    The columns created in destination oracle databaseare 80 bytes long,
    but the data migrated was cutting off at 40, therest was gone.
    This sounds like a bug, is this reproducable, for a
    test case, and does it occur in other conditions?
    i can provide screen shot or test case if you want.
    can upload them info oracle files so that you can download it.
    Regards,
    Turloch
    Oracle Migration Workbench Team

  • How to map table columns to xml attributes?

    With a table like this : Column1, Column2,...
    I try to obtain it :
    <?xml version = '1.0'?>
    <ROWSET>
    <ROW num="1" key="column1">
    <NAME>SMITH</NAME>
    </ROW>
    <ROW num="2" key="column1">
    <NAME>ALLEN</NAME>
    </ROW>
    </ROWSET>
    And i find this but it isn't enough :
    SELECT empno "@EMPNO", ename, job, hiredate
    FROM emp
    ORDER BY empno
    <?xml version = '1.0'?>
    <ROWSET>
    <ROW num="1" EMPNO="7369">
    <ENAME>SMITH</ENAME>
    <JOB>CLERK</JOB>
    <HIREDATE>12/17/1980 0:0:0</HIREDATE>
    </ROW>
    <ROW num="2" EMPNO="7499">
    <ENAME>ALLEN</ENAME>
    <JOB>SALESMAN</JOB>
    <HIREDATE>2/20/1981 0:0:0</HIREDATE>
    </ROW>
    </ROWSET>
    how to known the column name?

    I do not know what columns you are talking about, but in HTML you can merge two columns with the attribute COLSPAN="2".
    DickDral

  • How to convert text file into xml file format with and check that with DTD

    I have an text file with | seperator . I have to convert this to an xml file and check with DTD present with me..
    plz help me out

    can i get some code that how to compare the xml with dtd or just give the DTD name with an XML

  • How to save text in txt/xml file?

    Which application can I use to save nonformatted text (or xml) into a txt or xml file? TextEdit seems to apply all sorts of formatting. I can see this when I change the extension from rtf to txt or xml and open the file.

    TextEdit seems to apply all sorts of formatting.
    Not if you will set its preferences to Plain Text instead of Rich Text. Also check the boxes for "ignore rich text commands...."
    Also you can use the free TextWrangler.

  • How to convert text file into xml file

    Hi Folks,
    I am genarating list of data into text file, but i want to genarate xml file for this text file. How to achive this , please let me know. Thanks.
    regards
    Vishal

    hi Vishal,
      Use<b> GUI_DOWNLOAD</b> FM and give the file name as <b>file.xml</b> with BIN Mode....
    i.e,
      Download internal table to presentation server file(PC)
      DATA: ld_filename TYPE string value <b>file.xml</b>,
    Pre version 4.7 declaration e_file like rlgrap-filename.
      DATA: begin of it_datatab occurs 0,
      row(500) type c,
    end of it_datatab.
      call function 'GUI_DOWNLOAD'
           exporting
                filename         = ld_filename
                <b>filetype         = 'BIN'</b>
           tables
                data_tab         = it_datatab[]
           exceptions
                file_open_error  = 1
                file_write_error = 2
                others           = 3.
    Regards,
    Santosh

  • How should convert text file into XML file?

    I do a project "WEB SERVER LOG ANALYZER" using JSP. For that i copy the content of log file into the other file . how i convert it into XML file . xplain with coding

    Read this [page.|http://www.devx.com/getHelpOn/10MinuteSolution/20356]

  • How to display text of note tab of invoicing

    Hi all,
    I want to display text that is written in notes tab while doing invoicing that is through FB60 and MIRO.
    I searched for it in tables STXL and STXH but text isnt stored there, pls help me out.
    Thank you,
    Sonali

    Thanks Gokul it helped
    awarded u points.

Maybe you are looking for

  • PI Sheets / xsteps

    I am trying to build my first PI Sheet using XSteps.  I have been able to create formulas and use function modules.  But I have not been able to get a Process message to work.  The one I am trying to use is 'PI_CONS' (Material Consumption Message) to

  • Compressing dimensions issue

    i am trying to crop in compressor the frame size to 25%. it works fine and when i bring it in to final cut on my viewer it is great bu when i drop it into the time line it is coming in at 400%. it is a sequence conflict but the sequence setting and t

  • Coding language for SRM & information required about Japanese auction

    Hi  , Kindly let me know the programming language for SRM and in particular about the auctioning module of SRM. Also can we customise the code to provide japanese auction in SRM or auctioning module. Thanks

  • Adding Validation In record working time.

    Hi Experts, I have to add a check in Record Working Time, so that, it does not allow to record working times which are more than 45 days older than today. Please tell me where I have to make changes, If I have to make changes in User Exit then please

  • Error looking up wire message

    Hi, We are on SOA 11.1.1.3 and trying to look at inbound wire message processed by B2B in UI with navigation Reports --> Business Message --> Click on Wire Message --> Click on Packed Message, and I get an error "Cannot display Packed Message in bina