How to create object class for a z table

Hi All,
I have a z table and I want to register the changes of fields should be logged to CDHDR and CDPOS table.
Is this possible?
If yes how can I creat an object class for a z table. I have already checked the change document option in z data element.
Please help.
Regards,
Jeetu
Moderator message: standard functionality, please search for available information/documentation before asking.
locked by: Thomas Zloch on Oct 6, 2010 6:16 PM

Tcode SCDO. You'll need to create a change document for you Z table and then use the FM created to record the changed data.

Similar Messages

  • How to create transaction code for a Z-table

    How to create transaction code for a Z-table?
    Se93 --> then which radio button to be selected? and what is the program nam e to  be given

    Hi Sam,
    <b>Procedure to create a TCODE for ZTABLE:</b>
    Create a table maintainance/View for the Z* Table.
    Once you create the view goto SE93>Select Parameter transaction and give the short desc.>
    Give the transaction as SM30(Skip the first screen-optional)>Check all check boxes under GUI support>In the default values(grid)section first row give the VIEWNAME as you created initially and the second row UPDATE as X.
    <u><i>Se93 --> then which radio button to be selected</i></u>
    Select the parameter transaction as a radio button.
    <u><i>what is the program nam e to be given</i></u>
    no need to give any program name. Instead you have to give the transaction code name as SM30.
    Pls mark the helpful answers.
    Thanks
    Eswar

  • How to create proxy class for a Siebel WS which has many Workflows in it?

    Hi,
    I am facing a strange problem. I have a Web Service for which there are many workflows associated with this. When I generate WSDL for this Web Service and later on generate proxy class in .NET, it creates mutilple classes for each workflow. From UI, I can invoke a perticular method for the class for which I am interested in. But when I am building the same in JDeveloper, using Web Service proxy, I get only one class and I am not interested in invoking method in this class but interested in some other class for which the proxy was not generated. Is there some way to generate multiple classes in JDeveloper proxy?
    Thanks,
    Sudha.

    I have figured this out. Actually Generate proxy creates package and it includes all the class in it. Now i am able to invoke web service method call.

  • How to create Object Links For non standard SAP Objects?

    Hi all,
             I need to create an object link in cvo1n for a non standard SAP object (inspection characteristics) . we have two ways to do this
    1. Create a screen for the rquirement by taking the standard screens as reference.
    2. Implement badi document_obj.
    I need a step by step process to perform both the steps. Sample codes will be helpful.
    One more thing is that i need a link in the standard screens of inspection characteristics also. How to get a two way link both in cv01n and in the standard inspection char screen.

    hi
    Customizing for the Do cument Management , you must maintain the key fields for the SAP objects that you want to link to document info records, by choosing Control Data ® Maintain key fields.
    Process
    Program two screens for the following module pools for the SAP object that is to be linked additionally:
    u2013 SAPLCV00
    u2013 SAPLCVIN
    The process logic must be according to that of screen 0204 in program SAPLCV00 and must not be changed.
    Create the function module OBJECT_CHECK_XXXX (XXXX = name of the SAP object).
    If this object can be classified, this function module already exists in the standard system. Otherwise, copy the existing function module OBJECT_CHECK_EQUI (linking of equipment) and change it to suit the new object.
    also you can attach the document to PRT also. but it will not show you in dms. This type of attachment is only from otherside.
    thanks
    nitin
    award point if useful

  • How to create editable tablecells for a single table row dynamically?

    Hi
    How to make the cell of a tablerow editable based on flag in backing list object bound to row? I can't decide the editable property while creating table columns. So i can't use setCellFactory() during creation. However setCellFactory() makes all cells in table column editable.How to make non-editable table row cell editable and vice-versa based on flag?

    hi
    good
    if you want to create two different view for a same table than you cant give the same name for the same view,otherwise it would allow you to create the view.Try out with different view name as well as the function group name,i hope this ll work.
    thanks
    mrutyun^

  • How to Create Authorization Group for SAP Standard Tables

    All,
    I have 10 standard tables which are required to maintain by the user in Production environment.
    Is there any way to create a custom auth group for the standard table?
    Is it possible to assign same table in two different auth groups?
    Please advice
    Thanks,
    Kotesh

    Multiple tables can be linked to an auth group, but one table can be linked to only one auth group.
    You cannot link one table to more than one auth group.
    It is always advised to try to find an existing auth group having tables of same functinality and criticality, before creating a new auth group.
    In case you don't have any such auth group, I feel you can create a Z auth group using se16->tbrg.
    You can also create auth group using tcode se54.

  • How to create custom class for Swing compnents

    import java.awt.Color;
    import java.awt.Font;
    import javax.swing.JLabel;
    import javax.swing.*;
    public class SampleJFrame extends JFrame {
        public static void main(String[] args) {
            SampleJFrame frame      =      new SampleJFrame();
            JPanel panel = new JPanel();
            panel.setLayout(null);
            getLabel label;
            Color     color, color1;
            color                    =      new Color(   120 ,      120  ,     160            );
              color1                    =      new Color( 135  ,     38 ,      87);          
            label                     =       new getLabel( "Hiiiiii", 150, 700, 800, 50, color1, "Serif", Font.BOLD, 28 );
                panel.add(label);      
                frame.add(panel);      
            frame.setSize(700, 770);
             frame.setVisible(true);
            frame.setDefaultCloseOperation(DISPOSE_ON_CLOSE);
    import java.awt.Color;
    import java.awt.Font;
    import javax.swing.JLabel;
    public class getLabel extends JLabel {
          *     This method create and return the JLabel with necessary parameter
          *     @param     labelName
          *     @param      x coordinate
          *      @param      y coordinate
          *      @param      width
          *      @param     height
          *      @param     foreground color
          *      @param     fontName
          *      @param     fontStyle
          *  @param     fontSize
          *      @return     JLabel
         public getLabel( String labelName, int x, int y, int width, int height, Color foreGround,
                                   String fontName, int fontStyle, int fontSize ){          
                   JLabel      label     = new      JLabel(labelName);
                   label.setBounds( x, y, width, height);
                   label.setForeground(foreGround);
                   label.setFont(new Font(fontName, fontStyle, fontSize));               
              }                                   // End of getLabel block     
    }I want to use customs JLabel class where I can add necessay element to JLabel comonent
    But in above case the getLabel class compiles but when I am add label using getLabel class
    to my JFrame class it doesnt shows anything.
    I dont get what is the error please help
    Edited by: harshal_2010 on Apr 29, 2010 6:43 AM
    Edited by: harshal_2010 on Apr 29, 2010 7:01 AM

    I don't understand, Why you try to create new Label in getLabel constructor?
    You get label class already extended from JLabel and don't necessary to create new JLabel.
    public getLabel( String labelName, int x, int y, int width, int height, Color foreGround,
                                   String fontName, int fontStyle, int fontSize ){          
                   super(labelName);
                   this.setBounds( x, y, width, height);
                   this.setForeground(foreGround);
                   this.setFont(new Font(fontName, fontStyle, fontSize));               
              }I think, you need to create ControlsFactory and use it for creating custom controls. It's best solution for you.

  • How to create updatable summary for columns in table view

    Dear All,
    ADF BC and Faces, i have got a table view where user can register hours for each day of the week, for which i'd like to create summary(sum-up)fields that display the number of total for each day, and it is updatable at run time(i.e. when numbers are put in, summary fields get updated automatically).
    how do i do? some links/examples available? thank you.
    regards
    Jerry

    http://www.freewebalbum.com/blogs/faces/bjanko/blogs.jsp?blog=bjanko20070725180020

  • How to create dynamic strcture for a interrnal table

    first i created one internal table . with five fields . suppose i want add two more fields in internal table.
    what is the code for the this . if any one konow

    REPORT  ZTEST05.
    PARAMETERS dbtab TYPE tabname DEFAULT 'SPFLI'.
    TYPE-POOLS rsds.
    DATA tadir_wa  TYPE tadir.
    DATA selid     TYPE  rsdynsel-selid.
    DATA field_tab TYPE TABLE OF rsdsfields.
    DATA table_tab TYPE TABLE OF rsdstabs.
    DATA table     LIKE LINE OF table_tab.
    DATA cond_tab  TYPE  rsds_twhere.
    DATA cond      LIKE LINE OF cond_tab.
    DATA dref      TYPE REF TO data.
    DATA alv       TYPE REF TO cl_salv_table.
    FIELD-SYMBOLS <table> TYPE STANDARD TABLE.
    SELECT SINGLE *
           FROM tadir
           INTO tadir_wa
           WHERE pgmid = 'R3TR' AND
                 object = 'TABL' AND
                 obj_name = dbtab.
    IF sy-subrc <> 0.
      MESSAGE 'Database not found' TYPE 'I' DISPLAY LIKE 'E'.
      LEAVE PROGRAM.
    ENDIF.
    table-prim_tab = dbtab.
    APPEND table TO table_tab.
    CALL FUNCTION 'FREE_SELECTIONS_INIT'
      EXPORTING
        kind         = 'T'
      IMPORTING
        selection_id = selid
      TABLES
        tables_tab   = table_tab
      EXCEPTIONS
        OTHERS       = 4.
    IF sy-subrc <> 0.
      MESSAGE 'Error in initialization' TYPE 'I' DISPLAY LIKE 'E'.
      LEAVE PROGRAM.
    ENDIF.
    CALL FUNCTION 'FREE_SELECTIONS_DIALOG'
      EXPORTING
        selection_id  = selid
        title         = 'Free Selection'
        as_window     = ' '
      IMPORTING
        where_clauses = cond_tab
      TABLES
        fields_tab    = field_tab
      EXCEPTIONS
        OTHERS        = 4.
    IF sy-subrc <> 0.
      MESSAGE 'No free selection created' TYPE 'I'.
      LEAVE PROGRAM.
    ENDIF.
    READ TABLE cond_tab WITH KEY tablename = dbtab INTO cond.
    IF sy-subrc <> 0.
      MESSAGE 'Error in condition' TYPE 'I' DISPLAY LIKE 'E'.
      LEAVE PROGRAM.
    ENDIF.
    CREATE DATA dref TYPE TABLE OF (dbtab).
    ASSIGN dref->* TO <table>.
    TRY.
        SELECT *
               FROM (dbtab)
               INTO TABLE <table>
               WHERE (cond-where_tab).
      CATCH cx_sy_dynamic_osql_error.
        MESSAGE 'Error in dynamic Open SQL' TYPE 'I' DISPLAY LIKE 'E'.
        LEAVE PROGRAM.
    ENDTRY.
    TRY.
        cl_salv_table=>factory(
          IMPORTING r_salv_table = alv
          CHANGING  t_table      = <table> ).
        alv->display( ).
      CATCH cx_salv_msg.
        MESSAGE 'Error in ALV display' TYPE 'I' DISPLAY LIKE 'E'.
    ENDTRY.

  • How to create New columns for the Internal Table Dynamically?

    HI Guys,
                          In my logic i have to create new columns depending on the logic which i am executing.
    My requirement is .I have to display o/p like this
    Material || Year || Period  ||  Mix ratio || Vendor ||Mix Ratio || Vendor || Mix Ratio Vendor || Mix ratio || Vendor || Mix ratio.............................from table's CKMLMV003 and CKMLMV001.Her i have to display the o/p in the above format and i have to display Vendor and Mix Ratio for 5 columns irrespective of data .If i have more than 5 columns for any record then i have to create a New columns dynamically for Vendor and Mix ratio.If anybody want my code i can Submit But plz tell with example how to do?
                    <b>The O/P must be finally shown in ALV Grid</b>
    Thanks,
    Gopi

    You must create the entire internal table dynamically, you can not add columns to a statically define internal table.  Here is an example of creating a dynamic internal table.
    Creation of internal table dynamically based on the Date Range entered
    Regards,
    Rich Heilman

  • How do I create Wrapper class for Message Box?

    I want to create Wrapper class for Message Box class in my project. I am using Telerik Testing FrameWork. In that message box was not recognized in unit testing thats y i want to create wrapper class, for creating the
    instance for that mesage box.

    A wrapper class is simply a class that for example wraps another object or a subset of its methods. You could just create a class that exposes the same methods as the MessageBox and uses the MessageBox internally.
    If you define an interface and program against this in your application, you could replace your wrapper object with another object that implements the same interface when you are doing the unit tests. Something like this:
    public interface IMessageBoxWrapper
    System.Windows.Forms.DialogResult Show(string text, string caption);
    public class MessageBoxWrapper
    public System.Windows.Forms.DialogResult Show(string text, string caption)
    return System.Windows.Forms.MessageBox.Show(text, caption);
    public class MockMessageBoxWrapper
    public System.Windows.Forms.DialogResult Show(string text, string caption)
    return System.Windows.Forms.DialogResult.OK;
    private readonly IMessageBoxWrapper _mbw;
    public Form1(IMessageBoxWrapper mbw)
    InitializeComponent();
    _mbw = mbw;
    private void SomeMethod()
    _mbw.Show("...", "...");
    Hope that helps.
    Please remember to close your threads by marking all helpful posts as answer and please start a new thread if you have a new question.

  • How to create a class using java script..

    Hi all,
    Iam new to java script and I tried out the following program but its not working..I basically created a class just like a java prog' but Iam not getting any output or error.Iam attaching the code below.
    If I created one function inside the script and create one object its working fine but what should I do when I have a lot of function??so I created a class and put all the function and created an object but its not working..
    Do let me know what changes should I do..Iam attaching the code which I had written. or give me an example of how to create a class with couple of functions using JAVASCRIPT
    Thanks
    Avis_su
    <html>
    <head><title>JSP Page</title></head>
    <body>
    <SCRIPT language = "JavaScript">
    <!--
    //Created classes
    class book
    var title: String;
    var author:String;
    function author()
    doucument.write("Author is " +this.author);
    function tile()
    doucument.write("Title is " +this.title);
    function printall()
    var counter = 0;
    function author();
    function title();
    var chapters = Array[String];
    for(chapter in this chapters)
    counter++;
    document.write("Chapter" counter" :"+this.chapters[chapter]+"<br>");
    var thisbook = new book()
    thisbook.author = "Sivagami";
    thisbook.title = "MS in CS giude";
    thisbook.chapters = new Array[10];
    thisbook[0] = "Prepare to Excell in all ";
    thisbook[1] = "Learn to be happy";
    thisbook[2] = "Learn to be healthy mentally emotionally physically";
    thisbook[3] = "Siva and Subbu along with kidssssss will be successful in future";
    thisbook.printall();
    //-->
    </script>
    </body>
    </html>

    Run this program to get your answer:
    public class AnswerToYourPost {
    public static void main(String args[]) {
    System.out.println("TRUE/FALSE: This question
    ion belongs on a Java forum.\n"
    + "ANSWER: " + ("Javascript" == "Java"));
    }Since when do we compare objects for equality using operator == ?

  • How to create objects in ABAP Webdynpro?

    Hi,
    I want to create the object for the class: <b>CL_GUI_FRONTEND_SERVICES.</b>
    then i want to call file_save_dialog method.
    how shoud i write the code, plz?

    I have written this code:
    v_guiobj TYPE REF TO cl_gui_frontend_services.
    <u> ?????????????</u>
    v_guiobj->file_save_dialog( ...).
    How to create object in the place of ?????????????.
    Bcoz, when i run this i am getting:
    <b>Access via Null object reference not possible.</b>

  • How to create a documentation for Badi?

    Hi All,
    how to create a documentation for Badi?
    This step is requested in the OSS note, but not explained how to perform it...
    Thanks and regards,
    Alex.

    Hi All,
    solved. created in SE18
    I noticed, that it is also possible to create such documentation in SE61 *** well,
    Document Class  Implementation Guide chapter (SIMG)
    Chapter   SIMG
    Also the translation of documentation could be done in such way:
    SE63--->Translation--->ABAP OBjects--->Transport object:
    R3TR DSYS SIMGbadi_name_goes_here
    Regards,
    Alex

  • How to create an objectkey for documents

    Hi gurus,
    I try to create an object key for documents (to read the classification). I tried using FM  BAPI_OBJCL_GET_KEY_OF_OBJECT but there is only one field for Objectname.
    I tried different ways to execute the FM but the reurnparameter always tells me "Class type 017 requires additional objects". Can someone tell me how to use this FM for
    documents or is there any other way to create such a Objectkey (via RFC)?

    Hi,
    As far as I understand you dont create Object key for documents. These are created by system depending on you doc no, doc part, doc type, doc ver.
    You can find object key in table DRAD.
    Hope it helps.
    Regards,
    Siddhesh S.Tawate

Maybe you are looking for

  • Backing up and restoring library to and from external HD

    Newbie to iTunes since I got my iPhone. I'm asked periodically to back up my library to CDs. Can I back up per my question, and in the event of the unthinkable total crash of my Mac can I restore from the external HD? Is there a method to do this or

  • LUMIA 720 -- IN MESS

    I am using my Lumia 720 for past 2 months the back key and search key automatically and it disturbs my workflow. It annoying and there are many small problems like suddenly the set will get hanged up and i have to click the lock button then it will s

  • Real-Time Integration is activated but no posting made in FI from KSV5

    Hi Real-Time Integration of Controlling with Financial Accounting is activated but when we do KSV5 - Distribution  Run system is not creating FI document for that. but properly posting CO document. If i do KB41N - Enter Manual Posting, system create

  • Black window when revising Ken Burns effects on photos

    Can someone help overcome the black preview window when I try to revise settings for Ken Burns effects on photos in the timeline? Many thx! iBook 14   Mac OS X (10.4.9)  

  • Com.sap.sdb.tools.databasemanagement.DM_Exception: Runtime environment erro

    Hi, using Database Studio when i click on Analyzer tab of Administration tool i get follow error: 19/05/2009      22:12:05 ERROR           Runtime environment error 1,OS error: 'No such file or directory' Component     : UIDBM Detail Message: com.sap