Attachement List - Table Name
Dear All,
we are using the attachment list in the sales order that can be reached via "Services for Objects". We are then archiving all order confirmations and they are then displayed in this attachement list. I now want to crate a report that shows me all orders where this attachements are missing. The problem is that I do not find the table where I can see the link from the archived object to the sales order.
Can somebody help me with that?
Thank you very much.
best regards,
Markus
Hi Markus,
Through Generic Object Services icon, you can store the documents using Archive link (via Store Business Document) or GOS (via Create Attachment).
Refer to the link below. It explains the relationship between the tables for both scenarios.
http://wiki.sdn.sap.com/wiki/display/PLM/SAPContentManagement-LinkbetweenSAPObjectsand+originals
Follow the option which you are using to attach the documents.
Cheers
Amit
Similar Messages
-
How to list table name of src db?
hi all:
I debug a mapping ,
1) owb warnning: can not find source;
2) I click "edit" button;
3) owb show a new window,I click "browser" button;
4) I choose a source datebase link
so owb should list table name of src db,
but owb don't list table name of src db,why?Hi,
You can get the details from table "T001K". to fulfill your requirement.
Hence forth if you want field name : you can click on that field and then hit key "F1", and then click on icon "Technical Information".
Hope so this solves your problem.
Regards,
Joginder -
Attachment List Table In sales order VA02.
Sir,
I have to develop report on attachment list in sales order on the basis of sales order number and customer
no. But I'm not getting the tables. So I can develope the report.
Thanks
Manoj PiseHi
Check tables
VBAK (Has sales order & Kunnr (Customer number))
VBAP
VBKD
VBEP
Regards
Gaurav -
How to query / list table name with certain data type?
Hi all spatials,
Sorry for the dumb question. I need to make a query that list all table name that contain certain data type, eg. SDO_georaster. How to do this ?
Many thanks in advance
damonSkip it. I figured it : using USER_TAB_COLUMNS will definitely help.
Cheers
damon -
List Table names and number of rows in it
Following is a piece of code that would list all tables in a schema and the number of rows in each table.Hope it is helpful for you.
Note: In this example iam selecting only those tables starting with 'T_'. you may replace it accordingly.
create or replace procedure count_lines is
cursor cur is select tname from tab where tname like 'T\_%' escape '\';
lines number;
begin
dbms_output.put_line(rpad('TABLE_NAME',65,' ')||'NUMBER_OF_LINES');
dbms_output.put_line(rpad('-',80,'-'));
for i in cur loop
execute immediate 'select count(*) from '||i.tname into lines;
dbms_output.put_line(rpad(i.tname,70,' ')||lines);
end loop;
end count_lines;
Following is the sample output:(ignore alignment here)
TABLE_NAME NUMBER_OF_LINES
T_FR_ACTION 3
T_FR_ATTRIBUTE 52
T_FR_ATTRIBUTE_TYPE 3
T_FR_ATTRIBUTE_VALUE 5389This has been covered many times, so your solution is not the only way...
http://laurentschneider.com/wordpress/2007/04/how-do-i-store-the-counts-of-all-tables.html
Re: count rows in shema tables
And there's many more if you search -
How to list table names accessed by a table base trigger
Hi all,
How can I list all the other tables being accessed by my table trigger?
Say for example: I am deleting a table, then its base trigger fires, it updates an audit log to capture the actions or maybe
select/insert/delete/update ing other more tables?
Thanks a lot.KinsaKaUy? wrote:
Hi all,
How can I list all the other tables being accessed by my table trigger?
Say for example: I am deleting a table, then its base trigger fires, it updates an audit log to capture the actions or maybe
select/insert/delete/update ing other more tables?
Thanks a lot.query DBA_DEPENDENCIES -
Dear All,
I'm trying to produce a list , using query , to produce the following list:
Table Name, T.Description, Field Name, F.Description, FieldType, Length
I use DD02L, DD02T and DD03L, DD03T.
Somehow - I dont get the same results as I see in the SE16, or SE11. Especially I mis some descriptions on filed level, and I do see them in the SE11.
Using a query, save effort of exporting the DD for evry table sepratlly.
This is strange.
Your help is greatly Appriciated.
Kind Regards,
Doron ZaccaiHelle Andreas, and all Others,
Thanks very mucht for the input!
The DD03M has the:
Tabel name, Field Name, Field Description, Type, Length, Decimals
Table description is abscent.
I have joind the DD02T, (Tabelname, and language).
And now I have all of them.
Thank you all very much.
I will try the FM mentioned, in the mentioned program. And will report on the result.
Kind Regards,
Doron Zaccai. -
Difficulty in using a variable to pass a list of names between 2 tables
Hi All,
I am trying to pass a list of names from one table as a variable to another table and trying to find the Highest level they exist at in the hierarchy. I am having some troubles with the variable and need some guidence and also if this should be a procedure or not.
this is what i have now :
Variable man_name Varchar;
exec :man_name = (Select full_name from direct_manager_report)
UPDATE direct_manager_report
Set Manager_level_number =
(Select 'Manager_Level_0' from manager_hierarchy where level_0_manager_name = man_name
UNION
Select 'Manager_Level_1' from manager_hierarchy where level_0_manager_name < > man_name AND level_1_manager_name = man_name
UNION
Select 'Manager_Level_2' from manager_hierarchy where level_1_manager_name < > man_name AND level_2_manager_name = man_name
UNION
Select 'Manager_Level_3' from manager_hierarchy where level_2_manager_name < > man_name AND level_3_manager_name = man_name
Where full_name = man_name;
Let me know what modifications have to be done for this the variable to get the name from table 1 and find the manager level from table 2 and populate it back in table 1.
Any help is appreciated.
ThanksFrank Kulash wrote:
Hi,Thanks for your reply. I am sorry for not providing enough information.
What's wrong with what you have now? I want to pass the manager name (about 2000) from direct_manager_report to the variable which i pass to manager_hierarchy table to find the highest level for each manager
If it doesn't give the right results, then how is anyone except you to know what the right results are?
Variable man_name Varchar;
exec :man_name = (Select full_name from direct_manager_report)Does that really work for you?No thats why i said this is what i have and i am trying to see the best to past the list of manager names to get the level number.
UPDATE direct_manager_report
Set Manager_level_number =
(Select 'Manager_Level_0' from manager_hierarchy where level_0_manager_name = man_name
UNION
Select 'Manager_Level_1' from manager_hierarchy where level_0_manager_name < > man_name AND level_1_manager_name = man_nameIt looks like something is missing on the line above. Did you mean "level_0_manager_name != man_name"?
This site doesn't like to display the <> inequality operator. Always use the other (equivalent) inequality operator, !-, when posting here.
UNION
Select 'Manager_Level_2' from manager_hierarchy where level_1_manager_name < > man_name AND level_2_manager_name = man_name
UNION
Select 'Manager_Level_3' from manager_hierarchy where level_2_manager_name < > man_name AND level_3_manager_name = man_name
Where full_name = man_name;Are you sure the UNION will never return more than 1 row?
Let me know what modifications have to be done for this the variable to get the name from table 1 and find the manager level from table 2 and populate it back in table 1.Whenever you have a problem, post a little sample data (CREATE TABLE and INSERT statements) and the results you want from that data (in this case, the contents of table1 after everything is finished).
See the forum FAQ {message:id=9360002}Sorry did not realize the missing !. Yes the union will always return one record for each manager name passed. I have tested the select part which hard coding the manager name and it does update the level number correctly. but i am struggling with passing a large list of values as a variable.
This is the output i am looking for in the direct manager report table is :
Manager Name | Manager Level Number
ABC Manager Level 0
XYZ Manager Level 1
This is the structure of the manager hierarchy:
Manager Level 0 Manager Level 1 Manager Level 2...Manager Level 14
ABC ABC ABC ABC
ABC XYZ XYZ XYZ
Let me try the below but hopefully i am more clear on the requirement now.
>
You may want something like this
MERGE INTO direct_manager_report dst
USING (
SELECT dmr.full_name
, 'Manager_Level_'
|| MIN ( CASE dmr.full_name
WHEN level_0_manager_name THEN '0'
WHEN level_1_manager_name THEN '1'
WHEN level_2_manager_name THEN '2'
WHEN level_3_manager_name THEN '3'
END
) AS manager_level_number
FROM manager_hierarchy dmr
JOIN manager_hierarchy mh ON dmr.full_name IN ( level_0_manager_name
, level_1_manager_name
, level_2_manager_name
, level_3_manager_name
GROUP BY dmr.full_name
) src
ON ( dst.full_name = src.full_name )
WHEN MATCHED THEN UPDATE
SET dst.manager_level_number = src.manager_level_number
Edited by: user599926 on Jun 4, 2013 9:41 PM -
How to find the list of un used table names in a schema?
Hi,
I have a doubt in Oracle. The doubt is that If we are using any tables in Function Or Proc.... Then...We can list all those used table names from USER_DEPENDENCIES system table. Right...
But, If the table is used with Execute Immediate Statement, then, those table names are not coming out with USER_DEPENDENCIES system table. Because they are identified at run time and not compile time.
It is fine. And I agree.. But, If I want to list out those tables also...then...How to do? Any idea?
I think ‘USER_SOURCE’ system table may not be the right one. If there is any other system table avails for this purpose...then..it would be very grateful to extract right...
So I am wanting that exact system table.
Please let me know about this, if you have any idea or check with your friends if they have any idea.
Regards,
Subramanian GHi Guys,
Thanks for all your answers.
Yes....You are all right. We can list out the used tables upto certain extent. Anyhow, I have done some R&D to derive the SQL's which is given below:
SELECT TABLE_NAME FROM USER_TABLES
MINUS
SELECT DISTINCT UPPER(REFERENCED_NAME)
FROM user_dependencies
where
referenced_type='TABLE' and UPPER(NAME) in
select distinct UPPER(object_name) from user_objects where UPPER(object_type) in
'MATERIALIZED VIEW',
'PACKAGE',
'PACKAGE BODY',
'PROCEDURE',
'TRIGGER',
'VIEW',
'FUNCTION'
UNION
SELECT UT.TABLE_NAME FROM
SELECT TABLE_NAME FROM USER_TABLES
MINUS
SELECT DISTINCT UPPER(REFERENCED_NAME)
FROM user_dependencies
where
referenced_type='TABLE' and UPPER(NAME) in
select distinct UPPER(object_name) from user_objects where UPPER(object_type) in
'MATERIALIZED VIEW',
'PACKAGE',
'PACKAGE BODY',
'PROCEDURE',
'TRIGGER',
'VIEW',
'FUNCTION'
AND REFERENCED_OWNER=(SELECT sys_context('USERENV', 'CURRENT_SCHEMA') FROM dual)
) UT,
( SELECT * FROM USER_SOURCE
WHERE NAME IN
( SELECT DISTINCT NAME FROM USER_SOURCE
WHERE TYPE NOT IN ('TYPE')
AND
UPPER(TEXT) LIKE '%EXECUTE IMMEDIATE%'
) US
WHERE
UPPER(US.TEXT) LIKE '%'||UPPER(UT.TABLE_NAME)||'%'
AND
(UPPER(US.TEXT) NOT LIKE '%--%')
The above SQL Query can list out unused tables by checking the Dynamic SQL Statement also upto some level only.
Once we extracted the list of unused tables, having a manual check would be also greater to verify as it is should not impact the business applications.
Regards,
Subramanian G -
Archive link : user defined document name in attachment list
Hi
I have created a content repository (OAC0), document type and had linked the doc n content rep with an SAP business object.
I am able to attach documents to business object using archive link feature.
If I attach more than one documents to an SAP business object, for same document type, all the documents are displayed with same name in the attachment list.
Is there any way by which I can show the original document name as selected by user?
Thanks in advance.
Regards
Ruhi Hirahi i have this problem myself all I know is that the original names are used for the following document types
HRIBENEFIT PREL FAX 0053 -
HRIBESCHKI PREL FAX 0021 2
HRICERTIFI PREL FAX 0024 -
HRICOLFOTO PREL FAX 0002 -
HRICONTRAC PREL FAX 0016 -
HRICONTRAD PREL FAX 0016 -
HRIDATASEC PREL FAX 0002 -
HRIDATES PREL FAX 0019 10
HRIDIPLOMA PREL FAX 0022 +
HRIEMPFOTO PREL FAX 0002 -
HRIEVALUAT PREL FAX 0025 -
HRIHEALTHI PREL FAX 0013 -
HRIMASTERD PREL FAX 0002 -
HRIPERAPPR PREL FAX 0019 10
HRIREFEREN PREL FAX 0023 -
HRIRESUME PREL FAX * -
HRISOCIALS PREL FAX 0013 -
HRISTUDID PREL FAX 0013 -
HRITAXCARD PREL FAX 0012 -
HRIVL PREL FAX 0010 +
HRIWORKPER PREL FAX 0016 -
read this thread:
Link:[A couple of things regarding GOS and ArchiveLink for attaching Business Doc;
i hope this wiil help you a least a little bit -
How do I list all of the table names in my excel database
I am writing code for an electronic sales board display in my
office. unfortunatly the datasource that is available to me is an
excel file that is updated by the sales manager every day. each
sales persons information is listed in a different tab and the tabs
name is the same as the corrosponding sales person. unfortunatly we
hire and fire many sales people every month so I need to loop
through a list of the tab names outputing the results as the table
name for my detail query for each sales rep.
anyone have this query information?Yet another creative use of Excel as something which it's
not, i.e. a database.
COM it is if your access must be real-time. -
Table name for background job with report, variant and step user id list.
Hello All,
I need to generate the list of scheduled backgroung job with the list of Report Name, Variant, Step User Id called. Please any one tell the SAP Table name from which I can get these data.
Thanks in Advance,
AmitHi Rohit,
Thanks for your reply. But from TBTCO, i can't find program/report name and variant. Just the list of background job i can see.
Regards,
Amit -
Table name for Billing due list
Dear friends,
What is the Table name for billing due list ?
Thanks & Regards,
Ajaycheck S172 and S173 tables
-
Table name in CRM to get the list of customers
Hi Gurus
What is the Table name or T code in CRM for getting the list of customers with reference to sales area. ie Sales org , Distribution channel and Division.
Similar to the KNVV table in SD
Regards
RajHi Raj,
There are some tables with this information. You can use CRMM_BUT_LNK0011, but you can also check for tables with prefix CRMM_BUT_LNK0* for more information.
You have to use the partner GUID, to read this information.
Kind regards,
Garcia -
Table name for BW Query Where used list
Hi,
I am looking for Table name where the information of " where used list " of a BW query stores.
Any help ?
Thanks
SatyaVani,
I dont think it is available...
whats your exact requirement???
you can make use of these below tables
RSZELTDIR Directory of the reporting component elements
RSZELTTXT Texts of reporting component elements
RSZELTXREF Directory of query element references
RSRREPDIR Directory of all reports (Query GENUNIID)
RSZCOMPDIR Directory of reporting components
RSZRANGE Selection specification for an element
RSZSELECT Selection properties of an element
RSZELTDIR Directory of the reporting component elements
RSZCOMPIC Assignment reuseable component <-> InfoCube
RSZELTPRIO Priorities with element collisions
RSZELTPROP Element properties (settings)
RSZELTATTR Attribute selection per dimension element
RSZCALC Definition of a formula element
RSZCEL Query Designer: Directory of Cells
RSZGLOBV Global Variables in Reporting
Maybe you are looking for
-
How to I add options to the Context Menu for html files under Site Content
Currently in Web Page Composer... if a developer wants to get the Target URL to an html page in a WPC site (i.e. under the Site Content folder) they have to take several steps... Content Menu -> Details -> Settings -> Properties -> Access Links ->
-
hi, i am trying to commit for every 1000 records. how to use mod function in following script? DECLARE v NUMBER; counter NUMBER; CURSOR r1 IS SELECT * FROM TAB1; BEGIN FOR c1 IN r1 LOOP v:=c1.ssn_id; counter := counter + 1; IF MOD(counter,1000 ) = 0
-
Classpath through admin console
Hi, I was trying to declare some classpath through the admin console startup config page. But I'm getting following error when trying to startup the managed server. Exception in thread "Main Thread" java.lang.NoClassDefFoundError: Files\Java\jrmc-3/1
-
How to: ITunes on iWeb blog
it appears that I can't actually post iTunes for the general reader, but must authorize (5) computers to hear what I post. How do I post iTunes so whoever reads a blog entry can also hear the tune? Even a portion of the tune would be better than noth
-
Home sharing and Apple TV connection
I have been trying to connect my Apple TV with my MacBook and it keep on saying my Apple ID or password was incorrect. I have changed the password numerous time and yet I am still unable to connect. Can someone help!! Please!!!