ABAP Proxy - JDBC scenario - checking condition insert_count
Hello,
I'm still fresh to XI topics and I'm supposed to do the scenario that sends data using JDBC
My scenario mapping is as follows:
1) Delete tables A and B
2) Insert table A and B
3) if step 2 is sucessfull Insert table C
I know what to do till step 2) according to help: http://help.sap.com/saphelp_nwpi711/helpdata/en/44/7b7171fde93673e10000000a114a6b/frameset.htm
I have message mapping that triggers DELETE(1) and INSERT(2) but I do not know implement step 3
I know only that it is saved in <insert_count>count</insert_count> but have no idea how to use it?
Should I
1) do new mapping and integrate it in BPM Process
2) is it possible to solve all 3 points in one mapping?
Any ideas, any detailled steps?
Thank you very much in advance
you can use a bpm in which you can check the response message of step two for the insert_count value and then proceed with another step to do the further processing.
Similar Messages
-
Acknowledgement for AsynThird-party-- SOAP-- PI-- ABAP proxy-- ECC scenario
Can someone please provide me a step-by-step for Third-party>SOAP>PI>ABAP proxy>ECC scenario.
Third-part system is sending an Asynchronous HTTPS message to PI which is then routed to the ECC system to do some processing. I have read many blong and all SAP Docu available on this subject, but i am still confused.
I understand that ABAP Proxies supports acknowledgement, but what needs to be done in the third-party system to be able to receive acknowledgements. Is there any special config. that needs to be done in Sender SOAP adapter?
What diff. needs to be done in ABAP proxy to be able to send acknowledgement messages, any config. in XI receiver adapter?
I will appreciate any guidance.
Thanks,
SaurabhHI
Third party application need to have the synchronus communication enabled. If not then you need to get a wrapper develop for this kind of communication
For proxy development
Just go through these links:
How to create proxy.
http://help.sap.com/saphelp_nw04/helpdata/en/14/555f3c482a7331e10000000a114084/frameset.htm
ABAP Server Proxies (Inbound Proxy)
/people/siva.maranani/blog/2005/04/03/abap-server-proxies
OutBound Proxy (Client Proxy)
/people/sravya.talanki2/blog/2006/07/28/smarter-approach-for-coding-abap-proxies
Outbound Proxy (Client Proxy)
/people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
How to Activate Proxy.
/people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies
File to R/3 via ABAP Proxy with good example
/people/prateek.shah/blog/2005/06/14/file-to-r3-via-abap-proxy
http://help.sap.com/saphelp_nw2004s/helpdata/en/48/d5a1fe5f317a4e8e35801ed2c88246/frameset.htm
Synchronous Proxies:
Outbound Synchronous Proxy
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/abap%2bproxy%2boutbound%2bprogram%2b-%2bpurchase%2border%2bsend
Inbound Synchronous Proxy
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/abap%2bproxy%2binbound%2bprogram%2b-%2bsales%2border%2bcreation -
On running Proxy-> JDBC Scenario
i found out that no data is being passed through the Communication channel for this scenario ( but for another scenario also i am using the same communication channel, there it is passing the data ) but i can see the data in SXMB_MONI of XI.
Don't know where is the issue..?
Regards,Hi Guys,
Finally i resolved ..
Since for the sender data type(and hence msg type,and also i was using that for proxy generation) i was not using the namespace but was using the namespace for receiver side..
At the time of message mapping message types were also mapped..but since no namespace was coming from Sender Message ..so it was throwing the error in RWB..
Hope it will help others also..
Regards, -
Message flow in SAP PI 7.31 JAVA only for ABAP Proxy synchronous scenario with Oracle DB
Dear Experts,
I am working on a synchronous scenario Sender ABAP Proxy <===> SAP PI 7.31 JAVA only <===> Oracle Database.I have successfully
configured all the proxy configurations as well both Sender SOAP and JDBC receiver channels are showing no error when pinged from
Cc monitoring in NWA.
1.During testing at Tx SPROXY , I am triggering a message and after 5 minutes I receive an PARSING error message with 2 messages in ECC
local IE i.e. Tx SXMB_MONI.
Note : In NWA , I can see only 1 message that too in cancelled status.
2.Seeing the trace of the messages I assume that the messages have not moved from sender ECC system. I am still confused with flow of message
from the Message Audit log. Audit log of error messages.Could any one share the full Audit log of a successful message generated in SAP PI 7.31 JAVA only.
3.I observed that the QIN Scheduler status in ECC is in INACTIVE status. There is no queue id for 2 messages generated in ECC. Does
it should in ACTIVE status in Tx SMQR..
Regards
RebeccaHi Thomas,
Valuable inputs..
1. Since I don't have any audit log for successful message, would you be able to share referring to the
below screenshot whether the message was put into receiver JDBC adapter and JDBC adapter tried to retrieve the Select response from Oracle Database.
2.I have done some setting in Advance mode of the receiver JDBC to increase the time out and other parameters as per SAP note but still the issue is same. If you perhaps have some experience in such scenarios, please share some input so that I can ask the Oracle Database administrator exactly what is required from our side.
3.Regarding the slow response from Oracle , there was some suggestion that the datatype of the request and response should match the column name of the Oracle database. I did that.. Do you have any more suggestion that may be hampering the generation of the response message from the Oracle like SAP note or document.
Regards
Rebecca -
ABAP Proxy Sync scenario with error No Implementing class registered error
I am working in a ABAP proxy to Proxy scenario. The connectivity is between SEM and PI systems(SEM->PI->SEM). Outbound synchronus interface is used to create proxy (Client Proxy) its a SAP standard interface. This scenario is configured as below,
1) Sender and receiver business system is the same for SEM with same client.
2) No Message and Interface mapping is used.
Please let me know, if the configuration is correct. if then, how to solve this error?
Regards,
User PI.>>The connectivity is between SEM and PI systems(SEM->PI->SEM).
SEM->PI->SEM makes no sense. Why do you need PI here?
Any way, the error message implies the server proxy is not implemented (or activated) correctly. -
MAPPING.NO_MAPPINGPROGRAM_FOUND in JDBC Scenario
I have the problem:.
The scenario I have is Abap Proxy -> JDBC asynchronous, configure everything you need and the system threw me no errors. But when running the interface the system tells me the following error:
System failure
<s:SystemError <detail> xmlns:s="http://sap.com/xi/WebService/xi2.0"> <context> </ context> <code> MAPPING.NO_MAPPINGPROGRAM_FOUND </ code> <text> Mapping program is not available in runtime cache: Software Component Object ID B860572FD3AB3E9DA790882F58DE9DB2 30EF63B07D6811DF9B05E70FC0A90D2F </ text> </ s: SystemError> </ detail>
I followed all the instructions and notes OSS forums and I could not solve the problem:
Refresh all the objects
Java cache refresh yourself
CPA Refresh cache
Refresh cache for that specific object
Server Restart
The most strange thing is that while SAP PI the message is marked as an error in the database data is updated correctly.
Regards,
JohnnyHi,
I've completed all the checks you have recommended me. Delete everything and
create new objects and still get the same error.
Check SMX_MONI trx and saw two things that caught my attention:
The Request Message Mapping ProcessingMode says he is syncronous,
but the two services interfaces are asyncronous.
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!-- Request Message Mapping
-->
- <SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SAP="http://sap.com/xi/XI/Message/30">
- <SOAP:Header>
- <SAP:Main xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsu="http://www.docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" versionMajor="003" versionMinor="000" SOAP:mustUnderstand="1" wsu:Id="wsuid-main-92ABE13F5C59AB7FE10000000A1551F7">
<SAP:MessageClass>SystemError</SAP:MessageClass>
<SAP:ProcessingMode>synchronous</SAP:ProcessingMode>
<SAP:MessageId>00505683-6B63-1DDF-A08C-F62E9AE3367A</SAP:MessageId>
<SAP:RefToMessageId>00505683-6B63-1DDF-A08C-F62E9AE1F67A</SAP:RefToMessageId>
<SAP:TimeSent>2010-06-25T14:41:13Z</SAP:TimeSent>
The trace section at the end of XML, mentions that "Interface
mapping has no response mapping, but not in the services interfaces
I have as a response set because, as mentioned above all
scenario is asyncronous.
<Trace level="1" type="B" name="PLSRV_MAPPING_RESPONSE" />
- <!-- ************************************
-->
- <Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PLSRV">
<Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PLSRV_LOCAL" />
- <!-- ************************************
-->
<Trace level="1" type="B" name="CL_MAPPING_XMS_PLSRV3-ENTER_PLSRV" />
- <!-- ************************************
-->
<Trace level="1" type="T">Interface mapping has no response mapping</Trace>
</Trace>
<Trace level="1" type="B" name="CL_XMS_MAIN-WRITE_MESSAGE_TO_PERSIST" />
</Trace>
<Trace level="1" type="T">An Exception has occured</Trace>
<Trace level="1" type="T">Error Text: Mapping program is not available in runtime cache: Object ID 7CDFBA22E91535FDAFBD39466BC4C3D4 Software Component E4E4CB0073F711DFA67BD407C0A90D2F</Trace>
<Trace level="1" type="T">SystemError message generated. Guid: 005056836B631DDFA08CF62E9AE3367A</Trace>
<Trace level="1" type="T">Error during execution of message : C780BD7A27F24B60024EB6BD2BF1AEF9</Trace>
<Trace level="1" type="T">ApplicationMessage was (=RefToMsgId): 005056836B631DDFA08CF62E9AE1F67A</Trace>
<Trace level="1" type="B" name="CL_XMS_MAIN-WRITE_MESSAGE_TO_PERSIST" />
- <!-- ************************************
-->
</SAP:Trace>
Regards,
Johnny -
Jdbc scenario .. where to find the error msg
Hi,
I am working on a scenario,
abap proxy->jdbc adapter->MsSql server.
Whle testing,
i sent the payload xml from the sproxy test sceen.
After that, i checked the "Monitor for processed xml messages" screen (SXI_MONITOR).
There it shows the status "Processed successfully" for the message that i sent.
But when i checked the sqlserver database, the record is not inserted.
Where can i find, if anything gone wrong at Jdbc adapter, or there after.
Thanks in advance,
GaneshHi
apart from this communication channel you can see the message in adapter engine
to do this take the id of the message fromSXI_MONITOR
then go to transaction sxmb_ifr
inside this go to message Monitoring
under drop down select adapter engine and inside the window give the iD of your message which you have taken from MONI
if you are not getting the filter for message ID then click on additional filter and give the iD
after this you can see your message
select the radio butten inside your message and click on details
here you will get the log of each and every step which have been followed in processing the message and you can find the error exactly
regards
sandeep
If helpful reward points -
We have created some SWCVs. But some can be seen whereas some others cannot be seen!
The source and target systems are the same and all are JDBC sender to ABAP proxy receiver scenarios to the same client of ECC.
Only the products are different.
Can someone please help?
ThanksHi,
While dealing with the ABAp Proxies we have to activate the Settings in SAP R/3 System
How do you activate ABAP Proxies?
And also make sure that you have activated the newly created SWCV and do SLD Cache and SXI_Cache
Regards
Seshagiri -
Required setting for ABAP proxy.
Hi Experts,
I want to know what settings are required in both R3 and Xi to create and execute the ABAP proxies?
Thanx in advance.
Regards,
Pramod Thorat.Hi Pramod,
To create an ABAP proxy communication scenario, you need Web AS with wersion release >= 6.40
You can start with separate client proxy scenario and a server proxy scenario and then move on with a proxy to proxy scenario.
Also, Please go through this links:
http://help.sap.com/saphelp_nw04/helpdata/en/02/265c3cf311070ae10000000a114084/content.htm
/people/siva.maranani/blog/2005/05/23/communication-between-sap-system-webservice-using-proxies
/people/siva.maranani/blog/2005/04/03/abap-server-proxies
Thanks & Regards,
Varun Joshi -
Error while usinjg the JDBC to ABAP Proxy Scenario
Hello Rocks,
This is my scenario like JDBC --- Pi --- ABAP Proxy
while i am given a sender side jdbc XSD structure is like this
VWENTITYAGGREMENT
Row 1-unbound occurence
POOL_ID 0-1 occurence
CUST_ID
AGREEMENT
PRODUCT_ID
CONTRACT_TYPE
CONTRACT_TYPE_DESCR
AGRMNT_STATUS
STATUS_DESCR
EFFDT
TERMINATION_DT
ADD_DT
ADD_TM
while i am writing a select query in Sender JDBC CC is like this
SELECT POOL_ID,CUST_ID,AGREEMENT,PRODUCT_ID,CONTRACT_TYPE,CONTRACT_TYPE_DESCR,AGRMNT_STATUS,STATUS_DESCR,EFFDT,TERMINATION_DT,ADD_DT,ADD_TM FROM vwEntityAgreement.
Here i am getting this Error message like this :
Error Description: Database-level error reported by JDBC driver while executing statement 'SELECT POOL_ID,CUST_ID,AGREEMENT,PRODUCT_ID,CONTRACT_TYPE,CONTRACT_TYPE_DESCR,AGRMNT_STATUS,STATUS_DESCR,EFFDT,TERMINATION_DT,ADD_DT,ADD_TM FROM vwEntityAgreement'. The JDBC driver returned the following error message: 'com.microsoft.sqlserver.jdbc.SQLServerException: Invalid column name 'POOL_ID'.'. For details, contact your database server vendor.
So please give me your valuable inputs !
Regards,
Ravi.Invalid column name 'POOL_ID'.'. For details, contact your database server vendor.
Did you confirmed the name POOL_ID as suggested?
Why is the tablename different (check the case) in the query that you make and in the XSD structure that you mentioned......check if this is causing the problem.
Regards,
Abhishek.
Edited by: abhishek salvi on Jun 4, 2010 10:24 AM -
Hello SDN Rocks,
Here my scenario is JDBC to Pi to ABAP Proxy
Here internally RFC is trigering under proxy side.
Data is going to pi Box sucessfully but Pi to ECC side is not going it seems like <?xml version="1.0" encoding="UTF-8" ?>
- <ns1:Z_ZOTC_AGRMNT_DATA_VIA_001 xmlns:ns1="urn:sap-com:document:sap:rfc:functions">
<AGRMNT_TAB />
</ns1:Z_ZOTC_AGRMNT_DATA_VIA_001> Empty Blank structure is coming like this no data is coming under thisAGRMNT_TAB tab.
Please give me the Inputs from your end
Regards,
Ravi.Hello Friend ,
under abap proxy method my rfc will be triggering.
I think you got my point.
Regards,
Ravi. -
Using of Integration Scenario in a Abap Proxy to JDBC receiver synchronous
Hi ,
Can any one help me out how to go about for creating Integraion scenario in ESR as i'm new to the use of Integration scenario..
its an Abap proxy to Jdbc synchronous scenario... kindly help in this regards.Hi Indudhar,
Right click on the namespace where you want to create the IS and say new, Select process integration scenario option, give a suitable name and say OK.
In the Component View section right click on the first grey column and Insert a sender Application component. Enter ur product and the software component version. Like wise in the next grey column enter the target Application component.
Now go to the top level menu and click on view and select grid.
Now right click on each App. component and insert the created actions. If the scenario is sync then the actions will be side by side otherwise the target one will be in the next grid of the target app. component.
After entering the actions click on the source action then press shift and click on the target action, right click and choose create connection between the two actions.
Fill in the info and then save.
Regards,
Anshul -
Issue in Iodc- abap proxy scenario
Hi all
I have a idoc to abap proxy scenario. The issue is ,
when we send the idoc to client A of target system, it works ifne.
But when we send the saem mesage to Client B, we find a error message in sxmb_moni of Target system. the mesage is Application_fault.
Is it because of any error in XI configuration or somethin else.hi all
thanks for all your responses.
I forgot to mention that based on a particualr field value in the idoc , it will be routed to eihter Client 100 or 200 .
I gave the conditions in Receiver Determination.
Same Server Proxy is used in both the target business sytems.
I have done all the Configuration Steps ,( Created two separate business systems also )
Also I have checked wiht all the system settings to be made in the target system B.
When i trigger the idoc to Client 100, it goes to XI and then reaches Client 100 of System B
without any problem. I get the desired result from proxy code.
When i send the saem idoc to Client 200, it reaches the target system and routed to client 200. But getting this error message in
the Call Inbound PRoxy step. (from sxmb_moni)
<SAP:Category>Application</SAP:Category>
<SAP:Code area="ABAP">APPLICATION_ERROR</SAP:Code>
Since it reaches the target system correctly, i guess there is nothing wrong in the XI configuration side.
But if its Application fault, how come the same data is processed successfully in one client whereas it thorws error in another. -
JDBC to ABAP PROXY ASYNCHRONOUS SENARIO
Hi Experts
JDBC to ABAP PROXY ASYNCHRONOUS SENARIO IN PI 7.4 ?
Can you tell me any one step by step procedure
BR,
SagarHi Sagar
Check the documents below and you will be able to create the whole scenario.
JDBC sender part:
SAP PI Adapter Series: JDBC Adapter Configuration
ABAP proxy receiver part:
Step-by-step FTP to ABAP Proxy - Process Integration - SCN Wiki -
Handling Transport ack. in Abap Proxy to JDBC Scanario
HI all
I have a scanario where i have message which is being sent from an abap proxy to a SQL Server database using JDBC adapter. The scenario involves a BPM.While sending the message the message shows delivered in MDT (Message monitor for Adapter ) but the Business process is still executing and is waiting for the acknowledgement(transport) . Can anyone please tell me how do find where the exact prblem lies.And how do i delete these acknowledgements. Even though i deleted the work items the Ack Status column still shows "Still Awaiting Acknowledgement"
regards
Nilesh TaunkHi,
As metioned check the Send Step Properties ( mode etc)..
After changing activate the BPM and refersh the cache in SXI_CACHE and test the scenario.
also check the BPM technical details. For this go to SXMB_MONI>PE>Technical Details so that you can find the logs in the monitor.
Regards,
Moorthy
Maybe you are looking for
-
Solution manager system Landscape setup problems
Dear Expert, I tried to add new system DEV into solution manager landscape with the Assistant . But during the step Create RFC connections, it occured some errors below. RC=2: The user has no authorization in the target system (for the object S_RFCAC
-
No service for system ..PI, client. in Integration Directory -IDOC
Hi, I am getting following error when try to post IDoc frm SAP to SAP XI: No service for system ..PI, client. in Integration Directory -IDOC I have verified the following transactions: port,RFC destinations are correct in SAP and XI systems(verfied i
-
Aging in Ar not showing any transaction but its showing all the payments
Hi can anyone help in regard of this problem when i am going to run 7bucket aging report in AR it doesn't showing any transaction but it shows only receipts. even the transaction is due i don't know why its not showing any transaction we have just ge
-
Production System triggers alerts in development environment
Hi all. I've configured Alerts in XI development environment. I haven't configured them in any other environment yet but I'm getting alerts into the Alert Inbox of development environment, triggered by production XI system. How is this possible? Than
-
How do uninitialized shift registers work in reentrant VI's
If I am using what NI calls "Functional Global Variables" (see link) where you use an unitialized shift register in a "one shot" while loop, what happens to the functionality of the shift register if the VI is reentrant? http://zone.ni.com/reference