IDOC to FILE - Output problem

Experts,
In the IDOC I receive, there a ~ symbol after each record.
So while conversion, my file is holding only the first record. Later records are missing.
What do I need to do to get complete file output.

Hi Veera:
<b>IDOC DT:</b>
Z_Generic_IDOC
  IDOC
     Z_Items
<u>       BLOB</u>
<b>O/P DT:</b>
MTMatmas
  itemlist
     item
<u>       BLOB</u>
<u>I Mapped ONLY BLOB WITH BLOB.</u>
Testing at MM level, its executing fine and giveing me all records. But failing when executing as a scenario. Records after that ~ sysmbol are not recognized.
Error Message from Monitoring:
Could not process due to error: java.lang.Exception: Exception in XML Parser (format problem?):'java.lang.Exception: Message processing failed in XML parser: 'java.lang.Exception: Consistency error: more fields found in XML structure than specified in conversion parameters! (Value 'R256353\#\#HELICAL GEAR\#PC\#\#\#07\#N\#\#CCELERATOR\#\#\#Y\#\#00\#\#\#\#')', probably configuration error in file adapter (XML parser error)'
So Please let me know your ideas if any.
Thanks
Kiran

Similar Messages

  • IDOC to File Mapping problem.

    Hi all,
    I am working on IDOC to file scenario. Here I need to create CSV file for some fields of the IDOC. Actually flat file should contain around 65 comma separated fields irrespective (independent of the segment presence in the IDOC) of the existence of the corresponding filed in the idoc structure. So could you please tell me how to handle this situation?
    Here file is supposed to be created with 65 fields. But it only contains few of those, as some segments in the IDOC are missing. Is there any dependency between the filed and its header/segment?
    Thanks in advance,
    -Kanth.

    Hi Prasad,
    <i>But it only contains few of those, as some segments in the IDOC are missing. Is there any dependency between the filed and its header/segment?</i> - yes, if your  source IDOC is having some segments missing, then your target will not have those segments, so some of your target data will be lost.......
    To avoid this you can go for a JAVA mapping.....
    Thanks,
    Rajeev Gupta

  • IDOC to File scenario problem

    Hello,
    I configured this scenario:
    R/3 4.6C (IDOC) -> XI -> XI File Adapter (IDOC-XML)
    I am on SP Stack 10 (i386)
    IDOC arrived to XI with success, but there is no file in out directory of File adapter. In Audit Log in Adapter Engine of XI I get errors:
    <b>1. Error Unable to find channel ID
    2. Error Delivery of the message to the application using connection AFW failed, due to: Couldn't find delivery channel for message: bf6a8684-e3ac-9540-a055-c9156b6c4edb</b>
    After 3 retries message stuck in System Error.
    Here is a detail log:
    2005-03-03 08:50:57 Success The message was successfully received by the messaging system. Profile: XI URL: http://xi3:53700/MessagingSystem/receive/AFW/XI
    2005-03-03 08:50:57 Success Using connection AFW. Trying to put the message into the receive queue.
    2005-03-03 08:50:58 Success The message was successfully retrieved from the receive queue.
    2005-03-03 08:50:58 Success The message status set to DLNG.
    2005-03-03 08:50:58 Error Unable to find channel ID
    2005-03-03 08:50:58 Error Delivery of the message to the application using connection AFW failed, due to: Couldn't find delivery channel for message: bf6a8684-e3ac-9540-a055-c9156b6c4edb.
    2005-03-03 08:50:58 Success The asynchronous message was successfully scheduled to be delivered at Thu Mar 03 08:55:58 CET 2005.
    2005-03-03 08:50:58 Success The message status set to WAIT.
    2005-03-03 08:55:58 Success The message was successfully retrieved from the receive queue.
    2005-03-03 08:55:58 Success The message status set to DLNG.
    2005-03-03 08:55:58 Error Unable to find channel ID
    2005-03-03 08:55:58 Error Delivery of the message to the application using connection AFW failed, due to: Couldn't find delivery channel for message: bf6a8684-e3ac-9540-a055-c9156b6c4edb.
    2005-03-03 08:55:58 Success The asynchronous message was successfully scheduled to be delivered at Thu Mar 03 09:00:58 CET 2005.
    2005-03-03 08:55:58 Success The message status set to WAIT.
    2005-03-03 09:00:58 Success The message was successfully retrieved from the receive queue.
    2005-03-03 09:00:58 Success The message status set to DLNG.
    2005-03-03 09:00:58 Error Unable to find channel ID
    2005-03-03 09:00:58 Error Delivery of the message to the application using connection AFW failed, due to: Couldn't find delivery channel for message: bf6a8684-e3ac-9540-a055-c9156b6c4edb.
    2005-03-03 09:00:58 Success The asynchronous message was successfully scheduled to be delivered at Thu Mar 03 09:05:58 CET 2005.
    2005-03-03 09:00:58 Success The message status set to WAIT.
    2005-03-03 09:05:58 Success The message was successfully retrieved from the receive queue.
    2005-03-03 09:05:58 Success The message status set to DLNG.
    2005-03-03 09:05:58 Error Unable to find channel ID
    2005-03-03 09:05:59 Error Delivery of the message to the application using connection AFW failed, due to: Couldn't find delivery channel for message: bf6a8684-e3ac-9540-a055-c9156b6c4edb.
    2005-03-03 09:05:59 Error The message status set to NDLV.
    Also I checked <b>admin_adapter.txt</b> file in \usr\sap\XI3\DVEBMGS37\j2ee\cluster\server0\log\services\com.sap.aii.adapter.file.svc directory:
    2005-03-02 22:40:02 : File Adapter Administration Stopping Sequence Executed
      No adapter configured
    2005-03-02 22:44:07 : File Adapter Administration initialized
      <b>No adapter configured</b>
    But, I configured File Adapter in Integration Directory as Active, and also in SXI_CACHE is present:
    Communication Channel     File
    Adapter Engine Type     CA
    Adapter Engine Name     af.xi3.xi3
    Adapter Name     File
    Adapter Namespace     http://sap.com/xi/XI/System
    Adapter Software Component     3B787A8035C111D6BBE0EFE50A1145A5
    Message Protocol     File
    Message Protocol Vers.     3.0.0527
    Transport Protocol     File
    Call Direction     O
    Where is a problem?.
    BTW, I get a same problem with DEMO: Distributing Booking Order Data.

    Hi,
    Try make a CPACache refresh.
    (Http://<host>:5<sysnr>00/CPACache/refresh?mode=full) use XIDIRUSER.
    We had a similar error after SP10, (every thing seems active, but it wasn't). It was solved by doing the cache refresh.
    Hope it's help you
    Rolf

  • IDoc-XI-File Processing problem

    Hi There -
    I am looking for expert help in resolving following issue:
    We developed multiple IDoc-XI-single File using BPM (with time=1 min) in SP14. The scenario was working fine.
    Now we transported to XI SP15 on UNIX. While testing some messages are in recorded status with Q stopped error. But File is being created with some messages.
    Help in resolving this issue is appreciated.
    Regards,
    Tom

    Hi,
    If there some idocs are missing while collecting, then try to do Local Correlation instead of Global Correlation.
    Suugested SAP Notes- 852019
    Just look into this-
    /people/sravya.talanki2/blog/2005/12/09/xiidoc-message-packages
    Message scheduled (waiting )
    /people/sravya.talanki2/blog/2005/11/02/overview-of-transition-from-dev-to-qa-in-xi
    Hope this helps,
    Pls acknowledge
    Regards,
    Moorthy

  • Orders IDOC  XML File Size Problem

    Hi,
    I am generating an XML through XML port using IDOC. But I am getting on 3 KB XML file, so that a lot of Data is truncated.  How I get the complete XML file.

    Hi Raghu,
    have a look at the XLSX file generated by Excel, you'll see that it's simply a zipped file. So you can't do it with a transformation, but you need CL_ABAP_ZIP class. I advise you to look at the abap2xslx project ABAP code (currently 3.0) to see how it works.
    Best regards,
    Sandra

  • FIle Content Conversion Problem in IDOC-XI-File Scenario

    Dear All,
    I am doing IDOC-XI-FILE scenario.
    I am facing one problem related to File Content Coversion.My requirement was to generate a dynamic file like <b>%store_code%_%current_date%_sitemaster.xml</b> , I have completed the dynamic generation successfully .
    Now there is slight change in the requirement ,<b>we have to suppress the current_date node of the xml content</b> . i have tried to suppress the current_date using these <b>DATE.fieldFixedLengths 0 , Date.fixedLengthTooShortHandling Cut</b> , But I am unable to suppress it Can some body provide me the details on this .
    The output xml version generated by Reciever file adapter is as below :
    <?xml version="1.0" encoding="UTF-8" ?>
    - <ns0:MT_SITE_MASTER xmlns:ns0="http://sample-xitest.com/sitemaster">
    - <SITE_DATA>
    <STORE_CODE>N002</STORE_CODE>
    <TITLE_MEDI>Company</TITLE_MEDI>
    <STORE_NAME>Mount Road</STORE_NAME>
    <STREET>Chennai</STREET>
    <COUNTRY>IN</COUNTRY>
    <SALES_TAX_NO>12345678910</SALES_TAX_NO>
    </SITE_DATA>
    </ns0:MT_SITE_MASTER>
    Plz provide me the code I have to write in the file content conversion .
    Thanks in advance
    Regards
    Prabhat

    If u see my earlier reply, I mentioned that u can not suppress the field from the one node.i.e Form SITE_DATA data type u can not suppress the field called CURRENT_DATE.
    My suggestion is that , modify the Data type in such a way that you will be having two nodes as I have mentioned earlier.  Then use the Suppress Logic for the Current Date.
    So it will look like this-
    <?xml version="1.0" encoding="UTF-8" ?>
    - <ns0:MT_SITE_MASTER xmlns:ns0="http://sample-xitest.com/sitemaster">
    - <SITE_DATA>
    <STORE_CODE>N002</STORE_CODE>
    <TITLE_MEDI>Company</TITLE_MEDI>
    <STORE_NAME>Mount Road</STORE_NAME>
    <STREET>Chennai</STREET>
    <COUNTRY>IN</COUNTRY>
    <SALES_TAX_NO>12345678910</SALES_TAX_NO>
    </SITE_DATA>
    <CURR_DATE>
       <CURRENT_DATE>20051105</CURRENT_DATE>
    </CURR_DATE>
    </ns0:MT_SITE_MASTER>
    So ur SITE_DATA is not having a field called CURRENT_DATE. This field is in separate node (segment ) called CURR_DATE. Now u can use the Suppress Logic for the same like this.
    CURR_DATE.fieldFixedLengths - 0
    CURR_DATE.fixedLengthTooShortHanling - Cut
    And in your Variable Substitution you can use the date from the other segment called CURR_DATE.
    Hope this solves ur problem.
    Regards,
    Moorthy

  • Problem in idoc to file mapping

    Hi Experts,
    I am doing a idoc to file scenario...
    There is a single idoc with multiple header and line items .
    I am using multi mapping for header and lineitems.
    The problem i am facing is regarding the occurences in target strucure...
    at which level they should be specified so all the headers come in one strucure and line items in another...or should the occurences be o to unbounded at each field level.
    Kindly help me regarding the same ...

    hi
    i have the same scenario : IDOC (orders) to Flat File. can you plz help in mapping. the input format to XI is in the given way
    idoc
        a1---(0-1)
        a2---(0-1)
           b1--
        a3---(0-1)
           b1---(0-n)
             c1---
           b2---
             c1---
        a3---(0-n)
           b1---
           b2---
        a3---
          b1---
          b2---
        a3
          b1---
          b2---
    i have created the same output DT in the same format (parent-child) for flat file. and my questions are
    1. is that correct, do i need to create the same DT as the above idoc (like parent and child) or different?
    2. how to map the idoc fields to my file DT..do i need to map parent to parent and child to child...or different.
    plz help me out
    Thanks
    ram

  • Mapping Problem  ( IDoc to File  )

    Hi,
    I am working on Idoc to file scenario...My input and output structures like below...
    Idoc:
    ZOrderInfo        1----99999
        OrderNumber 0---1
         ZItem       1----99999
         Quantity       0---1
    File:
    Item
       OrderNumber  0-1
       Quantity         0-1
    Problem :  I need to produce Item nodes in output structure based on OrderNumber. like for 4 order numbers in source need to 4 Item segments.
    a) Summation:  If any duplicate Ordernumber comes in picture...we need to omit that and need to take the quantity from that...do summation and send to target.
    like OrderNumber -1...quantity -10 and Ordernumber -1 ....quantity -20
    Need to produce only one ordernumber -1 with the quantity of 10+20 =30.
    b) If the Ordernumber not present in any segment....Need to pass the quantity as is...
    any suggestions would be appreciated.
    -Esha.

    Sunil,
    Note:   In this input Idoc - It has 3 segments, 2 segments have same ordernumber and 1 segment doesn't have order number.
    And I am expecting two Item nodes in output structure - One with quantities summation (500 +500 =1000) for the same order number and One with no ordernumber and quantity as is (600).
    Hope my requirements clear to you! Please help me with the valueable suggestions!
    My input structure  - IDoc:
    <?xml version="1.0" encoding="UTF-8"?>
    <ZORDR01>
       <IDOC BEGIN="">
          <EDI_DC40 SEGMENT="">
             <TABNAM/>
             <MANDT/>
             <DOCNUM/>
             <DOCREL/>
             <STATUS/>
             <DIRECT/>
             <OUTMOD/>
             <EXPRSS/>
             <TEST/>
             <IDOCTYP/>
             <CIMTYP/>
             <MESTYP/>
             <MESCOD/>
             <MESFCT/>
             <STD/>
             <STDVRS/>
             <STDMES/>
             <SNDPOR/>
             <SNDPRT/>
             <SNDPFC/>
             <SNDPRN/>
             <SNDSAD/>
             <SNDLAD/>
             <RCVPOR/>
             <RCVPRT/>
             <RCVPFC/>
             <RCVPRN/>
             <RCVSAD/>
             <RCVLAD/>
             <CREDAT>20080310</CREDAT>
             <CRETIM>104301</CRETIM>
             <REFINT/>
             <REFGRP/>
             <REFMES/>
             <ARCKEY/>
             <SERIAL/>
          </EDI_DC40>
          <Z1ORDAPH SEGMENT="">
             <ORDNO>1234567890</ORDNO>
          <DATE/>
             <Z1ORDAPL SEGMENT="">
                <ORDAPQTY>500</ORDAPQTY>
             </Z1ORDAPL>
          </Z1ORDAPH>
          <Z1ORDAPH SEGMENT="">
             <DATE/>
             <Z1ORDAPL SEGMENT="">
                <ORDAPQTY>600</ORDAPQTY>
             </Z1ORDAPL>
          </Z1ORDAPH>
          <Z1ORDAPH SEGMENT="">
             <ORDNO>1234567890</ORDNO>
          <DATE/>
             <Z1ORDAPL SEGMENT="">
                <ORDAPQTY>500</ORDAPQTY>
             </Z1ORDAPL>
          </Z1ORDAPH>
       </IDOC>
    </ZORDR01>

  • Idoc to file problem with DynamicConfiguration

    HI SAP Guru's
    I have a iDoc to File scenario and the output file requirement is bit tricky.
    output file should be xx_Region_iDoc Number_YYYYMMDDHHMMSS
    I been through couple of blogs but non of them mentioned about the iDoc all of them showed the about the FileName in FileAdapter.
    I believe it is only possibly via Dynamic configuration.
    I need to extract E1EDKA1/LAND1, DOCNUM from Source IDoc Structure and then concat it with Date and generate the output file name.
    I cannot even get the iDoc Number i.e. DOCNUM via Dynamic Configuration.
    I was trying this method but it didn't work.
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/IDoc","DOCNUM");
    String ourSourceFileName = conf.get(key);
    return  ourSourceFileName; 
    Can somebody please let me know how to achieve this and how?

    Hi Rodrigo,
    I have done the UDF with 3 inputs and mapped it with header of Target side and now would like to know about the setting in File Adapter.
    1. Could tell me what do I need to write in "File Name Scheme" , I am using *.xml , is it right?
    2. I also check the Use Adapter Specific Message Attributes,
        Fail if Adapter-Specific Message Attributes Missing
        FileName
    Could you please tell me is there anything else I need to do because I have been through couple of blogs and all of them mentioned about File but not about the IDoc.
    DynamicConfigurationKey key = DynamicConfigurationKey.create(u201Chttp://sap.com/xi/XI/System/Fileu201D,u201CFileNameu201D);
    Except you who mentioned this
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/IDoc",fileName);
    I am bit confused about the FileName because there is no FileName in IDoc;
    I found these information in IDoc Dynamic Configuration
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Receiver Determination
      -->
    - <SAP:DynamicConfiguration xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Record namespace="http://sap.com/xi/XI/System/IDoc" name="SNDPOR">SAPDGE</SAP:Record>
      <SAP:Record namespace="http://sap.com/xi/XI/System/IDoc" name="SNDPRN">DGE008</SAP:Record>
      <SAP:Record namespace="http://sap.com/xi/XI/System/IDoc" name="SNDPRT">LS</SAP:Record>
      <SAP:Record namespace="http://sap.com/xi/XI/System/IDoc" name="RCVPOR">A000000012</SAP:Record>
      <SAP:Record namespace="http://sap.com/xi/XI/System/IDoc" name="RCVPRN">CITIPHMX</SAP:Record>
      <SAP:Record namespace="http://sap.com/xi/XI/System/IDoc" name="RCVPRT">B</SAP:Record>
      <SAP:Record namespace="http://sap.com/xi/XI/System/IDoc" name="MESTYP">PAYEXT</SAP:Record>
      <SAP:Record namespace="http://sap.com/xi/XI/System/IDoc" name="IDOCTYP">PEXR2002</SAP:Record>
      <SAP:Record namespace="http://sap.com/xi/XI/System/IDoc" name="CIMTYP">ZPEXR2002</SAP:Record>
      <SAP:Record namespace="http://sap.com/xi/XI/Message/30" name="CALLER_CODEPAGE">4102</SAP:Record>
      </SAP:DynamicConfiguration>
    Please comment.

  • Problem in idoc to file scenario

    hi
    while creating the idoc to file scenario i am facing few problems.
    1) My design time objects are working fine. i have checked my message mapping, message interface etc.. (all design time objects are in active mode).
    2) In ID, i have tested my configuration in test configuration, its working fine there as well (in ID i am using 2 business service one for sender, one for receiver)
    3) i am using my ecc6 training server as my sender and using my XI server as receiver.
    4) i am sending idoc from ecc6 and converting it  to file in XI server and saving it in XI server itself(my receiver in this case).
    my error:
    i send my idoc from we19 transaction, and i see a error message stating
    that 'RCVR_DETERMINATION.NO_RECEIVER_CASE_ASYNC'
    my doubts.
    1) while sending the idoc from ecc6, is it mandatory to give process code in partner profile ( that is, assign an outbound function module to push the created idoc to the mentioned destination).
    2) also is it mandatory to have a partner profile on the receiver side( XI in this case) along with inbound process code.
    3) in my receiver adapter ( file adatper in this case ) i have used NFS protocal. is it rite?
    kindly help me with this issue.
    regards
    manoharan

    >
    manoj murugesan wrote:
    > 1) while sending the idoc from ecc6, is it mandatory to give process code in partner profile ( that is, assign an outbound function module to push the created idoc to the mentioned destination).
    >
    > 2) also is it mandatory to have a partner profile on the receiver side( XI in this case) along with inbound process code.
    >
    > 3) in my receiver adapter ( file adatper in this case ) i have used NFS protocal. is it rite?
    >
    >
    > kindly help me with this issue.
    >
    >
    > regards
    > manoharan
    and to 1 & 2 ref. below,
    Configuration steps required for posting idoc's(XI) -
    /people/ravikumar.allampallam/blog/2005/02/23/configuration-steps-required-for-posting-idocsxi
    ALE configuration for pushing idocs from SAP to XI -
    /people/swaroopa.vishwanath/blog/2007/01/22/ale-configuration-for-pushing-idocs-from-sap-to-xi
    3. NFS protocol is used to read/write files to the XI server itself. If you have to write to a local machine then use FTP

  • IDoc to File scenario Monitoring Problem

    Hi,
    I have a problem in monitoring. In my IDoc to file scenario the ftp server is not reachable (wrong ip) but still in sxmb_moni I get a successful processed message with acknowledgement system error.
    Now, why dont I get an normal error in sxmb_moni?
    Thanks in advance...

    Hi,
    >>Now, why dont I get an normal error in sxmb_moni?
    Why because in MONI we generally get the Errors related to the Message Processing like mapping, and pipe line Services.
    But the error which u got is related to the Receiver, so this we can find out in the Receiver File Adapter monitoring( CC monitoring)
    MONI Shows the Errors those are related to the ABAP Satck means if any Errors occurs while going the process on ABAP Stack
    But the error which u got is on Adapter Engine Process, so Definately the Error finding place is on Receiver CC monitoring
    REgards
    Seshagiri
    Edited by: N V Seshagiri on Sep 26, 2008 1:17 PM

  • IDOC- XI- FILE(s) 1..n mapping problem

    I am working on a IDOC->XI->FILES scenario and am stuck on mapping of idoc segments to output structure.
    IDOC structure is as following,
    WBBDLD05 (1..1)
         IDOC (1..1)
              EDI_DC40 (1..1)
              E1WBB01 (1..10000) ...
    so the idoc being sent has multiple E1WBB01 segments, i need to do some content check for each E1WBB01 segment and create files based on thats. (ie. if there are 10 of E1WBB01 segments that meets a condition like "E1WBB02:ATTYP = 01", then i should create a file with 10 lines, and if there are 5 segments that meets "E1WBB01.E1WBB02:ATTYP = 00 or 02" condition , then i need to ALSO create another file with another structure with 5 lines)
    i intend to use ccbpm as i find it easier to manipulate control steps. So far i am able to receive abstract idoc message interface, but as i am stuck on this mapping issue, i am not able to use the transformation step for checking content of each E1WBB01 data.
    thank you in advance for any help

    u wud need to loop thru to check for all the contents and have them transformed accordingly. u can check with block . but before that have E1WBB01 into a multiline interface and then use this interface in the transformation step.
    <u>Message Mapping</u>
    SOURCE                                        TARGET
    WBBDLD05 (1..1)
    IDOC (1..1)
    EDI_DC40 (1..1)
    E1WBB01 (1..10000)---------------------------MI_E1WBB01

  • Mapping problem: IDOC - XI - File

    Hi,
    in my scenario (Z-IDOC - XI - File) I have problems with the mapping:
    Z-IDOC :
    ZFIBUCH1
    _IDOC
    ___Begin
    ___EDI_DC40
    ___Z1L061 (0..999999999)
    _____Z1L062 (0..999999999)
    example
    L061 18000 DE 0101 23236318 050605 EUR
    __L062 18000 XXX XXX
    __L062 18000 XX1 CCC3
    L061 87000 DE 0101 050605 EUR
    __L062 87000 XXX XXX
    __L062 87000 XX1 XAA4
    the result should look like this :
    L061 18000 DE 0101 23236318 050605 EUR
    L062 18000 XXX XXX
    L062 18000 XX1 CCC3
    L061 87000 DE 0101 050605 EUR
    L062 87000 XXX XXX
    L062 87000 XX1 XAA4
    I tried the following  (target)-data types in the mapping but nothing did’nt work very well :
    MT_ZIFUCH_FILE
    __ row
    _____L061
    _______L062
    or
    MT_ZIFUCH_FILE
    __ row
    _____L061
    _____L062
    or
    MT_ZIFUCH_FILE
    _____L061
    _____L062
    Do I need here a BPM? Or should I use XSLT-Mapping??
    Or knows somebody a easyer way?
    Regards
    Christoph

    Hi,
    As per  my understanding to have a flat file struture you would require a flat structure at the target side.One similar to the second structure mentioned by you.
    DT_Target
    |_Header
           |______L61.....segment (child of header)
           |______L62.....segment (child of header)
    Using the mapping we convert the idoc structure to flat structure and then use content conversion like this :
    Recordset structure : L61,L62
    L61.fieldSeparator = ,(for you this value should be space)
    L62.fieldSeparator = ,
    I have not been able to convert the Target hierarchial structure to a flat file via content conversion.
    when i tried I got the values as
    L61,1800,...EUR,L62,8700,......
    Hope this helps,
    Regards,
    Sulakshana

  • Problem IDOC to File scenario:  No service for system SAPIDC, clnt in ID

    in IDOC to File scenario, when IDOCis triggered from R/3 to XI, it gives error in SM58 transaction 
    "No service for system SAPIDC, client 800 in Integration Directory"

    In a scenario, i have a BPM which has a transformation step which contains a mutimapping ...means 2 messages mapped to 1 messgaes, here in the mapping i m using an UDF and written code to extract the file name from dynamic configuration.....
    the problem is ...the same BPM contains another transformation step which contains a message mapping (which is not multi mapping), and here the code (UDF) works to fetch the file name...
    the code is all correct....and it looks like
    DynamicConfiguration conf = (DynamicConfiguration)
    container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
    String sourceFileName = conf.get(key);
    if (sourceFileName == null ){
         sourceFileName = "ErrorFile.xml";}
    return  sourceFileName;

  • Mapping Problem. Idoc to file senerio...

    Hi XI Gurus
                             I need a help.
    I have an idoc.The output is papped to a file , this being a IDOC to File senerio. The Idoc  contains segmnent1,2,3,4,5,6,7.The occurance of segment 7 is optional.It may come, it may not come. If segment 7 comes then there is  a field callled mwskz which would contain 2 digits,  say 'D1',  or  'D2' or D3' or 'D4' or  D5' or 'D6'  or D7'or 'F8' or D9'. The file has a mapping, where there are 9 fields [ say F1, f2, f3, f4, f5, f6, f7, f8, and f9 ]  in the ROOT. If at any instance, for a given segment 1, there is  a segment7, then the contents of the fields MWSKZ is mapped based on it's content , say if the content ofnwskz is D6 then all fields from F1 - F9 would be populated by the constant term 'N' except for the field 'F6' which would contain 'Y'.
    I have done a mapping, but it is failing...
    I have used, remove contexts for the field as well as segment . I have use the function exists...but, after putting PAYLOASD, what I can see is, the mapping of the occurance of SEGMENT7 is not synchronised with field mwskz.
    Experts Pls help.
    Pls send me ur email address so that I can show u the screen-shots of the mapping !!!!
    Many Thanks in Advance
    Arnab
    Please read the Forum's Rules of Engagement,
    i.e.,
    [/thread/117188 [original link is broken];
    and refrain from using email correspondence as the main objective of the Forums is to share knowledge.
    SDN PI/XI Forum Moderator

    Hi Arnab,
    If i have understood your requirement correctly, you need to duplicate your ROOT node which has fields f1.. f9 for 9 times and map it to a constant. Now you can provide the condition like this:
    mwskz = D6-> createIf -> ROOT
    and so on....
    In the ROOT segment now you can directly map the fields f1 to f9 as per the requirement, i.e., f1 to f5 and f7 to f9 can be mapped to N directly and f6 can be mapped to Y.
    Correct me if i have misunderstood your requirement.
    Regards,
    Sanjeev.

Maybe you are looking for

  • How can I remove a file on server w/ my JSP app running on Tomcat 7 ?

    First of all, I'm posting here because I found it the closest to java web development in the forums listing. How can I remove a file on the server side with my JSP app running on Tomcat 7 ? I did it in a JSE app by changing permissions, but how can I

  • Double drive failure on G4 bi1,25Ghrz

    I got a superdrive and a combo on my G4, with mac OSX 10.3.9. and two Hard drives on the internal SCSI port. The two DVD drives don't respond. the computer see and open them, but when i put a disk on both of them nothing happend. That facts remind me

  • Document Link Item Icon not visible at query execution

    Dear Colleagues! How can I acheive to have the comment-icon visible when I open a query with comments in BI Portal, as a default? I have set som settings for the properties of the Query in Query Designer. As it is now I have marked for Document Links

  • Procedure output like a query in SQL developer?

    Hi! How can a PL procedure create output like a query in SQL developer? This block begin for record in ( select * from my_db loop dbms_output.put_line(record.name ' ' || record.address) end loop; end; would print a of names and adresses in my_db. How

  • Which table stores the pages?

    I would like to create an LOV that has the pageids in the application as a return value, and their titles as the display values. I am creating a function in which users can edit and store their favorites, which are displayed on the right of their scr