FCC-Mapping all content in a single field

Hi all,
I have a requirement to map all the content in the textfiles to the single tag of xml .Do any one know how to configure this in Communication channel.  I referred SAP help docs but all for mapping it with by separter or by fixed length etc.. I want to map all the contents in a single field.
Laks

try to add trace to messages and see what is happening.
try to put
trace.addInfo(outputPayload);
after
outputPayload =
            "<?xml version=\"1.0\" encoding=\"UTF-8\"?>"
               + StartXMLTag
               + strXML
               + EndXMLTag;
See in the trace if your file content is visible.
The only way to troubleshoot java mapping is by adding traces at various places and checking the flow.

Similar Messages

  • How to Print All Content hidden in Text Field

    Apologies if this has been answered elsewhere. I can't seem to find a solution that works
    I am trying to get a text field, which is fixed in size on screen and which includes more text than visible (contains + sign in corner) to print all the text within it.
    I'm assuming this can be done and I am simply not producing my form correctly.
    Any help greatly appreciated!
    Ken

    There are some options:
    - You can set the font size to Auto, but then you run the risk of the text being too small.
    - You can set up empty fields at the end of the form and populate them with the text just before printing. That would require a custom-made script.

  • Map base64 attachment to single field

    Hello,
    in a proxy --> http scenario I receive a message with SOAP attachment (base64 encoded). The requirement on http receiver side is now, that the attachment is put in a single element, just like:
    <attachment> base64code </attachment>
    Is there a simple way to do this? I guess I have to use Java mapping, but I am still not sure how to handle this requirement.
    Thank you for your help.

    Hi,
    good blog thank you very much. Obviously there is an SAP API available that would do most of the work for me:
    com.sap.aii.utilxi.base64.api.Base64.encode(bs);
    However so far it is still not sure whether SAP Proxy sends the attachment as SOAP attachment or within a single field (depends on the technical restrictions, no final decision is taken yet).
    However if they are able to send the bytecode in a single field it might even be possible to convert the content using an UDF using the above mentioned API ?.
    However I am still not sure how to extract an attachment in case SAP cannot deliver the content in a single field.

  • Can't download all contents to Windows

    Hi,
    Set up iCloud on my Win7, and got all the photos alright (~200MB).
    However no Videos came through, and my iCloud storage claims to be ~5GB (probably bloated up with vids?).
    How can I see what's in there, or download the vids?
    'Manage' only lets me delete all contents as a single operation.
    Thanks,
    Gil.

    Using the camera, then selecting 'Camera roll' I can access the videos. But iCloud backup "camera roll" has a different meaning (i.e. without the vids)?
    And if so, why only 200 Megs of photos were downloaded to my PC but iCloud backup for 'camera roll' says ~500MB? if it is not the vids, what is it?
    I know how to download what's on my iPhone device, but I want to download everything on my iCloud, meaning all 500 megs of 'camera roll'...
    I'm confused..
    Thanks,
    Gil.

  • Mapping and Monitoring all the User and the Field exits

    Hello Dears,
    Are possible, with the Solution Manager to map and monitor all the user and the field exists existing in my ECC6 Productivity Environment?
    Anyone has some documentation?
    Regards to all.
    FS.

    Hello Gurus,
    Someone has any information about this question?
    Regards to all.
    FS.

  • Mapping issue: from unbound node to two single fields

    Hello,
    I have a source message with a node that is 0... unbounded.
    The node contains a field named "component_name" with occurence  1..1.
    The target message contains only two single fields (component1, component2) and the task is to provide the first two occurences to these fields.
    node occ.1
       component <modul beta>      ->    component1
    node occ.2
       component <modul omega>      ->    component2
    We can expect to have any case like these:
    node is 0   -> no components provided
    node is 1  -> one component provided  (usual case) , so second field will be empty
    node is 2 -> two components provided
    node is > 2 -> need to pick the first two components to provide them to the target fields.
    Does anybody here have an idea how to solve this mapping issue?
    Your ideas are really welcome!
    Best regards
    Dirk

    Stefan's solution is very good, alternatively, if you are sure that you will always have at least two items you can do
    source -> copyValue[0]-> target
    source -> copyValue[1]-> target
    please note: if you don't have at least two items in your source the copyValue function will throw an exception

  • Crawled property category option: "Map all string properties in this category to the Content managed property"

    I've been searching online, and haven't been able to find a definitive answer to this. Does anyone know what the following SharePoint 2013 Search Service Application, Crawled property category option does?
    "Map all string properties in this category to the Content managed property"
    It appears when editing a crawled property category.

    Hi Vishal,
    There is no Official documentation explaining the setting "Map all string properties in this category to the Content managed property". In my opinion,  this setting will map all crawled properties which are in current category and 
    whose value is string type   to  the Content managed property.
    Thanks,
    Eric
    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
    [email protected]
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Xml payload in a single field

    Hi All,
    I hve a scenario like this ERP->XI->Monitoring system
    In the mapping, I need to assign the outbound payload (whole xml) to a field in the target
    message field since the (Target) Monitoring system wants to receive the whole xml message in single field.
    How can i achieve this?
    Thanks
    Deno

    try this.. some of the imports are not required.. however I just copied from my code..
    import javax.ejb.CreateException;
    import javax.ejb.SessionBean;
    import javax.ejb.SessionContext;
    import com.sap.aii.af.mp.module.Module;
    import com.sap.aii.af.mp.module.ModuleContext;
    import com.sap.aii.af.mp.module.ModuleData;
    import com.sap.aii.af.mp.module.ModuleException;
    import com.sap.aii.af.ra.ms.api.Message;
    import com.sap.aii.af.service.trace.Trace;
    import java.util.Hashtable;
    //XML Parsing and Transformation classes
    import javax.xml.parsers.*;
    import org.w3c.dom.*;
    import java.io.InputStream;
    import java.io.ByteArrayOutputStream;
    import java.io.StringWriter;
    import com.sap.aii.af.ra.ms.api.XMLPayload;
    import com.sun.org.apache.xml.internal.serialize.OutputFormat;
    import com.sun.org.apache.xml.internal.serialize.XMLSerializer;
    import javax.xml.transform.*;
    import javax.xml.transform.Source;
    import javax.xml.transform.Result;
    import javax.xml.transform.dom.DOMSource;
    import javax.xml.transform.stream.StreamResult;     
    Object obj = null; //Handler to get principal data
              Message msg = null;// Handler to get message object
              String getXMLtoField = null;
              try {
                   obj = inputModuleData.getPrincipalData();
                   msg = (Message)obj;
                   XMLPayload xmlpayload = msg.getDocument();
                        DocumentBuilderFactory factory;
                        factory =DocumentBuilderFactory.newInstance();
                        DocumentBuilder builder = factory.newDocumentBuilder();
                        // parse the XML Payload
                        Document document = builder.parse((InputStream)
                        xmlpayload.getInputStream());
                        OutputFormat format = new OutputFormat(document);    // Serialize DOM
                        StringWriter stringOut = new StringWriter();    // Writer will be a String
                        XMLSerializer serial = new XMLSerializer(stringOut, format);
                        serial.asDOMSerializer();                       // As a DOM Serializer
                        serial.serialize(document.getDocumentElement());
                        String FileContent = stringOut.toString();
              return getXMLtoField;

  • Mapping all one vendor Payments to that Vendor in DME file....  ???

    Hi Gurus
    I am not able to Map all one vendor Payments to that Vendor in DME file. The DME file takes each individual line item (invoice)  but incorrectly  with  the total  amount of vendor payment - not amount of each invoice. We want to pay a total for each supplier and not per individual invoice.
    Please let me know.. How to set up these settings in payment method ?
    Thanks
    Meenakshi.N

    Hi,
    You can influence if open positions to one vendor are paid together or separately are controlled by this:
    - FD02: vendor master
    box: Individual pmnt -> please read F1-Help
    box: Grouping key that can be entered in the document -> F1-Help
    - FBZP: Payment method / comp code
    Single payment for marked item: marked?
    - FBZP: All Company Codes
    Separate payment per business area: marked?
    Beside that please read note 305414. Please be aware that positions can be only regulated together if there is no difference in the entries of the important fields that are contained in the structure ZHLG1.
    Hope that helps to understand to logic how the payment run groups the positions for posting.
    Best regards,
    Jeno

  • Diff line items in single field

    Hi All
    I have a requirement,
    I have a internal table with field called content(40) type c.
    and the values in this field are as below
    CONTENT
    m/s jani sales
    uniwalkar
    abc ltd
    ghj ltd...etc
    but my requirement is this all content on different line
    i want to collect in single line
                        CONTENT
    i.e m/s jani sales, uniwalkar, abc ltd, ghj ltd...etc
    How should i proceed.
    Thanks & Regards
    Lalith

    Hi,
    Find below code..........
    data : begin of itab occurs 0
               contact(40) type c,
             end of itab.
    data: str1 type string.
    Loop it itab.
    concatenate str1 itab-contact to str1.
    endloop.
    I think it help u.......................

  • Payload as a single Field

    how we can treat full file (Full payload ) as in single field.
    While file picking from sender end and keep the  full content as a payload in single field at source side?

    Hi,
    A bit confused with your question, but here are the two things which might help
    1) sending whole source payload into single field in target structure, you can do this by mapping the headersegment to the target field and select RETURN AS XML on right click. there is one blog on this with screen shots if you want to take a look.
    2) Taking whole payload from a single source field, You can do this by writing an UDF to extract the XML payload file and placing it before the MM in OP.
    Thanks...
    Karna....

  • IMovie 11 to FCP Pro X: cure for single-field?

    I've got a lengthy home movie (sourced from a DV tape) that I've edited in iMovie 11. Unfortunately, I've been stuck with the single-field processing issue where the output is effectively at half resolution. Now that I can import this movie into FCP Pro X, I'm wondering whether that will cure this single-field problem, if I then continue editing in FCP and output it from there? Or will I need to scrap the project, start from scratch, and re-import from the camcorder into FCP directly?

    "Some of the procedures I've seen before changed all of the dates to the day of conversion and I need to save the original info."
    Very good question.
    I've been testing with tapes that have analog video copied to them so the DV time/date is meaningless. They only show the date I copied them from VHS to DV. When I'm sorting to clips to folders I have to remember is this Japan 1989 or 1991? Then name the TO folder based upon my memory. And of course I don't need the DV timecode in iMovie when I edit.
    You need the Time and Date information from the camera to be used to date the folder when the video is imported into iMovie. Correct?
    I will test with some video shot with the DV camera.
    PS: Here is a description of how CatDV figures out how to divide a long movie into "clips."
    CatDV uses two methods to detect scene changes.
    It detects the start and end of each scene or shot in a DV movie using the digital date and time information recorded to tape by DV and Digital8 camcorders. As a result it is normally 100% frame accurate in the scenes it identifies in captured footage. On rendered footage and analog material, on the other hand, this extra information is missing and so CatDV won't be able to detect any scene changes using the DV method.
    CatDV also has the ability to compare the actual visual content of successive frames to detect scene changes. This allows you to import and log footage captured from an analog capture card for example. By its nature this method is not foolproof, however, and is liable to detect false changes when there is rapid movement within a scene, and to miss changes, for example if the camera is held on a tripod between shots and there is very little change between them, or if you have applied a fade or dissolve between two clips. It is also slow and computationally intensive, and so whenever you have the choice you should prefer to use the DV-based detection on original footage.
    You can control which detection algorithm(s) are used when importing movies in the Preferences dialog.

  • Deinterlace/single field question

    G'day folks
    I am prepping some PAL DV files for computer playback using QTPro's "Export" feature. However most of the actual work will be done on Windows. Due to the video content I want still frames to display just one field, not a blend of the upper and lower fields. Using H.264 and ticking the "deinterlace" button does not work, even if I have previously set "single field" in the source video and saved as self-contained.
    I can get it to work properly using Visual Hub, so the technology is there. But is there a way to get my colleague on a Win box to achieve the desired result?
    TIA

    If you input 1080i, then both fields are simply combined into one frame. In iMovie 08/09 DV had one field dropped leaving a low rez "frame". With 1080i, the odd field is always dominant. With DV, the even field is always dominant.
    I don't do much HD work. But for DV I would use iMovie 06.
    iMovie 08/09 uses 'single field processing' meaning every other horizontal line of the video is thrown out, which reduces the sharpness of the footage. iMovie 06 uses ALL of the image to form the video.
    If your primary workflow is editing DV clips and making DVDs, iMovie '06 is better suited. Your movie will arrive at iDVD in DV format, which is an ideal match for making a DVD: same resolution, same pixels aspect ratio, and original quality. If you share your movie from iMovie '08 / 09, it gets re-rendered at 640x480 or less, and then iDVD upscales it back to 720x480. The end result is obviously not as good.
    iMovie 06 and iDVD 08/09 is a terrific combination.

  • Conversion of Zip file in to a Single Field

    Dear All,
    Scenario:File to File
    How can I convert the input zip file in to the single field in Mapping in PI 7.0.
    Regards,
    Manikandan

    Hi All,
    I have to process the two(ZIP and TXT) files which are having the same name but with different extension. PI should transfer if both the file exist else should not transer the file. I have planned to use BPM but both the files are only pass through so we cant create the DT and Abstract Interface.
    ZIP files are contains multiple files and client dont want us to analyse the both files.
    My company only allows us to use BPM and rarely java Modul so i am thinking to use BPM.
    need help to use the BPM for this requirement.
    Regards,
    manikandan

  • Getting all occurrences from a clob field

    I created a clob field to store an XML document. I have tried the SUBSTR, INSTR, REGEXP_SUBSTR, DBMS_LOB.INSTR functions to extract all occurrence of the XML tab <systemLink>.
    I just get 1 occurrence of the XML tag.
    Has anyone done this before.
    Thanks.

    All occurrences in a single row
    select extract(xmltype(your_clob_field),'//systemLink')
    from dualOr all occurrences in distinct rows
    select *
    from TABLE (XMLSEQUENCE (EXTRACT (XMLTYPE (your_clob_field), '//systemLink'))) ; Max
    http://oracleitalia.wordpress.com

