Issue with the String return from com.sap.aii.af.mp.module.ModuleData

Hi Friends,
We are developing Adapter for XI using java, XI is giving String in the form of ModuleData, we r getting the String from ModuleData but in the logic we need to split the String in parts based on character '…', but I observed that in the communication channel symbol is showing as ' '.
We have written the java code based on '…' but splitting is not working, then I tried with the following code
String[] molecules = null;
if(filedata.indexOf(" ") != -1){               molecules = filedata.split(" ");
}else if(filedata.indexOf("?") != -1){
                molecules = filedata.split("?");
}else if(filedata.indexOf("…") != -1){
                molecules = filedata.split("…");     
Still it is not working, please help in case of ModuleData text splitting..
Thanks in advance.
Satinder Saini

Check with a hex editor, what the  ' '. really is.
Maybe it is a tab? Then you can use "\t" in a Java progam.
See also here:
http://en.wikipedia.org/wiki/ASCII#ASCII_control_characters
Regards
Stefan
Edited by: Stefan Grube on Mar 26, 2008 2:22 PM

Similar Messages

  • Where can i find this class? com.sap.aii.adapter.axis.modules.HandlerBean

    Hi,
      Which jar file contains the class com.sap.aii.adapter.axis.modules.HandlerBean? Where can i download from?
    Thank you
    Monika Dietz

    monika,
    Check this out...
    http://www.mail-archive.com/[email protected]/msg37875.html//www.mail-archive.com/[email protected]/msg37875.html
    Regards
    Ravi Raman

  • SAP R/3 - XI:  Commit fault com.sap.aii.af.mp.module.ModuleException

    Hi -
    We have an integration setup between SAP R/3 4.7C and SAP XI -
    It uses background queues - and in our development environment, on the call to XI, we are receiving the error message:
    Commit fault com.sap.aii.af.mp.module.ModuleException: call to messaging
    The queue then goes into SYSFAIL status.
    This is occurring on all of our integrations between R/3 and XI - which has been previously working -
    I have been working w/ our Basis guy & he said that all his checks to both systems look ok.
    Do you have any pointers on what to look at or check out?
    Your help is very appreciated!
    Thanks,
    Michelle

    Hi Michelle,
    Please check if the background Xi database to which your transactions are committed is full. In case it is, you would need Basis help to archive them, before you proceed. Please check your dump for the same.
    cheers,
    Prashanth
    P.S Please mark helpful answers.

  • Another SOAP Sender adapter "com.sap.aii.af.mp.module.ModuleException" erro

    I am working on a synchronous scenario SOAP <-> XI <-> RFC.
    This worked fine, when I run it without SOAP adapter, direct via XI Pipeline.
    Now I want to use the SOAP sender adapter, but get the error as described below this post.
    As this is a real new XI installation, some patches or updates might be required to make it work. Or some adapter modules ?
    Any suggestions on how to solve this problem will be rewarded.
    What worries me a bit is the line "  " in the error description.
    Extra info: I use SoapSonar as a test webservice client. The error is the message as received in te test client.
    <?xml version="1.0"?>
    <!-- see the documentation -->
    <SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
      <SOAP:Body>
        <SOAP:Fault>
          <faultcode>SOAP:Server</faultcode>
          <faultstring>Server Error</faultstring>
          <detail>
            <s:SystemError xmlns:s="http://sap.com/xi/WebService/xi2.0">
              <context>XIAdapter</context>
              <code>ModuleUnknownException</code>
              <text><![CDATA[
    com.sap.aii.af.mp.module.ModuleException: either no channelID specified or no channel found for the specified party, service, and channel name, MessageServlet(Version $Id: //tc/xi/645_VAL_REL/src/_adapters/_soap/java/com/sap/aii/af/mp/soap/web/MessageServlet.java#9 $)
         at com.sap.aii.af.mp.soap.web.MessageServlet.doPost(MessageServlet.java:427)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:160)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
              ]]></text>
            </s:SystemError>
          </detail>
        </SOAP:Fault>
      </SOAP:Body>
    </SOAP:Envelope>

    Hi Chandravadhana,
    The colon should be there :
    http://help.sap.com/saphelp_nw04/helpdata/en/69/a6fb3fea9df028e10000000a1550b0/frameset.htm
    The inbound address for SOAP messages is: http://host:port/XISOAPAdapter/MessageServlet?channel=party:service:channel
    Under party:service:channel enter the party name, the service name, and the name of the communication channel. If no party has been created, enter the following: channel=:service:channel
    Regards
    Suraj

  • Where can I find the Java Document of com.sap.aii.af.ra.ms.api.Message

    Com.sap.aii.af.ra.ms.api.Message is class that would be used in Adapter Module development, but I found I can't find the document of it in neither Adapter Module related document nor XI Mapping related document.
    Anyone can help me?

    YiNing,
    Did you check this link,
    http://help.sap.com/saphelp_nw04/helpdata/en/87/3ef4403ae3db12e10000000a155106/content.htm
    Does it help? Also did you look into the Java Docs Section,
    https://help.sap.com/javadocs/index.html
    Regards
    Bhavesh

  • Issue with the font and alignment in SAP Script PDF

    Hi Experts,
    I have a problem with the font in SAP Script PDF conversion.
    The output of the form is working fine but in the PDF the output is wrong.
    There is a dutch letter ' ï ' which is pinted in the form output correctly but in the PDF output the character
    has been changed to '#'.
    and also the alignment of some text has beed changed without line spacing in between.
    Please let me know what could be the problem and how to solve this issue.
    Thanks in advance,
    Regards,
    Sankara Chakradhar.

    Hi Prabhudas,
    I am using the FM 'CONVERT_OTF' to convert the data to pdf.
    The FM CLOSE_FORM is creating the IT_OTF internal table and the CONVERT_PDF uses that internal table to populate the         IT_PDF internal table and then using the FM 'SO_OBJECT_SEND' to send the PDF file to mail.
      CALL FUNCTION 'CONVERT_OTF'             
           EXPORTING                          
                format       = 'PDF'          
           IMPORTING                          
                bin_filesize = g_filesize     
           TABLES                             
                otf          = it_otf         
                lines        = it_pdf.        
    Regards,
    Sankara Chakradhar.

  • Issue with the collective billing from two deliveries.

    Hi,
    I just want to make sure what is the right customizing in SAP standard
    in order go get one invoice from two deliveries that belong to the same
    sales order. I mean Sales order 1000001 with two deliveries 500001 and
    500002 and just want billing document.
    I have been checking the customizing control copy from delivery to
    Billing document transaction VTFL and I have tried with the
    configuration for VBRV/VRRP 001 however I get always two billings
    documents and in the analyst of the spilt document the system shows
    that the number of the deliveries are different so doesnu2019t make any
    sense because the deliveries numbers have to be different. I have also
    tried with the option VBRV/VRRP 003 but the result it is the same.
    I guess this requirement it is possible do get in the standard SAP.
    Thank you  and best regards.

    Hi Martin
    If the Header data for billing are different, then you can not combine the deliveries into one Billing document.
    For example, you can not have two different Payer or two different Payment Terms in one Billing document. 
    Therfore,if the
    PAYER,PAYMENT TERM, BILLING DATE,  DESTINATION COUNTRY AND INCOTERM are different then you can not combine them in one Billing document, whatever settings you may do .
    In standard settings ,if the above criterias are same, then system always tries to combine the deliveries into one Billing document (provided you have not set any item dependent Invoice split).
    Ensure in the copy control VTFL, at Item level, Copying requirement should be "004" and in the VBRK/VBRP field value should be "001"
    at Header level,Copying requirement should be "003".
    If you have not used any user exits or have not made any Item dependent Invoice split etc, then this above settings must meet your requirement.
    In your case just check, whether the criterias for combining the deliveries are same or different for both the deliveries.

  • An issue with the duplicates when it comes to making photobooks

    Okay... so I've complained on the duplicate issue.
    But, some ramifications:
    These are my steps
    1. I attempted to edit in external editor, but didn't change/edit it.
    2. Now I have two copies in my photos library
    3. I adjusted the original copy with vignettes, sepia, etc.
    4. the copy looks like the original
    5. I pulled both into my photobook library.
    6. Only one of the two can be pulled into my photobook (not sure which one, because both look like an original in the right panel-no adjustments seen like I did in #3) It is the first/top one that is allowed to be pulled into the photobook.
    7. I had previously in photobook made it(the one that could be pulled into the photobook) black and white. But, after removing the photo from the photobook, and then putting it back in again, it switched to black and white again even though the photo on the right still remains color like in the original.
    My biggest thing is why does it even show both in the photo pool if you can't use both? And, I would think, if anything, it should be the second copy that would be able to be pulled into the photobook. Why can't I get the sepia vignetted into my photobook???

    I'm not sure but I think there is a bug is the way Editing is handled in External Editors. I don't think we should see a second copy, I don't think the second copy should mean a duplicate at HD level and so on.
    I would report what you're seeing as a bug:
    iPhoto menu -> Provide iPhoto Feedback
    Regards
    TD

  • Is anyone having issues with the podcast update from 5/16?

    Podcasts do not load nor play already downloaded podcasts. Everything worked fine before 5/16 update. Tried resetting phone and podcast. Hate to delete and lose data from previous podcasts. Any known fix?

    Same thing happened here. Apple Podcast app is pretty much dead. Just before this update, it wasn’t syncing any new podcasts. Copied the files to the device but Podcast app wasn’t showing them. After the update, it’s either popping up a warning that cellular data is off, or another popup to suggest upgrading iTunes to v11.2 (I’m running 11.1.5.5 and haven’t seen any advisories from iTunes).
    Rebooting the device or changing app options has no effect.
    A quick look at the device diagnostic logs show that the new v574 (2.1) Podcast app is crashing the core foundation services in the device. Here’s a little more (anonymous) crash version information:
    {"name":"Podcasts","bug_type":"109","os_version":"iPhone OS 7.1.1 (11D201)","bundleID":"com.apple.podcasts","version":"574 (2.1)","app_name":"Podcasts"}
    Incident Identifier: XXXXXX
    Process: Podcasts [366]
    Identifier: com.apple.podcasts
    Version: 574 (2.1)
    Code Type: ARM (Native)
    Parent Process: launchd [1]
    Date/Time: 2014-05-17 11:00:02.164 -0400
    OS Version: iOS 7.1.1 (11D201)
    Report Version: 104
    Exception Type: EXC_BREAKPOINT (SIGTRAP)
    Exception Codes: 0x0000000000000001, 0x000000000000defe
    Triggered by Thread: 3

  • Issues with the exporting table from BAPI_SALESORDER_SIMULATE

    Hello Experts,
    When using the bapi BAPI_SALESORDER_SIMULATE I received three records in the table order_schedule_ex. But when we manually input in VA01 the same data that we used for the BAPI, on the schedule line items we can see two records for each material (which is good).
    For some reasons the standard bapi is missing one record. The following shows the actual result for the BAPI
    900001
    0001
    CT
    X
    20080124
    900011
    0001
    CP
    X
    20080124
    900011
    0002
    CP
    X
    20080125
    And these ones are the results from the VA01
    900001
    0001
    CT
    X
    20080124
    900001
    0002
    CT
    X
    20080125
    900011
    0001
    CP
    X
    20080124
    900011
    0002
    CP
    X
    20080125
    Does anyone knows why this is happening? what could I be missing?
    Thanks in advance,
    CL

    Hello Experts,
    When using the bapi BAPI_SALESORDER_SIMULATE I received three records in the table order_schedule_ex. But when we manually input in VA01 the same data that we used for the BAPI, on the schedule line items we can see two records for each material (which is good).
    For some reasons the standard bapi is missing one record. The following shows the actual result for the BAPI
    900001
    0001
    CT
    X
    20080124
    900011
    0001
    CP
    X
    20080124
    900011
    0002
    CP
    X
    20080125
    And these ones are the results from the VA01
    900001
    0001
    CT
    X
    20080124
    900001
    0002
    CT
    X
    20080125
    900011
    0001
    CP
    X
    20080124
    900011
    0002
    CP
    X
    20080125
    Does anyone knows why this is happening? what could I be missing?
    Thanks in advance,
    CL

  • Com.sap.aii.adapter.file.ftp.FTPEx: 550 You are not allowed to issue this

    hi All,
    We are getting below error while connecting to an FTP location through File Adapter:
    Message processing failed. Cause: com.sap.engine.interfaces.messaging.api.exception.MessagingException: An error occurred while connecting to the FTP server XYZ. The FTP server returned the following error message: 'com.sap.aii.adapter.file.ftp.FTPEx: 550 You are not allowed to issue this command'. For details, contact your FTP server vendor.
    Also when we tried to connect to this FTP location through PI server we able to connect, but when we connect to it through channel we are getting above error.
    Please Help!
    Thanks,
    Mayank

    hi All,
    The usedid we are using to connect to FTP location has appropriate access to write(we have an receiver file adapter) the files, when we connected to FTP location from PI server using same useid(as used in channel) we are able to connect to FTP location and also able to write the file there.
    Now error soming is:
    An error occurred while connecting to the FTP server XYZ. The FTP server returned the following error message: 'com.sap.aii.adapter.file.ftp.FTPEx: 550 Operation is not supported under Connect:Enterprise FTP server.'. For details, contact your FTP server vendor.
    Thanks,
    Mayank

  • 'com.sap.aii.adapter.file.ftp.FTPEx: 501 Unknown error

    Hello ,
    I am facing an error in communication channel while trying to post the file to the FTP server,
    The error is " Message processing failed. Cause: com.sap.engine.interfaces.messaging.api.exception.MessagingException: An error occurred while connecting to the FTP server '10.100.5.00:20'. The FTP server returned the following error message: 'com.sap.aii.adapter.file.ftp.FTPEx: 501 Unknown error'. For details, contact your FTP server vendor"
    Please could you advice what need to be done to resolve this.
    Thanks ,
    Siva

    Hi ,
    FTP 501 Error is: "Syntax error in parameters or arguments"
    Also, i see that the ftp address and port mentioned in your case is:
    10.100.5.00:20
    Hence, i see three probable issues here.
    1. FTP Port :
    Just check if the FTP server's port number '20' mentioned in your case is open as this is the data connection port. Moreover, the default port mentioned while creating a file channel is 21. Just check about the port number '20' with the FTP server administrator if this port number is opened and functioning.
    2. FTP server address:
    Also, try giving your FTP Server's address as 10.100.5.0
    3. Also, check if the FTP server is reachable from the PI Server by using a simple ping command.

  • Java proxy problem:com.sap.aii.proxy.xiruntime cannot be resolved to a type

    hi:
        i am new to Java proxy and new to SAP netweaver developer studio.
        thei PI version is 7.1
        I have generate a java proxy , then create a project in netweaver developer studio and import this java proxy according document "How Tou2026Work with XI 3.0 Java Proxies".
        but i can not find :aii_proxy_xirt.jar  aii_msg_runtime.jar on the PI server, only guidgenerator.jaraii_utilxi_misc.jar could be found. then i could not config the build path.
        in the  SAP netweaver developer studio, the error shows like :com.sap.aii.proxy.xiruntime cannot be resolved to a type
       then how to resolve this problem
       thank you very much

    Hi Cheng,
    I am trying to create a java proxy to send message from WebAS to PI using java proxy.
    I am using NWDS 7.1. Can you please help with step on how to create a java proxy in NWDS 7.1?
    Thanks and best regards,
    Arun prabhu S

  • Com.sap.aii.adapter.file.ftp.FTPEx: 550

    Hi,
    I have the below error in my sender file channel. I also read the following thread
    FTP Error
    Error:
    An error occurred while connecting to the FTP server '10.12.12.101:21'. The FTP server returned the following error message: 'com.sap.aii.adapter.file.ftp.FTPEx: 550 C:Inetpubftproot: The filename, directory name, or volume label syntax is incorrect. '. For details, contact your FTP server vendor.
    The above thread suggests me to change the setting in the IIS. Should do that settings in the PI server or the source FTP server.
    Also does anybody have any other solution to this problem.
    Rgds,
    Mithun

    HI,
    If you're using an FTP server you need to know the path to the file on the FTP.
    To do this I suggest to connect to the FTP using Internet Explorer and navigating the FTP folders until reaching the right one.
    Then on the url bar you should got something like this: "ftp://server:21/path/to/file/". Use "/path/to/file" as value for the file adapter configuration.
    Please refer below blogs:
    unable to send file to FTP server
    FTP to Windows Server
    thanks,

  • My iPod touch is having a little issue with the volume. When I plug in my headphones the volume works fine. When there aren't any headphones plugged in, no sound comes out from my iPod. When I go to turn up the volume, it still says headphones. Any tips?

    My iPod touch is having a little issue with the volume. When I plug in my headphones the volume works fine. When there aren't any headphones plugged in, no sound comes out from my iPod. When I go to turn up the volume, it still says headphones. I tried restarting it a few times, nothing worked. I looked up many tutorials, and still nothing did the trick. Any tips?

    - Try cleaning out/blowing out the headphone jack. Try inserting/removing the plug a dozen times or so.
    Try the following to rule out a software problem
    - Reset the iPod. Nothing will be lost
    Reset iPod touch: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Reset all settings
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup
    - Restore to factory settings/new iPod.
    - Make an appointment at the Genius Bar of an Apple store. Seems you have a bad headphone jack.
    Apple Retail Store - Genius Bar
    Apple will exchange your iPod for a refurbished one for this price. They do not fix yours.
    Apple - iPod Repair price                  
    A third-party place like the following will replace the jack for less. Google for more.
    iPhone Repair, Service & Parts: iPod Touch, iPad, MacBook Pro Screens
    Replace the jack yourself
    iPod Touch Repair – iFixit

Maybe you are looking for

  • Downloading acrobat pro 9.0 and CS5 in spanish

    I have a macbook pro, and purchased CS5 design standard + acrobat pro 9 a few years ago. I now have a new mac, and when I download this version for Mac and use my series number it is not recognized. I dont know if the fact the the available versions

  • BDC for XK01

    Hi All, iam creating & updating Vendor master details through BDC  Recording  by following syntax       DATA :lt_bdcmsgcoll1 TYPE STANDARD TABLE OF bdcmsgcoll.       DATA opt TYPE ctu_params.       opt-dismode = 'N'.       opt-updmode = 'X'.       op

  • Safe O/C for MSI 9800 Pro

    I would like to know with your experiencie with the msi 9800 pro, what is safe with the stock cooling to o/c this card? Now I have it mine in 411.75/364.50 (XT speeds), no artifacts in 3dmarks 01 and 03. I run the Atitool when I bought it, and gave m

  • ORA-03136 Question

    We have a database that is logging ORA-03136 messages in the log. One of our analysts is pouring through network sniffer packets looking for port 1521 packets with a payload that contains this error. My question is: Is this error something that the c

  • How to execute bapi programm

    hai       i have a BAPI programme to delete the orders.because i need to delete more than 600 orders, can any one tell me how to execute that programme.but we can use lsmw and bdc also. my abaper has given me that programme BAPI_SALESORDER_CHANGE TO