Reg Sender AS2 module configuration for text file

Hi Experts,
I am working on an inbound scenario where Sender is AS2 and Receiver is SAP system in PI7.4. The Sender Trading Partner is Sending a text file which should be converted to xml. I have added the module parameter localjbs/PlainConverterModule .It is throwing the error as per the attached file.
Could anyone please guide me on this issue. Also Please let me know whether any configuration needs to be set in EDI content Manager.
Cheers,
Neethu

Hi Neethu,
according to the b2b help the module is used to convert EDIFACT message standards into XML. I your case you have flat file comming from AS2. you can use message transform bean to convert flat file to XML in sender as2 adapter. Or you need to define ED XML converter. Please refer the below link
SAP PI: Using the B2BADDON EDI<>XML Convertor Modules - Basics
You configure the communication channels of any Process Integration adapter with the PLAIN-XML converter module to convert business documents encoded in EDIFACT message standards into XML and the other way round. It must be configured in the sender and receiver channels based on the business scenario. The PLAIN-XML converter module runs on the SAP NetWeaver Process Integration Adapter framework.
You use this procedure to configure the parameters of the PLAIN-XML converter module.
source - Configuring the PLAIN-XML Converter Module - SAP NetWeaver Process Integration, business-to-business add-on 1 - SAP Libr…
regards,
Harish