Maybe you are looking for

  • Mini DisplayPort - VGA and MBP 2011 not working

    Hi, I can't get my 13" mbp 2011 to connect to VGA screens. I've bought a mini DisplayPort to VGA converter (an Apple one, not a no name) and if I connect a display over VGA the screen stays black. My mbp recognizes the display, I can see the display'

  • No picture ipod to tv

    tv only has scart and aerial so tried to put it throught the dvd player which has rca cable. plugged cables as read on here, tv out on, PAL on, audio perfect but no picture. HELP

  • How to configure the flat file in 11G

    Hi, I am using OWB 11.1.0.6.0. For a map in OWB 10G having a source a flat file. I used to go and right click on the map--> then click Configure-->then Under "Source Data File" type the file name-->then give the location details and the exact flat fi

  • Link between Internal supplier and customer

    I'm working on Internal payables and receivables report, for that I have internal customer balance due and internal supplier balance due. But I need the link between customer and supplier. I mean same internal company is customer and also a supplier.

  • .mov files no longer reading Audio in AE CS5

    I just upgraded my computer (Vista 64) from Adobe Production Premium CS4 to Adobe Master Collection CS5. QuickTime has been updated to the latest version, 7.6.6. In AE, all imported .mov files will show the video just fine, but I can hear no audio.