Missing table extension in Kodo 3.0
Hi,
I liked the class extention key="table" value="..." in the jdo metadata
xml files ind Kodo 2.x.
Unfortunately I can't find how to specify the tablename in my jdo metadata
for Kodo 3.0. I want to generate the mapping with the mapping tool, but it
always creates its own table names.
Thank you for your advise in advance,
Michael Tamm
Michael,
I had the same problems when switching to 3.x. I am now using the xdoclet
jdo tags and have got this to work using the following on my class
definition
* @jdo.persistence-capable identity-type="datastore"
requires-extent="true"
* @jdo.class-vendor-extension vendor-name="kodo" key="jdbc-class-map"
value="base"
* @jdo.class-vendor-extension vendor-name="kodo"
key="jdbc-class-map/table" value="AppParam"
* @jdo.class-vendor-extension vendor-name="kodo" key="jdbc-version-ind"
value="version-number"
* @jdo.class-vendor-extension vendor-name="kodo"
key="jdbc-version-ind/column" value="_version"
* @jdo.class-vendor-extension vendor-name="kodo" key="jdbc-class-ind"
value="in-class-name"
* @jdo.class-vendor-extension vendor-name="kodo"
key="jdbc-class-ind/column" value="_class"
* @jdo.class-vendor-extension vendor-name="kodo" key="data-cache-timeout"
value="60"
* @jdo.class-vendor-extension vendor-name="kodo" key="data-cache"
value="true"
You have to use the Kodo key of jdbc-class-map/table to specify the mapped
table. You also have to set your kodo.jdbc.MappingFactory property to
"metadata".
Michael Tamm wrote:
Hi,
I liked the class extention key="table" value="..." in the jdo metadata
xml files ind Kodo 2.x.
Unfortunately I can't find how to specify the tablename in my jdo metadata
for Kodo 3.0. I want to generate the mapping with the mapping tool, but it
always creates its own table names.
Thank you for your advise in advance,
Michael Tamm
Similar Messages
-
Table extension not being saved
Hi,
I have implemented Table extension at item level for SC and from the config perspective all looks fine.
1) Created Append struture with required fields
First step: appending the field to the correct structure in SE11 or via transaction SPRO.
Structure names for table extensions are according to the pattern:
INCL_EEW_PD_<x>_CST_<y> with
<x>: HEADER, ITEM
2)
Path in IMG (transaction SPRO):
SAP SRM -> SRM server ->
-> Cross-Application Basic Settings
-> Extensions and Field Control (Personalization)
-> Create Table Extensions and Supply with Data
-> Define Customer Table Extensions on Item Level
Second step: you additionally need to append the new table extension field to the
corresponding INCL_EEW_PD_<x>_CST structure called u2018cross-documentu2019 structure. This can
also be done in IMG
You can explicitly enter the very same field(s) (name and type) into both append structures.
It is recommended, however, to first create another structure with the new field (in SE11) and
then include that other structure in both append structures
(menu path in SE11 screen: -> Edit -> Include -> Insert).
Default append structure names in this example are
ZAINCL_EEW_PD_ITEM_CST_SC and
ZAINCL_EEW_PD_ITEM_CST
when using the IMG path..
3)
Third step: Set visibility of the table extension.Create an entry with TICUS for item data (THCUS for header data).
Donu2019t miss to populate the Transaction Type field - you could save the table entry without it,
but it will not work!
4)
Fourth step: Configure Control of Fields of Table Extensions. Create an entry with TICUS for item data (THCUS for header data).Donu2019t miss to populate the Set Level field - you could save the table entry without it, but it will not work!
Fifth step: Configure Control of Actions
Sixth (final) step: SM30 - maintain view /SAPSRM/V_MDFSBC_DEFAULT
I have rechecked the config several times but could not find any reason for the data not to be saved.
When I add the data to the table structure and if click enter or check button the data disappears. The entries are not captured in BBP_PDICF table either. i can see the Z structure in se11 for BBP_PDICF.
I have checked doc_change badi for any issues but could not find the issue. Any idea as where I should check for the data not being saved issue?Hello Srinivas,
Please do this step:
In SM30-maintain view /SAPSRM/V_MDFSBC_DEFAULT
Object set type :TICUS
Structure field name : custom field
Object type : BUS2121
set level : item
Field visible : X
field enable : X
Regards,
Neelima -
SRM 7.0 Table Extensions on Business Documents
Hi,
With SRM 7 it is possible to add not only customer fields to the Screens and Databases, but whole tables.
However, when we do this for RFX on Header Level, there will be a Table Extension Subtab on Header level, and Add and delete buttons will work to generate new entries, but there is no way of entering or displaying context.
Upon further analysis it seems that the fill and update functions are missing for Table extension.
Can somebody help us? How can we generate own fill and update functions for our customer table extensions in the RFX header?
In Customizing one can only determine field meta data classes. Not the content itself.
Thanks for Help regarding this.Hello,
You can fill the table extensions using the BADI
/sapsrm/bd*pdo_te_outbound.
I do not remember the exact name so I have used * in the BADI name .
Hope this answers your question.
Best Regards,
Pavan -
Hi Experts,
I have created a item level table extension for the SC business object through spro. The custom fields of the table extension have been added at below place.
- Define Append for Fields of Customer Table on Item on Database
- Define Append for Fields of Customer Table on Shopping Cart Item
The Table extension is visible with Add, Delete button but I am unable to edit any field in the table extension.
Am I missing any step or do I need to check any other place?
ThanksHello Srinivas,
Add entry in configure control of fields of table extensions(In create table extensions and supply with data).
Object set type :TICUS
Structure field name : custom field
Object type : BUS2121
set level : item
Field visible : X
field enable : X
Regards,
Neelima -
Missing Tables and Indexes greyed out in DBACOCKPIT
Hi All,
I use Solution Manager 7.01 with MS SQL Server 2008 DB.
I want to monitor with DBACOCKPIT a MS SQL Server 2005 DataBase of a SAP BPC 5.1.
I connected the DB but in DBACOCKPIT some functionality are greyed out.
I want to use in Diagnostics section the "MISSING TABLES AND INDEXES" function but this command is greyed out.
Is it possible to use this function?
Please, help me!
Regards,
AlessandroHi,
Gray color means that screen is disabled for any reason (authorization, SQL Server release, monitoring remote, etc).
I believe, those items cannot be monitored unless these limitations are sorted out.
Please refer to the Document "The SAP DBA Cockpit for Microsoft SQL Server" in SDN.
You can get the status about the restriction in the bottom of dbacockpit screen.
Thanks,
Jagan
Edited by: jagadheeshan govindasamy on Sep 16, 2009 1:03 PM -
Missing Tables and Indexes in 3.5
Hi,
when i am executing Tcode DB02 then under Missing Tables and Indexes i find 35 Indexes as not created.
can anybody tell me what does that signify. is this a issue if so how to fix it.
Indexes not created
ADCP-I04
ADCP-I03
ADCP-I02
ADCP-I01
ADCPS-I01
ADCPS-I02
ADCPS-I03
ADCPS-I04
ADRC-I14
ADRC-I11
ADRC-I05
ADRC-I02
ADRC-G
ADRP-I01
ADRP-I02
ADRP-I03
ADRP-I04
ADRP-I07
ADRP-I08
ADRP-I09
ADRV-I01
BUT000-PER
CDHDR-001
CDHDR-002
CRMD_ORDERADM_I-PKI
CRMD_ORDERADM_I-DES
ISSUE_RELATION-001
NAST-ADQ
RMPS_T_RESUB-RAG
RMPS_T_RESUB-RCU
SSPICSPRHD-S02
SSPICSTRHEAD-S01
SSPICSTRPL-FLD
STXH-TDN
SWBRULECOM-RSY
RakeshHi Rakesh,
First thing this is not an issue but an information that says that these indexes are not be created in the System.
This option Indexes not created is an SAP table maintained from Dev to Prod just to indicate that these indexes cannot be created.
That's the reason why u have a green mark beside them and this will make clear for you that this is not an issue.
Hope it helps!!!!
Thanks & Regards,
Neelesh Jain. -
Hi SAP Gurus,
on our SAP NetWeaver 7.x BW (based on AIX/Oracle) I find via transaction DB02 (path = Diagnostics => Missing Tables and Indexes) under "Unknown objects in ABAP Dictionary" under DB views a BW object /BI0/.....
When I make a double click on the object, I am getting the popup window "Display not possible for this object":
How can I identify the object and clarify with the BW application expert, if needed, how to resolve this object?
I searched already via RSA1 for the object, but I wasn't able to find anything so far ...
Thanks for your help and ideas.
Best regards
CarlosHello Carlos
The database view in question is a temporary database object created during a query execution.
Please read this SAP note 449891 - Temporary database objects in BW 3.x to understand what that view is all about and impact if those views are removed.
The SAP notes 449891 and 1139396 suggests to run the report SAP_DROP_TMPTABLES to drop these temporary objects. Whether the objects are still required or not is a question to be put across to the BW team. If the temporary objects are removed when they are used by a query, then the query will fail.
Have a nice day
RB -
Missing tables in a full=y expdp
Hello !
There are missing tables in an expdp dump of a database we use in a test environnement.
I don't know why ...
The datafile seems not to be corrupted. The table is listed in a tool like TOAD, and is listed in the catalog view DBA_TABLES.
But the expdp logs doesn't list this table while listing other tables from the same user.
If i try to expdp only a table of these (a missing table in the dumpfile), i get a 39166 Object not found error.
The Oracle Database version is 10.2.0.4.0 and the command line we use is :
expdp "'SYSTEM/manager@(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=<ip_address>)(PORT=<port>))(CONNECT_DATA=(SID=<oracle_sid>)))'" SCHEMAS=OWNER DIRECTORY=DIR_DP DUMPFILE=dumpfile.dmp FULL=y
What did i miss ?
On a structure-like database on a second test environnement the tables are expdp regularly ...
Thank's for your answers !
Steve.966918 wrote:
Hello !
There are missing tables in an expdp dump of a database we use in a test environnement.
I don't know why ...
The datafile seems not to be corrupted. The table is listed in a tool like TOAD, and is listed in the catalog view DBA_TABLES.
But the expdp logs doesn't list this table while listing other tables from the same user.
If i try to expdp only a table of these (a missing table in the dumpfile), i get a 39166 Object not found error.
which schema owns the "missing" object? -
Hi, I posted this last night, many of you may not have seen it! Please assist.
Hello experts, how are you? I have a program that is not working as a result of a missing table <b>K9RDEV3000001</b>, could anyone help with the possible location or definition on the table, or structure.
Thank you
Tatenda Chaibva
nullThis looks like one of the tables generated in CO module. I don't know much about CO but I've noticed that when u change come config in CO - create some rules I guess - the tables containing those rules are generated dynamically, when u change the rules such tables may be deleted and created with different name.
-
Missing table begin XSL context for: ?end if?
I have 8 if clauses with grouping sub grouping data shown.
when I try to validate my RTF file I am getting following error msg:
[061112_073853972][][ERROR] [Line 3322.83] Missing table begin XSL context for: <?end if?>
[061112_073854018][][ERROR] [Line 3624.134] Missing table begin XSL context for: <?end if?>
[061112_073854050][][ERROR] [Line 3878.184] Missing table begin XSL context for: <?end if?>
[061112_073854081][][ERROR] [Line 4203.183] Missing table begin XSL context for: <?end if?>
[061112_073854112][][ERROR] [Line 4479.134] Missing table begin XSL context for: <?end if?>
[061112_073854143][][ERROR] [Line 4870.182] Missing table begin XSL context for: <?end if?>
[061112_073854190][][ERROR] [Line 5201.182] Missing table begin XSL context for: <?end if?>
I have check each and every <?if:...?> clasue and it's corresponding <?end if?> clauseIssue has be identified:
It was a end of group statement after the structure of table.
all of <?end for-each-group?> end tage should be in a table and only if (open and close) statement should group them. -
Dear
Experts,
Here I am posting outgoing payment with clearing t code F-07,
it gives the Error
The entry (company code) missing table T043S,
Please Give ur reply ASAP.
with regards
SukeerthiHello Sukeerthi ,
This error comes only because of the tolerance group, when this is not updated then this will come
so check the Tcode : OBA0 (put the company code and the tolerance group) - This is for G/L accounts
OBA3(put the company code and the tolerance group) - This is for customer/vendor
OBA4(put the company code amt per doc and amt per open item) - This is for FI tolerance group for users.
I think this will definately help you.
Regards
Urmila S. -
Hi SAP Gurus,
I noticed on our SAP business warehouse (BW) system (NetWeaver 7.0 based on AIX/Oracle 11g) in transaction DB02 => Diagnostics => Missing Tables and Indexes under Secondary indexes, 26 indexes, in package $tmp:
The indexes are defined, but they don't have been created on the database.
When I try to create them via the database tool, I am getting the warning:
Does the warning raise up, because they where defined in the $tmp package?
I was looking in SAP notes for a solution for this "warning" concerning the /BIC/F-Indexes but I didn't found yet anything helpful ...
Thanks for your help and ideas ...
Best regards
CarlosHi Carlos,
These are secondary indexes created during process chains in BI to improvise performance.
You may refer below SCN blogs on creation of these indices in BI.
Secondary Index - Improving DSO insert/read performance
How to Create Secondary Index on DSO in SAP BW
Hope this helps.
Regards,
Deepak Kori -
Hi all,
we have checked "missing table and indexs" status with DBACOCKPIT and there it show 362 Indexes are not created.
all are the standard table indexes.
we have updated the indexes and statistics with BRCONNECT also.and its complited successfully.after this also "it show 362 Indexes are not created". we are using SOLARIS OS and oracle database.
Can anybody help me out how to rebuilt the missing indexes .....plz mention the steps.
Thanks,
Rableen khuranaHi,
Refer to the note and lins on how to fix it
Note 1320008 - DBA Cockpit: Selection in "Missing Tables and Indexes"
http://wiki.sdn.sap.com/wiki/display/TechTSG/(DB)IndexReportedasMissing
http://help.sap.com/saphelp_nwpi711/helpdata/en/33/5b277b8b0745b8b60e67ca04c77ebb/content.htm
Thanks,
Arjun -
Table Extension custom fields in SRM 7.0
Hi SRM Experts,
I'm struggling with adding data into a table extension that I created on Confirmations. (SRM 7.0)
I followed the suggested steps to add a table extension:
1) SPRO->SAP SRM->SRM Server->Cross-Application Basic Settings->Extensions and Field Control (Personalization) -> Create Table Extensions and Supply with Data -> Define Customer Table Extensions on Item Level.
2) I created the two structures (INCL_EEW_PD_HEADER_CST and INCL_EEW_PD_HEADER_CST_CONF) and added the custom fields.
3) I set the visibility of the table extension and created the entries with TICUS.
4) I configured control of fields of table extensions.
5) I configured control of actions for adding a row (ADD_TICUS)
6) I added the custom fields in SM30 to table /SAPSRM/V_MDFSBC_DEFAULT
The table extension is visible on the Confirmation screen but the custom fields are not editable and I'm not able to fill in data into them.
When I click on the add row button, a row is added to the table but the fields are still uneditable.
I need to populate this table extension with some data before it gets displayed to the user, and then the user needs to complete the empty custom fields.
I tried to add data to BBP_PDICF, but it still does not appear in the table extension.
Please can someone give me some guidence?
Regards,
AndrewHey Andrew,
Please let me know how you rectified the issue?
Are these the steps to be followed? Even I need to add a table in the header level of PO document.
Please share your experience.
Kind Regards,
Gayathri -
While posting f-53 i getting error missing table T043G
Hi
while posting F-53 i getting error "company code" is Missing table T043G.
What can i do for this.. can u advise this.
Thank u
anilhi anil,
you are not given the tolerance group for customers/vendors, give the tolerance group for the same and try it.
also give the gl tolerance,
try t.codes oba0, oba3
pls award points.
Raghav
Maybe you are looking for
-
Service of third party material
dear experts , I have a scenario wherein i want to sell a third party machine to a customer wherein my client acts as a middle man & no sale purchase agreements are made directly with the vendor & customer. Further my client also wants to provide reg
-
How do I open a new tab on speed dial?
I have speed dial as my home page which is fine, but when I click on one of the boxes it loads in the same tab. How do I open them in a new tab? == This happened == Not sure how often
-
Please help me, I have recently installed my webcam (Logitech) to the laptop, and my WiFi has disabled itself, when I click enable it says it is working fine but I can't connect to a wireless network and the light on the laptop that says WiFi is not
-
Image variants width/length scale
Hi This is from the Console Manual: Image variants Scale Should the original image be scaled (Yes/No)? Width The maximum width of the scaled variant (integer value). Height The maximum height of the scaled variant (integer value). what is the scale m
-
hi I want the details about multinode clonning.wiil u please give me the solution. Thanks Regards Karthickraja