New line for each segment for Inhouse files using bic mapping..!!

Hi ,
Idoc to File scenario.
In the receiver adapter, we need to convert the XML into file(Inhouse format) by using seeburger mapping.
We have generated the map for this in bic and used in Module configuration of receiver adapter.
Now the question is I need to get each segment of XML file into a separate line in the output file like below.
HDR ... ......
DTL .........
DTL ........
where HDR is the header and DTL is the details segments.
Iam getting the output in a single line like HDR.........DTL.........DTL.........
but not as expected like above  .
I tried by using newLine = true in module configuration, but no use.
I digged into bic designer to search for any option , but no use.
Kindly suggest me if any one has any idea on this.
Thanks&Regards'
Deepthi.

Hi Deepthi,
    Did you find the solution, please let me now if you get.
did you mention the below code to solve the issue.
copy the below section in the NewMapping Program:
   SetDestinationDelimiter("SubElement", ">");
   SetDestinationDelimiter("Element", "~");
   SetDestinationDelimiter("Segment", "\n");
Regards,
Varun Reddy.K

Similar Messages

  • How to generate multiple files for each segment in the IDOC

    Hi,
    I have a IDOC with multiple segments, for each segment, a file needs to be generated,
    There is only one target structure. Please let me know as to how do we handle this requirement in XI.
    Regards,
    Younus

    Use multimapping in message mapping. Then map the Idoc node to the Message Type of File.
    Illustration of Multi-Mapping and Message Split using BPM in SAP Exchange Infrastructure
    Regards,
    Prateek

  • Vendor Open Items for each Segment ?

    Hi all,
    What is the most effective way to grouped the all Vendor Open Items for each Segment ?
    I think i should use tables BSIK and (BSEG or FAGLFLEXA).
    Field BSEG-SEGMENT does not always have a value (often is empty), so it is likely to be used FAGLFLEXA-SEGMENT.
    Thanks in advance
    Serena

    .

  • Query to get possible values for each segment

    Hi Gurus,
    Give the flex value set id, what is the query to get all possible values for each segment (just like what is shown in the accounting flex window)?
    Thank you,
    Beibei

    Hi Beibei,
    The table FND_FLEX_VALUES_VL can give you details of values available in the Value set i.e. 1 segment at a time.
    If you are looking for a concatenated view of Accounting Flexfield values, that would be available in GL_CODE_COMBINATIONS table.
    Regards,
    Ivruksha

  • Inserting a new line after each tag of an xml

    Hi,
    I am having a requirement where i need to insert a newline after each tag<> of an xml. I am sending an xml to target system using JMS adapter and the target system has UNIX as OS.
    In unix system if we see the output xml, it will be in a single string as shown
    <?xml version="1.0" encoding="ISO-8859-1"?><messages><Field1\><Field2\>.........................</messages>
    But the desired output should be in the below format
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <messages>
    <Field1\>
    <Field2\>
    </messages>
    And there should not be any indentation for the xml. It should be in the above format it self.

    Hi,
    I believe this can be achieved through XSLT or JAVA Mapping.
    Please refer to the following link:
    XSLT Mapping:
    Inserting a new line after each tag of an xml
    JAVA Mapping:
    In Java Mapping ,all you have to do is to make a code that does a search and replace.
    Hope this helps,

  • I have created a newsletter in indesign cs4 how can I set zooms for each article for the user

    I have created a e-newsletter in Indesign. I have successfuly saved it as a SWF then as a PDF from acrobat.
    The problem is that when the user zooms in the resolution is not good.
    How can I let the user zoom in to read each article. Would I create buttons with zoom settings for each article. If this is the case do I do it in Indesign or Flash and can I still save it as a PDF file and it will keep the interactivity?
    I would greatly appreciate any help with this issue. It is driving me mad trying to get the information I need.
    Thank you

    Hi Bob
    Dont know what you mean by deleting my signature in the forum. Sorry its my
    first time using a forum.
    So just to confirm if I want a user to zoom in on an article I can't do it
    in Indesign or Flash.
    cheers
    PAMELA
                                                                                    BobLevine                                                    
                 <[email protected]                                            
                 >                                                          To
                                           pamela hettrick                    
                 17/08/2010 14:09          <[email protected]>  
                                                                            cc                                                                               
    Please respond to                                     Subject
                 clearspace-143433         I have created a        
                 1873-767197-2-305         newsletter in indesign cs4 how can 
                 [email protected].         I set zooms for each article for   
                     adobe.com             the user                                                                               
    You don't. There are third party solutions available for that. Sorry but I
    don't have any links handy right now.
    And please delete your signature...it's making a mess of the forum display
    of your posts.
    Bob

  • "... y ou will be charged for each recipient for each message sent."

    I received the system message today from Verizon: "Starting on October 14th, 2011 when sending a picture or video message, you will be charged for each reicpient for each message sent." I have $10 / month text plan that permits me 250 text messages.
    I assume this system message means that, if I send ONE picture message to TWO recipients, e.g., then my pool of remaining text messages will be deducted by TWO.
    I assume that the system message does not mean that, if I send ONE picture message to TWO recipients, e.g., then I will be charged, ABOVE AND BEYOND $10, for both messages, EVEN IF I HAVE TWO OR MORE MESSAGE LEFT IN MY POOL.
    Are my two assumptions correct?

    harbin96 wrote:
    I have the same phone and received the same text today right after I added money to my account. I'm hoping your are right because I'm not paying extra just to send pics and videos! I wonder if this only applies to plans w/o the texting bundle. But as soon as the Unleashed plan comes out on Thursday, I'm gonna get a new phone and get that plan!!
    Unleashed is a prepaid plan and yes it does have unlimited texting, Internet (Note I did not say data).
    The issue, you are limited to particular phones. Feature phones only.

  • File TO File-Using XSLT mapping (for Beginners) --- Error in XSLT

    Hi,
    I am following this wiki (TO File-Using XSLT mapping (for Beginners))
    https://wiki.sdn.sap.com/wiki/display/XI/FileTOFile-UsingXSLTmapping%28forBeginners%29
    When creating  Xslt from the MapForce, when I click on the XSLT Tab I am getting the following error
    http://www.flickr.com/photo_zoom.gne?id=1216715484&size=o
    How to correct this error ?.....
    Thanks
    srini
    Message was edited by:
            srinivas

    Hello,
    The XSD you are using is from Data Type and you are using it for mapping.
    Instead export XSD for Message Type and also pass the XML schema for source that will solve the issue and your XSLT will be generated.
    Regards,

  • For Each Loop for XML Task

    Hello Everyone,
    Please assist with a step by step guide on how to setup a For Each Loop for XML Task
    I'm trying to convert XML to XSLT
    I have tried more than 10 times and i just do not know what i am doing wrong - no error, my package just runs for a few seconds but nothing happens
    Thanks in advance
    Dee

    I managed to get my XML to XSLT to work but now when i run my package to import the data into SQL table,
    it stops after a few records, i get the following error: 
    [XML Source [1]] Error: The component "XML Source" (1) was unable to process the XML data. The element "Errors" cannot contain a child element. Content model is text only.
    Please assist
    Check this:
    http://social.msdn.microsoft.com/Forums/en-US/80726e0c-9e85-43ca-87bc-7cf90fd7fb31/xml-source-data-flow-throws-cannot-contain-a-child-element-content-model-is-text-only-error?forum=sqlintegrationservices
    Chaos isn’t a pit. Chaos is a ladder. Many who try to climb it fail and never get to try again. The fall breaks them. And some are given a chance to climb, but they refuse. They cling to the realm, or the gods, or love. Illusions. Only the ladder is real.
    The climb is all there is.

  • Is there any way to use a For Each Loop for each property of an User Defined Type?

    Is there any way to use a For Each Loop for each property of an User Defined Type? That would be very handy!
    Jorge Barbi Martins ([email protected])

    Alas, no, not in VBA.
    Regards, Hans Vogelaar (http://www.eileenslounge.com)

  • Opening stock of a material for each day for a month

    Hi ,
    Is it possible to get a opening stock of a material for each day for a month . For Example for the month of Feb From 01/02/2014 to 28/02/2014 i want to see the opening stock for each day .
    Thanks .
    Message was edited by: Jürgen L

    If you give 01.02.2014 to 28.02.2014 in MB5B report, then you will got the opening stock for 01.02.2014 and closing stock for 28.02.2014...
    the MB5B report designed like that
    It will give you the opening stock for from date and closing stock for end date...
    If you want to see the opening stock per each day, then you have to give the date each date in MB5B report...
    Like as for opening for 02.02.2014, you have to enter the from date as 02.02.2014..
    You can make your own report from copy the existing program RM07MLBD and you can add you additional code...
    Make the program output will be for each day...

  • Query on processing a PDF file using Java mapping

    Hi All,
    i am trying to process a XML and PDF file using Java mapping, it is successful in XML but unable to do for PDF.
    below is the code i am using... can any one guide me how to process PDF's..
    byte byte1 = 0;     
    java.io.ByteArrayOutputStream bos = (ByteArrayOutputStream)outputstream;
    while((byte1=(byte)inputstream.read())!=-1){
    bos.write(byte1);
    bos.close(); 
    Thank You,
    Madhav

    Hi Madhav,
    I think instead of going with JAVA mapping you can write a custom adapter module for it.
    Ref:  /people/sap.user72/blog/2005/07/31/xi-read-data-from-pdf-file-in-sender-adapter
    Also check : Re: PI 7.1 : Taking a input PDF file and mapping it to a hexBinary attribute
    /people/shabarish.vijayakumar/blog/2009/05/17/trouble-writing-out-a-pdf-in-xipi
    Thanks,
    Edited by: Hareenkumar on Dec 21, 2010 11:12 AM

  • Change Schedule Lines values for Each Item for a Scheduling Agreement ?

    Hii
        I want to change the Schedule Line Schedule Qty for Each Line item for a
    Scheduling Agreement .
    I cannot use BAPI_PO_CHANGE as this is for PO only and gives error for
    a scheduling agreement.
    I am on 4.6c so i SAP does not have BAPI_AGREEMENT_MAINTAIN .
    Please help me out on using a BAPI or FM to do this.
    Regards
    Gaurav

    Hi,
    isn't the Schedule Line a special case of SALES order  that might be changed with a BAPI_SALESORDER_MAINTAIN.... If ther is no BAPI for this in your system, you might create new contracts with reference to existing ones using BAPI_CONTRACT_CREATEFROMDATA.
    Regards,
    Clemens

  • New Line Character in OSB for sending email in proper format

    Hi
    We have a client requirement, where in we send an error email when ever an exception occurs in the OSB flow. We are using OSB 11g and we need to format the body within or before the publish activity using a replace activity something in the below manner (replace . in variable body (replace node contents))
    fn:concat("Following Exception Occurred <NEW LINE>","ErrorCode: ",fn:data($fault/ctx.errorCode) etc etc)
    Please tell us if there is a new line character available within OSB to format the email message. Please help its urgent. Thanks

    Thanks a lot for the reply, but still in the email body, i see everything in one line (no enter0). I tried " ","",\n and CHR(13). All dont seem to work.
    Also can you provide an example for &#13: (Ampersandhash13colon)
    Please help.
    Regards
    Amit Sachdev
    Edited by: user638094 on Mar 8, 2011 12:01 AM

  • Time stamp for each DML in spool file

    Hi,
    I need to know how much time is taking for each delete statement in sql file.
    this is my sql file with dml statements.
    set serveroutput on;
    set time on;
    spool C:\PN\PN\temp_spool.log
    delete from tmp_test1;
    commit;
    delete from tmp_test21;
    commit;
    set time off;
    spool off;
    The spool file is creating as below.
    20 rows deleted.
    Commit complete.
    30 rows deleted.
    Commit complete.
    My requirement is to print time for each DML in the spool file. eg
    *17:31:03 SQL>*
    *20 rows deleted.*
    Commit complete.
    *17:31:33 SQL>*
    *30 rows deleted.*
    Commit complete.
    *17:31:53 SQL>*
    If I spool the file with time stamp I can get the timing for each DML.
    Appreciate your help.
    Thanks,

    I need to know how much time is taking for each delete statement in sql file.
    If I spool the file with time stamp I can get the timing for each DML. subtract the consecutive timestamps in the spool file.

Maybe you are looking for

  • Info group being not called while using Dynamic Actions

    Hi, I am facing a scenario that, while we execute some action from PA40 like termination, then it will call my subroutine for dynamic actions which will be calculating the last day worked and updating the same in Info Type 0041. For updating the IT 0

  • Using dynamic properties in an Instance property

    Is there a way to take the output of a dynamic properties variable (from PROP_LIST) and use that variable in an InstanceProperty tag so that the InstanceProperty is pre-filled out on the display? The idea would be to have a dynamic properties variabl

  • All photos appearing off-line

    All photos in in my Lightroom 5, appearing off-line with question mark next to all folders. I have over 45,000 photos. How can I get everything to show up again. First time this has ever happened.

  • Apple Remote Desktop v 3.6.1  11"  Macbook Airs running Lion OS can not verify

    When I try connecting to a 11" Macbook Airs with Lion OS.   I always get Authentication Failed error.  When I try connecting to a 13" Silver Macbook Pro machine running Lion OS I can verify just fine. Any suggestions?

  • Time machine restore randomly missing files

    Macbook refused to boot, apple store cleared it up, told me to do a backup from time capsule.  Files that were on my desktop are missing.  The time capsule reports doing complete backups frequently and as recently as monday.  Why am I missing files a