Content Coversion in Receiver Channel to Windows platform adding xtra space

I am using SAP's content conversion module, MessageTransformBean, to build a file from a proxy.  If I send the file to a UNIX platform, everything is ok.  If I send the file to a Windows platform, an extra space is added at the end of each line, making the record length 1 character too long.  I changed it to comma delimited, and the extra space was not added.  Is there anything special I need to do when sending to a Windows platform?
fcc     Transform.Class                                                                                    com.sap.aii.af.sdk.xi.adapter.Conversion
fcc     Transform.ContentType                                                                                    text/plain;charset=utf-8
fcc     xml.ZH38CI_BN_US_DELTA_CA_DTL.fieldFixedLengths                          1,9,4,4,1,6,1,8,16,6,6,1,6,6,1,1,3
fcc     xml.ZH38CI_BN_US_DELTA_CA_DTL.fixedLengthTooShortHandling     Cut
fcc     xml.ZH38CI_BN_US_DELTA_CA_HDR.fieldFixedLengths                          1,2,4,30,29,10,4
fcc     xml.ZH38CI_BN_US_DELTA_CA_HDR.fixedLengthTooShortHandling     Cut
fcc     xml.ZH38CI_BN_US_DELTA_CA_TRL.fieldFixedLengths                          1,8,71
fcc     xml.ZH38CI_BN_US_DELTA_CA_TRL.fixedLengthTooShortHandling     Cut
fcc     xml.addHeaderLine                                                                                0
fcc     xml.conversionType                                                                                StructXML2Plain
fcc     xml.recordsetStructure                     ZH38CI_BN_US_DELTA_CA_HDR,ZH38CI_BN_US_DELTA_CA_DTL,ZH38CI_BN_US_DELTA_CA_TRL

I tried moving the module to every possible position, and I could not get it to work for receiver channel.  Maybe I didn't have something correct, but I was able to use this solution in a sender channel.  Thank you for that.  FYI...I was able to get the my receiver channel working with the following parameter for each structure.
xml.XXXXXXXXXX.endSeparator     '0x0D''0x0A'

