Tracking the custom table changes
Hai,
plz let me know how to track the changes in custom table?
thankyou.
Moderator message: please search for available information before asking.
locked by: Thomas Zloch on Sep 17, 2010 12:55 PM
Please SEARCH in SCN before posting.
Similar Messages
-
How to Track the changes made to the custom table field value
I want to track the changes made to the custom table field value in table maintenance generator.please help me it is very urgent
Thanks & Regards,
KrantiHi Satya,
These are the steps you've to do.
1. Enable the change document flag in the data element level for the fields of the tables you want to monitor.
2. Go to transaction SCDO. Create a new change object, and add your table to this object. After generation, you'll get a function module.
3. Call this function module in the table maintainence generator screen, after the data is saved to the database table. This function module automaticallly writes the changes, with the old and new values, and the fields that were changed to the tables CDHDR and CDPOS.
4. You can keep track of the changes made to the table by monitoring these tables.
Regards
Anil Madhavan -
Tracking the changes made to the custom table field value
Hi all,
can we track the changes made to the custom table field values. if yes..plz specify how it can be done.
Example: if i changed the value of field 'NAME' of table 'YYHCUSTOMER'. i would like to know the old value and the new value of the field. For this, I set the flag 'LOG DATA CHANGES' in the technical settings of the table 'YYHCUSTOMER'.-> try TA: SCU3
regards Andreas -
How to find out the changes made to the customized table entries
Hi Team
i want to know the changes made to the customized table. i have a 'Z' table in my production system, in that table i would like to know whether any table entry is deleted or not. if at all there is any deletion happened, i want to know who had done it.
So i request you to please let me know the procedure for the same.
Thanks
RajHi Nagaraju,
Go to Table Maintenance (SM30)- Display mode-- Utilities-- change Logs. Give the Date range. before giving the date range click on display status , this will show you If the display is active or not. Kindly please let me know If you need any more information on this.
Regards
Ram Pedarla -
Retriction of access the custom table
Hi Experts,
I created a custom table. Here I have 5users. the first 3 user want to access the custom table in change mode. the remaining 2 users want to see table in diplay mode only.
But here SAP is allow access the table in change mode only to one user. Is it not possible to do this one to multiple users?
Please tell me.
Thanking you.Hi,
Here lock concept comes into picture, as you are saying like 3 users in change mode where if one is editing the records and if another opens then obviously table locks. Check this and ask your Basis guys for the authorizations setting like for 3 users change action and for the another 2 users display action.
Cheers!!
VEnk@ -
How to update standard table based on the custom table
Hi,
I have requirement , I have custom table whatever changes done to the custom table must be updated in the standard table
i have tried the table maintenance events but unable to handle delimit , what is the base solution for this.
1) create
2) change
3) delimit
4) delete
6)copythe table im updating is t710
the custom table is same as the standard table except for one field . whatever the user maintains the values in custom table except for the one field everything should update back to the standard table. Im able to update when we create delele but the problem is delimition. when im delimiting the record in custom table its just changing the startdate and it is not actually delimiting the record itself .I want both records the latest one and previous one and should be update back into the standard table same as the custom table -
How to find out the user who has created a new field in the custom table.
How to find out the user details who has created a new field in the custom table.
Thanks,
JoanHi Jesudasan ,
You can know the user details with version management.Please find the
below procedure to know.
Go to table->Utilities tab->version->Version management->Compare the previous one .
Hope this solves the issue,Let me know if you have any issues.
Thanks,
Rajani -
How to create the custom table?
Hi, how to create the custom table and how to integrate the table with defferent R/3?
my requiremnt is i have to create the two tables and those i have to integrate with the existed R/3 and using those R/3 i have to update my custom tables .....can give me some idea?
Tks
DPkhow to create the custom table
There are two approach in creating a table.
1. Bottom-up approach
2. Top-down approach.
Both are valid and you can choose which approach is suitable for you. I always use the bottom-up approach. Here are the steps to create the tables with this approach.
1. SE11 will take you to the DDIC and enter the name of the new table to be created. Let us say Zname. Click create.
2. Enter the short discription of the table and enter the field of the table. If it is primary key and you have to check the box.
3. Enter the data element and double click it, you will be asked to save and will take you to data element discription page. Enter the short discription of the data element and enter the information of domain like the length of field and type of field.
4. If you wanted to use the existing domain then its fine, or else, you have to create one. Enter the domain name in the data element page and double click it. Page will ask to save and jump to domain creation page.
5. In the domain page, you have to save the information which you have already given in the data elements page and check it. Before going to data element page, you have to activate the domain.
6. Go to data element page and save, check and activate.
7. Go to main table page and save, check, and activate.
8. Also, you have to save the technical settings of the table.
The table is now ready for operation. You can use it in your program or you can use it to enter information.
Check table: It is the table which will have all the information about the Foreign keys which are the primary keys in the check table.
It can be created by creating the foreign key from the main table. Click foreign key in the main table and it will take you to a page which will ask for table name and field to which foreign key relation has to be associated. Enter the information and you can create the check table automatically.
SM30 is used for maintenance of the table, that is to realease the errors occured during the creation of the table.
how to integrate the table with defferent R/3
Transport the Table to the another server/client/qas/prd
Kanagaraja L -
How to enable the DFF in OAF page(where Dff is based on the custom table).
Hi Experts!!
I am in the process of enabling the dff in OAF page. I am not able to enable the dff if am using the Custom table.
Ex:
Assume that my DFF XX_DFF is using the custom table XX_TABLE of att1,att2..
I am able to enable the dff in OAF page but not able to make those values entered to get stored in the custom table.
I need helping hands to help me out to get the entered dff values stored in my custom table.
Kindly provide me the steps so that I can follow up..
Best wishes,
Thiru.Hi,
thiru_apps wrote:
I need to store the captured values of Dff(which was enabled in the seeded page based on the custom table XX_Table) and the same needs to be stored into the custom table xx_Table.
Basically the entered values for the DFF enabled should have to be get stored in the XX_TABLE(Custom TAble).As per my understands in Standard page u want create some extra fields and those should be save in custom table...is it ...
For that u r going create stack layout region in standard page via personalization and extend with custom region.
IF im geting u correctly u need to write code in co and am.
---U had already created the components eo vo AM co...
---For the custom region in Jdev do the mapping of viewInstacne and view attribute properties for the fields.
---In AM:
public void CreateVo(OAPageContext pageContext, OAWebBean webBean)
Row hrow;
OADBTransaction tr=getOADBTransaction();
EOVOImpl vo=getEOVO1();
if(!vo.isPreparedForExecution())
vo. executeQuery();
hrow=vo.createRow();
vo.insertRow(hrow);
hrow.setNewRowState(Row.STATUS_INITIALIZED);
public void savetr()
OADBTransaction tr=getOADBTransaction();
tr.commit();
In Co ProcessREq:
AMImpl AM=(AMImpl)pageContext.getApplicationModule(webBean);
AM.CreateVo(pageContext, webBean);
In Co ProcessFormREq:
---GEt the event of the save button of the standard page
if(pageContext.getParameter("save")!= null)---DI of the standard page
AM.savetr(pageContext, webBean);
Regards
Meher Irk -
How to find out the volume of the data updated in the custom table
Hi,
I need to find out the the volume of the data inserted or updated in the the custom table(Y tables).I have tried by the sm37.the job running in to update the table but i didnot get thde amount of the data.and if get the volume of the data which being updated in the custom table is there any option to control that amount to being updated?
Thanks in advance .....waiting for the respone.Hi Sreenivas.
How did you find the solution to this? Trying to do the same thing!
Cheers,
Tom -
How to download the custom Tables to xls from the system?
Hi
How to download the custom Tables to xls from the system?
VijayHi,
Goto SE11, in the table name field give Z*, and click on display. You will get the list of Z tables.
Regards,
Prabu -
How to maintain the sequence in the custom table
Hi,
We have custom table where we will store the standard text name based on different flags and it will be fetched the value according to the condition.
Example code
SELECT SINGLE field1
field2
INTO ( vaiable1 variable2 )
FROM custom table
WHERE tdobject = iv_signature
AND bukrs = vbdkr-bukrs
AND vkorg = iv_vkorg
AND vkbur = iv_vkbur
AND lland = vbdkr-land1
AND fkart = vbdkr-fkart
AND kschl = iv_kschl.
CHECK sy-subrc <> 0.
SELECT SINGLE field1
field2
INTO ( vaiable1 variable2 )
FROM custom table
WHERE tdobject = iv_signature
AND vkorg = iv_vkorg
AND vkbur = space
AND fkart = vbdkr-fkart
AND kschl = iv_kschl.
CHECK sy-subrc <> 0.
SELECT SINGLE field1
field2
INTO ( vaiable1 variable2 )
FROM custom table
WHERE tdobject = iv_signature
AND vkorg = iv_vkorg
AND vkbur = space
AND fkart = vbdkr-fkart
AND kschl = space.
The solution I created to avoid the select is, i have created the FM with all parameter. Addition to the FM, I have created a Table as well to maintain the flag.
New table
TDOBJECT TDID BUKRS VKORG VKBUR KUNNR MWSKZ AUART VGBEL_AUART KTGRM LLAND FKART WERKS KSCHL STNAME
FOOTER X X ZNET_DICI_FTR_FI
FOOTER X X ZNET_DICI_FTR_NL
FOOTER X X X
i.e. say example if we maintain the value in the custom table based on the first select query. Then we need to maintain the flag in the table which was created newly.
Note In the both field the key fields are same.
The problem now is we have plenty of select query for different condition, i though of maintain the sequences of the entries. But my worry is how many sequence number will be maintained and in what bases it will be maintained.
Could you please help me to resolve this problem?
Regards,
VijayHi,
I got your requirement as,
whenever a new entry is made in the table, one sequence has to be maintained somethign like serial number and everytime it has to be incremented. If it is so, then you can go for an additional field as serial number. Then get the max serial number from the following select query:
select max(serial) from cust_table
into v_serial.
Now, when you make a new entry, just give (v_serial + 1) to serial number...
Please let me know if i understood wrongly... or what you want... -
Urgent:-Values are not inserted into the custom table
Hi, I am inserting the data from the custom OAF form into a custom table. Only the WHO columns are populated into the table but no field value is populated into the custom table. I have written the following code -
In CO
if (pageContext.getParameter("Continue") != null)
OAApplicationModule am = pageContext.getRootApplicationModule();
OAViewObject CwkInfo = (OAViewObject)am.findViewObject("CWKInfoVO1");
am.invokeMethod("initializevo");
in AM
public void initializevo()
CWKInfoVOImpl testVo = (CWKInfoVOImpl) this.getCWKInfoVO1();
testVo.insertRow(testVo.createRow());
getTransaction().commit();
Urgent Help is required.
Regards,
AshishHi Ashish,
Double check whether you have attached the correct EO based VO attribute to the columns.
In the Controller
Process Request use the following code:-
public void processRequest(OAPageContext pageContext, OAWebBean webBean)
super.processRequest(pageContext, webBean);
OAApplicationModule am = pageContext.getApplicationModule(webBean);
if (!pageContext.isFormSubmission())
am.invokeMethod("initQuery", null);
ProcessForm Request
public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
System.out.println("Inside Process Form Request");
super.processFormRequest(pageContext, webBean);
OAApplicationModule am = pageContext.getApplicationModule(webBean);
if (pageContext.getParameter("submitButton")!=null)
am.invokeMethod("submit")
AM Code
public void initQuery()
OAViewObject vvo = (OAViewObject)getEmployeeEOVO1();//Give you EO based VO Name
if (!vvo.isPreparedForExecution())
vvo.executeQuery();
Row row = vvo.createRow();
vvo.insertRow(row);
row.setNewRowState(Row.STATUS_INITIALIZED);
public void submit()
getTransaction().commit();
Import necessage classes.
Thanks
--Anil -
How the data is entered in the customized table
Hi,
In implemenation scenario when we create generic extraction , how the data is entered
in the customized table if it is huge data ( around 5000 records)
Regards,
VivekHi Vivek,
Follow bellow steps:
1.Goto RSO2.
Choose Datasource from bellow of Three
a). Transaction Data
b). Master data Attributes
c). Master data Text
2.Specify Application component(SD/MM..)
3.There are three extraction methods to fill datasource.
4.Select extraction method extracts the data from a transparent table or database view.
5.Select Extraction from View, then we have to create the View.
a).Specify the view name.
b).Choose the view type (Database view) from bellow mentioned views.
i). Database view.
ii). Projection view.
iii).Maintainance view.
iv). Help view.
6. Specify Tables and Join Conditions and define view fields.
7. Assign View to Datasource
8. Once you specify view in Data source, the extract structure will generate.
9. you can check the data in RSA3.
Regards,
Suman -
I want to update the Custom table using the data available in ITAB.
Hi,
I want to updaste the Custom Table which is created by me (Ztable) using the data available in itab.(which i got from defferent standard tables)
I want to update the custom table using the itab data How is it possible?
Is any possible by using Modify ?
DPK.example here
modifying datbase table useing internal table
advises before updating this datbase table plz lock that table to avoid incosistency
write the logic for modifying
Modify the database table as per new dunning procedure
MODIFY fkkvkp FROM TABLE lt_fkkvkp .
and finally unlock the table
example
*To lock table for further operations
constants: lc_tabname TYPE rstable-tabname VALUE 'FKKVKP' . "FKKVKP
CALL FUNCTION 'ENQUEUE_E_TABLE'
EXPORTING
tabname = lc_tabname
EXCEPTIONS
foreign_lock = 1
system_failure = 2
OTHERS = 3.
IF sy-subrc EQ 0.
To fetch all the contract accounts for customers of the segment
Households/SME.
PERFORM fetch_contract_accounts using lc_tabname .
ENDIF. " IF sy-subrc EQ 0.
*wrote the logic
Modify the database table as per new dunning procedure from internal table
MODIFY fkkvkp FROM TABLE lt_fkkvkp .
*unlock the tbale
CALL FUNCTION 'DEQUEUE_E_TABLE'
EXPORTING
TABNAME = uc_tabname .
Maybe you are looking for
-
How to make more than one home tab?
On all the windows based browsers, you can type all your home page addresses in or press set current and all the tabs open will now be your home pages. I got firefox for mac to open all my tabs, but I need to do the same for safari.
-
Select... for all entries in...
Hi, Can anybody help me to sort out this issue. This select should work. I m filling an itab with distinct pernr. in temp it should give <b>all the records for which pernr should not be in itab.</b> report ZTEST4. data : begin of ITAB occurs 0,
-
How to use Serial/Parallel Port/DAQ card of a PC to run a SPI communication?
Hi, dear all, I am looking for a method to send 10-bit word data to AD8403 Digital Potentiometer from PC's Serial/Parallel Port or DAQ card. Is it possible to implement such a communication with LabVIEW? Are thee ready VIs for this application? Thank
-
Does Premiere pro CS6 let you edit footage in After effects CC?
I was thinking about buying after effects cc but then i wonder if you still can have a good workflow between adobe after effects cc and adobe premiere pro cs6? /Ted
-
Failed to update Photoshop CC and After Effects CC
Failed to update Photoshop CC and After Effects CC what to do?