Similar Messages

  • Mail Adapter: How to send data as a simple text file attachment?

    Hi All
    I have a proxy to file scenario, where i write data to a text file.
    Now, i need to have a second receiver. I have to send an email, with the above file as an attachment, to this receiver.
    How can i do this?
    How can i send the data as a text file attachment to the receiver?
    Many Thanks
    Chandra

    Hi,
    To send the message to the second receiver you need to have:
    1) Necessary mail message format (can download from service marketplace)
    2) Receiver mail communication channel.
    3) Create the necessary Configuration Objects .... Receiver Determination, Interface Determination, Receiver Agreement.
    3) You can do a XSLT mapping (if required)....if no complex logic is needed then you can do a simple Message mapping.
    4) In the receiver CC make sure that you check the Adapter Specific Message Attribute checkbox.
    For more info you can refer my answer in this thread:
    Re: xml in mail
    Also refer the blog:
    /people/michal.krawczyk2/blog/2005/11/23/xi-html-e-mails-from-the-receiver-mail-adapter
    Regards,
    Abhishek.

  • Sender JMS adapter configuration for IBM MQSeries

    Dear All,
    i am doing a IBM MQSeries 5.2.x Message ->sender JMS adapter -> XI server -> receiver RFC adapter -> R/3.
    i have deployed the JMS adapter with the required jar files of IBM MQSeries 5.2.x in XI server.
    in Sender JMS adapter configuration for IBM MQSeries 5.2.x, i have put following data:
    1. Transport Protocol: Websphere MQ - is it okay?
    in JMS provider settings:
    2. in channel name - what should be there?
    3. Transport Network protocol should be TCP/IP or WebsphereMQ - how to decide this thing.
    4. JMS Complaint - whether WebsphereMQ or JMS API.
    in JMS Settings:
    5. JMS Queue user - is this IBM MQSeries 5.2.x Queue User or someother user?
    6. JMS Message Selector - what data to take here.
    So if anybody has connected IBM MQSeries 5.2.x to XI via JMS adapter, please answer my above queries.
    Regards,
    Rajeev Gupta

    Hi Swaroop,
    you can send me those documents at my gmail-id : [email protected]
    Hi All,
    one more question - to connect XI server to IBM MQSeries via JMS adapter in ID, do we need to have a MQSeries Client installed on XI server - or - just by configuring JMS adapter, we can send messages from IBM MQSeries to XI server without any MQSeries client on XI server?
    Why Channel name is required in JMS configuration data?
    Thanks,
    Rajeev Gupta

  • Feature request: Slideshow module support for video files

    I'm very excited about your MTS support!
    Feature request: Slide show module  support for video files...
    Say you have 10 takes to choose from. Are you able to almost like SLIDESHOW view the 10 clips full screen so you can decide, like a playlist? Or rate them as they play? It would also be great, like SLIDESHOW to be able to export a MP4 with a title, the 10 clips you are working with, and maybe add an end title and a song, just like SLIDESHOW.
    I have found editing stills like this in slideshow far faster than in any other editing program.
    Basically, I just need a fast means to view or export an MP4 of a set of video clips to review. You are almost there.
    great job!!!
    Max

    I was also disappointed that video is not supported in the slideshow module -I currently have to use another solution when I want stills mixed with videos, would be great to be ablo to keep it all in LR!

  • ALE, IDOC - need to send IDOC and create a text file

    Hi,
    i need to send idoc to some other system and create a text file in that.
    I want sent data to Channel Cluster.
    what are the settings required for that in transactions
    BD54
    SCC4
    SM59 - which connection is required
    WE21 - which type of port
    WE20 - which partner
    BD64
    Is there any other function modules required.
    which function module is suitable like MASTER_IDOC_DISTRIBUTE.

    Hi,
    SM59 - Use TCP/IP Connection with connection type 'T'
    WE20 - Partner Name can be logical system name, if it is a vendor/customer you can configure it under the respective names.
    Thanks
    Krithika

  • Configuration of text file to excel file

    How to post data from text file to excel file.
    this means sender side i have text file here fields are separated by commas, that data take and put in the MS-Excel sheet format, here the pages are like boxes, how to put data in that boxes.

    Plz send me the sample code how to configure
    Thanks and Regards
    Ramesh

  • GUI_UPLOAD not working for text file upload with '|' as a saperater

    Dear all,
    I have used 'GUI_UPLOAD' to upload data from text file having below format,
    1000|HBK1|HKTI
    1000|HBK2|HKTI
    1000|HBK3|HKTI
    My code is as below
    *& Report  ZTEST_NEW1
    REPORT  ZTEST_NEW1.
    TYPE-POOLS: truxs,
                kcde.
    TYPES :     BEGIN     OF             ty_data2          ,
                zbukr     TYPE           payr-zbukr       ,
                hbkid     TYPE           payr-hbkid       ,
                hktid     TYPE           payr-hktid       ,
               END       OF             ty_data2         .
    DATA :            it_file   TYPE           filetable        .
    DATA :      wa_file   LIKE LINE OF   it_file          .
    DATA :      w_rc      TYPE           i                ,
                lv_file   TYPE           string           .
    DATA : it_data2 TYPE TABLE OF ty_data2,
           wa_data2 LIKE LINE OF it_data2.
    SELECTION-SCREEN BEGIN OF BLOCK bk1 WITH FRAME TITLE text-020.
    PARAMETER : pr_file   TYPE           rlgrap-filename         .
    SELECTION-SCREEN END OF BLOCK bk1                            .
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR pr_file.
      PERFORM get_file.
    START-OF-SELECTION.
      PERFORM get_data.
    FORM get_file .
    CALL METHOD cl_gui_frontend_services=>file_open_dialog
    *  EXPORTING
    *    WINDOW_TITLE            =
    *    DEFAULT_EXTENSION       =
    *    DEFAULT_FILENAME        =
    *    FILE_FILTER             =
    *    INITIAL_DIRECTORY       =
    *    MULTISELECTION          =
    *    WITH_ENCODING           =
        CHANGING
          file_table              = it_file
          rc                      = w_rc
    *    USER_ACTION             =
    *    FILE_ENCODING           =
       EXCEPTIONS
         file_open_dialog_failed = 1
         cntl_error              = 2
         error_no_gui            = 3
         not_supported_by_gui    = 4
         OTHERS                  = 5
      IF sy-subrc EQ 0.
        CLEAR : wa_file.
        LOOP AT it_file INTO wa_file.
          pr_file = wa_file-filename.
          CLEAR : wa_file.
        ENDLOOP.
      ELSE.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                   WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    ENDFORM.                    " get_file
    FORM get_data .
    IF pr_file IS INITIAL.
        MESSAGE 'Enter file name'(002) TYPE 'E'.
      ENDIF.
      IF pr_file CP '*.xls'
        or pr_file CP '*.xlsx' . " Added
      ELSEIF pr_file CP '*.txt'.
    CONSTANTS : c_del TYPE c LENGTH 1 VALUE '|'.
        lv_file = pr_file.
    CALL FUNCTION 'GUI_UPLOAD'
      EXPORTING
        FILENAME                      = lv_file
       FILETYPE                      = 'ASC'
       HAS_FIELD_SEPARATOR           = c_del
    *   HEADER_LENGTH                 = 1
    *   READ_BY_LINE                  = 'X'
    *   DAT_MODE                      = ' '
    *   CODEPAGE                      = ' '
    *   IGNORE_CERR                   = ABAP_TRUE
    *   REPLACEMENT                   = '#'
    *   CHECK_BOM                     = ' '
    *   VIRUS_SCAN_PROFILE            =
    * IMPORTING
    *   FILELENGTH                    =
    *   HEADER                        =
      TABLES
        DATA_TAB                      = it_data2
    * EXCEPTIONS
    *   FILE_OPEN_ERROR               = 1
    *   FILE_READ_ERROR               = 2
    *   NO_BATCH                      = 3
    *   GUI_REFUSE_FILETRANSFER       = 4
    *   INVALID_TYPE                  = 5
    *   NO_AUTHORITY                  = 6
    *   UNKNOWN_ERROR                 = 7
    *   BAD_DATA_FORMAT               = 8
    *   HEADER_NOT_ALLOWED            = 9
    *   SEPARATOR_NOT_ALLOWED         = 10
    *   HEADER_TOO_LONG               = 11
    *   UNKNOWN_DP_ERROR              = 12
    *   ACCESS_DENIED                 = 13
    *   DP_OUT_OF_MEMORY              = 14
    *   DISK_FULL                     = 15
    *   DP_TIMEOUT                    = 16
    *   OTHERS                        = 17
    IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    endif.
    ENDFORM.                    " get_data
    In my output I am only getting company codes and not getting other two columns, can any body guide me where I am doing wrong?
    I have checked many other same kind of threads and I have done the same as suggested to do but still I am facing issue.
    Thanks in advance.
    Regards,
    Umang

    Hi Umang,
    There is a simple solution to this problem. Make the following changes to your code(marked in red color):
    REPORT  ZTEST_NEW1.
    TYPE-POOLS: truxs,
                kcde.
    TYPES :     BEGIN     OF             ty_data2          ,
                zbukr     TYPE           payr-zbukr       ,
                hbkid     TYPE           payr-hbkid       ,
                hktid     TYPE           payr-hktid       ,
               END       OF             ty_data2         .
    types: begin of ty_data
                 str type char200,
               end of ty_data.
    DATA: it_data type table of ty_data,
               wa_data type ty_data.
    DATA :            it_file   TYPE           filetable        .
    DATA :      wa_file   LIKE LINE OF   it_file          .
    DATA :      w_rc      TYPE           i                ,
                lv_file   TYPE           string           .
    DATA : it_data2 TYPE TABLE OF ty_data2,
           wa_data2 LIKE LINE OF it_data2.
    rest of the code **
    FORM get_data .
    IF pr_file IS INITIAL.
        MESSAGE 'Enter file name'(002) TYPE 'E'.
      ENDIF.
      IF pr_file CP '*.xls'
        or pr_file CP '*.xlsx' . " Added
      ELSEIF pr_file CP '*.txt'.
    CONSTANTS : c_del TYPE c LENGTH 1 VALUE '|'.
        lv_file = pr_file.
    CALL FUNCTION 'GUI_UPLOAD'
      EXPORTING
        FILENAME                      = lv_file
       FILETYPE                      = 'ASC'
    *HAS_FIELD_SEPARATOR           = c_del                    "comment this line
    HEADER_LENGTH                 = 1
      READ_BY_LINE                  = 'X'
      DAT_MODE                      = ' '
      CODEPAGE                      = ' '
      IGNORE_CERR                   = ABAP_TRUE
      REPLACEMENT                   = '#'
      CHECK_BOM                     = ' '
      VIRUS_SCAN_PROFILE            =
    IMPORTING
      FILELENGTH                    =
      HEADER                        =
      TABLES
        DATA_TAB                      = it_data
    EXCEPTIONS
      FILE_OPEN_ERROR               = 1
      FILE_READ_ERROR               = 2
      NO_BATCH                      = 3
      GUI_REFUSE_FILETRANSFER       = 4
      INVALID_TYPE                  = 5
      NO_AUTHORITY                  = 6
      UNKNOWN_ERROR                 = 7
      BAD_DATA_FORMAT               = 8
      HEADER_NOT_ALLOWED            = 9
      SEPARATOR_NOT_ALLOWED         = 10
      HEADER_TOO_LONG               = 11
      UNKNOWN_DP_ERROR              = 12
      ACCESS_DENIED                 = 13
      DP_OUT_OF_MEMORY              = 14
      DISK_FULL                     = 15
      DP_TIMEOUT                    = 16
      OTHERS                        = 17
    IF SY-SUBRC  0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    endif.
    Loop at it_data into wa_data.
    split wa_data-str at '|' into wa_data2-zbukr wa_data2-hbkid wa_data2-hktid.
    append wa_data2 to it_data2.
    clear wa_data2.
    Endloop.
    ENDFORM.                    " get_data
    IT_DATA2 will contain the final uploaded data. Hope this helps

  • Dynamic Configuration for two file adapters communication channels

    Hello Experts!!!!!!
         In one of the interface in my landscape, I am using two file adapters for creating two files with different names and at two different destination on F.T.P.
    However the receiver service for both the communication channel are same.
    In message mapping I am using multi mapping to create two files out a single message.
    Now i have a requirement of changing file path and file name using dynamic configuration for both the comm channel.
    When i doing dynamic coniguration for both the comm. channel. My interface is creating two files but with same name and on same destination which is set for second communication channel through dynamic configuration.
    Here, I guess the second dynamic configuration is over writing the first dynamic configuration and hence creating two files with same name and at same destination.    
    Please suggest, if separate dynamic configuration for separate communication channel of same receiver service can be done?
    Thanks & Regards,
    Amol

    Thanks for your prompt responses!!!!!
        Is there any way, By which in dynamic configuration I can find out the communication channel name and then change its parameter.
    I mean if iam using say comm. channel A and B.
    Then in dynamic configuration for A, I will first take communication channel A by calling it and then change its path/file name.
    and then do samething for comm. channel B in its dynamic conf.
    Regards,
    Amol

  • Login Module configuration for soap adapter ?

    Hi Guys,
    I have configured XISOAPAdapter for client certificate Authentication and i have created 1443 as the HTTPS port on the ABAP stack and defined this port in the instance profile.
    Under SSL provider i have selected 50101 as the HTTPS port and the user mapping to the certificate works fine and i was able to login directly.
    https://host:50101/XISOAPAdapter/MessageServlet - I was able to login with the user mapping to certifcate.
    but when i try https://host:1443/XISOAPAdapter/MessageServlet - it is asking for the basic password authentication and the automatic login with the certifcate is not working. Our customer will be using this url to send messages to soap adapter.
    under policy configurations for XISOAPAdapter, i have defined only clientcertificateloginmodule and define the rule as Rule1.getUserFrom=wholecert.
    any help or suggestions would be appreciated.
    Thanks,
    Srini

    Hi,
    We also experienced that limitation when a vendor is connecting to our XI SOAP Sender Adapter. It is asking for basic username/password. What we did was to create a Generic XI user with a password on it and use SSL authentication at the same time. Our Scenario was PI --> XI --> SAP R3, with the PI system using an HTTP RFC destination with a Basic Logon and Active SSL option to connect to the same system as yours https://host:portnumber/XISOAPAdapter/MessageServlet
    Let me know if this helped...
    Regards,

  • HOW CAN I SEND A TABLE TO A TEXT FILE

    Hi,
          I have a table with a lot of values , and i need to transfer this table to a text file (.txt) , without lose the position
    of this values in that table .Someone can help me with this? 
    Thx  
    Solved!
    Go to Solution.

    There is some conflicting and incorrect information here. First, to get the column headers of a table, you use a property node and the property 'Column Header Strings[]'. This is a string array and you can append it to the 2D string array that is the table contents.
    In 6.0, the Write to Spreadsheet File was not able to write a string array. However, there are instructions on the block diagram that describe what needs to be modified. After making the modifications, save the VI with a new name and in a new location.  I know for a fact that the modified VI has been posted to the forum. You can do a search but the actual modifications should take less time.

  • Dynamic configuration for multiple files

    Hi All,
    I am new to PI. I have a proxy to file scenario, wherein 3 files are to be generated depending upon the value in a field (site ID) on the same receiver. Site ID can only have 3 different vales. All these 3 files are to have a dynamically defined name.
    How can I configure this scenario? Is there any way in which all 3 files can have dynamically defined names? Please help.
    Regards
    Vipul

    if you have only one recored (one site id) in proxy at a time, thn u can write a UDF for dynamic file name..
    // UDF: public String SetFileNameDyn(String siteID, Container container) throws StreamTransformationException{
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
    String myFileName = "";
    if(siteID.equals("firstValue")){
         myFileName  = "FirstFile1";
    }else if(siteID.equals("secondValue")){
         myFileName  = "SecondFile2";
    }else if(siteID.equals("thirdValue")){
         myFileName  = "ThirdFile3";
    conf.put(key, myFileName);
    return myFileName;

  • Widget for text files?

    Is there a way to upload text files (either Word or PDF) with the current widgets in iWeb? If not, are there ways to embed links to these files in the web content, if they are not already published on the internet?
    Thanks for any help you can give!

    dockld wrote:
    Is there a way to upload text files (either Word or PDF) with the current widgets in iWeb?
    I don't think so. iWeb uploads such files to your server automatically when you use the +"Link To: A File"+ option in iWeb Inspector's Link tab — see towards the end of this _video tutorial_. Note that you won't be able to test the hyperlink to your PDFs within iWeb — only in a browser after publishing. This may also help:
    http://web.me.com/toad.hall/Demo_1/LinkTestPage.html
    Or you could post your files on free Posterous and link to them via a text or image hyperlink — then they'll be automatically presented in a convenient viewer, e.g.
    http://dont-panic.posterous.com/pdf-document-example

  • Quick look for text files with non-registered extensions

    It seems there was a way in 10.5 and 10.6 to register certain extensions with Quick Look to tell them how to preview a file. I have a lot of plain text files with different extensions that are not initially recognized by Quick Look. How do I hack the registry to tell Quick Look to preview a .cfg (or .aux, etc.) file as plain text?

    Can't Quick Look for some text files
    Re: Is it possible to change the viewing format?
    Quick Look for files without extensions.
    Re: Can I view text files without a .txt extension in Quick Look?
    How do I add support to Quick Look

  • SetContentType for text files

    Hi all
    I am trying to implement attachement viewing with servlets. Following is what I am doing in order to set the application type which will open the file.
    I can open all types of files except text. setcontenttype("text/html") should take care of text files. but I just get a blank page when I try to open the text file. no errors either.
    what could be the problem?
    following is the relevant code:
    if (fileName.indexOf("xls") > -1)
    res.setContentType( "application/vnd.ms-excel" ); // MIME type for xls document
    }else if (fileName.indexOf("pdf") > -1)
    res.setContentType( "application/pdf" ); // MIME type for Adobe pdf document
    }else if (fileName.indexOf("doc") > -1)
    res.setContentType( "application/msword" ); // MIME type for MSWord document
    }else if (fileName.indexOf("ppt") > -1)
    res.setContentType( "application/powerpoint" ); // MIME type for powerpoint document
    else
    res.setContentType("text/html");

    also if i view source in the blank page, i can see the following:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <HTML><HEAD>
    <META http-equiv=Content-Type content="text/html; charset=windows-1252"></HEAD>
    <BODY></BODY></HTML>
    not sure where this comes from? but content=text/html is correct since i am setting it.
    any hints?

  • Where is a good source for text files?

    Hi
    I've just finished implementing a huffman tree and been testing it out. It seems to be working fine - encoding and decoding results look correct.
    However, I really want to test this tree out with a larger 'dictionary', so that I can construct a larger tree and check if performance is any slower. Does anyone know where I can find a collection of large text documents that I can easily download and have my code run over it?
    I tried googling, but haven't came across anything useful. Ideally, I would like to find documents of different topics. e.g. medical, computing, and a more general type that resembles everyday language. The reason I am wanting these is so I can test the encoding of different text on different tree types. Thus, encoding a computer journal on a tree constructed from the frequencies of a medical text file, should yield poorer compression than encoding the same computer journal on a tree constructed from the frequencies of a computing text file.
    Thanks

    Google "project gutenberg" for a bunch of text.
    Plain ASCII isn't enough for pictures and many fields' texts. So a lot of modern texts tend to be PDFs and such, which might not suit your purpose.
    Maybe you could also use web pages as test data. Write a program that googles for "medical", downloads the first 100 hits, optionally replaces <.*> with a space, and runs your program on that.

Maybe you are looking for

  • CRM 7.0 in partner determination procedure

    Dear all, In CRM 7.0 in partner determination procedure for an ITEM level am unable to set up procedure so that any partner will always be just mirror of the partner set on HEADER level. This functionality works only when the new order is created, th

  • [SOLVED]MPD Update

    I've installed mpd and everything works great as far as I can tell. It runs without error, and such but I am having problems with the update feature. I have mu music library stored on my mac partition. I created a symbolic link to my folder called Mu

  • How do I get my iPod touch 3G to update to IOS 5.

    I  currently have IOS 4.2.1 on my iPod touch 3G.  I am running version 10 of iTunes. When I connect the iPod and  check for updates, I am told my software is the latest version.  Will IOS 5 run on iPod touch 3G and if so, how do I get this update? Th

  • Saving edited photos in jpeg

    I use Element 9. I am not alowed the option on the drop down list to select jpeg when saving edited photos. Please help!

  • IPhone is deactive alert in lock screen

    when I connect to iTunes there's no way to retrieve access on the computer.