Testing of File2File scenario

Hi All,
i have one problem in my file to file scenario, that is the file is picked by the sender adapter engine and not reached to the Integration engine. In message monitoring it displays "0 messages found". In SXMB_MONI, i got "No messages available for the selection". I tested the configuration in ID, it's working fine and also tested the message mapping and interface mapping all these are OK..
And i am trying to send the message in message monitoring of RWB, there i got the following error.
"Error while sending message: 401 Unauthorized".
What is the error? Anybody came across this situation, please help me.
I am very thankful to you all in advance.
Thanks & Regards,
Nagarjuna.

Ok with your unauthorised error it is either insufficient roles, or wrong user or password...
As for the message not arriving in the moni... well if you check the comm hcannel monitoring you will probably see some sort of error...
Off the top of my head...
Empty File
You have content conversion and one of your parameters are incorrect.
The above are assuming that you have configured everything else correctly in the first place..
But please let me know what the comm channel monitoring says...

Similar Messages

  • File2File scenario

    Hi,
    I am trying File 2 File scenario, I have file adapter(both receiver and sender ) installed on my machine.
    And I have also 2 communication channels set, I used File adapters in communication channels. When I run this scenario, in Monitor I see my message to be processed sucessfully but I don't see any log in receiver adapter and also no output file.
    I have selected File system and not FTP in receiver channel, does this selection creates output file on server disk?
    If anyone have File2File scenario documentation, please forward it to me.
    regards,
    Mustafa

    Hi Jason,
    I used the said config details, my input file is..
    <?xml version="1.0" encoding="UTF-8" ?>
      <ns0:MTYP_name xmlns:ns0="File_File">Mustafa</ns0:MTYP_name>
    I am just doing simple mapping of single field, but I am getting the following error..
    <b>
    <SAP:Code area="INTERNAL">HTTP_RESP_STATUS_CODE_NOT_OK</SAP:Code>
      <SAP:P1>500</SAP:P1>
      <SAP:P2>internal server error: com.sap.aii.messaging.mo.MalformedMessageException: Cannot find Main Header in XMBMessage - check the message version</SAP:P2>
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText><html> <head> <title>Transport Service Error</title> </head> <body> <h1>HTTP/1.0 500</h1> <h3>internal server error: com.sap.aii.messaging.mo.MalformedMessageException: Cannot find Main Header in XMBMessage - check the message version</h3> </body> </html></SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>HTTP response contains status code 500 with the description internal server error: com.sap.aii.messaging.mo.MalformedMessageException: Cannot find Main Header in XMBMessage - check the message version XML tag Envelope missing in SOAP message header (SAP XI Extension)</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error></b>
    What is the cause of this error and also how do I change the trace logging levels?
    regards,
    Mustafa

  • How to test the B2B scenario ?

    How to test the B2B scenario ?
    Because the client may not give permition to test, then i heard  one thing in RWB we can test the data, how and where we can test the data ?

    Venkat,
    Follow the below procedure.
    Go to RWB, choose Component Monitoring , click Click Display
    Expand Integration Server node -Click Integration Engine .
    In the bottom of the page go to TestMessage tab.
    In the Service/Interface/InterfaceNamespace enter the Sender Service & Outbound Interface details
    Enter your username & pwd and choose the qos.
    Paste the payload in the payload area.
    Now click SendMessage .
    Done!
    raj.

  • File2file scenario. Issue with Processing mode

    Doing a file2file scenario.
    The sender comm channel's processing mode is "DELETE"
    Scenario is executed successfully and i see the output message also.
    But the input file is not deleted.
    What could the reason?
    regs
    Kiran.

    Hi,
    This will not happen to this scenario if u select the processing mode as delete.the file shld be delete from the source dir.
    Check it once again and make sure that you have activated the ID objects after u make any changes.
    Do SXI_CACHE also
    Regards
    Seshagiri

  • FILE2FILE scenario   issue

    HI ,
        NOW i have problem in file2file  scenario
        i use archive mode ,NOW at the sender ,the file was moved to OK but it wasnit transfer to the receive.
       the file   is not initial.
       in SXI_MONITOR ,there was no message about the file  . 
       help.

    Hi  Satish
    there  is no error in SENDER CC , because several files were  done together ,only one of them wasnit transfered to the receiver
    in the monitor can't see the message about the file  ,it was just moved to the OK
    the file is not initial

  • How do u test the entire scenario in XI?

    How do u test the entire scenario in xi?

    Hi,
    If you need to test only the mapping then you can go to Test tab in Message mapping or Test tab in Interface mapping and test it.
    If you need to test the entire scenario without adapters you can go to ID and select the menu Test Scenario.
    OR
    You can go to Runtime Workbench and when you click on the Integration Server you will find the Test tab in the bottomthere you can test the same.
    The above dose'nt include adapter, if you need to tes it with adapters then you need to test like actually realtime execution.
    Regards,
    Prakash

  • How can we testing the MDM Scenario

    Hi
    As per in XI we use to test the scenario by using SXI_MONI and other onesu2026Like this is there any process to test the MDM scenario ..
    Thanku
    yuga

    Hi Yugandhar,
    As far as I know,MDM has  no such Monitoring Facility within the tool.
    There are differnet parameters on basis of which you can monitor or test the performance by considering these factors while building the rep
    - Parameters to be decided while creating the data model by proper selection of  the field properties.
    - Correct Sizing
    - Taking backups
    - Correct setting sin the server ini
    - Configuration settings in the MDM client
    - Proper setting for automation of importing and syndication
    If you have XI in your landscape then you can use it for minitoring purposes.
    Within MDM you can only Verfify and check your repository from time to time and take backups lin the form of archieve and duplicate repository for maintainence purpose.
    You can also use the MDM workflow to control and monitor the flow of Data records and it enrichment.
    You can also use Clix to monitor the MDM repository connection and protection using the command line interface
    But there is no specified and dedicated testing feature in MDM.
    Hope It Helped,
    Thanks & Regards
    Simona Pinto

  • Performence test and dcoument scenarios

    Hi Experts,
    i need Performence test and dcoument scenarios of the G/L Entry both ledgers.
    any one please send one Performence test and dcoument scenario.( Related  document)
    Regards
    Msr

    I think as a BW user , you are supposed to do a application level checkout of the systems after BASIS finished the update.
    Application level checkout is done to make sure that the connections between source systems, between BI (dev, test, prod) systems.
    Application level check usually requires you to confirm to BASIS regarding ALE , TRFC level communications between systems.
    A simple test would be to execute a simple known infopackage and verify the data from source systems. This verifies the conncetion between source and BI systems.
    A transport between BI systems checks connections between  them. Make sure that u donot transport into  production before testing in CONS.
    --Thanks
      IM

  • Error while testing sender SOAP scenario from XMLSpy-but can test from RWB

    HI,
    I developed one scenario with sender SOAP adapter and Receiver side ABAP proxy.
    Now I want to test my scenario.
    I tested my scenario  successfully from RWB-->Integration server &#61664;Integration Engine. ( it posted successfully and I can see checked flag in SXMB_MONI)
    But when I tried to test the scenario fro XML spy it is throwing HTTP error 500.
    When I type my URL in internet explores it is giving “Message Servlet is in Status OK”.
    I am not sure what is the difference between there two type of testing.
    What does it mean by successful from RWB and fails from XMLSpy?
    Why I am getting this error from XMLSpy?

    Dear Ashok,
    if RWB showing you successful then message in not in error.
    XML Spy giving error HTTP 500 not it is just server error.This might be due to large payload.
    here is the description of all error related with 500+
    5xx Server Error
    The server failed to fulfill an apparently valid request.
    Response status codes beginning with the digit "5" indicate cases in which the server is aware that it has erred or is incapable of performing the request. Except when responding to a HEAD request, the server SHOULD include an entity containing an explanation of the error situation, and whether it is a temporary or permanent condition. User agents SHOULD display any included entity to the user. These response codes are applicable to any request method.
    500 Internal Server Error
    501 Not Implemented
    502 Bad Gateway
    503 Service Unavailable
    504 Gateway Timeout
    505 HTTP Version Not Supported
    506 Variant Also Negotiates (RFC 2295)
    507 Insufficient Storage (WebDAV) (RFC 4918)
    509 Bandwidth Limit Exceeded
    This status code, while used by many servers, is not an official HTTP status code.
    510 Not Extended (RFC 2774)
    first ping your server
    Tcode for this is SM49>ping
    Then in additional parameter put the server IP and execute it will show you its reachability.
    if it is not reachable then contact the server vendor,
    Else if it is timeout problemthen
    you run Tcode SXMB_ADM>intregration engine configuration
    put category RUNTIME
    then click specific configuration
    Then change/increase HTTP timeout
    **PS: Reward points if useful**
    Regards,
    Sumit Gupta

  • How do I test Sender SOAP scenario?

    Hi
    Soap - IDOC.
    The authorizations on the WS to send data is not yet provided to me.
    thus, I m trying to send a sample data from Altova XML spy.
    For this purpose I have created a WSDL from ID (Tools -> create WS)
    in Receiver NS, receiver MI, I have given receiver side details only
    but in sender side NS and MI and Sender service, I have given the Sender service that I have created in ID and the XI's local NS and receiver MI
    For URL, I have selected on "Propose URL". Now will I be able to send data to the R3 server with this link?
    (R3 is production server in my network)
    now with that WSDL, I coudlnt validate in XML SPY.
    have I provided the correct details?
    Please suggest me is there any other way of testing Sender WS to IDOC?
    Thanks and Regards,
    Venkat.

    oops I guess I have confused u
    let me detail it again
    Scenario : SOAP - XI - IDOC
    The scenario is finished.
    I dont have authorizations on WS to logon n send the data
    Thus, I have created WSDL from ID (in XI)
    now I want to send data to XI which inturn will post the data to R3 and create a IDOC
    when I try to validate the WSDL created through XI using SPY, it couldnt validate and I couldnt send the request
    I want to send the data from outside XI and I want to generate a IDOC with the test data I have specified.
    how do I do it?
    Hope I made it clear this time
    Thanks,
    Nikhil.

  • XI testing POS Integration Scenario

    Hi Folks ,
    I am new to XI environment and have a query:
    I am configured a process integration scenario for sending TLOG to POSDM. Can you pl advice how can I go about testing my config. At present I do not have any POS-GM system running so I was wondering that I will have to put my *.txn file in the "Source Directory" specified folder...
    How can I do a test ..pl advice.
    thanks!!

    Hi sunny,
    No problem .........
    Please go thru this simple file to IDoc scenario.
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/xi/fileToIDOC&
    and if you want to explore more about XI .. sure you want to ...then check out the following step by step scenario guide
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/xi/step-by-step+guides
    It will be helpful ......
    regards
    Ashwin

  • Tab character missing in the end of the line in file2file scenario?

    Hi,gurus:
    Our scenario is file to file,and both transport protocols are FTP.
    We are using content conversion both in sender and recevier side.
    But when we test the scenario,we found the tab character('0x09') is missing if the tab character is in the end of a line.
    Can you tell me how to keep these tab characters the same as sender file?
    Thanks in advacne.
    ps: in the content conversion,the parameter fieldSeparator and endSeparator are both '0x0A'.
    Edited by: xinjiang li on Jul 31, 2009 10:53 AM

    Hi,
    The source data is as below:
    H     0000140898     0     UCP31300     20090715     20090715     2     1     UCP31310     
    D     0000140898               00001                    
    After the record '00001',thare are some tab parameter,but after send content conversion,the payload is below:
      <?xml version="1.0" encoding="utf-8" ?>
    - <ns:MT_3PL_SAP2PF_ST02_SENDER xmlns:ns="http://www.unicharm-china.com/3PL">
    - <Recordset>
    - <Line>
      <Line>H 0000140898 0 UCP31300 20090715 20090715 2 1 UCP31310</Line>
      </Line>
    - <Line>
      <Line>D 0000140898 00001</Line>
      </Line>
      </Recordset>
      </ns:MT_3PL_SAP2PF_ST02_SENDER>
    The tab parameters are missing.
    Our sender content conversion is below:
    Line.endSeparator:'0x0a';
    Line.fieldSeparator:'0x0a';
    Line.fieldNames:Line
    Any ideas?

  • How to test a webservice scenario...

    Hi,
    In SAP PI, I need to test a scenario that involves webservice. I can see in Integration directory
    that a communication channel has been defined as sender with adapter type as File. So I assume that a file is being picked up
    from the FTP server.
    Also There is another comm channel of type receiver, adapter type as SOAP with a target URL.
    Now I dont know how to test this ? Any pointers how to check
    from where this request to webservice is initiated ? I have not worked
    on web service scenario before, so need help to understand to test the end to end.
    thanks

    HI
    Your's is a file to  SOAP scenario, to test this follow this steps:
    Now I dont know how to test this ? Any pointers how to check
    from where this request to webservice is initiated ?
    1. Do you have test data? any file that is archived in sender FTP under archive directory.If not then go to your
        mapping progrram->test tab-> fill test data (all mandatory fields)->switch to xml tab- Copy the whole content
        ->save it in a text pad->see the file name maitained in the sender file adapter->rename the file and place in
         the location mentioned in the sender FTP.
    2. Check  in RWB if the channels is active and you can see the  file being picked in the log ,you can see SXMB MONI
      also if there is checkerd flag.
    3. To see if the soap posing has happened or not you can see the soap channel monitoring in RWB  and read the log
        or you can confirm the posting with the  team which received the data( portal /Webservice).
    Regards,
    $rinivas

  • Testing XI SOAP scenario via XMLSpy

    I've completed the following -
    1. Created the scenario SOAP => XI => RFC
    2. Using XI config, generated WSDL specifying the Message Interface which triggers the scenario in XI.
    http://<serverhost>:<port>/XISOAPAdapter/MessageServlet?channel=<party>:<ServiceName>:<Channel Name>
    3. Transported this WSDL to local directory
    4. Testing WebService by sending a SOAP message using XMLSpy. Option Soap=>Send request to Server.
    I don't see any pop-up to enter xiappluser and password .
    I get the following popup error message
    HTTP error: could not POST file
    '/XISOAPAdapter/MessageServlet?channel=:HTTP_LINK:testSoap&amp;version=3.0&amp;
    Sender.Service=HTTP_LINK&amp;Interface=urn%3Agoodyear.com%3AInfoLinkToSAP%5EInfoLink_XML_Req_Sync_Abs' on server 'xi0.goodyear.com' (404).
    Please let me know if there is anyway to resolve this error condition.
    Thank you.

    Hi Prasad, thank you.
      Niall Guerin wrote me a message in which he explained that some of my XI components are inconsistently patched. I will verify and correct that.
      Thanks again.
      Ivan
    <i>Hi Ivan,
    Thanks for the patch level information above. Your components are not
    up to date.
    As you can see the following XI AFW components are inconsistently
    patched:
    sap.com SAP-XIAFC 3.0 SP12
    sap.com SAP_XIAF 3.0 SP17
    ALL XI components MUST be on the same patch level. This means:
    XIAFC, XIAF, and XITOOLS must all be on SP17. The same goes for the
    ABAP stack. Basis must be on SP17 and so must your J2EE Engine. With
    XI, ALL patch levels must be consistent as a prerequisite. Please
    refer to attached note: 750511.
    In addition, it looks like you've got a PCK deployed on the XI host
    as well? A PCK cannot co-exist with an XI installation, so please
    ensure you did not do this and undeploy it if it was installed on top
    of the XI host.
    Please patch the XI Java components correctly and then reproduce the
    SOAP Adapter problem after sending a soap request to the adapter.
    For more information on the message status in your screenshot, refer
    to the weblink below. This is an enhancement with SPS17 for the Runtime
    Workbench:
    Communication Channel Monitor
    http://help.sap.com/saphelp_nw04/helpdata/en/44/2a1a8620323f0ee10000000a114a6b/content.htm
    Kind Regards,
    Niall Guerin</i>

  • File2File scenario is not working

    Hi,
    I configured the File to File scenario which has given in the Weblog.
    I done exactly the way in the weblog and activated everything.
    But the scenario is executed, I have checked in the message monitoring no messages in it.
    My File Adopter spooling interval is 60s.
    Can anybody tell me the procedure to execute a scenario.
    Thanks
    Srinivas Sandaka

    Hi,
    Thanks for you quick response.
    Adapter in RWB in green status.
    Environment->Cache
         Cache Update Status is in red status
         Perform Notification status is in green.
    Pool interval is 2 seconds.
    Processing mode is delete.
    In the file Adapter testing the following fields are mandatory.
              Send Message To, Sender, Interface,
               Namespace, Quality of Service.
    can you give me the which objects I have to give in thier fields.
    Thanks
    Srinivas Sandaka

Maybe you are looking for