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 Matt
Hi 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
Similar Messages
-
IDOC to JDBC:System Acknowledgment
Hi,
We have a scenario IDOC-PI-JDBC. We are using PI7.31 single stack.
We need to get the System acknowledgement, and we want to update the status of the IDOC accordingly(error/successful) once its processed.
-Is it possible in IDOC to JDBC flow?
-As per my understanding in IDoc sender channel we should check the acknowledgement option. Other than this do we need to do any other setting to get the system acknowledgement?
-Does JDBC receiver adapter by default sends the system acknowledgement ?
- Can we get the acknowledgement if we have multiple receivers?
Please help with info.
Thanks,
TinaHi,
JDBC by default is synchronous. Just create the inbound service interface as synchronous and test, you will find the response. you build the response ICO based on the structure. Even if it insert/delete/update statements, JDBC will return the number of success records. Check the help documentation on JDBC.
As IDOC is asynchronous, you can not do it directly. but you can achieve this using request response bean.
--Naresh -
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 -
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 -
IDoc to JDBC scenario strange bahaviour
Hi Experts,
My Scenario is IDoc to JDBC,
I am creating some vendor masters in ECC, CREMAS IDoc sent to PI, mapping everything executed perfectly but data not posted in to data base, it is taking min 20 mnts to post data.
When I monitor communication channel it is initiated and status (Dlvg) but after 20 mnts only it is showing message data posted successfully in Data base.
What I observed was in MONI, IDoc initial status shows still awaiting for acknowledgement, after 20 mnts status changed to Acknowledgement not possible, at this time data posted to ODS.
Why this is happening, it is really strange behaviour.
When I reprocess IDoc using WE19 without delay data posted to data base and IDoc status in moni " ack not possible.
How to solve this issue.
Toa a Thanks advance,
JamHi,
Please see the link, it might be useful to you.[Handle_Acknowledgements|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f6d2d790-0201-0010-9382-b50b499b3fbe]
Regards,
P.Rajesh
Edited by: Rajesh_1113 on Apr 29, 2011 3:24 PM -
Idoc to jdbc scenario of sap xi
Hi All,
i want step by step procedure for developing idoc 2 jdbc scenario. Anybody have this scenario, please send me that.
Thanks & Regards,
Nagarjuna.Hi
Have a look at these threads
/people/laxman.molugu/blog/2006/08/13/integration-with-databases-made-easy-150-part-1
Re: Idoc triggering from a transaction
Message Mapping - JDBC to IDoc
Re: JDBC - System/Application Acknowledgement
/people/michal.krawczyk2/blog/2005/09/01/xi-idoc-adapter--edidc40--demystified
Process Integration (PI) & SOA Middleware
**Reward points if helpfull** -
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 -
Getting ROUTING_BACK_ERROR in the IDOC to JDBC Scenario
Hello,
I am working on the scenario IDOC to JDBC .Here from IDOC i have successfully inserted the entries in the table usig JDBC adapter.But it is giving the error in the acknowledgement as below
SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
<SAP:Category>XIServer</SAP:Category>
<SAP:Code area="OUTBINDING">ROUTING_BACK_ERROR</SAP:Code>
<SAP:P1>,XD1_WEB</SAP:P1>
<SAP:P2>,EDI,,</SAP:P2>
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText />
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack>Error in back routing Error in communication channel</SAP:Stack>
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
Regards,Hi Muthu,
Sorry for the late reply, i missed the auto mail.
Anyways is the problem solved?
Actually the acknowledgement is asked by sender SAP system which pots idoc so it donot matter if your target is JDBC,
You can see this weblog where the author sends an idoc to xi and xi posts a file and sends back an acknowledgement to SAP server.The technical reason which i think is that SAP system posts and sees the target as a Business system or business service or an intregation process so it donot matter if target is JDBC or file.
The weblog is:
/people/saravanakumar.kuppusamy2/blog/2005/01/20/configuration-tips-for-a-business-serviceintegration-process-to-send-back-ale-audit-idoc
I mean get a try to this, if this donot work we can troubleshoot or think of alternative solution.
Have a great day!!
Anirban. -
How to design an IDOC-XI-JDBC interface
Hello Experts!
I'm looking for some guidance on how to design an interface where R/3 is sending an IDOC to XI (via IDOC Adapter Receiver), then XI transforms this data into a JDBC database INSERT action.
I want to make to make the JDBC request a SYNC interface so that I can capture the number of rows inserted into the database and do some appropriate action when the insert count returns a zero value.
Since the IDOC to XI interface is ASYNC, how do I design my link so I can redirect the JDBC response out to a different adapter?
Thanks for your help!
XI RookieHi,
This will help you
/people/siva.maranani/blog/2005/05/21/jdbc-stored-procedures
/people/laxman.molugu/blog/2006/08/13/integration-with-databases-made-easy-150-part-1
Re: Idoc triggering from a transaction
Message Mapping - JDBC to IDoc
Re: JDBC - System/Application Acknowledgement
/people/michal.krawczyk2/blog/2005/09/01/xi-idoc-adapter--edidc40--demystified
Regards
Agasthuri Doss -
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. -
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 -
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>
Maybe you are looking for
-
How do I get rid of the 'buump.me' home page? It just keeps coming back.
I'm using Ubuntu 12.04 OS and my firefox web browser is compromised with this 'buump.me' home page which I can't get rid of. I've been into the cache, deleted all my cookies, manually changed the home page and the backup home page in the preferences
-
Deleting tracks from library within smart playlists
I use iTunes 10.6.1 (7) on Mac. I spend some time googling and searching for solutions for my problem, but everything is either outdated or simply doesn't work. I have a smart playlist with all songs that are matched on iTunes Match, but which are be
-
IPhone 5 cant restore error 4005
Keeps showing this, gets stuck & won't restore
-
Hi, I've a form with 12 blocks. We are displaying the these twelve blocks in the tab canvases(Tab attachment Edge: Top). The problem with these tab canvas is user can see only the names of 4 tab canvases. Then he need to navigate using the scrollbar.
-
Hi all, I'm working with webDynpro applications. I can create the iView correctly but I get several JavaScript errors when the iView is loaded: - <b>'sapUrDomainRelaxing' is not defined</b> - <b>Object expected </b> - <b>'SSR' is not defined </b> The