Insert + Delete in JDBC Reciever/ SOAP Reciever..
Hi,
I have a requirement where I need to send date from SAP to multiple recivers ( DB+ Webservice).
Now based on a field, it will be decided whether it is going to be FULL or Delta update.
In case of
1. Full: All the Db entries should be deleted and then the new records will be inserted.
2. Delta: Only new records will be updated.
Now I want to ask :
1. How can I do this using Db ?
I am aware I can use BPM or multiple MT in the mapping but I want to get detailed explaination about this plan.
2. How can I do this with SOAP adapter.
Hi. Why do you wanna use soap? you can do it with jdbc adapter.
1)
check:
http://help.sap.com/saphelp_nw70/helpdata/en/4d/8c103e05df2e4b95cbcc68fed61705/content.htm
you will have to create two statementName nodes, when for insert and one for delete actions.
2)
In case you have to send to multiple receivers based on source message you will have to use enhanced receiver determination. There you can create only one receiver determination, that will decide where to send message. Then you have to create several interface determinations, one for each receiver System.
check:
http://help.sap.com/saphelp_nw70/helpdata/en/43/a5f2066340332de10000000a11466f/frameset.htm
There is much more info in sdn regarding this kind of requirement!
Hope it helps
Regards,
Federico
Similar Messages
-
Error in Soap Reciever Adapter?
Hi all
Please do suggest resolution of this error in SOAP Reciever adapter
2006-07-04 04:50:47 Error SOAP: error occured: java.io.IOException: invalid content type for SOAP: TEXT/HTML
2006-07-04 04:50:47 Error Exception caught by adapter framework: invalid content type for SOAP: TEXT/HTML
2006-07-04 04:50:47 Error Delivery of the message to the application using connection AFW failed, due to: invalid content type for SOAP: TEXT/HTML.
with regards
subrato kunduHi,
Please look at this thread:
DeliveryException:: invalid content type for SOAP: TEXT/HTML
Regards
Vijaya -
Invalid content type for SOAP: TEXT/HTML on Reciever SOAP
HI All,
I have a reciever SOAP channel setup to send a message and its attachments to a supplier. The recieving application is as follows:
"It just receives the stream or contentStream and print out the content. It's just a test to see what you sent to us. It processes all http/https messages."
If I leave the SOAP Envelope on I get the content type error in the header. If I turn the Enveloper off, I get a successful post. They are try to trap what I send to build a SOAP processor, so they want the SOAP envelope. What could be causing this?
Kind Regards,
ChrisHi Richard,
The web service address that we must type in target URL of receiver soap adapter is the address to the WSDL. To be sure types this address in your browser and you must see a WSDL code of the webservice that you want invoke.
The reason that you are getting Delivery Exception: invalid content type for SOAP:TEXT/HTML. is because you are trying to invoke a web service with wrong address.
So, when SOAP receiver adapter try to put the message on the target side, it cant and automatically receives an HTTP acknowledge in HTML format. As SOAP adapter doesnt understand HTML code only XML code, it cant recognize what kind of error is and generates an exception indicating that the content type is invalid.
Delivery Exception: invalid content type for SOAP:TEXT/HTML is equal to any HTTP code, I have almost sure that HTTP code is a 404 Not Found, but you cant see it...
Post the URL here for I can check
Cheers,
Ricardo. -
Dynamic Username and password in SOAP reciever
Hi,
We have a requirement where we have to post the data to a webservice using SOAP reciever. However, the challenge is that we have multiple username/PWD and based on a field in source message, decide at the runtime, which Username/PWD to choose.
Please suggest how can we proceed.Authentication Keys
If authentication is required for the receiver system, you can enter a password and a confirmation for each key value. This means that you do not need to write passwords in the enhanced message header.
If you want to specify or display authentication keys, select View Authorization Keys.
You can enter and confirm passwords for each authentication key value (TAuthKey or TproyxAuthKey).
http://help.sap.com/saphelp_nw04/helpdata/en/29/5bd93f130f9215e10000000a155106/content.htm
Add field inside SOAP header PI 7.1 -
Hi All,
I have proxy>>BPM>>Reciever Web service scenario.
It is working fine in DEV and QA and now we are moving it to the PRD system. My concern is that do I need to check for any port opening or firewall policy to enble to receiver URL in PRD system?
I want to know if this activity is required from reciever SOAP channels.
Thanks in advance.
Regards,
RahulHi Rahul,
If the third party system is in a different zone than that of your source, then ports needed to be opened unidirectional way to that servers IP(Internet protocol) from your PI server.
Also you need to check the target URL in the PI server browser (Firefox etc) and if it is able to access the web-service, then the communication will be fine.
Mutti -
Can Soap sender channel be directed to Soap reciever channel
Hi
I have a three layer architecture on the target side. First layer is Web AS, Second layer is Web AS asd third is PI server.
Now i am recieving Soap messages from a source PI. Its a SSL communication. I have to terminate SSL on the first Web AS and pass on the same soap message to third layer that is PI server.
Do i have to configure a Soap sender channel on Web AS to terminate SSL?
If i do configure Soap sender channel on Web AS , how do i send the same soap message to third layer that is PI server. I dont want to write the incoming file at any location and then pick it up and send it through SOAP reciever channel. Is there a way to direct the same SOAP message from SOAP sender channel to SOAP reciver channel.>>pass on the same soap message to third layer that is PI server.
If you simply want to pass on the same messages,why not use configure multiple receiver/interface for it.
Thanx
Aamir -
SOAP reciever channel inactive
I have a SOAP reciever adapter but in RWB communication channel monitoring it shows tobe "Started but inactive"
Can anyone suggest any possible reason and solutionHi,
please have a look here:
SOAP Adapter Started but not active
Regards
Patrick -
SYSTEM ERROR IN JDBC - XI - SOAP -
Hi All
Actually i am through a JDBC -> XI-> SOAP (webservice)->XI -> FIle scenario using BPM, its mapping for the first half i.e JDB -> XI -> SOAP is like - Data uses the JDBC adapter , initially passes the JDBC outbound async interface , then it enters into IP(BPM) through abstract async interface (service for BPM: "requestservice_IP" ).Mapping takes place outside the BPM so message type passes through "sync abstract" interface (mapping takes place here) and finally to SOAP adapter(request reciever and sends response ) i .e webservice.
Data is mapped properlly and but problem lies in SOAP adapter, as it recognises the webservice but it is not processing it further .So only mapping takes place from JDBC datatype to SOAP datatype but data is not able to poston to the available webservice mentioned in SOAP target URL.
In SXMB_MONI , upto the mapping for first half its ok but for SOAP adapter its showing ERROR CATEGORY - MESSAGE and ERROR ID - GENERALHey all more info regarding the persistent problem is in here
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!-- Call Adapter
-->
- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
<SAP:Category>XIAdapterFramework</SAP:Category>
<SAP:Code area="MESSAGE">GENERAL</SAP:Code>
<SAP:P1 />
<SAP:P2 />
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText>com.sap.aii.af.ra.ms.api.DeliveryException</SAP:AdditionalText>
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack />
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
please have a look at it -
Stored proecedure tutorial for insert, delete, update,select
I want to integrate the stored procedure in my project
i am using jsp,
any one suggest me, stored proecedure tutorial for insert, delete, update,select
thanx.Whether you are using JSP or not should not affect your decision (though I would recommend checking out the MVC pattern, and recommend against doing data access code from your JSP's).
You simply need one tutorial on how to invoke a stored procedure. The stored procedure you write can have INSERT, SELECT, UPDATE, DELETE, whatever. You simply have to master the concepts involved in java.sql.CallableStatement. (And then you can get more fancy with vendor-specific extensions).
However, I am a bit confused. You want a tutorial on stored procedures, but then you indicate very normal DML statements like INSERT, UPDATE and DELETE. All of these (queries, DML and stored procedures) fall under the general umberella of JDBC. So, it is always a good place to start with a plain ole JDBC tutorial.
java.sun.com/docs/books/tutorial/jdbc/index.html
www.onjava.com/pub/a/onjava/2003/08/13/stored_procedures.html
- Saish -
Update/insert/delete data from xcelsius to Database via web service
Hi,
I need to create dashboard that go function can <b>update/insert/delete</b> data send to <u>Database</u> thru <u>web services</u>, as i know got 2 xcelsius add-on software which support those of function <b>InfoBurst</b> and <b>flynet </b>
<b>InfoBurst</b>
http://www.infosol.com/azbocug/minutes/4-Writeback%20to%20a%20Database%20with%20Xcelsius.pdf
<b>flynet </b>
http://www.flynetviewer.com/public/community/Blogs/FlynetXcelsiusServerUser/default.aspx
Except this 2 purchase add-on xcelsius, any other solution ?
Maybe need to write some in MSSQL or C# programming which enable insert, update, delete ...etc ?
*note: i not use Xcelsius Engage Server , i use Xcelsius Engage only
thanks,
regards
s1
Edited by: Leong Pui Kee on Mar 1, 2011 6:06 AMHi,
As of now in Xcelsius/Dashboard Design there is no feature or functionality to insert/update/delete data from database.
Solution:
Create a Web service in let’s say C# or Java, which will perform insert/update/delete operation.
In Xcelsius add Web Service connection and user above web service.
Xcelsius Web Service connection provides option to pass input values to a Web Service (Input Pane) and get the result (Output values pane).
We can pass values to be written to the database as a input to Web Service via Web Service connection from Xcelsius and write data to the database.
Note:
Performing delete operation from Xcelsius Dashboard could be risky and may delete important data from database. I would not prefer giving delete option/functionality in Xcelsius dashboard.
Hope this helps!
Thank you.
Regards,
Vinay Mhaske -
How to remove the the standard button APPEND/INSERT/DELETE in webdynpro alv
Hello,
how to remove the the standard button APPEND/INSERT/DELETE in webdynpro-abap alv
Thanks
RaksharUse this.
data lo_cmp_usage type ref to if_wd_component_usage.
lo_cmp_usage = wd_this->wd_cpuse_alv1( ).
if lo_cmp_usage->has_active_component( ) is initial.
lo_cmp_usage->create_component( ).
endif.
data lo_interfacecontroller type ref to iwci_salv_wd_table .
lo_interfacecontroller = wd_this->wd_cpifc_alv1( ).
data lo_value type ref to cl_salv_wd_config_table.
lo_value = lo_interfacecontroller->get_model(
data: lr_std type ref to if_salv_wd_std_functions.
lr_std ?= lo_value.
lr_std->set_export_allowed( abap_false ).
NOte: ALV1 is alv component name
Regards
Srinivas
Edited by: sanasrinivas on Dec 1, 2011 6:11 AM -
How do I insert/Delete/Update a row to the DB Table from Business Component Browser
I am using the wizard and created a project containing Business component which contain some table.
When I run the project I could see "Oracle Business Component Browser(local)" and when I select some table from "View Object Member" I get a window displaying all the field of that table and I could browse all the info.
My Problem is when I try to insert a new record/Delete the existing record or update some record it never gets reflected to the DataBase.
When I try to insert a new row I did save and there was a dialog box displayed saying "Transaction ID is 1". But finally It's not reflected in the Database.
Can some one guide me how can I do insert/delete/update operation from Oracle Component Business Browser so that the changes reflect to the Original DataBase.
Thanks in advance
JitendraJitendra,
This may be a problem of caching. If you do an update,insert, or delete, and do not receive an error, then the transaction should indeed be posted.
I assume you are hitting the Save icon after your changes if you are getting a transaction ID. Are you checking for the updates through another session (i.e. SQL*Plus), or do you then requery the View Object in the tester? Do you exit the tester and come back in and not see the changes? -
Inserting/ deleting a line item in MIGO Transaction ( Goods Issue )?
Hi,
Can anyone help me with the logic for Inserting / deleting a line item in MIGO Transaction?
Thanks,
csHi
The following user exits and badis for migo:
Check the mb_migo_badi and check the method 'LINE_MODIFY' for u r purpose.
For undestanding see the documentation of the badi and see the example implementation
class: CL_EXM_IM_MB_MIGO_BADI
Enhancement/ Business Add-in Description
Enhancement
MB_CF001 Customer Function Exit in the Case of Updating a Art. Doc.
MBCF0011 Read from RESB and RKPF for print list in MB26
MBCF0010 Customer exit: Create reservation BAPI_RESERVATION_CREATE1
MBCF0009 Filling the storage location field
MBCF0007 Customer function exit: Updating a reservation
MBCF0006 Customer function for WBS element
MBCF0005 Article document item for goods receipt/issue slip
MBCF0002 Customer function exit: Segment text in article doc. item
Business Add-in
MB_RESERVATION_BADI MB21/MB22: Check and Complete Dialog Data
MB_QUAN_CHECK_BADI BAdI: Item Data at Time of Quantity Check
MB_PHYSINV_INTERNAL Connection: Core Inventory and Retail AddOn
MB_MIGO_ITEM_BADI BAdI in MIGO for Changing Item Data
MB_MIGO_BADI BAdI in MIGO for External Detail Subscreens
MB_DOC_BADI_INTERNAL BAdIs when Creating an Article Document (SAP Internal)
MB_DOCUMENT_UPDATE BADI when updating article document: MSEG and MKPF
MB_DOCUMENT_BADI BAdIs when Creating an Article Document
MB_CIN_MM07MFB7_QTY Proposal of quantity from Excise invoice in GR
MB_CIN_MM07MFB7 BAdI for India Version exit in include MM07MFB7
MB_CIN_LMBMBU04 posting of gr
MB_CHECK_LINE_BADI BAdI: Check Line Before Copying to the Blocking Tables
ARC_MM_MATBEL_WRITE Check Add-On-Specific Data for MM_MATBEL
ARC_MM_MATBEL_CHECK Check Add-On-Specific Criteria for MM_MATBEL
If it is helpfu rewards points
Regards
Pratap.M -
Insert, Delete and Update options in Table control
Experts,
I have writen code for Insert, Delete and Update options in Table control. They are not working properly...
can any one send the code for the above please...
Thanks in advance..Hi,
Following steps will help you.
1.TOP-INCLUDE
DATA: ITAB1 LIKE KNA1 OCCURS 0 WITH HEADER LINE.
DATA: ITAB2 LIKE KNA1 OCCURS 0 WITH HEADER LINE.
DATA: WA LIKE KNA1.
DATA: ANT TYPE I,CUR TYPE I.
DATA: OK_CODE TYPE SY-UCOMM.
CONTROLS: TABCTRL TYPE TABLEVIEW USING SCREEN 100.
IN FLOWLOGIC
PROCESS BEFORE OUTPUT.
LOOP AT ITAB1 CURSOR CUR WITH CONTROL TABCTRL.
ENDLOOP.
PROCESS AFTER INPUT.
MODULE CLEAR_DATA.
LOOP AT ITAB1.
MODULE MOVE_DATA.
ENDLOOP.
ADD OK_CODE IN ELEMENT LIST. CLICK ON LAYOUT AND ADD TABLE CONTROL(name it as TABCTRL) AND PUSHBUTTONS AS FOLLOWS.
SELECT THE FIELDS FROM PROGRAM. SAVE CHECK AND ACTIVATE.
CLICK ON FLOWLOGIC EDITOR FROM APPLICATION TOOL BAR.
DOUBLE CLICK ON MODULE CLEAR_DATA.
write the in this module as below.
CLEAR ITAB2. REFRESH ITAB2.
DOUBLE CLICK ON MODULE MOVE_DATA.
write the code in this module as below.
APPEND ITAB1 TO ITAB2.
ACTIVATE PAI AND WRITE THE CODE AS BELOW.
CASE OK_CODE.
WHEN 'FETCH'.
SELECT * FROM KNA1 INTO TABLE ITAB1 UP TO 20 ROWS.
TABCTRL-LINES = SY-DBCNT.
WHEN 'ADD'.
GET CURSOR LINE CNT.
CNT = TABCTRL-TOP_LINE + CNT - 1.
CLEAR WA.
INSERT WA INTO ITAB1 INDEX CNT.
WHEN 'MODIFY'.
GET CURSOR LINE CNT.
READ TABLE ITAB2 INDEX CNT.
LOOP AT ITAB2.
MODIFY KNA1 FROM ITAB2.
ENDLOOP.
SELECT * FROM KNA1 INTO TABLE ITAB1.
WHEN 'EXIT'.
LEAVE PROGRAM.
ENDCASE.
SAVE,CHECK AND ACTIVATE ALL.
CREATE TCODE AND EXECUTE.
contact if u hv any issues regarding this code.
reward points,if it is useful.
Thanks,
Chandu. -
Oracle Auditing for Insert/delete in a Table
Dear Oracle Guru's
I have a Master table for which records are added manually using the Insert command and not by any front end tools.
I have no Auditing for this table , like when an insert/delete is made in to this table.
Does oracle provides any other Tables/views like v$session to find out when such events happens.
Kindly guide me
With Warm Regards
ssrProbably not.
If your database is in ARCHIVELOG mode and you have the archived logs from the point in time that the DML happened, you could potentially use LogMiner to read the redo logs and get information about when the DML happened and who was responsible. That tends, however, to be a relatively painful manual process that is frequently complicated by the fact that most shops get rid of archived logs as soon as they are no longer necessary for database recovery which is frequently a matter of days or weeks.
Justin
Maybe you are looking for
-
Is there a known issue with Mavericks and Outlook 2011 printing?
Title says it all. I was reading up on past forums both Apple/Microsoft when 10.6.8 messed up Outlook printing, was wondering if anyone else is having a similar issue. I am currently on 10.9.2. I began noticing the issues after updating to 10.9.2. To
-
I have an SQL Report with a link to a detail page. The link works for 9 out of the 10 rows, but on the 10th row, I'm getting a http 404, broken link error. The link is the same, session is the same, and the only difference is value of the key being p
-
Create Custom response file for Oracle 9i client
I am trying to create a customized response file for oracle 9i client installation, setup -record -destinationFile C:\response_files\install_oracle i replaced setup with the path and i followed the instruction correctly, after the installation is don
-
I am trying to change web browsers. Firefox which I normally use(d) – and used for sending this post – has started to become unreliable and no suitable updates are available. So I changed over to a newly updated version of Safari but now find that I
-
Hi, Documentation says that the QUORUM disks does not contain any user data and the QUORUM disk are added as the failure groups to the disk groups? didnt find much on google as well. Can any one please confirm 1. are the quorum disks created to conta