Parameter transaction for table maintenance - multiple tables?
Hello,
I am very familiar with creating a parameter transaction to call SM30 for a specific Z-table of ours.
However, I have 14 tables that a group of users will need to maintain. Rather than create 14 different transactions in SE93, what are my options?
When creating a parameter transaction in SE93, I get the error that the field 'VIEWNAME' is used more than once. There has to be a way to achieve this with only one transaction.
Thank you very much,
Michael
I dont think you can create a single transaction with multiple VIEWNAME's.Options I would suggest you is create a simple report with radio buttons for each table and call the FM "VIEW_MAINTENANCE_CALL" with the viewname based on user selection and create a single transaction to the report or create transaction for each and create a Area menu with all the 14 transaction.
Similar Messages
-
Parameter transaction for view maintenance
Hi there, please help
I've created a parameter transaction(ZTRN) for a view maintenance(ZVIEW) with the ff
Skip initial screen = X
VIEWNAME = 'ZVIEW'
UPDATE = X.
How can i change this transaction/view so that only 1 record can be maintained, i.e how/what
parameters to provide before calling the transaction so that only one record can be maintained. With the above settings all records are displayed.
I've tried using UPDATE_LTD = X but its not helping either.
Thanks in advanceI don't think this is possible in the way you want it to. What you could do is use the standard events provided by the maintenance view. In these event create a check that only one record can be changed or even displayed.
I don't have a SAP system to give you an example but I can refer you to this:
[Maintenance events|http://help.sap.com/saphelp_nw70/helpdata/EN/91/ca9f0ea9d111d1a5690000e82deaaa/content.htm]
Edited by: Micky Oestreich on Aug 6, 2008 2:41 PM -
Create transaction for update a custom table
Hi,
I have a custom table Z****. What are all the steps to create a transaction for updating my custom table? I don't want to use SM30 anymore.
Thank you.Create a Table maintainence through the maintainence generator.
Open table in SE11, goto utilities => table maintainence generator.
Once the generator is created,
In the same screen of generator - Goto Environment => Transaction Code
Select Transaction Code with Parameter.
In the default values - Enter the Transaction as SM30 . Select skip first screen.
In default values at the bottom
Add
screen field = VIEWNAME and value = Ztable name.
screen field =UPDATE and value = 'X'.
Edited by: Pranu Pranu on May 19, 2010 2:36 PM -
How to create transaction for a maintenance view, Thank you.
How to create transaction for a maintenance view,
Thank you.
deniz...Hi Deniz,
Go to se93.
Then create the new T.code.
Under that select parameter Transaction.
Then give the sm30 in the t.code in default values tab.
check the checkbox skip initial screen.
in classification tab.
click checkbox inherit gui attributes..
Now below..
In the default values..
select
viewname and give ur table name.
UPDATE= Xsave
view - table name ( Should be upper case
update X ( should be upper case).
http://www.sap-basis-abap.com/sapbs011.htm
Hope this helps you.
Regards,
Viveks -
Custom Transaction for maintence of custom table
hi friends,
i have created a custom table. and for it i need to have a custom maintenence transactions.the custom transaction should consits of insert, copy a row and upload....
but i dont think we have an upload feature in SM30,
now my doubt is how can I solve this,,, by any other method & dilaog program being my last priority.
Please let me know if u guys get some idea
Thanks in advance
TinaHi
U can use the fm GUI_UPLOAD to read and store the file in internla table, after transfer the data from internal table to database table. This is an example:
PARAMETERS: P_FILE(120).
DATA: FILENAME TYPE STRING.
DATA: T_FILE LIKE TABLE OF <ZTABLE>.
START-OF-SELECTION.
FILENAME = P_FILE.
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
FILENAME = FILENAME
TABLES
DATA_TAB = T_FILE.
INSERT <ZTABLE> FROM T_FILE.
You can use this program only if the file have the same structure of Z-TABLE, otherwise you have to elaborate the data of T_FILE before inserting in the database.
Max -
ALV for fields from multiple tables and make them editable
Hi,
I am working on a forecasting report. We have created few custom table e.g. store forcaset detail for whole year month wise. tables are say sales data, budget data, forcast data etc.
Now i need to make a report based on monthwise based on above mention table.
eg.o/p looks like:
column name type desc monthapr monthmay .......
table forcast Qty sales 100 150
table budget/sales amt amou 20.50 130.50
table sales vs forcast amt amount 3000 50000
-Now i don't know how to display data from multiple table in single ALV list that to with different field type.
-2nd issue is i need to make only perticuler row editable so that user can chage data.
-3rd when user change data and press calulate button - it should calculate data for future month - i got formula for that and disply the calulated data.
- 4th if user like the forcast data then when press save - change data should update dbtable.
Is this all possible with simple abap FM Or need to use ABAPOO.
I will appericiate all expert help.
Many thanks in advance.
KDE.
Edited by: kde_test on Jun 4, 2010 5:44 PMHi,
Solutions :
1. You can use FM REUSE_ALV_HIERSEQ_LIST_DISPLAY as guided by Ashutosh.
You can also check out this
[http://www.sap technical.com/Tutorials/ABAP/3DGraph/demo.htm] change link to saptechnical without space
2. [How to make certain rows in ALV grid editable...;
3 & 4. Use two importing paramaters 'PF_STATUS_SET' 'USER_COMMAND' of REUSE_ALV_GRID_DISPLAY.
create two function codes 'CALC and 'SAVE' in pf-status and provide your required functionality to these function codes using User-Command.
Sorry am unable to provide you with supporting code, but you can search for it and It can solve your problem
Regards,
Rohit -
No Resultset for query containing multiple tables
Hi, I am new to Oracle and I have a problem concerning the Oracle datasource/query I am using.
I am using Websphere Application Server v5.1 Test environment, which connects to an Oracle 10g database and a DB2 database.
So basically, I have 2 datasources in my webservice application, one for each database. I have tested both datasources from the admin console of the server and both return no errors. Both datasources are loaded on startup of the application and again, there are no errors.
The problem basically is that I have no resultset elements ( rs.next() is false ) when I have a query that queries multiple tables.
Eg. Case1: Select * From table1
Case2: Select * From table1, table2
Case3: Select * From table1 t1 INNER JOIN table2 t2 on t1.column = t2.column
Case1: Contains resultset
Case2 and Case3: NO resultset
When these queries (case 2 and case3) are run from within the webservice application, there is no resultset; only case1 returns a resultset. However, if I run the same queries above from within Oracle SQL developer, there is a resultset containing the matching records. This problem only happens when using the Oracle datasource; the same problem does not happen for the DB2 datasource.
Basically, I do not have any resultset for a valid query and there aren't any errors as well.
Any ideas as to why this happens?
Thanks for any help.
Edited by: user11220677 on Jun 3, 2009 3:08 AMFinally got to the bottom of this. Turns out that the problem has nothing to do with the Oracle datasource in the webservice application, as what I have initiially thought.
The cause of the problem seems to be related to an import problem/issue in the Oracle SQL developer. Everytime I open Oracle SQL developer, one table (table2 in my example from previous post) is missing its data, so I import the data using the application's import wizard. Once the import is done, I use SQL developer's query interface to verify the data is there, and there are records returned - which made me think the database table was updated successfully. The problem was, I still do not have results when the query is run from the webservice containing the datasource.
We used another SQL command editor to verify if the said table was really updated in the database and to our surprise, it was still empty (even after the import from Oracle SQL developer). That explains why I am not able to retrieve anything from the webservice.
We just imported the data using another SQL command editor and the issue is now fixed.
Thanks anyway. -
TDMS Maintain Table deduction: Multiple table selection for "No Transfer"
Dear TDMS Experts,
Please provide the solution for the below 2 points.
TDMS SYSTEM LANDSCAPE DETAILS: DMIS 3.0 SP17, DMIS_EXT SP17 & DMIS_CNT SP10
Control System: client 200, Sender: client 125 (with prod data), Receiver: Client 300 (copy of SAP_UCSV). All 3 clients in same server.
Installed TDMS and all the configurations completed with Package setting phase successful.
1. In System Analysis phase - Maintain Table Deduction, I want to exclude thousands of tables as "no transfer" where I found option to change " no transfer" for individual table . For Testing purpose I would like to transfer only few tables where i do not required all the default selected "transfer" tables.
2. In Data trasfer phase - Start Deletion of data in Receiver system: This process running for a long time by scheduling jobs for each and every tables in receiver system, Is there is any option to avoid data deletion in receiver system or minimise the scheduled jobs.
Thanks
ChidamIn normal scenario, TDMS transfer data from sender to receiver without changing it.Data scrambling is additional feature where you can write your own rules for data transfer for sensitive data tables. These rules are called 'scrambling rules.
sensitive data (like customersu2019 personal data or confidential financial information) is made anonymous and is not accessible to users of the non-production system. Scrambling rules may be either field-related (referring to a single field) or event-related (referring to two or more fields which are related). For field-related rules, assignment at domain level or at field level is possible.
TDMS doesnot delivers any scrambling rules. It provides you the platform where your developers can write their own rule.
The rules are only applicable for transparent fields.
You will find more detailed information in master guide and the process in TDMS operation guide. Both are available at marketplace.
- Niraj -
Create View table with multiple table
I want to create View table with relation with multiple tables.
for ex
table 1
mrnno
mrnqty
table 2
mrnno
issqty
table 3
mrnno
retqty
want to create view table where i can see the sum (mrnqty), sum(issqty),sum(retqty) group by mrnno
sandyHi
CREATE OR REPLACE FORCE VIEW my_view AS
WITH t1 AS
(SELECT mrnno,
SUM(mrnqty) sum1
FROM table_1
GROUP BY mrnno),
t2 AS
(SELECT mrnno,
SUM(issqty) sum2
FROM table_2
GROUP BY mrnno),
t3AS
(SELECT mrnno,
SUM(retqty) sum3
FROM table_3
GROUP BY mrnno)
SELECT mrnno,
sum1,
sum2,
sum3
FROM t1,t2,t3
WHERE t1.mrnno = t2.mrnno
AND t1.mrnno = t3.mrnnoCheers
Ben
http://www.munkyben.wordpress.com
Don't forget to mark replies helpful or correct ;) -
Breaking down SQL table into Multiple tables on the web using struts
I have a SQL table with business names and products. I am trying to display tables on a webpage for each individual business and their products. So one table is for each business and each business table lists all the products for that business. I'm not really sure how to do this. I sorted by the business names so all the related records are next to each other. I did try two nested iterate statements but received an error about missing a getter. Any suggestions would be helpful. I am writing this code in a JSP file and can use most struts commands (bean, html, nested commands). Sorry if this topics isn't very related to JSP but couldn't really find a better spot.Thanks
You are missing the position parameter:
set echo on
drop table t1;
drop table t2;
drop table t3;
create table t1 (fld1 varchar2(5), fld2 varchar2(10), fld3 varchar2(10),
fld4 varchar2(10) );
create table t2 (fld1 varchar2(5), fld2 varchar2(10), fld3 varchar2(10),
fld4 number );
create table t3 (fld1 varchar2(5), fld2 varchar2(10), fld3 varchar2(10),
fld4 varchar2(10), fld5 varchar2(10) );
load data
infile *
append
into table mpowel01.t1
when (fld1 = 'T1' )
( fld1 terminated by ',',
fld2 terminated by ',',
fld3 terminated by ',',
fld4 terminated by whitespace)
into table mpowel01.t2
when (fld1 = 'T2' )
( fld1 position(1) terminated by ',',
fld2 terminated by ',',
fld3 terminated by ',',
fld4 terminated by whitespace)
into table mpowel01.t3
when (fld1 = 'T3' )
TRAILING NULLCOLS
( fld1 position(1) terminated by ',',
fld2 terminated by ',',
fld3 terminated by ',',
fld4 terminated by ',',
fld5 terminated by whitespace)
BEGINDATA
T1,one,one,one
T2,two,two,2
T3,three,three,three,three
UT1 > select * from t3;
FLD1 FLD2 FLD3 FLD4 FLD5
T3 three three three three
UT1 > select * from t2;
FLD1 FLD2 FLD3 FLD4
T2 two two 2
UT1 > select * from t1;
FLD1 FLD2 FLD3 FLD4
T1 one one one
HTH -- Mark D Powell -- -
SE93: Parameter Transaction for SE38
Hello
I want to create a parameter transaction to display my program in edit mode.
i.e. Instead of going to SE38 and change my program.
There are lots of websites describing how to call SM30 in edit mode for a particular View. I just wanted to know if it possible with SE38 also..
I have entered the following screen-field values in SE93 but the new transaction stays on the initial screen of SE38, even though skip initial screen option is checked.
Field: RS38M-PROGRAMM
Value: ZTEST
Field: RS38M-FUNC_EDIT
Value: X
I must somehow pass some additional value which would account for clicking the "Change" button.. but how?
I know about Call Transaction, BDCs etc.. but really wanted to know if its possible via parameter transaction...Hi, Shrikaant
Follow the Steps Bellow then you will understand with is Difference Between SE38 and SM30
1. Run T-Code SM30
2. Go to Menu Path System => Status
3. From the System Status Box Double Click Screen 100
4. It will bring you in Screen Painter Select Layout button
5. On the you will see some Fields under buttons Display, Maintain and Transport
6. These buttons are hidden for Screen SM30
7. So you are setting this value in Parameter Transaction UPDATE = 'X'
This option is not available in SE38 so you can't do the same for this Transaction.
Hope you understand, Please reply if any confusion
Thanks and Regards,
Faisal -
How to tie tcode to table maintenance generator table
hi guys,
i need to use tcode to call table maintenance generator program (the one that is created via SM30 ).
how can i use module instead of executable program type ?> Hi Erwan,
>
> I hv followed ur step, but i didnt see this step
>
> then in the dynpro fields :
> VIEWNAME ztable
> SHOW X
>
> i am currently in ver 4.7
>
> i only see screen, from module pool, name of screen
> fields, value
You type VIEWNAME and SHOW in "name of screen fields", and put your ztable name and X in "Value".
matt -
Break table into multiple tables
I have a table with 700000 records and I need this data for calculating a value in excel using one of the third-party add-ins and then import all the data back into Oracle table. Since excel can only hold about 65000 records, I will have to break the oracle table into about 11 excel files each holding about 65000 records and then run my function and then import the calculated data back into Oracle. My question is how do I split the oracle table into 11 tables with each having 65000 records. There is no unique field in the table.
Format of table is like this;
num1 num2 cdat
12 43
12 34
45 65
32 45
I will need to use excel and calculate cdat column and then import it back to excel with cdat column calculated.
num1 num2 cdat
12 43 232
12 34 543
45 65 343
32 45 244
Any tips to guide me would be helpful.No, I cannot do that because I have a third-party add-in that is installed in excel and it accesses its own proprietary database to peform some calculation and then gives the calculated number in excel. I cannot access this thirdparty database in oracle and I do not know the algorithm it uses to give me the desired number. The only option I have for now, is to get the data from oracle into excel, do my calculations and then import it back into oracle.
-
MASS transaction for scheduling we need tables & fields
Hi,
We have used transaction SM30 and added BUS2013 as used table MASSFUNC with BAPI MASS_CHANGE_SCHED_AGREEMENT
MASSTAB (table) and MASSFLDLST (for field selected). for the scheduling agreement of Tables and Fields please give us this data.
Thanks
ShitalHi dear,
MEMASSSA
Try this Tcode
TABLES: massfunc, massname.
TABLES: masstabs, massfview. -
Creat new table from multiple tables in same DB?
Trying to create a new table bringing in all the records from
3 old tables. All three old tables have common foreign key fields.
I'm not sure how the syntax would look like, but something
like:
<cfquery name="qCreateTable" datasource="somedb">
CREATE TABLE newtable
AS
SELECT old_ID as new_ID,
FROM oldtable1, oldtable2, oldtable3 etc.</cfquery
Is this possible in one step, or would I need to create the
new table with data from oldtable1, then update with data from 2, 3
etc.? BTW I already tried that with no success (syntax errors).
For now, this is in Access.
Thanks for your help.
rinormanPhil:
<cfquery name="qCreateTable" datasource="somedb">
CREATE TABLE vendor_new2
AS
SELECT
vendor_ID as old_vendor_ID,
company_name as vendor_company,
DBA_name as vendor_dba,
web_URL as vendor_url,
AdminID as old_admin_ID,
Comment as old_comment,
BillingLocationID as old_billing_ID
FROM vendor_old
UNION
SELECT
UserID as old_user_ID,
EmailAddress as vendor_email,
Password as vendor_pw,
LastName as contact_lname,
FirstName as contact_fname,
PhoneNum as contact_tele,
PhoneExt as vendor_phonex,
FaxNum as contact_fax
FROM main_contact
UNION
SELECT
PhysicalLocationID as old_location_ID,
Street1 as vendor_address1,
Street2 as vendor_address2,
City as vendor_city,
StateID as vendor_state,
Zip as vendor_zip,
Zip4 as vendor_zip4,
Phone as vendor_tele,
Fax as vendor_fax
FROM PhysicalLocation
</cfquery>
Result: Syntax error in CREATE TABLE statement.
Maybe you are looking for
-
Ultrabook/Notebook freezing and making loud buzzing noise
I just received via UPS a HP Pavilion 11 x2 PC 11-h010nr for my daughter for Christmas. I decided to let her open it as her one before Christmas present and I am glad I did. She went into xbox music to listen to her new beats audio sound. On about
-
Error in setting Pricelist/Currency code
I'm using Siebel Self-Services 8.1.1 and I always get the following error every for new session of the application: "Error in setting Pricelist/Currency code. Please contact System Administator". Anyone having an idea how to solve it? Thanks! /Jon-Er
-
I posted a question which was: Can anyone please tell me which version of Photoshop Elements will work with Mac 10.6.8 Snow Leopard. Then this window popped up saying mark this discussion with as a question and this window. I have no idea how this
-
"open file" Not working with Photoshop CS2
System MAc Pro Dual Quad 3Ghz, OS X 10.5.2 I have a script that I wrote a while ago to take a series of individual bitmaps and compile them into a strip for access inanothe application. Script used to work well.... I tried to use the script today but
-
What should be the quality of video and audio for bandwidth 768KB
Hello Friends We are provoding 768kB bandwidth for our connection. Can any body tell us what should be the quality of video and audio we can set that does not effect frame rate which is 24 FPS. thanks in advance.