Add/delete for table
Hi,
I have an ALV GRID table with a few rows in ABAP WDA from which i need to select one by one record and bind it to a node.
Example :
ALV Grid Data
R1 - 1234 - pppp - 11
R2 - 2345 - ttttttt - 12
R3 - 3456 - eeee- 13
ADD BUTTON
user select R1 and hits Add button.
user selects R3 and hits Add button and so on..
table :
DELETE BUTTON
R1 - 1234 - pppp - 11
R3 - 3456 - eeee- 13
when user selects one record in the table it should delete the record . Can you pls give some sample code or example to get this ..
Thanks,
Vind
Hi Azizur,
It may be the MARC table that you are after.
Regards,
Ashu
Similar Messages
-
Unable to add Action for table - throwing Fatal error while rendering the table after adding
Hi,
I am not able to add action to the table i created.
when i click on events and then Create Action for "onFilter" event, it is giving me Internal Error. The message details is:
eclipse.buildId=@qualifier@
java.version=1.6.0_45
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en
Command-line arguments: -os win32 -ws win32 -arch x86 -data C:\NWDS\Workspace
Error
Thu Jul 17 11:17:27 IST 2014
Internal Error
Plug-In Name: Web Dynpro HTML Rendering
Internal Error : com.sap.ide.webdynpro.rendering.html
Class : com.sap.ide.webdynpro.viewdesigner.ur.RenderingService
Method : renderDelta
Message : java.lang.RuntimeException: nullFatal rendering error at control com.sap.tc.webdynpro.clientserver.uielib.standard.uradapter.TableAdapter [] and renderer com.sap.tc.ls.renderer.ie6.LSSapTableRenderer. Please contact the developer of the renderer. com.sap.tc.webdynpro.clientserver.uielib.standard.uradapter.TableAdapter@1376233Fatal rendering error at control com.sap.tc.webdynpro.clientserver.uielib.standard.uradapter.FlowLayoutAdapter [] and renderer com.sap.tc.ls.renderer.ie6.LSFlowLayoutRenderer. Please contact the developer of the renderer. com.sap.tc.webdynpro.clientserver.uielib.standard.uradapter.FlowLayoutAdapter@1102ae6Fatal rendering error at control com.sap.tc.webdynpro.clientserver.uielib.standard.uradapter.GroupAdapter [] and renderer com.sap.tc.ls.renderer.ie6.LSGroupRenderer. Please contact the developer of the renderer. com.sap.tc.webdynpro.clientserver.uielib.standard.uradapter.GroupAdapter@70815bFatal rendering error at control com.sap.tc.webdynpro.clientserver.uielib.standard.uradapter.FlowLayoutAdapter [] and renderer com.sap.tc.ls.renderer.ie6.LSFlowLayoutRenderer. Please contact the developer of the renderer. com.sap.tc.webdynpro.clientserver.uielib.standard.uradapter.FlowLayoutAdapter@3cb708Fatal rendering error at control com.sap.tc.webdynpro.clientserver.uielib.standard.uradapter.ScrollContainerAdapter [] and renderer com.sap.tc.ls.renderer.ie6.LSScrollContainerRenderer. Please contact the developer of the renderer. com.sap.tc.webdynpro.clientserver.uielib.standard.uradapter.ScrollContainerAdapter@14a4b5Fatal rendering error at control com.sap.tc.webdynpro.clientserver.uielib.standard.uradapter.FlowLayoutAdapter [] and renderer com.sap.tc.ls.renderer.ie6.LSFlowLayoutRenderer. Please contact the developer of the renderer. com.sap.tc.webdynpro.clientserver.uielib.standard.uradapter.FlowLayoutAdapter@14983d6Fatal rendering error at control com.sap.tc.webdynpro.clientserver.uielib.standard.uradapter.ScrollContainerAdapter [] and renderer com.sap.tc.ls.renderer.ie6.LSScrollContainerRenderer. Please contact the developer of the renderer. com.sap.tc.webdynpro.clientserver.uielib.standard.uradapter.ScrollContainerAdapter@16e8151
Exception : java.lang.RuntimeException: java.lang.RuntimeException: nullFatal rendering error at control com.sap.tc.webdynpro.clientserver.uielib.standard.uradapter.TableAdapter [] and renderer com.sap.tc.ls.renderer.ie6.LSSapTableRenderer. Please contact the developer of the renderer. com.sap.tc.webdynpro.clientserver.uielib.standard.uradapter.TableAdapter@1376233Fatal rendering error at control com.sap.tc.webdynpro.clientserver.uielib.standard.uradapter.FlowLayoutAdapter [] and renderer com.sap.tc.ls.renderer.ie6.LSFlowLayoutRenderer. Please contact the developer of the renderer. com.sap.tc.webdynpro.clientserver.uielib.standard.uradapter.FlowLayoutAdapter@1102ae6Fatal rendering error at control com.sap.tc.webdynpro.clientserver.uielib.standard.uradapter.GroupAdapter [] and renderer com.sap.tc.ls.renderer.ie6.LSGroupRenderer. Please contact the developer of the renderer. com.sap.tc.webdynpro.clientserver.uielib.standard.uradapter.GroupAdapter@70815bFatal rendering error at control com.sap.tc.webdynpro.clientserver.uielib.standard.uradapter.FlowLayoutAdapter [] and renderer com.sap.tc.ls.renderer.ie6.LSFlowLayoutRenderer. Please contact the developer of the renderer. com.sap.tc.webdynpro.clientserver.uielib.standard.uradapter.FlowLayoutAdapter@3cb708Fatal rendering error at control com.sap.tc.webdynpro.clientserver.uielib.standard.uradapter.ScrollContainerAdapter [] and renderer com.sap.tc.ls.renderer.ie6.LSScrollContainerRenderer. Please contact the developer of the renderer. com.sap.tc.webdynpro.clientserver.uielib.standard.uradapter.ScrollContainerAdapter@14a4b5Fatal rendering error at control com.sap.tc.webdynpro.clientserver.uielib.standard.uradapter.FlowLayoutAdapter [] and renderer com.sap.tc.ls.renderer.ie6.LSFlowLayoutRenderer. Please contact the developer of the renderer. com.sap.tc.webdynpro.clientserver.uielib.standard.uradapter.FlowLayoutAdapter@14983d6Fatal rendering error at control com.sap.tc.webdynpro.clientserver.uielib.standard.uradapter.ScrollContainerAdapter [] and renderer com.sap.tc.ls.renderer.ie6.LSScrollContainerRenderer. Please contact the developer of the renderer. com.sap.tc.webdynpro.clientserver.uielib.standard.uradapter.ScrollContainerAdapter@16e8151
[Error: com.sap.ide.tools.services.ui.dialog.DialogService Thread[main,6,main]]
The complete error details is also attached with the message.
After creating the action, the table looks like below:
Can someone help me on fixing this issue.
Thanks,
Abhishek.Its a rendering issue with the NWDS/IDE.
Try, close and re-open for fix it. If it still persists, uninstall NWDS and re-install the right version of NWDS w.r.t the Portal server.
Regards,
Sharath -
Adding Tags in PDF for Tables and Figures
Please let me know how to add tags for Table and Figure in the PDF and also about setting up attributes for that
You can add tags to a PDF Document. If the PDF is untagged you can use the advanced, accessabilty, add tags to the document. If the PDF is already tagged or after you have run the add tags you can use the "touch up reading order" menu and then make the item you want to be a table a table etc....
Be Well -
how to save my bookmarks in a protected folder(google has an add on for favorits which will never be deleted) in case of harddisk format or computer crashdown.
The built-in Firefox Sync service allows you to store your settings, including bookmarks, on a Mozilla server. This isn't accessible as a file like Google Drive; it can only be used by connecting another copy of Firefox to your Sync account. You can read more about this here: [[How do I set up Firefox Sync?]] (I haven't tried it myself since it changed recently.)
The cross-browser Xmarks service is more focused: it just does bookmarks. http://www.xmarks.com/ (I've never tried this one either)
If you prefer working with files and you have a Dropbox or similar account, you could in theory back up your Firefox profile folder, or more particularly, the bookmarkbackups subfolder. I haven't tried that myself. To find the folder:
Open your current Firefox settings (AKA Firefox profile) folder using either
* "3-bar" menu button > "?" button > Troubleshooting Information
* Help menu > Troubleshooting Information
In the first table on the page, click the "Show Folder" button
A window should launch showing your currently active settings files. The bookmarkbackups folder should contain dated .json files which can be used to restore your bookmarks to another copy of Firefox.
Alternately, someone might have created an add-on for saving Firefox bookmarks to the cloud another way, but I haven't heard of one. -
i have an IPone 4, there is an add video for Capital one that keeps coming up on its own... ive deleted my history and cookies and this video keeps taking over my phone. how do i get rid of it? the video is of a man with a puppet and the puppet is singing a song while he is checking his phone. how do i get rid of it????
If it happens again the make sure that you aren't suppressing website colors.
Make sure that you allow pages to choose their colors and that you haven't enabled High Contrast in the Accessibility settings.
*Tools > Options > Content : Fonts & Colors > Colors : [X] "Allow pages to choose their own colors, instead of my selections above"
*https://support.mozilla.org/kb/Options+window+-+Content+panel
*http://kb.mozillazine.org/Website_colors_are_wrong
*http://kb.mozillazine.org/Websites_look_wrong -
Using bootcamp (windows 2002 xp) I down loaded adobe flash player from the windows platform. told me it installed successfully. however does not work in windows, does works in mac. in xp there is no created program folder for such or created short cut. In the control panel (xp) in add/delete programs it is listed but wihout any file size or frequency used. I've deleted & reinstalled numerous times. Mac OS is 10.6.8. Windows is 32 bit. Can't find a thing that discusses this. THANKS!
I just now posted it Adobe Flash Player 17.0 - Bug 3973913
Adobe Flash Player 17.0 - Bug 3973913
Adobe Flash Player 17.0 - Bug 3973913
Adobe Flash Player 17.0 - Bug 3973913 -
Add Fields from table ADRC (Fields Name 1 to 4) for Open Item Processing
Hi SAP Expert:
Our client requires vendor/customer name to be displayed in the open item processing line layout for transaction code f-58, so they can double check if the vendor name is complete as intended.
We intend to add fields from table ADRC instead of REGUH since the characters in maintaining vendor/customer name is 40 characters and REGUH - ZNME1s are only 35 characters.
We have managed to add fields from ADRC and change the SAPDF05X program and were able to display the names in open item layout, except that the program seems to "automatically" create a generic table which only carries 30 characters of the vendor/customer name. The source table should be RFOPS_DK but the program automatically looks up from table RFOPS_GEN for the particular fields - Name 1 to 4. Is there a way to "instruct" the program to use RFOPS_DK instead of RFOPS_GEN?
Hope this will merit somebody's attention... Thanks !!!Thanks, i have assigned the layout via o7v3, it is the program that i have a problem with, actually another program that we change is the program MF05BFPO where it generates data to be displayed in the FBZ4 screen, though we add a field with 40 characters (ADRC Name 1 to 4) what the program dispalys is a 30 character Name1 to 4 from structure RFOPS_GEN.
My question is can i extend/change the structure RFOP_GEN to 40 characters, is there any SAP standard program that will aftected if i do so? thank very much...
Lorena -
Deleting a table or a sheet in Numbers for iPad
Hi,
I think I must be getting fairly thick as I get older. I cannoy see how to delete a table or a sheet from a numbers worksheet. I have searched this forum but couldn't seem to turn up any discussions.
Andrew.This issue puzzle me as well and I had settled for the answer posted here. This solution, however, just deletes the table but leaves the sheet.
To delete the sheet (and everything on it) single-tap the sheet name. A "Duplicate | Delete" menu will pop up and you're done! -
Add a custom table for field selection while creating field catalog for LIS
Hi,
I have a requirement to add a Custom table to be available for field selection while creating a field catalog for LIS. Its required as there are many custom fields to be used for field catalog creation and adding them in one of the existing tables listed is not a feasible option for us. Please let me knw if its possible..?? If yes how to get it done..??
Regards,
Akash Sinhahi,
You need to add your field in the Data Dictionary first. For example, if
you want the new field in the Order Item field catalog do the following.
Look at structure MCVBAPUSR (SE11). If you already have a user structure
appended to this structure then you can add your new field to your existing
structure. If there is no structure already appended to MCVBAPUSR then you
must create a new structure with your field in it and then append the new
structure to this one.
If you look at structure MCVBAP you will see the data appended to the end
of it.
Now you should see it in the field catalog.
regards,
balajia -
How to add columns for existing table dynamically?
Hi,
I created table structure only. I want to add columns for this existing table. Columns are not fixed, according to the user choice i need to write code.
Plz give me reply asap.
Thanks
ShirishaHi Shirisha,
I think the following code snippet will help you.
int l_no_cols = 0;
//Get the number of columns in this variable, something like the following
//l_no_cols = wdContext().currentContextElement().get<Context_attribute_name>;
IWDTable l_tab;
IWDTransparentContainer l_tbl_cont = (IWDTransparentContainer)view.getElement("TableDataCont");//ID of Container
l_tab = (IWDTable)view.getElement("TableData");//ID of Table
l_tab.setVisible(WDVisibility.VISIBLE);
l_tab.bindDataSource(wdContext.nodeTable_Data().getNodeInfo());
for(int a = 1; a <=l_no_cols; a++)
//Creating the column
IWDTableColumn l_tab_col = (IWDTableColumn)view.createElement(IWDTableColumn.class,"COL"+a);
//Creating Caption for Column Header
IWDCaption l_tab_cap = (IWDCaption)view.createElement(IWDCaption.class,"Caption"+a);
l_tab_cap.setText("Col"+i);
l_tab_col.setHeader(l_tab_cap);
//Creating Table Cell Editor for column
IWDInputField l_tab_cell = (IWDInputField)view.createElement(IWDInputField.class,"CellEditor"+a);
//creating context node attribute for the column dynamically
wdContext.nodeTable_Data().getNodeInfo().addAttribute("Col"+i,"com.sap.dictionary.String");
l_tab_cell.bindValue(wdContext.nodeTable_Data().getNodeInfo().getAttribute("Col"+i));
l_tab_col.setTableCellEditor(l_tab_cell);
l_tab.addColumn(l_tab_col);
l_tbl_cont.addChild(l_tab);
Regards,
Alka -
How to create global toolbar for some common operation like add, delete etc
Hi,
I want to create one global toolbar which contains buttons for common operations such as add, delete, modify etc.
I have one globl .jspx page and in its center facet, I am loading my each screen's .jsff page.
Now I want to create global toolbar on my .jspx page and when I click on toolbar's add button at that time it should call, currently loaded .jsff (loaded in center facet of .jspx page) backing bean's add method.
How can I get the instance of currently loaded .jsff backing bean in my toolbar's backing bean and also I need it with its current state( means whatever UI components have values I should be able to get it in my instance).
Regards,
DevangHi,
since page templates don't support method expression arguments there are two options I can imagine
- define a contract between the toolbar buttons and the availability of a managed bean available for the consumer page. If for example each page has a managed bean like <viewId>_toolbar then the Toolbar could reference exposed methods on this bean (which must be consistent)
- Another option is to have the page passing in the EL string to access the iterator to operate on as an attribute of the template you use. Then you create a ValueExpression from it and call it for the button action events that you point to the managed bean you deploy with the template
Frank -
Trace deletes for a special table
Hello Everybody
We have some strange problems with our Maxdb database (7.6.00.34) (no SAP System)
Every day we lose about 3000-4000 records in an table with 120000 records.
The table is filled with records from a sap system and all programmers are sure that their applications only read or update this table (never delete) ??????
Now i want to trace the database.
Is it possible to write a trace task, that only logs "deletes" on table xyz ??
If yes, how to do this ?
I have never used tracing before, so an example would be very helpfull.
Any help welcomed
Best Regards
AlbertHi Albert,
the function user will return the current user.
Anyhow, it might be easier to just specify the default value for the username column as user.
Something like this:
create table DELLOG (
"TIMESTAMP" TIMESTAMP NOT NULL default TIMESTAMP,
"TABLEKEY" CHAR (50) NOT NULL,
"USERNAME" CHAR (32) NOT NULL default USER,
primary key ("TIMESTAMP", "TABLEKEY")
That way all you've to figure out yourself for the INSERT is the KEY of the deleted row.
For example if I've got a CUSTOMER table with ID as primary key the trigger could look like this:
create trigger logdelete for lars.customer after delete
execute (
insert into lars.dellog values (default, :old.id, default);
TIMESTAMP and USERNAME will automaticall be filled by the database.
KR Lars -
[svn:bz-trunk] 7494: Add testcaseses for http put and delete methods.
Revision: 7494
Author: [email protected]
Date: 2009-06-02 13:13:33 -0700 (Tue, 02 Jun 2009)
Log Message:
Add testcaseses for http put and delete methods. Proxy should return endpoint's content instead of empty body
Added Paths:
blazeds/trunk/qa/apps/qa-regress/remote/testMethods.jsp
blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/proxyService/httpservice/bugs/Pu tAndDeleteMethodTests.mxmlfound it - here: http://discussions.apple.com/thread.jspa?threadID=2323131&tstart=30
I set the Realm to Location instead of Folder. Now I'm prompted for my credentials at the /svn/ URL. -
Data gets deleted for the table RSTRFIELDSH
If data gets deleted for the table RSTRFIELDSH at BW end
...what should i do?to get it backWim,
We lost the data from production. We ran Archive program to archive the data and archiving file is still exist.
There is no possibliity to run the OUTBOUND process again to create the IDOCs.
But only my concern is When we run the Transaction SARA we will be getting the data for other period as well.
But I need to reload the data for three months only because that archiving file also has other period data as well.
Can you send me details of how to use SARA Transaciton for particular period.
Thanks,
Kalikonda. -
PAPI-Add/Delete/Retrieve BPM Instance's data and attachment for an instance
Could you please me tell me how to Add/Delete/Retrieve BPM instance's data and attachment for a new as well as running instance using PAPI. Is it possible to have
a sample code.
Thanks,
Ben.Hi Ben,
Start with this thread that shows you how to create a new work item instance in a process and pass in input argument variables to the new instance as it is created:
Creating a new work item instance in a process using PAPI
Here's a thread that shows how to retrieve variables from an instance:
Re: Instance info using PAPI in studio
Here's a thread that shows
1. how to run an activity in the process and pass in arguments using the "runActivity()" method,
2. How to run a Global activity and pass in arguments (runGlobal() and
3. How to send in a notificationto a notificationWait activity using the "sendNotificationInstance()" method:
Re: Acces Oracle BPM Process through Standalone Java Program
Finally, you can use the session.instanceAttach() method to attach a file to an instance.
Hope this helps,
Dan
Maybe you are looking for
-
Why can I not sign in to itune
I'm not able to sign in to iTunes. How come?
-
So, I get this strange error when I try to update AME CC 7.2.2. What to do? Adobe Media Encoder CC 7.2.2 Update Installation failed. Error Code: U44M1P7
-
hi experts am basically MM am doing workflow in my reqmt i did all MM config and maintained all these task assinment & activating event link also Obj type : BUS2105 task :TS20000159 workflow:ws 20000077 now after cretaion of PR rel strategey picking
-
[nQSError: 15018] Incorrectly defined logical table source
Hi, I have two fact tables and a type dimension. business model / physical fact1 /fact1 fact2 /fact2 type /type now I have them joined up on the physical layer with foreign keys AND on the business model layer. Nevertheless I still get this error whe
-
My mac book gives electric shock through its entire body while being charged from AC out let. is there a solution to the problem? my other two friends are haveing the same problem who recently have purchased the same note books, its weird for APPLE p