Testing messages in RWB
Hi Guys,
As you are aware In RWB under Component monitoring, there is an option for testing by posting messages directly to XI Pipe line. I have a requirement, where by i need to disable this feature in our production environment and still retaining other monitoring features available with this option.
Is there any way , i can do it by modifying or removing the security roles or authorization objects for a dialog user?
Regards,
Senthil.
Hi Senthil,
the test option is using service sap/xi/engine. You can customize that service (transaction SICF) and set a permission for ussing the service (Service-Option SAP Authorisation). You can put a little text there. This text will be checked during logon to authorisation object S_ICF, the logon user must have authorisation to S_ICF-ICF_FIELD = 'SERVICE' and S_ICF-ICF_VALUE = 'MYSTRING'. Have a look to
<a href="http://help.sap.com/saphelp_nw04/helpdata/en/78/9852b7c06b11d4ad310000e83539c3/content.htm">Service Options</a>.
Regards,
Udo
Similar Messages
-
Test message from RWB: Error when sending message: 401 Unauthorized
Hi Experts,
While I am sending test message from RWB, I am getting following error:
Error when sending message: 401 Unauthorized
I am using correct userid/password as I am working with Repository/directory. Also in one of the test scenario files are picking up from folder but never got processed because of similar issue (HTTP_RESPONSE_CODE_NOT_OK) and SERVICE NOT AVAILABLE.
I am having SAP_ALL authorizations and few days back everything was fine.
I think something wrong with configuration in XI but I am unable to pin point.
Please help.
Regards,
GouravYes,
but
Role of Business System : Integration system
Corresponding Integ. Server : http://<XI server>:<http port>/sap/xi/engine?type=entry
How can I change it to Application system
and RUNTIME->IS_URL = http://<XI server>:<http port>/sap/xi/engine?type=entry
Regards,
Gourav -
Unable to find channel ID - using Test Message in RWB
Hey all - we are using the Test Message tab of the RWB, and we get "Unable to find channel ID" as the response to our message being sent. We are clueless what this means... since this is supposed to send straight into the engine, I'd expect something like "no interface determination" or sometimes similar - but we can't figure out what this error means. This is the message we get, regardless of payload or interface chosen... We even chose an interface that has already been tested & is running successfully into XI via the JMS adapter, so we know the actual path thru XI is valid.
Help is appreciated - I'm sure this is something silly we don't have set up that we need...We were hitting the Test tab after clicking the AF in RWB - you should choose the engine... it likes that much better.
-
Question on sending test message from RWB
Hello Friends
I am trying to test my design and configuration by sending a test message (XML Payload) from RWB.
I need some help.
There is a field that says Send Message To. What should I enter in this. Looks like it takes URL info but I don't know how to enter my target in the form of a Url.
Also right below that, there is a panel Called Header Information, with fields like
Party, service, interface, Interface namespace etc., Do I need to enter the target related service, interface etc.,?
If you can please let me know, I would appreciate it.
Thanks
RamHi Ram,
>>There is a field that says Send Message To. What should I enter in this. Looks like it takes URL info but I don't know how to enter my target in the form of a Url.
http://<XI_hostname>:<http_port>/sap/xi/engine?type=entry
>>Also right below that, there is a panel Called Header Information, with fields like
Party, service, interface, Interface namespace etc., Do I need to enter the target related service, interface etc.,?
You need to enter the mandatory fields ( sender service,interface and interface namespace) and if you want you can enter remaining fields or else you can ignore it. And also enter userid/password to send the xml payload.
Once u r done with it..check for the message in moni and if you are not able to see any messages then check in the i/n queue smq2. And also check the status of your sender communication channel in the RWB.
However, I don't see the data being updated in the table on the receiver side.
Wat is your scenario and where u r checking for the table and in which system..??
Thanks!! -
Unable to send test messages from rwb
hi,
using pi7.1,
im unable to sendtest messages directly from rwb, it says that i don't have the req auth...
my user id has most of the required roles..
cud any1 help me by telling what exactly is the role im looking for....
thanks in advance....The best one is anytime help.sap.
http://help.sap.com/saphelp_nw70/helpdata/EN/87/ca12416c17ef6fe10000000a1550b0/frameset.htm
And the next one should be sdn.sap.com
Regards,
Prateek -
when i send a test message throw the RWB for Http receiver adapter it is giving the error "Error in processing caused by: com.sap.aii.adapter.http.api.HttpAdapterException: ERROR_SOCKET_TIMEOUT, Read timed out"
Hi, Michal
I have read your Weblog. It makes sense to me. Thanks a lot for your help! However, I still have some questions and listed them as following. Could you please help to answer them?
<b>Q1:</b> I am new to SAP-XI. So I have no idea about TCODE-SXMB_ADM. Could you introduce more details about it?
<b>Q2:</b> The XI system I am using is running on SAP-ICC's machine. The tools I can use are:
<b>1.</b>Builder for Integration Repository
<b>2.</b>Builder for Integration Configuration
<b>3.</b>System Landscape Directory
<b>4.</b>Runtime Workbench
<b>5.</b>Administration System (for Repository, Directory, Runtime)
Please note that I do not have a complete control on this SAP-XI. Do you think whether or not I can set the timeout parameter by following the instructions provided in your Weblog?
For more details about my SAP-XI, please access the following Web page:
http://iccxi.sap.com:58000/rep/support/admin/index.html
<b>Q3:</b> The following messages are extracted from the SAP-XI. Wish they are hepful to solving my problem.
2006-06-19 05:12:16 Success The message was successfully received by the messaging system. Profile: XI URL: http://iccxi.sap.com:58000/MessagingSystem/receive/AFW/XI
2006-06-19 05:12:16 Success Using connection AFW. Trying to put the message into the request queue.
2006-06-19 05:12:16 Success Message successfully put into the queue.
2006-06-19 05:12:16 Success The message was successfully retrieved from the request queue.
2006-06-19 05:12:16 Success The message status set to DLNG.
2006-06-19 05:12:16 Success Delivering to channel: ValidationRequestHandlerServiceChannel
2006-06-19 05:12:16 Success SOAP: request message entering the adapter
2006-06-19 05:12:37 Success SOAP: call failed
2006-06-19 05:12:37 Error SOAP: error occured: java.net.ConnectException: Connection timed out: connect
2006-06-19 05:12:37 Error Exception caught by adapter framework: Connection timed out: connect
Thanks
Menghua Li -
Mapping error when trying to test SOAP message from RWB
Hi all,
I am very new to XI and I will like to get some advise for testing an asynchronous interface:
SOAP -> XI -> File
To test the interface:
I logged into RWB - Component Monitoring - Adapter Engine - Test Message:
URL: http://ootspdbs02:50100/XISOAPAdapter/MessageServlet?channel=:BS_RON_TEST:SOAP_Sender_Test
Service: BS_RON_TEST
Interface: MI_TestWebServiceServer_UpdatePatAdmissInfo
Interface Namespace: urn:test:ron:fapl:TestWebServiceServer
QOS: EO
Payload (I generated this from XMLSpy with the WSDL generated in Integration Directory):
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns0="urn:OOTSUpdatePatientAdmissionInfoWsd">
<SOAP-ENV:Body>
<m:MI_TestWebServiceServer_UpdatePatAdmissInfo xmlns:m="urn:test:ron:fapl:TestWebServiceServer">
<ns0:Header>
<ns0:encoding>String</ns0:encoding>
<ns0:sendingApp>String</ns0:sendingApp>
<ns0:sendingFac>String</ns0:sendingFac>
<ns0:receivingApp>String</ns0:receivingApp>
<ns0:receivingFac>String</ns0:receivingFac>
<ns0:timeStamp>2001-12-17T09:30:47.0Z</ns0:timeStamp>
<ns0:messageType>String</ns0:messageType>
<ns0:messageId>String</ns0:messageId> <ns0:messageDesc>String</ns0:messageDesc>
</ns0:Header>
<ns0:patientID>String</ns0:patientID>
<ns0:institutionID>String</ns0:institutionID>
<ns0:caseNumber>String</ns0:caseNumber>
<ns0:admissionDateTime>2001-12-17T09:30:47.0Z</ns0:admissionDateTime>
<ns0:ward>String</ns0:ward>
<ns0:bed>String</ns0:bed>
<ns0:room>String</ns0:room>
<ns0:movementCategory>String</ns0:movementCategory>
<ns0:movementType>String</ns0:movementType>
</m:MI_TestWebServiceServer_UpdatePatAdmissInfo>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
The error I got in SXMB_MONI is:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!-- Request Message Mapping
-->
- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
<SAP:Category>Application</SAP:Category>
<SAP:Code area="MAPPING">EXCEPTION_DURING_EXECUTE</SAP:Code>
<SAP:P1>com/sap/xi/tf/_MM_TestWebServerService_UpdatePatA~</SAP:P1>
<SAP:P2>com.sap.aii.utilxi.misc.api.BaseRuntimeException</SAP:P2>
<SAP:P3>RuntimeException in Message-Mapping transformatio~</SAP:P3>
<SAP:P4 />
<SAP:AdditionalText />
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack><b>com.sap.aii.utilxi.misc.api.BaseRuntimeException thrown during application mapping com/sap/xi/tf/_MM_TestWebServerService_UpdatePatA: RuntimeException in Message-Mapping transformatio</b></SAP:Stack>
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
<Trace level="1" type="T"><b>com.sap.aii.utilxi.misc.api.BaseRuntimeException: RuntimeException in Message-Mapping transformation: Cannot produce target element /ns1:MT_TestMsg/CaseNumber. Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd at com.sap.aii.mappingtool.tf3.AMappingProgram.start(AMappingProgram.java:303) at .....</b>
The message mapping consists of direct maps from each field in the source to the target (MT_TestMsg).
CaseNumber is the first field to be mapped.
In IR, I tested the interface and it works fine - no error in mapping.
I assume I cannot use the message generated in IR, because the SOAP envelope is required. (I tried anyway, and encountered the same error.)
Please advise how I can resolve this error.
Many thanks in advance.
RonHi all,
I notice the tag and namespaces are changed when I generate the XML from the WSDL.
I am expecting something this format in IR:
<?xml version="1.0" encoding="UTF-8"?>
<ns0:updatePatientAdmissionInfo xmlns:ns0="urn:OOTSUpdatePatientAdmissionInfoWsd">
<ns0:Header>
<ns0:encoding/>
<ns0:sendingApp/>
<ns0:sendingFac/>
<ns0:receivingApp/>
<ns0:receivingFac/>
<ns0:timeStamp/>
<ns0:messageType/>
<ns0:messageId/>
<ns0:messageDesc/>
</ns0:Header>
<ns0:patientID/>
<ns0:institutionID/>
<ns0:caseNumber/>
<ns0:admissionDateTime/>
<ns0:ward/>
<ns0:bed/>
<ns0:room/>
<ns0:movementCategory/>
<ns0:movementType/>
</ns0:updatePatientAdmissionInfo>
However, the message generated is :
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" <b>xmlns:ns0="urn:OOTSUpdatePatientAdmissionInfoWsd"></b>
<SOAP-ENV:Body>
<b><m:MI_TestWebServiceServer_UpdatePatAdmissInfo xmlns:m="urn:test:ron:fapl:TestWebServiceServer" ></b>
<ns0:Header>
<ns0:encoding>String</ns0:encoding>
<ns0:sendingApp>String</ns0:sendingApp>
<ns0:sendingFac>String</ns0:sendingFac>
<ns0:receivingApp>String</ns0:receivingApp>
<ns0:receivingFac>String</ns0:receivingFac>
<ns0:timeStamp>2001-12-17T09:30:47.0Z</ns0:timeStamp>
<ns0:messageType>String</ns0:messageType>
<ns0:messageId>String</ns0:messageId> <ns0:messageDesc>String</ns0:messageDesc>
</ns0:Header>
<ns0:patientID>String</ns0:patientID>
<ns0:institutionID>String</ns0:institutionID>
<ns0:caseNumber>String</ns0:caseNumber>
<ns0:admissionDateTime>2001-12-17T09:30:47.0Z</ns0:admissionDateTime>
<ns0:ward>String</ns0:ward>
<ns0:bed>String</ns0:bed>
<ns0:room>String</ns0:room>
<ns0:movementCategory>String</ns0:movementCategory>
<ns0:movementType>String</ns0:movementType>
<b></m:MI_TestWebServiceServer_UpdatePatAdmissInfo></b>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
The namespace and the root tag is changed!
I think this might be causing the problem.
But how do I resolve it? -
When testing the message from RWB error - User PAMIDIK has no authorization
Hi Experts,
When i am testing the scenario from FILE to PROXIE i am geeting the following error in SXMB_MONI.
i went to RWB - IE - TEST MESSAGE .the message had left from RWB but when i see in SXMB_MONI in XI i get the following error.
Error Message: User XX has no authorization to process messages
Regards
KiranHi ,
where you are testing the message in RWB, IE or Adapter Engine ??I think you dont have proper authorization to perform the action check with you basis team.
Regards,
Raj -
Hello guys!
During performing PI 7.1 Readiness Check I have to perform a test message under Runtime Workbench\Adapter Engine\Test Message.
After processing i receive following error:
Error while sending message: 403 Forbidden.
Does anybody know the cause?
Many thanks in advance!
JochenHi Sreeni!
Direct hit!
This was the problem! Missing role!
Many thanks to you!
Additional Information for all:
Readiness Check (PDF)
A compilaton of simple and advanced checks for Process Integration 7.1 (PI 7.1)
Page 44
SAP Note 817920 - XI Readiness Check 3.0/7.0, 7.1
Regards,
Jochen -
Problem while sending the message using RWB
Dear All,
I am facing a problem while sending a message from RWB. I sent the message using Test Message in component monitoring, it says message sent but I am not able to see any message in sxi_monitor.
When I send the same message using the http client it successfully processed by XI and I can see the success message in sxi_monitor.
Please let me know if anyone has face similar kind of issue.
Thanks,
Alok
Edited by: Alok Raoka on May 26, 2008 5:08 PMDear All,
I am facing a problem while sending a message from RWB. I sent the message using Test Message in component monitoring, it says message sent but I am not able to see any message in sxi_monitor.
When I send the same message using the http client it successfully processed by XI and I can see the success message in sxi_monitor.
Please let me know if anyone has face similar kind of issue.
Thanks,
Alok
Edited by: Alok Raoka on May 26, 2008 5:08 PM -
"Test Message" - cpa.impl.exception.CPALookupException: Couldn't retrieve
Dear Experts:
Even I put in the exactly correct info in "Runtime Workbench ->Component Monitoring -> "Test Message" tab "
After I send the message, I got the following ERRORS:
Error while sending message: com.sap.aii.af.ra.ms.api.ConfigException: ConfigException in XI protocol handler. Failed to determine a receiver agreement for the given message. Root cause: com.sap.aii.af.service.cpa.impl.exception.CPALookupException: Couldn't retrieve outbound binding for the given P/S/A values: FP=;TP=;FS=UP_QAS_ASSETCONTROL_001;TS=;AN=Prices_SYNC_OB;ANS=urn:
Is it something wrong with "System Setting" or "Test Message" environment setting?
How to make the "Test Message" environment work??
Thank you in advance for your helpful and important reponse
Best RegardHello,
If the recommended CPA cache refresh did not help to resolve the issue you could also try the following:
Check the correct adapter engine url is being used in trx SXI_CACHE ->Goto -> Adapter Engine Cache.
If it is incorrect:
Go to transaction sxi_cache -> Goto -> Adapter Engine Cache
Delete the Adapter Engine cache entry
Then go to trx SXMB_MONI and try to resend any of the failed messages.
Also check that the SAP BASIS Content has been imported into the Integration Repository.
Integration Repository -> SAP BASIS -> SAP BASIS 7.xx (double click) -> Details (tab)
Try to refresh the following caches:
http://host:<j2ee-port>/dir/start/index.jsp -> Administration
Select Cache Overview
In the section: Java VM Cache Refresh, click Refresh Cache for
- Cache for Softwarecomponents
- SLD Cache
In the section: XI Data Cache Refresh, click Full Cache Refresh for Consumer types:
- INTEGRATIONSERVER_
- INTEGRATIONRUNTIME_
- af.sid.host
On the ABAP client, go to SXI_CACHE for the XI Runtime Cache and select XI Runtime Cache -> Start Delta Cache Refresh.
Try to re-execute the scenario
Regards,
Sarah -
CPALookupException while sending a Test message to Adapter engine
Hello Experts,
I am getting following exception while sending a test message to Adapter engine through Runtime Workbench.
Error while sending message: com.sap.engine.interfaces.messaging.api.exception.ConfigException: ConfigException in XI protocol handler. Failed to determine a receiver agreement for the given message. Root cause: com.sap.aii.af.service.cpa.impl.exception.CPALookupException: Couldn't retrieve outbound binding for the given P/S/A values: FP=<Configured Party>;TP=;FS=<Configured Communication component>;TS=;AN=<Configured Outbound Interface>;ANS=<Configured Namespace>
This scenario works fine when I submits the message through Integration engine. So ID configuration is perfect. Also cache contents are upto date.
Thanks in advance.
Regards
RajeevError is clearly saying that it is unable to find receiver agreement for that particular interface.
Please check your receiver agreement for the interface.
If your receiver agreement is fine then do CPA cache refresh using following URL:-
http://<host>:<port>/CPACache/refresh?mode=full -
Archiving/Deleting Test Messages in SAP Solution manager
Hi,
We have configured Service Desk in our solution manager 7.0 with EHP1 system.
We have created test messages to test the configuration.
We need to delete these test messages which are appearing in T Code CRM_DNO_MONITOR.
We run the report "CRM_ORDER_DELETE" but the output is
Deletion of CRM Documents
The following document could not be deleted: 8000000259
Not possible to delete, a reference exists to a subsequent document
Number of documents deleted: 0
Number of documents not deleted: 1
So
We have followed the "Note 1329247 - Archiving Solution Manager Service Desk messages".
1)
a)Call transaction DNOTIFWL and set the deletion flag for the Service Desk message. The deletion flag corresponds to the system status I1076 (deletion flag).
b) Execute the report Z_DELETE_BASIC_NOTIFICATIONS
The above step we have executed successfully.
2)
In CRM
You cannot delete a service process in CRM. The service process must be archived.
Call transaction SARA and select the archiving object CRM_SERORD. Archiving involves three steps:
a) Initial run Report CRM_ARC_SERORD_CHECK
b) Write run Report CRM_ARC_SERORD_SAVE
c) Delete run Report CRM_ARC_SERORD_DELETE
in SARA T Code we have typed archiving object CRM_SERORD.
After this what to do??? How to proceed further.
Can any body suggest us the step by step procedure to archive these test messages.
Regards,
Raj> In CRM
> You cannot delete a service process in CRM. The service process must be archived.
> Call transaction SARA and select the archiving object CRM_SERORD. Archiving involves three steps:
> a) Initial run Report CRM_ARC_SERORD_CHECK
> b) Write run Report CRM_ARC_SERORD_SAVE
> c) Delete run Report CRM_ARC_SERORD_DELETE
>
> in SARA T Code we have typed archiving object CRM_SERORD.
> After this what to do??? How to proceed further.
You need to schedule a BGD job to execute this. You can do this from the SARA screen itself, clicking on the 'Job' button. Please refer:
http://help.sap.com/saphelp_crm50/helpdata/en/e6/c66f3b6c980c3be10000000a11402f/content.htm
Rajeev -
How to associate a test message with a change document
I am using solution manager 7.01.
accessing my change documents through the workcenter I need to create a new test message - so I use the Create transaction button on the button bar, Service Process, Test Message
Then I am in the create test message screen. However from here I cannot see how to associate my test message with either the change document that I was processing or to the maintenance cycle.
Ideally I want to link the test message to the change document however at least to the maintenance cycle.
How do I do this?
Am I creating the test message in an incorrect way?
regards
MarinaAnyone? Does no one use Test Messages?
-
Cancel System Error Messages from RWB
Hi All,
I have nearly 3000 messages those were got System Error in Integration Engine process, but when i check messages in SXMB_MONI all are success and written to target folders also.There is no problem absolutely.
Now i just want to cancel those System Error messages from RWB--Message Monitor to keep system green and do not want to see those system error messages again.
Iam not able to cancel those messages from RWM, it is saying that User and pwd incorrect but iam providing correct one only.
I went to details of that system error message from Message Monitor, i took message id and filtered with that in SXMB_MONI. i got the message with error state.Iam able to cancel that from MONI but not from RWB which is fine and disappearing from RWB list.
the thing is i can't copy each and every message id by opening details button for every message
How can i proceed for this. please advice me
REgardsHi Ravi,
For example iam able to see system error message in RWB--Message Monitor under Integration Engine at 9:30
when i execute SXMB_MONI for the same time and see, there is no error message for that able to see success.
When i took message id from RWB--message monitor and filter that in MONI means it is showing me the error message.
I can able to cancel it from MONI which is fine. but this way i have 3000 messages in RWB--Message monitor under IE.
How to copy and paste then filter those error messages in MONI???this is pain process to copy each and every one by one
Iam not able to get those if i filter with the status group as System Error manual Restart Possible criteria
Regards
Maybe you are looking for
-
How can I transfer all my music from my old iPod to my new MacBook pro? My old computer is gone.
-
Hi I am loving flex unit and wanted to use it on a air app I developed a few months back. I added an new application.mxml file to the project and added the TestRunnerBase and a ref to FlexUnitCore. When I try to debug the app, the debugger starts but
-
Will all samsung led monitors work with macbook air?
recommendations for best 27" led monitor ( not a gamer), watching movies, when not working ~$400?
-
Can someone post a quick example of an Oracle Text query?
-
Load Balancing FTP Server thru CSM using a single Client IP
Hello, We have a need to load balance 3 FTP servers. These servers are reached only from a single client IP which is a database server. The FTP method that is being used is currently passive. Our configuration is currently unidirectional, ie, the FTP