Create functions in cluster views.

Hi Experts,
As per our customer requirment, time configuration tables should be accessed by more than 1 person at the same time. In order to do so, were thinking about create a cluster view (se56).
throug events avaliable for this cluster we can trigger some code tu unlock the table and perform checks.
Do you know which functions are avaliable to perform the following checkings?
In example, i access to -. V_T551A ( period workschedules)
i can find out by the name of the period workscheduel which EE subgroup is asigned to this period workschedule.
1)when i enter to the selected view, i would like to check my profile and check my EE subgroup.
2)check the selected entry i´m currently trying to modify, and access its fields to perform (description) to perform these heckings (my EE subgroup == EE ubgroup correct to modify this entry).
3)if  ok, them i´m allowed to make the modification and save.
Any idea about how to access this information from the program?
With KR
Ruben.

Hi,
Check this...
http://erpgenie.com/index.php?option=com_content&task=view&id=462&Itemid=77

Similar Messages

  • 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

  • Error while creating cluster view

    Hi all,
    Requirement is to create cluster view copying cluster view VC_TABWU01  into custom view.
    CV VC_TABWU01 has two data base views V_T093C_10 and V_T093U_01 I copied them both in to ZT093U_01 and ZT093C_10 and created a CV Z_TABWU01. Field dependence is set, when I am activating view I am getting message that screen 300 of ZT093U_01 is modified. I changed all possible options as standard view, kindly help me activating cluster view.
    Error: The flow logic of the screen ZT093U_01 0300 is not that of a generated view maintenance list screen. Either the screen has been considerably modified manually, or the view which it is based on has no maintainable key.
    Thanks
    Krishna.

    Need to add events in TMG. Solved with help of standard CV

  • Pls help in creating cluster view

    Pls help in creating cluster view
    regards
    jindow

    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.
    Look at the below link
    Re: Define view for cluster table?
    Regards,
    Priyanka.

  • Creating Z transaction from view cluster

    Hi All!
    I had created view cluster using SE54.This view cluster contains check tables to be maintained by the user.
    Now my problem is how to attach these view cluster to a Z transaction through SE93.In production se54 is not available and i have to attach this view cluster to the Z transaction so that selected users are restricted to use this view cluster.
    Regards
    Praneeth
    Points will be rewarded
    Message was edited by: Praneeth kumar

    Hi Rusidar,
    You can actually use the transaction code SE93 to launch a view cluster. Say you have a view cluster: MYVC. Here is how you can create a transaction code to display this:
    1. Execute transaction SE93.
    2. Enter the desired transaction code in the input field, say MY_TCODE.
    3. Click on 'Create' button. A 'Create Transaction' popup will open. In this popup, enter the short text for this code and choose the last radio among all radios which says "Transactions with Parameters ('parameter transaction')" and click 'OK'.
    4. In the resulting screen, enter 'SM34' as Default Value for transaction. Then add the following two entries under 'Default Values' section (this section is located towards the end of the screen):
    Name of screen field Value
    SHOW                     X  (means simulate click on 'Display' button
    VCLDIR-VCLNAME   MYVC ( This is the technical element that corresponds to the input field in the screen of transaction sm34).
    5. Check the checkbox 'Skip Initial Screen'.
    6. Save the transaction code.
    Try running the code. If your cluster view already works via sm34, it should execute....
    Cheers....
    Regards,
    Shiromani
    Edited by: Shiromani Raj Sharma on Dec 26, 2007 10:33 AM

  • 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.

  • How can I create a full-screen view of Keynote slide in Snow Leopard?

    How can I create a full-screen view of my Keynote slides in Snow Leopard?
    I'm going to be importing into ScreenFlow to create a video.
    Thank you!!

    Welcome to Apple Support Communities.
    Do you want static screen captures or motion video of slides as titles, bullet points, and the like are presented?
    Run the Keynote slide presentation in full-screen mode, then...
    Static full-screen captures - use Command+Shift+3.
    Static partial-screen captures - use Command+Shift+4 and use cursor to select the area of the screen to capture.
    If you want motion video as builds occur, why not use Keynote's built-in Share, Export function?
    (I'm on iLife '09.)
    Also understand that the default slide format for Keynote is 1024x768, not full-screen MacBook 1280x800 screen size, so you'll have wide black borders unless you change the default size or crop the finished screen captures.
    Message was edited by: kostby

  • Ical cannot create event in month view

    iCal cannot create event in month view. Is this a bug?
    I've tried double clicking in a day as I always did but nothing.

    Ko be,
    Application UI issues are in many cases, caused by a corrupt plist file.
    Quit iCal, and try removing the com.apple.iCal.plist file from your Macintosh HD/Users/yourusername/Library/Preferences Folder. Since that Library is now hidden, you have to use the Finder>Go Menu>Depress the "Option" key>Library. Drag the .plist file to your desktop, and log out/in or restart and check iCal for functionality.
    Also read Apple iCal 5 Office Software Review | Macworld for a description of Lion iCal.

  • Using a function in a view

    I have to include a function in a view. I want to create a new column in a view which is the output of this function. Can I do it. I am new to using functions..any sample code is appreciated..

    Hi,
    Yes of corse.
    REgards salim.SQL> CREATE OR REPLACE FUNCTION div (sal NUMBER)
      2     RETURN REAL
      3  IS
      4  BEGIN
      5     RETURN (sal / 2);
      6  END;
      7  /
    Fonction créée.
    SQL> create or replace view  v_emp as
      2  select empno,ename,sal,div(sal) sal_div
      3* from emp_test
    SQL> /
    Vue créée.
    SQL> select * from v_emp;
         EMPNO ENAME             SAL    SAL_DIV
          7698 BLAKE           20000      10000
          7566 JONES            5950       2975
          7699 DAVID           20000      10000
          7782 CLARK           20000      10000
          7839 KING            10000       5000
          7902 FORD             6000       3000
          7788 SCOTT            6000       3000
    7 ligne(s) sélectionnée(s).
    SQL>

  • How to create rtf template to view report in Word and Excel, with numeric f

    Hi,
    Please help me!
    How to create rtf template to view report in Word and Excel, with numeric formatted fields (like this 999 999 999,99 with spaces between numbers) and then end user be able to process those fields with Excel tools (sum, etc).
    Thank you.

    From what I have seen Excel can not handle 999 999 999.00. You can use 999999999.00 and then format it as you want in the xls bt you can not have values like 999 999 999.00 coming from publisher output and have functions on the values in Excel
    Tim

  • User defined Function in materlized view???

    Hi All:
    can we use user defined functions in materlized views. If anybody know about it. Please help me. Thanks
    Ali

    Here we go... (see how quick it was)...
    SQL> create or replace function myfunc(x in number) return number is
      2  begin
      3    return (x*2*3.14152);
      4  end;
      5  /
    Function created.
    SQL> create table a as select rownum x from dual connect by rownum <= 90;
    Table created.
    SQL> create materialized view as
      2
    SQL> create materialized view mv_a as
      2  select x, myfunc(x) as x_2pi from a;
    select x, myfunc(x) as x_2pi from a
    ERROR at line 2:
    ORA-12014: table 'A' does not contain a primary key constraint
    SQL> alter table a add primary key (x);
    Table altered.
    SQL> create materialized view mv_a as
      2  select x, myfunc(x) as x_2pi from a;
    Materialized view created.
    SQL> select * from mv_a;
             X      X_2PI
             1    6.28304
             2   12.56608
             3   18.84912
             4   25.13216
             5    31.4152
             6   37.69824
             7   43.98128
             8   50.26432
             9   56.54736
            10    62.8304
            11   69.11344
            12   75.39648
            13   81.67952
    etc.

  • How to create function module step by step

    hi experts,
    i am new to ABAP.
    can anybody tell me the step by step process on how to create a function module for adding two numbers without using editor screen.
    ex: 2+3=5.

    Hi,
    You can only create function modules and function groups using the Function Builder in the ABAP Workbench. For further information, refer to Creating New Function Modules. This section uses an example to illustrate how a function module is created from the point of view of ABAP programming.
    Function Groups and Function Modules:
    Firstly, we create a new function group DEMO_SPFLI to hold the function module. Then, we can create the new function module.
    Parameter Interface:
    You can specify the types of interface parameters in function modules in the
    same way as the parameter interfaces of subroutines. Since function
    modules can be used anywhere in the system, their interfaces can only contain
    references to data types that are declared systemwide. These are the elementary
    ABAP data types, the systemwide generic types, such as ANY TABLE, and types
    defined in the ABAP Dictionary. You cannot use LIKE to refer to data types
    declared in the main program.
    Exceptions:
    Our function module needs an exception that it can trigger if there are no entries
    in table SPFLI that meet the selection criterion. The exception NOT_FOUND
    serves this function.
    Source Code:
    Having defined the parameter interface and exceptions, we can now write the
    source code of our function module. To do this, choose Source code in the
    Function Builder. This opens the ABAP Editor for the include program
    L<fgrp>U<xx> (see Function Groups). This is the include that will
    hold the program code for the function module;
    Data in Function Modules
    You can use the TYPES and DATA statements to create local data types and
    objects. The interface parameters also behave like local data objects. In
    addition, you can access all of the global data of the main program. This data is
    defined in the include program L<fgrp>TOP. To open this include, choose Goto
      Global data. The global data behaves like the instance attributes of a class.
    The first time you call a function module in a particular function group, the data is
    loaded into memory. It can then be accessed and changed by all of the function
    modules in the group. The system retains the values until the next time a function
    module is called.
    Calling Subroutines
    You use subroutines for local modularization. Function modules can
    also use this technique. The function module that they call are defined in the
    corresponding main program.
    If you only want to call a subroutine from a single function module, it is best to
    define them in the same include program as the function module itself, directly
    after the ENDFUNCTION statement. These subroutines can be called from all
    function modules in the function group, but for clarity, they should only be called
    from the function module that precedes them.
    If you want to define a subroutine that will be called from several different function
    modules, you can define a special include program for it with the name
    L<fgrp>F<xx>.
    Raising Exceptions
    There are two ABAP statements for raising exceptions. They can only be used in
    function modules:
    RAISE <except>.
    and
    MESSAGE..... RAISING <except>.
    The effect of these statements depends on whether the calling program handles
    the exception or not. If the name <except> of the exception or OTHERS occurs
    in the EXCEPTIONS addition of the CALL FUNCTION statement, the exception is
    handled by the calling program.
    If the calling program does not handle the exception
      The RAISE statement terminates the program and switches to debugging mode.
      The MESSAGE ..... RAISING statement display the specified message. How the
    processing continues depends on the message type.
    If the calling program handles the exception, both statements return control to the
    program. No values are transferred. The MESSAGE ..... RAISING statement
    does not display a message. Instead, it fills the system fields SY-MSGID, SYMSGTY,
    SY-MSGNO, and SY-MSGV1 to SY-MSGV4.
    Source Code of READ_SPFLI_INTO_TABLE
    The entire source code of READ_SPFLI_INTO_TABLE looks like this:
    FUNCTION READ_SPFLI_INTO_TABLE.
    ""Local interface:
    *" IMPORTING
    *" VALUE(ID) LIKE SPFLI-CARRID DEFAULT 'LH '
    *" EXPORTING
    *" VALUE(ITAB) TYPE SPFLI_TAB
    *" EXCEPTIONS
    *" NOT_FOUND
    SELECT * FROM SPFLI INTO TABLE ITAB WHERE CARRID = ID.
    IF SY-SUBRC NE 0.
    MESSAGE E007(AT) RAISING NOT_FOUND.
    ENDIF.
    ENDFUNCTION.
    The function module reads all of the data from the database table SPFLI where
    the key field CARRID is equal to the import parameter ID and places the entries
    that it finds into the internal table SPFLI_TAB. If it cannot find any entries, the
    exception NOT_FOUND is triggered using MESSAGE...RAISING. Otherwise, the
    table is passed to the caller as an exporting parameter.
    Regards,
    Chandru

  • Generic extraction using function module and view

    hi every one ,
    iam new to bw and can anyone plz tell me how to extract the data from R/3 to bw using generic extractor by creating function module and a view
    thank u,
    kishore

    Hi Kishore,
    Check this blog:
    /people/siegfried.szameitat/blog/2005/09/29/generic-extraction-via-function-module
    Also Check this doc:
    http://help.sap.com/saphelp_nw04/helpdata/en/3f/548c9ec754ee4d90188a4f108e0121/frameset.htm
    Generic Extractors
    Generic data sources
    Generic DS
    Bye
    Dinesh

  • How to create a left join view in se11??

    I would like to create a view which contains KNA1,KONA,KNVV,KNVH(four tables) , I want to use this view to create a search help for Tcode 'VBO3'.
    but when I join table KNVH, there is no data in view, because there is no customer hierarchy, so I want to create a left join view. could you please tell me how to create a left join view? Thank you very much.

    Hello,
    yes, in general, maint. view and help view could be created as outer join view.
    but it should obey relationship.
    my fourt tables:
    KONA -
    > I want to get agreement number and type from this table
    KNA1 -
    >I want to get customer name, city, country from this table
    KNVH -
    >I want to get customer hierarchy from this table.
    KNVV -
    >I want to get customer group 1 from this table.
    but in help view, I can only get relationship between KONA and KNA1.
    I could not find the relationship for KNVH and KNVV.
    if it's required to add a search help exit, then how to write the code in the function?
    Could somebody please give me any solutions? thank you.

  • Cluster view

    Hi
    I have created cluster view, its working fine but the problem is
    when I select the entry of main table record, if it does not exist in the child table then it has to show the key field value in the next screen. Any one can tell me how to do it?
    Thanks in Advance
    GVRao

    for the child table, you have to create a view
    in the definition of the view, you set all the keyfields with flag "S" into the fourth column
    S = Generate subsets when maintaining view data
    this way the values will be inherited from the parent table for those fields

Maybe you are looking for

  • Bapi Fm BAPI_INCOMINGINVOICE_CREATE Giving error *Balance is not equal to .

    Dear All, Note: Cin as implemetned.                Get error from Fm BAPI_INCOMINGINVOICE_CREATE  is Balance is not equal to zero. Have passed the correct inputs to the Fm its Invoice is creting ,while the only case Cenvat comes based in the PO/Vendo

  • The operation cant be completed because you dont have permission to access some of the items

    First of all sorry if my gammar isnt the best, as I suffer for Dylexia and spell and gammar check isnt that good yet! Has anyone ran into the same issue when copying files to a network share or removable drive where you have full access over and you

  • VAT claim India Localization, Puzzle

    Let me know if these cases are correct: I received quantity(100) and paid VAT 500. Returned half quantity (No debit memo gets created, right?) and then created invoice so total invoice is created for quantity(50) and VAT 250. When I claim VAT, I stil

  • Intensity graphs in diadem

    Can you make intensity graphs in diadem like in labview. For example I have data that is in one channel group, that has about 100 channels. Each channel has a 1d array of data points which have about 50 points each. Is it possible to plot this 100 by

  • Instalaltion of OWB repository failed at 98%

    Hello Everybody, OWB 11107/RDBMS 11107 Linux 32bit Installation of OWB 11107 repository on the First node in RAC failed with the error the warehousebuilder workspace owner installation failed on user owbsys java.sql.SQLException ORA_06550 line 7 colu