How to delete the row created by AddAnotherRow Button
Hi Every one,
We have a seeded page in Oracle Sales Opportunity Update.
Here we have an activities region where we can add activities by clicking on AddAnotherRow Button.
But there are no restriction of the row created in activities
The issue we are facing is the end users are clicking the AddAnotherRow Button but not able to clear the row from the table.
Is there any functionality where the user can delete the row created by AddAnotherRow
Regards,
Krishna
Hi Krishna,
If the delete functionality is not available on the page then there is no other way, you need to implement it.
Regards,
Reetesh Sharma
Similar Messages
-
How to delete the row in table control with respect to one field in module pool programming?
Hi,
Can I know the way to delete the row in table control with respect to one field in module pool programming
Regards
Darshan MSHI,
I want to delete the row after the display of table control. I have created push button as delete row. If I click on this push button, the selected row should get deleted.
I have written this code,
module USER_COMMAND_9000 input.
DATA OK_CODE TYPE SY-UCOMM.
OK_CODE = SY-UCOMM.
CASE OK_CODE.
WHEN 'DELETE'.
LOOP AT lt_source INTO ls_source WHERE mark = 'X'.
APPEND LS_SOURCE TO LT_RESTORE.
DELETE TABLE LT_SOURCE FROM LS_SOURCE.
SOURCE-LINES = SOURCE-LINES - 1.
ENDLOOP.
But I'm unable to delete the selected rows, It is getting deleted the last rows eventhough I select the other row.
So I thought of doing with respect to the field. -
HOW TO DELETE THE ROW FROM DATABASE
hI,
Iam pasting my code below.My problem isi retrieve rows from database and display them in jsp page in rows.For each row there is delete hyperlink.Now when i click that link i should only delete the row corresponding to that delete link temporarily but it should not delete the row from database now.It should only delete the row from database when i click the save button.How can i do this can any one give some code.
thanks
naveen
[email protected]
<%@ page language="java" import="Utils.*,java.sql.*,SQLCon.ConnectionPool,java.util.Vector,java.util.StringTokenizer" %>
<html>
<head>
<meta http-equiv="Content-Language" content="en-us">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>Item Details</title>
<script>
function submitPage()
document.details.action = "itemdetails.jsp" ;
document.details.submit();
</script>
</head>
<body>
<form name="details" action="itemdetails.jsp" method="post">
<%
ConnectionPool pool;
Connection con = null;
Statement st;
ResultSet rs =null;
%>
<table border="0" cellpadding="0" cellspacing="0" width="328">
<tr>
<td width="323" colspan="4"><b>Reference No :</b> <input type="text" name="txt_refno" size="14">
<input type="submit" value="search" name="search" ></td>
</tr>
<tr>
<td width="81" bgcolor="#000099"><font color="#FFFFFF"><b>Item Code</b></font></td>
<td width="81" bgcolor="#000099"><font color="#FFFFFF"><b>Item No</b></font></td>
<td width="81" bgcolor="#000099"><font color="#FFFFFF"><b>Amount </b></font></td>
<td width="80" bgcolor="#000099"> </td>
</tr>
<%
pool= new ConnectionPool();
Utils utils = new Utils();
double total =0.00;
String search =utils.returnString(request.getParameter("search"));
if(search.equals("search"))
try
String ref_no =utils.returnString(request.getParameter("txt_refno"));
String strSQL="select * from ref_table where refno='" + ref_no + "' ";
con = pool.getConnection();
st=con.createStatement();
rs = st.executeQuery(strSQL);
while(rs.next())
String itemcode=rs.getString(2);
int item_no=rs.getInt(3);
double amount= rs.getDouble(4);
total= total + amount;
%>
<tr>
<td width="81"><input type=hidden name=hitem value=<%=itemcode%>><%=itemcode%></td>
<td width="81"><input type=hidden name=hitemno value=<%=item_no%>><%=item_no%></td>
<td width="81"><input type=hidden name=hamount value=<%=amount%>><%=amount%></td>
<td width="80"><a href="delete</td>
</tr>
<%
}catch(Exception e){}
finally {
if (con != null) pool.returnConnection(con);
%>
<tr>
<td width="323" colspan="4">
<p align="right"><b>Total:</b><input type="text" name="txt_total" size="10" value="<%=total%>"></td>
</tr>
<tr>
<td width="323" colspan="4">
<input type="button" value="save" name="save"></td>
</tr>
</table>
</form>
</body>
</html>You mean when you click on the hyperlink you want that row to disappear from the page, but not delete the row from the database until a commit/submit button is pressed?
Personally, I think I'd prefer that you have a delete checkbox next to every row and NOT remove them from the display if I was a user. You give your users a chance to change their mind about their choice, and when they're done they can see exactly which rows will be deleted before they commit.
You know your problem, of course, so you might have a good reason for designing it this way. But I'd prefer not removing them from the display. JMO - MOD -
How to delete the automatically created receipt in the expense report
Hi experts,
I am getting an error "no expense type for estimated costs has been defined. cannot save" while creating a travel request for an employee.
Base on the reply from Raynard which posted on Re: FM for trip exp
It's because "The estimated cost in plan and request are now included into fund management. So if you have active funds management, the entered estimated cost are used to make availability check and commitment. Therefore you must create an expense type in view V_T706B1. Under 'amounts are' you have to choose 'estimated cost, no reimbursement to employee'."
How ever, because the linkage with funds management, I faced the problem and also ckecked out the reason from SAP Help that "After the trip takes place, the user needs to manually delete the automatically created receipt in the expense report."
Anybody can provide the solution how to automatically delete this receipt before user create the expense report??
Thanks
DanielHi Francis,
Check the BADI "TRIP_WEB_CHECK" method "USER_CHECK_GENERAL_DATA".
Here based on the schema you can modify the "estimated cost" field.
Hope it helps.
Regards,
Jyothi -
How to delete the row from the ADF table using popup box
Hi,
I have one requirement like need to delete a record from the table, but that time need to show one popup window for confirmation of the deletion. I am using Delete buttom from the vo operations. I am able to delete the row with out popup but when i used the popup that time deletion is not happening.
Can any one help me in this.
Regards,Issue was resolved.
-
How to delete the structure created from Tx: EEWB ?
Hi SAP Gurus
I have an issue at hand. I have added three components in the structure <b>BUS000___I</b> and the components are <b>ZZ1, ZZ2, ZZ3</b>, I was following the <b>EEWB</b> wizard and from there these three components were made, now I cannot delete these components directly from <b>SE11</b>. Because after adding these components the system is not allowing me to do so and is asking for the access code.
I am getting a syntax error in all the tx where <b>Business Partner</b> is used. No old versions for this structure was found in the system. The only structure that has come into this BP structure is <b>ZBSTC0000000000</b> followed by three data elements of this structure.
I know the <b>Project and the enhancement</b> that was created and I have tried deleting the enhancement from EEWB but when i try deleting it, it always fall into an intermediate stage where it leaves some entries and due to these left over entries these errors are coming.
Another imp thing is that the structure that i have reported is a newly created one I cannot find this anywhere else. looks like this structure was created after executing the EEWB transaction only.
Now when I try activating the enhancement again the <b>magic wand button</b> used to activate an enhancement and the <b>generate button</b> is also inactive in EEWB and now it is not getting activated, even after rt click enhancement then clicking change or by clicking on the edit-change button on the top tool bar. Do you think if I create another enhancement this button might get activated?
Please let me know how do I delete these components.
Kindly reply at the earliest.
Regards,
AmitHi, I had the similar problem (and here the solution):
Spezifikation: Deletion of EEWB fields manually, error in middleware bdoc,
Kurztext
Deletion of EEWB fields manually, error in middleware bdoc,
Langtext
BDOC-Error from function module BAPI_CRM_SAVE. no further using of the
middleware for sales activities (sales order) possible.
see steps for reconstruction
Schritte zur Rekonstruktion
what done before:
- added one field via transaction code EEWB to business object
SALES_TRANSACTION (Verkaufsvorgang), "Erweiterungstyp CUSTOMER_I
(Positions-Zusatzextension erweitern) with one existing data element
type Z_, Geschäftsvorgangstypen = Verkauf
no selection of "Datenaustausch mit den Mobile Clients",
"Datenaustausch mit R/3 Supply Chain Execution" or
"Business Information Warehouse".
- deleted the extension manually, deleted the eewb project manually
(successful)
- got an short dump on saving a sales order via transaction code
CRMD_ORDER:
dump type: LOAD_TYPE_VERSION_MISMATCH
Der Abbruch trat im ABAP-Programm "SAPLCRM_UPLOAD" auf, und zwar in
"CRM_UPLOAD_BUS_TRANS_MSG". Das Hauptprogramm war "CRM_1O_FRAME ".
Im Quelltext befindet sich die Abbruchstelle in Zeile 5
des (Include-)Programms "LCRM_UPLOAD$18".
(bei Anwahl des Editors: 50) der ABAP-Source "LCRM_UPLOAD$18".
000040 *********************************************************
FUNCTION $$UNIT$$ CRM_UPLOAD_BUS_TRANS_MSG
000060
000070 IMPORTING
000080 REFERENCE(IV_GUID) TYPE !CRMT_OBJECT_GUID
000090 EXPORTING
000100 REFERENCE(ES_BDOC_HEADER) TYPE !SMW3_FHD
000110 REFERENCE(ES_BDOC_MESSAGE) TYPE !/1CRMG0/BUS_TRANS_MSG
000120 REFERENCE(ES_BUS_TRANS_MSG) TYPE !BAD_BUS_TRANSN_MESSAGE
000130 EXCEPTIONS
000140 !ERROR_OCCURED .
- re-generation of a lot of of function modules
(e.g. CRM_UPLOAD_BUS_TRANS_MSG)
and some corresponding structures (e.g. CRMT_CUSTOMER_I_COM)
- fixed the short dumps with this gereration
Current Errors:
- the crm middleware (mBdoc) cannot copy sales orders from crm to r/3
- via transaction code CRMD_ORDER i copy an existing sales order and
save or try to change just one field and save.
- saving is succesfull (message type s), but on changing again, the
order is locked by middleware
- bdoc in transaction SMW02 is on state yellow "An Empfänger gesendet
(nicht alle haben bestätigt) BUS_TRANS_MSG"
- in transaction code SMW02 occurs:
Mdt Benutzer Funktionsbaustein Queue-Name
100 CPIC_FILO BAPI_CRM_SAVE R3AD_SAL_ERR
Datum Zeit
12.04.2007 17:52:10
Statustext
Inkonsistenz zwischen den DDIC-Typen CRMT_CUSTOMER_I_COMT und ABAP-
genera
SOLUTION:
re-generation of *ALL* code which using structure CRMT_CUSTOMER_I_COMT had solved it. -
How to delete the structure created from EEWB ?
Hi SAP Gurus
I have an issue at hand. I have added three components in the structure <b>BUS000___I</b> and the components are <b>ZZ1, ZZ2, ZZ3</b>, I was following the <b>EEWB</b> wizard and from there these three components were made, now I cannot delete these components directly from SE11. Because after adding these components the system is not allowing me to do so and is asking for the access code.
I am getting a syntax error in all the tx where<b> Business Partner</b> is used. No old versions for this structure was found in the system. The only structure that has come into this <b>BP</b> structure is <b>ZBSTC0000000000</b> followed by three data elements of this structure.
I know the Project and the enhancement that was created and I have tried deleting the enhancement from <b>EEWB</b> but when i try deleting it, it always fall into an intermediate stage where it leaves some entries and due to these left over entries these errors are coming.
Another imp thing is that the structure that i have reported is a newly created one I cannot find this anywhere else. Looks like this structure was created after executing the EEWB transaction only.
Now when I try activating the enhancement again the <b>magic wand button</b> used to activate an enhancement and the <b>generate button</b> is also inactive in EEWB and now it is not getting activated, even after rt click enhancement then clicking change or by clicking on the edit-change button on the top tool bar. Do you think if I create another enhancement this button might get activated?
Please let me know how do I delete these components.
Kindly reply at the earliest.
Regards,
AmitHi Rahul,
thnx for coming again.......
this is the error log that is coming up
Short Descrip Prog ID Obj typ Object name
Function Module LIMU FUNC ZZG00_BUPA_EVENT_DLVE1
Function Module LIMU FUNC ZZG00_BUPA_EVENT_DSAVB
Function Module LIMU FUNC ZZG00_BUPA_EVENT_ISDST
Function Module LIMU FUNC ZZG00_BUPA_EVENT_ISSTA
Function Module LIMU FUNC ZZG00_BUPA_EVENT_XCHNG
Function Module LIMU FUNC ZZG00_BUPA_PAI_ZG000100
Function Module LIMU FUNC ZZG00_BUPA_PAI_ZG000101
Function Module LIMU FUNC ZZG00_BUPA_PAI_ZG000102
Function Module LIMU FUNC ZZG00_BUPA_PBO_ZG000100
Function Module LIMU FUNC ZZG00_BUPA_PBO_ZG000101
Function Module LIMU FUNC ZZG00_BUPA_PBO_ZG000102
Function Module LIMU FUNC ZZTB0000000000T_SELECT_SINGLE
Function Module LIMU FUNC ZZTB0000000000_SELECT_SINGLE
Function Module LIMU FUNC ZZTB0000000001T_SELECT_SINGLE
Function Module LIMU FUNC ZZTB0000000001_SELECT_SINGLE
Function Module LIMU FUNC ZZTB0000000002T_SELECT_SINGLE
Function Module LIMU FUNC ZZTB0000000002_SELECT_SINGLE
Report Source Code LIMU REPS LZZG00BUPAF01
Report Source Code LIMU REPS LZZG00BUPAG24
Report Source Code LIMU REPS LZZG00BUPAG27
Report Source Code LIMU REPS LZZG00BUPAG30
Report Source Code LIMU REPS LZZG00BUPAI00
Report Source Code LIMU REPS LZZG00BUPAI01
Report Source Code LIMU REPS LZZG00BUPAO01
Report Source Code LIMU REPS LZZG00BUPATOP
Report Source Code LIMU REPS SAPLZZG00BUPA
Function Group R3TR FUGR ZZG00BUPA
Function Group R3TR FUGR ZZG00BUPA_VIEW01
Function Group R3TR FUGR ZZG00BUPA_VIEW02
Function Group R3TR FUGR ZZG00BUPA_VIEW03
DataSource (Active Version) R3TR OSOA 0BPARTNER_ATTR
DataSource (Active Version) R3TR OSOA Z_ZBU_00000000_TEXT
DataSource (Active Version) R3TR OSOA Z_ZBU_00000001_TEXT
DataSource (Active Version) R3TR OSOA Z_ZBU_00000002_TEXT
Table R3TR TABL CI_EEW_BUT000_X
Table R3TR TABL ZTB0000000000T
Table R3TR TABL ZTB0000000001T
Table R3TR TABL ZTB0000000002T
Table Contents R3TR TABU TBZ0A
Table Contents R3TR TABU TBZ0B
Table Contents R3TR TABU TBZ0C
Table Contents R3TR TABU TBZ1C
Table Contents R3TR TABU TBZ1F
Table Contents R3TR TABU TBZ3A
Table Contents R3TR TABU TBZ3B
Table Contents R3TR TABU TBZ3C
Table Contents R3TR TABU TBZ3D
Table Contents R3TR TABU TBZ3E
Table Contents R3TR TABU TBZ3F
Table Contents R3TR TABU TBZ3I
Table Contents R3TR TABU TBZ3K
Table Contents R3TR TABU TBZ3R
Table Contents R3TR TABU TBZ3S
Table Contents R3TR TABU TBZ3W
Table Contents R3TR TABU TBZ3X
Table Contents R3TR TABU TDDAT
Table Contents R3TR TABU TVDIR
View Maintenance: Data R3TR VDAT V_TBZ3H
View R3TR VIEW ZTB0000000000V
View R3TR VIEW ZTB0000000001V
View R3TR VIEW ZTB0000000002V
and there is a delete icon by the side of every line but when i try deleting any entry it says object name does not exist.
Please help.
Regards,
Amit -
How to delete the objects created for experimenting in XI
Hi,
We have recently taken up XI and have created many objectes in the IR and ID in order to practice the scenarios...
Now there are many such objects existing in the IR which v dont use any more...
But i didnt find any delete option.
plz tell me how to delete them...
thanks in advance
PavanHi Sravya,
thanks for ur reply..
i am following the link u have given me..
but i have one problem in this blog
i am unable to find the sign to delete the name space......
i searched for that sign in thw whole GUI of IR..but didnt get it..
plz tell me the navigation path to it
Pavan -
How to delete the rows after file uploded by LSMW
Hi,
I want to delete the the first three rows after file uploaded by lsmw.and i need to send the rest of the rows to custom table.Hi Hyma,
In response to adhitya
In field mapping at end the stricture there will be transfer_record , put there some condition and instead of the transfer_record put skip_record.
While doing Field mapping step
In the first line you can fine project-sub project-object
Below that u can find Field mappping and rule,Right click on that and click on Layout
select Processing times option Then u can see that.So add the particular statement what adhitya told.
Ravee.
Award points if useful -
How to delete a row in the table in servlets
I have met a problem in deleting a row in table using servlets.
My table looks like this:
ID Name Type
12 Milienium S
15 USIA O
My code looks like this:
String query = "SELECT * FROM tb_Funds";
rs = statement.executeQuery(query);
while(rs.next()) {
StdID=rs.getString("FundID");
StdName=rs.getString("Name");
StdType=rs.getString("Type");
out.print("<td><INPUT TYPE=TEXT NAME=
myName VALUE=" + StdID + "></td>");
out.print("<td>" + StdName + "</td>");
out.print("<td>" + StdType + "</td>");
buf.append("<td>" + "<INPUT TYPE=SUBMIT
NAME=Delete VALUE=DELETE>" + "</td></tr>");
There is a delete button in every row. May I know how to delete the row that I want by getting the ID from the table and delete it from the database.
Deleting from a table is simple -> delete from tb_funds where id = <value>. Obviously replace <value> with the appropriate ID or use a bind variable (a ?) and prepared statements.
Are you asking how to pass the id associated with the table row from the browser when the button is pressed? -
To delete the row for the corresponding checked rows in alv
hi,
i have a alv report with check boxes,
can any one say how to delete the row for the corresponding checked rows.hi
give In REUSE_ALV_LIST_DISPLAY
I_CALLBACK_USER_COMMAND = P_USER_COMMAND
FORM F_USER_COMMAND USING R_UCOMM LIKE SY-UCOMM
RS_SELFIELD TYPE SLIS_SELFIELD.
IF R_UCOMM = C_DELETE. where CONSTANTS : C_DELETE(6) TYPE C VALUE 'DELETE',
READ TABLE IT_ITAB WITH KEY REC_SEL = C_X.
LOOP AT IT_MARA WHERE REC_SEL = 'X'.
MOVE-CORRESPONDING IT_ITAB TO IT_TEMP.
APPEND IT_TEMP.
CLEAR IT_TEMP.
ENDLOOP.
where it_temp IT_TEMP TYPE STANDARD TABLE OF itab WITH HEADER LINE,
DELETE ITAB FROM TABLE IT_TEMP.
HOPE THIS HELPS
PRIYA -
To delete a row created through "Add Another Row" in OA Framework
Hi All,
I am using Add another Row concept in one of OA page.
The fields in row are mandatory.
So if user cliaks on add another ro, so new row gets added, but suppose he doesnt enter any data then it gives error on submit button, saying"fileds are mandatory".
Is there anyway by which user can delete the row created by "Add another Row".
Thanks in advanceHi Tapash..
Actually I want to remove the row where user has not entered any data.
As the some of the fields are mandatory, so when user clicks on submit button, it throws error that please enter values for mnadtory fields. I want to remove this validation for the row where user has not entered any data.
Thanks -
How to delete the selected rows in a JTable on pressing a button?
How to delete the selected rows in a JTable on pressing a button?
You are right. I did the same.
Following is the code where some of them might find it useful in future.
jTable1.selectAll();
int[] array = jTable1.getSelectedRows();
for(int i=array.length-1;i>=0;i--)
DefaultTableModel model = (DefaultTableModel)jTable1.getModel();
model.removeRow(i);
} -
How to delete the values from TKOMV at runtime after creating PO
Hi,
How to delete the values from TKOMV at runtime after creating PO from IDOC. I am creating PO through IDOC, subsequently need to create Sales order and again need to create 2nd PO with reference of Purchase Requestion(created with sales order). At the time creation of 2nd PO the Header conditions are appearing twice and net price value is appearing wrong.
Thanks in advance.Hi Padma
Can you do this activity once the company code is in to production. I guess you can not do this activity, if the company code is already in to live. Setting or resetting of the recon accounts will hinder the previous actitivity. Infact resetting of the company code is also not a good option.
Any how, thanks for the inputs. Please let me know whether i can do this activity only at the subledger level which will not impact other modules. The one solution i can figured out is , reverse all the transactions for the corresponding asset in the year of takeover and pass the entries again in the same year correctly which will have effect in Subledger and also in general ledger. But the business people will not allow this, since for a big client it will require lot of authorizations and approvals. Infact the vendor also, is cleared. So we have to reverse the cleared documents as well which is again a task and require approvals as well.
Thanks and regards
Seshu. -
How to view/edit/delete the user created profile in oracle 9i? Very Urgent
Friends,
I logged in as system in oracle 9i.
SQL> create profile testpro limit
2 idle_time 1;
Profile created.
SQL> alter user scott profile testpro;
User altered.
Then i logged in to sqlplusw as a scott user.
and i waited for 10 mins after that.
sql> select * from cat;
its working......
how come? i have already set a idle time to 1 minute.
Please correct me if im wrong.
Also, how can i view/edit/delete the user created profile.
Thanks & Regards
Sathyguy
Message was edited by:
sathyguyThe resource limits set for a profile are enforced only when you enable resource limitation for the database.
Enabling and Disabling Resource Limits While the Database is Open
ALTER SYSTEM SET RESOURCE_LIMIT = TRUE;
http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96521/users.htm#15451
Manu
Maybe you are looking for
-
Update an query using a loop valuee
here is what i am doing? getting the result from the query: showing the form as: thereafter the updation is performed as: <cfquery datasource="#DSN#"> UPDATE answer SET answer = '#Form.ans1[idx]#' where ID = #Form.G_Q# </cfquery> on new page, use of
-
How to create ALIAS on Macbook Pro? Samples?
Here are the directions.... The installer creates a sound library folder at "/Library/Application Support/UVISoundBanks/". All sound library must be copied or aliased to this folder so UVI Workstation can access to the contents easily. So, I want to
-
AnyChart Version 4 - Upgrade Options in APEX 3.0?
General Production Question The AnyChart people have released a version 4 and 4.06 of their charting tool. Is there any way to upgrade our existing APEX 3.0 to the new AnyChart 4? - How would we obtain the new version of AnyChart? - From AnyChart dir
-
Running Older Software On OS X
Alright so I'm newer to Macs, only been using them for the last year or so. I've recently bought the Diablo Battle chest, with Diablo 1,2 and the Expansion, all of which according to manual will run on Macs. But when I run the disks, OS X tells me th
-
MAP not updated statistically for materials maintained in standard price
Hi all, For materials maintained in standard price, system updates MAP for statistical purposes - but I found that system is not updating MAP for goods movement with movement type 653. I posted a goods movement with movement type 101 and system updat