Reg: View cluster
Hello All,
How to find out the view cluster associated with a view ?
Hi Srivijaya,
you may access table VCLSTRUC. In field OBJECT you should enter the name of the view, then in field VCLNAME you will get the view cluster name.
I hope it helps. Best regards,
Alvaro
Similar Messages
-
Authorizations for View Cluster
Hello all,
I need to maintain authorization for View cluster.
Example : I have a view cluster say 'VC_TEST' , now I should have an authorization where other employees can only display it.
Steps which I have followed:
1. Assigned authorization object to the views of view cluster then created role for the object S_TABU_DIS and assigned all the activites (Create,Change,Display)
2. Assigned user to the role
But still other people can edit or maintain the view cluster.
So could you please guide me.
Thanks and regards,
AnilHI,
Reg:Authority Check object
http://www.techrepublic.com/article/comprehend-the-sap-authorization-concept-with-these-code-samples/5110893
Ram. -
Hiding a Maintenance View in a View Cluster
Hello ABAP Experts,
We have a scenario where we would like to hide a maintenance view to an existing view cluster based on condition.
Is it possible via events of a view cluster, where i can hide the view at runtime based on some condition before the view cluster is displayed ?
Is there any way as well, which help achieve this hiding of views ?
For example in the below View Cluster, i would like to hide "Define object links" view from the main view cluster "Define document Types".
Thanks,
NareshHi Naresh,
Yes, you can do it in events of a view cluster, define a subroutine and bounding it to event(02) in SE54,
when you define the subroutine, it will ask you creat a mian program, in this main program, you need 'INCLUDE lsvcmcod'.
Then you can access some standard data, http://help.sap.com/saphelp_nw04/helpdata/en/62/c302c7de8e11d1a5960000e82deaaa/frameset.htm
INCLUDE lsvcmcod.
FORM yourSubroutineName.
DATA: viewname TYPE vclstruc-object,
error_flag TYPE vcl_flag_type,
viewname = 'ZTEST_VIEW1'.
* PERFORM vcl_set_table_access_for_obj USING viewname
* CHANGING error_flag.
----> according your condition to change the view.
IF xxx = yyy.
DELETE vcl_struc_tab WHERE object = viewname.
ENDIF.
ENDFORM.
regards,
Archer -
Error while saving a Entry through view cluster ( getting TK 319 message)
We are facing an issue while saving the entry in one of the view at the lowest level of the three level View cluster.
Please find the Details of view Cluster below.
1)First level- Key => MANDT( CLNT, 3) + RULE_ID( CHAR , 20) .
2)Second level-Key =>MANDT( CLNT, 3) + RULE_ID( CHAR , 20) + LOCATION_TYPE (CHAR , 20) + START_DATE( DATS ,8).
3)Third level (Lowest level )-key => MANDT( CLNT, 3) + RULE_ID( CHAR , 20) + LOCATION_TYPE (CHAR , 20) + MEAL_RULE_TYPE( INT1 ,3) + START_DATE( DATS ,8) .
we are not able to save the Entry at the Third level and is getting the Message "Fill table key for table ITC_CALCRULE_ML only up to position 044 only " .
As per our understanding problem is that " the transport interface is called with a incorrect object key for table ITC_CALCRULE_ML " . we thaught of either reduce the width of the key or if we want
to define also the date, by changing the order of MEAL_RULE_TYPE and START_DATE .Also we could use a CHAR1 instead of the INT1 for the MEAL_RULE_TYPE.
After analyzing this we came to a conclusion that we have two solutions for solving it.
1) Database Design Change : Which is generally not preferable.
2) Apply the Event 12 ( After changing the key entries for the change task (E071K) ) on the view and in its code we reduce the Object key width for the Transport Organizer and
would be able to save the entry in the database and would be able to transport the entries to our Q-system.Hi. Were you able to fix the error?
-
Error while creating a View Cluster
Hello Gurus,
I have created two maintenance views ZVIEW1 & ZVIEW2 with table maintenance generator.Know I am trying
to create a view cluster using these views.
I have Proceeded with the following steps to create the View Cluster:
1. Tcode : SE54 --> GIven the name ZVIEWCLUSTER as View Cluster name & pressed ENTER.
2. Filled the description of the View cluster.
3.Selected the tab OBJECT STRUCTURE and filled it with ZVIEW1 & ZVIEW2.
4.Selected view ZVIEW1 and clicked on button "FIELD-DEPENDENCE" ,System throws a message
"Field-dependence generated succesfully"
5. Selected view ZVIEW2 and clicked on button "FIELD-DEPENDENCE" ,System throws an error message
"No log generated".
Am stuck up at point 5 in the above mentioned steps.
Please guide me in coming out of this error message.
Regards,
NajamHi Najam,
I don't think you need to define field dependencies for both tables, you only define the relationship from the second table to the first.
Double-click on the Field dependencies folder and check the link between the two tables is correctly defined, if so you don't need to generate the field dependency twice.
Regards,
Nick -
Sorting of a field in view cluster
Hi All,
Is there any way to sort a field in main screen of view cluster.
SE54->Edit view cluster->Test. I want to sort a field in main screen, after pressing test.
Is there any event for this?
I know the events which get called after pressing test, but tables TOTAL and EXTRACT are blank in these events so I can't sort them.
Pointers will be highly appreciated.
Regards,
Seemahi
In your method there would be a parameter ie ON_TOGGLE where you can write the name of your event .
Whenever your checkbox will be clicked that event wil be called.
You can write your code in that event itself.
Regards
Kuldeep -
F4 help for a field in item table in a view cluster
Hi All,
I have a view cluster with two tables. I should provide F4 help for field in item table based on the selected row of the header table.
F4 should have only values fetched based on the header table entry.
How can i achieve this. Please suggest.
Regards,
Kusuma K.Hi amar_war,
use screen painter to edit the screen layout where the field VKBUR is on. Double click the field to get the details screen. Here you can attach a search help to the field.
H_TVBUR has no more parameters, it will display a list of al sales offices with description text
H_TVBVK will also show the sales group, if VKGRP is a screen field, it will restrict the result list automatically on matching VKGRP.
H_TVKBZ has also VKORG VTWEG SPART - it will take those values from screen if filled.
If you are not satisfied with the results, you can easily create your own search help using own selection method and own search help exits if required.
Try standard search help for standard field first.
You can create a copy of VKBUR as ZVKBUR and attach search help there, you can create your own screen structure and attach the search help there - 50 ways to get your search help...
Regards,
Clemens -
Swapping the fields in a view cluster
Hi
I have a view cluster with the fields in the order FIELD1, FIELD2, FIELD3, FIELD4.
My requirement is that it should come in the order FIELD1, FIELD4, FIELD3, FIELD2.
Help me on this.
Thanks in advance.
Regards
Karthikafter fetching you can pass them to the required order into another internal table of the required order.
or define you internal table the way you want the data to come and in select statement it self you can use into corresponding fields to get the data in their respective positions -
How to create EVENTS for a View Cluster.
Hi Tech Gurus,
I have created a view cluster on 5 tables. I need to do a validation and this can be done by using events. But i am unable to create a EVENT for the View Cluster. Could anyone please tell me how to create events for a View Cluster.
Thanks in advance for your esteemed replies.
Regards,
Raghavendra Goutham P.Hello Pasapula
When you are in the View Cluster maintenance dialog (SE54) click on dialog "Events".
Below the field for the view cluster you have an additional field <b>FORM routines main program</b>. There you have to add the main program containing the FORM routines called by the VC events.
For example: I had defined a normal report containing an include with all the FORM routines. The report contains only the following lines of coding:
report zus_0120_u1.
* Common Data und access routines for user exits in VC maintenance
include LSVCMCOD.
include zus_0120_f1. "FORM routines for VC events
Now in the "Events" dialog of the view cluster maintenance you assign your FORM routines to the events.
Regards
Uwe -
How to create wizard for a custom mainenance view/view cluster
Hi Experts,
I have created 5 custom maintenance view and have maintained all the views sequencially and have made the first mainenance view as the start view & header entry and all other views are child or subview of the header view in a custom view cluster. But I want a wizard to help the user / end user successfully enter all the required values for all child views, it will help the user to navigate from the start view to all the child views where the fields of the wizard will be associated to the child maintenance views.
Please suggest how to create wizard for view cluster.
I'll give max reward point for the helpful answer.
Thanks in advance
koustavHello Pasapula
When you are in the View Cluster maintenance dialog (SE54) click on dialog "Events".
Below the field for the view cluster you have an additional field <b>FORM routines main program</b>. There you have to add the main program containing the FORM routines called by the VC events.
For example: I had defined a normal report containing an include with all the FORM routines. The report contains only the following lines of coding:
report zus_0120_u1.
* Common Data und access routines for user exits in VC maintenance
include LSVCMCOD.
include zus_0120_f1. "FORM routines for VC events
Now in the "Events" dialog of the view cluster maintenance you assign your FORM routines to the events.
Regards
Uwe -
Dump while copying the entries in view cluster
Hi Experts,
I am having a scenario where i am getting the dump while copying the entries through the vies cluster.
I have 2 tables CU00 and CU01. CU01 is depended on CU00.
CU00- it is having schema which are defined by the user.(SCHEMA-P,DESC)
CU01- this table is having the different tabs in a tab strip for a each of the user defined schema.(SCHEMA-P,SEQNO-P,TABID)
the data will be as follows
In CU00
SCHEMA1 first schema
SCHEMA2 second schema
In CU01
SCHEMA1 01 TAB1
SCHEMA1 02 TAB2
SCHEMA2 01 TAB2
SCHEMA2 02 TAB3
I maintained above 2 tables in a view cluster by making CU00 is the start point and defined the field dependencies as well.
in the T-code SE54 i tried to copy the existing schema and all its dependencies(means all the dependent entries in the CU01 table also).
when i pressed the SAVE button it is going for the dump by saying due to duplicate entries in the table CU01.
but it should check the consistency and display the error message when i pressed the COPY key.
I am badly struck up here. Please help me on this issue.
thanks in advance.Hi Gouri,
CU01 and CU00 both are dictionary tables.
What I think is, while copying all the dependencies for a particular schema the system ha to check whether the data can be inserted into the child tables or not. I too dont know whether this can be done or not.
If not, it should display an error message stating that " primary key violation occurs please use different key values..."
thanks for the reply. -
Hi ,
I created a view cluster which contains a hierachy of 3 tables .
In trasaction sm34 when I give the entries for 1st table and choose the 2nd table, the entries that i have given already in 1st table is not coming automatically for the 2nd table .. what will be the reason.Hi Gincy,
A view cluster is the set of objects, such as views, reports or tables which belong to one business function. The data can be arranged either hierarchically or non-hierarchically in view clusters.
A view-cluster transaction edits the complex cross-table data in a view cluster. The transaction navigation box shows the complex business object with its components or subobjects.
Some useful links are given below.
http://fuller.mit.edu/tech/view_clusters.pdf
View from a Cluster Table
creating Z transaction from view cluster
http://help.sap.com/saphelp_nw04/helpdata/en/7e/c81d9052c511d182c50000e829fbfe/frameset.htm
Hope this helps.
kindly reward if found helpful.
cheers,
Hema. -
How to restrict data from tables in a view cluster
Hi,
I have 5 Z* tables, Company code is the common code in all of these.
I have created a view cluster on these five tables.
My requirement is to viewcluster should display the data of the user's company code.
When i see the data in SE54 it is showing the proper data(i.e data which is related to users company code) for some of the tables.
And displaying all company codes data for some of the tables.
What can be the issue here ?
Do we need to map the data from proper data displaying tables to these tables ? if so How to do that ?
Please help on how i can solve this issue.
Regards,
Sunil Tata.Here is a small utility that can be used to copy and paste between a table and Excel.
I have been obliged to slice the llb into small chuncks for internet technical issues. Sorry...
CCMessage Edited by chilly charly on 04-02-2005 03:21 PM
Chilly Charly (aka CC)
E-List Master - Kudos glutton - Press the yellow button on the left...
Attachments:
Copy.zip 24 KB
Paste.zip 22 KB
CopyPaste example.zip 11 KB -
Problem with "Call Transaction" which calls a view cluster
Hi Colleagues ,
I have a rare issue with the call transaction , here is the use case for it :
1> I call a transaction(calls a screen X) in a report ,
2> I have a button in the screen , which calls another transaction(calls a screen X2) .
3> On the screen X2 i have another button which calls transaction (calls the view cluster ).
problem :
i'm not able to see the navigation pane in the view cluster on the left. its missing .
but when the view cluster is called direclty , i'm able to see the navigation pane in the view cluster ..
My initial doubt was , is this the problem with nesting of 'Call Transaction' calls ????
please answer the thread , i have to fix this ASAP.
regards,
Dilipproblem solved.
-
Manually adding a Extra button in the application tool bar of the view cluster.
hello Colleagues ,
I have created a couple of maintenance view , and with this two maintenance view i have created a view cluster using the transaction SE54.
Now, there is default Application toolbar gets generated when a view cluster is created. (screenshot attached.)
Now i have a requirement where i can add another button (syntax Check button in the screenshot 2) in the same view cluster. (screenshot attached.)
Want to know the feasibility of this requirement.
Thanks in advance
Shavneet SinghHello,
Not sure of your exact reqt
But got some sample code to create a button on the toolbar which once clicked gives a new popup window with additional parameters
TABLES:SSCRFIELDS.
**Create the Additional Selection screen to input filename
SELECTION-SCREEN: BEGIN OF SCREEN 10.
PARAMETERS: P_FILE TYPE RLGRAP-FILENAME.
SELECTION-SCREEN: END OF SCREEN 10.
**Create Application Toolbar Button on the Standard selection Screen
SELECTION-SCREEN FUNCTION KEY 1. "Its fcode will be FC01
PARAMETERS : P_WERKS TYPE MARC-WERKS.
INITIALIZATION.
SSCRFIELDS-FUNCTXT_01 = 'Enter File'. "Assign the Text to the Button
AT SELECTION-SCREEN.
CASE SSCRFIELDS-UCOMM. "Check the Fcode
WHEN 'FC01'.
CALL SELECTION-SCREEN 10 STARTING AT 5 8 ENDING AT 85 20.
ENDCASE.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_FILE.
CALL FUNCTION 'F4_FILENAME' "Local file browser
EXPORTING
PROGRAM_NAME = SYST-CPROG
DYNPRO_NUMBER = SYST-DYNNR
FIELD_NAME = 'P_FILE'
IMPORTING
FILE_NAME = P_FILE.
START-OF-SELECTION.
***Your list processing.
Maybe you are looking for
-
Creative Zen Sleek Photo Firmware Download does not recognize my pla
My Creative Zen Sleek Photo recently froze up. After restarting it, the "firmware problem" screen popped up. After reading up on it a bit, I decided to first clean, then reformat, and then reload the firmware. Everything went smoothly until I went to
-
Hi there , In communication channel monitoring message id shoiwing some message id number but when i try to click it is not opening anything...but normally it takes to anothger window with message information..but in this case
-
Hi, I am using my Mac Mini on a Panasonic plasma (1280/720) it looks great. But when I watch a movie with a frame rate of 23,976 / 24p There is some judder. The TV is 24p compatible. So my question is: How to enable the 23,976/24p frame rate? Now i o
-
Output Determination by Payer's Payment Method (Customer Master)
How would i be able to set printing of invoices only for payer with certain payment method (Customer Master field)? Is this possible within standard SAP?
-
Multiple Input Rows In ALV Grid (Editable)
Hi, I have an editable ALV grid and need to have multiple blank rows ready for input. Something similar to what happens when you click the "New Entries" button in SM30 (Table Maintainance). There is a local function for appending lines in the ALV gri