Table Maintenance Object - Hide New Entries button
Hello,
Does anyone know how to hide the "New Entries" button in a table maintenance object?
I want to allow editing of the table, but I don't want to allow new lines to be inserted.
The generated screens do not have a gui status. I guess the gui status is part of SM30 and not part of the maintnenance object itself.
Thanks
Doug
hi
check the below link, this might solve your issue
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/2082425f-416b-2d10-25a3-85b8b6c5302c?quicklink=index&overridelayout=true
thanks
Similar Messages
-
Disabled new entries button in Table Maintenance
Hi Guru,
I want to disabled new entries button in table maintenance (sm30) due to authorization. could u tell me how can we do it.
I want give authorize to user only see table maintenace entries
not able to give new entries.
<REMOVED BY MODERATOR>
Thanks
Ramakrishna
Edited by: Alvaro Tejada Galindo on Apr 8, 2008 4:24 PMhi krishna,
It is used for updating tables.i.e deleting,updating and inserting data into tables.
check these threads and links
Re: Regarding Table Mainantance Generator
Re: table maintenance
For further help look into these links
http://help.sap.com/saphelp_46c/helpdata/EN/cf/21eb6e446011d189700000e8322d00/frameset.htm
http://help.sap.com/saphelp_bw30b/helpdata/en/69/c2516e4ba111d189750000e8322d00/content.htm
Table
Table maintanence generator is nothing but making a table available for adding records and deleting records.
The transaction code used is SM30.
follow below steps
1) go to se11 check table maintanance check box under
attributes tab
2) utilities-table maintanance Generator->
create function group and assign it under
function group input box.
also assign authorization group default &NC& .
3)
select standard recording routine radio in table
table mainitainence generator to move table
contents to quality and production by assigning
it to request.
4) select maintaience type as single step.
5) maintainence screen as system generated numbers
this dialog box appears when you click on create
button
6) save and activate table
using sm30 you can create entries manually.
check these links
Table Maintainance generator
Table Maintainance Generator!!
Re: STANDARD RECORDING ROUTINE IN TABLE MAINTENANCE SCREEN
<REMOVED BY MODERATOR>
karthik
Edited by: Alvaro Tejada Galindo on Apr 8, 2008 5:11 PM -
How to remove the 'New Entry' button in the warning message for a dialog bo
Hi Experts,
I am calling a Modal Dialog box screen having a pushbutton.
On the click of the pushbutton, I am performing some checks, and giving a warning message.
The warning message comes as a popup in this case and has three buttons on it.
One of these buttons is titled 'New entry'.
I dont want that button to come on the warning popup.
Please let me know if there is a way out for this.
Thanks in advance.
Useful answers will surely be rewarded.
Regards,
HimanshuHi Jyothi,
Thanks a lot for ur prompt reply.
But, in my dialog screen, on click of the button I am simply using the statement :
MESSAGE W000(0K) with 'text'.
The resulting warning message comes as a popup with the 'New Entry' button on it.
From the warning popup, how can I remove the button.
Please let me know.
Thanks.
Regards,
Himanshu -
How to hide New Task button on Task Page(Activity Screen)?
Hi All,
All answers and support will be appreciated,
We have a requirement to hide new task button on activity screen and i tired using java script on web applet to hide buttons but hiding was successful on other button like send email and delete buttons ,same script is not working on New task button , even i tried with the script bob provided in his document "Repurpose Buttons in On Demand with JavaScript" but no luck, Please let me know if have any solution.
Regards,
Rajeev.Rajeev, I would recommend that you post this question in the CRM On Demand Integration Development forum. Include your Java Script code.
-
Change "New Entry" button description on warning pop-up
Hello Experts,
I am displaying a warning message as information pop-up using following statement.
MESSAGE w100 (zmsg_class) DISPLAY LIKE 'I'.
The expected functionality is working fine but this warning pop-up has "New Entry" button on it.The requirement is to change the button description/label.
Could you please tell me is it possible to do so ? If yes, what can be the approach ?
Thank you.
Regards,
V JoshiHi Joshi,
The expected functionality is working fine but this warning pop-up has "New Entry" button on it.The requirement is to change the button description/label.
To get the this Po up which Fm you are using.
Regards,
Madhu. -
Hide new item button in ribbon jquery
hello,
I need to hide new item button from list page through jquery.
thanks.
regards
krishnakumarAnother option is to hide them using CSS.
SharePoint 2010 Hide Ribbon button using CSS
Amit -
Maintenance view: add new entry under existing ones
Hi,
I would like to add a new entry in a maintenance view, but keeping the existing entries visible. That is, I want a new line to appear under the older ones, so I can see them, instead of opening a whole new screen with empty lines.
Thanks in advance,
IvsonIf you want to add new field in the view.
Goto SE54 and carry out the following steps:-
1) Enter the name of the table or view.
2) Choose Generated objects.
3) Choose Create/Change. You go to the generated objects maintenance screen.
4) Choose Change. A screen of reasons for changes appears.
Select option(s) and choose Continue.
The new field will appear in the view. -
How to make the fields of the table mandatory while creating new entries..?
Hi,
I have created a new Z table which has 6 fields. All the 6 fields are KEY fields and all are of CHAR type. I have generated the table maintenance generator for the same. My requirement is all the fields should be MANDATORY while creating the entries. No field should be BLANK.
When creating the new entries in the table, even if I don't give any values to some of the fields, it is saving the entry. But, it shouldn't happen like that. If any of the field is kept blank, it should not allow the user to save the entry. Can someone tell me how to approach this. Will there be any settings while creating the table which takes care of this.
I read somewhere that this can be done using the Table EVENTS. Can someone tell me what is the code that we should write there in the Events which prevents the user from saving the blank fields. While writing the logic in the events, how to check whether the particular field is BLANK or not. Will the values be stored in any internal table kind of thing..?
My table name is ZCRF_TAB and the fields are FLD!, FLD2, FLD3, FLD4, FLD5 & FLD6. Can someone provide me sample code for my requirement. Thanks in advance.
Best regards,
Paddu.Hi,I think u have generated Table Maintainance Generator, goto Environment->Modifications->Events
Select appropriate option by using F4,I think value 05 is appropriate for u r requirement.Enter From routine name.Dbl click on the routine.
Write the appropriate code like:
If ZTABLE-FIELD1 is initial.
Message (E000) with "Fill all the manadatory fields".
Thats it.Just look at the following docu with screenshots,by this understand how u can use Table Events:
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/abap/how%20to%20implement%20events%20in%20table%20maintenance.doc
Regards,
Rock. -
Table Maintenance: Manual Transport for Entries in Customizing Table
Dear forum,
i'm facing a tricky problem at the moment. My customer wants the maintain a customizing table, but he does not want to transport the entries automatically (don't ask me for the reason), but manually.
The online help tells me, that this can be done.
In the SE11 i chose untilities -> table maintenance generator and for the subscreen "dialog data transport details" i chose "no or user, recording routine".
Continuing wiht the SE11 i chose untilities -> table maintenance generator -> environment -> maintenance objects -> transport "manual transport".
In the SE54 i created the events 10, 11 and 12 with the recommended coding from the online help.
But when i start the Maintenance via SM30 the points in the menue table view -> transport or edit -> transport are not active.
The function group does not include any generated statuses to activate the menue-points. What is missing toi get the popup, that asks me for the transport number?
Can somebody help me out or tried this before?
With kindly Regards,
Robertwrong!
the online documentation says:
Manual transport
The object maintenance transaction offers a manual link to transports. You can branch to it by selecting the Transport menu option. In the transport session, you can then select objects to place them in a Change request. A special transport program may be available instead of the menu option Transport, to place the object in a change request. The setting Manual transport means that changes to the object are not automatically recorded. If the maintenance transaction offers an automatic transport link, in addition to the manual one, you should select the setting Automatic transport.
What has to be done to realise it except creating the events? -
Create a new row in a table without using add new row button
I want to add a new row to the table without using the add new row button of the table. I'm not able to display default row in the table. Though if click on apply the record appears after saving in the database. Any thoughts how to implement this functionality.
Here is what you have to do.
1) You have to handle this in processRequest()
2) In the AM code , u need to check if there is already a row exisit or vo is blank
if (vo.getFetchedRowCount() == 0)
// first time
vo.setMaxFetchSize(0); // THIS IS REQUIRED.
Row row = vo.createRow();
vo.insertRow(row);
row.setNewRowState(Row.STATUS_INITIALIZED);
else
//If already rows are there then you suppose to insert in the end
// i assume you would have execute your vo
YourVORowImpl row= (YourVORowImpl)vo.getRowAtRangeIndex(0);
vo2.insertRowAtRangeIndex();
It should work. -
Getting the original values in table maintenance and the new one and send t
Hello experts,
In table maintenance, I need to capture the original values in that selected column/field and
also the new one and send it to email. For example, I have a field in my z table named zaddress and whenever
the user changes the contents of that selected row I need to get/fecth the original value and the new and send it to email.
So the email will be something like this:
Dear Admin,
Changes were made to ztable. Here are the changes:
Customer : Customer 1
Order no : 1
Original Address : example address A
New Address : example address B
NOTE: Do not reply to this email.
Again, thank you guys and have a nice day!Hi Vijay,
<b>1</b>.
If u r using Modulepool programming to change the field contents ,u just capture field value into one variable .This is possible in <b>PBO</b>.before displaying .once u change the field value and press something ,now capture changed value in another variable .This is possible in <b>PAI</b>.After pressing something to modify Database.
I think u can get one idea after reading this .
<b>2</b>.
For sending mail it is not a problem.
You can check the following code.
*-------Mail related tables ,structures and variables
DATA:
w_subject LIKE sodocchgi1,
i_pack_list LIKE sopcklsti1 OCCURS 1 WITH HEADER LINE,
i_objhead LIKE solisti1 OCCURS 1 WITH HEADER LINE,
i_contents_text LIKE solisti1 OCCURS 10 WITH HEADER LINE,
i_cont_bin LIKE solisti1 OCCURS 10 WITH HEADER LINE,
i_objhex LIKE solix OCCURS 10 WITH HEADER LINE,
i_receiver LIKE somlreci1 OCCURS 1 WITH HEADER LINE,
i_listobject LIKE abaplist OCCURS 1 WITH HEADER LINE,
pdf LIKE tline OCCURS 100 WITH HEADER LINE,
content_out LIKE solisti1 OCCURS 0 WITH HEADER LINE.
DATA:
tab_lines TYPE i,
doc_size TYPE i,
att_type LIKE soodk-objtp,
obj_desc LIKE w_subject-obj_descr,
sent_to_all LIKE sonv-flag,
client LIKE tst01-dclient,
name LIKE tst01-dname,
objtype LIKE rststype-type,
type LIKE rststype-type,
is_otf TYPE c ,
no_of_bytes TYPE i,
pdf_spoolid LIKE tsp01-rqident,
jobname LIKE tbtcjob-jobname,
jobcount LIKE tbtcjob-jobcount,
pn_begda LIKE sy-datum,
val(1) TYPE c,
pripar TYPE pri_params,
arcpar TYPE arc_params,
lay TYPE pri_params-paart,
lines TYPE pri_params-linct,
cols TYPE pri_params-linsz,
spool_name TYPE pri_params-plist.
CLEAR :w_subject,
sent_to_all,
i_pack_list[],
i_objhead[],
i_cont_bin[],
i_contents_text[],
i_receiver[].
i_cont_bin = ' | '.
APPEND i_cont_bin.
Subject of the mail.
obj_desc = 'Outstanding Appraisals' .
w_subject-obj_name = 'MAIL_ALI'.
w_subject-obj_descr = obj_desc.
Body of the mail
DATA :head_desc LIKE i_contents_text,
body_desc LIKE i_contents_text.
i_contents_text = space.
APPEND i_contents_text.
CLEAR i_contents_text.
CONCATENATE
'Please refer to the attached list of appraisal(s) that require your'
'attention. Please log in to the eHR System and use the eAppraisal'
'function to work on it.'
INTO body_desc
SEPARATED BY space.
i_contents_text = body_desc.
APPEND i_contents_text.
CLEAR i_contents_text.
CLEAR body_desc.
i_contents_text = 'Thank You.'.
APPEND i_contents_text.
CLEAR i_contents_text.
i_contents_text = space.
APPEND i_contents_text.
CLEAR i_contents_text.
CONCATENATE '(Note: This is system generated message, please'
'do not reply'
'to this Email.)'
INTO i_contents_text
SEPARATED BY space.
APPEND i_contents_text.
CLEAR i_contents_text.
Write Packing List (Body)
DESCRIBE TABLE i_contents_text LINES tab_lines.
READ TABLE i_contents_text INDEX tab_lines.
w_subject-doc_size = ( tab_lines - 1 ) * 255 + STRLEN(
i_contents_text ).
CLEAR i_pack_list-transf_bin.
i_pack_list-head_start = 1.
i_pack_list-head_num = 0.
i_pack_list-body_start = 1.
i_pack_list-body_num = tab_lines.
i_pack_list-doc_type = 'RAW'.
APPEND i_pack_list.
CLEAR i_pack_list.
Create receiver list
i_receiver-receiver = g_email_next_man.
i_receiver-rec_type = 'U'.
APPEND i_receiver.
CLEAR i_receiver.
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
EXPORTING
document_data = w_subject
put_in_outbox = 'X'
commit_work = 'X'
IMPORTING
sent_to_all = sent_to_all
TABLES
packing_list = i_pack_list
object_header = i_objhead
contents_bin = i_cont_bin
contents_txt = i_contents_text
receivers = i_receiver
EXCEPTIONS
too_many_receivers = 1
document_not_sent = 2
document_type_not_exist = 3
operation_no_authorization = 4
parameter_error = 5
x_error = 6
enqueue_error = 7
OTHERS = 8.
IF sy-subrc NE 0.
ENDIF.
I think it helps u something.
<b>Thanks,
Venkat.O</b> -
Customising UI in 4beta2: hide new tab button
== Issue
==
I have another kind of problem with Firefox
== Description
==
I want to know how to hide the new tab button especially when (to be specific)
tabs[[overflow="true"]
I have tried to modify this code:
<code>.tabs-newtab-button {
display: none
}</code>
but during overflow the new tab button again shows up.
This may not be the right place for such questions, still i needed a solution
== Firefox version
==
4.0b1
== Operating system
==
Windows 7
== User Agent
==
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:2.0b1) Gecko/20100630 Firefox/4.0b1
== Plugins installed
==
*-Shockwave Flash 10.1 r53
*4.0.50524.0
*Adobe PDF Plug-In For Firefox and Netscape "9.3.3"Try:
<code>#new-tab-button, .tabs-newtab-button {
display: none;
}</code>
You can also drag the new tab button back in the Customize window (View > Toolbars > Customize) -
Table Maintenance Generator - Lock of entries from different user
Hi there,
It looks like that there are a lot of threads about table maintenance generators, but none related with this one. The case is when I created a customer table Ztable and using table maintenace generator to get the Tcode Ztcode. My questions is how can 2 different user at the same time running this Ztocde without locking with each other?
Thanks in advance!
WeidongHi there,
From what I know it can be done through customer ABAP program transaction code but not from Table maintenance generator generated Tcode.
Any suggestion?
Weidong -
INSERT in the custom database table to create a new entry.
Hello Experts,
I'm trying to INSERT the entry in my custom databse table that i have created. But I'm not sure what i'm missing as i'm getting the sy-subrc = 4 after the INSERT statement and my records are not added to the database table.
I'm using the INSERT as below:-
APPEND gw_relax TO gt_relax.
INSERT INTO zmm_bg_relax VALUES gw_relax.
Please let me know your helpful responses on this,
Thanks,
NaveenCheck [INSERT dbtab|http://help.sap.com/abapdocu_70/en/ABAPINSERT_SOURCE.htm] [FROM TABLE itab [ACCEPTING DUPLICATE KEYS]|http://help.sap.com/abapdocu_70/en/ABAPINSERT_SOURCE.htm#&ABAP_ALTERNATIVE_2@2@],
If the addition ACCEPTING DUPLICATE KEYS is specified, all rows are inserted for which this is possible. The remaining rows are rejected and sy-subrc is set to 4. The system field sy-dbcnt is set to the number of lines that are inserted.
So if you get sy-subrc = 4, some of the records of the internal table are already contained in the database table.
You cannot put 2 or more records in a database table with the same primary key, primary keys are unique keys with the addition of a not-null constraint. If you need multiple records with a same key, you must add another key to the primary key. (use a timestamp or a counter)
Regards,
Raymond -
'Position' Button in Table Maintenance Generator
Hi,
i am using 'Position' button to navigate to particular entry in the table in table maintenance generator.
as far as i know this will correctly when we provide 'left part' of key in the pop up provided by position button.
however in my case where i changed the column positions in the table maintenance generator which includes key fields.
does it going to affect 'Position' functionality? because position button is not taking me to correct positions now.
please suggest....Did you change the key field order in the table structure in SE11 or did you manipulate the table maintenance screens by changing the key column order?
In either case, you can regenerate table maintenance by clicking the change button in SE55 and selecting all check boxes. This will correct the issue. However, check if you have any custom events written or modified screens, as those changes will have to be restored after regeneration
Maybe you are looking for
-
Will remote users be impacted by password complexity in AD?
How does Password Complexity affect remote user once the password has expired? When they attempt to connect via Windows 7 Remote Desktop Connection to our shared drives, they will get the notification but how to change it since the machine is not con
-
New movieclip from external swf
Hi everybody! I have an externally loaded swf with several keyframes on it´s own timeline. I would like to duplicate content of current (stopped) keyframe to new movieClip. There is no duplicateMovieClip in AS3 anymore.... how could I do that. Now I´
-
My blackberry App World error message "an error has occurred. Please try again later"
My app world used to work fine, until one day when it stopped signing me in a would come up with "an error has occurred. Please try again later" every time I tried to log in. Trying again later doesn't work and installing and reinstalling app world d
-
We use custom menus very often where there are no real needs for Business Process Flows. I have encountered some annoying behaviour when using the custom menu in combination with the Data Manager that launches as soon as you go over it with the mouse
-
I apologize if this is a duplicate of some other post, but I'm not finding this exact scenario. Assume that I have a table that looks like this: select * from PROD_TABLE PROD DESCRIPTION 1234 CANDLES 1234 CANDLE 1235 BRAKE PADS 1235 BRAKE PAD (Yes, I