Pipeline concept in Business connector
Hi All,
I am working in Business connector 4.7, but I am finding tough to understand the SAP BC pipeline concept of defining java like services in BC.
Basically I do not have experience of Java programming and I work on pure SAP ABAP programming.
Please can any one help if they have some documents on it.
Appreciate your great help.
Thanks in advance.
Hi,
A set of services to be performed in a fixed sequence on a message.
A pipeline consists of pipeline elements that are linked to pipeline services
You have to write a java service which takes that particular pipeline
variable and writes to the file. Then in your pub.client.SMTP service you
have to specify that particular file path for attachment.
Refer
http://help.sap.com/saphelp_nw04/helpdata/en/6a/3f93404f673028e10000000a1550b0/frameset.htm
www.b41425.info/work/publications/_binary/3%20BC%20Application%20Development.ppt -
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/e29161d3-0401-0010-3495-8593de5f5da6
http://www.techboy.co.uk/misc%5CSAP%20Business%20Connector%5C4.7%5CBusiness%20Connector%5COfficial%20SAP%20Documentation/SAP%20BC%204.7%20Adapter%20Guide%20-%20SAPBCSapAdapterGuide.pdf
Thanks
Swarup
Similar Messages
-
RFC function callls a SAP Business Connector Flow - only upper case
Hi everybody,
I wrote a function in SE37 which is calling a Flow in SAP Business Connector.
R/3 and SAP BC, both are Non Unicode systems.
The export parameter is TYPE makt-maktx.
The call to SAP BC works fine. Only all the text I can see in the pipeline of SAP BC is upper case.
I checked wether the domain of the makt-maktx allows case sensitive texts.
This is OK.
I have no idea how I can tell SAP BC to receive case sensitive texts.
I checked the forums. Seems nobody had such a problem.
Can somebyody help?
Best regards
Jochen
Hi to all,
it was not the JAVA Version, or a bug or whatelse.
I just ingnored while testing in SE37 that there is
a Flag [X] case sensitive - That's all!
Shame on me!
Greetings Joe
Message was edited by:
Jochen SeeligerHi Priya
Seeing the messages, it appears that server is down.
"java.net.ConnectException" occurs whenever you try to connect to a system which is not up and running.
cheers
Sameer
PS: Please award points if you find the answer useful -
IDOC Mapping in Business Connector
Hello,
we use SAP Business Connector 4.7 and would like to send IDOC DELVRY03 from SAP R/3 4.6 to an external.
We had to map the IDOC an an XML structure. I created a record for DELVRY03, a record reference in Pipeline Out and an empty flow service. In this i use the service "pub.sap.idoc:iDocToRecord". Than i want use the "Map" function in the Developer. I created the target record for the XML file and map the requires fields, but the mapping does not work.
What did i forget in this flow service?
Thanks, Daniel.is there 2 systems involved in this?
kiran -
InterfaceNamespace in the Business Connector envelope
Hi,
I,m trying to send an XML from SAP Business Connector to SAP Exchange Infrastructure, but Im facing a problem when trying to do it.
In the SAP Business Connector envelope log, i can see the message, but it doesnt have an InterfaceNamespace. Because of that, the SAP XI cant find the Receiver Determination related to that message, and consequently, the log points an error.
The problem is that the SAP Business Connector doesnt work with the concept of InterfaceNamespace, it only have the Document Type, which becomes the Interface in XI.
The error that Business Connector shows is the one below:
<Error>
<Code>class com.sap.aii.af.ra.ms.api.ConfigException</Code>
<DefaultMessage>
<Message>
<MessageString><b>No sender agreement configured in the XI Integration Directory for the given message header: SenderParty=; ReceiverParty=; SenderService=Marketplace; ReceiverService=BS_PEQ_320; Interface=QUOTES.ORDERS05; InterfaceNamespace=</b></MessageString>
<LanguageCode>en</LanguageCode>
</Message>
</DefaultMessage>
<Severity>Error</Severity>
</Error>
Does anyone have ever faced this problem? Any help would be great.
Thanks in advance,
LeonardoLeonardo,
Can you check now:
http://help.sap.com/saphelp_nw04s/helpdata/en/6a/3f93404f673028e10000000a1550b0/content.htm
http://help.sap.com/saphelp_nw04s/helpdata/en/18/ccb14035a5c64ee10000000a1550b0/content.htm
http://help.sap.com/saphelp_nw04s/helpdata/en/ed/319640c80b3528e10000000a1550b0/content.htm
http://help.sap.com/saphelp_nw04s/helpdata/en/42/c04da9efeb1d65e10000000a1553f6/content.htm
---Mohan -
Business Connector : get querystring variables in url
Hi;
I have a server service in Business Connector .
a client post a url like this
http://10.10.10.10:5555/invoke/MM/mm2sms?drug_code=905913&drug_desc=aaaaa
I have to get these variables drug_code,drung_desc and assing to a recordList..
Firstly Which methods do i have to use and how?
stringToDocument , documentToRecord?
Thanks.Just declare these parameter names as input variables of type String in the Business Connector service. Then you will have them in your pipeline automatically.
CSY -
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). -
How to HTTP POST data to SAP Business Connector
Hello,
I would like to transfer data from a client with HTTP POST to SAP Business Connector. SAP BC acts as server. In SAP BC I created a Java service containing the code:
IDataCursor idatacursor = pipeline.getCursor();
idatacursor.first("node");
Object obj1 = idatacursor.getValue();
System.out.println(obj1.toString()); //for test
But how can I access the data that was sent with HTTP POST in my service?
Thank you
Piotr DudzikHi,
quite easy:
StringBuffer buffer = new StringBuffer();
String resultString = null;
String xmlString = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>"+
"<biztalk_1 xmlns=\"urn:biztalk-org:biztalk:biztalk_1\">"+
"<header>"+
"<delivery>"+
"<to>"+
"<address>urn:sap-com:logical-system:XXX</address>"+
"</to>"+
"<from>"+
"<address>urn:sap-com:logical-system:YYY</address>"+
"</from>"+
"</delivery>"+
"</header>"+
"<body>"+
"<doc:Z_RFC_CALL_NAME> xmlns:doc=\"urn:sap-com:document:sap:rfc:functions\" xmlns=\"\">"+
... [PARAMETERS]
"</doc:Z_RFC_CALL_NAME>"+
"</body>"+
"</biztalk_1>";
try {
URL url = new URL(SCHEMA, this.host, Integer.parseInt(PORT), FILE);
HttpURLConnection connection = (HttpURLConnection)url.openConnection();
initConnection(connection);
OutputStream out = connection.getOutputStream();
out.write(xmlString.getBytes());
out.close();
InputStream reader = connection.getInputStream();
char ch;
while((ch = (char)reader.read()) != -1 && ch != 0xFFFF)
buffer.append(ch);
resultString = buffer.toString();
if (this.getXMLEntry(resultString, "E_STATUS").equals("E")) { // ERROR
System.out.println("errormessage: "+this.getXMLEntry(resultString, "E_EMSG"));
} else {
// ok, is supose this is an S (success), parse the stuff
reader.close();
catch (Exception e){
e.printStackTrace();
System.out.println(e); -
Problem processing IDOC on SAP business connector
Dear all,
Using the SAP Business Connector I try to convert and IDOC which is in plain text to a record representing this IDOC.
Note: The record is generated using a DTD and the plain text is 'inserted' to the service using a MAP statement.
Which flowservice can I use and how should it be used?
Currently I'm experimenting with the FlatToHierarchy service.
Your help is appreciated!
Best Regards, HaraldHi,
I wonder that no one replied until now!
You are on the right way: you must use the service pub.sap.idoc:transformFlatToHierarchy. Then you must create a record in the PipelineOut-Section, referring to your IDoc-Record (that you have created form the DTD), and then connect/map it to the Service-Out-Parameter boundNode of the transformFlatToHierarchy-service. The connection between boundNode in Service Out and boundNode Pipeline Out must be deleted and the last must be dropped (red arrow down).
That's all! You don't need no other Mapping-Step.
I hope that would help you!?
Pöease excuse my bad english: I'm not pratizing it very often and my native langugae is german.
Best regards, Dagmar -
SAP Business Connector on Windows XP
I've been trying to get the SAP Business Connector 4.7 to work on Windows XP professional but haven't been very successful. The business connector seems to install okay, but when I try to start the business connector through the server.bat file it generates the following errors:
(loglevel = 4)
Loading WmPartners package
00000E [B2BSERV.0026.0002] Failure while loading service wm.PartnerMgr.gateway.transport.EmailTransport:startup: [B2BSERV.0026.9106] No method startup in class wm.PartnerMgr.gateway.transport.EmailTransport
00000F [B2BSERV.0026.0002] Failure while loading service wm.PartnerMgr.xtn.admin:saveMessage: [B2BSERV.0026.9106] No method saveMessage in class wm.PartnerMgr.xtn.admin
000010 [B2BSERV.0026.0002] Failure while loading service wm.PartnerMgr.xtn.admin:view: [B2BSERV.0026.9106] No method view in class wm.PartnerMgr.xtn.admin
000011 [B2BSERV.0026.0002] Failure while loading service wm.PartnerMgr.gateway.admin:saveRoutingRule: [B2BSERV.0026.9106] No method saveRoutingRule in class wm.PartnerMgr.gateway.admin
000012 [B2BSERV.0026.0002] Failure while loading service wm.PartnerMgr.gateway.admin:convertWildCards: [B2BSERV.0026.9106] No method convertWildCards in class wm.PartnerMgr.gateway.admin
000013 [B2BSERV.0026.0002] Failure while loading service wm.PartnerMgr.gateway.transport.B2B:startup: [B2BSERV.0026.9106] No method startup in class wm.PartnerMgr.gateway.transport.B2B
000014 [B2BSERV.0026.0002] Failure while loading service wm.PartnerMgr.xtn.admin:editStore: [B2BSERV.0026.9106] No method editStore in class wm.PartnerMgr.xtn.admin
000015 [B2BSERV.0026.0002] Failure while loading service wm.PartnerMgr.gateway.transport.FTPTransport:startup: [B2BSERV.0026.9106] No method startup in class wm.PartnerMgr.gateway.transport.FTPTransport
000016 [B2BSERV.0026.0002] Failure while loading service wm.PartnerMgr.xtn.admin:invokeViewService: [B2BSERV.0026.9106] No method invokeViewService in class wm.PartnerMgr.xtn.admin
000017 [B2BSERV.0026.0002] Failure while loading service wm.PartnerMgr.xtn.admin:viewMsgContent: [B2BSERV.0026.9106] No method viewMsgContent in class wm.PartnerMgr.xtn.admin
000018 [B2BSERV.0026.0002] Failure while loading service wm.PartnerMgr.gateway.admin:updateTransports: [B2BSERV.0026.9106] No method updateTransports in class wm.PartnerMgr.gateway.admin
000019 [B2BSERV.0026.0002] Failure while loading service wm.PartnerMgr.gateway.admin:invokeService: [B2BSERV.0026.9106] No method invokeService in class wm.PartnerMgr.gateway.admin
00001A [B2BSERV.0026.0002] Failure while loading service wm.PartnerMgr.xtn.admin:log: [B2BSERV.0026.9106] No method log in class wm.PartnerMgr.xtn.admin
00001B [B2BSERV.0028.0005] Loading SAP package
00001C [B2BSERV.0026.0002] Failure while loading service wm.PartnerMgr.gateway.transport.RFC:startup: [B2BSERV.0026.9106] No method startup in class wm.PartnerMgr.gateway.transport.RFC
00001D [B2BSERV.0026.0002] Failure while loading service wm.PartnerMgr.gateway.transport.BAPI:startup: [B2BSERV.0026.9106] No method startup in class wm.PartnerMgr.gateway.transport.BAPI
00001E [B2BSERV.0026.0002] Failure while loading service wm.PartnerMgr.gateway.transport.XML:startup: [B2BSERV.0026.9106] No method startup in class wm.PartnerMgr.gateway.transport.XML
00001F [B2BSERV.0026.0002] Failure while loading service sap.bapi:encodeToFile: [B2BSERV.0026.9106] No method encodeToFile in class com.wm.pkg.sap.bapi.BusinessDocumentCoder
000020 [B2BSERV.0026.0002] Failure while loading service sap.bapi.Mapper:bapi2rfc: [B2BSERV.0026.9104] Missing class sap.bapi.Mapper
000021 [B2BSERV.0026.0002] Failure while loading service sap.bapi.Mapper:rfc2bapi: [B2BSERV.0026.9104] Missing class sap.bapi.Mapper
000022 [B2BSERV.0026.0002] Failure while loading service sap.bapi.Mapper:bapi2ale: [B2BSERV.0026.9104] Missing class sap.bapi.Mapper
000023 [B2BSERV.0026.0002] Failure while loading service sap.admin:listGatewayServices: [B2BSERV.0026.9106] No method listGatewayServices in class sap.admin
000024 [B2BSERV.0026.0002] Failure while loading service sap.bapi.Mapper:ale2bapi: [B2BSERV.0026.9104] Missing class sap.bapi.Mapper
000025 [B2BSERV.0026.0002] Failure while loading service wm.PartnerMgr.gateway.transport.ALE:startup: [B2BSERV.0026.9106] No method startup in class wm.PartnerMgr.gateway.transport.ALE
000026 [B2BSERV.0028.0005] Loading WmSamples package
000027 [B2BSERV.0028.0026] Warning: Deprecated service type (webtap) in service sample.webtap:logApp in package WmSamples
000028 [B2BSERV.0028.0005] Loading WmDB package
These errors don't stop the business connector from starting up, but the errors are not normal behaviour. When I try to start the business connector through a Windows service then I get the message "Could not start the SAP Business Connector Service on Local Computer. Error 126: The specified module could not be found".
I have a working business connector installation on a Windows 2000 server, and when I checked the error log of that installation I noticed that it had logged the same errors about the 'WmPartners' package. It on the other hand didn't have any problems loading the 'SAP' package.
I tried installing the business connector on two different systems with identical results. Has anybody been able to get the business connector to work on Windows XP?HI,
I have no idea clearly about BC.. but ..
See the following links.. may be helpfull..
Business connector
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a8609b90-0201-0010-c6bc-a41b611c6dac
SAP Business Connector on Windows XP
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/92e5bd90-0201-0010-b799-dfdc27f3100a
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a8424011-0d01-0010-e19d-e5bd8ca52244
If usefull .. points rewarded..
Regards
Chilla.. -
How do we Integratet SAP to Non-SAP Using Business Connector
Hi Experts,
I am new to SAP Business Connector !!
and what are the Forms ? for SAP Business Connector Related Postings ??
!! I have a requirement to integrate sap to non-sap with Business Connector !!
We need to Generate the SAP Data In xml Format ? and the Non-sap System can Understand Only XML Formated data.
Is there any way Business Connector Box can Pull the XML file from R/3 Application Server and store the file in the Business Connector Server. from that How do we Sent XML file to Non-sap. How do we Integrate ??
what transaction code will trigger this event ? I mean is ther any SAP Transaction Code to Integrate Business Connector?
For Eg. like in R/3 SD to FICO and MM Integration.
Please Give your Valuable Suggests..
Thanks .
Upender.Hi,
It is not an issue, It will be a separate project :-).
The right forums for this,
Expert Forums » SAP NetWeaver » Process Integration
www.wmusers.com
Also go through the following links:
http://www.sapgenie.com/interfaces/businessconnector.htm
http://www.sapgenie.com/mysap/bus_connector.htm
/people/bla.suranyi/blog/2006/07/10/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
Thanks and Regards,
Chandra Madapati -
Problem establishing Business Connector 4.8 and R/3 connection
Hello,
I'm currently running a few SAP Business Connectors 4.7 servers for my company, all connected to SAP R/3 4.7 backend, and everything works fine.
I tried to setup the new BC 4.8, on a fresh Windows 2003 server, the install went fine, but when I try to make a new R/3 connection, with a working and existing RFC user (previously used by the former BC 4.7), I have the following error message :
Error : class com.sap.conn.jco.JCoRuntimeException
Message : Name or password is incorrect. Please re-enter on 192.168.0.4 sysnr 00
Service : sap.admin.server:getInfo
I don't understand because if I unplug the 4.8 server and plug back the 4.7 one with exactly SAME user/password and same R/3 connection properties, it works fine...
I precise I re-typed manually the login/passwords in both BCs to ensure it's not due to a typo error.
I have read that JCO has changed between 4.7 and 4.8 releases. Could it have an impact ? Also do I still need to install a librfc32.dll in my windows/system32 directory ?
Any clues ?
Thanks in advance for your help
P.
Edited by: Patrick TOURNEUR on Jul 21, 2008 6:40 PMHello,
just for your info, the JCo implementation has changed about this login function. BC 4.8 is using JCo 3, 4.7 used JCo 2.
I never understood the whole problem completely, but as you found out by yourself, you are safe if you enter the user/pwd in SAP only uppercase, and also in BC
SAP changed this user/login up/lowcase stuff at some time, which has caused many trouble in projects.
CSY -
NULL Value in SAP Business Connector (BC47_CoreFix7 )
Dear All,
I am working with SAP Business Connector and some times i get NULL value in (PROXY SERVER) in Secure Proxy (HTTPS) so i need usualy to remove it manully and save the changes.
Would you plesae help me to solve this issue either to delete automatically or to have any idea to prevent getting this NULL value.
Thanks in advance..
Message was edited by: Hassan HakeemDear,
i need the answer ASAP pleasssssssssssse.
Thanks..
Message was edited by: Hassan Hakeem -
RFC Error while trying to access function module from business connector
Hi,
I am getting the following RFc exceptions in BC server when we invoke the service pub.sap.client:invoke fail as a flow step in Idoc_Status_Add(this service is calling a function module in sap namely ZYBC_IDOC_STATUS_ADD_FROM_BC which Adds status to Idoc (from Business Connector).But no trace of failures are recorded in sap side
except 1: rfc_failure in BC trace files under monitoring.I need to know the root cause of these errors as the same services have run finely later and IDOCs were also processed successfully without any problem.
com.sap.mw.jco.JCO$Exception: (104) RFC_ERROR_SYSTEM_FAILURE: See RFC trace file or SAP system log for more details
at com.sap.mw.jco.rfc.MiddlewareRFC$Client.nativeExecute(Native Method)
at com.sap.mw.jco.rfc.MiddlewareRFC$Client.execute(MiddlewareRFC.java:1217)
at com.sap.mw.jco.JCO$Client.execute(JCO.java:3684)
at com.sap.mw.jco.JCO$Client.execute(JCO.java:3129)
at com.wm.pkg.sap.rfc.SAPSession.invoke(SAPSession.java:437)
at pub.sap.client.invoke(client.java:297)
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:709)
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:709)
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:709)
at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:496)
at wm.server.net.EmailTransaction$RunService.write(EmailTransaction.java:1375)
at wm.server.net.EmailTransaction$RunService.run(EmailTransaction.java:1218)
at com.wm.util.pool.PooledThread.run(C:/NT/Perforce/basis/4.1.0-terra/module/core/source/com/wm/util/pool/PooledThread.java:103)
at java.lang.Thread.run(Unknown Source)
could anyone throw light on how this kind of error can be resolved and why it occured?
Thanks.What does the RFC trace file and log say? Has there been any dump on the SAP server? Check the logs and transaction st22 in your SAP system to see if the RFC-module has dumped.
My guess is the problem is in the RFC-module, I think you should start looking there.
regards,
Dionisios -
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 -
Forwarding XML/EDI from SAP Business connector to EDI (cloverleaf)
Hello,
We are having issues setting SAP up to work with the business connector and our EDI system - cloverleaf.
For testing, we would like to:
1. Create an idoc in SAP and send it to the Busness Connector.
2. Have the busness connector send the doc via XML to our EDI system cloverleaf.
Currently, I have things setup like so:
SAP/ECC6:
SM59: RFC setup as type T and works fine.
WE20: Partner Type LS:
I have 2 message types setup (in outboard: I have "orders" and in Inbound I have the same).
in WE21: I have a cloverleaf (our EDI system) to run with the RFC destination I setup in SM59.
On the Business connector, I have the following under routing rules:
From SAP to the Business connector:
Sender: 8805
Reciver: 10000000008
Message Type: Orders
ACL Group: none
Package: default
Main Flow Services: wm.PartnerMgr.flows.88605.1000000008:ORDERS
Transport: ALE (R3/IDOC)
SAP destination: RD1 (our sid).
FOR my outgoing to our EDI system cloverleaf:
I am using the sender: * - Not sure if this should be SAP or the BC.
Reciver: * - Our EDI system. our EDI system is listening on port 49001.
Message Type: Orders
Under URL (not sure about this one)
I have http://reg2lxap0725:5555/MessagingSystem/receive/BcAdapter/BC
I am however stummped on how the URL shold look..
Now, when we test the above config... I recive the following results in WE02.
0000000000003024 25 03 Green Light: IDoc Successful Green LS/ /SAPBC ORDERS05 ORDERS Outbox CLOVERLEAF
For some reason, we also have an "inbound" that fails.
0000000000003025 25 56 Red Light: IDoc Has Errors KU/ /0000088605 ORDERS05 ORDERS Inbox SAPRD1
My main question is however around routing...
We are trying to send these to our EDI system which is listening on 49001.
I am not sure how they want us to setup the routing rules to pass this over to the right port..
I have also searched the documentation, and have not found any real step by step guides, so I may be missing a few things..
Any advice to point me to the right direction is greatly appriciated....
Thanks everyone,
RichardHello Prateek,
Thank you very much for your answer. The AdapterGuide was really helpfull.
Now the routing rule is associated to the correct Service (that was a the problem). So the rule started to process the XML files from the folder (the XML files disappeared immediately after I corrected the rule).
But now my problem is that on the SAP side there is no inbound IDOCs so it seems the trasmission may failed.
Moreover under "Routing"-->"Transactions" I don't see these entries with the the current date.
Our routing rule is simple: "wildcard" "wildcard" "wildcard" "ALE (R/3 IDOC)"--><OUR SAP SYSTEM>
The SAP connection is working as I can test under "SAP..." menu.
Is there any other way to monitor what had happened with these XML files? I'm sure the BC processed as the files are gone, but there is no IDOC in the destination SAP...
Thanks a lot!
Maybe you are looking for
-
My Fantom backup drive is failing and I have to send it in for warranty repair. Before I do that I want to copy the time machine contents to a new drive and then use it for the backup, continuing on as if nothing had gone wrong with the first drive.
-
Why can't I see MS Office Documents in Facebook on the iPad?
I tried to do a search and did not come across an answer. One Facebook group heavily shares documents by posting in the file section for our group. However, if I'm on the iPad, I cannot see any Office documents whatsoever...it's as if they don't exi
-
Register new report in GL module
Hi all Is there some some doc where i can find the steps to register a new report in oracle apps? I have to build a report from scratch, an i want to register it, in oracle apps in the GL module. Thanks in advance Soni
-
Can we call a method from a adapter class?
Hi I have added KeyAdapter class to a textfield now i want to call a method in the outer class from inside the adapter class. I tried but its showing some error, public class A A() TF1.addKeyListener(new KeyAdapter() public void keyReleased(KeyEvent
-
I got the new 5S - but where did my new photos go?
before I restored all my old info from my 4 to the new 5S (photos, apps etc) I used the phone to take photos and text - now that I've restored it all the new photos I took are gone. Where can I find them?