Can we create table maintence generator with out key field
Hi,
I have created a ztable in that client is the primary key as I don't want any other field as primary key.
For this i have created table maintenace generator but when i open it in sm30 blnak screen is coming.
Here my question is can we create a table maintenace generator with out key field other than MANDT.
If it's possible please let me know.
Regards
hari
>
Mathews Joseph wrote:
> I agree to the above points , but you can try one thing.
>
> When you create the table maintenance screen , from SE11 you assign a function group.
>
> Double click on the function group and you can go to the main program and open that in SE80, take screen generated and try manually adjusting the screen and putting the non key field details...
>
> Not sure this will work , but may be you can give it a try.
>
> Mathews
But the table could hold at most a single record (per client). The design is lacking.
Rob
Similar Messages
-
Sender file adapter Adapter with out Key field
Hi All
i do have have a requirment ,Sender file adapter , for FCC but file is with out Key field
HEADER>
<DATA1>
<DATA2>
<DATA3>
<HEADER> file structure
<ITEM>
<ITEM1>
<ITEM2>
<ITEM3>
<ITEM
and the file si
'10001,20081902,US
10,soda,1
30,soda,4
40,soda,5
10002,20081902,US
10,steel,1
30,steel,4
40,steel,5
, and i need to identify the Header and Item using there lenght only , please anyone as idea abt this help meWhy to post the same question TWICE... in 30 min ? you don't like the answers ?
File content Conversion Issuse for a Sender File Adapter -
Created Table space datafile with out .dbf Extenstion
Hi all,
by mistake I added a datafile to a table space with out .dbf extension..
ALTER TABLESPACE "MEDIA" ADD DATAFILE 'L:\ORACLE\ORADATA\MEDIAGATA02' SIZE 100M REUSE AUTOEXTEND ON NEXT 10240K MAXSIZE 32767M
I could not rename it unless I set this table space off line . But this is a production server so I could set as off-line.
1. Will my database function normally or would crash!!!..
2. with out .dbf extension will the table space function ?
3. will the data store can be retried in any case of database crash?
regards
S.KCheck the size of the tablespace, if there aren't any data then drop the tablespace and create a new one.
Regards
Asif Kabir -
How to use Read table with out key fields
Hi Experts,
I need to retrieve the 2 internal tables data into single table.
I have 3 common fields between the 2 tables but I don't have the Key fields. Then how to use the read table in this.
Thanks in Advance.
Edited by: satish4abap on Mar 10, 2010 9:39 AMHi Satish,
Key fields are nothing but the common fields with which you can pick the data from the second internal table.
If you can paste your Internal table fields then we will be able to assit you better.
However, in genral scenarios you can use it as below :
In this scenario, we are putting data from 3 internal table to another single internal table.
LOOP AT T_PRGEN INTO WA_PRGEN.
WA_FINAL-GUID_PR = WA_PRGEN-GUID_PR.
WA_FINAL-ATTR20A = WA_PRGEN-ATTR20A.
WA_FINAL-ATTR05A = WA_PRGEN-ATTR05A.
WA_FINAL-ATTR05B = WA_PRGEN-ATTR05B.
WA_FINAL-ATTR05C = WA_PRGEN-ATTR05C. " + DG1K902190
WA_FINAL-ATTR10A = WA_PRGEN-ATTR10A.
READ TABLE T_V_TCAV201 INTO WA_V_TCAV201 WITH KEY ATTRV20 = WA_PRGEN-ATTR20A BINARY SEARCH.
IF SY-SUBRC = 0.
WA_FINAL-TEXT1 = WA_V_TCAV201-TEXT1. "SUBID-TEXT1
ENDIF.
READ TABLE T_PNTPR INTO WA_PNTPR WITH KEY GUID_PR = WA_PRGEN-GUID_PR BINARY SEARCH.
IF SY-SUBRC = 0.
WA_FINAL-PRVSY = WA_PNTPR-PRVSY. "PROD NO
WA_FINAL-GRVSY = WA_PNTPR-GRVSY. "LOGICAL SYS GROUP
ENDIF.
append wa_final to t_final.
endloop. -
I would like to know how i can create a bell graph with out using sub VIs, the data that i created consists in 500 readings with values of 0 to 100, i calculated the mean value and standard diviation. I hope some one can help me
Here's a quick example I threw together that generates a sort-of-bell-curve shaped data distribution, then performs the binning and plotting.
-Kevin P.
Message Edited by Kevin Price on 12-01-2006 02:42 PM
Attachments:
Binning example.vi 51 KB
Binning example.png 12 KB -
How can i creat CRC 32 CHECK WITH THE lookup table as attached.
how can i creat CRC 32 CHECK WITH THE lookup table.attached
i creat one,but not match the result number C++ version
result number C++ version:
FE 00 18 02 40 1E 65 43 00 03 E8 CRC32=>78 1F E9 06
FE 01 18 02 40 1E 65 43 00 03 E8 CRC32=>F8 8F 49 61
FE 02 18 02 40 1E 65 43 00 03 E8 CRC32=>7D FF B4 7Fdue to some reason i can not attach the table.but you can find it herehttp://lavag.org/topic/15325-crc32/,it in the CRC.llb 84.03K =>CRC-32 Table.ctl thanks a lot
-
Error while creating table maintenance generator
Hi,
I am getting below error while creating table maintenance generator.
Screen SAPLZtest 0002 could not be generated. In DYNPFIELD_ATTR field LENGTH has the invalid value 241.
Reason for that error might be:
In the table I have a field with a dataelement(customized) of type Char and length 241.
But in the other table Iam using the standard data element(standard) of same type(241 char).In this table Iam able to create table maintenance generator without any errors.
And the domain Iam using is same for both the tables.
Please help me to solve this.
Thanks in advance,
SravanthiHi,
you can go to transaction se51 and go your screen. active it.. you can find thesolution.
refer these links..
Error in table control
Error while creating table maintainence generator !
Thanks and Regards,
Ahamed. -
How to create table.maint.generator and enduser should use using ztcode
Hi,
can any one guide me how to create table maintanence generator and after creating,enduser must use using ztcode.
any help can be appreciated.
Thanks & Regards,
Sandeep.Hi,
Table Maintenance generator is required to do Manual entries in the Table. If the requirement is to update the table only programmatically and not manually then table maint. generator is not required.
Manual entries in table can be maintained ( New record can be inserted / existing can be modified ) using transaction SM 30, if the table maintenance for the table is generated.
How to activate Table maint.
Goto SE11 and open the table.
Click UTILITIES -> Table Maint. Generator, Enter the details and click on Save. Then activate the table.
chk a sample 1.
refer.
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/abap/how%20to%20implement%20events%20in%20table%20maintenance.doc
some more helps
Check out this thread:
table maintenance
http://help.sap.com/saphelp_erp2005/helpdata/en/a7/513520407a11d1893b0000e8323c4f/frameset.htm - a link for basics on Table Maintenance.
Also, Check out this weblog on table maintenance:
/people/sudheer.cheedella/blog/2006/02/20/extracting-data-in-table-maintenance
<b>how to create a a T-code of that</b>
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..
WRITE
viewname = give ur table name.
show = X
save and check it once...
now u can able to call ur table through ur new t.code...
rgds
anver
if hlped pls mark points -
Hi all,
Hoow to make the table maintence generator?
what is the use of function group in that?
rg,Ajaytable maintanance Generator is used to manually
input values using transaction sm30
follow below steps
1) go to se11 check table maintanance check box under
attributes tab
2) utilities-table maintanance Generator->
create function group and assign it under
function group input box.
also assign authorization group default &NC& .
3)
select standard recording routine radio in table
table mainitainence generator to move table
contents to quality and production by assigning
it to request.
4) select maintaience type as single step.
5) maintainence screen as system generated numbers
this dialog box appears when you click on create
button
6) save and activate table
http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ed2d446011d189700000e8322d00/content.htm
http://help.sap.com/saphelp_46c/helpdata/en/a7/5133ac407a11d1893b0000e8323c4f/frameset.htm
/message/2831202#2831202 [original link is broken]
One step, two step in Table Maintenance Generator
Single step: Only overview screen is created i.e. the Table Maintenance Program will have only one screen where you can add, delete or edit records.
Two step: Two screens namely the overview screen and Single screen are created. The user can see the key fields in the first screen and can further go on to edit further details.
reward if useful,
regards,
anji -
How to create table maintainenece Generator
hi all
I dont know how to create table maintainence generator after creating the table.
I have created the table.
After that how to maintain the table.
What is the use of table maintainence generator.
ThanksHi Muthu,
Through table maintenance you can direct add new entries in your table. For that u need to follow some steps.
Step1 : Click Delivery and Maintenance tab in your table and select "Display/Maintenance Allowed"
Step2 : Utilities--->Table maint generator
Step3 : Give Authorization Group - &NC&
Step4 : Function group - Any ( You can give ur table name also ) This Function Group will genrate automatically.
Step5 : Maintenance type - Select first radio button "One Step"
Step6 : Maint. Screen No. - Overview screen as 1
Single screen as 0
Step7 : Click on Create button on application tool bar
Step8 : just save in your package.
Step8 : Create transaction code for the same . Environment----->transaction code
Step9 : Give any t.code name and click on create button. You will get a popup where you have to choose last radio button "Transaction with parameter"
Step10 : Give the transaction name - SM30 and check Inherit GUI Attribute"
Step11 : GUI Support - check all the check boxes.
Step12 : Name of screen field Values
VIEWNAME - Table name and
UPDATE - X
Finally u can this t.code and add new entries in ur table directly.
Regards,
Amit Nanda
SAP Consultant -
I created table maintainace generator but while executing this in SM30.
I created table maintainace generator but while executing this in SM30 it's giving following error. Error message " Conversion error"
The program has been interrupted and cannot resume. Program "SAPLZ_DEV_AC_DAT_MOE" attempted to display fields on screen 0001.
An error occurred during the conversion of this data.
Table has following fields:
MANDT MANDT CLNT 3 0 Client
YEAR1 CHAR 4 0 Year
SOLD_TO_PARTY KUNRG CHAR 10 0 Payer
MATNR MATNR CHAR 18 0 Material Number
JANACP CURR 15 2 Jan Accural Plus.
and reference field for JANACP is VBRK-WAERK.
Can anyone help me on this.Hi,
you have a field of type amount and need a referring currency field. You have chosen a VBRK field, but in SM30 you have no connection to a special VBRK entry because of a missing connection on key field VBELN.
Either you create a currency field in your table, or (if possible) you have to add a foreign key relation to VBRK with a fixed VBELN (existing on all systems) to get the VBRK currency. But the second way is no good idea!
You need a currency to get the right decimal point for your amiount.
Regards
Klaus -
How can i create a new user with only read rights ?
How can i create a new user with only read rights ?
You are asking about a Database User I hope.
You can look into the Oracle 8i Documentation and find various privillages listed.
In particular, you may find:
Chapter 27 Privileges, Roles, and Security Policies
an intresting chapter.
You may want to do this with the various tools included with 8i - including the
Oracle DBA Studio - expand the Security node and you can create USERS and ROLES.
Or use SQL*Plus. To create a
user / password named John / Smith, you would login to SQL*Plus as System/manager (or other) and type in:
Create user John identified by Smith;
Grant CONNECT to John;
Grant SELECT ANY TABLE to John;
commit;
There is much more you can do
depending on your needs.
Please read the documentation.
-John
null -
Oracle Forms - How can I create a Data Block with query
Dear friends I have a question, I couldn't do this..
I have a sql query, I want to show the datas of the query.. How can I do this. ?
Data Block Wizard wants a table, view or stored procedure, but I have a query, how can I create a data block with my query.. I m waiting your helps..? Please...
SemihHi,
You have two options
1. create a view and base the block on the view
2. create a block with a query Data Source Type of 'FROM clause query'
Hope this helps
Neil -
HT2534 i need to create an apple id with out card
i need to create an apple id with out card can u give any suggestions..............for me
You can create an iTune and App Store account without credit card details
1. Sign out of current Apple ID if you are sign-in to one (important)
2. Go to App Store and select a free app
3. Tap INSTALL APP
4. Create New Apple ID
5. Confirm Your Country
6. Agree with Terms and Conditions
7. Fill in your Apple ID and Password (you must create a new Apple ID; don't use your old Apple ID)
8. Create and answer your secret question
9. Select NONE for Payment Method
10. Fill in Billing Address
11. Submit application for new Apple ID
12. Wait for verification email
13. When email arrive, verify your account
14. Start downloading your free apps -
I am converting a PostreSQL query to T-SQL but am running into a syntax error that I cannot understand.
My main query below works fine.
WITH itowner AS (
SELECT itowner_1.comp1id AS businessserviceid,
person.name AS itowner_name,
person.username AS itowner_username,
person.component_id AS itowner_id
FROM dbo.rel_BusinessServiceHasITOwnerPerson itowner_1
JOIN comp_Person person ON person.component_id = itowner_1.comp2id
busowner AS (
SELECT bown.comp1id AS businessserviceid,
person.name AS busown_name,
person.username AS busown_username,
person.component_id AS busown_id
FROM dbo.rel_BusinessServiceHasBusinessOwnerPerson bown
JOIN comp_Person person ON person.component_id = bown.comp2id
cat AS (
SELECT biz.component_id businessserviceid, biz.bsname AS Business_Service,
c.name AS Category
FROM dbo.comp_BusinessService biz
left outer join rel_BusinessServiceHasCategory a on biz.component_id = a.comp1id
join comp_ApoCategory c on a.comp2id = c.component_id
LEFT OUTER JOIN comp_ApoCategory c1 ON c.parent = c1.objectuuid
SELECT
cat.Category,
biz.component_id AS businessservice_id,
biz.bsname as businessservice_name,
biz.description,
itowner.itowner_name,
busowner.busown_name
FROM comp_BusinessService biz
LEFT JOIN itowner ON itowner.businessserviceid = biz.component_id
LEFT JOIN busowner ON busowner.businessserviceid = biz.component_id
LEFT JOIN cat ON cat.businessserviceid = biz.component_id;
However, as soon as I wrap it in a CREATE TABLE AS I get an syntax error at the first WITH.
Incorrect syntax near 'WITH'. Expecting ID.
Below is the full statement.
CREATE TABLE "dm_amd_business_services" AS
WITH itowner AS (
SELECT itowner_1.comp1id AS businessserviceid,
person.name AS itowner_name,
person.username AS itowner_username,
person.component_id AS itowner_id
FROM dbo.rel_BusinessServiceHasITOwnerPerson itowner_1
JOIN comp_Person person ON person.component_id = itowner_1.comp2id
busowner AS (
SELECT bown.comp1id AS businessserviceid,
person.name AS busown_name,
person.username AS busown_username,
person.component_id AS busown_id
FROM dbo.rel_BusinessServiceHasBusinessOwnerPerson bown
JOIN comp_Person person ON person.component_id = bown.comp2id
cat AS (
SELECT biz.component_id businessserviceid, biz.bsname AS Business_Service,
c.name AS Category
FROM dbo.comp_BusinessService biz
left outer join rel_BusinessServiceHasCategory a on biz.component_id = a.comp1id
join comp_ApoCategory c on a.comp2id = c.component_id
LEFT OUTER JOIN comp_ApoCategory c1 ON c.parent = c1.objectuuid
SELECT
cat.Category,
biz.component_id AS businessservice_id,
biz.bsname as businessservice_name,
biz.description,
itowner.itowner_name,
busowner.busown_name
FROM comp_BusinessService biz
LEFT JOIN itowner ON itowner.businessserviceid = biz.component_id
LEFT JOIN busowner ON busowner.businessserviceid = biz.component_id
LEFT JOIN cat ON cat.businessserviceid = biz.component_id;
Any advice on getting the correct syntax?
Thanks, Bruce...;WITH itowner AS (
SELECT itowner_1.comp1id AS businessserviceid,
person.name AS itowner_name,
person.username AS itowner_username,
person.component_id AS itowner_id
FROM dbo.rel_BusinessServiceHasITOwnerPerson itowner_1
JOIN comp_Person person ON person.component_id = itowner_1.comp2id
busowner AS (
SELECT bown.comp1id AS businessserviceid,
person.name AS busown_name,
person.username AS busown_username,
person.component_id AS busown_id
FROM dbo.rel_BusinessServiceHasBusinessOwnerPerson bown
JOIN comp_Person person ON person.component_id = bown.comp2id
cat AS (
SELECT biz.component_id businessserviceid, biz.bsname AS Business_Service,
c.name AS Category
FROM dbo.comp_BusinessService biz
left outer join rel_BusinessServiceHasCategory a on biz.component_id = a.comp1id
join comp_ApoCategory c on a.comp2id = c.component_id
LEFT OUTER JOIN comp_ApoCategory c1 ON c.parent = c1.objectuuid
SELECT
cat.Category,
biz.component_id AS businessservice_id,
biz.bsname as businessservice_name,
biz.description,
itowner.itowner_name,
busowner.busown_name
INTO dm_amd_business_services --New table
FROM comp_BusinessService biz
LEFT JOIN itowner ON itowner.businessserviceid = biz.component_id
LEFT JOIN busowner ON busowner.businessserviceid = biz.component_id
LEFT JOIN cat ON cat.businessserviceid = biz.component_id;
Maybe you are looking for
-
Macbook Pro issues with WRT120 in 11n mode
WRT120 in N mode have the following problems - When MBP wake from sleep, the wireless scan takes awhile (10s?) to find the router but doesn't connect. Forcing a connection to the router works. - Occurs on 2 MBPs. A 2011 model and a 2008 model - I ca
-
Dear sap guru How I can stop making a down payment Request of more amount than the P.O Value? I have changed the Message control and made the warning as error.....Now if I make a downpayment more than the P.O amount in a single posting, it gives me e
-
When I click a link in Safari that goes to a PDF document All I get is a blank webpage. Why won't Safari display a PDF?
-
How can I get permission to create a symbolic link?
I am trying to create a symbolic link from a program, but I keep getting: A required privilege is not held by the client. I am running the program from my account which is in the Administrators group, and otherwise has admin rights. However, if I log
-
Help needed with HostSsample and other question!
Hi, I have *2 important* quetions : I'm trying to folow the instructions in the README file zipped in the EDK . There are some steps which demonstarte / shows how to create , import , deploy etc , a plug in ( DemoSample ). I got to the part in this f