How to Update the data in R/3 From BW
Hi All ,
I Need some suggestion . i want to update the data of MARC table in R/3 from BW . Here data goes from BW to R/3 . so How to do this ? . There are no standard BAPI's in BW for this .
Thanks
Prithvi.
Hi,
The scenario you are explaining is little opposite to what happens generally. Are you sure, you want to update R/3 from BW?
If you have to update MARC table that means you have to extend the material for different plants. Try using BAPI_MATERIAL_SAVE_DATA.
Regards,
Ravi
Note : Please mark all the helpful answers
Similar Messages
-
How to update the data in sqlserver table using procedure in biztalkserver
Hi,
Please can any one answer this below question
how to update the data in sqlserver table using procedure in biztalkserver
while am using executescalar,typedprocedure getting some warning
Warning:The adapter failed to transmit message going to send port "SendtoSql1" with URL "mssql://nal126//MU_Stage2?". It will be retransmitted after the retry interval specified for this Send Port. Details
Please send me asap....
Thanks...Hi Messip,
A detailed error would have helped us to answer you more appropriately but
You can follow the post which has step by step instructions, to understand how to use Stored Procedure:
http://tech-findings.blogspot.in/2013/07/insert-records-in-sql-server-using-wcf.html
Maheshkumar
S Tiwari|User
Page|Blog|BizTalk
2013: Inserting RawXML (Whole Incoming XML Message) in SQL database -
How to update the data the transparent table CKMLMV013 ?
How to update the data the transparent table CKMLMV013 ?
can you please replay asap.
thanks,
sambaHi,
if you do a "where used" search of the table CKMLMV013 you will see that it is updated in several places:
e.g. fm CKML_ORDER_CONNECTION_UPDATE
Have a look at those places where the table is updated.
Best regards. -
How to move the data of a table from sqlplus to XML file
Hi,
Could you pls guide me how to move the data of a table from sqlplus to XML file.
i want to do it from sqlplus rather than toad.pls help
ThanksOh..I'm in 9i.
Try this out..and let me know.
DECLARE
CTX DBMS_XMLGEN.CTXHANDLE ;
XML CLOB ;
F UTL_FILE.FILE_TYPE;
XMLC VARCHAR2(32767);
BEGIN
CTX := DBMS_XMLGEN.NEWCONTEXT('SELECT * FROM department1 ') ;
XML := DBMS_XMLGEN.GETXML(CTX) ;
XMLC:=TO_CHAR(XML);
SHOW_ENVELOPE(XMLC);
F := UTL_FILE.FOPEN('ATTACH_FILES','DEPT.XML', 'W');
UTL_FILE.PUT_LINE(F,XML);
UTL_FILE.FCLOSE(F);
END ;
Good luck!!!
Bhagat
null -
How to update the data in database in webdynpro
I have to update the data in databse table using adaptive rfc in WebDynPro
Hi,
You can refer to these links:
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/wdjava/faq%2b-%2bmodels%2b-%2badaptive%2brfc
Update data into SAP Table
http://help.sap.com/saphelp_nw70/helpdata/en/41/38bc8f813719488ddc9d9b21251ec3/frameset.htm
http://help.sap.com/saphelp_nw70/helpdata/en/d5/1558bfa6aa80499113983e738b1b21/frameset.htm
Regards
Inder -
How to updated the data into Database table
Hi Guy's,
Please help me Using Tabstrip control how to updated the related infotype records into related database table.
Thanks and Regards,
Sai.Hi Guy's,
Please help me Using Tabstrip control how to updated the related infotype records into related database table.
Thanks and Regards,
Sai. -
How to extract the data into Excel / PDF from SAP
Hi,
We have spool number of a report output.
We want to extract the data into Excel / PDF from SAP directly...
Plz guide...Hi ,
Please check this [Thread|HOW TO DOWNLOAD SAP OUTPUT TO EXCEL FILE;. Hope your problem will be solved.
You can check [this also.|http://wiki.sdn.sap.com/wiki/display/sandbox/ToConvertSpoolDataintoPDFandExcelFormatandSenditinto+Mail]
Thanks,
Abhijit -
How to update the data base table with data
i have two ztables, one is zfm_kfz and other one is zfm_kmvrg
zfm_kfz is maintained by using table maintenance generator as well as alv grid control for list display.
zfm_kfz the field r like this KFZR, GERAET, KOSTENTRAEGER, BEZEICHNUNG, TUVDATUMMMYYYY, ASUDATUMMMYYYY, KMSTAND, HISTO AND REIFEN.
PROBLEM: all the data in grid control r updated except KMSTAND
fields in zfm_kmvrg are kostentraeger, kfznr and kmstand i m creating table control for this screen here what ever enter the last km stand is updated in the list.for one kfznr many kostentraegers and kmstand, the last km stand is updated here , go through this code plz hepl me
CONTROLS tabctrl TYPE TABLEVIEW USING SCREEN 100.
DATA: cols LIKE LINE OF tabctrl-cols,
lines TYPE i.
DATA: ok_code TYPE sy-ucomm,
save_ok TYPE sy-ucomm.
DATA: itab TYPE TABLE OF zfm_kmvrg,
fs_itab LIKE LINE OF itab,
fl_change TYPE c,
fl_error TYPE c.
*TABLES fs_itab.
LOOP AT tabctrl-cols INTO cols.
cols-screen-input = '0'.
MODIFY tabctrl-cols FROM cols INDEX sy-tabix.
ENDLOOP.
*SELECT * FROM spfli INTO TABLE itab.
CALL SCREEN 100.
MODULE status_0100 OUTPUT
MODULE status_0100 OUTPUT.
SET PF-STATUS 'SCREEN_101'.
DESCRIBE TABLE itab LINES lines.
tabctrl-lines = lines.
ENDMODULE. "status_0100 OUTPUT
MODULE cancel INPUT
MODULE cancel INPUT.
LEAVE PROGRAM.
ENDMODULE. "cancel INPUT
MODULE read_table_control INPUT
MODULE read_table_control INPUT.
MODIFY itab FROM fs_itab INDEX tabctrl-current_line.
ENDMODULE. "read_table_control INPUT
MODULE user_command_0100 INPUT
MODULE user_command_0100 INPUT.
DATA:
lw_index TYPE i.
save_ok = ok_code.
CLEAR ok_code.
CASE save_ok.
WHEN 'ADD'.
LOOP AT tabctrl-cols INTO cols.
cols-screen-input = '1'.
MODIFY tabctrl-cols FROM cols INDEX sy-tabix.
ENDLOOP.
CLEAR fs_itab.
APPEND fs_itab TO itab.
WHEN 'SAVE'.
IF NOT itab[] IS INITIAL.
LOOP AT itab[] into FS_ITAB.
lw_index = sy-tabix.
IF NOT fs_itab IS INITIAL.
MODIFY ZFM_KMVRG FROM fs_itab.
IF sy-subrc EQ 0.
UPDATE ZFM_KFZ set kmstand = fs_itab-kmstand
WHERE kfznr = fs_itab-kfznr.
ELSE.
fl_error = 'X'.
WRITE:/ 'The record number', lw_index,
'has not been updated'.
ENDIF.
ENDIF.
ENDLOOP.
ELSE.
MESSAGE s000(0) WITH 'No data is present to update'.
ENDIF.
ENDCASE.
IF fl_error = 'X'.
LEAVE TO LIST-PROCESSING.
ELSE.
MESSAGE s000(0) WITH
'All the records have been updated successfully'.
ENDIF.
ENDMODULE. "user_command_0100 INPUT
IN SE51
PROCESS BEFORE OUTPUT.
MODULE STATUS_0100.
LOOP AT ITAB INTO fs_itab WITH CONTROL tabctrl.
ENDLOOP.
PROCESS AFTER INPUT.
MODULE CANCEL AT EXIT-COMMAND.
LOOP AT ITAB.
module read_table_control.
ENDLOOP.
module user_command_0100.
i m trying many times i m not getting proper output, plz help me on thisHi,
I am hereby givng the similar sample code.Check this with your requirement.
In the flow logic of the screen 9000, write the following code.
PROCESS BEFORE OUTPUT.
MODULE set_status.
MODULE get_t_ctrl_lines.
LOOP AT i_makt WITH CONTROL t_ctrl CURSOR t_ctrl-current_line.
* Dynamic screen modifications
MODULE set_screen_fields.
ENDLOOP.
PROCESS AFTER INPUT.
LOOP AT i_makt.
FIELD i_makt-pick MODULE check.
FIELD i_makt-zmatnr MODULE zmatnr .
ENDLOOP.
MODULE user_command_9000.
In the program, write the following code.
PROGRAM SAPMZTC MESSAGE-ID zz.
* Tables Declaration
TABLES: zzz_makt.
* Internal table Declaration
DATA : i_makt TYPE STANDARD TABLE OF zzz_makt WITH HEADER LINE.
* Table control Declaration
CONTROLS: t_ctrl TYPE TABLEVIEW USING SCREEN '9000'.
* Variable Declaration
DATA : flg, "Flag to set the change mode
ln TYPE i. "No. of records
*& Module get_T_CTRL_lines OUTPUT
* Populating data
MODULE get_t_ctrl_lines OUTPUT.
SELECT zmatnr zmaktx
INTO CORRESPONDING FIELDS OF TABLE i_makt
FROM zzz_makt.
DESCRIBE TABLE i_makt LINES ln.
* To make the vertical scroll bar to come on runtime
t_ctrl-lines = ln + 100.
ENDMODULE. " get_T_CTRL_lines OUTPUT
*& Module USER_COMMAND_9000 INPUT
* Triggering event according to the user command
MODULE user_command_9000 INPUT.
DATA :lv_fcode LIKE sy-ucomm, "Function Code
lv_answer(1) type c. "Storing the answer
lv_fcode = sy-ucomm.
CASE lv_fcode.
WHEN 'CHANGE'.
* Setting the flag to make the table control in editable mode[excluding
* primary key].
flg = 'Y'.
WHEN 'DELETE'.
* Setting the flag to make the table control in editable mode after
* deleting the selected line
flg = 'Y'.
* Confirmation of delete
CALL FUNCTION 'POPUP_TO_CONFIRM'
EXPORTING
TITLEBAR = 'Confirm'
text_question = 'Are you sure to delete from database?'
TEXT_BUTTON_1 = 'Yes'(001)
TEXT_BUTTON_2 = 'No'(002)
IMPORTING
ANSWER = lv_answer.
if lv_answer eq '1'.
* Updating the database table from the internal table
UPDATE zzz_makt FROM TABLE i_makt.
* Deleting the selected row from the internal table
DELETE i_makt WHERE pick = 'X'.
* Deleting the selected row from the database table
DELETE FROM zzz_makt WHERE pick = 'X'.
MESSAGE s005 WITH 'Deleted Successfully'.
ENDIF.
WHEN 'SAVE'.
* Inserting new record or updating existing record in database table
* from the internal table
MODIFY zzz_makt FROM TABLE i_makt.
MESSAGE s005 WITH 'Saved Successfully'.
WHEN 'BACK'.
SET SCREEN '0'.
WHEN 'EXIT' OR 'CANCEL'.
* Leaving the program
LEAVE PROGRAM.
ENDCASE.
ENDMODULE. " USER_COMMAND_9000 INPUT
*& Module set_screen_fields OUTPUT
* Setting the screen fields
MODULE set_screen_fields OUTPUT.
LOOP AT SCREEN.
IF flg IS INITIAL.
screen-input = 0.
ELSEIF ( flg EQ 'Y' ).
IF ( ( screen-name = 'I_MAKT-ZMAKTX'
OR screen-name = 'I_MAKT-CHECK1' )
AND t_ctrl-current_line LE ln ) .
* Making the screen fields as editable
screen-input = 1.
ELSEIF ( ( screen-name = 'I_MAKT-ZMATNR' )
AND t_ctrl-current_line LE ln ).
* Making the screen field as uneditable
screen-input = 0.
ENDIF.
ENDIF.
* Modifying the screen after making changes
MODIFY SCREEN.
ENDLOOP.
ENDMODULE. " set_screen_fields OUTPUT
*& Module zmatnr INPUT
* Appending records to the internal table
MODULE zmatnr INPUT.
MODIFY i_makt INDEX t_ctrl-current_line.
IF t_ctrl-current_line GT ln.
READ TABLE i_makt WITH KEY zmatnr = i_makt-zmatnr.
IF sy-subrc NE 0.
* Inserting record if it does not exist in database
APPEND i_makt.
ELSE.
MESSAGE i005 WITH 'Material Number' i_makt-zmatnr 'already exists'.
ENDIF.
ENDIF.
ENDMODULE. " zmatnr INPUT
*& Module set_status OUTPUT
* Setting the GUI status
MODULE set_status OUTPUT.
SET PF-STATUS 'ZSTATUS'.
SET TITLEBAR 'ZTITLE'.
ENDMODULE. " set_status OUTPUT
*& Module CHECK INPUT
* Modify the internal table using the current line in table control
MODULE check INPUT.
MODIFY i_makt INDEX t_ctrl-current_line.
ENDMODULE. " CHECK INPUT -
How to Update the Date in PL/SQL using a variable?
Hi,
I am setting up a varchar of an update statement and would like to put a date variable for the value. It works when I just put SYSDATE in the statement, yet doesn't when I put the date variable. Gives me an ORA-0904 error. Thanks.
DECLARE
v_upd VARCHAR2(32767); -- update statement
l_date varchar(20);
BEGIN
select sysdate into l_date from dual;
v_upd := 'UPDATE table_name SET LAST_MODIFIED_DATE = ' ||
l_date ;
v_upd := v_upd || ' where xyz =''123'' ';
EXECUTE IMMEDIATE v_upd;
EXCEPTION
WHEN OTHERS THEN
ROLLBACK;
RAISE;
END;And you don't need to select sysdate from dual.
SQL> begin
2 UPDATE table_name
3 SET LAST_MODIFIED_DATE = sysdate
4 where xyz = '123';
5
6 dbms_output.put_line(sql%rowcount || ' rows updated.');
7 end;
8 /
55103 rows updated.
PL/SQL procedure successfully completed. -
How to set the date and time format from Windows Server 2008 R2
Hi,
I want to control my client's date and time format as dd/mm/yyyy format and I need to do it using the windows server 2008 R2. How can I achieve this goal?
Yoshika04Hi,
In Windows Server 2008 R2, you can use Regional Options Extension in Group Policy Preferences to configure the date and
time format. For more information, please refer to:
Regional Options Extension
http://technet.microsoft.com/en-us/library/cc754496.aspx
Regards,
Bruce -
How to write the data and get back from NI-9802 installed in cRIO 9081
Hello,
I am working on cRIO 9081, with NI-9467 GPS module and NI-9234 Acoustic module. I have generated the data from GPS as well as 9234 module.
Now I want to write this data in NI-9802, this means i required 2 FPGA vi in one project, and to dumb them in main RT vi.
So how can we do it ,please suggest me any solution...You can use webutil functions.
There are many posts in the forum... search for them!!
hope it helps you,
Fabrizio
If this answer is helpful or correct, please mark it. Thanks. -
How to Change the data type of infoobject from NUMC to CHAR
Hi Experts,
I have created an infoobject with data type as NUMC, i used in DSO as a key figure and i have loaded data up to PSA.
Now i want to change the data type of this Info Object from NUMC to CHAR.
Can anyone suggest me the solution for this issue.
Regards,
Venu Gopal.KHi pavan/binu,
I have not loaded data into DSO i just added IO in Key fields and i started editing this IO then im facing error like
1.Master Data Table /BIC/PZCUSTOMER contains data: Characteristic ZCUSTOMER cannot be activated
2.SID Table /BIC/SZCUSTOMER contains data: Characteristic ZCUSTOMER cannot be activated
Im also unable to edit the P & S tables in SE14.
NOTE:I have data only in PSA and when im trying to load data to DSO Im facing these issues. -
How to delete the date and time column from a waveform spreasheet file
after acquiring a signal through the DAQ i am writing it in a spreadsheet. but for further post processing of the data the date and the time column are unneccessary. is there some way to format the file in labview so that those columns are removed. the DAQmx read gives as output a 1 d array. so i could not find a way to select only the Y column
If you are getting a 1D array from the DAQmx Read, then you don't have any date/time information to write and if you are using the Write to Spreadsheet File, there should be no way you can have the date/time information in the file. Whatever you hjave programed to put the date/time into the file, don't do it.
p.s. You may not think you need timing information but for a lot of post-processing, it is essential to have. If it's in the file, you can always ignore when you read it and if you later find out it's necessary, it will already be there. -
How to handle the date attribute,passing parameter from one page to another
hi Friends,
i want to pass data attribute from one page to another page-
i am passing like below ,in jdev log window i am getting below error.
String StatusUpdateDate = row.getAttribute("StatusUpdateDate");
params.put("StatusUpdateDate",StatusUpdateDate)
Error(121,50): incompatible types; found: java.lang.Object, required: java.lang.String
Suppose i am passing like below , while moving one page to another i am getting below error in application
String StatusUpdateDate = row.getAttribute("StatusUpdateDate").toString()
Status Update Date - JBO-25009: Cannot create an object of type:oracle.jbo.domain.Date with value:26-MAR-2009
please can any suggest me how to handle this error.
Thanks and Regards,
vamshiHi Pratap, Thanks for your help
it was my mistake that previously property it was varchar2, now i have changed as you suggested every thing. still i am getting error. this is my code-
AM CODE-
public void xxselection(String Name, String Email,String Product,String Region, DATE StatusUpdateDate)
DetailVOImpl vo1=getDetailVO1();
vo1.initQuery2(Name);
Row detailRow = vo1.createRow();
detailRow.setAttribute("Name", Name);
detailRow.setAttribute("Email", Email);
detailRow.setAttribute("Product", Product);
detailRow.setAttribute("Region", Region);
detailRow.setAttribute("StatusUpdateDate", StatusUpdateDate);
vo1.last();
vo1.next();
vo1.insertRow(detailRow);
detailRow.setNewRowState(Row.STATUS_INITIALIZED);
Controller- Process Form Request- Source page
if (pageContext.getParameter("Detail")!= null)
String Name=row.getAttribute("Name").toString();
String Email=row.getAttribute("Email").toString();
String Product=row.getAttribute("Product").toString();
String Region=row.getAttribute("Region").toString();
DATE StatusUpdateDate =(DATE)row.getAttribute("StatusUpdateDate");
HashMap params =new HashMap();
params.put(" Name", Name);
params.put("Email",Email);
params.put("Product",Product);
params.put("Region",Region);
pageContext.putTransactionTransientValue("StatusUpdateDate",StatusUpdateDate); //As you suggested
pageContext.forwardImmediately("OA.jsp?page=/xxm/oracle/apps/pos/stg/webui/DetailStagePG",
null,
OAWebBeanConstants.KEEP_MENU_CONTEXT,
null,
params,
true, // retain AM
OAWebBeanConstants.ADD_BREAD_CRUMB_NO);
another page Controller-Process request-Destination page-
String Name = pageContext.getParameter("Name");
String Email = pageContext.getParameter(" Email");
String Product = pageContext.getParameter("Product");
String Region = pageContext.getParameter("Region");
DATE StatusUpdateDate=(DATE)pageContext.getTransactionTransientValue("StatusUpdateDate");
Timestamp tstmpStatusDate=StatusUpdateDate.timestampValue();
System.out.println("tstmpStatusDate"+tstmpStatusDate);
Serializable[] parameters1 = {Name,Email,Product,Region,tstmpStatusDate};
am.invokeMethod("xxselection", parameters1);
Error - getting at while running the application page to page
No method with signature - No method with signature - xxselection(class java.lang.String, class java.lang.String, class java.lang.String, class java.lang.String, class java.lang.String)
every thing is getting passed except DATE Attribute, please check the code and update me
Thanks in Advace-
vamshi -
Update the data in hGrid After fetching the data in Search Page
Hi All,
i have a search page,when we click on search button,we got the data and here we have update button to update the data,
here, i am going to show and updatae the data through hGrid functionality. i don't know how can we update through hGrid.
could you please tell me how we update the data through hGrid. Any examples are there in OAF ToolBox.
could you please any one explain this one.
Regards,Hi,
---In HGRID page try to create update button.
---In button set propertoes action , pass parameters in SPEL and set event:Update.
---In CO get the action of the event navigate to the next page.
---In update (3rd page) co process request get the value of po header id.
---Create eo based vo adn pass po header as bind param and execute the query.
---Here u can edit the fields
---after editing on click on save button call OADBTrancation.commit().
Regards
Meher Irk
Maybe you are looking for
-
Call Transaction and skip first screen in SE37
Hi All, I want call transaction SE37 and skip first screen of it. Is it possible through the statemen Call transaction 'SE37' and skip first screen ?. Of course I have populated the parameter id 'LIB' before this statement but it is not working. Thou
-
Is it possible to preserve creation/mod dates when transfering Mac-PC-Mac?
Hi there I tried researching the following problem on-line but couldn't find anything helpful so was hoping someone else might know something helpful. Historically I have always used PCs so until last year I didn't own a Mac, although I use them at w
-
With the new TC 2TB transfer data with Wire the speed is only 20kb per minute, can anybody help ? The fist Backup use for 260GB 15hours! The Wifi ist Bridge configured.
-
Customer Master email field - change log not appearing
Hi experts, We noticed that the changes to the email address are not appearing in the change log for customer master. Is this always the case? Will it be possible to include the email address in the change log? If so, how? Thanks!
-
Is there a special discount in software for students
is there a special discount in software for students studying in this area?