RE: Table maitain
Dear All,
This is a small question however i would like to know indetail can any one explain to me in brief.
Why we want to maitain a new table in tcode SM30 what is the purpose (i know something whenever we create new program which is going to store date in new table that pupose i know i am still blur)
can you give me more example on this topic it is really useful
<< Moderator message - Please do not offer points >>
Regards
Venkat
Edited by: Rob Burbank on Oct 21, 2010 4:44 PM
If the table defination (Transaction SE11) has the maintainance class as "A Application table (master and transaction data)", then that table can be maintained in SM30.
SM30 is used to maintain those tables which do not have any customization path or any transaction (Like, your custom tables etc.)
Regards,
SDNer
Similar Messages
-
Can we generate a transport request in SCAT transaction?
Hi Everyone,
Is it possible to generate a transport request in SCAT transaction.
I am using a test case to update some tables. Can I generate a transport request so that I can move the changes to the table (like table maitainance) across systems?
Thanks in advance.Hi,
Please check this link which has very good article for beginner.
http://www.thespot4sap.com/Articles/CATT.asp
For more information, please check this links.
http://help.sap.com/saphelp_47x200/helpdata/en/ae/410b37233f7c6fe10000009b38f936/content.htm
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCCATTOL/BCCATTOL.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCCATTOL/CACATTOL.pdf
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/u/37984. [original link is broken] [original link is broken]
Hope this will help to start with.
Regards,
Raj. -
Can I generate a transport request in SCAT transaction?
Hi Everyone,
I am using a test case to update some tables. Can I generate a transport request so that I can move the changes to the table (like table maitainance) across systems?
Thanks in advance.Hi,
Please check this link which has very good article for beginner.
http://www.thespot4sap.com/Articles/CATT.asp
For more information, please check this links.
http://help.sap.com/saphelp_47x200/helpdata/en/ae/410b37233f7c6fe10000009b38f936/content.htm
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCCATTOL/BCCATTOL.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCCATTOL/CACATTOL.pdf
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/u/37984. [original link is broken] [original link is broken]
Hope this will help to start with.
Regards,
Raj. -
How to maitain table maitainence for the table containing Long field
Hi ,
i have create a table with the following structure.
MANDT MANDT
LANG ZLNG char3
TEXT_ID ZTEXT_ID char8
TEXT_TYPE ZTEXT char35
TEXT TEXT_EB char4
LEN ZLEN int
ZSTR LS_LC4096 char1200
How to maintain table maitainence generator for this table.
regards,
MadhaviHi Madhavi,
can u please let us know how u have solved the problem.
It will be helpful to everyone.
Thanks & Regards,
Sudheer -
Hi gurus,
I have a requirement regarding pricing.
In my pricing one material pricing depends on other material, say, i have two material 'A' and 'B'
'B' material price depends on 'A' material price, that means we maintain price for 'A' material, for 'B' material the price depends on 'A' material price.
to meet this requirement how to maintain condition tables for material 'B'
any suggestion is highly appriciated.
thanks,
shiguhi
if the price for both the materials A and B are same
then in the material master of Material B in the sales:sales org 2 in the tab grouping terms and in the field
Pricing Ref. Matl (here maintain the material a)
If u maintain as said above there is no need to maintain the condition record for Maerial B
but this works if the price of both materials are same
regards -
What's the best way to handle the growth of the mdm.tblTransaction table?
Can anyone suggest a good way to handle the growth of the mdm.tblTransaction table? This table logs all the MDS transactions and the history of the data residing in it is required for auditing purposes. Hence we can't delete this data. I'm looking for options
on how we can maitain this table ongoing. It is going to perform badly eventually. We currently have 15 Million transactions in this table.
What options can we look at?In the vnext sql server, MDS will support cleaning based on log retention policy.
In the sql2014/sql2012, you have to clean up the table manually.
An sample sproc that can be reused is attached below.
==============================================================================
Copyright (c) Microsoft Corporation. All Rights Reserved.
==============================================================================
SELECT * FROM mdm.tbl_7_TR where LastChgDTM < '2014-10-22';
EXEC mdm.udpLogCLeanup 7, '2014-10-22';
SELECT * FROM mdm.tbl_7_TR where LastChgDTM < '2014-10-22';
CREATE PROCEDURE mdm.udpTransactionsCleanup
@Model_ID INT,
@CleanupOlderThanDate DATE
WITH EXECUTE AS N'mds_schema_user' -- Execute as a user that has permission to select on [tblUserGroupAssignment], [tblBRBusinessRule], [udfSecurityUserBusinessRuleList]
AS BEGIN
SET NOCOUNT ON
DECLARE
@SQL NVARCHAR(MAX)
--Annotation table names
,@TransactionTableName sysname
,@AnnotationTableName sysname;
SET @TransactionTableName = 'tblTransaction';
SET @AnnotationTableName = 'tblTransactionAnnotation';
BEGIN TRY
--Delete all Annotations on transactions being deleted issues
SET @SQL = N'
DELETE [mdm].' + QUOTENAME(@AnnotationTableName) + N'
FROM [mdm].' + QUOTENAME(@AnnotationTableName) + N' as tannt
JOIN [mdm].'+ QUOTENAME(@TransactionTableName) + N' as txn ON tannt.Transaction_ID = txn.ID
JOIN [mdm].[tblModelVersion] as tmv ON txn.Version_ID = tmv.ID
WHERE tmv.Model_ID= @Model_ID AND txn.LastChgDTM <= @CleanupOlderThanDate
EXEC sp_executesql @SQL, N'@Model_ID INT, @CleanupOlderThanDate DATE', @Model_ID, @CleanupOlderThanDate;
--Delete all transactions older than the specified date
SET @SQL = N'
DELETE [mdm].' + QUOTENAME(@TransactionTableName) + N'
FROM [mdm].' + QUOTENAME(@TransactionTableName) + N' txn
JOIN [mdm].[tblModelVersion] tmv ON (txn.Version_ID = tmv.ID)
WHERE tmv.Model_ID = @Model_ID AND txn.LastChgDTM <= @CleanupOlderThanDate
EXEC sp_executesql @SQL, N'@Model_ID INT, @CleanupOlderThanDate DATE', @Model_ID, @CleanupOlderThanDate;
RETURN(0);
END TRY
--Compensate as necessary
BEGIN CATCH
-- Get error info
DECLARE
@ErrorMessage NVARCHAR(4000),
@ErrorSeverity INT,
@ErrorState INT;
EXEC mdm.udpGetErrorInfo
@ErrorMessage = @ErrorMessage OUTPUT,
@ErrorSeverity = @ErrorSeverity OUTPUT,
@ErrorState = @ErrorState OUTPUT;
RAISERROR(@ErrorMessage, @ErrorSeverity, @ErrorState);
--On error, return NULL results
--SELECT @Return_ID = NULL;
RETURN(1);
END CATCH;
SET NOCOUNT OFF
END --proc
GO -
I'm working on a XI interface scenario and it reads like following
Customers (from a File system) send a PO request (containing a Customer PO num) to XI. And, XI maps file data to a PO IDOC PORDCR1 and sends it to R/3 system. In R/3, PO is created. After the goods receipt, customer sends GR message to XI. XI calls BAPI_GOODSMVT_CREATE and created GR. When the GR is created, it has to be created against the earlier PO. For this reason, customer sends the GR message (as a file) with customer PO number. In R/3, the GR needs to be created with reference to R/3 PO number, but not with reference to the customer PO num.
Now the question is, where should the mapping between customer PO and R/3 PO be maintained? In R/3 or XI?
If it is in R/3, what is the need for XI usage? How do we make best use of XI in this scenario?
I highly appreciate a quick response or any kinda assistance.
Thanks in advance
PraveenHi Rob,
Thanks for ur response.
> I would say if you want to keep your SAP R/3
> interface implementation "clean", then create and
> maintain this mapping in XI.
When you say 'maitaining the mapping in XI', how do you suggest it to be maintained? Once the PO IDOC is sent to R/3 and say a Response IDOC/proxy message is sent back to XI. Where do I store the customer PO and SAP PO number? In a file/table on XI server? If not where? Please clarify.
> By doing it this way you will access the R/3 PO nr.
> via an RFC/BAPI call from XI to the R/3 system.
Do you mean to say in XI, when I receive (from file system) the GR with customer PO number, I query the R/3 system and get the corresponding R/3 PO number and fill it in the BAPI for GR and call BAPI_GOODSMVT_CREATE? Please clarify.
Thanks
Praveen -
Table maintenance generator - + symbol instead of field label
Hi All,
I have created the table maintenance generator for the table and I have created theh transaction code the same as like SM30 and if I execute that transaction ocde, I can see all the fields with the correct description at the initial screen level. If I say New entries... Here I could not able to see the field description for the table fields for which the data element is not maintained.
Is there any solution to resolve this problem without maitaining the data elements for that fields.
Thanks in advance.
Regards
Ramesh.>
ramesh mavilla wrote:
> Hi All,
>
> I have created the table maintenance generator for the table and I have created theh transaction code the same as like SM30 and if I execute that transaction ocde, I can see all the fields with the correct description at the initial screen level. If I say New entries... Here I could not able to see the field description for the table fields for which the data element is not maintained.
>
> Is there any solution to resolve this problem without maitaining the data elements for that fields.
>
> Thanks in advance.
>
> Regards
> Ramesh.
By far the easiest way of doing this is to maintain the description on the data elements. Why don't you want to do this? -
Inserting Multiple Records in Transparent Table
Hi Friends,
I am New to ABAP and Previously i was in Web Dynpro Java....
I am doing an scenario Travel Request.
The Problem i am facing i this scenario is inserting the data in the table. I have to maintain a custom table in which Travel request No (Primary Key), Employee No (Primary Key) and Transport Details.....etc.are maitained...
Employee Number -
Travel Request No--Place From-Place To
70043 -
817--Chicago--
Miami
70043 -
817--Miami--
Chicago
I have to maintain table like this
Whenever i inseted the data into the Tranparent Table its showing dump and sy-subrc count is 4
Plz provide suggestion to achieve this........Thanks in Advance
Regards
Chandran SIn ur case u r trying to enter duplicate values that's why u r getting error.
In ur custom table, Employee Number and Travel Request No are 2 primary keys. That means for each record content of these fields should be unique but in ur case they are same. If u really need to maintain data in this way then u have to make another field as key field so that it can uniquely identify a record.
Employee Number Travel Request No Place From Place To
70043 817 Chicago Miami
70043 817 Miami Chicago
Regards,
Joy. -
Hi Experts,
I need a program which is used to maitain the table same as SM30, and i need to give the select options for this table even.Hi,
Below program could be useful for you. Just go through it.
Program
REPORT zsdr_maintain_table.
DATA: action.
DATA: BEGIN OF i_sellist OCCURS 0.
INCLUDE STRUCTURE vimsellist.
DATA: END OF i_sellist.
TABLES sscrfields.
PARAMETERS: p_vkorg TYPE tvko-vkorg OBLIGATORY,
p_usd RADIOBUTTON GROUP lim, " Limit by USD
p_qty RADIOBUTTON GROUP lim. " Limit by Quantity
SELECTION-SCREEN SKIP 1.
SELECTION-SCREEN PUSHBUTTON /1(15) disp USER-COMMAND disp.
SELECTION-SCREEN PUSHBUTTON 20(15) maint USER-COMMAND maint.
INITIALIZATION.
MOVE 'Display' TO disp.
MOVE 'Maintain' TO maint.
AT SELECTION-SCREEN.
Authority check here
IF sscrfields-ucomm = 'MAINT'.
action = 'U'.
ELSE.
action = 'S'.
ENDIF.
Selection list
CLEAR: i_sellist.
REFRESH: i_sellist.
i_sellist-viewfield = 'VKORG'.
i_sellist-operator = 'EQ'.
i_sellist-value = p_vkorg.
i_sellist-and_or = 'AND'.
APPEND i_sellist.
IF p_usd = space.
i_sellist-operator = 'NE'.
ENDIF.
i_sellist-viewfield = 'ZUNIT'.
i_sellist-value = 'USD'.
APPEND i_sellist.
Disallow blank unit
i_sellist-viewfield = 'ZUNIT'.
i_sellist-operator = 'NE'.
i_sellist-value = space.
APPEND i_sellist.
CALL FUNCTION 'VIEW_MAINTENANCE_CALL'
EXPORTING
action = action
view_name = 'ZSD_MIN_ORDER'
TABLES
dba_sellist = i_sellist. -
hi,
Can any body tell me how the pricing condition tables are maitained,
because all the pricing conditions are defined as per the customer requirement,
for ex: We create a new condition type ZSTO for definig some S.T.O value it is stored in A055 table, we defined the according plant wise, sales organisation wise -> material but i wonder how the table A055 is has the structure what wwe defined.
please help me.
pts will be rewarded
regards,
Prabhuhi,
for new conditions if any condition records are maintained, then those condition DB tables also get updated.
try with this
http://www.sap-basis-abap.com/sd/pricing-procedure-in-product-hierarchy.htm
http://help.sap.com/saphelp_46c/helpdata/en/64/72369adc56d11195100060b03c6b76/frameset.htm
<b>Reward points</b>
Regarsd -
Table for BW formula technical name
Hi experts,
In my transport i have entries tagged as BW Formula, most likely the generated program for any existing formulas in our update rules. Is there a table were I can find what update rule this formula belongs to, what is the source and target infoprovider? somthing similar to RSUPDINFO...
markHi,
the tables for URules and their objects are:
RSUPDDAT
RSUPDINFO (here you can see the ISource and target)
RSUPDKEY
RSUPDROUT
Formulas are maitained in the follwing tbls:
RSAFORM
RSAFORMMAP
RSAFORMT
RSFOBUEV000
RSFOBUEV001
Routines:
RSAABAP
RSAABAPINV
RSARFIELDS
RSAROUT
RSAROUTT
hope this helps,
Olivier. -
Hi All,
Can someone please let me know an appropriate FM to update database table T100?
TIA.
Regards,
RichaYou should not update this table directly or through a function module. This is the message table and you will maitain it using SE91. If you need to maintain the translated version of some message, you can do that also.
-
Urgent :- table maitenance dailog problem.
Hi All,
Im maitaining a table using table maitenance dailog.
and its a two step with 1 overview screen and 2 single screen.
i hv created a transaction using se93 based on SM30.
so when i execute this transaction i get an overview screen when there are no entries in the table or there are more then one entry in table.
but when i hv one entry table then i dont get the overview screen and on executing the transaction i get the single screen as the first screen(through which we create entries).
I can also give u screen shots to explain u better but there is no option for file attachment.
Please respond as we would be facing same problem for all the tables we are going to create.In you getTableCellRendererComponent you are setting the combo to getSelectedItem(). To get the new value, you need to use the value passed into the method in the parameter list:
combo.setSelectedItem(value.toString()) -
Problem on Error Message at Table Event
Hi ,
I have one table where I used EVENT-01 which will trigger in the time of SAVE .
when I maitain data through SM30, I have all New Entry in this Event.
I validate this entry and if there have any problem I am displaying Error , But it will EXIT from the Maintain Screen.
But I want to go to the Maintain Screen with Error.
How Can I do this ?
I also tried with EVENT-05 there I can do all item check .But here i didnot get all the Line Item.
But I need all the line item at a time and then I can validate my requirement so i have to do validation in EVENT-01 .
Please tell me How I will do this validation .Actually I want to check .....
This Table has 33 fields with 8 Primary key. There have 1 field name Sequence Number .
If there have 10 numbers of entry and and among them three entry has same Sequece Number , then I need to check some data
with in these three Entry .And if it fail then I want to display error and go to the Maintain Screen to correct the data
Maybe you are looking for
-
After update Mac Pro boots to grey screen with Kernel Panic. Help please.
It would be great if someone can help me out. Yesterday I did a software update of iTunes and osx (it said to ease update to Lion) and now my Mac Pro tower (MacPro3,1) boots to a grey screen, kernel panic, telling me that I need to power down and res
-
Colormunkie Photo printer profile (*.ICM and *.ICC ) are not seen by LR4.2 in the Print Job section I used Colormunkie Photo to create an .ICM file for printer calibration. When that failed I tried changing the suffix to .ICC. Under neither circum
-
Recordset per message not working
Hi All, I got a scenario where i need to read a file of more than 1mb which has got around 6000 records.i want to read 100 records at a time and have mentioned "Recordset per message-100" in the file configuration.But still i am seeing a xml message
-
Hi , I created a BPM application which has a human task in the BPM flow. This task takes a parameter (requestor id) and sends an email to this requestor to submit a form.Data enetered should be saved in the database. How can i achieve this? Thanks, L
-
Import JWeb packages to JDeveloper
Is there any way to import JWeb packages to a JDeveloper project, such as import oracle.html.*; while there is no OAS installed on the same machine? The JDeveloper doesn't seem to include these oracle packages.