Issue with data dictionary -Table maintanance generator
Hi all,
I have an issue with Data dictionary, table maintenance generator. I have entered some records in a custom table (ZBCSECROLETOGRP) and changed the delivery class from C to A. When I create the table maintainance generator, I am encountered with the following errors:
1)Field ZBCSECROLETOGRP-PORTALGROUP shortened (new visible length: 000032)
2)0012 could not be generated
3)In TCTRL_ZBCSECROLETOGRP field LENGTH has the invalid value 01
My main motto is to create the table maintainace generator and transport to the furthur systems .
Please help.
ThnX in advance,
Vishal..
HI,
Regenerate the table maintenance by selecting the checkbox of "Modified field structure" => new entry & then save.
Also ensure that the new changes are not affecting old data bcz of data type changes. If that is the case, then delete the old records, regenerate table maint. & re-enter those records which you had deleted.
Thanks,
Best regards,
Prashant
Similar Messages
-
Regarding Changing data in Table Maintanance Generator
hi all,
I Created one Z Table for Five fields Sales District( BZIRK) , Sales District Description (BZTXT) , Vendor No , Vendor Name and Person Incharge. I Created Table Maintanance Generator for five fields.
In my ZTable after giving Vendor No when i enter Vendor Name is coming automatically and record is Created.For these i used Event No 5.
When i am going again and When I change Vendor No When I Press enter Vendor No is not coming automatically.
Which Event Should i use.
How can i achieve this . Plz send detailed process.
Please suggest.
Regards
RamiHi,
Please eloberate u r question. and give some code.
Regards,
Nandha -
Hi All,
i am facing issue with apex 4.2.4 ,using the Data Load Table concept's and in this look up used the
Where Clause option ,it seems to be not working this where clause ,Please help me on thishi all,
it looks this where clause not filter with 'N' data ,Please help me ,how to solve this or help me on this -
What is authorisation object in table maintanance generator
Hi,
what is authorisation object and authorisation group in table maintanance generator
can u pls let me know what are these?? and y do we need these?
Thanks in advance
Ramahi,
Access to the transactions SM30 and SE16 is often regarded as a security risk on productive system. But with the right use of the authorization object S_TABU_DIS and the rarely used S_TABU_LIN, this isnt so.
With S_TABU_DIS you have the option to control access to groups of tables, and you have the option to distinguish between Update and Display access. If you dont want to give access to an entire table group, its quite easy in transaction SE54 to create a new authorization group and to reassign one or more tables/view to this group, thus achieving control of access to these specific tables.
If youre anxious about giving access to an entire table group, due to the fact that some tables have an open interface which allows table maintenance even in transaction SE16, the check this report developed and posted to the SAP Fans security forum by John A. Jarboe.
With the authorization object S_TABU_LIN you can even go a step further and control access to a table on record level, based on the key fields of the table. You can find an overall presentation of the object here.
The How-To guide below will demonstrate how to set up and use this authorization object.
The example is based on a small table ZMYTABLE. I have created a maintenance view and parameter transaction based on SM30 around this table.
Please notice that the parameter transaction is calling SM3o in update mode.
If the object is to be used with SE16 youll need to implement OSS note 763269.
S_TABU_LIN Customizing
We can find the customizing entries in the IMG under SAP NetWeaver à Application Server àSystem Administration àUsers and Administration à Line-oriented Authorizations.
First we need to define the organizational criterias.
In here create new criteria by pushing the New entries button.
In this example we will like to control access based on the key field Country, in order to do so create a criteria called Z_Country_Grp, with the name Country Grp. If we flag the table-ind flag the criteria will affect maintenance of all tables whose key fields are related to the domains specified in the attribute later.
In this example we only want to control the access to the specific table ZMYTABLE so we will leave it blank
Save the entry and assign it to a transport request.
Now mark the created line and switch to attributes
Create a new entry with the data shown below.
Save it and assign it to the transport request.
Notice that you can have up to 8 organizational criterion attributes.
Now we need to assign a table and a field to our attribute
In order to do so mark the attribute and switch to Table Fields
In here create a new entry and assign, in this example, the table ZMYTABLE, and the field name country to the attribute.
Please notice that only Key fields can be used !
Save and assign to transport request
Now we are ready for activating our organizational criteria this is the second bullet in the IMG
Just check the active flag and the check is activated.
Incorporate the authorization object in a role
We have now implemented the authorization check; next step is to implement it in the required roles.
In this example I have created a parameter transaction ZMYTRANSACTION - using SM30 around the table ZMYTABLE. I have create a small test role ICC_TEST, including only the transaction ZMYTRANSACTION, and a few support transactions.
In the authorization part I have inserted the object S_TABU_LIN manually (best practice is of course to assign it in SU24), but a manual insert will also do the trick J
Now when we change one the authorization fields by pushing the pencil the profile generator will ask us for the criteria.
Here we chose the Z_COUNTRY_GRP criteria that we have created.
Well now get the following popup, in this case we will grant change access, so we choose 02 Change for activity
In the list below well see the Organizational Attributes that we have created we have the option to use up to 8 attributes in the example we had only defined one attribute Country Grp - we assign the value DK thus only granting access to records with DK in the key field country.
To transfer the selection back to the profile generator press th transfer button or press F5.
Now we just need to generate the profile and assign it to a test user.
Now when this test user signs on to and executes the transaction only entries for Cty DK is displayed.
If the transaction is executed by a user with SAP_ALL all records are displayed,
Important Links For u:[http://www.sapsecurity.co.uk/sap-authorisation-objects.html]
Thanks And if helpful please reward points -
How to find out the aligning Data dictionary table for a structure.
Hi
As the table controls are associated with strucures, the data input goes to the data dictionary table aligned to that structure. Is there any way we can find out the table related to that particular structure ?
Thanks,
DhareppaHi,
The structure and its fields may be associated with multiple database tables.
You can try by where-used list of the structure/field and then you can look and determine the table by hit and try method.
Also as suggested above you can try get the SQL trace and then ypu can look for table associated behind the structure/fields I believe this is the best way to find the DB table.
Thanks,
Ravi -
How to store variable length of data in data dictionary table
hi friends
i want to store variable length of text in one of field of table which is created in data dictionary.
i tried it by declaring table field type as string,
include that table using table statement and try to insert data in abap program . but it gives error something
"cannot use table having deep structure " i don't remember it exactly.
can you help me how to insert variable length of data in text data dictionary table.Hi,
define field with type LRAW in your table to store
string more than 255 characters.
LRAW
Uninterpreted byte string of arbitrary length, but with a minimum
length of 256. Fields of this type must be located at the end of
tables and must be preceded by a length field of type INT2. LRAW
fields cannot be used in the WHERE condition. LRAW is functional from
Release 3.0.
Regards
amole -
Icons in data dictionary table
how do i get icons in a data dictionary table.
i make this:
DATA: BEGIN OF ls_structure,
list TYPE TABLE OF dictionarytable,
END OF ls_structure.
DATA: wa_list LIKE LINE OF ls_structure-list.
LOOP AT ls_structure-list INTO wa_list.
wa_list-zdate = wa_list-datatime(8).
wa_list-ztime = wa_list-datatime+8.
wa_list-zlights = '@5C@'.
INSERT dictionarytable FROM wa_list.
ENDLOOP.
my dictionary table has a field with zlight which is type icon_d.
but when i look in the table the column is empty..........Hi,
I wrote a sample code for your reference:
include <icon>.
tables zicon.
zicon-id = '111111'.
zicon-icon = icon_checked .
insert into zicon values zicon.
for icon, I also used the type icon_d.
Hope it helps.
Regards,
Chris Gu
Edited by: Gu Chris on Nov 20, 2008 3:33 AM -
Issue with Update of Table VARINUM
Hi,
I am getting waiting Issues with Update of table VARINUM. Has anybody faced such an issue.
I have a lot of Jobs which are running in background. I am submitting it through a report. what can be the issue.
Regards,
Abhishek jollyThisi is quite old, but not answered properly yet, so there you go:
SAP generates a new job and temporary variant on report RSDBSPJS, for each HTTP call,which creates database locks on table VARINUM .
This causes any heavyweight BSP application to hang and give timeout errors.
The problem is fixed applying OSS note 1791958, which is not included in any service pack. -
Regarding Table maintanance generator
Hi friends,
I have the problem with Table maintanance generator. I have created table maintanace generator for Ztable and moved it to the Quality, Production.
But in Quality and Production It is not allowing to create the entries. It is saying non modfiable.
Please reply.
Thanks & Regards,
K. KishoreHi again,
1. But when i am saving it asking for request.
Yes, u are right. It will ask for a request.
2. Create a request.
3. Also do not forget to re-generate the table maintenance.
(At that time also it will ask for request)
4. Transport the request to QA and PRD. It will work fine then.
regards,
amit m. -
Fetch data from table and generate attachment than mail it.
Hello Experts,
From couple of day I am searching on Google for a better database procedure that will help me to get data from tables and generate attachment and mail it but i fail.
My Scenario is:
I have a query that will fetch almost 5000 records from database tables. Each record has almost 75 characters
select a.location_code,
a.item_code,
b.description item_desc,
to_char(a.manufact_date,'ddMonyy')mfg,
to_char((a.manufact_date + nvl(b.expiry_period,0)),'ddMonyy')expr,
to_char((a.manufact_date + nvl(b.qurantine_period,0)),'ddMonyy')qrtn,
round(nvl (b.qurantine_period, 0) - (sysdate - a.manufact_date)) days_elapsed,
a.closing_balance_posted quantity
from wms_stock_current_balance_v a, wms_item_setup_mast b
where a.closing_balance > 0
and a.item_code = b.item_code
and a.loc_type in ('RACKING','PICKING','QUICKA','BUNDLED')
and nvl(b.qurantine_period,0) > 0
and round(nvl (b.qurantine_period, 0) - (sysdate - a.manufact_date)) <= 0
order by a.item_code, a.location_code;
Sample data of above query is
LOCATION_CODE
ITEM_CODE
ITEM_DESC
MFG
Expiry
Quarantine
Days Elapse
Quantity
13DL2
000000000000000F0487
CLEAR COOL BLACK 05ML
20-Feb-10
31-Mar-14
4-Jun-13
-122
160
14DL0
000000000000000F0487
CLEAR COOL BLACK 05ML
23-Feb-10
3-Apr-14
7-Jun-13
-119
134
14DL2
000000000000000F0487
CLEAR COOL BLACK 05ML
23-Feb-10
3-Apr-14
7-Jun-13
-119
160
14DR2
000000000000000F0487
CLEAR COOL BLACK 05ML
23-Feb-10
3-Apr-14
7-Jun-13
-119
20
14LL2
000000000000000F0487
CLEAR COOL BLACK 05ML
20-Feb-10
31-Mar-14
4-Jun-13
-122
160
17ER2
000000000000000F0487
CLEAR COOL BLACK 05ML
20-Feb-10
31-Mar-14
4-Jun-13
-122
160
17GL2
000000000000000F0487
CLEAR COOL BLACK 05ML
20-Feb-10
31-Mar-14
4-Jun-13
-122
160
17SL0
000000000000000F0487
CLEAR COOL BLACK 05ML
17-Feb-10
28-Mar-14
1-Jun-13
-125
64
18QL0
000000000000000F0487
CLEAR COOL BLACK 05ML
23-Feb-10
3-Apr-14
7-Jun-13
-119
160
19AR5
000000000000000F0487
CLEAR COOL BLACK 05ML
17-Feb-10
28-Mar-14
1-Jun-13
-125
160
19DL1
000000000000000F0487
CLEAR COOL BLACK 05ML
20-Feb-10
31-Mar-14
4-Jun-13
-122
160
19JR0
000000000000000F0487
CLEAR COOL BLACK 05ML
17-Feb-10
28-Mar-14
1-Jun-13
-125
60
19TL1
000000000000000F0487
CLEAR COOL BLACK 05ML
20-Feb-10
31-Mar-14
4-Jun-13
-122
160
20GR2
000000000000000F0487
CLEAR COOL BLACK 05ML
20-Feb-10
31-Mar-14
4-Jun-13
-122
40
36FL3
000000000000000F0487
CLEAR COOL BLACK 05ML
18-Feb-10
29-Mar-14
2-Jun-13
-124
65
19UR0
000000000000000F0591
COMFORT WHITE 24ML*300
28-Oct-09
28-Oct-11
1-May-11
-887
1
12SL1
000000000000000F0593
COMFORT PINK 24ML*300
28-Oct-09
28-Oct-11
1-May-11
-887
42
12SR1
000000000000000F0593
COMFORT PINK 24ML*300
28-Oct-09
28-Oct-11
1-May-11
-887
42
14OR1
000000000000000F0593
COMFORT PINK 24ML*300
28-Oct-09
28-Oct-11
1-May-11
-887
8
36EL4
000000000000000F0594
CLEAR HF DECRASE 5M*360
14-Feb-10
14-Feb-11
12-Oct-10
-1088
14
13VL1
000000000000000F0595
CLEAR COM SFT CRE 5*360
8-Feb-10
8-Feb-11
6-Oct-10
-1094
160
14ER0
000000000000000F0595
CLEAR COM SFT CRE 5*360
8-Feb-10
8-Feb-11
6-Oct-10
-1094
105
Database Info
Oracle 10g
Version 10.2.0.1.0Look at the sample code for generating a CSV file that I've just posted in response to a similar question:
Re: How to execute a proc and spool files in a database job
And the use the search button in this forum to find sample code for sending a CLOB as a plain/text e-mail attachment using UTL_SMTP. -
How to make use of Table Maintanance Generator?
PLs sany one can explain me how to maek use of Table maintanance Generator?
Regards and cheers,
GiriHi,
table maintainence 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
using sm30 you can create entries manually.
also check below thread to assign transaction code to
table generator
/message/240993#240993 [original link is broken]
0#2409930
Regards
amole -
Issue with Data Provider name in variable screen for BEx Analyzer
Hello all,
We got an issue with Data Provider name in Variable screen in BEx Analayzer.
We want to change the DataProvider name there to Description of the report instead of its Technical name.
Any inputs are appreciated.
Thanks
KumarYou have to create a workbook to do this.
Refresh your query/report. In Bex analyser, there is one toolbar named BEx design toolbox, If you are not able to see it in analyser, right click on the toolbar space of BEx analyser and click on BEx design toolbox. Here, goto to design mode, by clicking on a sysbol like 'A'. after that place the curser where you want to see the Query description. and click on insert text (T) in BEx toolbox. click on it and check "Query description" in constant tab. in the general tab you need to assign a dataprovider, for that assign your query name in workbook settings (in Bex design toolbox). also check the "display caption" in general tab.
Pravender -
Table maintanance generator.........
Hi,
I heard that client will be able to access ztable through tablemaintanance generator(tmg).so What operations the client can be done in tmg for the ztable purpose.
Plz provide me any exact answers.
i ma posting this questn after completn of search from sdn fourm.
Regards
pavanHi,
He can enter the new values or he can change the Existing values.
For the details:
table 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.
EVENTS:
http://help.sap.com/saphelp_nw70/helpdata/EN/91/ca9f0ea9d111d1a5690000e82deaaa/frameset.htm
Regards,
Shiva Kumar -
ALV fields which are not referenced to data dictionary table fields
Hello,
I am using function module reuse_alv_popup_to_select.
How do I display fields in ALV which are not referenced to
data dictionary table fields.
I am showing 4 columns in alv out of which first column is checkbox
and remaining 3 columns are from data dictionary and it works fine.
Now I need to add one more column which is of type checkbox.
I have added this field in my ITAB as flag(1) type C.
When I add this flag field in the field catalog, I get exception.
Regards,
Vishal.Hey guys,
Finally I got rid of such a stupid problem.
There were no problem in the code.
while assigning fieldname to field catalog I had given fieldname
in lowercase.
I changed it to uppercase and problem got solved.
Thanks,
Vishal. -
Hi All,
I m facing an issue with Date format in the prompt. I have used date presentation variables in my column formula as shown below:
FILTER("SKU Order Details"."Fulfilled Quantity" USING Time."Calendar Date" <= DATE '@{todate}{2900-01-01}')
The report returns data when I don't select any date range for start & end date prompts on the page. But when I select the start & end date values in the prompt, I m getting the following error:
Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P:OI2DL65P
State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 46047] Datetime value 10/22/2009 12:00:00 AM from 10/22/2009 12:00:00 AM does not match the specified format. (HY000)
I included the following formulas for start & end date prompts:
Start Date prompt: case when 1=2 then License."Ips Creation Date" else cast ('1.1.1900' as date) end
End Date prompt: case when 1=2 then License."Ips Creation Date" else cast ('1.1.2900' as date) end
Can you please help me resolve the issue.
Thanks,
KartikHi Nico,
I tried putting the format that you mentioned, I m getting an error message.
My prompts have the following formula :
Start: case when 1=2 then License."Creation Date" else cast('1.1.1900' as DATE) end
End: case when 1=2 then Time."Calendar Date" else cast('1.1.2900' as DATE) end
My column formula has the following syntax:
FILTER("SKU Order Details"."Fulfilled Quantity" USING Time."Calendar Date" between DATE '@{start}{1900-01-01}' AND DATE '@{end}{2999-01-01}')
Error Message:
Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P:OI2DL65P
State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 46047] Datetime value 11/17/2009 from 11/17/2009 does not match the specified format. (HY000)
Can you please let me know if something needs to be changed.
Thanks,
Kartik
Maybe you are looking for
-
10.5.6 update and coreaudio timestamping crashes?
anybody else experiencing this? i'm having numerous audio application problems since the 10.5.6 update. Reaktor 5 crashes on launch. Many Max/MSP objects crash the app as soon as the audio engine is turned on. any ideas on what happened to coreaudio?
-
IPhone 4 won't play music in car when through USB when connected to Bluetooth aswell.
Hi Guys Could someone help me. My iphone connects to my car through a USB connector and works fine. When I also connect to my car Bluetooth the sound dissapears after a minute or so. My display still shows the song playing but no sound. I can still g
-
Typing lag following Pages 5.2 update
Pages is running so slowly I can't use it for work. Sentences lag after I type them, sometimes for minutes. Also scrolling lags and skips, and the thumbnails pane is absolutely crazy - it shows overlapping pages, missing pages, etc. The problem seems
-
Imac as center of hard disk / music system / television
With lots of music on an external hard disk (LaCie 2TB with firewire 800 and USB3), a music system (Exposure amplifier with AUX IN), and a television (Samsung, HDMI/DVI IN), I would like to connect everything to my iMac from 2010 (USB2 or firewire 80
-
How to call struts action manually in onchange property???
Hello! action defined in struts-config.xml: <action path="/editLafLm" className="oracle.adf.controller.struts.actions.DataActionMapping" type="oracle.adf.controller.struts.actions.DataForwardAction" name="DataForm" parameter="/editLafLm.jsp"> <set-pr