View on cluster table
hi all,
I am trying to create a view for the tables bkpg and bseg.but am unable to as the error is "bseg is cluster table".
can't we create view for cluster table. if can, how
You cannot create a view because BSEG is in a cluster table
For this reason SAP has provided some "secondary index" tables, look for :
BSAD Accounting: Secondary Index for Customers (Cleared Items)
BSAK Accounting: Secondary Index for Vendors (Cleared Items)
BSAS Accounting: Secondary Index for G/L Accounts (Cleared Items)
BSID Accounting: Secondary Index for Customers
BSIK Accounting: Secondary Index for Vendors
BSIM Secondary Index, Documents for Material
BSIS Accounting: Secondary Index for G/L Accounts
Regards
Similar Messages
-
Define view for cluster table?
Hi Experts,
Can we create a database view with a cluster table? Please let me know how.
Regards,
Vishal.Hi,
Please try this and use BSEG as an example.
1. Go to SE12.
2. Enter BSEG
3. Click Display button
4. Go to Delivery and Maintenance' tab.
5. You should be able to see Pool/cluster RFBLG.
6. Double click RFBLG and then click Where-Used list button (CTRLSHIFTF3).
7. Select Table option and click Execute button.
8. System will show all the table that belong to this pool/cluster.
For Pool/Cluster REGUC, it is only used in table REGUP.
Regards,
Ferry Lianto -
Maintaince view creation for a cluster table
Hi friends,
I have created a maintaince view for a cluster table bseg and i have activated it its working fine..
now my problem is i can create maintaince view for mutiple tables if other tables are linked with primary table using foriegn key relationship..
Now can any one tell me is it possible to create maintance view for cluster table with multiple tables as i need a linked table with bseg which iam not able to get... ie : when i click on the relationship tab iam not getting the linked tables for bseg...
now can i create a maintaince view with 2 linked cluster tables..
if so can any one tell me how to create it.
As sap says we can create projection view for cluster and pooled table and we cannot create database view for cluster and pooled tables , but it does not mentioned like that for maintaince view....
I assume we can do it.... as iam trying to create a maintaince view with single cluster table then it shoudl allow me to create for multiple linked cluster tables.... and is it mandatory to maintain TMG for this maintaince view....?
Regards
KUMARyes.. ur right inserting values into a cluster table other than standard sap tarnactions is dangerious....
But sap didnot mentioned any where that we cannot maintain data for cluster tables using maintaince view... which it said for database view..that pooled and cluster table cannot be used for database view..
Regards
Kumar -
How to Extract Data for a Maintenance View, Structure and Cluster Table
I want to develop 3 Reports
1) in First Report
it consists only two Fields.
Table name : V_001_B
Field Name1: BUKRS
Table name : V_001_B
Field Name2: BUTXT
V_001_B is a Maintenance View
For this one I don't Find any Datasource
For this Maintenance View, How to Extract the Data.
2)
For the 2nd Report also it consists Two Fields
Table name : CSKSZ
Field Name1: KOSTL (cost center)
Table name : CSKSZ
Field Name2: KLTXT (Description)
CSKSZ is a Structure
For this one I don't Find any Datasource
For this Structure How to Extract the Data
3)
For the 3rd Report
in this Report all Fields are belonging to a Table BSEG
BSEG is a Cluster Table
For this one also I can't Find any Datasource,
I find very Few Objects in the Datasource.
For this One, How to Extract the Data.
Please provide me step by step procedure.
Thanks
PriyaHi sachin,
I don't get your point can you Explain me Briefly.
I have two Fields for the 1st Report
BUKRS
BUTXT
In the 2nd Report
KOSTL
KLTXT
If I use 0COSTCENTER_TEXT Data Source
I will get KOSTL Field only
what about KLTXT
Thanks
Priya -
View cluster table child table calling problem!
Hi All,
I have created a cluster table with one table as header and one as item...
Header table : ZRAJ1
ITEM TABLE : ZRAJ2
ZRAJ1 :
ZPRODUCT
ZPROD_DESC
ZSTATUS
ZUSER
ZRAJ2:
ZPRODUCT
ZLABEL
This clearly shows that zraj2 is depending on ZRAJ1.
Created a cluster with these two tables.
Also, created events for ZRAJ1.
EVENT 05:
FORM create_entry.
yraj1-zuser = sy-uname.
ENDFORM.
EVENT 02:
FORM after_save.
IF yraj1-zstatus = 'L'.
CALL TRANSACTION 'ZRAJ_VIEW'.
ENDIF.
ENDFORM.
If the Zstatus is "L" in ZRAJ1, a new transaction will be called to maintain the child table zraj2.
Trasnaction 'ZRAJ_VIEW'.
REPORT 'ZRAJ_VIEW'.
INITIALIZATION.
*declaration:
DATA : itab LIKE vimsellist OCCURS 0 WITH HEADER LINE.
START-OF-SELECTION.
*To call the MAintanence screen directly through the program:
CALL FUNCTION 'VIEW_MAINTENANCE_CALL'
EXPORTING
action = 'S'
CORR_NUMBER = ' '
GENERATE_MAINT_TOOL_IF_MISSING = ' '
SHOW_SELECTION_POPUP = ' '
view_name = 'YRAJ2'
NO_WARNING_FOR_CLIENTINDEP = ' '
RFC_DESTINATION_FOR_UPGRADE = ' '
CLIENT_FOR_UPGRADE = ' '
VARIANT_FOR_SELECTION = ' '
COMPLEX_SELCONDS_USED = ' '
TABLES
dba_sellist = itab
EXCL_CUA_FUNCT =
EXCEPTIONS
CLIENT_REFERENCE = 1
FOREIGN_LOCK = 2
INVALID_ACTION = 3
NO_CLIENTINDEPENDENT_AUTH = 4
NO_DATABASE_FUNCTION = 5
NO_EDITOR_FUNCTION = 6
NO_SHOW_AUTH = 7
NO_TVDIR_ENTRY = 8
NO_UPD_AUTH = 9
ONLY_SHOW_ALLOWED = 10
SYSTEM_FAILURE = 11
UNKNOWN_FIELD_IN_DBA_SELLIST = 12
VIEW_NOT_FOUND = 13
OTHERS = 14
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
it is calling, ok no issues but it is not allowing me to create a new entry in the child table zraj2.
Error: Table is locked by the user Raj.Checked in SM12 yes there is an lock entry for the table zrst(cluster), zraj1, zraj2.
Question :
By default in the execution of cluster will there be a lock in all the child table as well.
if so how to create new entries....
For your information : Standalone it is working fine.That is if i execute ZRAJ1 in SM31 i am able to create new entries..
Can any one provide some input on this............
Tahnks,
raj.I don't know any direct transaction for your purpose, but you can use this program RSTXSCRP to download your form into the local file and than you can open it to view.
Regards,
Naimesh Patel -
How to get the Minum Grade level from the view cluster table V_T710CL_B
Hi Guys,
I want to fetch the Minum Grade level from the view cluster table V_T710CL_B
kindly help me
Regards
Rusidar.HI Siggi,
Thank you for your reply..
I am also planning to do FM to get the data. But it is saying that the Cluster table ZES does not exist (ZES is the the standard table, in SE11 also).
How can I use the Fields from the that table.?
What can I do now, can you please explain me about this point.
Waiting for your reply.
Thanks and Regards
Rajesh
Message was edited by:
rajesh -
How to create a cluster table and cluster view?
Hi,
Can anyone guide me in creation of cluster table in general and also creation of cluster view?Hi,
check this links.
http://help.sap.com/saphelp_nw04/helpdata/en/cf/21f0b7446011d189700000e8322d00/content.htm
http://help.sap.com/saphelp_nw2004s/helpdata/en/d0/999246b2aa11d1a5700000e82deaaa/content.htm
Regard's
SHAIK. -
Cluster tables in views???
Hi all!!!
Thanks for all ur replies for my prev query!!!!
Here's my another doubt...
Can we include cluster tables in a datadictionary view?
Thanks,
jyothi D.Hi Jyothi...
These are the types of SAP tables:
1) Transparent tables
2) Cluster tables
and 3) Pool Tables
The base difference in These tables is:
Cluster and Pool tables can not have Views.
Cluster and Pool tables consist of data from multiple tables. They can not have views.
Thanks and Best regards,
Vikas Bittera. -
1. can i use cluster tables in my report
2. what are the views in xd01,xk01 and mm01try to avoid using cluster tables as much as possible while coding...it takes up time and even has a performance issues....
Views of XD01
Address
Contact persons
Control data
Account Management
Partners functions
Views of XK01
Address
Control
Payment Transactions
Accounting Info
Correspondence
Withholding Tax
Purchasing data
partner functions
Views of MM01
Basic Data 1
Basic Data 2
Classification
Sales Org: Data 1
Sales Org: Data 2
General/Plant data
Foreign trade: export data
sales text
purchasing
Foreign trade: import data
purchase order text
MRP 1
MRP 2
MRP 3
MRP 4
ForecastingAccounting 1
Work Scheduling
Production Resources/Tools
General plant Data/Storage 1
General plant Data/Storage 2
Warehouse Management 1
Warehouse Management 2
Quality Management
Accounting 1
Accounting 2
Cost Estimate 1
Costing 2
Plant Stock
Storage Location Stock
Award Points...............
Message was edited by:
Ramesh Babu Chirumamilla -
I Want manage cluster table view . I control this table
Hi Abaper ;
I Want manage cluster table view . I control this table ( which cell change or delete or add ) I use total internal table ( creating by system ) but total table has a line and some data is incorrect .
for example :
in database data :
term stundet_name lesson_id lesson_name
2005 ahmet 1 Matematik
2005 yasin 2 Tarih
I view data
term stundet_name lesson_id lesson_name
2001 ahmet 1 Matematik
2001 yasin 2 Tarih
(term data false)Hi Turgut
Check this out ; I dont try but maybe useful for you.
http://help.sap.com/saphelp_nw2004s/helpdata/en/a1/e4521aa2f511d1a5630000e82deaaa/content.htm -
How to get the data from a cluster table to BW
Dear All,
I want to extract the data from R/3 to BW by using 2 tables and one Cluster B2.
Actually my report contains some fields from PA2001, PA2002 and one cluster table B2 (Table ZES). Can I create View by using these 3 tables? If it is not possible how can I get the data from the cluster? Can I create generic datasource by using cluster tables directly?
In SE11 Transaction the Cluster (table ZES) is showing invalid table.
I referred some Forums, but no use.
Can any body tell me procedure to get the data from a cluster (table ZES) ?
Waiting for you results.
Thanks and regards
RajeshHI Siggi,
Thank you for your reply..
I am also planning to do FM to get the data. But it is saying that the Cluster table ZES does not exist (ZES is the the standard table, in SE11 also).
How can I use the Fields from the that table.?
What can I do now, can you please explain me about this point.
Waiting for your reply.
Thanks and Regards
Rajesh
Message was edited by:
rajesh -
View, Clustur & Pooled Table
Hi,
I have few questions on the above topics.
How can we retreive data from View , Clustur & Pooled Table using Select statements.
If possible can you explain me with an example.
what kind of data can we retreive from them . for example BSEC - how can we use it .
Thank you in advance.
Ryhi,
You can access them using SELECT statements, you CAN NOT use joins though.
For example, BSEG is a cluster table.
report znave_0003 .
data: ibseg type table of bseg with header line.
parameters: p_bukrs type bseg-bukrs.
select * into table ibseg from bseg
up to 100 rows
where bukrs = p_bukrs.
loop at ibseg.
write:/ ibseg-bukrs, ibseg-belnr.
endloop.
to retrieve the data from a view....
Declare the internal table with the type of View.
Data : itab type table of zview001.
or write select query as
select * from zview001 into corresponding fields of itab.
Also you can uncheck the Unicode checks active (checkbox) in the program attributes.
{When you check that unicode checkbox, you should use an internal table without a header line. Instead you should declare a work area)
Hope it helps...
~~Guduri -
How to check data in a cluster table?
Hello
I am new to BW and SDN.
I have to see data in a cluster table.
I went to SE11, selected data type as KOMV, it displayed table, but data content button is greyed out.
Can someone please tell me how to view the data?
Thanks
PriyaHi,
Thanks, I can see the data now.I am expecting that data should display in the 2LIS_VDKON extractor.There are two records for particular condition type.Item 10 and Item 20, but in RSA3, it is showing only one record for Item 20 and not showing for Item 10.
I have cleaned and filled the setup tables, but still no luck.
Can you please guide me, where else to look?
Thanks
Priya -
How to extract data from cluster table
Hi, experts,
Here I want to extract change documents, which is from tables CDHDR(header) and CDPOS(line items). The problem is that CDPOS is a cluster table so that I can't create a view to develop a generic data source.
I have search on the forum and some one said generic data source based on function module was a choice, but I think coding FM is so complex, especially including delta implementation.
Could any one give me some advice? or give me some coding samples?
Thanks a lot!Dear Sam,
I would suggest you to have a look at the function module CHANGEDOCUMENT_READ u2013 you can use this function module as a core in the developed function module for generic extractor. Unfortunately, the suggested function module can not handle import parameters for field names, so the strategy which can be applied here is to use this function module to fill the internal table based on restrictions on object class and table name and then go through filled internal table and delete records which are not relevant for fields KOFIZ or ABRSPERR.
As for delta implementation, would you please advise if delta relevant field based on timestamp generated on date and time of the change document is sufficient for your needs? If so then you can use fields UDATE and UTIME to generate timestamp on them including the field containing generated timestamp to the extract table. Next step here is to choose this field as delta relevant field in the Generic DataSource maintenance (TCode RSO2).
Please inform me if this solution suits you or if you have any questions or concerns regarding it.
My best regards,
Vadim -
How to Extract data from Cluster table and transperant table
Hello BW Experts ,
I want to extract the data from cluster table BSEG and a transperant table BKPF .
The primary fields are BELNR , GJHAR and BUKRS.
the fields of table BKPF to extarct is BUDAT and fields of BSEG table is HKONT , BSCHL , ZUONR and POSID.
I can not create a view over these two tables as BSEG is a Cluster table.
Please guide me.
Regadrs ,
Amol.hi Amol,
take a look Sigg's weblog
/people/siegfried.szameitat/blog/2005/09/29/generic-extraction-via-function-module
you can use RSAX_BIW_GET_DATA_SIMPLE as sample, there specified import parameters
FUNCTION RSAX_BIW_GET_DATA_SIMPLE.
""Lokale Schnittstelle:
*" IMPORTING
*" VALUE(I_REQUNR) TYPE SRSC_S_IF_SIMPLE-REQUNR
*" VALUE(I_DSOURCE) TYPE SRSC_S_IF_SIMPLE-DSOURCE OPTIONAL
*" VALUE(I_MAXSIZE) TYPE SRSC_S_IF_SIMPLE-MAXSIZE OPTIONAL
*" VALUE(I_INITFLAG) TYPE SRSC_S_IF_SIMPLE-INITFLAG OPTIONAL
*" VALUE(I_READ_ONLY) TYPE SRSC_S_IF_SIMPLE-READONLY OPTIONAL
*" TABLES
*" I_T_SELECT TYPE SRSC_S_IF_SIMPLE-T_SELECT OPTIONAL
*" I_T_FIELDS TYPE SRSC_S_IF_SIMPLE-T_FIELDS OPTIONAL
*" E_T_DATA STRUCTURE SFLIGHT OPTIONAL
*" EXCEPTIONS
*" NO_MORE_DATA
*" ERROR_PASSED_TO_MESS_HANDLER
Maybe you are looking for
-
I just bought an iPod shuffle and would like to transfer the songs that I have purchased on my iPad onto the iPod shuffle. I don't know how???????
-
Convert .csv-attachments
Hi! I would like to convert a .csv-file which is received as an email-attachment. The problem is that the .csv-file is not recognized as I am not able to define the structure of the .csv-file. At the moment it is converted to one long string with all
-
Back button for internal hyperlinks?
I've created internal hyperlinks with IBA (to other chapters in the text) and for the most part, they work. But there is no back button? Help! And thanks!
-
Hi All, I have run the wage of a employee and now I´m looking for the form of salary (historical), it was run on june. Can I see the form of salary at the transaction PC_PAYRESULT? Or where? Regars, Carim
-
Copying the :new record in trigger to a variable
Hi, In a trigger is it possible to copy the :new pseudo record to a record type variable? I want to use this record variable in the exception block to print the values of the variables and I don't want to copy each field ony by one. Thanx gaurav