Adding Data
Hi All,
I'm searching for a function module or a class method for adding new master data to an infoobject in BIW. So I found a class called CL_RSDMD_UPDATE_MASTER_DATA, but I'm not sure, if it is the right class. I'm not a ABAP programmer, that's why I have problems to understand the whole coding.
The function module/class method should import the infoobject, and the customerID, and shorttext as you can add data over the transaction rsd1.
It also create the entries in the surrogat-id table.
Any suggestions?
Regards,
Marcel
Hi S.P.Pandey,
Thanks for your post and Glad to hear that the issue is resolved. If you would like to, you can post a reply to share your solution and mark it as answer. That way, other community members could benefit from your sharing.
Regards,
Sofiya Li
Sofiya Li
TechNet Community Support
Similar Messages
-
Adding data to a specific row in excel
Hi there,
I have problems with my data collection from serial read block. I get every time 16 bytes when I write certain command to my serial device. But after a continuous data written to excel, that is let say six rows of data and after that I get one byte of data which I do not want to save in current updating excel sheet.
For that now, I have taken a case structure with two cases, one case contains nothing when I read the one byte and another case contains the code(Spreadsheet file VI) for adding data to excel when 16 bytes received one by one. Still, I am not getting what I wish for. The one byte case adding zero to the current excel file at row 6 and then continuous with 16bytes of data in remaining rows and again after 6 continuous rows it adds zero and so on. I don't know why it is adding zero even i did not put any code inside the case of it.
How could I eliminate this adding of zeros?
Here it looks like in my excel sheet.
row1: 15 16 17 18 19 20
row2: 15 16 17 18 19 20
row3: 15 16 17 18 19 20
row4: 15 16 17 18 19 20
row5: 15 16 17 18 19 20
row6: 0 (This when one byte reception case which contains no spreadsheet file VI)
row7: 15 16 17 18 19 20
row8: 15 16 17 18 19 20
row9: 15 16 17 18 19 20
row10: 0
Any help here around!You misunderstood my point. I have no code inside the adding zero case. It adding by no meaning. I have only written in one case to add continuous data to excel when ever I receive more than one byte. If I receive one byte exactly, I would not like to append this to excel but currently my program is doing that.
I have added my code snippet which is not the current working code. I am out of access to my current code. But instead I have attached similar one. You merely assume that the data is coming form serial read block.
Thanks for your efforts.
Attachments:
Excel.vi 11 KB -
Adding data labels to column graph
I work in the financial industry and I have to add data labels to all bars that appear in my ten year performance graphs (see http://fundinvestor.calamos.com/ClosedEndFunds/CEFund.aspx?name=CHI under the "Performance" tab as an example). Is there a script that can do this? I saw there's this technique that Adobe offers for column totals: http://livedocs.adobe.com/en_US/Illustrator/13.0/help.html?content=WS714a382cdf7d304e7e07d 0100196cbc5f-619e.html but that's not working. What am I doing wrong? Adding data labels to bars is ridiculously simple in Excel, why can't I find the way to do it easily in Illustrator?
http://help.adobe.com/en_US/Illustrator/14.0/WS714a382cdf7d304e7e07d0100196cbc5f-619ea.htm l
That should do the trick.
Mylenium -
Adding data to Manual Distribution Rule from DIAPI
Hi
I am searching for the object to insert the data to OMDR (manual distribution rule) using DI API. Can any one help me out.
I found many questions related to adding data to manual distribution rule using DIAPI which were not answered.
Thanks in Advance.hi.
Just check the below posts.
object type of distribution rules
Distribution rules setup.. -
Adding data to multiple tables using one form in Access 2010?
Hi All,
I have a access database with two tables and I want to create a single form to enter data into that tables.
How to adding data to multiple tables using one form in Access 2010?
I don't have to much knowledge of access database?
Please help me
Thanks
BalajiYou really don't enter identical data into 2 tables. You enter dat into one single table, and then you have an unique identifier that maps to another table (you have a unique relationship between two tables).
Maybe you need to read this.
http://office.microsoft.com/en-001/access-help/database-design-basics-HA001224247.aspx
Think about it this way... What is you update data in 2 tables, and then the data in one of those tables changes, but the data in the other table does NOT change. WHOOPS!! Now, you've got a BIG problem. For instance, you have a customer
named Bill Gates. In one Table you update Bill's address to 1835 73rd Ave NE, Medina, WA 98039 and in the other table you accidentally update Bill's address to 183 73rd Ave NE, Medina, WA 98039. Now you have 2 addresses for Bill. Why would
you want that??? Which is right? No one knows. If you have one address, you just have to update one address and if there is a mistake, you just have to update one address, but you don't have to waste time trying to figure out which is right
and which is wong...and then update the one that is wrong.
Post back with specific questions.
Knowledge is the only thing that I can give you, and still retain, and we are both better off for it. -
Adding data in internal table using extracted data
Hi Experts,
Good day!
I have a requirements in our historical data of material price which adding data that are not existing based on data extracted from standard tables such as A004 and KONP.
Now, i need to use the VALIDFROM (DATAB) value as basis for the latest price.
To make it more clear, see the example below:
Extracted data:
Material Number Valid From Valid to Price
100101 01/01/2008 02/01/2008 100.00
100101 02/02/2008 04/02/2008 100.00
100101 04/03/2008 08/01/2008 200.00
100101 08/02/2008 01/31/2009 300.00
100102 05/02/2008 07/01/2008 10.00
100102 07/02/2008 10/31/2008 15.00
100102 11/01/2008 01/31/2009 20.00
Output:
Material Number Calmonth Price
100101 01/2008 100.00
100101 02/2008 100.00
100101 03/2008 100.00
100101 04/2008 200.00
100101 05/2008 200.00
100101 06/2008 200.00
100101 07/2008 200.00
100101 08/2008 300.00
100101 09/2008 300.00
100101 10/2008 300.00
100101 11/2008 300.00
100101 12/2008 300.00
100101 01/2009 300.00
100102 05/2008 10.00
100102 06/2008 10.00
100102 07/2008 15.00
100102 08/2008 15.00
100102 09/2008 15.00
100102 10/2008 15.00
100102 11/2008 20.00
100102 12/2008 20.00
100102 01/2009 20.00
Text that are in bold are the added data. What is the best code to do with this?
How can i come up with this output? Help me please
Thanks and Godbless,
nipsHi Nips,
Logic shud b sumthing on similar lines
lv_count = 1.
Loop at itab into watab.
if lv_count > 12.
lv_count = 1.
endif.
if watab-date+0(2) = lv_count.
append watab to gt_output.
continue.
else.
concatenate lv_count sy-datum+4(4) into watab-date.
append watab to gt_output.
endif.
endloop.
Best regards,
Prashant -
One thing I am finding a little awkward; Adding data in the grid. It would be nice to be able to use tab to get to the next cell. At present it just highlights the cell and typing doesn't do anything until the cell is clicked. Equally hitting return I would expect it to give me a new blank row. I would like to be able to add a couple of rows of data without resorting to using the mouse at each turn.
Very good initial impressions though.Yes we should do this as it's what everyone will expect from Excel.
-kris -
Adding data from one matrix to another
Hay guys.I'm having trouble with adding data, that is situated in a Matrix on form A and bound to a userdatasource,
to a Matrix on form B that is bound to a dbdatasource.
For some reason the data either does not display at all, or it only displays the last records' data as many times
as there are records in the original matrix from form A.
Here's the code I've tried: (Displays only last record x times)
For i = 1 To oMatrixSync.RowCount
oFormTime.DataSources.DBDataSources.Item("@TB_TIMEDET").SetValue("U_Activity", _
oMatrixTime.RowCount, _
oFormSync.DataSources.UserDataSources.Item("U_Act").ValueEx)
oMatrixTime.AddRow()
next
And this code displays zip:
For i = 1 To oMatrixSync.RowCount
oCheckBox = oMatrixSync.Columns.Item("c_Check").Cells.Item(i).Specific
If oCheckBox.Checked = True Then
oEditS = oMatrixSync.Columns.Item("c_Activity").Cells.Item(i).Specific
oFormTime.DataSources.DBDataSources.Item("@TB_TIMEDET").SetValue("U_Activity", _
oMatrixTime.RowCount, _
oEditS.Value)
oMatrixTime.AddRow()
oMatrixTime.LoadFromDataSource()
next
Any help would be greatly appreciated, thanx all!
Message was edited by: Tjaard Du PlessisThanks, Jaro!
You are right. The code should look like this:
Dim oDBDSTime As DBDataSource = oFormTime.DataSources.DBDataSources.Item("@TB_TIMEDET")
Dim oUDSSync As UserDataSource = oFormSync.DataSources.UserDataSources.Item("U_Act")
For i = 1 To oMatrixSync.RowCount
oMatrixSync.GetLineData(i)
oDBDSTime.InsertRecord(i)
oDBDSTime.SetValue("U_Activity", _
i, _
oUDSSync.ValueEx)
Next
oMatrixTime.LoadFromDataSource()
Regards,
Frank -
Hi Guys,
I have another problem on adding data source on EID. When I try adding a data source on EID as a JDBC source I get error that says "Could not establish a connection"..Do you tell me step by step what I have to do when I add a data source on Endeca? My data has based on SQL 2008.The Studio Administration and Customization Guide includes the information on creating and managing data sources.
Adding and editing data sources in the Data Source Library
I don't know anything about the specific format of a connection URL for SQL 2008. That should be fairly standard, though. -
Adding data dynamically to JTable with a filter - getting error
Hello,
I am using JTable, and adding data and displaying it worked fine
until I tried adding a filter,
can anyone tell me what am I doing wrong or
why am I getting this Error?
The Error message
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at javax.swing.DefaultRowSorter.convertRowIndexToModel(DefaultRowSorter.java:501)
at javax.swing.JTable.convertRowIndexToModel(JTable.java:2620)
at javax.swing.JTable.getValueAt(JTable.java:2695)
at javax.swing.JTable.prepareRenderer(JTable.java:5712)
at javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java:2075)
at javax.swing.plaf.basic.BasicTableUI.paintCells(BasicTableUI.java:1977)
at javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:1773)
at javax.swing.plaf.ComponentUI.update(ComponentUI.java:143)
at javax.swing.JComponent.paintComponent(JComponent.java:763)
at javax.swing.JComponent.paint(JComponent.java:1027)
at javax.swing.JComponent.paintChildren(JComponent.java:864)
at javax.swing.JComponent.paint(JComponent.java:1036)
at javax.swing.JViewport.paint(JViewport.java:747)
at javax.swing.JComponent.paintChildren(JComponent.java:864)
at javax.swing.JComponent.paint(JComponent.java:1036)
at javax.swing.JComponent.paintToOffscreen(JComponent.java:5122)
at javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:277)
at javax.swing.RepaintManager.paint(RepaintManager.java:1217)
at javax.swing.JComponent._paintImmediately(JComponent.java:5070)
at javax.swing.JComponent.paintImmediately(JComponent.java:4880)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:803)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:714)
at javax.swing.RepaintManager.seqPaintDirtyRegions(RepaintManager.java:694)
at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:128)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)I am also using my own class that extends "AbstractTableModel"
as TableModel,
public class MyTableModel extends AbstractTableModel {
ArrayList<TableData> tableData=new ArrayList<TableData>(10);
String[] columnNames=new String[]{"S/N"," Time (mili)","SD","SA","SSAP","DA","DSAP","FC","DATA"};
public void addRow(TableData data){
tableData.add(data);
fireTableDataChanged();
@Override
public int getRowCount() {
return tableData.size();
public TableData getRow(int i){
return tableData.get(i);
@Override
public int getColumnCount() {
return columnNames.length;
@Override
public String getColumnName(int col) {
return columnNames[col];
@Override
public Object getValueAt(int rowIndex, int columnIndex) {
return tableData.get(rowIndex).getValue(columnIndex);
}The Row Filter class
class myRowFilter extends RowFilter<MyTableModel,Integer>{
@Override
public boolean include(Entry<? extends MyTableModel, ? extends Integer> entry) {
// Entry < SomeCostumTableModel , Integer> entry ; Integer =Identifier= Row Number
boolean frame_type;
MyTableModel model=entry.getModel();
TableData data=model.getRow(entry.getIdentifier());
frame_type=((SD1&&data.SD==TableData.SD1) ||
(SD2&&data.SD==TableData.SD2) ||
(SD3&&data.SD==TableData.SD3) ||
(SD4&&data.SD==TableData.SD4) ||
(SC&&data.SD==TableData.SC) );
return frame_type;
}and How I add the filter to the Table
private MyTableModel myTableModel=new MyTableModel();
private RowSelectionListener rowSelectionListener=new RowSelectionListener();
TableRowSorter<MyTableModel> sorter=new TableRowSorter<MyTableModel>(myTableModel);
private FilterFrame filterFrame=new FilterFrame(this);
// then in the constructor of the main frame
// I call this
sorter.setRowFilter(filterFrame.filter);
MainTable.setRowSorter(sorter);
sorter.setSortsOnUpdates(true);Edited by: YellowMurdoch on Nov 17, 2009 6:31 AM
Edited by: YellowMurdoch on Nov 17, 2009 6:31 AMThanks for noting that.
you mean like this?
public void addEntry(TableData data){
myTableModel.addRow(data);
javax.swing.SwingUtilities.invokeLater(new Runnable(){
@Override
public void run(){
myTableModel.fireTableRowsInserted(0,0);
}both work,
would putting "invokeLater" inside "addEntry" somehow mess other things?
i guess that means addRow() is not supposed to update the table graphically?
Edited by: YellowMurdoch on Nov 17, 2009 9:30 AM
Edited by: YellowMurdoch on Nov 17, 2009 9:33 AM -
Adding Data through LOV when LOV validation fails to bring row
Question on Adding data to LOV:
Just like in form 5(Professional Forms), Is there a way to dynamically insert the row to add data if the data entered is not in the LOV? I have searched forum and looked at Dev Guide but didn't find any notes. One way is making "AutoValidation" false so LOV will not fire and validate, THEN upon SAVE just commit trx. Will this work? or Is there a better thought. ThanksSet the Disable Validation property of the LOV Item to "True"
Thanks,
Kumar -
No dates in Last Modified Date or Added Date
Hello.
Due to some issues with our servers i'm unable to make any SR's so i hope to recive some answers here instead while that issue gets resolved.
When looking in the colums "Added Date" and "Last Modified Date" certain activites have no dates there. When attempting to filter all the activities with a filter "Added Date Equals 'Blank' " ie all aktivites who do not have a date in Added Date, the results are 0 activites. I interpret this as the fields are not empty but for some reason the information is not displayed.781070 wrote:
Hello.
Due to some issues with our servers i'm unable to make any SR's so i hope to recive some answers here instead while that issue gets resolved.
When looking in the colums "Added Date" and "Last Modified Date" certain activites have no dates there. When attempting to filter all the activities with a filter "Added Date Equals 'Blank' " ie all aktivites who do not have a date in Added Date, the results are 0 activites. I interpret this as the fields are not empty but for some reason the information is not displayed.As far back as I can remember, filtering by either of those fields has never worked.
There are a number of reasons why the last modified or added date could be blank. -
Why is Verizon not adding my data add ons when I sign in and try to use the service? I have been adding on since early November and I had to get another refill card. I don't have any data on my prepaid phone. Where is my data? I can't use my prepaid. I need help.
2BNatural,
I am so sorry to hear of the issues you are having with adding data. We definitely want you to be able to have access to your data added. I apologize as we are unable to access prepaid accounts. Please reach out to our prepaid department at 888-294-6804 for further assistance.
LindseyT_VZW
Follow us on Twitter @VZWSupport -
LOV does not show newly added data in the same session
Hi guys,
I work with JDeveloper 11g Release 2. We use Oracle ADF to develop our web app.
In a page we have a LOV (say the page name is "a"). The related data for that LOV is inserted to the db in another page ( say the page name is "b").
When new data is added in the page "b" and goes directly to the page "a" the LOV does not show newly added data. But if the user log out and log in again
LOV shows newly added data correctly.
Is there a way to show the newly added data in the same session without logging out? Please help.
Regards !
Sameera.Add the following method in your ViewRowImpl base class:
public void refreshLOVAccessorQueries() {
List lovs = getViewDef().getListBindingDefs();
if (lovs != null) {
for (Object obj : lovs) {
getListBindingRSI((ListBindingDef)obj).getRowSet().executeQuery();
ListBindingDef lbd = (ListBindingDef)obj;
Export that method to the Row Client interface, add him to the pageDef, and invoke in the executables section of the pageDef:
<executables>
<invokeAction Binds="refreshLOVAccessorQueries" id="callRefreshLOVs"
RefreshCondition="#{!requestContext.postback and empty bindings.exceptionList}"/>
</executables> -
hye all,
i am very new in screen exit can plz anybody send any document or any screen shot or link for adding date field in cv01n(dms).
thanks.Hi...
http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
http://help.sap.com/saphelp_nw04/helpdata/en/c8/1975cc43b111d1896f0000e8322d00/frameset.htm
Screen exit
http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
screen-exits -
Adding date field in cv01n very urgent
hye all,
can plz anybody send any document or any screen shot or link for adding date field in cv01n(dms).
mail id [email protected]
thanks.Hi Ankit,
check exits for CV01
Transaction Code - CV01 Create Document Info Record
Exit Name Description
CV000001 Check-in enhancement for document management
CV110001 DMS: Enhancements for DMS Dialog (FB: CV110)
CVDS0001 User exits for ALE DMS (DOCMAS)
No of Exits: 3
Rewards if useful..............
Minal
Maybe you are looking for
-
Need to add text with box dynamically
Hello, I need to add a standard text created in so10 with a box at the end of the purchase order. This should trigger dynamically if the condition is correct. For ex : PO created in plant = 100 then this text should be displayed at the end of the PO
-
Facetime on my iPhone and iPad
Can I use the same sign in name to use Facetime on my iPhone and my iPad 2?
-
Reader Extensions to retrieve data from form?
Hello Will it possible to retrieve the formdata of a PDF form by an external program if I have Adobe Reader Extensions? Thank you Sincerely Lore P.S.: Will this be possible also by Form Based Pricing Reader Extensions?
-
I hope someone can help me decipher this code. i installed "safe sleep once" and removed it. but it screwed up something. Now MBP goes to deep sleep and when it wakes up it cashes. Interval Since Last Panic Report: 259845 sec Panics Since Last Repo
-
When I try to open my itunes all i get is the license agreement
I clicked on agree. then try to open it and the license agreement keeps coming back. help?