EDI Seperator Channel Issue - Single EDI File is Creating Two IDOCs

Hi Experts,
   We are facing a strange issue in our project. We are working on SAP PO 7.4 SP06. Our's is an EDI to IDOC Scenario. We are using standard EDI XSD's generated by B2B 2.0 Cockpit. Since yesterday our Quality server is behaving strangely. Its processing an EDI File and generating TWO IDocs out of it.
When we run the same EDI File in our DEV Environment it executes perfectly and creates only ONE IDOC.
Signature in OM and it is 1 to 1 and in MM Target IDOC header is mapped to "Constant".
Our Scenario is :
1st IFLow : File to EDISeperator
2nd IFlow: EDISeperator to IDOC.
Appreciate your valuable inputs.

Hi,
Please do check your input file(s). Could be that you offer an EDI interchange, containing multiple messages, to SAP PO.
Also, maybe in the mean time, some objects or configuration was changed.
Kind regards,
Dimitri

Similar Messages

  • EDI Seperator Adapter Issue for Inbound EANCOM Scenario

    Hi Experts,
    Am using latest service pack and SP12 and patch 5 it seems.
    Still am getting same error.
    Message could not be forwarded to the JCA adapter. Reason: com.sap.aii.adapter.ediseparator.ra.integration.DispatchException: Message cannot be dispatched: Message cannot be dispatched: senderChannel 'fbesfd4b25331eabe67a1d04ec4acf': Catching exception calling messaging system
    I configured simple scenario.
    I have set up the 2 ID flows :
    - Partner 1 (Sender File) > (Partner 2) Receiver EDISeprator (didnt used any conversion modules)
    - Partner 3 (Sender EDISeparator with Edifact Module) > to SOAP sending B2B XML to another PI system.
    Done B2B **** Pit file Association.
    Tested in B2B COckpit and it is working fine but working in E2E
    Also note that this is not a Custom EDI. This is just Order D93A Standard message file containing multiple Orders in same file.
    Also let me know one thing Is it required to make KEY Associations for standard EDIFACT Structure Secnario as well?
    I understand from the above error that is able to lookUP the 2nd flow EDI Sender Channel ID but it is unable to deliver/despatch the message content to that flow.
    KINDLY HELP ME>

    Hi Dimitri,
    As per your advice raised another...
    http://scn.sap.com/thread/3597980
    Kindly help me
    Regards
    Amarsrinivas Eli

  • How to Parse the XML File and create an IDOC?

    Hello friends,
    I've an xml file which needs to be parsed and create an idoc into SAP to post the New Hire process?  I need to create an ABAP for this
    Could somebody help me do this?
    Thanks

    here is the sample code for loading local xml file and parsing its using the abov ementioned FM
    report y_xml_upload
           no standard page heading.
           data: filename type string ,
                 xmldata type xstring .
    data: result_xml type standard table of smum_xmltb .
    data: return type standard table of bapiret2 .
    constants: line_size type i value 255.
      data: begin of xml_tab occurs 0,
               raw(line_size) type x,
            end   of xml_tab,
            file  type string,
            size  type i.
    * upload the xml file
    filename = 'C:raja123.xml' .
      call function 'GUI_UPLOAD'
        exporting
          filename            = filename
          filetype            = 'BIN'
          has_field_separator = ' '
          header_length       = 0
        importing
          filelength          = size
        tables
          data_tab            = xml_tab
        exceptions
          others              = 1.
    ************uncomment this and comment the call of SCMS_BINARY_TO_XSTRING if you dont have this fm in your system.
    *  if sy-subrc <> 0.
    *    clear: xmldata.
    *    exit.
    *  else.
    *    data: len type i.
    *    len = size.
    *    loop at xml_tab.
    *      if len <= line_size. exit. endif.
    *      concatenate xmldata xml_tab-raw(line_size)
    *             into xmldata in byte mode.
    *      len = len - line_size.
    *    endloop.
    *    if len > 0.
    *      concatenate xmldata xml_tab-raw(len)
    *             into xmldata in byte mode.
    *      len = len - size.
    *    endif.
    *  endif.
    ******* end of comment.
    call function 'SCMS_BINARY_TO_XSTRING'
      exporting
        input_length       = size
    *   FIRST_LINE         = 0
    *   LAST_LINE          = 0
    importing
       buffer             = xmldata
      tables
        binary_tab         = xml_tab
    exceptions
       failed             = 1
       others             = 2
    if sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    endif.
    call function 'SMUM_XML_PARSE'
      exporting
        xml_input       = xmldata
      tables
        xml_table       = result_xml
        return          = return .
    Regards
    Raja
    do not forget to assign points to helpful answers

  • Issue with ALE configuration for creating the idoc for Purchase orders

    Hello,
            I am trying to send the purchase order through message type configuration using ALE.
    I am using idoc ORDERS05, message ORDERS, Process Code in Partner profile ME10.
    In NACE transaction for the Application EF, Output Type NEU the ALE Configuration is done for Program RSNASTED Form ALE_PROCESSING.
    I have done ALE distribution using BD64.
    Now the problem is that when an order is created or changed in the message output of the PO I am seeing the status as yellow i.e.not processed.
    In NAST table, the entry is there but on executing RSNAST00 nothing happens.
    Please provide me the pointers to solve the given problem.
    Regards,
    Mayank

    Hi,
    Guess it looks like the output is getting proposed but its not getting processed. Check the output type configuration. Check the TIme Settings in the output type configuration.
    It is possible to set the Time when the output must be processed. Is it on SAVE or is it set to other settings. If its set to via background job then the background job must be run to process the output types.
    Check and let me know if all is fine at the output type configuration.
    Cheers
    VJ

  • B2B Add on -  Accepted /Partially Accepted using EDI Seperator.

    I want to configure this feature of Accepted /Partially Accepted using EDI Seperator.
    We were using seeburger Adapter and could configure this.
    The scenario is :
    When multiple EDI files is being processed in an inbound scenario using EDI separator Channel. ,  If any files fails due to Data /syntax error,
    How to identify which file is been failed and how to send error ackn back to sender mentioning the files failed. .
    Please can anyone help me on this.

    Hi,
    If I'm not mistaken, this feature is available as of SP3.
    Ruchir Sinha, please correct me if I'm wrong.
    Kind regards,
    Dimitri

  • Merge Different Spools containing a Single PDF page into a Single PDF file.

    Greetings,
    I am developing a custom object where in i need to read PDF file from many different Spools(Range given on Input Screen), where each spool has a single PDF page in it. I need to combine all these PDF Pages into a single PDF file & either create a new Spool or save it on an Application Server.
    At present i have developed the code where in i am able to read the PDF files from different spools & convert them into Binary but i am not able to generate it back to PDF file.
    Kindly find my code for your reference.
    CODE:-
    START-OF-SELECTION.
      PERFORM f_get_spool_1000 .
      PERFORM g_conv_pdf_to_bin_2000 .
    *&      Form  F_GET_SPOOL_1000
          text
    FORM f_get_spool_1000 .
      SELECT * FROM tsp01
               INTO TABLE gt_tsp01
               WHERE rqident IN s_spool
               ORDER BY rqcretime DESCENDING.
      IF sy-subrc = 0.
        SORT gt_tsp01 BY rqident .
      ENDIF.
    ENDFORM.
    *&      Form  G_CONV_PDF_TO_OTF_2000
          text
    DATA: lv_filename_out   TYPE string,
                lv_len            TYPE i,
                lt_tab            TYPE tsfixml .
      DATA: lwa_print_parms    LIKE pri_params,
                  lv_valid(1)       TYPE c .
      DATA: lv_linsz LIKE sy-linsz VALUE 132, " Line size
                  lv_paart LIKE sy-paart VALUE 'X_65_132'.  " Paper Format
      DATA : lt_tsp01 TYPE STANDARD TABLE OF tsp01 ,
                   lwa_tsp01 TYPE tsp01 .
      CLEAR : gv_pdf, gwa_tsp01, gv_renderpagecount .
      LOOP AT gt_tsp01 INTO gwa_tsp01.
        CALL FUNCTION 'FPCOMP_CREATE_PDF_FROM_SPOOL'
          EXPORTING
            i_spoolid         = gwa_tsp01-rqident
            i_partnum         = 1
          IMPORTING
            e_pdf             = gv_pdf
            e_renderpagecount = gv_renderpagecount
            e_pdf_file        = gv_pdf_file
          EXCEPTIONS
            ads_error         = 1
            usage_error       = 2
            system_error      = 3
            internal_error    = 4
            OTHERS            = 5.
        IF sy-subrc <> 0.
          MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                  WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ENDIF.
        CLEAR lv_len .
        REFRESH gt_bin .
        CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
          EXPORTING
            buffer        = gv_pdf
          IMPORTING
            output_length = lv_len
          TABLES
            binary_tab    = gt_bin.
        CLEAR gwa_bin .
        LOOP AT gt_bin INTO gwa_bin.
          APPEND gwa_bin TO gt_listout.
          CLEAR gwa_bin .
        ENDLOOP.
      ENDLOOP.
    Get FP reference
      DATA: lo_fp     TYPE REF TO if_fp VALUE IS INITIAL,
            lo_pdfobj TYPE REF TO if_fp_pdf_object VALUE IS INITIAL,
            lo_exc    TYPE REF TO cx_root,
            lv_xslt_message TYPE string .
      lo_fp = cl_fp=>get_reference( ).
    For handling exceptions
      DATA: lo_fpex TYPE REF TO cx_fp_runtime VALUE IS INITIAL.
      TRY.
          lo_pdfobj = lo_fp->create_pdf_object( connection = 'ADS' ).
      Set document
          lo_pdfobj->set_document(
            EXPORTING
              pdfdata = gt_listout ).
      Tell PDF object to extract data
          lo_pdfobj->set_extractdata( ).
      Execute the call to ADS
          lo_pdfobj->execute( ).
        CATCH cx_root INTO lo_exc.
          lv_xslt_message = lo_exc->get_text( ).
      ENDTRY.
    Your quick reply would be of great help.
    Regards.

    Thank Your for your concern, there are many replies & posts but all of them points only to Try what they have said. As being said that trying to convert PDF to binary & appending many PDF similarly would not let you generate a single PDF again.
    Your Kind guidance would be really appreciable.
    Regards.

  • EDI Seperator Issue for INbound EDI Scenario

    Hi Experts,
    Am using latest service pack and SP12 and patch 5 it seems.
    Still am getting same error.
    Message could not be forwarded to the JCA adapter. Reason: com.sap.aii.adapter.ediseparator.ra.integration.DispatchException: Message cannot be dispatched: Message cannot be dispatched: senderChannel 'fbesfd4b25331eabe67a1d04ec4acf': Catching exception calling messaging system
    I configured simple scenario.
    I have set up the 2 ID flows :
    - Partner 1 (Sender File) > (Partner 2) Receiver EDISeprator (didnt used any conversion modules)
    - Partner 3 (Sender EDISeparator with Edifact Module) > to SOAP sending B2B XML to another PI system.
    Done B2B **** Pit file Association.
    Tested in B2B COckpit and it is working fine but working in E2E
    Also note that this is not a Custom EDI. This is just Order D93A Standard message file containing multiple Orders in same file.
    Also let me know one thing Is it required to make KEY Associations for standard EDIFACT Structure Secnario as well?
    I understand from the above error that is able to lookUP the 2nd flow EDI Sender Channel ID but it is unable to deliver/despatch the message content to that flow.
    KINDLY HELP ME>

    Hi Dimitri,
    I tested again now with changing control key association.
    am getting below error::
    Message could not be forwarded to the JCA adapter. Reason: com.sap.aii.adapter.ediseparator.ra.integration.DispatchException: Message cannot be dispatched: Message cannot be dispatched: senderChannel 'a9e6939add043c39883683175abea3ba': Catching exception calling messaging system
    I delcared key associations for both flows.
    FILE-->EDI Seperator and EDI Seperator to SOAP.
    Could you please review it and guide me?
    Regards
    Amarsrinivas Eli

  • SAP PO EDI Separator  Channel Error

    Hi All,
    We have an Inbound EDI(INVOIC D01B format) Interface. There are 2 flows involved for the same.
    1 st flow: File -> EDI Separator
    2nd flow: EDI Separator -> IDOC
    Sometimes  its successful in the 1st flow and  In the 2nd flow it  picks different channel (Since we have 5 more EDI separator sender channels) and its throwing a mapping  error since it picks different format.
    In receiver EDI separator channel we are getting the error.EDI Separator channels behaves differently each time.
    When same file is tested in B2B  cockpit its Successful. So I am guessing no issues with the file used for testing.
    We have tried below options:
    We did a Full Cache refresh and tested again still the same error exists.  
    Stopped all other sender EDI Separator channel and tested still same error exists.
    Tried to keep only 1 sender EDI Separator channel and tested still same error exists.
    Tried a dummy change to all channels and tested again still same error exists.
    Message could not be forwarded to the JCA adapter. Reason: com.sap.aii.adapter.ediseparator.ra.integration.DispatchException: Message cannot be dispatched: Message cannot be dispatched: senderChannel 'ba6bc28e205c33629ec6d1cb5e2fb164': Catching exception calling messaging system
    MP: exception caught with cause javax.resource.ResourceException: com.sap.aii.adapter.ediseparator.ra.integration.DispatchException: Message cannot be dispatched: Message cannot be dispatched: senderChannel 'ba6bc28e205c33629ec6d1cb5e2fb164': Catching exception calling messaging system
    Exception caught by adapter framework: com.sap.aii.adapter.ediseparator.ra.integration.DispatchException: Message cannot be dispatched: Message cannot be dispatched: senderChannel 'ba6bc28e205c33629ec6d1cb5e2fb164': Catching exception calling messaging system
    Transmitting the message to endpoint <local> using connection File_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: javax.resource.ResourceException: com.sap.aii.adapter.ediseparator.ra.integration.DispatchException: Message cannot be dispatched: Message cannot be dispatched: senderChannel 'ba6bc28e205c33629ec6d1cb5e2fb164': Catching exception calling messaging system
      Please let me know your Suggestions if any!
    Appreciate your help!
    Thanks,
    Sharanya

    Hi Dimitri,
    I have tried giving all the parameters like Message type,Version....etc..
    But still it doesn't work.
    Thanks,
    Sharanya

  • EDI Convertion Space Issue

    Hi
    We are converting EDI to XML using "localejbs/X12ConverterModule" , after conversion we still see D_I06 has space left over, which is failing in VM mapping, i stripped out space using UDF, works fine, anyone experienced same issue in EDI convertion
    To test it, I took XMl form B2B mapping http://sap.com/xi/B2B/Examples/ANSIX12 > MM_ASC850_4010_TO_ORDERS05, by default D_I06 has space left over, I understand for D_I02 & D_I04 but not clear for D_I06
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:ASC850_004010 xmlns:ns0="http://sap.com/xi/B2B/Examples/ANSIX12">
       <S_ISA>
          <D_DATAELEMENTSEPARATOR>*</D_DATAELEMENTSEPARATOR>
          <D_I01>00</D_I01>
          <D_I02>          </D_I02>
          <D_I03>00</D_I03>
         <D_I04>          </D_I04>
         <D_I05>ZZ</D_I05>
          <D_I06>SAP0001       </D_I06>
    Check the attached document
    Checked with X12 modules still the same
    Configuring the Converter Module Parameters - SAP NetWeaver Process Integration, business-to-business add-on 1.0 - SAP L…

    Hello,
    Seeburger apparently just pushes the content to the target message. The B2B add-on contains business logic to verify lengths, based on the XML schema.
    Seeburger also uses logic to verify that incoming EDI-Files are following the syntax rules, and also verifies outgoing EDI messages in the same way to make sure that all EDIFACT/ANSI X12 Syntax rules are fullfilled.
    However in this example an incoming ANSI X12-file is translated to the XML-equivalent and for the XML-ANSI X12 which is then created from the original ANSI X2 file, not the same "syntax rules" need to be applied (as they cannot be applied anyway with the XML-possibilities)....also there is no definition existing on how an XML-equivalent of an ANSI X12 file need to look like....therefor it is just a defined behaviour of Seeburger that this incoming field is modified by stripping away the leading spaces....(since field length are anyway not verified on XML-side)
    Kind Regards
    Stefan

  • Create two outbond edi 850(simultaniesly)  for a single Purchase Order ,

    hi,
        I have to Create two outbond edi 850(simultaniesly)  for a single Purchase Order , How to go,
    Thanks in advance.

    Hi anikesh,
    just configure a second message [type] for the order.
    If the outbound IDoc is sent as the result of a message, why not have two of them?
    Regards,
    Clemens

  • Appending multiple xml files to single xml file using File channel?

    Hi Experts,
    I would like to get some pointers around xml files append.
    My sender application will send around 1000 messages through SOAP per day. But the target application needs single xml file formed by consolidation of all these 1000 files.
    I tried with txt files and the receiver file channel could append the txt files. However, since xml files allow only one root node, I am not able to achieve the requirement.
    Is there any option we can do to get the result?
    The target file location is UNIX folder. Do we need to create any shell script to run from the channel for appending the file?
    Do we need to use any XSLT mapping to strip the xml declaration tags and append the files. Once the single file is ready, using another file channel with XSLT mapping, insert a dummy root node and xml declaration tags to build an xml file?
    Any thoughts to get the result will be much appreciated.
    Thanks
    Ray..

    Hi,
    You have two options
    1)Using Receiver Sender File channel select mode append it does the job.
    Option 2:
    Using BPM we cann collect all messages per day and club them as a one message, in this case create Target data type root node occurance 1 to unbounded. so it cal hold multiples SOAP messages in only XML messages.
    search in sdn for BPM collect pattrersn,its very simple .
    Option 3:
    Create scheell script in OS level and write a logic to append all files planced in FTP.
    Regards,
    Raj

  • Issue with Sender File FCC

    Hi Experts,
    I have an issue with Sender File FCC Adapter. The file being picked is of type TXT and it is tab seperated. The first line contains the field names and from next line onwards we have values for those fields.
    The field names and field values are tab seperated. Even inserting a single letter in some field value manually disrupts the whole setup & alignment of the TXT file and the Sender File CC is unable to pick up the file from the shared folder. If the first file is errorenous and after that a correct TXT file is posted, it fails to pick up the correct file as it is trying to pick the errorenous file first.
    The Error thrown is :
    "Conversion of file content to XML failed at position 0: java.lang.Exception: ERROR converting document line no. 2 according to structure 'ABCD':java.lang.Exception: ERROR in configuration / structure 'ABCD.': More elements in file csv structure than field names specified!"
    I have two questions:
    1. Is there a way to handle such a scenario? For e.g., the errornous TXT file gets picked but throws error in PI.
    2. Is there an alternative that the sender FCC channel picks up the correct files and filter out the errorneous ones ? ?
    Thanks,
    Arkesh

    Hi Arkesh,
    I think you are passing more number of fields than expected. Please check paramters defined and send the data accordingly.
    In the processing parameters tab of sender file adapter, you have an option called Archive faulty source files, below to that you would have option to enter the " Directory for Archiving files with Errors".
    I hope this helps you....
    Thanks,

  • FCoE Port Channels on Single Nexus 5K - possible?

    I'm looking for information regarding FCoE on a single Nexus 5548. I'm trying to set up a port channel from a Netapp filer's CNA adapters (2 twinax cables). I was told that for some reason port channels do not work on a single Nexus 5K design (i.e. no vPC), but I didn't know if that meant simply without the use of LACP. I've configured it in both fashions, and it seems that the VFCs do not want to come up, meaning that my filers cannot log in to the SAN. This behavior is what was described to me as what would happen if I tried doing a port channel in this way - basically I've bound the VFCs to the port channels, and since the port channels are composed of ports on the same switch, it just doesn't work. Seems odd that this would bet the case, though it would normally force me to simply buy a second N5K (sneaky sneaky).
    Any tips?

    That's not my issue. I'm using only one Nexus 5K, meaning that if I want to have a port channel running between the 5K and the Netapp filers, I have to bind the virtual fibre channel interfaces to that port channel. I believe that in doing so, when there are more than one links as a member of that port channel, the VFCs simply go down by design and will not come up. For some reason VFCs require to be bound to a single physical interface, whether that interfaces is a single phyiscal port or a port channel that's only configured to have one port in it.
    Either way, I had to configure the Netapp side to be active/passive. I've bound the VFCs to each port (total of 4, so 4 VFCs as well). No port channels are being used on the Nexus side. This is not ideal but it works.
    I would still like to see some documentation regarding the behavior of the VFCs when presented with multiple links in this way. Has anyone seen any documentation regarding this?

  • Illustrator CS4, new Pantone color books, color channel issue

    Since I installed the new Pantone color books, I've been running in a major issue which will affect our whole production line.
    If an Illustrator CS4 file contains a Photoshop CS4 image which is using an "old" Pantone color in a color channel, it cannot be opened and I get an error message "File is unreadable". If I replace the "old" Pantone colour with its new equivalent in the color channel in Photoshop, the file can be opened normally.
    In our work environment, this means going through all our images to check which one is using a color channel. A painful and time wasting procedure. Furthermore, if one of our suppliers doesn't have the new color books, they won't be able to open any of the files, both Photoshop and Illustrator, so they have no way to revert back to the old Pantone.
    Is there another way to fix this?
    Thank you

    More on the Pantone PLUS saga, hoping to get some input from the users of this forum. I find their silence deafening, to say the least. This is a serious issue, that will cost our agency hours and hours of work if it isn't addressed. And we've already wasted hours of troubleshooting and discussions on how we could resolve it.
    We're actually testing a workaround: using both the old and the new libraries in Illustrator. After consulting our suppliers, we've learned that this is what they also do. For them, it's a one shot to get the file to print. For us, it means cheating with files that will get edited again in the future. And the Pantone installer removes the old Pantone books from the Adobe folders for a reason which is mentioned on the download page:
    The reason that the PANTONE Color Libraries that had been built into Illustrator need to be removed and replaced with the PANTONE PLUS Color Libraries is that, in Illustrator, a PANTONE Color can only have one data point with which it is associated. In the short term, in order to benefit from the new colors and data associated in PLUS, the PANTONE Libraries that are installed with Adobe Illustrator are removed and replaced with the new PLUS Libraries.
    http://www.pantone.com/pages/Pantone/Pantone.aspx?pg=20721&ca=1
    I worry this may lead to another bunch of issue, knowing how easily AI files get corrupted. What I need to know is:
    What is the exact meaning of the Pantone warning about the "one data point per color?
    What are the long term implications of using both Pantone libraries in an Adobe file? Or in the Adobe app?

  • Error message when trying to merge multiple files into single PDF file

    Greetings! I'm on windows 7 professional, adobe 9 pro and a 64 bit PC. When I try to merge several PDF files from the same folder into a single PDF file I get this error message "You can choose multiple items only if they are all located in the same folder" - Please help! Thx.

    The product is Acrobat, not Adobe. That being said, I suspect you may only be running AA 9.0 and that may be the issue. If you have not done the updates to the 9.5.5, you probably should. That may fix the issue you are having, particularly since you mentioned a 64-bit system.

Maybe you are looking for

  • HP Print Software for MacBook Pro and Windows 7 gone awry on HP OfficeJet Pro 8600

    Almost one year ago today I wrote a post about my first problem with HP OfficeJet Pro 8600 N911.  Today I write my last. I have an HP OJP 8600, with option Tray 2 included, and auto feed included.  My system test computers are: 1.  Apple MacBook Pro,

  • How to export a video with an alpha channel that can be switched off

    Hi! I'm stuck with something that I think might have a simple solution: I need my video to have an alpha channel while still keeping all the RGB information in place too. This is for Syntheyes, which can take the alpha channel for a video and use it

  • Hide cell in alv-grid on certain rows

    Hi all, I wonder if it is possible to hide certain cells in an ALV-grid ? e.g the data in cell1 row1 is visible, but the data in cell1 on row2 has to be invisible...

  • IOS 5 double tap for period

    Since upgrading my  Verizon  iPhone 4 to iOS 5 I cannot get a period after double tapping the space bar.  Help me!

  • Ipad air 2 battery usage

    When i go to settings>battery usage> it shows that my home lock screen is using 84% of my battery. I have a photo that was taken with my phone as my background image on both. Do I need to change them out to a solid color to get better battery life?