JDBC in B2B scenarios
HI All,
Here my question is
Can we use the JDBC communication channel(Adapter) in B2B scenarios?
In our case, we have a JDBC database which is not in our local network. It is residing in our partner's network.
Please share your thoughts.
I have experience in JDBC sender and receiver scenarios.So please no links to classical JDBC scenarios.
Regards,
Samiullah.
Hi,
If you are able to acces partner network in your client enviornment then you can use clasical approach.Check with basis team/network team they will help you.
Regards,
Raj
Similar Messages
-
Hi,
What are the Adaptors used for a B2B scenario to send an IDOC from R3 system to an Oracle database.
Thank You!Hi San,
what Nikhil suggested is right
In Addition to above
Check this link for IDOC Configuration
Configuring IDOC
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d19fe210-0d01-0010-4094-a6fba344e098
and this for Recieving JDBC adapter
http://help.sap.com/saphelp_nw04/helpdata/en/64/ce4e886334ec4ea7c2712e11cc567c/content.htm
Reward if helpful
Regards
Sachin -
Hi Experts,
need your help on the following questions:
1. when the partner system is installed on its local network how can the pi get connected to it? and how can i do a connection
test?
2.is there any document about a practical b2b scenario? i need a step by step guide .
any helpful replies will be rewarded.
darioDario,
As your PI and your partner system is separated by firewall, then you need to ask the IT Security team to open ports for any communication between you and them. Even if your PI system and your partner system is kept in DMZ, unless you open communication ports, you will not be able to transfer data. Your physical IP s are not exposed to anywhere as you will be providing the natted IP to your partner and same will they do.
Rajesh has suggested to use encryption for communication and that has to be carried out in any case as you are not supposed to expose your systems directly to the outside world and the mode of communication is over the internet.
Common B2B adapters we have heard about are CIDX, RosettaNet,etc, although I have not used them ever. I am not sure about the JDBC communication over internet will be possible or not, if possible then the connection parameters you have provided should work,but the consideration is that you have the connectivity established. In this case your default communication port should be the db port.
As you said, you are planning to use VPN connectivity, in that case, I believe , if your client's LAN is accessible to you, then you need not open communication ports, even. But the Database must be accessible through this VPN Client IP. You must have VPN access to Client's Database server from your PI and they must be connected. If you straightaway use VPN IP as the DB IP, then I do not think it will come useful to you.
Regards,
Sugata
Edited by: Netweaver_I3L on Jul 16, 2010 10:54 AM
Edited by: Netweaver_I3L on Jul 16, 2010 10:57 AM -
B2B Scenario (????) Help
Hi All
We have a req which was given very short. The invocice details are to be validated in a screen and are to be posted into R3 (Client's customer). I hope this makes a B2B scenario. Need your suggestion in how to goahead with this req. Initiaaly i thought of having some websrveice consumed and using either HTML client or EP the user can vlaidate the invoice data and post to R3 of the clients custmer. Kindly adivce on this and also link me to some useful docs adresing a similar scenario.
thkx
PrabhuHi Prabhu,
I am sorry, I don't have any standard doc for your requirement because as stated earlier there is no difference in A2A and B2B scenario.
>> Validate invoice data.
- Use either ABAP report or webpage to display UI for user.
>> backend for invoice data
- If using abap report then ztable else any database table.
>> Send invoice data to customer.
- If you have any RFC destination for customer's client R/3 then you can import Idoc/RFC directly (I am assuming you are going to post Idoc in R/3).
--- Create JDBC-XI-Idoc (RFC) if you are using web GUI
--- Create RFC-XI-Idoc (RFC) if you are using ABAP report with ztable.
-If you don't have any direct connection with your customer's client then it is now tricky. Proxy/firewall comes into play.
--- Agree on common stepping stone which is accessible via both party.
--- create JDBC-XI-File (or HTTP) scneario.
--- Post file into customers R/3 either using RSEINB00 or any other ALE method.
--- You can also use AS2/AS3 adapter from Seeburger for communication.
Regards,
Gourav -
Error while executing a JDBC to Idoc scenario : No standard agreement found
Hello SAP PI Gurus,
I am having a JDBC to idoc Scenario .And the interface is running at 10 min of duration.
<SAP:AdditionalText>No standard agreement found for ,
BS_EXT_CTBSREPDB, , BS_ERPQAS_QE1_320, http://XYZ.com/FI/FI_FI_01/Charges, FIDCC2</SAP:AdditionalText>.
While i test the configuration...i get an error in reciever agreement as mentioned above.
Can you pls help me in resolving this issue.
Regards,
RaviHi,
I think the problem is with namespace....for IDOC the namespace will be "urn:sap-com:document:sap:idoc:messages"...but in your case it is different.....i.e http:....etc.....please check whether you 've used the same IDOC withe above mentioned namespace in all the configuration objects like interface determination, receiveragreement etc.....
Thanks
Priyanka -
Deleting data from a table(JDBC to IDOC scenario).
Hi,
For JDBC to IDOC scenario, the requirement is as explained below:
1: There are 2 tables-> GDDB and CHANGES
2: Poll the CHANGES table every 30 mins everyday.
3: a)Publish the records for which the 'published' flag status is 'N'
b)Update the status as 'Y' after publishing.
4: On the first day of every month, delete the records from the CHANGES table if the record is 3 months old and 'published' status is 'Y'
I would like to know how update and delete can be done using one JDBC adapter?
Regards,
Vishal.P.KulkarniHi,
update:
there is a field in the sender jdbc adapter - SQL statement for update - put it there
delete - On the first day of every mont
create a job on the database which will trigger the delete statement
it does not/ should not have to be done with XI
Regards,
Michal Krawczyk -
IDoc to JDBC and JDBC to IDoc Scenario
Dear All,
I am working on IDoc to JDBC and JDBC to IDoc Scenario.
I have to send Idoc from SAP to Non SAP system(.NET application) i almost configured in XI but still i don't know when my INTEGRATION will INVOKE how my data will proceed from IDOC to Oracle database(Through JDBC) and in case of revese how and when Data flow will start.
Does anyone have completed STEP by STEP scenario document for this?
How my Idoc will sent to XI?
How XI will pick up data from IDoc?
How XI will Convert data to JDBC and UPDATE in Oracle Database?
And i reverse case(JDBC to IDoc) when my INTEGRATION will INVOKE?
Where and When i can watch my process and data?
How can i test the whole integration?
I AM GETTING ERROR WHILE TESTING CONFIGURATION IN Integration Directory "Error while refreshing the XI runtime cache" and when i check this in SXI_CACHE it gives me error
"Unable to refresh cache "NO_BUSINESS_SYSTEM"
"Error during last refresh to cache"LCR_GET_OWN_BUSINESS_SYSTEM - NO_BUSINESS_SYSTEM"
Please solve all the above problems i will reward u points
thanks,
RPHi,
While we working on IDOC to JDBC interface..
We have to deploy JDBC Drivers?
Go through this links,
/people/varadharajan.krishnasamy/blog/2007/02/27/configuring-jdbc-connector-service-to-perform-database-lookups
http://searchsap.techtarget.com/tip/0,289483,sid21_gci1246926,00.html
To install JDBC driver follow the how to guide.
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/xi/xi-how-to-guides/how%20to%20install%20and%20configure%20external%20drivers%20for%20jdbc%20and%20jms%20adapters.pdf
Configuration of JDBC Adapter for SQL Server
JDBC Driver = com.microsoft.jdbc.sqlserver.SQLServerDriver
Connection = jdbc:microsoft:sqlserver://hostname:<port>;DatabaseName=<DBName>
UserID and Password.
If the connection is not working find the correct port number.
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/40b92770-db81-2a10-8e91-f747188d8033
JDBC- X I - R/3 Scenario
/people/bhavesh.kantilal/blog/2006/07/03/jdbc-receiver-adapter--synchronous-select-150-step-by-step
/people/sap.user72/blog/2005/06/01/file-to-jdbc-adapter-using-sap-xi-30
Please check the driver path as mentioned below.
JDBC Driver : sun.jdbc.odbc.JdbcOdbcDriver
Connection:jdbc:odbc:Driver={Microsoft Access Driver (*.mdb)};DBQ=//location of DB table.mdb;
No JDBC driver required.
Receiver JDBC scenario MS access - /people/sameer.shadab/blog/2005/10/24/connecting-to-ms-access-using-receiver-jdbc-adapter-without-dsn
follow this thread
Re: Problem when connecting to MS Access through JDBC Adapter.
SAP Note 850116 has details
/people/michal.krawczyk2/blog/2005/12/04/xi-idoc-bundling--the-trick-with-the-occurance-change
Configuring the Sender JDBC Adapter
http://help.sap.com/saphelp_nw04/helpdata/en/1d/756b3c0d592c7fe10000000a11405a/content.htm
Configuring the Receiver JDBC Adapter
http://help.sap.com/saphelp_nw2004s/helpdata/en/b0/676b3c255b1475e10000000a114084/content.htm
Idoc Reveiver adapter..
http://help.sap.com/saphelp_erp2004/helpdata/en/b9/c5b13bbeb0cb37e10000000a11402f/content.htm
Thanks,
Satya Kumar
/people/michal.krawczyk2/blog/2005/12/04/xi-idoc-bundling--the-trick-with-the-occurance-change
Edited by: SATYA KUMAR AKKARABOYANA on May 8, 2008 5:51 PM -
Hi Experts,
I have tried JDBC to IDOC Scenario but it is giving No Segments Found Exception. I don't know where I am doing the mistake.
can any body please send me a pdf document for JDBC TO IDOC Scenario with step by step procedure from scratch (including creation of LS,LI etc)
Thanks in Advance,
MurthyHi Murthy
The steps are pretty much the same as any other scenario with some exceptions
1: You import the IDOC structure from the R/3 System. This acts as the DT, MT and MI.
You also need to do some configurations on the ABAP Stacks of sender and XI system.
Sender:
WE20 Partner Profiles
SM59 RFC Destination
XI:
SM59 RFC Destination
IDX1 Ports
IDX2 This is the metadata repository so you wont necessarily need this.
Also because you IDOCs can be sent directly to the ABAP stack/Integration Server you do not need a sender comm channel or sender agreement.
The rest is pretty much as any other scenario.
Please see the below links
/people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters
IDOc testing - /people/suraj.sr/blog/2005/12/29/generate-test-case-for-an-idoc-scenario
idoc settings /people/ravikumar.allampallam/blog/2005/02/23/configuration-steps-required-for-posting-idocsxi
idoc mapping - /people/james.guanzon/blog/2006/03/23/how-to-support-industry-standards-in-xi-part-ii-of-iii--mapping
Cheers..
Vasu
<u>** Reward Points if found useful **</u> -
JDBC to Idoc scenario - change of logical system name
Hi,
I have a JDBC to idoc scenario that worked. Now i had to change the logical system name from my sender system from ABC_123 into ABC123 in the SLD (Business System - Integration - Logical System name). I did so and also refreshed my Cache.
Afterwards I started the process, but it failed in the Receiver system. The idoc is correct expect of the partner name. My receiver system expect ABC123 - as I changed in the SLD - but PI send ABC_123.
If io look in SXI_CACHE - Services my Business System still got the "old" name (ABC_123).
Did i miss something resp. how can i load the current configuration from SLD?
Thanks in advance
MichaelHi Michael,
Again Import the changed logical system in the Integration directory of you PI system.
And check the scenario (Sender Agreement, Receiver agreement ) what system they are reflecting.
If they are showing old system then you have to replace the business system in all the scenario.
Edited by: Rajhans Abhay on Jan 7, 2010 3:14 PM -
JDBC to Mail scenario with XSLT mapping
Hi all,
I am working on JDBC to Mail scenario. We have to pick the data from Oracle system and mail has to be sent with an attached Excel file.
I am doing this scenario by using of following blog.
eMail Report as Attachment (Excel/Word)
I am getting the output as an attachment but iam not getting the data.
the same xslt coding iam using which has given in blog.
any idea........
Thanks,
Sreedhar Goud.Hi Gaurav,
JDBC is picking the data.In SXMB_MONI outbound payload iam able to see the data but in inbound payload there is no data.i think the problem is in XSLT code only.
My source structure:
<?xml version="1.0" encoding="utf-8" ?>
<ns:MT_ORMS_Errors xmlns:ns="http://mg.adityabirla.com/mg/orms/mail">
<row>
<INTERFACE_NAME>MG_SAP_RMS_ITEM_PKG</INTERFACE_NAME>
<RECORD_DETAIL>Item</RECORD_DETAIL>
<ERROR>item</ERROR>
<CREATE_DATE>2008-11-03 00:00:00.0</CREATE_DATE>
<MAIL_SENT>N</MAIL_SENT>
</row>
</ns:MT_ORMS_Errors>
XSLT code:
<?xml version='1.0'?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/>
<xsl:variable name="break"><br></xsl:variable>
<xsl:variable name="tableB"><table></xsl:variable>
<xsl:variable name="tableE"></table></xsl:variable>
<xsl:variable name="trB"><tr></xsl:variable>
<xsl:variable name="trE"></tr></xsl:variable>
<xsl:variable name="tdB"><td></xsl:variable>
<xsl:variable name="tdE"></td></xsl:variable>
<xsl:variable name="nbsp">&nbsp;</xsl:variable>
<xsl:variable name="thB"><tr BGCOLOR="#CCCC99"></xsl:variable>
<xsl:template match="/">
<ns1:Mail xmlns:ns1="http://sap.com/xi/XI/Mail/30">
<Subject>Deliveries from XI</Subject>
<From></From>
<To></To>
<Content_Type>application/vnd.ms-excel</Content_Type>
<Content>
<xsl:text xsl:space="preserve">These deliveries has been completed:</xsl:text>
<xsl:value-of select="$break"/>
<xsl:value-of select="$break"/>
<xsl:value-of select="$tableB"/>
<xsl:value-of select="$thB"/>
<xsl:value-of select="$tdB"/>
<xsl:text xsl:space="preserve">INTERFACE_NAME</xsl:text>
<xsl:value-of select="$nbsp"/>
<xsl:value-of select="$tdE"/>
<xsl:value-of select="$tdB"/>
<xsl:text xsl:space="preserve">RECORD_DETAIL</xsl:text>
<xsl:value-of select="$nbsp"/>
<xsl:value-of select="$tdE"/>
<xsl:value-of select="$tdB"/>
<xsl:text xsl:space="preserve">ERROR</xsl:text>
<xsl:value-of select="$nbsp"/>
<xsl:value-of select="$tdE"/>
<xsl:value-of select="$tdB"/>
<xsl:text xsl:space="preserve">CREATE_DATE</xsl:text>
<xsl:value-of select="$nbsp"/>
<xsl:value-of select="$tdE"/>
<xsl:value-of select="$trE"/>
<xsl:for-each select="MT_ORMS_Errors/row">
<xsl:value-of select="$trB"/>
<xsl:value-of select="$tdB"/>
<xsl:value-of select="INTERFACE_NAME"/>
<xsl:value-of select="$nbsp"/>
<xsl:value-of select="$tdE"/>
<xsl:value-of select="$tdB"/>
<xsl:value-of select="RECORD_DETAIL"/>
<xsl:value-of select="$nbsp"/>
<xsl:value-of select="$tdE"/>
<xsl:value-of select="$tdB"/>
<xsl:value-of select="ERROR"/>
<xsl:value-of select="$nbsp"/>
<xsl:value-of select="$tdE"/>
<xsl:value-of select="$tdB"/>
<xsl:value-of select="CREATE_DATE"/>
<xsl:value-of select="$nbsp"/>
<xsl:value-of select="$tdE"/>
<xsl:value-of select="$trE"/>
</xsl:for-each>
<xsl:value-of select="$tableE"/>
</Content>
</ns1:Mail>
</xsl:template>
</xsl:stylesheet>
Thanks,
Sreedhar Goud. -
JDBC-XI-FILE scenario. How to extract data from more than one table in JDBC
Hi,
I was asked a question like in JDBC-XI-FILE scenario........ How to extract data from more than one tables (i.e from JDBC system) ?? What is the logic to do the same ??
I am not sure whether this is a valid question..........but any help in this regards is highly appreciated.
Regards
KumarHI,
Yes it can be possible ,please see the following links
JDBC Receiver with Oracle Stored Procedures
configuring jdbc adapter with multiple tables
RFC -> XI -> JDBC Scenario Updating Multiple Tables
/people/alessandro.berta/blog/2005/10/04/save-time-with-generalized-jdbc-datatypes
JDBC Adapter multiple Selects
https://www.sdn.sap.com/irj/sdn/advancedsearch?query=jdbc%20with%20multiple%20tables&cat=sdn_all
Regards
Chilla.. -
Mapping issue in jdbc to idoc scenario
Hi
we have a jdbc to idoc scenario , we need to repeat the segment given below which has only two fields FLDGRP and FLDVAL,
both filed_Group and fieldgroup1 is coming simultaneously . when field group =BATCH, batch=FLDVAL and fieldgroup1=CUST cust_code=FLDVAL
mapping is as follows :
E1WXX01 (segment name) occurance 0:9999999999
fieldgroup----
> FLDGRP
batch----
>FLDVAL
fieldgroup1----
>FLDGRP(same filed as above )
cust_code----
>FLDVAL(same filed as above)
pl sugggest how to map using graphical mapping
rgds
arunI see the problem here... hmmm.. It is simple
You need to just duplicate the E1WXX01 segment by right clicking and pressing Duplicate Subtree.
Once you do duplication of segment then you will have two segments of E1WXX01.
In first segment map
> fieldgroup----
> FLDGRP
> batch----
>FLDVAL
and in second segment of E1WXX0, map
> fieldgroup1----
>FLDGRP
> cust_code----
>FLDVAL
Regards,
sarvesh -
Help with jdbc to file scenario
Hi guys,
I want to do a JDBC to file scenario. I need to do a SELECT * query from my table.
An external application does the updation into my tables. I needed XI to connect to my JDBC system whenever there is an update in the tables and post it as a file.
Please guide me on this guys
Varunas pointed out have a indicator in ur table that is updated by the external system for setting that the record is read when the jdbc is polled. this would be help for avoiding reading the same records again and again whioch results in duplication. u can follow this blog (reve engg )
/people/bhavesh.kantilal/blog/2006/07/03/jdbc-receiver-adapter--synchronous-select-150-step-by-step -
JDBC to RFC Scenario large data
Hi,
I have jdbc to rfc scenario. I have no problem with the small size data (about 10 mb ). if resultset is very large ( about 80 -120 mb ) , i received resultset and proceess it but when PI try to send these data to RFC it stucks status Scheduled in sxmb_moni , and in rwb is to be delivered and doesn't send to rfc.
What can i do ?Since you are using JDBC as sender, I would think you query from the sender and resultset is mapped to RFC for the target system. PI gives optimum performance upto 5 mb message size. YOur message size is pretty big.
Suggestion:
A) Make a minor change and do the query to result less records.
Example: Select Fields from tablename where rownum < 500 and
in update statement set flag = true for the read records so that next time you will not reread those old records again and every time you query only for 500 or 300 or your desired number records and keep the mesg size always constant irrespective of data available.
Hope that helps. -
For sending file in B2B scenario
Hello Friends,
I need to pass a file to my client's business partner...
I think its a B2B scenario...
So how to transfer a file my client to his business parntner.
Please suggest which adpter to use at receiver side and how to handle the configuration..
It should be secure and reliablehi,
you have to use FILE ADAPTER but you need to use PARTY when you are using BPM
check this blogs for reference
BPM means Business process management
To deal with Multiple sender and receivers based on the conditions we could use BPM. Its one of the feature of BPM, but its not mandatory to go for BPM for each n every case. Its depends upon scnenario.
BPM steps are divided into two types:
1)message steps
2)flow steps
message steps are :
a)send step
b)receive step
c)receiver determination step
d)tranformation step
flow steps are:
a)control step
b)container operation
c)block step
d)wait step
e)fork step
f)switch step
g)undefined step
h)loop step
Check these
BPM:
Walkthrough with BPM - Walk through BPM BPM in XI https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/integrationProcess%28ccBPM%29inXI&
BPM-1 Walkthrough with BPM
BPM-2 Reconciliation of Messages in BPM
BPM-3 RFC Scenario using BPM --Starter Kit
BPM-4 The specified item was not found.
Schedule BPM Schedule Your BPM
Use of Synch - Asynch bridge in ccBPM Demonstrating Use of Synchronous-Asynchronous Bridge to Integrate Synchronous and Asynchronous systems using ccBPM in SAP Xi
Use of Synch - Asynch bridge in ccBPM https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1403 [original link is broken] [original link is broken] [original link is broken]
without BPM Sync/Async scenarios without BPM
without BPM1 Sync/Async communication in JMS adapter without BPM (SP19)
IDOC BPM IDOCs (Multiple Types) Collection in BPM
multimapping without BPM /people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible
/people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible---- Multi Map With out BPM
Various multi-mappings and Optimizing their Implementation in Integration Processes (BPM) in XI. Various multi-mappings and Optimizing their Implementation in Integration Processes (BPM) in XI.
Illustration of Multi-Mapping and Message Split using BPM in SAP Exchange Infrastructure --- Illustration of Multi-Mapping and Message Split using BPM in SAP Exchange Infrastructure
IDOCs (Multiple Types) Collection in BPM (N:1 Mapping )
reward points if helpfull
regards
kummari
Maybe you are looking for
-
My acer Aspire V7-481P touchscreen stopped working. I can no longer find the pen and touch settings on my computer, please help, I have tried to download all the drivers on the acer website and it is still not working. The touchscreen previously work
-
Best Practice for Recording to HDD's.
I want some answers from some people who have been using Logic for a while and have experience in this topic. I have a 2010 MBP 13" with 1 Firewire 800 port, after looking for a cheap quality interface i purchased a Saffire Pro 14 which has a Firewir
-
Hi, I have received about 15 email messages a day from " Mail Administrator - Mail System Error Returned Mail" that emails I have not generated, cannot be delivered as the destination computer cannot be found! These emails are in a foreign language,
-
Files not appearing on desktop after downloading
I've had this problem for the last few months were my downloads don't appear on my desktop (my default location for both Firefox and Safari) for maybe ten minutes or so after finishing. The don't even appear in the desktop folder in finder. When I us
-
ITunes Store error message -9813 when attemping sign-in
When I try to sign in, I get an error message that says to check my internet connection and try again. It also gives me error message -9813.