Configuring PCK
We are trying to set up PCK. We configured the sender party, service (abstract service) and sender agreement / receiver agreement in PCK.
We didn't create any colloboration agreements in integration server..(Though we set up the party/service in XI server)
We were expecting the message to fail with in the integration server, but our sender CC itself fails in adapter monitor with error,
<i>Error: ConfigException: No XI receiver agreement configured in PCK for XI message header</i>
Anybody know what we are missing? Is our expectation that message will go to integration server and fail there wrong?
What communication channel did you use for sender/receiver? The receiver cc must of type XI.
And you need party/service for the receiver as well as for the sender.
Look here for more details:
http://help.sap.com/saphelp_nw04/helpdata/en/32/a63d40c6d98437e10000000a155106/frameset.htm
Regards
Stefan
Similar Messages
-
Hi all,
What is the url i need to give
1)when i configure receiver SOAP adapter in XI to send message to PCK.
2) when i configure receiver SOAP adapter in PCK to send message to XI.
Which namespace and interface name i need to specify in Sender SOAP adapter in PCK.
Thanks,
SakthiHi,
As you said i changed the configuration, error i was getting has changed and now am getting this error
"<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!-- Call Adapter
-->
- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
<SAP:Category>XIAdapterFramework</SAP:Category>
<SAP:Code area="MESSAGE">GENERAL</SAP:Code>
<SAP:P1 />
<SAP:P2 />
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText>com.sap.aii.af.ra.ms.api.ConfigException: Failed to read channel configuration. Reason: Value with name NumberRetries not available</SAP:AdditionalText>
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack />
<SAP:Retry>M</SAP:Retry>
</SAP:Error>"
Can you tell how to solve this error.
Even when i try the scenario from pck to xi also am getting the same error as
"com.sap.aii.af.ra.ms.api.ConfigException: Failed to read channel configuration. Reason: Value with name NumberRetries not available"
We are using PI7.0 and PCK sp10.
This error is because of configuration missed by basis or developer.
Thanks,
Sakthi
Message was edited by:
sakthi devi -
Remote Debug - .SDA File or Adapter
I have configured PCK Server and deployed sample Adapter. I have enabled debug mode on server to debug java code on NWDS.
.SDA file consists of .rar and inturnally consists of .jar file (JAva Application). I have manually build .rar from NWDS JAva Application generated .jar file, and also manually generated .sda file. These file generations are 100% successful and deployed 100% Successful.
Now I want to debug java code enabling remote debug, however, after I attached to remote server, it is not kicking java code even I put any breakpoints.
Server environment is on SAP PI 7.0 PCK Environment.
NOTE: You get double points for right answer with my subscription.Hi Ravi,
Could you tell me how did you achieve this? I am trying to do the same.
VJ -
SP9 on PCK - file adapter configuration or Messaging System Test
Hi,
I have upgraded my XI 3.0 PCK from SP1 to SP9. This is fine but now I do not have the Messaging System Test JSP
(I could not install the old one).So I would like to
configure the file adapter to send to my adapter some outbound messages.
I have tried configuring the file adapter as
I do on full XI server but the file adpater on PCK
just doesn't want to recognize the binding. No error logs, nothing. Any ideas what could be wrong ?
Sincerely,
Maxim NaidenovThe configuration of the PCK is different to the XI.
You need:
Communication Channel:
-> for Sender (File)
-> for Receiver (XI) (Here you enter the URL of the XI)
sender agreement (matching sender channel and interface)
receiver agreement (matching receiver channel and interface)
As the XI needs the same configuration for partner and service as the PCK, you should create two partners for PCK and XI and assign the sender channel to the service belonging to the partner PCK and the receiver channel to the service belonging to the partner XI.
I hope that helps
Stefan -
Exporting and importing Configuration objects in PCK
Hi all,
Anyone have a idea of exporting and importing configuration objects in PCK .
please give me step by step guide if you have any related document.
Thanks
AshwinHi ashwin
Welcome to SDN forums
Check out the following thread for more info
PCK Configuration Export and import
<i>reward points if helpful</i>
Regards
krishna -
PCK :: Configuration Example: Message Exchange
Hello experts,
I has a problem with the configuration example from the SAP help to the partner Connectivity Kit.
http://help.sap.com/saphelp_nw04/helpdata/en/8b/895e407aa4c44ce10000000a1550b0/frameset.htm
I have built up everything like in the description - two PCK (party_A and party_B) and XI (party_XI).
In message monitor of the first PCK (party A) stands that a message is explained successfully and second with error.
Status: waiting.
Details -
audit log:
Success Delivering to channel: message_an_xi
Error Exception caught by adapter framework: String index out of range: 0
Error Delivery of the message to the application using connection AFW failed, due to: String index out of range:0.
Message Data:
Error Category XI_J2EE_ADAPTER_ENGINE
Error Code GENERAL_ERROR
Wo und wie muss ich Fehler beseitigen?
Has already explained jemang this example?
Is it executable?
Thank's.
Regards,
AlexHi Zoran
While using BPM as well you will need to have communication channels.
BPM - > BAPI request.
BAPI response -> BPM
both sender and receiver channels are required for you.
1.Demand for a material is send via HTTP to XI
2.XI does a material availability check to the SAP system
3.A material reservation has to be done if there are any materials available in the stock (inventory) to the SAP system
4.If there is no material available a purchase order to a supplier (no SAP) has to be done via FTP
5.Parallel to the purchase order a purchase order confirmation is send to the the SAP system.
6.The supplier sends a purchase order confirmation to XI
7.The XI sends a purchase order confirmation to the SAP system
If i understood your requirement correctly and you want to use BPM. You need to do following in BPM
Receivestep1(receive HTTP post) -> transform1(mapping to BAPI request) ->send step1(Send BAPI request to SAP) -> Receivestep2 (Receive BAPI response from SAP) -> Transform2 (Map BAPI response to File)-> send2(File post to non SAP supplier)-> Receive3(receive purchase order confirmation)-> transform3(map to SAP purchase order confirmation)-> send3(Purchase order confirmation to sap)
You need no of channels
1.Receive 1 - (HTTP)
2.Send1/Receive2 - (RFC)
3.Send2 - (FTP)
4. Receive3( HTTP or FTP)
5. For purchase order confirmation.
Thanks
Gaurav -
Configuring XI - PCK communication
Hello,
I configure communication channel from XI 3.0 host to PCK host via XI protocol and I couldn't find following URL parameters:
1. Host (I know the host)
2. Port (I don't know where to look for it)
3. Path prefix (I don't know where to look for it)
XI is installed on <b>http://<xihost>:50000</b>
PCK is installed on <b>http://<pckhost>:52000</b>
No additional modification has been done on PCK host.
Does anybody know this configuration parameters or where to find this parameters?
May be it is something like
<b>http://<xihost>:8000/sap/xi/engine?type=entry</b>?
Thank you in advanceHello Stefan,
Thank you for your reply.
But I have already tried this URL before
and the service user already have had a role xi_af_receive in PCK.
But I have got the following exception:
td {font-family : Arial, Tahoma, Helvetica, sans-serif; font-size : 14px;} A:link A:visited A:active
400 Bad Request
SAP J2EE Engine/6.40
The request can't be parsed properly.
Details:
</body>
com.sap.engine.services.httpserver.exceptions.ParseException: Incorrect request line: . at com.sap.engine.services.httpserver.lib.impl.RequestLineImpl.init(RequestLineImpl.java:328) at com.sap.engine.services.httpserver.lib.impl.RequestLineImpl.parseRequestLine(RequestLineImpl.java:213) at com.sap.engine.services.httpserver.server.RequestAnalizer.initialize(RequestAnalizer.java:191) at com.sap.engine.services.httpserver.server.Client.initialize(Client.java:84) at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:142) at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37) at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71) 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:94) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162) </PRE></font></td></tr></table></font></p> </body> </html></SAP:AdditionalText>
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack>HTTP response contains status code 400 with the description Bad Request XML element Envelope missing in SOAP message header (SAP XI Extension)</SAP:Stack>
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
/code
Could you take a look at this?
Thanks a lot
Ivan -
PCK loopback configuration in NW04s
Hello, my company has a few PCK installations on Unix and Linux machines (NW04s). I am trying to create a loopback scenario. By loopback I mean that the PCK works without an integration server and it sends the messages to itself. I use file sender and file receiver. The sender tries to process the file, but fails. The message is logged in the error log. I get the following error in the error log:
"Exception: no XI receiver agreement configured in PCK for XI message header."
Could it be a configuration problem in the "SAP XI Adapter : XI" service? Any other ideas? On a NW04 PCK it worked fine.
Message was edited by: Ronen SchwartzHi Yogalakshmi,
we're trying to upgrade a NW04 to NW04s. We've seen that you're doing this or you've just done it.
Could u give us any information about this?
Thanks in advance,
Xavier -
Dynamic configuration bean in JMS Adapter
Hello Experts,
My scenario is JMS(Active MQ) to File.Its just Passthrough scenario and no mapping involved.
Filename will be coming in one of the JMS Property (say businessId) and I need to set this filename to file adapter.
I have refered the stefan's blog and used the Dynamic configuration bean module in sender JMS adapter.
getFilename key.1 write http://sap.com/xi/System/JMS DCJMSMessageProperty4
getFilename value.1 module.filename
setFilename key.1 read http://sap.com/xi/System/File FileName
setFilename value.1 module.filename
But required filename is not populated in the target File.Any other configuration is missing here?Hi Karthiga
Did you set the ASMA properties in both your sender JMS channel and receiver File channel?
For the JMS adapter, as shown below, you will need to enter the DCJMSMessageProperty4 into the table
Configuring the Sender JMS Adapter - Configuring the JMS Adapter in the Integration Directory/PCK - SAP Library
If you want to set additional JMS message attributes, select Specify Additional JMS Message Properties (Maximum of 10).
In the table, enter the names of the JMS message properties whose values are to be included in the message header of the PI message.
The technical names of the additional attributes are DCJMSMessageProperty0, DCJMSMessageProperty1, ..., DCJMSMessageProperty9.
For the File adapter, you need to check the ASMA FileName attribute.
Once you have this configured, in your message, you should be able to see that the value is in the DynamicConfiguration section of the SOAP header.
Rgds
Eng Swee -
Is it possible to test XI Adapter on PCK by JNDI lookup?
Hi, friends
I can't test the XI Adapter by using the communication channels and sender/receiver agreements on a standalone PCK (without XI server to be connected). Is it possible to test XI Adapter on PCK by JNDI lookup?
I can locate the XI Adapter by JNDI lookup (JNDI name is configured on SampleRA.xml):
ConnectionFactory cxf = (ConnectionFactory)initctx.lookup("deployedAdapters/sample_ra/shareable/sample_ra");
But later it failed to get the ConnectionSpec and create the Connection. Could anyone give me a sample code for testing XI Adapter by JNDI lookup?
Thanks in advance.
Best Regards,
Jason
Message was edited by: Jason WangHi,
I'm not sure if this is what you are looking for but
check the link "Using Resource Adapter to Obtain Connection" on this site:
http://help.sap.com/saphelp_nw04/helpdata/de/89/b262427a65423f87706a0e3faea00d/frameset.htm
Hope it helps,
Christian -
Hi,
I am trying to get the SOAP Adapter in the PCK running, but always get an error while sending a SOAP message to the adapter. I configured the send adapter as described under help.sap.com and when I try to check the availability of the channel by accessing the url
http://localhost:50000/XISOAPAdapter/MessageServlet?channel=PartyA:SOAPService:soapchannel.
I always get the following Error:
Message Servlet is in Status ERROR
Status information:
Servlet com.sap.aii.af.mp.soap.web.MessageServlet (Version $Id: //tc/aii/30_VAL_REL/src/_adapters/_soap/java/com/sap/aii/af/mp/soap/web/MessageServlet.java#5 $) bound to /MessageServlet
Classname ModuleProcessor: null
Lookupname for localModuleProcessorLookupName: localejbs/ModuleProcessorBean
Lookupname for remoteModuleProcessorLookupName: null
ModuleProcessorClass not instantiated
ModuleProcessorLocal not instantiated
ModuleProcessorRemote not instantiated
The file adapter is working without any problems.
Can anyone tell me what I am doing wrong?
Regards,
UlfHello Hans Christian,
thank you for your reply. The Helper Servlet returns the following:
<?xml version="1.0" ?>
- <s:ChannelInfo xmlns:s="http://sap.com/xi/WebService/xi30">
<channelID>748d6d504759d17c711b6540538844c3</channelID>
<name>soapchannel</name>
<type xmlns:st="http://sap.com/xi/XI/System">st:SOAP</type>
<direction>INBOUND</direction>
<party>PartyA</party>
<service>SOAPService</service>
</s:ChannelInfo>
I think my problem might have something to do with jndi, because it seems, that the ModuleProcessorBean can not be found (The message servlet returns "ModuleProcessorLocal not instantiated" and when I look in the server log files there is also a NameNotFoundException during the lookup of ModuleProcessorBean.) Could this have something to do with my problem?
I am now trying to update the WebAS and PCK to the latest support package and hope, that this helps somehow.
Thanks in advance for any further help.
Regards,
Ulf -
Hi Experts,
I have this proposed scenario:
RFC -> PCK -> PI -> HTTP server
To do so, I trying to configure the PCK to receive the RFC sender message and forward it to de PI.
I created in PCK a Party with empty name and two services, one for the ECC sender (RFC) with it's name and other with empty name for the PI receiver.
The communication channels and its agreements were configurated to only forward the received message to PI. I don't find any errors on them.
When I run the RFC, I am receiving this error:
Error in processing caused by: com.sap.aii.af.mp.module.ModuleException: call to messaging system failed: com.sap.aii.af.ra.ms.api.DeliveryException: XIAdapterFramework:GENERAL: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=DE1;TS=;AN=ZTI_RFC_PI;ANS=urn:sap-com:document:sap:rfc:functions; caused by: com.sap.aii.af.ra.ms.api.DeliveryException: XIAdapterFramework:GENERAL: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=DE1;TS=;AN=ZTI_RFC_PI;ANS=urn:sap-com:document:sap:rfc:functions;
Do you have any ideia about what can be wrong? Wich component should I check?
I can simple forward the RFC message to the PI or I should map it to another format? If I have to map, how can I import it's definitions to PCK?
Thanks anyway,Hi Stefan,
The agreements already had the receiver information.
Anyway, the party and the service were recreated with diferent names. After that, the sender and receiver agreements were also recreated. But, another error began to occur:
Error in processing caused by: com.sap.aii.af.rfc.afcommunication.RfcAFWException: senderAgreement not found:
lookup of binding via CPA-cache failed for AdapterType RFC, AdapterNS http://sap.com/xi/XI/System, direction INBOUND,
fromParty '', fromService 'DE1', toParty '', toService '', interface 'ZTI_RFC_PI', NS 'urn:sap-com:document:sap:rfc:functions'
for channel 'CC_Sender_RFC_ECC' (channelId 5aa283a1c598bb6be787eeb6460772f8)
I think that's related to the RFC message header, that contains the receiver service and party empty, as seen in the error message (toParty '', toService '').
But if I create a party and service with empty names the previous error occurs again.
Any ideia about how to deal with RFC sender in PCK? -
MAIL ADAPTER TCPGW CONFIGURATION
Hi all
I am new to the SDN forum and hence excuse me if this post shouldnt be here. Now i have been trying to configure the mail adapter to work properly with the TCPGW
But i have been having a lot of errors. I am very new to this and just on the starting of the learning curve.
The errors which i get are
1) Connection refused
2) java.nullPointerException
Now in the pck the url in the Sender Mail Channel is
imap://localhost:50143/ss (ss is a folder in the outlook).
Now in the pck the url in the receiver Mail Channel is
imap://localhost:50144/ss1 (ss1 is another folder in outlook).
Now in the tcp gateway could anyone tell me what should be the listner and the target port?
I configured it as target port 143 listner port 50143 is this right?
Thanks
Regards
HarshaHi,
Try for SAP Note: 856597.
You can find a tool called TCPGateway in the attachment section of this note (stored in tcpgw.zip). Please unpack this zip file and open index.htm for more configuration and error analysis details.
Regards,
Boopathi -
Problem with PCK 7.1 SP07 JCA Sample Adapter
Hello!
I have a Problem with the JCA Sample Adapter in the PCK 7.1 SP07. I will test the Configuration ( http://help.sap.com/saphelp_nwpi71/helpdata/en/f7/0c2441509fa831e10000000a1550b0/content.htm ) .
But the receiver channel has a Massage processing failure: u201CMessage processing failed. Cause: java.lang.Exception: JNDI name of the ra connectionFactory is not configured. Go to the directory and create a value with name 'JNDIName' and value 'deployedAdapters/<ra name>/shareable/<ra name>' as module configuration data of the module 'ModuleProcessorExitBean'u201D
In the JNDI-Browser of Netwaver Administration canu2019t found JNDIName from directory ('deployedAdapters/sample_ra/shareable/sample_ra). I have located the name deployedAdapters/com.sap.aii.adapter.sample.ra/shareable/com.sap.aii.adapter.sample.ra and change this in the receiver channel u201CTo_Au201D. But I have the same problem.
I hope you can help me!
Thanks & Regards
StefanHello!
Yes I followed the Instruction.
I have deployed the Sample Source as AdapterJCA, change the JNDI name in the SampleRa.xml and upload to CPA Cache.
I have by now the Configuration deleted in PCK and rebuild the scenario. The demo Configuration runs now. I think the Configuration in the CPA Cache was wrong.
Stefan -
Hi all,
I have configured sender file adapter in pck. When i checked communication channel monitoring am getting this error.
"<b>Error: com.sap.aii.af.ra.ms.api.ConfigException: Failed to read channel configuration. Reason: Value with name NumberRetries not available</b>"
How to solve this error.
Thanks & Regards,
SakthiHI,
Are you using File content conversion,,
Then check the below..
Retry Interval (secs) : Specify the number of seconds that the adapter is to wait before a file processed with errors is processed again.
If the value is set to null, then the adapter is canceled if an error occurs, even if a value greater than null is specified for Poll Interval (secs).
ELSE
the key field settings for your CONTROL line is necessary since there is no "excluding" logic for reading the different lines (e.g. all lines with DUMMYKEY <> E2BPBULOCM03 are SEGMENT lines.). The file adapter looks for lines identified by a specific key and then converts these lines to xml fragments.
In your case you should look for a field that identifies your CONTROL lines and use this field as key field
Regards
Chilla
Maybe you are looking for
-
Creating a DWMQY DIMENSION using Analytic Workspace Manager
Hi everyone, I need some help creating a "time aware" (DAY, WEEK, MONTH, QUARTER, and YEAR) dimension using Analytic Workspace Manager. Let me give you some background. I'm coming from a traditional "Oracle Express" OLAP background where all our data
-
Hi, While executing the transaction RERAALCN, iam getting the below errors. REC 1000/100000 Accrual subobject IS10000000000100000/4A0F780854BC61D1E10000000A641237 not found Accrual object 00000000000000000000000000000000 is does not exist in company
-
CL_ABAP_TYPEDESCR
If I create a user defined type with reference to a DDIC object I can obtain the list of fields in the user defined type and the obsolute name which contains the user defined type by calling method describe_by_data of class cl_abap_structdescr at run
-
Bbm messenger not showing on bridged playbook
hi everyone im a newbie when it comes to blackberry, but my problem is when i bridge my playbook with my curve, the bbm messenger icon does not appear on the playbook,any ideas on how i can fix it? Solved! Go to Solution.
-
Installed SL and now Logic 8 will not launch
Crap! I knew I was going to have problems with protools but I do not use it much anymore. Installed SL and now Logic 8 will not launch. It get's to core audio and crashes. Please help! Here is the report Process: Logic Pro [1402] Path: /Applications/