Idoc to jdbc to bpm
Hi
I have a scenario. invoice coming from sap R/3 and get 10 fields from Sql Server depending on the soldto or billto. then it has to go to bpm depending on the business reles. please help me this one how can we do the synchronus from sql server and those fields add to invoice.
Advanced thanks
Regards
Sundher
Hi,
Yes you can so a Synchronous Select from your BPM.
To understand this tabe a look at my blog,
<a href="/people/bhavesh.kantilal/blog/2006/07/03/jdbc-receiver-adapter--synchronous-select-150-step-by-step">JDBC Receiver Adapter -- Synchronous Select Step by Step</a>
Also, look into this blog which is a File - RFC - File with a BPM. Similarly create a BPM as Idoc - JDBC - Target System as per your requirement,
<a href="/people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit">File - RFC - File BPM Starter Kit</a>
Regards
Bhavesh
Similar Messages
-
Acknowledgment in IDOC- XI- JDBC
Hi,
I have a question I've got a process IDOC->XI->JDBC without BPM.
In BPM could I set "Acknowledgment" f.e. to Transport if I use a async sender.
Could I also use this option in a process without a BPM?
THX MattHi Ajay,
thanks for your response message
The problem that I have is, on my QA System, I get akcnowledgment from Sybase DB - no problem.
But since we transport all the stuff zu Prod. System it doesn't work anymore...
What did you mean with "you have to create a listener in the sender side".
Thanks a lot
Matthias -
Problem in Idoc to JDBC scenario(uses BPM)
Hi
I have a IDoc to JDBC scenario which also uses BPM.
The JDBC adapter has to execute a Stored procedure on Sybase database.
I work on XI3.0 SP14.
When I am sending IDoc to XI it is failing in CALL adapter step.
The error message is "Unable to convert sender service TruckLiftAccountUpdate to an ALE logical system".
However this scenario is working in Production with same settings.But it is not working in Quality and it is giving the above error.
Can any one help me in this.
Thanks in advance.
KPThanks for your quick reply..
All the settings are in place.
Here the Idoc is coming to BPM and BPM cant able to execute the stored procedure.and we are getting the error from BPM to target system.
Here error is unable to convert the sender service(from BPM service) to ALE
logical system.
same settings are there in Production but it is not working in QA.
Thanks in adavnce,
KP -
Pass system ack of JDBC adapter to ERP in IDoc - XI - JDBC scenario
Dear all,
i have an IDoc -> XI -> JDBC scenario (without using ccBPM). In the standard way the ERP system, sending the IDoc waits for an application acknowledgement. However the JDBC adapter is only capeable to send system acknowledgements.
Is there a way to pass these acknowledgements to the IDoc status record?
In help.sap.com (http://help.sap.com/saphelp_nwpi71/helpdata/en/ab/bdb13b00ae793be10000000a11402f/frameset.htm) under "IDoc Processing with the IDoc Adapter " there is a table that maps XI system/applic acknowledgement to IDoc status. So in my opinion the status record of my IDoc should at least chenge to the corresponding status for the system ack.
Can anyone tell, if this is really working? What if I deactivate the acknowledgement request in the NOALE programm?
In any case, can I achieve to transfer the system ack to the IDoc status without using a ccBPM?
Many thanks and best regards
FlorianIs there a way to pass these acknowledgements to the IDoc status record?
Without BPM, No.
So in my opinion the status record of my IDoc should at least chenge to the corresponding status for the system ack.
The ack referred here is related to idoc status whether it is properly reached till XI or not and not related to the JDBC ack.
What if I deactivate the acknowledgement request in the NOALE programm?
Then u won't have any ALEAUD message at sender R3.
In any case, can I achieve to transfer the system ack to the IDoc status without using a ccBPM?
No
Regards,
Prateek -
IDOC-XI-JDBC scenario, jdbc sent too slow
i have a IDOC-XI-JDBC scenario,
the problem is that near 5 Lac IDOC is sent to XI, each IDOC is processes by an instance of the scenario, and the sent to the Database is too clow...means 4000 records per hour,
can i configure the JDBC receiver adapter in a way, so that it becomes faster/more concurrent,Hey,
First raise the issue to the DBA he might help resolve the ISSUE more efficently.
Secondly check in the JDBC adapter -> Adavance mode -> Disconnect from the data base after processing each message shouldn't be set.
Even check with Database Transaction Isolation Level -> default is value of the connected database.
<b>The isolation level determines how transactions running in parallel can influence each other</b>
http://help.sap.com/saphelp_nw04/helpdata/en/64/ce4e886334ec4ea7c2712e11cc567c/content.htm
Why not the other way around > Collect multiple idocs in a file restrict maxium number of idocs to required value then send the file ?
Stefan Grube Example:
/people/stefan.grube/blog/2006/09/18/collecting-idocs-without-using-bpm
if it is with bpm then collect multiple idoc with occurance change and send them.
<b>Cheers,
*RAJ*
**REWARD POINTS IF FOUND USEFULL <b> -
Accelerate PI Process (IDoc - XI - JDBC)
Hello all,
My scenario :IDoc from ECC6, JDBC with BPM and Acknowledgment back to R/3 after process.
But, it seems that the acknowledgment generate from XI is a little bit "slow" and not very constant. Sometimes times, it takes more time than others and i don't know why.
The process seems too long for my client, he needs more IDoc to be process in a minute and he doesn't want any serialization of processing.
I've read some tuning guide but i don't see where i can improve my scenario.
Is there any hints for accelerating this acknowledgement create from XI ?
Do i have to replace the standard acknowledgement by a specific Idoc which will be send at the end of my BPM ?
Hope i was clear.
Thanks by advance.
JPplease visit the fine tuning article
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/412290ec-0201-0010-0790-dfd946efc5f4 -
IDOC to JDBC Synchronous interface
Hi Experts,
I am using PI 7.1.
Having requirement of IDOC to JDBC synchronous scenario. When data is coming from SAP to DB it is updating data in to u201CXu201D table, when data response from DB is u201CYu201D table.
How can I configure this interface, Please suggest me.
Best Regards,
Pasi...Hello,
For special problematic of IDOC -> JDBC and sending back acknowledgement have a look to One Logical System Name for serveral BPM Acknowledgements
One Logical System Name for serveral BPM Acknowledgements
Step by Step JDBC Synchornous
JDBC Receiver Adapter -- Synchronous Select Step by Step
Integration with database made easy
Integration with Databases made easy Part 1.
SOAP <=> JDBC Synchronous
SYNCHRONOUS SOAP TO JDBC - END TO END WALKTHROUGH
Serialize IDOC XML
How to serialize IDoc XML messages fed into XI
Regards,
Phani -
Hi Guys,
Can I implement a scenario wherein the data is sent to Idoc and JDBC parallelly without using BPM?
Regards,
AshishAshish,
><i>If i add multiple recievers in receiver determination step without any condition, then how do i add multiple interface determinations in the area below?</i>
Once you add multiple Receivers and save the same, the Receivers will be available in the Window Below and you would need to create an Interface Determination for each of these Receivers.
As you do not have any condition, no need to add conditions.
><i>created seperate Receiver determinations</i>
You would need only ONE RECEIVER DETERMINATION and this receiver determination would in turn have multiple Interface Determinations.
Like mentioned, add multiple receivers save the Receiver Determination and in the window below, you will nopw be able to add an Interface determination for each of the receiver.
Regards,
Bhavesh -
Hi Frnds,
I'm doing a IDOc to JDBC scenario, there is some intermediate processing in between which involves getting response from DB & sending final update message to DB using JDBC. Till obtaining response & sending final update is getting executed successfully but i was asked to handle exception case in BPM where if we get empty response then an alert should be raised & send to the recepient
So for doing this i had some questions
1. I included exception branch & assigned two control steps in it one for sending Alert & other for cancelling process. Is this fine or do we not have deadline step as mandatory to handle exceptions ?
2. How can we identify whether response from JDBC is empty in BPM, exactly where can we set application acknowledgement for synchronus send step in BPM,becoz when there is empty response process should go to exception branch for handling this ?
Need ur suggestions Pls..
Regards,
VKG.1. I included exception branch & assigned two control steps in it one for sending Alert & other for cancelling process. Is
this fine or do we not have deadline step as mandatory to handle exceptions ?
Thats fine....deadline is normally required for Async_Send and receive case.....the SYNC call will be completed within a given time-frame.....so if you want to set deadline then make sure that you select a trade-off between the SYNC_Timeout and your business need.
2. How can we identify whether response from JDBC is empty in BPM, exactly where can we set application
acknowledgement for synchronus send step in BPM,becoz when there is empty response process should go to exception
branch for handling this ?
You have to make use of a SWITCH branch and then check if the response if blank or not.....check if a node exists and if it exists then check if it has some value or not.
Regards,
Abhishek. -
Hi experts,
i've scenario IDOC to JDBC:
the interface receive two idoc's:
IDOC1: 1field1, 1field2, 1field3
IDOC2: 2field1, 2field2, 2field3
and give the data to only one table in the receiver, ie, the table is equally filled by the contents of both idocs,
the data in this table must be storage by follow:
field -> field1 field2 field3
values -> 1field1 1field2 1field3
2field1 2 field2 2 field3
¿how can i do this whe i realize the mapping ?
¿Is it possible, or it's better to use two interface, one for each idoc?
very thanksIf both the idocs are of same basic type, then you may perform Idoc packaging at the sender side. Due to this you could receive idoc at XI with multiple Idoc nodes having data from different idocs. Then you may map directly till node level and achieve the output.
If the type of idocs are different, use two interfaces or go for BPM to collect.
Regards,
Prateek -
IDOC to JDBC using Synchronous
Hi all,
I am working idoc to jdbc interface,here i have to get response from reciever jdbc when iam creating vendor details in jdbc system.My requirement is i have to get this by using synchronous message.
Please help me on this.
Thanks in Advance.
Regards,
RaviHi Ravi
Follow these it will help
Step by Step JDBC Synchornous
JDBC Receiver Adapter -- Synchronous Select Step by Step
Integration with database made easy
Integration with Databases made easy Part 1.
SOAP <=> JDBC Synchronous
SYNCHRONOUS SOAP TO JDBC - END TO END WALKTHROUGH
Serialize IDOC XML
How to serialize IDoc XML messages fed into XI
For special problematic of IDOC -> JDBC and sending back acknowledgement have a look to One Logical System Name for serveral BPM Acknowledgements
One Logical System Name for serveral BPM Acknowledgements
Thanks
Gaurav -
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 -
IDOC to JDBC scenario in case of Cost Element Group IDOC.
This is an IDOC to JDBC scenario.
The Cost Element Group IDOC is having different segments. The main segment E1COGH (1...unbound) is consisting of different subsegment like E1OGS (0...unbound) & E1COGV (0...unbound). The main segment (E1COGH) along with subsegments E1OGS & E1COGV) is occuring more that 1 times. I have to insert data into the table, which we can do in single rows (no hierarchy is possible in tables). I have used "use one as many" in message mapping. Now if E1OGS or E1COGV is repeating in a single E1COGH segment then we dont get any error. But if I duplicate the main segment then I am getting runtime exception.
Please suggest about how to map in this case.In my scenario:
E1COGH
|
-> E1COGS
E1COGV
where E1CGH -> Main segment
E1COGS & E1COGV -> sub segment
E1COGH -> 1..unbound
E1COGS -> 1..unbound
E1COGV -> 1..unbound
At the target side I have created two Statement Structure (ie.Statement & Statement_1) . One for E1COGS (ie. Statement) & the other for E1COGV (ie. Statement_1).
Case 1 -> If E1COGS is present in the main segment E1COGH then it is mapped AS IS.
Case 2 -> If E1COGS is not present in the main segment E1COGH then it is mapped as blank.
This will be mapped with Statement & in the absence of E1COGS this Statement structure is SUPPRESSED.
Similarly,
Case 1 -> If E1COGV is present in the main segment E1COGH then it is mapped AS IS.
Case 2 -> If E1COGV is not present in the main segment E1COGH then it is mapped as blank.
This will be mapped with Statement_1 & in the absence of E1COGV this Statement_1 structure is SUPPRESSED.
All the elements of the segment E1COGH, E1COGHT & E1COGHR are replicated in all the rows for X (no. of occurance of E1COGS) + Y (no. of occurance of E1COGV).
While testing in Message Mapping, I am able to get the output as for multiple occurence of E1COGS & E1COGV in a single E1COGH.
But if I increse the occurence of E1COGH the it is giving the following error :
Runtime exception during processing target field mapping /ns0:MT_Cost_Element_Group_Response/Statement/DBtablename/access/GROUPNAME. The message is: Exception:[com.sap.aii.mappingtool.tf3.IllegalInstanceException: Too few values in first queue in function useOneAsMany. It must have the same number of contexts as second queue.] in class com.sap.aii.mappingtool.flib3.NodeFunctions method useOneAsMany[com.sap.aii.mappingtool.flib3.CollapseContexts@51197231, , ]
Please suggest how to map the occurence of E1COGH simultaneously with the occurence of E1COGS & E1COGV. -
Mapping issue in idoc to JDBC scenario
mapping issue in idoc to JDBC scenario
source structure
E1KNB1M
BUKRS = 1000
E1KNB1M
BUKRS= 9000
E1KNB1M
BUKRS= 2000
THE NODE E1KNB1M is repeated many times and the field BUKRS is also repeated with E1KNB1M as above
TARGET field : ISFRANCHISE
if any where value of BUKRS =9000 we have to pass Y to the target filed, else N
if BUKRS = 9000 THEN ISFRANCHISE= Y
ELSE
ISFRANCHISE=N
I've done the mapping as below
BUKRS = 9000--> IF THEN Y ELSE N--
> ISFRANCHISE
BUT everry time the target value is N only
pl suggest
rgds
mojibmapped like this
BUKRS--->SORT---->
EQUALS --------IF---THEN Y
9000------------------------> ----------------->ISFRANCHISE
ELSE N
context of BUKRS set to parent node
its worked
thanks to all for valuable suggestions
rgds
mojib -
Error in IDoc to JDBC scenario
Hi friends,
I am configuring an IDoc to JDBC scenario in XI.When I am testing the scenario in Test Configuration then it is getting processed successfully but when I am tseting the entire configuration then in sxmb_moni the following error is showing:
"Error occurred during back-routing Error in communication channel". Please help as I am unable to understand the error.
regards
DebansuHi Debansu,
Please go through the link it may help to solve your problem.
JDBC Adapter / Acknowledgements
Error in back routing Error in communication channel
Regards,
Sridhar Goli
Edited by: sridhar goli on Aug 11, 2008 11:35 AM
Maybe you are looking for
-
Change Editable ALV to Un Editable
HI, I need to change the Editable fields of my ALV into non Editable based on a User Action . My Scenario goes as follows. I have four Fields in My internal Table. A B C D. Only Field C is Editable when the first time ALV is displayed for the record
-
Entry in custom table in waveset database
I need to know the syntax to call scriptedJDBC resource from within workflow and pass arguments to the script. also how to access the arguments in the script. kindly help me with example code for both passing and accessing the arguments. thanks in ad
-
I forgot my passcode to my ipod. What do I DO?
Waht do i do?
-
Information on Java JAR cacheing
I'm just looking for an explanation of the jar caching procedure. I had a jar on a clients PC (behind a cahing proxy), and although I updated the jar on the web server, the browser kept on displaying the old jar, I had the client cache as well as pro
-
During the initial setup of mac book pro, I did the pc to mac transfer. After transfer was complete, mac had two user accounts aspen pc machine? and dell. Upon trying to access either, the mac says I have to enter new password to enter. It will not a