Changing The record in a Standard Table
Hi,
I need to change the record which i had entered in the standard table.I can able to delete it by going in to the debugging mode but my question is how to change the record.
Regards,
Vijaya Lakshmi
To update the data of any table, go to transaction SE16N, type u201C&SAP_EDITu201D. It will activate SAP editing function.
Esle.
Opern any record in SE16.Double click on the record so that all the fileds will be displayed in vertical format.
start debugging by /H
change the value of "code" to "DELE" and execute.
Moreover if you want to do this in PROD environment, I would NOT use the SE16n way, due to dependencies, which can have unwanted effects (database inconsistencies). Although in this case (only Name of customer), it might not be as bad as it normally would be.
Similar Messages
-
How to search records in a standard table with * ?
Hi everyone,
Can anyone tell me how to search records in a standard table with * ?
That is, in screen if user type * abc * for searching the records in which the field MC_STEXT contains 'abc'. What the code should be? How to complete the code below?
SELECT SINGLE objid FROM p1000 INTO p1000-objid,
WHERE MC_STEXT = ? .
Thanks!Hi
There are several way to do that, probably just as some guys wrote the easier way is to use LIKE in WHERE condition and the sign % instead of *:
V_STRING = '%ABC%'.
SELECT SINGLE objid FROM p1000 INTO p1000-objid,
WHERE MC_STEXT LIKE V_STRING.
U can also use a range (just like select-options):
RANGES: R_MC FOR P1000-MC_STEXT.
R_MC-LOW = 'ABC'.
R_MC(3) = 'ICP'.
APPEND R_MC.
SELECT SINGLE objid FROM p1000 INTO p1000-objid,
WHERE MC_STEXT IN R_MC.
Max -
How to change the images dynamically in a table.
Hai,
How to change the images dynamically in a table based on the condition in webdynpro abap.
Edited by: Ravi.Seela on Oct 13, 2011 2:17 PMThis has been much discussed earlier. Do search posts.
For your scenario i would do the following.
inside your node which is binded to the table, i create a new node image with cardinality 1 ..1 and a attribute called path of type string.
create a supply function for the node image .
Supply method now has a Element (Parent element ) and node.
Based on your record in element, set the right image source to path attribute and bind the node.
This will make sure that the framework calls the image supply function for every row in a table. -
Number of records in a standard table
Hi,
How to find number of records, without fetching them into a internal table?
is there any command for that?
I want to know the number of records of a standard table in a report.
ThanksHi,
If you want to know the number of records in your internal table after select statement.
You can use the below statement.
data : wa_lines like sy-tfill.
DESCRIBE TABLE itab LINES WS_LINES.
In wa_lines you will have the number of records.
If you want to know the number of records from standard itself.
You can use below :
select count(*) from table into variable
endselect.
Thanks,
Sriram Ponna. -
How to change the Safety Intervals for standard Content datasources
Go to RSA2->give your datasource name ->setting up GEN delta
It shows you whts the safety interval setting.
<b>
How to change the Safety Intervals for standard Content datasources since when I go to RSA2 edit and change options are always greyed out. let me know if there is any other transaction code or table to do this.</b>
Thanks
Soniya KapoorHi Soniya,
1) try RSA6.....also RSA8 for additional info.
2) useful link:
http://help.sap.com/saphelp_nw04/helpdata/en/d0/4cc138944cfa06e10000000a11405a/content.htm
Good luck, BB -
Need Help : Urgent : Making one of the record Bold in a Table
Hi Frds,
I am new to OAF.......
I am facing the issue that i have to make one of the record bold in a table...........
By using the query, i m trying to display the payslip
It contains the list of Earnings ,Deductions and NetPay amount..........
this is the part of the query........
select payment_date,element_name,arabic_name,val,balance from
select '0' flag,assignment_id,null payment_date,'Payslip for the Month' element_name,to_char(payment_date,'Month-YYYY')arabic_name,
null val, null balance from xx_payroll_info
where 1 =1
and payment_date = last_day(:2)
and assignment_id = (select assignment_id from xx_people_reporting_info
where person_id = :1)
union all
select '1'flag,assignment_id,payment_date,element_name,arabic_name,
value val,null,balance
from xx_payslip_details_mv
where 1 = 1
and payment_date = last_day(:2)
and earn_deduct = ('E')
and assignment_id in (select assignment_id from xx_people_reporting_info)
union all
select '2' flag,assignment_id,payment_date,'Earnings-Total',null,sum(value) val,null
from xx_payslip_detail_mv
where 1 =1
and payment_date = last_day(:2)
and earn_deduct = 'E'
and assignment_id in (select assignment_id from xx_people_reporting_info
where 1 =1
and person_id = :1 )
group by assignment_id,payment_date
My Requirement is : I have to make the Payslip For the month of , Date, Earnings-Total into Bold..... How can i do this.... plz... help me out in this......
Thanks &Regards,
JayaHi Jaya,
Set CSS Class property as OraDataText for respectiveb column.
OR
/In Controller PR
import oracle.cabo.style.CSSStyle;
CSSStyle customCss = new CSSStyle();
customUnCss.setProperty("text-transform","uppercase");
customUnCss.setProperty("font","bold 16px \"Trebuchet MS\", Verdana, sans-serif");//# -red
OAMessageStyledTextBean styledTextBean =(OAMessageStyledTextBean)webBean.findIndexedChildRecursive("POCommentsItem");
if(styledTextBean!=null)
styledTextBean.setInlineStyle(customUnCss);
Thanks,
Dilip -
I have created Product entity in MDS. It's having the following values:
Name Code Owner
Bike 1 ABC
Car 2 XYZ
Cycle 3 RRR
owner XYZ can change the record of RRR. But if owner XYZ or any other owner in this entity tried to update the ABC's record, access should be denied. That means, no one should have the permission to change the records which are entered by ABC.
For this i have executed this code
CREATE TRIGGER mdm.party_trial_readonly ON mdm.tbl_1042_1278_EN AFTER UPDATE, DELETE AS
IF EXISTS (SELECT * FROM deleted WHERE readonly = 1)
BEGIN
ROLLBACK TRANSACTION
RAISERROR ('Attempt to change a read-only row', 16, 1)
RETURN
END;
After executing this code i couldn't edit any of the records.
Please help me out in this.I have created 2 entities called Party and Owner. Party has following columns (name, Code, Owner (Domain Based Attribute)) Owner has following columns (name, Code) And I have Created one Derived Hierarchy.
From user and Group Permision Section, Hierarchy Members tab I have given read only permision to me (administrator of the Model). When I gave the permision I have selected users and Inherited from group in permission tab. And I'm not the part of any group.
Now I'm not able to see my model except the explorer area. And I'm not able to delete the permission from the user. As per the admin guide we need to delete permission from group.
Though I'm not the part of any group, I'm not able to proceed further to delete the permission.
Please help me out in this regard. Thanks! -
Change the background color of a table created by ADDT (Login)
I am trying to change the background color of a table in the login form created by the developer's toolbox. I then go and select the table and change the background color. But it has no effect. The only insight I have is when I delete this "" from the Action in the form, then the table's background color changes. As far as I can tell this line of code is only return the url of the page.
I am not understanding something.
Does anyone have any insight?
Thanks!the table is linked using a CSS rule..
the CSS rules comes from something called Skins..
see mxkollection2.css.
KT_XXX are the class ID's for table names.
if u change this rule it will effect all the tables which use that rule in ur whole website.
u can try switching skins from ADDT control panel.
KT_tngtable is the tables css rule name defined in skins /Skinname/tng.css
hope this helps u ..
mohnkhan
http://www.mohitech.com -
How to change the unload priority of a table in SAP HANA?
Hi Experts,
How we can change the unload priority of a table in SAP HANA? I know by default the priority is 5. Is there any way so that we can check the unload priority of a particular table in HANA studio? Is there any SQL statement to get the same?
Please suggest.
Thanks in advance.
Regards,
ArindamHello Arindam,
Just for the future:
ALTER TABLE - SAP HANA SQL and System Views Reference - SAP Library
To check before hand:
select
table_name, unload_priority from SYS.TABLES
where table_name = '<Your Table>'
To Make the change:
alter table <Your Table>unload priority <Priority You Want>.
As you have asked in the BW on HANA section I assume you're on BW and you could also have checked this with tx SE14.
Hopefully the above gives you everything you need.
Kind Regards,
Amerjit -
Modify the Field Type of standard Table fields in a Query
Hello. I have a question.
Is there a way to "modify" the field type for standard table fields that are included in a Query?
I made a simple query out of a join of tables, but several fields have a lot of decimals, and I would like to present them in the query without any decimals, just as a regular "N" field.
I tried the possibility of creating extra local fields where all I do is transfer the value to the new "N" field, but I have many fields like this, so if there's a better way; I'd prefer that.
Maybe somewhere in the InfoSet there's a way to modify the type of the standard table fields?
Thank you.Hi,
This document may help you out.
[http://help.sap.com/saphelp_erp60_sp/helpdata/en/d2/cb4468455611d189710000e8322d00/frameset.htm|http://help.sap.com/saphelp_erp60_sp/helpdata/en/d2/cb4468455611d189710000e8322d00/frameset.htm]
Cheers, -
How to check the records in Master Data Table?
Hi,
I am trying to load the Master Data Table using the Flat File.Now how to check the records in Master Data Table?
I done the following way:
Info Provider->Info Object->Right Click->Display Data or Maintain Master Data
But it's not showing the records.It's asking like CID from......To......
CID(SID)from.............To.......
here CID means customer id(characteristic).
and showing some settings.
Please guide me.
Thanks & RegardsHi Sri,
Go to T- code RSD1 and type your info object name and open the P- table in the infoobject then select execute symbol to see the updated data in to master data info object.
regards
sap -
How to change the field length in standard sap program.
Hi All,
How to change the field length in standard sap program.
Urgent
Example:
Text1 type c length 75,
To change :
Text1 type c length 150,
Point will be rewarded..
Thank you,
Vikram.CIf the only solution is to change the sap standard program, simply change the program, it will prompt for an access key. This key can be retrieved in the SAP support portal (service.sap.com) at keys and requests, sccr keys, register object.
Sometimes these actions are outsourced to a competence center, so maybe youre not entitled to do this, in any case ask a resident senior developer for support.
regards, Rob -
Can we change the Record Group Type through Custom.pll
Hello All,
I have a small requirement on Changing the Record Group Dynamically.
Can i set the Record group type to 'Query' from 'Static'. i.e Can i change the Record group type dynamically through custom.pll. I know that we can dynamically change the Record group query.
Please help me its a bit urgent.
Thanks inadvance,
Amarnadh Jsyou can control your record group runtime without create any recordgroup at design time..
1.static group
declare
rg_name VARCHAR2 (40) := 'Global_Rgp_Menu'; --global record group name for menu use
rg_id recordgroup; --global record group id
gc_id groupcolumn; --global record group coulmn id
errcode NUMBER; --error code
grp_row PLS_INTEGER := 0; --global record group row count
begin
rg_id := FIND_GROUP (rg_name);
IF NOT ID_NULL (rg_id)
THEN
DELETE_GROUP_ROW (rg_id, all_rows);
ELSE
rg_id := CREATE_GROUP (rg_name, global_scope);
gc_id := ADD_GROUP_COLUMN (rg_id, 'menu_item', char_column, 100);
gc_id := ADD_GROUP_COLUMN (rg_id, 'p_type', char_column, 100);
gc_id := ADD_GROUP_COLUMN (rg_id, 'p_no', char_column, 100);
END IF;
grp_row := 0;
for 1 in 1..10 loop
grp_row := grp_row + 1;
ADD_GROUP_ROW (rg_id, grp_row);
SET_GROUP_CHAR_CELL (rg_name || '.menu_item', grp_row, 'menu' || to_char(i) );
/*type*/
SET_GROUP_CHAR_CELL (rg_name || '.p_type', grp_row, 'type' || to_char(i) );
/*program_no */
SET_GROUP_CHAR_CELL (rg_name || '.p_no', grp_row, 'programno' || to_char(i) );
end loop;
end;
2. query group
declare
FACT_SQL VARCHAR2(500) :=NULL;
rg_name1 VARCHAR2(40) := 'Global_Rgp_fact';
rg_id1 RecordGroup;
Error_Flag number:=0;
group_error exception;
begin
rg_id1 := Find_Group( rg_name1 ); IF NOT Id_Null(rg_id1) THEN Delete_Group( rg_id1 ); END IF;
FACT_SQL := ' SELECT * FROM MYFACTORY ' ;
rg_id1 := Create_Group_From_Query( rg_name1,FACT_SQL ,global_scope);
Error_Flag := POPULATE_GROUP(rg_id1);
IF Error_Flag <>0 THEN
error_msg:='Error while populating factory group';
raise group_error;
END IF;
exception
when group_error then
message(error_msg);
raise;
end;Edited by: nolemlin on 2010/3/23 上午 7:50 -
Anyone solve the "you can't change the record's entity name" issue
Been getting the following in my system.log. I have noticed it was posted before but no replies on how to solve it. Hoping to get some traction on the issue.
This is on a Intel Duel Core running 10.8.4
Thanks,
Ron
Aug 24 11:35:48 enterprise iCalExternalSync[6112]: [0x7ff3f8c0e4e0] |Miscellaneous|Error| SyncServices precondition failure in [ISyncConcreteSession pushChangesFromRecord:withIdentifier:]: you can't change the record's entity name from com.apple.calendars.DisplayAlarm to com.apple.calendars.AudioAlarm in {
"com.apple.ical.sound" = Basso;
"com.apple.syncservices.RecordEntityName" = "com.apple.calendars.AudioAlarm";
owner = (
"Event/p76"
sound = Basso;
triggerduration = "-54000";
Aug 24 11:35:48 enterprise iCalExternalSync[6112]: [ICalExternalSync ]Encountered exception: [ISyncConcreteSession pushChangesFromRecord:withIdentifier:]: you can't change the record's entity name from com.apple.calendars.DisplayAlarm to com.apple.calendars.AudioAlarm in {
"com.apple.ical.sound" = Basso;
"com.apple.syncservices.RecordEntityName" = "com.apple.calendars.AudioAlarm";
owner = (
"Event/p76"
sound = Basso;
triggerduration = "-54000";
} withStack: (
0 iCalExternalSync 0x000000010afd0a60 iCalExternalSync + 125536
1 iCalExternalSync 0x000000010afbfac9 iCalExternalSync + 56009
2 iCalExternalSync 0x000000010afcf694 iCalExternalSync + 120468
3 libdyld.dylib 0x00007fff8a46d7e1 start + 0
4 ??? 0x0000000000000007 0x0 + 7
Aug 24 11:35:48 enterprise iCalExternalSync[6112]: [ICalExternalSync ]NSException name:ISyncInvalidArgumentsException reason:[ISyncConcreteSession pushChangesFromRecord:withIdentifier:]: you can't change the record's entity name from com.apple.calendars.DisplayAlarm to com.apple.calendars.AudioAlarm in {
"com.apple.ical.sound" = Basso;
"com.apple.syncservices.RecordEntityName" = "com.apple.calendars.AudioAlarm";
owner = (
"Event/p76"
sound = Basso;
triggerduration = "-54000";
Aug 24 11:35:48 enterprise SyncServer[6084]: [0x7fa1b940be70] |Server|Warning| lost connection 0x7fa1ba226f40 to com.apple.iCalThe same I guess as if your work won't let you do anything - not a lot
I would hold fire at the moment as I think its too early to be changing router security - I have no inside information but like many I suspect its a combination of firmware updates to routers and a patch needed on the iPad. If solely the latter then it will be fine for you, but if for example, the work routers are using Cisco Clean Connect, then there will be little you can do - it will be up to work I'm afraid. -
Changing the record group query in seeded forms
Hi all,
I need to change the record group query in one seeded form.
Can it be done through custom pll or what is the correct approach to do that..
Thanks,
Devangyou want to do that at runtime?
Maybe you are looking for
-
Airport Express Extends 5GHz at 2.4GHz?
My second generation(802.11n) Airport Express extends my 5GHz network, Net5, at 2.4 GHz. The express is about 20 feet from its "target," an iPad 3 serving as an internet radio. I know this because a scan turned up the 5GHz network on the same channel
-
Back button in Adobe reader for iPAD pdfs
Two problems: 1 If I use a link in my pdf to an internet web site, how can I get back to Adobe Reader without quitting and restarting. 2. When I use a reference link to an entry at the end of the document I cannot go back to the text position
-
Application parameter to be passed to view
Hi, in ECC6.0 I've created an application that has a parameter. This parameter is passed to a window which is unique to the application. The window has only 1 imbedded view. So now the problem. The window receives the parameter correctly from the
-
I enjoy listening to history podcasts while going for walks. I line up the podcasts within the playlist from top to bottom in the order that I want to hear them. When I start the playback - the Shuffle perversely begins the playback from the bottom a
-
Iphone work on air print and not ipad
iphone work on air print and not the ipad? any suggestion? This question was solved. View Solution.