CIDX & CXML
We are sending our PO's to ARIBA.
Now we want to use XI to do the job of transmitting our PO's from our R/3 systems to ARIBA supplier network. (IDOC ---> XI ---> Ariba)
I have been asked to use the CIDX - CXML data structure. But I am confused here. Whether in CIDX standard they have CXML? (I visited http://www.cidx.org, but I didnt see a cXML here),
but I see a cXML in (CXML.org).
I am bit confused. Could some one relieve out of this clutch. Thanks.
Just go thru -
https://websmp205.sap-ag.de/instguides->Industry Solutions->Industry Solutions Master Guide->SAP for Chemicals.
Also check -
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/627d1cbc-0601-0010-aea2-c275521673f2
Thanks,
Moorthy
Similar Messages
-
Issues with XI 3.0 CIDX Adapter
Hi folks,
We are doing an XI pilot project to replace our current SAP BC B2B environment which is using CIDX and RNIF 1.1 to exchange B2B information ( we build our own custom RNIF adapter on top of SAP BC ).
We have succesfully sent a message from XI towards our SAP BC ( temporarely used as our surrogate trade partners) using the CIDX adapter ( RNIF was okay and service-content extracted fine ).
The other way is giving us problems ... When we sent a CIDX RNIF message from SAP BC towards XI then we get the following nice dump message:
com.sap.aii.af.ra.ms.impl.core.transport.http.MessagingServlet#sap.com/com.sap.aii.af.ms.app#com.sap.aii.af.ra.ms.impl.core.transport.http.MessagingServlet.doPost(HttpServletRequest, HttpServletResponse)#SDESAEGE#690##BEEVAXIT_XIT_9961950#Guest#108fc370f2e511d9a790001143e3179b#SAPEngine_Application_Thread[impl:3]_13##0#0#Warning##Java###Catching #1#java.lang.NullPointerException at com.sap.aii.af.sdk.cidx.impl.choreography.typing.CIDXTypeResolver$CIDXTypeDetector.findTypeFromMsgDetails(CIDXTypeResolver.java:170) at com.sap.aii.af.sdk.cidx.impl.choreography.typing.CIDXTypeResolver.ResolveType(CIDXTypeResolver.java:94) at ....
The strange thing here is that first I got an error because the from partner DUNS number was not recognised within the integration directory - this was correct as the partner did not exist yet.
After fixing that I got the mentioned error.
BUT if I put in a wrong DUNS number again then I still get the same error and not the previous one ...
We thought it was a cache problem so we cleared caches, restarted the J2EE instance but nothing helped ...
Anyone any ideas ?
Thanks,
StevenHi folks,
We are doing an XI pilot project to replace our current SAP BC B2B environment which is using CIDX and RNIF 1.1 to exchange B2B information ( we build our own custom RNIF adapter on top of SAP BC ).
We have succesfully sent a message from XI towards our SAP BC ( temporarely used as our surrogate trade partners) using the CIDX adapter ( RNIF was okay and service-content extracted fine ).
The other way is giving us problems ... When we sent a CIDX RNIF message from SAP BC towards XI then we get the following nice dump message:
com.sap.aii.af.ra.ms.impl.core.transport.http.MessagingServlet#sap.com/com.sap.aii.af.ms.app#com.sap.aii.af.ra.ms.impl.core.transport.http.MessagingServlet.doPost(HttpServletRequest, HttpServletResponse)#SDESAEGE#690##BEEVAXIT_XIT_9961950#Guest#108fc370f2e511d9a790001143e3179b#SAPEngine_Application_Thread[impl:3]_13##0#0#Warning##Java###Catching #1#java.lang.NullPointerException at com.sap.aii.af.sdk.cidx.impl.choreography.typing.CIDXTypeResolver$CIDXTypeDetector.findTypeFromMsgDetails(CIDXTypeResolver.java:170) at com.sap.aii.af.sdk.cidx.impl.choreography.typing.CIDXTypeResolver.ResolveType(CIDXTypeResolver.java:94) at ....
The strange thing here is that first I got an error because the from partner DUNS number was not recognised within the integration directory - this was correct as the partner did not exist yet.
After fixing that I got the mentioned error.
BUT if I put in a wrong DUNS number again then I still get the same error and not the previous one ...
We thought it was a cache problem so we cleared caches, restarted the J2EE instance but nothing helped ...
Anyone any ideas ?
Thanks,
Steven -
Xslt mapping cidx message is Load Tender Motor
Hi
I am working on XSLT Mapping from the below link SAP Technical
Import corresponding XSD structure under External Definitions in IR. Here the corresponding CIDX message is Load Tender Motor.
In the above line what is CIDX, I have little bit knowledge about that, I read that in Adapters topic CIDX, PIDX this are some industry standard adapters. but how to import that Load Tender Motor in to my Scenario.
So can any body please go through that link and provide some usefull information.
Thanks
G V AnilHi
CIDX is adapter.use this thread for detail
About CIDX
CIDX scenario
XI CIDX -
Add and Remove DOCTYPE from cXML
Hi,
I'm currently using Message mapping from cXML to idoc and vice versa. I need a remove the DOCTYPE declaration on the inbound cXML and add DOCTYPE for outbound. I understand, it is possible to have a JAVA mapping or XSLT to resolve this problem, since i'm not expert in Java. Can someone send me a Java code which could help me resolve this issue. Any ideas or help is greatly appreciated.
Thanks!.Hi Ganesh,
i think most easy would be ABAP:
Do not parse the message, just call a fm to convert to string:
DATA:
* xml message
l_message TYPE string.
*create a string to search (and replace) in it
CALL FUNCTION 'ECATT_CONV_XSTRING_TO_STRING'
EXPORTING
im_xstring = source
im_encoding = 'UTF-8'
IMPORTING
ex_string = l_message.
Then use the right string operation for example REPLACE:
REPLACE FIRST OCCURRENCES OF
'<!DOCTYPE...'
IN
l_message
WITH
Finally switch back to XString:
* create a XString: Ready, no use of DOM!
CALL FUNCTION 'ECATT_CONV_STRING_TO_XSTRING'
EXPORTING
im_string = l_message
im_encoding = 'UTF-8'
IMPORTING
ex_xstring = result.
Regards,
Udo -
Hi Frnds,
I want to develop scenario between CIDXXIIDOC..
if any one having documentation about CIDX
any scenario withs screene shots share to me...
share any useful links,
what are challenges i wil face while developing CIDX adapter scenario
anyone help me out.. its very urgeNT......
Regards,
RAJHi,
CIDX Adapter is Chemical Industry standard for data exchange in B2B scenarios. It uses XML formatted in different manner specific to Chemical industry.
In order to use this, you need to purchase the license.
There are xml schemas provided by CIDX for each transaction like Order Create, Order change, shipping instruction etc..
You need to download the once which are required in your scenario and use the same.
For overview of CIDX in general you can visit http://www.cidx.org
This might give u an business scenario -http://www.rexsoft.com/sci/Rex_CPI_XI_Configuration_Testing_Business_Package.pdf
Hope this helps too...
http://help.sap.com/saphelp_nw04/helpdata/en/23/cb22419e2ab167e10000000a155106/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/f4/622c41eda5f423e10000000a155106/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/d5/351941fcdbf56fe10000000a1550b0/frameset.htm
Check this basic guide too..
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/915dc712-0b01-0010-a99a-fb2fdfa5ddc2
Check these forum replies too..
CIDX and R/3
Please reward points.
Thanks,
Vijaya.
Edited by: Vijaya Lakshmi Palla on Jun 5, 2008 8:37 AM
Edited by: Vijaya Lakshmi Palla on Jun 5, 2008 8:42 AM -
Response message from CIDX Adapter to IDOC Adapter
Hi Experts,
I have created scenario for "SAP IDOC - PI - CIDX" (OrderCreate_Request)
and also need to create respose message for "CIDX - PI - SAP IDOC(OrderCreate_Response)
Integration Repoistery
"SAP IDOC - PI - CIDX"
1,Imported idoc metadata from sender sap r3 .
2,Created External Definition and imported OrderCreateV202.xsd from receiver party.
3, Done message mapping
4, Done Interface Mapping
Integration Directory
Under PO_Create(Scenario Name)
1,Assigned Business System for Sender SAP R3
2, Configured Party For receiver Sytem (CIDX)
3, No need Communication Channel for Sender IDOC
4, Configured Communication Channel for receiver(CIDX Adapter)
5, No need ender Aggrement for Sender
6, Configured Receiver Determination
7, Configured Interface Determination
8, Configured Receiver Aggrement.
My Questions are
1,do i need to create new namespace for response msg
2,This scenario,sender is 3rd part(cidx) and receiver is sap r3
3,Do i need to create again all steps in Integration Repoiestry.
4,Can you send me Wat are all the steps involved in integration directory.
(ex.ineed to config comm. channel for both)
Can anybody help me out?
ThanksSender QoS is BE,
File adapter does not support sync communication. Therefore the scenario won't work as it is.
What are you planning to do with the response? If you want to process is further, then:
1. One way without BPM would be use of adapter module.
File - RFC - File without a BPM - Possible from SP 19.
2. Or you may use BPM with Async Sync bridge
/people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
Regards,
Prateek -
I have a message mapping scenario. I am trying to test something and for this I have the following Getpending Response as source and Target in message mapping.
When I try to test this in the Repository I am getting some error(listed below)
Note : I imported the below cXML into my respository in the external definition as an XSD(I used Altova XML spy to convert the XML into an XSD)
In the occurence I have given both source and target as 1.
Your assistance is greatly appreciated. Thanks lot.
Getpending Response cXML
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE cXML SYSTEM "http://xml.cxml.org/schemas/cXML/1.2.014/cXML.dtd">
<cXML timestamp="2005-01-12T16:00:18-08:00" payloadID="[email protected]">
<Response>
<Status code="200" text="OK"/>
<GetPendingResponse>
<cXML timestamp="2005-01-12T16:00:18-08:00"
payloadID="[email protected]">
<Header>
<From>
<Credential domain="NetworkId">
<Identity>AN01000000001</Identity>
</Credential>
</From>
<To>
<Credential domain="NetworkId">
<Identity>AN13000000259</Identity>
</Credential>
</To>
<Sender>
<Credential domain="NetworkId">
<Identity>AN01000000001</Identity>
</Credential>
<UserAgent>ANCXMLDispatcher</UserAgent>
</Sender>
</Header>
<Message>
<DataAvailableMessage>
<InternalID domain="PendingMessages">3738</InternalID>
</DataAvailableMessage>
</Message>
</cXML>
</GetPendingResponse>
</Response>
</cXML>
I am getting the following error
Start of test
Compilation of GetPendingResponse_DataREquest_MM successful
Document start
Failed to load resource from the context classloader of the current thread! Loading from classloader was caused by: java.net.ConnectException: Connection timed out (errno:238) com.sap.aii.utilxi.misc.api.BaseRuntimeException: Failed to load resource from the context classloader of the current thread! Loading from classloader was caused by: java.net.ConnectException: Connection timed out (errno:238) at com.sap.aii.mappingtool.tf3.rt.xparser.MTSaxHandler.run(MTSaxHandler.java:130) at com.sap.aii.mappingtool.tf3.rt.xparser.XParser.run(XParser.java:68) Root Cause: java.io.IOException: Failed to load resource from the context classloader of the current thread! Loading from classloader was caused by: java.net.ConnectException: Connection timed out (errno:238) at com.sap.engine.lib.xml.parser.URLLoaderBase.resolveEntity(URLLoaderBase.java:148) at com.sap.engine.lib.xml.parser.XMLParser.scanDTD(XMLParser.java:1212) at com.sap.engine.lib.xml.parser.XMLParser.scanProlog(XMLParser.java:2678) at com.sap.engine.lib.xml.parser.XMLParser.scanDocument(XMLParser.java:2713) at com.sap.engine.lib.xml.parser.XMLParser.parse0(XMLParser.java:162) at com.sap.engine.lib.xml.parser.AbstractXMLParser.parseAndCatchException(AbstractXMLParser.java:132) at com.sap.engine.lib.xml.parser.AbstractXMLParser.parse(AbstractXMLParser.java:142) at com.sap.engine.lib.xml.parser.AbstractXMLParser.parse(AbstractXMLParser.java:245) at com.sap.engine.lib.xml.parser.Parser.parseWithoutSchemaValidationProcessing(Parser.java:276) at com.sap.engine.lib.xml.parser.Parser.parse(Parser.java:338) at com.sap.engine.lib.xml.parser.SAXParser.parse(SAXParser.java:125) at javax.xml.parsers.SAXParser.parse(SAXParser.java:345) at com.sap.aii.mappingtool.tf3.rt.xparser.MTSaxHandler.run(MTSaxHandler.java:128) at com.sap.aii.mappingtool.tf3.rt.xparser.XParser.run(XParser.java:68) Failed to load resource from the context classloader of the current thread! Loading from classloader was caused by: java.net.ConnectException: Connection timed out (errno:238)
End of testHi Jenni,
This might help
Message Mapping - same structure
/people/shabarish.vijayakumar/blog/2006/04/03/xi-in-the-role-of-a-ftp
http://www.cxml.org/files/downloads.cfm
Thanks & Regards
Agasthuri Doss
Message was edited by: Agasthuri Doss Baladandapani -
XSLT/JAVA Mapping for cXML DOCTYPE
Hello -
Was anyone successful in adding the header
<!DOCTYPE cXML SYSTEM "http://xml.cXML.org/schemas/cXML/1.2.014/cXML.dtd">
after the
<?xml version="1.0" encoding="UTF-8"?> when converting
using either XSL or JAVA?
If there's way let me know what kind of mapping was used and how?
Thanks,
TirumalHi Tirumal,
you can solve that with xsl:output
one example:
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format">
<xsl:output method="xml" doctype-system="http://xml.cXML.org/schemas/cXML/1.2.014/cXML.dtd"/>
<xsl:template match="/">
<xsl:copy-of select="*"/>
</xsl:template>
</xsl:stylesheet>
Regards,
Udo -
Inbound Receipt Acknowledgements fail for CIDX messages
Hi,
We are sending a Load Tender Message (CIDX Message) to our Partner using CIDX receiver adapter with certificate logon and Signing option. For the configuration, our partner is able to receive the messages successfully and sending us the Receipt Acknowledgement.
Receipt Acknowledgement is received in our system but it is failing when it is validating the Signal message.
Find below the error prompted in Message Monitoring System:
1. Attempt to validate RNIF signal message failed. Message will be ignored -
null
2. Error during message processing -
BTD handler indicated processing error
3. Delivery of the message to the application using connection CIDXAdapter failed, due to: Error during message processing.
Please provide me the resolution to solve the issue.
Thanks & Regards,
Suraj KumarHi Suraj,
We are facing with similar error, can you please help me out. Thank you.
Please let us know how you have solved the issue. Appreciate your help in this regard.
Thanks,
Sudheer -
Dear All,
I just managed my configuration of PI for B2B (IDOC - CIDX).
I am using "Business System without party for SAP ERP IDOC" and "Communication component with Party for CIDX Adapter".
I managed to send the idoc to SAP PI. I can see the message is successful. I can't find it in CIDX computer.
I would like to know from the monitoring. Where can we see that SAP PI has tried to use the https to the third party?
Cause in the communication channel, I have put the url : https://<host_thirdparty>:<port>//internal/gateway.b2b.xml/receiveChemXML
Thanks & Regards,
L.MochisukiHi Suraj,
Thanks. I have seen the message monitoring .
There are information and error in communication channel:
1. The message was successfully received by the messaging system. Protocol: XI URL: http://xidolphin:50000/MessagingSystem/receive/AFW/XI Credential (User): PIISUSER
2. Using connection CIDX_http://sap.com/xi/XI/System. Trying to put the message into the receive queue.
3. Message successfully put into the queue.
4. The message was successfully retrieved from the receive queue.
5. The message status was set to DLNG.
6. Delivering to channel: CIDX_SELLER_CC
7. Unable to determine XI party '. ' party not configured for party schema DUNS, party agency 016
8. Error occurred in CPA Facade processing. -
Could not find party configuration for Party\=;PartySchema\=DUNS;PartyAgency\=016. -
Party found to be null or empty : Could not find party configuration for Party\=;PartySchema\=DUNS;PartyAgency\=016.
9. Adapter Framework caught exception: null
10. Delivering the message to the application using connection CIDX_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.lang.NullPointerException.
Do you have any clues on these? Is it because of my mapping?
Thanks & Regards,
L.Mochisuki -
Hello,
I need for a project to create xml CIDX based on Invoice Idoc.
We are not using PI.
Could you help ?
Regards
JCYou can use the IF-IXML interface.
Search SCN or check: https://scn.sap.com/thread/822393 -
IDoc to cXML using built-in SAP XSLT Processor
Hi ABAP experts,
i have a requirement to send an IDoc to an external system, the external system expecting it to be in cXML standard - without using XI/PI
has someone of you done this before?
I was looking at the option to utilize the built-in SAP XSLT processor (CALL TRANSFORMATION) since it supports XML to XML and ABAP to XML transformations
so the flow would either be
IDoc --> XSLT --> cXML (preferred)
IDoc --> XML (using XML port) --> XSLT --> cXML
is this possible?
Also, can the cXML be sent using the XML HTTP port in we21?
Your tips suggestions would be highly appreciatedHello
Have you had a look at class CL_IDOC_XML1? This class does the transformation IDoc -> XML for you.
The next step would be to create the required XSLT transformation for the mapping IDoc-XML -> cXML.
Regards
Uwe -
How do I consume attachments in cXML?
This one is new to me. We have a third party wanting to send cXML with attachments. We are trying to figure out whats the best way for them to send the attachment to us and then how we can process them via PeopleCode.
Does anyone have any experience with cXML, attachments and getting them into PeopleSoft? They said they could send them via a URL. Could we just get the URL, download it, and then put in the DB via PeopleCode?
Thanks.Often, pictures or simple documents (eg, one-page PDFs) will appear directly within the message itself. You can also use the Quick Look button next to the attachments line (in the message header) to view and scroll through the files (provided they're viewable, and aren't compressed or binary files).
You can also click Save next to Quick Look to save the files to your Downloads folder.
Matt -
BPM patterns for using CIDX adapter
Hi,
I am trying to implement the below requirement and am having problems doing that. Any help or pointers would be appreciated.
Requirement:
We need to send an order create message from file system A to
Elemica(using CIDX adapter) asynchronously and capture the RA back and
convert it into a message and send it to a file system B.
I tried the below scenarios already and could not maker it work:
<b>Scenario 1</b>: I tried creating a scenario using Sync- Async bridge, but
it did not work as I need to send some response back to the File system
A. In this case I do not have any response to send.
I created an external definition for RA and used it for mapping to the
File system B interface.
CIDX adapter is not accepting any messages if we try to send
synchronously.
<b>Scenario 2</b>: I could not make my scenario work if I am trying to create
in my SWCV. So, I created all my abstract
interfaces for my business process in the CIDX SWCV. Now I created
Async Sync scenario by sending a synchronous order create request to
Elemica. It did not work as CIDX adapter does not support any
synchronous messages( guessing).
Apart from the above questions, I have few additional questions:
1. Can we send synchronous messages to Elemica through CIDX
adapter? If so, how do we configure our communication channel as
only Asynchronous option is available.
2. If we have File-Elemica-File scenario, how do we configure the
scenario?
3. Are there any blogs having scenarios with BPM involving CIDX
adapter? If so, pls send a link.
Thanks in Advance,
GPHi
Try this
check the following link for information on configuring CIDX Adapter http://help.sap.com/saphelp_nw04/helpdata/en/29/cb22419e2ab167e10000000a155106/plain.htm
And on specifically on Single-Action responder directly on http://help.sap.com/saphelp_nw04/helpdata/en/0a/cb23412546ef6fe10000000a1550b0/content.htm
Thanks -
CIDX Standard Message Map to IDoc -- 2
Hi Michal and Shabarish,
Thanks for providing the required information. I am stuck up with a issue which is explained below.
Sample xml downloaded from http://www.cidx.org/ is different from the required message.
Sample ShipNotice xml downloaded is as follows....
<?xml version="1.0" encoding="UTF-8" ?>
- <ShipNotice>
- <Header>
- <ThisDocumentIdentifier>
<DocumentIdentifier>12345678</DocumentIdentifier>
</ThisDocumentIdentifier>
- <ThisDocumentDateTime>
<DateTime DateTimeQualifier="On">2002-04-01T20:55:13Z</DateTime>
</ThisDocumentDateTime> ......
But what is required as per the business scenario is as follows
<?xml version="1.0" encoding="UTF-8"?>
<PlannedShipment>
<PlannedShipmentIdentifier>191919</PlannedShipmentIdentifier>
<ShipDirection>Outbound</ShipDirection>
<FreightTerms>Pre-Paid</FreightTerms>
<CarrierSCAC>SEFL</CarrierSCAC>
<FreightForwarder/>
<EquipmentType>ODY CODE HERE</EquipmentType>
<EquipmentNumber>TRL2096</EquipmentNumber>
<CarrierTrackingNumber>100283534</CarrierTrackingNumber>
<LoadList>
<Load>
<PlannedLoadIdentifier>125656</PlannedLoadIdentifier>
<TransportationOrderIdentifier>1230987</TransportationOrderIdentifier>
<Schedule>
<ScheduledPickupDate timezone="EST">2004-03-19T15:35:00</ScheduledPickupDate>
<RequestedDeliveryDate timezone="EST">2004-03-22T15:35:00</RequestedDeliveryDate>
<ScheduledDeliveryDate timezone="EST">2004-03-22T15:35:00</ScheduledDeliveryDate>
</Schedule> ..........
In this case, How should I proceed?
Kindly help me out.
Thanks & Regards,
Suraj KumarHi,
I have gone through different sites to find the suitable CIDX standard message. I understood that there are message standards supported from order to invoice. They are all in sync with either seller or buyer. But my scenario is entirely different. In between order to invoice there is one step where logistics is involved, where in we need to send the transportation order. Logistics will place the tenders to different freight agencies and carry out the business.
So, here in my scenario I need to send SHPMNT05 IDoc(Outbound shipment) to logistics using cidx standards. So, it is not Ship Notice (Buyer or Seller) and it should be different message dealing with logistics or freight agent.
I have two questions here:
1. Find suitable CIDX message for SHPMNT05.
2. If I do not find the suitable one, then 'How should I proceed?'.
XI Experts, kindly help me out.
Thanks & Regards,
Suraj Kumar
Maybe you are looking for
-
Problems with SMTP port forwarding on ASA 5505
Cannot telnet to port 25 to test for SMTP traffic. Packet trace indicates that the packet is dropped by the implicit rule, but I have tried an access rule specifically for SMTP, and the trace appears to skip the rule and drop the packet when it hits
-
I recently download a .dmg of a program and tried to install it, but the installer got stuck, so I had to cancel it. When it still wouldn't quit, I had to force quit it. Now, I try to eject the .dmg and get an "in use and cannot be ejected" error, no
-
Problem during Instance startup
Hi, Using 10gR2. I have done some ip adress changes and then confingure database with database config assis. It was not successfull. Now Today my database instance is not geting started. It shows following error : SQL> startup nomount ORA-01078: fail
-
Database Benchmarking: How to start
Dear Experts, How to start bechmark database performence ? Regards Sunil Kumar
-
Upgrade to 8.1 and oracle driver issues
IDM 8.1 states it cannot use the ojdbc14.jar file assigned to Oracle 10g because it cannot read all columns off of the 10g database. So it was suggested to use ojdbc5.jar. Well from what I understand ojdbc5.jar is assigned to Oracle 11g but can be us