Standard table entries
hi all
i am having standard table J_1IPART2 . in this table i need to modify values of 4 fields with document number i.e with value of one field i need to modify values of 4 fields which already stored in database. can i have any ways to do it
can i write a simple modify program in se38 to modify the values in database. is it work? pls suggest me.
Kumar
Hi Kumar,
Yes you can write program to update the table directly and modify the entries for the specific document number, however this is not a recommended way as the database may become inconsistent with different entries maintained in different related tables.
So before updating the table entries make sure the values you are updating are maintained in only this table and not anywhere else for the respective document number.
regards.
Vikas
<b>Do reward useful suggestions.</b>
Similar Messages
-
How to transport standard table entries
Hi All,
I want to transport SAP standard tables records from one server to another server in append mode. It is actually required for upgradation purpose.
Can anybody please guide me in this regards ?
Thanks in advance!!Hi Reddy,
Thanks for your suggestion! but one problem I don't have the Transport Entries submenu enabled for all the SAP standard tables. Is it table specific ?. Please let me know how to enable this sub menu or is there any other generic method to attach the records of any SAP standard table in a TR.
Thanks! -
EREC- Standard table entries missing
Hi Experts,
We are in the process of implementing SAP E-recruitment EHP5. System has been set up. We have also activated the following business functions
HCM_ERC_CI_1
HCM_ERC_CI_2
HCM_ERC_CI_3
HCM_ERC_CI_4
HCM_ERC_SES_1
HCM_MSS_ERC_CI_1
HCM_HIRE_INT_CI_1
HCM_ASR_CI_2
But i am not able to find any entries in any of the standard tables(t77rcf*). Say for e.g. i cannot find any standard activities in the table.
Is there anything else that needs to be done, so that all the standard entries are visible.
Do i need to copy all the tables from client 000??
Please guide me in rectifying this issue.
Regards,
PradeepHi,
it depends on the settings for the client copy if customizing entries from client 000 are copied or not.
I general all entries in SAP customizing tables are examples and no "SAP standard". So in all of my projects I start from empty customizing tables for activities as I setup the system according to the customer requirements and do not care much for the SAP examples.
If you really want to have these sap examples as a starting point you can run report rhttcp77 for tables t77rcf* to copy the entries from client 000 to your working client.
kind regards
Roman -
Standard Table entry after EA-FIN activation
Hi All
after the activation of the business function EA-FIN (mandatory for the RE-FX) my guess was that the system should automatically insert the standard entry on customizing table.
In my case it doesn't happen.
How can I resolve this problem?
TIA
Sarah
Edited by: Sarah Soldi on Sep 24, 2009 10:44 AMHi Sarah,
sample customizing entries are only delivered in the delivery client. This is usually client 000. You have to transport them manually in your customizing client.
There are two ways:
1. login to client 000 and go through the customizing views of RE-FX and put the entries in a transport request
2. login to customihzing client and go through the cusotmizing of RE-FX and compare it with client 000. There is a compare function in the customizing views: Utilities -> choose connection with client 000 -> mark the entries and copy them in your customizing client.
I would recommend you the second way because you can adjust the customizing during copying it AND the adjusted data will be automatically saved in a transport request.
Regards,
Franz -
Standard Table entries missing in E-RECRUIT System
Hi,
We are in the phase of E-Rec implementation. We have installed standalone E-recruit system (NW 7.4)
We did client copy with SAP_CUST profile from 000 to 300, but some of the table were not reflected which we copied again.
We run the report RHTTCP77 for tables t77rcf* and copied client dependent tables from 000 to overcome the issue for the missing tables in 300.
But, still we have an issue with VV_T77SK_RCF as all entries are not updated, what is the way fwd?
Shall we proceed with SAP_CUST or SAP_ALL during client copy if we need above entries?
Can anyone please suggest what way we will follow to overcome the issue of missing tables?
Regards,
Khushboo SahuHi,
Please use SAP_ALL and for step wise instruction please check the below thread -
http://scn.sap.com/thread/121904 -
Transporting table entries present in standard SAP R/3 table u201CTMCEXCFZu201D.
Hi All,
We have a requirement where in we need to capture a table entry in transport request in R/3.
The table "TMCEXCFZ" is a standard SAP R/3 table.
The" transport entries" option under the "table entry" in menu bar is disabled in our case.
Is there an alternative way to capture the table entries in the transport request?
Thanks for your help in advance.
Thanks and Regards
Arun AilHi Arun
Try to go to object changeability in the table....assign the table in a package.....then try to save this...it should ask for a transport...
Hope this helps
Cheers
Chanda -
Triggering event when entries inserted in standard table
Hi Experts,
I've a requirement to trigger an custom event when entries created in table TOA01 table. We can do this for Z-tables by through options available in table maintenance generator screen. But, in my case its standard table, so i cant change the table. And I dont want to use change document objects. Can you please let me know is there any other method to achieve this.
Thanks in Advance,
Siva Sankar.Have you checked that if there is a standard event triggered when an entry is done to this table? I think that there might be. If an event is triggered, you can for example create a check function module, and trigger your own event from there.
Regards,
Karri -
Short dumop in J2I5 (provide duplicate entry in Standard table)
Hello Expert ,
We have a problem in T.Code J2I5 ( Excise Register Extraction) input entry is lelect Excise group 20 . and a date from 04.08.09 onwards. and select the register RG23D . it shows the run time error ( Eg The ABAP/4 Open SQL array insert results in duplicate database record ) . but in the standard Tcode is there possible to provide duplicate entry in Standard table
Thaks & regards
Aditya Kr TripathiRuntime Errors SAPSQL_ARRAY_INSERT_DUPREC
Except. CX_SY_OPEN_SQL_DB
Date and Time 29.01.2010 10:57:09
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
problem occurs in this code :
assign I_RG23D_TAB-I_RG23D_TYP to <x_rg23dtyp> casting.
<x_extrctdata> = <x_rg23dtyp>.
class CL_ABAP_CONTAINER_UTILITIES definition load.
call method CL_ABAP_CONTAINER_UTILITIES=>FILL_CONTAINER_C
EXPORTING
IM_VALUE = i_rg23d_tab-i_rg23d_typ
IMPORTING
EX_CONTAINER = i_report_tab-extrctdata
EXCEPTIONS
ILLEGAL_PARAMETER_TYPE = 1
others = 2.
I_REPORT_TAB-EXTRCTDATA = I_RG23D_TAB-I_RG23D_TYP.
COMPUTE I_REPORT_TAB-EXTRCTLNGT = STRLEN( I_REPORT_TAB-EXTRCTDATA ).
APPEND I_REPORT_TAB.
ENDLOOP.
IF M_EXTRACTED = 'X'.
LOOP AT I_RG23D_KEY.
DELETE
FROM J_2IEXTRCT
WHERE BUDAT = I_RG23D_KEY-BUDAT
AND SERIALNO = I_RG23D_KEY-SERIALNO
AND REGISTER = I_RG23D_KEY-REGISTER
AND EXGRP = I_RG23D_KEY-EXGRP.
ENDLOOP.
ENDIF.
Control table check here for data Extraction
INSERT J_2IEXTRCT FROM TABLE I_REPORT_TAB.
If the insertion of the extract table is successfull then the table
for Extraction is Inserted
IF SY-SUBRC EQ 0.
PERFORM FILL_EXTDT USING C_RG23D M_EXTRACTED.
ENDIF.
ENDFORM. " RG23D
*& Form RG23CPART1
Purpose : RG23C Part I extraction logic
FORM RG23CPART1.
DATA: $PART1 TYPE PART1_TYP,
$LINCNT LIKE SY-LINCT,
M_EXTRACTED VALUE '',
$RC LIKE SY-SUBRC.
*********************************************************************************************8 -
Hi Experts,
Please help in finding which SAP Standard table can we find the lock entries(SM12 transaction).
Thanks!Prerequisites
You have generated the demo data for the SQL Tutorial.
Log on to the database instance DEMODB as user MONA.
Examples
You can use the system table LOCKS to determine the following database information, among other things:
● All locks that are currently held on table ROOM
SELECT lockmode, lockstate, rowidlength, rowidhex, rowid
FROM DOMAIN.LOCKS
WHERE tablename = 'ROOM'
● All locks that the current user holds in that database session on table ROOM
SELECT lockmode, lockstate, rowidlength, rowidhex, rowid
FROM DOMAIN.LOCKS, SYSINFO.SESSIONS
WHERE tablename = 'ROOM'
AND locks.session = sessions.sessionid
● All locks that are currently held on the table with the hexadecimal internal identification 000000000000035D
SELECT lockmode, lockstate, rowidlength, rowidhex, rowid
FROM DOMAIN.LOCKS
WHERE tableid = X'000000000000035D'
If the current user is the database administrator (DBA user) or the database system administrator (SYSDBA user), then all currently held locks are shown.
Users that belong to other user classes only see the locks held by that one user.
Definition
The system table LOCKS describes the current lock entries and entries for lock requests.
Structure
LOCKS
SESSION
FIXED(10)
ID of the database session
TRANSCOUNT
CHAR(20)
Transaction identification in the database session
PROCESS
FIXED(10)
Process identification in the database instance
USERNAME
CHAR(32)
Name of the user
DATE
DATE(10)
Creation date of the lock
TIME
TIME(8)
Creation time of the lock
TERMID
CHAR(18)
User terminal identification
LASTWRITE
CHAR(10)
Elapsed time since the last SQL statement for data manipulation
LOCKMODE
CHAR(14)
Type of lock (NULL value | SHARE | EXCLUSIVE)
LOCKSTATE
CHAR(10)
Status of lock
APPLPROCESS
FIXED(10)
Process identification on the client hardware
APPLNODE
CHAR(64)
Client hardware identification
SCHEMANAME
CHAR(32)
Name of the schema of the table
OWNER
CHAR(32)
Name of the owner of the table
TABLENAME
CHAR(32)
Name of the table
TABLEID
CHAR(8) BYTE
ID of the table
ROWIDLENGTH
FIXED(4)
Length of the key of the locked row
ROWIDHEX
CHAR(64) BYTE
Start of the key of the locked row in hexadecimal notation
ROWID
CHAR(128)
Start of the key of the locked row
http://dev.mysql.com/doc/maxdb/en/c4/812640632cec01e10000000a155106/content.htm -
Hey guys,
how can i add entries to a standard table (generic table)?
I have a function modul which has an export table of standard table and i'd to add some entries to this table. How can i do that? i don't know the table line type.
thx,
Wei-MingHi Wei-Ming,
I was not sure what you were asking at the very first question, but it was clear for me at your 2nd post (but it seems it was not obvious for the other persons).
You must use field symbols or data references to manipulate the generic complex data objects (structure or internal table).
For example:
FIELD-SYMBOLS <ls_line> TYPE ANY.
FIELD-SYMBOLS <l_field> TYPE ANY.
APPEND INITIAL LINE TO et_test ASSIGNING <ls_line>.
ASSIGN COMPONENT 1 OF STRUCTURE <ls_line> TO <l_field>.
or
DATA dref TYPE REF TO DATA.
CREATE DATA dref LIKE LINE OF et_test.
ASSIGN dref->* TO <ls_line>. "dereferencing data reference
I let you search the forum and the ABAP documentation for more information.
BR
Sandra -
How to insert values in the standard table
Hi Experts,
I have a Standard table ( Info structure ), its called S551. It having 20 fields, Now i want to insert some 1000 records inthat table from Excel sheet, can any one plz help this.
If i tried in se11, with create entries option its not allowing to insert the values manually inthat table.
Plz help this. Point will be sure.
MohanaHi Mohana,
U can't insert the records directly in to the standard data base table. Also it is not advisable. It is always better to use BAPI/BDC to upload mass data.
I advise to write a small program for this.
Upload the excell file to internal table which is having same structure of S551.
use FMs TEXT_CONVERT_XLS_TO_SAP or GUI_UPLOAD for uploading data from excell to internal table.
INSERT/MODIFY S551 FROM itab.
Make sure that ur excell file structure and internal table structure matches and
U have values for all the primary keys of the table and don't have duplicates(primary key).
Thanks,
Vinod. -
Inserting record in standard table
Dear Sapians
I want to insert a record in standard table PRPS for testing one scenario. we tried to insert through abap program but we are unable to insert data in the PSPNR field.
Best regards
Sukumaran.Ehi,
check this code it may help u,
TABLES : AFKO,
AFPO.
DATA : BEGIN OF GI_AFKO OCCURS 1,
AUFNR LIKE AFKO-AUFNR,
END OF GI_AFKO.
data gi_AFPO like ZPRODUCT occurs 0 with header line.
*DATA : BEGIN OF GI_AFPO OCCURS 100,
MANDT LIKE
MATNR LIKE AFPO-MATNR,
DWERK LIKE AFPO-DWERK,
END OF GI_AFPO.
DATA: gv_date(11)," LIKE ekpo-aedat,
gv_date1(11),
year(4),
month(2),
day(2),
flag(1),
read_flag(1).
START-OF-SELECTION.
gv_date1 = sy-datum.
year = gv_date1+0(4).
month = gv_date1+4(2).
day = gv_date1+6(2).
year = year - 3.
CLEAR gv_date1.
CONCATENATE year month day INTO gv_date1.
select aufnr
from afko
into table gi_afko
where ( GLTRP <= sy-datum AND gltrp >= gv_date1 ) .
IF SY-SUBRC = 0.
select matnr
dwerk
from afpo
into CORRESPONDING FIELDS OF table gi_afpo
for all entries in gi_afko
where aufnr = gi_afko-aufnr.
ENDIF.
SORT GI_AFPO BY MATNR.
IF NOT GI_AFPO[] IS INITIAL.
MODIFY ZPRODUCT FROM TABLE GI_AFPO.
IF SY-SUBRC = 0.
MESSAGE I003 WITH 'VALUES UPDATED IN TO TABLE ZPRODUCT'.
ELSE.
MESSAGE I003 WITH 'VALUES NOT UPDATED IN TO TABLE ZPRODUCT'.
ENDIF.
regards
siva -
How to create a Attribute "Type standard table OF" to a OSS NOTE
Dear experts,
I need to add new attributes in a standard class as per one OSS note. I took access key to add new attributes. I have a question.
class name: CL_J_1BEFD
Attribute: MT_GROUP_C350
Level: Instance
Visibility: Private
Type STANDARD TABLE OF mty_result
How do i add the instance attribute because i do not want to give the typing and associated type, instead i have to declare data: MT_GROUP_C350 type standard table of mty_result in class builder private section code.
if you look at the pushbutton between Associated type and Description, for all instance attributes there's a green color lining below the arrow. I want my attribute also to be exactly same.
Though i have access key, in private section the display<->Change button is disabled.
Please suggest me how do i add code in private section of a standard class. i have required access key to change the class.
Thanks,
AlyssonHi Friend...
Thanks, but the question is...
When I went to transaction se24 or se80, I chose the class CL_J_1BEFD and second I swap to "CHANGE MODE".. after that the pushbutton is blocked... I can create the Attribute mt_group_c800 in the Class (using TYPE or LIKE option), but i can't change the code in the private session even using the assistant to modify it.
When I acess the Button "Detail View" the option "Direct Type Entry" is just unavaliable too, no matter what i do!
I coudn't find a way to create the Attibute like the note Describes (SAPNOTE NUMBER 1575772 - in the attachment of the note)
The changes are contained in the attachment
Follows the instructions retrieved from the file:
Add the following Attributes on the Class CL_J_1BEFD Private section
data:
mt_group_c800 TYPE STANDARD TABLE OF mty_result .
data:
mt_group_c850 TYPE STANDARD TABLE OF mty_result .
data:
mt_group_c860 TYPE STANDARD TABLE OF mty_result .
data:
mt_group_c890 TYPE STANDARD TABLE OF mty_result .
How can i make a way to creat this attributes using "TYPE STANDARD TABLE OF " Option? -
How to validate table entries for that table
i hav created one ztable se11.how to validate table entries for that table
hi,
create foreign key relation ships
do the following way
create a check table with key fields the fields which you want to check
create a foreign key relations with that table
the procedure is as follows
To create your check table:
Begin at the Dictionary: Initial Screen.
Type the table name in the Object Name field.
Choose the Tables radio button.
Press the Create button. The Dictionary: Table/Structure: Change Fields screen is displayed.
Type a short text, choose delivery class A, and tickmark Tab. Maint. Allowed.
Type the field and data element names at the bottom of the screen.
Tickmark both fields to indicate that they both form the primary key
Press the Save button on the Standard toolbar. The Create Object Catalog Entry screen appears.
Press the Local Object button. You are returned to the Dictionary: Table/Structure: Change Fields screen
Press the Technical Settings button on the Application toolbar. The ABAP/4 Dictionary: Maintain Technical Settings screen is displayed.
In the Data Class field, enter APPL0 (APPL0 with a zero, not APPLO with an alphabetic O).
Enter 0 (zero) in the Size Category field.
Press the Save button.
Press the Back button. You are returned to the Dictionary: Table/Structure: Change Fields screen.
Press the Activate button on the Application toolbar. The message "was activated" appears in the status
bar and the Status field contains the value Act..
Choose the menu path Utilities->Create Entries to enter data into your newly created check table. Enter six rows with land1 values of US, CA, DE, IT, JP, and AU.
Foreign Key Creation Procedure
To create a foreign key:
Begin at the Dictionary: Initial Screen.
In the Object Name field, type the name of the table that is to contain the foreign key .
Choose the Tables radio button.
Press the Change button. The Dictionary: Table/Structure: Change Fields screen is displayed.
Position your cursor on the field that is to become the foreign key
Press the Foreign Keys button on the Application toolbar. The Create Foreign Key screen will be displayed
Type a description of the foreign key in the Short Text field, for example, Country Code validation.
Type the name of the check table (-t005) in the Check Table field, or click on the down-arrow and choose it from the list.
The Change Foreign Key pop-up appears. It states Check table name was created or changed. Generate a proposal for field assignment? Press the Yes button.
You are returned to the Create Foreign Key screen. The check table field names and the foreign key field names are displayed. (The check table field names are -t005-mandt and -t005-land1. The foreign key field names are -lfa1-mandt and -lfa1-land1).
Press the Copy button. You are returned to the Dictionary: Table/Structure: Change Fields screen and the message "Foreign key was transferred" appears in the status bar. The Status fields contain the values Revised and Not saved.
Press the Activate button on the Application toolbar. The message "was activated" appears in the status bar. The values in the Status fields are now Act. and Saved.
reward if helpful
prasanth -
Table entries update through tcode me21n
Hi ,i want to update the database table ekpo through the screen fields execution.
please help me with the code lines.
thanksi am doing like this for updating the entries through tcode me21n.
IN PBO;
data: v_date type ekpo-zzpldte,
v_code type ekpo-zzreason.
if sy-tcode = 'ME21N'
or sy-tcode = 'ME21'.
loop at screen.
if screen-name = 'EKPO-ZZREASON'
or screen-name = 'EKPO-ZZPLDTE'.
screen-input = '0'.
modify screen.
endif.
endloop.
endif.
IN PAI:
types:ekpo.
data:it_ekpo like standard table of ekpo with header line,
wa_ekpo like ekpo.
select * from ekpo
into corresponding fields of table it_ekpo.
loop at it_ekpo into wa_ekpo.
wa_ekpo-zzpldte = v_date.
wa_ekpo-zzreason = v_code.
modify ekpo from wa_ekpo.
endloop.
i dont know whther i am doing it correctly,
will this will give me the database updates.
please note v_date and v_code is my feilds on th screen for the user entry.
please suggest.
thanks.
Maybe you are looking for
-
How to update Records of SAP table from .CSV file
Hi, I have written a code which takes a data from (,) delimited CSV file and adds it into the Internal table. Now I want to update the all fields in SAP table with the Internal table. I want to use Update statement. Update <table Name> SET <field nee
-
Is it possible to get the total value for column and assign to other field
hi, Is it possible to get the total value of particular column and assign that value to another field? How to do this? Thanks in advance, SAN
-
Just installed an SSD, cloned my old HD and boot from it, have a Mac Pro so I kept the old boot HD in the machine as well... question- do I have to relink all the programs that I use on my dock so that they pull from the applications on the SSD and n
-
Execution plan of a query changed
Dear Experts, One of the SQL's running fine prior has a problem now. It just takes too long to execute. Tuning advisor recommends a profile setting with 55% benefit and no other recommendations. Using profile hasn't helped much. I would like to check
-
Setting Apps for another domain machines in SharePoint 2013
Hi, How can I deploy developed app for another web application / another domain's web application? My Senarion is, I have configured Apps in SharePoint 2013. I have followed the link "https://www.nothingbutsharepoint.com/sites/devwiki/articles/pages/