Business Connector Example
Hi all !!
Can yoy provide me with sam examles, how to use BC ??
(i have connected it to MSSQL and now i need to upload some data from it to sap using ABAP program). What should be done to achive that ??
BR, Jacek
Refer these links:
Business connector
SAP Business Connector
Regarding Business Connector Exercises
Regards,
Ravi
Similar Messages
-
Flat File Transfer from SAP R/3 4.7 to SAP Business Connector 4.8
Hi Experts,
I have a requirement of transferring a flat file from my R/3 SAP 4.7 Box Application Server to the Business Connector 4.8 Box. I am new to SAP Business Connector and I am not to sure whether FTP works if I use a shell script in SAP R/3. Also, is there any way Business Connector Box can pull the file from R/3 Application Server and store the file in the Business Connector Server.
Any help will be appreciated!!!
Regards,
SubhhrangsuHi,
There are many ways thru which you can pass document to SAP BC:
You can HTTP, FTP, Email document to SAP BC.
SAP BC has predefined services for all of them.
For FTP document to SAP BC:
1 Initiate an FTP session on SAP BC Serveru2019s FTP listening port ( this can be found out from SAP BC administrator or from SAP BC homepage).
2 Point to the directory that contains the service to which you want to pass the XML
document.
Example cd \ns\Purchasing\SubmitOrder
3 Copy the XML document to this directory using the following command:
put XMLDoc.xml
Where XMLDoc.xml is the name of the file that you want to pass to SAP BC Server.
Example put PurchaseOrder.xml
Above code can be written in a batch file and you can schedule it to run at interval of minutes.
You can write java client program as well to upload file and map it to String variable of Flow service of SAP BC.
As Micheal said, you can look at sapbc/Developer/doc folder to look for more options.
Best Regards,
Divyesh -
Error message when calling a Business Connector RFC destination from SRM
Hello all,
We are facing one problem with data Purchase Order transmission between SRM 5.0 (SRM_SERVER 5.5, extended classic scenario) and Business Connector 4.7.
We made needed customizing in order to have "XML / XI" output medium available in tab 'Company Data' in "Manage Business Partners" web transaction (by updating BBP_USE_AI table in SM30 transaction).
Then, we implemented BAdI definition BBP_EBPXML_OUT_BADI with method PURCHASEORDER in order to change XI system type to Business Connector.
In this way, PO transfer data between SRM and BC is done using BC Module Function BAPI_POEC_XML_SEND (TCP/IP RFC connection was defined for Purchase Order in BBPC_RFCDEST table).
Nevertheless, even if method BBP_PO_SEND_XML is correctly triggered when PO is created with a vendor with XML output medium, we have in the document output log ("Process Purchase Order" web transaction) an error message:
' Error (Unknown Partner and Message Type. Routing Rule created. Sender: SMR Receiver:) when calling RFC destination BC '
where SRM is the SRM log. sys. and BC the Business Connector log. sys.
Our EAI team is working on it, but if you have any idea, your are welcome !
Thank you in advance.
Regards.
LaurentHello Christian,
Thank you for your help. However, we abandoned this solution between SRM and Business Connector.
So, we followed instructions indicated in OSS note 883693 - "ECS: PO output determination in R/3".
Nevertheless, in order to restrict this behaviour for specific vendors and purchasing organizations, we added some filters.
It is working fine.
However, when the PO is modified in SRM, then order again, PO is modified in R/3 (by the RFC user from SRM) more than once.
As a consequence, we have as much messages as modifications of the order in R/3 (due to multiple RFC access with the SRM RFC user).
Does anybody have an idea to have only one R/3 output message when the PO is modified in SRM ?
One solution could be to check in the NAST table if the time creation of the last output message is lower than, for example, one minute.
If it is the case, we do not allow R/3 ouput message.
Any suggestions is welcome.
Regards.
Laurent. -
How to encode XML to Idoc and decode Idoc to XML in business connector?
Hi all,
first of all: thanks for all, who are reading and perhaps responding this question!
Here some facts and my question(s):
The facts:
- I have the business connector version 4.6!
- I'm not working with any SAP Netviewer!
- I have XML files on an FTP-server and Idoc-files on an FTP-server --> so no connection between SAP and business connector, meaning: the files are just on the ftp-server!
What am i doing and what is working properly:
- Business connector logs in into the FTP-server (with FTP-service: pub.client.ftp:login)
- gets the file (with FTP-service: pub.client.ftp:get) (the idoc-file, when i want to convert it into XML or the XML-file, when i want to convert it into idoc-format)
- puts the file into another place in the server (with service wm.PartnerMgr.gateway.transport.FTPTransport:OutboundProcess)
!!!So far only getting and putting of the file works!!!
What is missing between getting the file in one format - for example idoc-format - and putting the file into the server in the other format - for example XML-format is:
CONVERSION FROM XML INTO IDOC AND VICE VERSA
My question:
- which services i have to use between getting and putting the files?
Thanks to all,
TamerHi,
I have the same problem. I do fix it?
Thanks
Wilson Xavier
Brazil -
Hello Gurus,
I am normaly working with XI and not the business connector. But now I need to find some public functions which are declared in the Business Connector as transformers, but I do not know how. I just want to test the functions to see what happenes. To give you an example I want to test a public function pub.string:PadRight. Hope someone can help me out.Found it out myself
-
Business Connector 4.7 SSL configuration
HI,
I am configuring SSL in Business Connector 4.7 (to use HTTPS using digital certificates).
I am following the admin guide.
I finished the first step - Configuring the Server to Use SSL.
The next step is to import the client certificate and map it with a user.
My query is that , how can i get a client certificate.
Could anyone please suggest me.
Also, does any one has step by step configuration of SAP BC for SSL.
Regards,
KunaHi,
You should be getting the certificates from the client (where you got the URL from), for example if you are trying to connect your BC to SAP using SSL, you should get the certificates from SAP and install them in BC for communication.
thanks...
Karna.... -
Business connector server on Virtual Server
Hi,
Currently our 4.6 release Business Connector servers running on Windows NT Operating system. We would like to upgrade them to BC release 4.7 on Windows 2000 operating system on Virtual servers.
Are there any known issues/disadvantages if we install Business connector servers on Virtual Server rather than a Physical server?
These virtual servers will be in the same domain as that of SAP systems. Host names of the upgraded Virtual servers will be same as the current production BC hosts.
Thanks,
SriniTechnical Data
These functions are:
Changed, new, deleted
For Release
Software Component
· Component: SAP Business Connector (external)
· Release: 4.7
Assignment to Application Component
BC-MID-BUS (SAP Business Connector)
Country Setting
Valid for all countries
Use
The following information provides you with an overview of the new features in SAP BC Release 4.7: It also tells you about incompatible changes that you need to know about before performing an upgrade.
SAP BC 4.7 is based on Integration Server 4.6 from webMethods. However, the SAP BC elements in Integration Server 4.6 have been redeveloped (see below for details).
Features
Additional Functions in SAP BC Developer
As well as SAP BC Administrator GUI, you can now use SAP BC Developer to perform typical development tasks. You do not need administrator authorizations in SAP BC Developer to do this. For example, with SAP BC 4.7 you can use SAP Lookup to generate elements for the Developer. This enables you to gather information about function modules, structures (tables), BAPIs and IDocs in an SAP system, and then generate outbound maps or records for these objects directly.
SAP BC Developer contains a new menu, SAP, which contains the following functions:
· Look up a function module and generate an outbound map
· Look up a structure definition and generate a record.
· Lookup a business object.
· Look up an IDoc and creating a Record.
· Browser for Function Maps.
In addition, the Developer now also supports the following actions:
· Generate an SAP inbound map if you want an SAP system to run a service in SAP BC.
· Generate an SAP outbound map to execute a function module in an SAP system.
· Generate a record based on an SAP ABAP Dictionary structure.
· Generate a record based on an SAP IDoc.
SAP BC Developer now also supports a proxy bypass list. This means that you no longer need to define whether a connection runs through a proxy; instead, the bypass list performs this task.
New Public Services on SAP BC Server
pub.string:gzip
Compresses the specified input string and generates a check total (optional). For measurements or for statistical purposes, the lengths of the zipped and unzipped strings are provided as output.
· pub.string:ungzip
Decompresses a specified input string, which was compressed with pub.string:gzip, and verifies the check total (optional).
· pub.string:numericParse
Analyzes a number in accordance with a given number pattern.
· pub.math:randomLong
Generates a pseudo random number and sends its string representation in a pipeline variable. You can use this number as a universal identifier with an acceptable level of security, as long as it is used in non-distributed scenarios and for a small number of variables.
· pub.file:head
Shows the start of a given file.
· pub.file:tail
Shows the end of a given file.
· pub.flow:sleep
Puts the current service into sleep mode for the specified period (in seconds).
Restructuring of the WmPartners Package
The WmPartners package in SAP BC Server has been completely restructured and now offers the following enhancements:
· Improved status information in the messages displayed in the Transaction Store and the Audit Log. This solves a range of problems, such as incorrect status information being displayed by IDocs.
· Improved search and sort options for transactions in the file system of the Message Store. In the Transactions menu, SAP BC Administrator GUI offers you a new option, Message Store Query Settings, which enables you to select and delete transactions. In Release 4.7, the Message Store can also be displayed on separate pages, which makes it easier to edit large numbers of transactions.
· Improved search and sort options for Routing Rules. In the Routing Rules menu, SAP BC Administrator GUI offers you a new option, Routing Rule Filter Settings, which enables you to restrict the number of routing rules that are displayed, and to sort the display. The filter accepts all combinations of characters, and the placeholders '*' (string of characters) and '?' (one character). This makes it easier to sort and search for routing rules, especially if you need to process a large number of communication partners and message types.
· Forwarding the "Confirm Event" tRFC (triggered by an SAP system) to the next receiver (for the following transports: B2B Service, ALE (R/3 IDoc), and XML (only if another SAP BC is the receiver)) and triggering "Confirm Event" from an external client. Both of these cases can be significant if the final receiver is an SAP system. In this case, "Confirm Event" removes the transaction ID from the ARFCRSTATE table, which can improve system performance significantly when a large number of tRFCs are being processed.
Support for Distributed Statistic Records (DSRs)
SAP BC has supported the generation of DSRs since Release 4.7 DSRs enable you to monitor the performance of each SAP system and its components. In this way, you can check how much system load is produced by each individual component, and how many resources are being used. This enables you to identify "performance leaks" and optimize system performance.
The DSR support integrated in SAP BC also allows you to measure the total retention period of a process in SAP BC. To evaluate the DSRs, you require additional SAP software, including specific versions of the SAP Solution Manager, and the RFC Library. The exact requirements are still being defined.
The details will be published in SAP Note 620418. You can find a link to this SAP Note on the SAP BC download page at http://service.sap.com/sbc-download.
SAP BC Server Core Enhancements
· Reverse Invoke
The reverse invoke protocol has been enhanced and now allows you to forward more information, such as IP addresses.
If, for example, an application fails because a connection is broken, and other working connections exist, the connection is checked using a ping.
From now on, the internal server can open or reopen a defined number of connections, if necessary.
A document is generated for any exceptions on the internal server.
· Email Listener
New Features in the Email Listener
¡ Reprocessing of invalid mails for IMAP Server
¡ Processed mails selected as "unread" if they have not been deleted.
You can also specify whether mails with exceptions are deleted or not.
· Update Manager
The Update Manager manages fixes and patches for the upgrade of an SAP BC Server. Previously , the Update Manager allowed a fix to set other fixes as obsolete, using the updateVoidList field in the update.cnf file of the fix. An obsolete fix is not shown in classpath, but up to now the Update Manager has not been able to give a fix in classpath priority ahead of this other fix. The Update Manager has now been enhanced to support these fix priorities: The update.cnf file in the fix now contains an updatePrecedeList field.
Incompatible Changes
SAP BC Delivery Without JVM
The Windows Version of SAP BC 4.7 is no longer delivered with a Java Virtual Machine (JVM). The SAP BC 4.7 Installation Guide describes the JVMs that are supported.
See also
For more information, see the documentation on the SAP Business Connector, under
· http://service.sap.com/connectors (SAP Business Connector ® SAP Business Connector in Detail ® Documentation). -
Guy's
i am new to business connector and need some help
file which are easy to understand ,pls
forward such file to my mail-id [email protected]
,point's will be rewardedHi Sanju,
<u><b>SAP BC:</b></u>
The SAP Business Connector is a middleware product based on webMethods B2B Integration Server. It allows you to integrate with R/3 using open and non proprietary technology. SAP BC uses the Internet as communication platform and XML/HTML as data format. Thus it seamlessly integrates different IT architectures with R/3.
SAP BC allows for full bi-directional communication to and from R/3. On the one hand all SAP functionality accessible using BAPIs and IDocs can be made available to business partners over the Internet as secure XML-based services. On the other hand applications and information running on a remote web site can be instantly invoked by a simple SAP function call thus making the information of the Web available to an R/3 System.
SAP BC provides an XML layer on top of R/3 functionality so that other applications do not need any understanding of R/3 internal data structures or protocols. You can deploy SAP BC to simply but effectively achieve business-to-business integration between trading partners, thereby extending the reach of your SAP infrastructure to customers, partners and suppliers. Examples for applications may include real-time integration between supplier inventories and your SAP System or multi-vendor product, price and availability information and your purchasing application.
For further Information on the same see <a href="http://www.sapgenie.com/mysap/bus_connector.htm">WHAT IS SAP BC ?</a>
<u><b>
SAP XI:</b></u>
SAP Exchange Infrastructure (XI) enables you to implement cross-system business processes. The aim of the Exchange Infrastructure is to integrate different versions of SAP and non-SAP systems implemented on different platforms (Java, ABAP, and so on). The Exchange Infrastructure is based on an open architecture, makes uses of open standards (in particular those from the XML and Java environments) and offers services that are essential in a heterogeneous and complex system landscape: Namely a runtime infrastructure for message exchange; configuration options for managing business processes and message flow; and options for transforming message contents between the sender and receiver systems.
For more information on the same see <a href="http://help.sap.com/saphelp_srm30/helpdata/en/0f/80243b4a66ae0ce10000000a11402f/content.htm">SAP Exchange Infrastructure</a>
I hope your doubt is clear now.
<u>Also go through the following links:</u>
http://www.sapgenie.com/mysap/bus_connector.htm
http://www.thespot4sap.com/Articles/SAP_XML_Business_Integration.asp
http://help.sap.com/saphelp_nw04/helpdata/en/6a/3f93404f673028e10000000a1550b0/content.htm
Regards,
abhy -
Business connector ,problem
Guy's
i have one unique problem,in flow step of business
connector ,i have used loop ,for example loop over
"/Final/recordWithNoID",where recordWithNoID contain
multiple records,this loop work's fine if there are
more than one record,but fail when there is single
record,i don't know ,what's the problem
sanjuHi Sanju,
How you are looping , are you giving any where condition.
can you show your code. and are you sure there is a record when the loop fails.
did you check it in debug mode.
Regards
vijay -
PI 7 to SAP Business Connector Connectivity
Dear Gurus,
I have to connect our ECC 6.0 System to another ECC 6.0 System using B2B scenario. For B2B purposes we are using PI 7 while the other party is using SAP Business Connector (SAP BC) as it's front-end-tool for ERP-to-ERP connectivity. I am a Basis Consultant and I have been given the task of doing this connectivity. I have never worked on any business connector. Can anyone guide me in this? We do not have any PI Consultant
Also advice what infrastructure will be needed to complete this connectivity
Request you all gurus to kindly advise asap
Best RegardsWell, a PI consultant would be a better choice as you will have to learn some basics before you can implement your project. PI is not an easy system as business connector and it requires deeper skills and expertise on the tool, but with some effort, certainly you can do it yourself.
I do not have any experience on the administration of a dispatcher, so I cannot guide you on that subject. But after achieving the connectivity between the two dispatchers, the rest is the PI development task.
It seems that your scenario is not really a hard one. Play around with the tools(in PI) and try sample scenarios to get used to it. Here are some for your convenience:
And the PI (formerly called XI) library that covers almost everything is here:
http://help.sap.com/saphelp_nw2004s/helpdata/en/0f/80243b4a66ae0ce10000000a11402f/frameset.htm
With the help of the documentation and the sample scenario blogs, you will be able to develop your scenario. But gathering the required skill will take about a month or so, depending on your performance.
After learning the basics, you also need to work on monitoring, alert definitions, going live pratice etc. also which you can also find examples in the blogs. Furthermore, if the messages exchanged are to be changed before reaching the ERP on the PI side, you will also need some mapping practice. Here are two blogs which will teach you graphical mapping in PI:
/people/sravya.talanki2/blog/2005/08/16/message-mapping-simplified--part-i
/people/sravya.talanki2/blog/2005/12/08/message-mapping-simplified-150-part-ii
A B2B scenario can be partly auto-configured after definition of relevant integration scenario in the Integration Builder so it might be a good idea to learn it. I'm assuming you don't need any business processes(which automates A2A and B2B processes, for example a full order-to-cash scenario involving many systems and communications with business logic), so you will mostly need configuration instead of development. You also won't need any ABAP or Java skills in your case.
The content on SDN about PI is pretty rich so I don't think you will be short on examples and instructions. Just search when you need something, almost every aspect is covered by now.
Hope these are useful, feel free to ask anything you may need.
Regards,
Gökhan -
To run a java service in SAP business connector.
Hi,
I have created one java service in SAP business connector.When i run it, i get the error as " Service 'rfctest:validatedata' is not operational. To run this service, first recompile the Java source."
I have set the "path" variable,still i am getting the same error.
What should i do to solve this problem?Hello,
when you call a BAPI from an external system via Business Connector, you will send a bXML document to BC (for example via HTTP). Refer to the SapbcSAPAdapterGuide for how to do that in detail, its good explained (see 4-25 and 7-3) there.
The explanation about sender/receiver is not correct. sender and receiver are the logical system names of the SAP backend system and the external system (check in transaction SALE of the SAP system).
Just send such document to BC, it will create the routing rule automatically. Then complete the routing rule (see 7-2) and activate it.
CSY -
SAP Business Connector : Simple Test
Hi Folks,
Before I start , let me mention here that I am completely new to BC . And my requirement (I think) is also very simple.
I have installed the business connector developer in my pc , and the BC server connection to SAP server is also working alright.
My requirement is very simple , I want to pass a XML document to sap server . It is just a simple test as I am not going for any middleware setup etc.
I just want to send this XML document to SAP for testing . I have tried by creating a "Flow" which expects a XML document but somehow it does not seem to work .
Kindly let me know if possible the manual steps for sending XML doc to SAP.
Thanks in Advance....You may use the standard developer's guide example to configure your scenario.
Suppose you have File to RFC scenario.
1. First create a structure for file system. This should be created as a Record in BC. Import the RFC structure too in BC.
2. There is a standard ftp service (I guess in WmPublic package) which should be the first flow step of your flow service.
3. Then use map steps to map the Records of file structure and Idoc.
4. Then you may use imported RFC flow step to call RFC.
5. At server, you need to define to routing rule from SAP BC -> R/3.
Regards,
Prateek -
How to connect with business connector
Dear Gurus,
I am new to business connector. Could you please give the procedure that how we can transfer the IDOC from R/3 to business connector.
Please help me.
Regards,Hi Chandra,
The SAP Business Connector is a middleware product based on webMethods B2B Integration Server. It allows you to integrate with R/3 using open and non proprietary technology. SAP BC uses the Internet as communication platform and XML/HTML as data format. Thus it seamlessly integrates different IT architectures with R/3.
SAP BC allows for full bi-directional communication to and from R/3. On the one hand all SAP functionality accessible using BAPIs and IDocs can be made available to business partners over the Internet as secure XML-based services. On the other hand applications and information running on a remote web site can be instantly invoked by a simple SAP function call thus making the information of the Web available to an R/3 System.
SAP BC provides an XML layer on top of R/3 functionality so that other applications do not need any understanding of R/3 internal data structures or protocols. You can deploy SAP BC to simply but effectively achieve business-to-business integration between trading partners, thereby extending the reach of your SAP infrastructure to customers, partners and suppliers. Examples for applications may include real-time integration between supplier inventories and your SAP System or multi-vendor product, price and availability information and your purchasing application.
For further Information on the same see WHAT IS SAP BC ?
Also go through the following links:
http://www.sapgenie.com/interfaces/businessconnector.htm
http://www.sapgenie.com/mysap/bus_connector.htm
XI - SAP Business Connector integration using the HTTP adapter
http://help.sap.com/saphelp_nw04/helpdata/en/6a/3f93404f673028e10000000a1550b0/frameset.htm
http://www.thespot4sap.com/Articles/SAP_XML_Business_Integration.asp
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/b4f3755a-0401-0010-b6b3-9b65bb7d4503
https://websmp104.sap-ag.de/connectors
https://websmp104.sap-ag.de/~form/sapnet?_FRAME=OBJECT&_HIER_KEY=501100035870000008223&_HIER_KEY=601100035870000111191&_HIER_KEY=601100035870000114171&_HIER_KEY=601100035870000132138&_HIER_KEY=601100035870000122794&_HIER_KEY=601100035870000122795&_HIER_KEY=601100035870000122804&_HIER_KEY=701100035871000100900&#HOME
Regards
Goli Sridhar -
Error log on http request from business connector (BC)
Hi all,
We are sending http requests from our business connector to one client but the messages keep having log errors :
server.log details :
003C24 [B2BCORE.0064.0014] Opening Socket https://www.qab2b.xxx.com:443/invoke/wm.b2b.cxml:receiveCXML proxy=10.28.38.27:80
003C25 [B2BCORE.0038.0002] --> CONNECT www.qab2b.xxx.com:443 HTTP/1.0
003C26 [B2BCORE.0038.0002] --> User-Agent: Mozilla/4.0 [en] (WinNT; I)
003C27 [B2BCORE.0038.0002] --> Accept: image/gif, /
003C28 [B2BCORE.0038.0002] --> Host: www.qab2b.xxx.com:443
003C29 [B2BCORE.0038.0002] --> Proxy-Authorization: Basic YWJ1c2luZXNzY29ubmVjdG9yOmFidXNpbjA0
003C2A [B2BCORE.0038.0002] --> Authorization: Basic U0ZSQ2VnZXRlbDoyMDA3KkVBSV9TRlI=
003C2B [B2BCORE.0038.0002] > Content-type: multipart/mixed; boundary="--=_Part_0_1941981.1219399983635"
003C2C [B2BCORE.0038.0002] --> Message-ID: <7159395.1219399983666.JavaMail.SYSTEM@sw0030>
003C2D [B2BCORE.0038.0002] --> Mime-Version: 1.0
003C2E [B2BCORE.0040.0001] HTTP/1.1 200
003C2F [B2BCORE.0064.0017] Proxy Header <--Connection established
003C30 [B2BCORE.0038.0002] --> POST /invoke/wm.b2b.cxml:receiveCXML HTTP/1.0
003C31 [B2BCORE.0038.0002] --> User-Agent: Mozilla/4.0 [en] (WinNT; I)
003C32 [B2BCORE.0038.0002] --> Accept: image/gif, /
003C33 [B2BCORE.0038.0002] --> Host: www.qab2b.xxx.com:443
003C34 [B2BCORE.0038.0002] --> Proxy-Authorization: Basic YWJ1c2luZXNzY29ubmVjdG9yOmFidXNpbjA0
003C35 [B2BCORE.0038.0002] --> Authorization: Basic U0ZSQ2VnZXRlbDoyMDA3KkVBSV9TRlI=
003C36 [B2BCORE.0038.0002] > Content-type: multipart/mixed; boundary="--=_Part_0_1941981.1219399983635"
003C37 [B2BCORE.0038.0002] --> Message-ID: <7159395.1219399983666.JavaMail.SYSTEM@sw0030>
003C38 [B2BCORE.0038.0002] --> Mime-Version: 1.0
003C39 [B2BCORE.0038.0002] --> Content-Length: 188225
003C3A [B2BCORE.0040.0001] HTTP/1.0 200
003C3B [B2BCORE.0041.0001] ssnid=86087kPxFCsECcmXU5DHUAInKY9mEIIU-9355222; path=/;
003C3C [B2BCORE.0038.0002] <-- Set-Cookie: ssnid=86087kPxFCsECcmXU5DHUAInKY9mEIIU-9355222; path=/;
003C3D [B2BCORE.0038.0002] <-- Content-Type: multipart/mixed; boundary="----=_Part_0_1941981.1219399983635"
003C3E [B2BCORE.0038.0002] <-- Connection: Close
003C3F [B2BCORE.0038.0002] <-- Content-Length: 0
003C40 [B2BCORE.0049.0008] Sequence : index=8 depth=3
003C41 [B2BCORE.0049.0008] Sequence : index=6 depth=2
003C42 [B2BCORE.0049.0008] Sequence : index=1 depth=3
003C43 [B2BCORE.0049.0005] Invoke : index=1 depth=4
003C44 [B2BCORE.0049.0008] Sequence : index=2 depth=3
003C45 [B2BCORE.0049.0005] Invoke : index=1 depth=4
003C46 [B2BCORE.0049.0008] Sequence : index=3 depth=3
003C47 [B2BCORE.0049.0005] Invoke : index=1 depth=4
003C48 [B2BSERV.0048.9999] Array index out of range: -1
003C49 [B2BCORE.0049.0008] Sequence : index=4 depth=3
003C4A [B2BCORE.0050.0004] Copy failed: (Simple) No source data available: to=/returnedStatusCode(0), from=/returnHttp(0)/cXML(0)/Response(0)/Status(0)/@code(0)
003C4B [B2BCORE.0050.0004] Copy failed: (Simple) No source data available: to=/returnedMessage(0), from=/returnHttp(0)/cXML(0)/Response(0)/Status(0)/*body(0)
003C4C [B2BCORE.0050.0004] Copy failed: (Simple) No source data available: to=/returnedText(0), from=/returnHttp(0)/cXML(0)/Response(0)/Status(0)/@text(0)
003C4D [B2BCORE.0049.0008] Sequence : index=5 depth=3
003C4E [B2BCORE.0049.0008] Sequence : index=6 depth=3
003C4F [B2BCORE.0049.0008] Sequence : index=7 depth=2
003C50 [B2BCORE.0049.0008] Sequence : index=2 depth=1
003C51 [B2BSERV.0056.0003] Unable to send mail. Illegal address
error java log on server>logs>error:
2008-08-22 12:16:33 CEST java.lang.ArrayIndexOutOfBoundsException: Array index out of range: -1
at com.wm.util.List.elementAt(List.java:101)
at com.wm.lang.xml.token.BlockInputBuffer.getChar(BlockInputBuffer.java:59)
at com.wm.lang.xml.TextNode.appendSqueezedText(TextNode.java:178)
at com.wm.lang.xml.ElementNode.appendSqueezedText(ElementNode.java:333)
at com.wm.lang.xml.ElementNode.getTextOfChildren(ElementNode.java:309)
at com.wm.lang.xml.Document.getTextOfChildren(Document.java:542)
at com.wm.app.b2b.services.DocumentToRecordService.recursiveCollect(DocumentToRecordService.java:661)
at com.wm.app.b2b.services.DocumentToRecordService.bind(DocumentToRecordService.java:356)
at pub.web.documentToRecord(web.java:667)
at java.lang.reflect.Method.invoke(Native Method)
at com.wm.app.b2b.server.JavaService.baseInvoke(JavaService.java:281)
at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:693)
at com.wm.app.b2b.server.BaseService.invoke(BaseService.java:140)
at com.wm.lang.flow.FlowInvoke.invoke(FlowInvoke.java:292)
at com.wm.lang.flow.FlowState.invokeNode(FlowState.java:559)
at com.wm.lang.flow.FlowState.step(FlowState.java:430)
at com.wm.lang.flow.FlowState.invoke(FlowState.java:400)
at com.wm.app.b2b.server.FlowSvcImpl.baseInvoke(FlowSvcImpl.java:1786)
at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:693)
at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:455)
at com.wm.app.b2b.server.Service.doInvoke(Service.java:495)
at com.wm.app.b2b.server.Service.doInvoke(Service.java:392)
at wm.PartnerMgr.gateway.transport.B2B.OutboundProcess(B2B.java:157)
at java.lang.reflect.Method.invoke(Native Method)
at com.wm.app.b2b.server.JavaService.baseInvoke(JavaService.java:281)
at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:693)
at com.wm.app.b2b.server.BaseService.invoke(BaseService.java:140)
at com.wm.lang.flow.FlowInvoke.invoke(FlowInvoke.java:292)
at com.wm.lang.flow.FlowState.invokeNode(FlowState.java:559)
at com.wm.lang.flow.FlowState.step(FlowState.java:430)
at com.wm.lang.flow.FlowState.invoke(FlowState.java:400)
at com.wm.app.b2b.server.FlowSvcImpl.baseInvoke(FlowSvcImpl.java:1786)
at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:693)
at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:455)
at com.wm.app.b2b.server.Service.doInvoke(Service.java:495)
at com.wm.app.b2b.server.Service.doInvoke(Service.java:464)
at wm.PartnerMgr.gateway.runtime.InboundProcess(runtime.java:423)
at pub.sap.transport.RFC.InboundProcess(RFC.java:190)
at java.lang.reflect.Method.invoke(Native Method)
at com.wm.app.b2b.server.JavaService.baseInvoke(JavaService.java:281)
at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:693)
at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:455)
at com.wm.app.b2b.server.Service.doInvoke(Service.java:495)
at com.wm.app.b2b.server.Service.doInvoke(Service.java:464)
at com.wm.pkg.sap.rfc.Listener.handleRequest(Listener.java:286)
at com.sap.mw.jco.JCO$Server.dispatchRequest(JCO.java:6022)
at com.sap.mw.idoc.jco.JCoIDoc$Server.dispatchRequest(JCoIDoc.java:10120)
at com.wm.pkg.sap.rfc.Listener.dispatchRequest(Listener.java:186)
at com.sap.mw.jco.rfc.MiddlewareRFC$Server.nativeListen(Native Method)
at com.sap.mw.jco.rfc.MiddlewareRFC$Server.listen(MiddlewareRFC.java:1070)
at com.sap.mw.jco.JCO$Server.listen(JCO.java:5797)
at com.sap.mw.jco.JCO$Server.run(JCO.java:5731)
at com.wm.pkg.sap.rfc.Listener.run(Listener.java:101)
at java.lang.Thread.run(Thread.java:479)
Thanks for your support on this eai.
Regards,
Laurent.ok, I think we do not need the save/loadPipeline things, because you can debug the flow without that. I first thought you act as HTTP server, but you issue the client call in the flow itself.
Looking at the logs more carefully, it shows for example:
Copy failed: (Simple) No source data available: to=/returnedStatusCode(0), from=/returnHttp(0)/cXML(0)/Response(0)/Status(0)/@code(0)
But you say have that input:
<?xml version="1.0"?>
<!DOCTYPE cXML SYSTEM "http://xml.cXML.org/schemas/cXML/1.2.011/cXML.dtd">
<cXML version="1.2.011" payloadID="20080825171850716.18637uTQ9ExzheaK+H6b7O9oCAQWPzHA-9355222.8b3632def70da7220004d0b6" timestamp="2008-08-25T17:18:50-CEST">
<Response>
<Status code="500">No cXML document received from sender.</Status>
</Response>
</cXML>
So we see that your mappings assumptions do not match the result structure.
The other problem is that you get a status 500 and do not receive a cXML document, but that might be ok, depending on what parameters you pass to the other HTTP server. At least, you get a meaningful error message back from the server, meaning communication is ok.
I suggest you first correct those "copy failed" issues and then check by single-stepping where exactly the flow fails and check that input again.
By the way, when I feed the above cXML into recordToDocument, it works fine. Did you specify other input parameters besides "node" (e.g. recordName) ? And again, are you on Core Fix 8 ?
CSY -
Can someone tell me how to detect the requirement of BPM on the Business Connector developer side among the flow services.
How to detect if there exists BPM in the package at BC developer or not?
thanxHi,
the amount of objcects will depend mostly
on your BC configuration
for example serivices in the BC are very often written
in java and in the XI we have adapters
so not a lot you can do with it
mapping flow scenarios to BPMs or somethimes non BPM
in the XI should not be very diffucult in most cases
Refer below discussion
Business Connector to XI
There a few a few tools like this one:
http://www.yellow2b.com/Yellow2B-Content_C-Content_full_1112108163571.html
thanks
Swarup
Maybe you are looking for
-
Touch Panel Shared variable binding does not work.
Hi, Is there any reason why shared variable binding is not working under Touch Panel Target? Is there any plan for implementing or there is some trick I should know? Andras
-
Converting Super 8 Mp4 for Final Cut Pro 7
I have been given some Super 8 wedding footage already digitised to mp4. I am trying to convert mp4 to an intermediate codec so I can edit in Final Cut 7. I can't get Mpeg Streamclip to convert the files. Any idea which codec and settings I need to u
-
Data Movement from Oracle 8i to 10g
hi i want to move data from old system (oracle 8i) to new system (oracle 10g). database architecture for both systems is different. there are 12 tables in old system and 37 tables in new system. i want to use exp and imp utilities. new system in orac
-
hi all, i am using table popin toggle cell, by this i am opening rows. i have a delete button in popin, and i want to delete row by this popin button, how can i identify in which row , in the popin the button is pressed. so that i can delete that ro
-
Lion and Apple MacBook 2.0GHz Intel Core 2 Duo (13-inch Black) MA701LL/A
Anyone here tried to upgrade the MacBook 2.0GHz Intel Core 2 Duo (13-inch Black) MA701LL/A Laptop/Notebook to Lion? I wonder if this laptop has enough power to support Lion. So far I upgraded the memory to its max of 2G. according to this page: http