Similar Messages

  • Content Conversion in receiver channel

    Hi all,
    I have a proxy to FTP scenario with no mapping involved.Over proxy communication PI is receiving the data, I am creating the CSV file using content conversion in receiver channel and placing the file at FTP.
    The file name is coming in one of the field of the input xml,I am using variable substitution and setting the file name from that particular field value.But as I don't want that node and file name element in my output file content, please guide me what parameters can I set in my content conversion to remove the FileNode from o/p csv file.
    The sample input xml is
    <MT>
    <Record>
    <Field1>1</Filed1>
    <Field2>2</Filed2>
    </Record>
    <Record>
    <Field1>3</Filed1>
    <Field2>4</Filed2>
    </Record>
    <FileNode>
    <FileName>InutFile</FileName>
    </FileNode>
    </MT>
    I want output xml to be like
    1,2
    3,4
    I have followed this blog /people/sravya.talanki2/blog/2005/08/11/solution-to-the-problem-encountered-using-variable-substitution-with-xi-sp12 to cut the FileNode, but it gives an error in cc parameters.
    In my actual i/p payload,the Record is 0..unbounded and there are 50 sub elements inside Record element.
    Please provide your inputs.
    Thanks,
    Ruchi

    Hi Ruchi,
    Change your structure like this.
    MT>
    <Record>
    <Field1>1</Filed1>
    <Field2>2</Filed2>
    </Record>
    <Record>
    <Field1>3</Filed1>
    <Field2>4</Filed2>
    </Record>
    <FileNode>
    <FileName>InutFile</FileName>
    </FileNode>
    </MT>
    Dont put the filenode under Record.
    Also Add the below parameters.
    FileNode.fieldSeparator     '0'
    FileNode.endSeparator     '0'
    FileNode.fieldFixedLengths     0
    FileNode.fixedLengthTooShortHandling     Cut
    FileNode.fieldNames     FileName
    Now use the same parameter mentioned in the blog .Your problem will be resolved.

  • On Windows Platform, encounters error when trying to open an Indesign document created from MAC

    Hi all,
    On Windows Platform, encounters error when trying to open an Indesign document in INDD format created from Mac. Error received "Either the file does not exist, you do not have permission, or the file may be in use by other application". I am currently using Adobe Indesign CC 9.2 Trial version.
    Kindly advise how can i open this document on windows platform and allows me to edit the document.
    Thanks!
    With Rgds,
    Fiona Choy

    Normally there is no problem to open any INDD opening on Windows, when created on the Mac.
    But Mac user are often not aware on the naming limitations. A file name must not contain /, \, |, :
    It should not contain any extended character, it is not a primary problem but will be, if something links to that file, so avoid also: ÄÖÜäöüß+&
    You can use all other non A-Z a-z, 0-9 and - and  _
    I personally would also recommend to avoid spaces.
    This is valid for the INDD file itself but also for all linked content.

  • Problem with file content conversion in receiver file adapter

    Hi All
    I have a problem with file content conversion in receiver file adapter.
    This is my recordset structure: Header_Record,1,Claim_Record,*,Check_Rec,1
    These are the content conversion parameters:
    Header_Record.fieldSeparator = ,
    Header_Record.endSeparator = 'nl'
    Claim_Record.fieldSeparator = ,
    Claim_Record.endSeparator = 'nl'
    Check_Rec.fieldSeparator = ,
    Check_Rec.endSeparator = 'nl'
    In SXMB_MONI, i can see that the data is correctly extracted from proxy, and correctly mapped to receiver message, and i see a checkered flag (success).
    But, Adapter status is RED with the following error message:
    Conversion initialization failed: java.lang.Exception: java.lang.Exception: Error(s) in XML conversion parameters found: Parameter '1.fieldFixedLengths' or '1.fieldSeparator' is missing
    In communication channel monitoring, i get the following error message:
    Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: Channel has not been correctly initialized and cannot process messages
    What is going wrong here? Can anyone please tell me?
    Thanks
    Chandra

    Posted in Incorrect forum.
    Posted again in Process Integration forum

  • How to configure apache for ssl in windows platform

    hi all,
    can anyone help me expalin how to configure apache for ssl in windows platform.

    George,
    I would take the following 'first steps'
    1)Install Apache20 on your Windows machine following the Apache online documentation
    http://httpd.apache.org/docs-2.0/misc/tutorials.html
    2)Make sure you can 'serve up' static HTML content from your Apache Server
    3)Install Weblogic Server per our online documentation
    http://edocs.bea.com/wls/docs61/install/index.html
    4)Also, make sure you can 'serve up' both static and dynamic (e.g., JSP) content
    directly from WLS server
    5)Once you have both of the above 'sanity' checks attempt to configure a simple
    proxy by ppath or mime type via our online documentation
    http://edocs.bea.com/wls/docs61/adminguide/apache.html#103803
    Chuck Nelson
    DRE
    BEA Technical Support

  • How can I convert my specific file content in the Receiver Adapter(XI 7.0)?

    Hi all,
    I have a document structure as below:
    <MT_MATERIAL>
       <MATERIAL>
             <WERKS>1000</WERKS>
             <MATNR>HAD_00001</MATNR>
             <MAKTX>CHEMICAL MATERIAL</MAKTX>
       </MATERIAL>
    </MT_MATERIAL>
    This document structure is the file content in the Receiver Adapter (File Adapter). In the 'Content Conversion' tab of File Adapter of Communication Channel 'CC_OUT_MATERIAL_FILE', I have configured the parameters as below:
    Recordset Structure: MATERIAL
    MT_MATERIAL.fieldSeparator: '
    MT_MATERIAL.endSeparator: 'nl'
    MATERIAL.fieldSeparator: '
    MATERIAL.endSeparator: 'nl'
    *.fieldSeparator: ,
    But, this Communication Channel 'CC_OUT_MATERIAL_FILE' (in the Runtime WorkBench/Component Monitoring/Adapter Engine/Communication Channel Monitoring) is error with the error message as below:
    Conversion initialization failed: java.lang.Exception: java.lang.Exception: Error(s) in XML conversion parameters found: Parameter '.fieldFixedLengths' or '.fieldSeparator' is missing
    Could anyone please help me to correct this error, how should i configure the parameters in the 'Content Conversion' tab?
    Thanks a lot in advance,
    Vinh Vo

    Hi Vinho,
    Introduction to simple(File-XI-File)scenario and complete walk through for starters(Part1)
    Introduction to simple (File-XI-File)scenario and complete walk through for starters(Part2)
    Have a look at the this blog by Arpit Seth ... its all about FCC at receiver side...
    File Receiver with Content Conversion
    Also have a look at this thread.. might be helps you....
    RECEIVER file CONTENT CONVERSION
    Above links be helpful.
    Regards,
    Jayasimha Jangam

  • SOAP Receiver Channel error

    Dear PI and SOAP experts:
    I have been having trouble getting a SOAP Receiver channel working for a webservice. I get the following error in the SOAP receiver channel:
    SOAP: response message contains an error XIAdapter/PARSING/ADAPTER.SOAP_EXCEPTION - soap fault: content-type of the request should be text/xml
    I also forced the content-type as text/xml;charset=utf-8 from PI by using the MessageTransformBean as a module in the SOAP Receiver channel, but still getting the same response.
    When I called the same w/s using XMLSpy and SOAPUI, it works fine and I get a positive response. So there is no problem with the webservice.
    I also tried calling a different webservice from PI and that works fine too. So there is no problem with outbound communication with PI and the SOAP receiver channel either.
    But whenever I send the request from PI to the first webservice it gives me the above error.
    Thank you.
    Param.

    Hi Param,
    Also, please do have a look at the following link which could be of help to you.
    https://wiki.sdn.sap.com/wiki/display/XI/SOAPMessagesin+XI
    Best Regards

  • File adapter receiver channel is not initialized.

    Hi
    iam wrking idoc-file scenario, as per the requirement i have created 4datatypes  4 mapping in IR with 4 communaction chanles in ID. the scenarios is working fine with 3 mappings.but in 4 the scenario
    the file genaraing properly , i have cheked in SXMB_moni payload but it is not creating in destination system
    in runtimeworkbench->message-monitaring-> adpater
    i have find the below issues
    1) File adapter receiver channel CC_DDPWCS_US_TO_101 is not initialized. Unable to proceed: null  Error 2) Exception caught by adapter framework: File Adapter configuration not initialized:
    3) Error Delivery of the message to the application using connection AFW failed, due to: File Adapter configuration not initialized:.
    please tell me how can i reslove the issue
    thanks
    niru

    Hi
    i have checked the content convertion and changed as below
    the structure is
    Row.fieldNamesTrans_Id,Order,Item,Product_Id,Product_desc,Lot_nr,Ship_via,Exp_qty,Carousel_loc,compart,Destination,Label
    Row.fieldSeparator     ,
    Row.fieldFixedType     char
    Row.endSeparator     'nl'
    Row.addHeaderLine     4
    Row.headerlineTrans_Id,Order,Item,Product_Id,Product_desc,Lot_nr,Ship_via,Exp_qty,Carousel_loc,compart,Destination,Label
    even though iam facing the issue. iam wondering  "_i have used in the similar structure for other 3 mappings in same scenario those are working perfect "_ but based on condition if 4 th mapping is executed iam facing the problem
    error message in RWB/Adapeters
    File adapter receiver channel CC_DDPWCS_US_TO_101 is not initialized. Unable to proceed: null
    Error Exception caught by adapter framework: File Adapter configuration not initialized:
    Error Delivery of the message to the application using connection AFW failed, due to: File Adapter configuration not initialized:.
    please help if any of you face the similar situation , i struck-up long ago here
    regards
    niru

  • Sender and receiver channel parameters

    Hi Experts,
    I am working on a flat file to flat file scnario. I need to remove the first two lines and last two lines from the flat file and send it to ECC via PI
    The flat file looks like this
    %802 750285 7502857 7502
    %JHKJ UYOU 99 9090
    dfafds 2255425 4545 sdfs fsdfsdf dsffs fsfda sfsf
    rewre ewrewr wetwt wtwtw
    %iuoi iuipo
    %7878 8787
    so i need to remove the first two lines (starts with % symbol) and last two lines (starts with % symbol) and convert back to flat file and send it to ECC.
    I have created the data types as
    Source Data type
    DT_Source
    Header 1..1
      Header1
      Header2
    Recordset 1.. Unbounded
      Record 1.1
    Trailer 1...1
      Trailer1
      Trailer2
    Target Data type
    DT_Target
    Recordset 1.. unbounded
      Record 1.1
    Could you plz let me know the sender and receiver channel parameters
    Regards,
    Vai

    Hi Vaigai,
    Grzegorz is right.
    You can read all the flat file and remove the first two and last two lines using a mapping.
    Check this link. There are some content conversion parameters in the sender file adapter that can be helpful
    [http://help.sap.com/saphelp_nw04/helpdata/en/2c/181077dd7d6b4ea6a8029b20bf7e55/content.htm]
    Regards,
    Diego Estanguini Gabriel

  • "Unauthorized" error for SOAP receiver channel

    Hi all,
    I have a scenario in which I am calling a .NET web service from a UDF in which the XML payload is constructed manually. I have configured a SOAP receiver channel. Also, since the web service needs certificate authentication, I have checked the corresponding parameter in the SOAP channel and selected appropriate client certificate.
    When I execute the mapping, I get the following error -
    com.sap.aii.mapping.lookup.LookupException: Exception during processing the payload.Problem when calling an adapter by using communication channel SOAP_RCV_IMWS_Change (Party: , Service: IMWS, Object ID: dda07d364ca73d4ab9e89e562a971b36) XI AF API call failed. Module exception: 'com.sap.aii.af.ra.ms.api.RecoverableException: invalid content type for SOAP: TEXT/HTML; HTTP 401 Unauthorized: java.io.IOException: invalid content type for SOAP: TEXT/HTML; HTTP 401 Unauthorized'. Cause Exception: 'invalid content type for SOAP: TEXT/HTML; HTTP 401 Unauthorized'.
    Is this related to error in certificate authentication process, OR wrongly formed XML payload OR anything else ?
    Regards,
    Shankar

    No. I didn't provide any login info. The web service doesn't specify username login requirement. Instead, it needs client certificate for authentication, which I provided in SOAP receiver channel.
    I am testing the web service by executing the message mapping. The web service was executed successfully from its 'Test Page' like for SAP web services we have web service navigator. So it runs ok from that test page, but gives error when called from UDF.
    Regards,
    Shankar

  • JDBC Receiver Channel Connection Reset:

    Dear Team,
    I am facing Problem in JDBC Synchronous Receiver Channel.
    when ever the JDBC Channel (Synchronous Receiver) is executing i am getting JDBC Conenction reset error in the Channel monitoring.
    Why this problem is coming and how to rectify the problem?
    In production also we are facing same kind of issue. Please help us find a work around for this Problem.
    I have checked the link
    [Re: JDBC Channel : Connection reset;
    but the link which Siv Marani has mentioned in the above forum doesn't exist any more i guess.
    Please Advice.
    Regards,
    Senthilprakash.
    Edited by: senthilprakash selvaraj on Jan 28, 2009 4:34 AM

    Hi,
    Check below links.
    /people/siva.maranani/blog/2005/05/21/jdbc-stored-procedures
    https://www.sdn.sap.com/sdn/collaboration.sdn?contenttype=url&content=https%3A//forums.sdn.sap.com/thread.jspa%3FforumID%3D44%26threadID%3D38124
    U need to add the parameter SelectMethod=cursor in your connection parameter,
    jdbc:microsoft:sqlserver://<hostname>:1433;DatabaseName=<dbname>;SelectMethod=cursor
    Regards,
    phani

  • Objects to be transported from Windows platform to Unix platform

    Hi experts
    Our current development is on windows platform. and the production server will be on HP Unix platform.
    I just wanted to know that is it possible to transport the webdynpro application and the portal contents.
    Also wanted to know what all components need modification while transport.
    Guide me the steps for the move.
    regards
    vija

    Usually you shouldn´t have any issues transporting. Java bytecode is platform independent.
    What CAN be an issue is the different endianess if you program yourself and assume, that the byte order is little endian - but if you stay on the webdynpro level you shouldn´t have any problems.
    Markus

  • File Adapter receiver channel : change encoding attribut in xml file

    Hi,
    How can I change the XML encoding attribut
    from:
    <?xml version="1.0" encoding="UFT-8"?>
    to:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    in my File Adapter, receiver channel ?

    Hi,
    plz chk the following link:
    http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm
    &#9679;      Select the File Type of the document:
    &#9675;       Binary
    &#9675;       Text
    Under File Encoding, specify a code page.
    The default setting is to use the system code page that is specific to the configuration of the installed operating system.
    The content of the message is converted to the corresponding code page before the message is saved as a file.
    Permitted values for the code page are the existing Charsets of the Java runtime. According to the SUN specification for the Java runtime, at least the following standard character sets must be supported:
    Regards

  • HTTP Adapter Settings (Receiver Channel)

    Hi Everyone,
    I need some help with setting up HTTP Receiver Channel.
    What I am trying to do is download some files from a URL. e.g www.xyz.com/download.asp.
    So I have set up a RFC destination to Remote server then we through a dummy message from the HTTP client to trigger the channel. It is all good and working. However the issue part is username/password has to be sent as application/x-www-form-urlencoded or multipart/form using POST method.
    So it has to go something like this username=abc&password=123
    And this is the part where I am stuck. I have read a bit about it and sap documentation suggests using prolog and epilog but I don't seem to find any example of it anywhere. If someone has done anything similar can they please help. Can't find any source relevant.
    regards

    Hi,
    Yes I understood your steps and the problem (actually after posting reply i had some doubts in my mind too, so went on a SDN forum hunt)
    After doing a bit of research work my finding are:
    1. IT is difficult to use http adapter with this content type as the credentials given in http adapter is not used when you have application/x-www-form-urlencoded. The thread which helped me  to understand was this
    Regarding Content type application/x-www-form-urlencoded in HTTP Adapter
    2. There in the thread stefan is proposing java proxy for doing this type of connectivity so next search tool for me was google. Doing a bit of search i found this SUN link http://developers.sun.com/mobility/midp/ttips/HTTPPost/
    3. So as a solution for you I would propose to use a receiver java proxy and write the code as mentioned in SUN.
    Hope this may be of some help to you
    Regards
    Suraj

  • Changing HTTP-Parameters for HTTP Receiver Channel

    Dear all,
    we have a partner we send files to using the simple HTTP adapter.
    We have different types of messages (interfaces) we send to the partner.
    Our partner expects the message type as a parameter of the URL. Such as http://xxx:000/xxx?msgtype=outbound
    In turn, the "outbound" could also be "inbound" - depending on the message type.
    I want to avoid using to services with two adapters.
    Thus, my question to you: Do you have an idea how I could manipulate the parameter's value?
    Thanks in advance,
    Helge

    Hi Helge,
    if you have Sp14 and above you can try setting the url
    dynamically in the mapping using Adapter-Specific Message Attributes in the http receiver channel:
    http://help.sap.com/saphelp_nw04/helpdata/en/43/64dbb0af9f30b4e10000000a11466f/content.htm
    this way it should be no problem to change it
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions">XI FAQ - Frequently Asked Questions</a>

Maybe you are looking for

  • JVCN not apper in PO

    Dear all, I am using TAXINN process, JVCN condition can't disply in PO, I have maintained FV11 condition for 4% VAT NON DED CG Error message:condition record exist but has no been set " Pl send me valuable input for this error . Regards, Vivek

  • Require assistance in rectification of Stock master data

    We entered the wrong prices of the opening Stock Finished goods now we need to rectify. Instead of entering the cost prices of the Finished goods we entered the sales prices of finished goods hence to get the proper profit and loss we need to rectify

  • How to locate inactive transfer reules and update rules

    Hi SAP Gurus, could some one tell me how to locate all the <b>INACTIVE</b> transfer reules and update rules in our system? i <b>DONT</b> want to so the mass activation of transfer/update rules. I just want to locate all the inactivate transfer/upfate

  • Blu ray burner question - FCP X

    I am getting ready to purchase my first blu ray burner. I make 2 hour videos and the files become quite large. Mostly natively ingested camera video utilizing motion templates, titles. transitions, vo, music, etc. 1. Do I need a 128G capacity burner?

  • CONNECT //.*:443 is getting blocked...and I don't know why...

    I have a very basic ACL... version 3.0; acl "es-internal"; allow (read, execute, info) user = "anyone"; deny (list, write, delete) user = "anyone"; acl "default";^M authenticate (user,group) {^M database = "default";^M method = "basic";^M prompt = "S