Ztable creation

Hi
I have created a Z Table.
i have updated this table with few entries.
Now again i have created few more fields in this Table.
While activating, an error is pronpting ..
"table is not yet classified".
I have used SE14 to adjust the table and activated..
Still i am facing this error message.
What to do now..????

Hi,
- Goto se11.
- Then click on "Currency/Quantity Fields" tab. You can see the Reference table and Ref. field columns. You will notice that the currency field and quantity field is prompting for an entry.
Otherwise, can you give us more information of the error from the activation log ? Thanks.
Regards
Kir Chern

Similar Messages

  • In Ztable creation, How can we display error message for a 'To date' field.

    Hi all,
    I have a requirement like this.
    There r two fields in ztable. From date and To date.
    The field 'To date' in table ZKM007 is taking before date than From date field.
    To date should always be greater than from date i need to throw an  error or don't  allow to enter date  if date is less than From date.
    How can we do this?
    Can any one help on this?
    Rewards to all.
    Thanks & Regards,
    Anu.

    I have written below code at event "Creating a new entry" (05) in table maintainance generator.But it is not working. If we give the to date < From date ,
    it is saving.
    Can any one help on this code? Pls Give me code And which event i have to put this?
    ***INCLUDE LZEXE3F01 .
    FORM AT_entry.
    IF ZEXE3-TODATE LT ZEXE3-FROMDATE.
      MESSAGE I001(0) WITH 'ENTER TO DATE GREATER THAN FROM DATE'.
    ENDIF.
    ENDFORM.
    Rewards to all.
    thanks
    Anu.

  • Ztable creation & deletion error

    Hi
    I had a ztable which I had deleted from DEV,but when i am trying to craet a new ztable with same name,its not activating it,& giving me a error that already the same name table is there in database.
    So i want to know how to delete this table from database completely,so that I can make its as a new & activate it,I have same table in PRD too,i need to make it with same name.
    In se14 the table delete options are non-editable,so from where to delte it completly.
    Please tell me how to do this?
    regds
    vipin

    I m working in development server,initily deleting the table from se11 i tryed to create the new one,but after creating its wa snot letting me to activate me,& giving me the same error or aleary same name database exits,so I tried to activate it through se14,which was also not happeing,& even not letting me to delete the database,as every thing was disbaled.
    so how shd i work it out.

  • SOX complaince for ZTABLES creation

    Dear All,
    Is there any restriction on creating ZTables in SAP (not about naming conventions)
    Does ZTABLES has to be created only to meet funcitonal perspective so that in complaince with SOX,,
    is it true that ZTABLES should not be created for techncial purposes as they are not in line with SOX complaince
    REason for coming up with these questions is my peers are finding fault in my program stating that I had created  zTABLES for my techncial convneince and it should not be done
    My requirement is
    Actually I have to develop a Report which has to display  700 entries
    like
    Account num      descripton             amount
    10000                   desc1                      100
    145678                 desc2                      230
    And so onu2026..
    But  in no particular sequence like ascending order 1u2014700 and in that particualr sequence no table is holding data
    So in this case I have to fill a internal table itab
    Like
    Wa_itab-acountnum = 10000
    Wa_itab-description = desc1
    Wa_itab-amount  = 100
    Append wa_itab to itab.
    Like this 700 times right.
    So instead of writing 700 append statements what I have done is I uploaded them into ztable(through excel sheet
    Hardly 5min job ) and used a Select query to fetch 700 entries from the ZTABLE
    But my peers are objecting for  creating a ztable, they say according to SOX u cannot create ztables only for   tech requirements ZTABLES should be created only if they have functional requirement and et all they are saying
    So I want to know how far they are true

    >
    Sri Lakshmi Naidu wrote:
    > But my peers are objecting for  creating a ztable, they say according to SOX u cannot create ztables only for   tech requirements ZTABLES should be created only if they have functional requirement.
    > So I want to know how far they are true
    Absolutely rubbish. SAP has tables TVARV & TVARVC tables, please ask your colleagues what functional requirement do these tables serve?
    I have seen many a projects in which they have custom tables for maintaining constants. Pure technical purpose.
    Definitely creating tables eats into the valuable space of the database, but creating one table doesn't K.I.L.L anyone.
    BR,
    Suhas
    PS: I had worked on a project which was SOX complaint & nobody questioned us about the utility of a particular table as long as we had maintained proper authorization group in the TMG

  • Ztable creation & Query creation.

    Hi,
    Anyone please explain me what's the meaning for Z table.
    In what way it differs from standard SAP table?What are the stpes for creating the table.If it contains the datas of 2 or 3 tables,Why shouldn't I create a query?
    Under which situations I should create a query?and when to go for Z table?
    Thanks in advance
    Raj.S

    Hi Dear,
    Z table are those table which we create when we are not getting our company need fullfill from existing tables of SAP
    eg. table having fiels of PAN no will not be there in SAP then you may need to create your own.
    to create your new tabel try SE11-> give table mane -> press create -> if you have done SQL coding then you can work on it smoothly.
    2) for customized reports requirement of ur users you need to work for own queries work with SQ01, SQ02,SQ03
    regards
    Sumantra

  • SYNTAX ERROR IN SAPMSSYD PROGRAM

    HI ,
               We included the code in Program 'SAPMSSYD' for our internal
    validation. This validation requires to fetch the data from the ztables.
    we created ZTABLE and included custom code in SAPMSSYD in DEV server
    and tested sucessfully.
    We tried to move the Transport request from DEV to QAS. We had separate
    transport request for Ztable Creation and for our custom code
    validation. Instead of moving the Ztable request first, we have moved
    the customer code request and Due to this System throws an syntax error
    when we get into login screen of QAS server. Now we are not able to
    login to QAS and our testing process was completely stopped in QAS
    server. Pls advice us how to revoke transport or to solve this issue.
    Best Regards
    Thiru

    First, if you change such a kernel-like program, I advise you to request SAP consulting, that's really too much dangerous!
    Secondly, if you want to revert back, you have to do it on the DEV system (version management), then transport again.

  • Generate Internal Numbers

    Hi,
        I have to generate internal numbers in the program.
        Requirement is each time user clicks on button A, then a number with 12 digits should generate (Ex: 891000000001).
        And, if he will click on button B, then, the previous internal number should appear (Ex: 891000000000).
       I have used a custom table to store this number each time user clicks.
       But, Is there any standard function module to generate this? Because this will increase performance and a custom Ztable creation.
      Please reply me ASAP.

    Transaction Code: SNRO.
    Function Module: NUMBER_GET_NEXT.
    Will resolve your problem. Search in SCN with above FM name for more clarification.
    Thanks,
    Naveen.I

  • T.code creationn for ztable.

    i need to create t.code for (ztable)table maintance...
    in that t.code creation we should not use SM30 .
    since the user doesnot have access to SM30.
    pls help me out..

    1)Write a program and give it a tcode
    2)Call the following FM to maintain the table:
    CALL FUNCTION 'VIEW_MAINTENANCE_CALL'
      EXPORTING
        action                               = 'S'
    *   CORR_NUMBER                          = '          '
    *   GENERATE_MAINT_TOOL_IF_MISSING       = ' '
    *   SHOW_SELECTION_POPUP                 = ' '
        view_name                            = 'ZSLO_RET_DISPO'
    *   NO_WARNING_FOR_CLIENTINDEP           = ' '
    *   RFC_DESTINATION_FOR_UPGRADE          = ' '
    *   CLIENT_FOR_UPGRADE                   = ' '
    *   VARIANT_FOR_SELECTION                = ' '
    *   COMPLEX_SELCONDS_USED                = ' '
        CHECK_DDIC_MAINFLAG                  = 'X'
    *   SUPPRESS_WA_POPUP                    = ' '
    * TABLES
    *   DBA_SELLIST                          =
    *   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
        MAINTENANCE_PROHIBITED               = 14
        OTHERS                               = 15
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    and you job is done...

  • Creation of ztable

    Hi,
    I am creating ztable with field 
                    zemail  data element as 'URL'  getting error as
    Table ZTABLE: Key length > 120 (Restricted functionality)
    Message no. DT214
    Diagnosis
    The key length, i.e. the sum of the field lengths of all the key fields of the table, is more than 120 bytes.
    System Response
    This is a warning.
    Procedure
    Note the following restricted fuctionality for this table:
    - Table contents cannot be transported by specifying key values, at
      best by specifying generic key values with a maximum length of 120
      bytes.
    - The table may not be used as the base table of a lock object.
    Thanks,
    Asha

    Asha,
    Warning in SE11 - Defining tables.

  • Creation of a ztable

    Hi,
    what is the purpose of a ztable. when would we be pushed to create one. how do we create it like is it going to se11 enter a table name and create.
    centrino

    Hi Centrino,
    Most of the tables in SAP are appliaction specific. Suppose you want a cross application table having data from FI, MM, SD in 1 table the you could design your own table. You might also create a ztable to fill your own data.
    In BW context a ztable is created as a staging table on the R/3. It would contain data that is extracted from various other tables using function modules based on some logic. This table would then be used as a datasource for passing data to BW.
    Bye
    Dinesh

  • Creation of function module for updating the ztable

    Hi,
    I am sending the requirement for ceation of function module for updating the ztable.
    Requirement----
    Table Updation rule (New record)
    While creating a new record the calling function will export the following to the table handling function.
    Table field     Probable Values
    ZORDERNO------->     Sales Delivery no in case of sales orderShipment no in case of transfer order
    UNAME----
    >     User ID
    ZORDTYPE----
    >     SALEOR in case of sales orderTRANSF in case of transfer order
    ZREFDOCNO----
    >Sales Order no in case of sales orderPurchase Order no in case of transfer order
    ZREFDOCNO1----
    >Delivery no in case of transfer order
    The table handling function will calculate the following fields
    Table field     Probable Values
    ZREQNO----
    >Running serial number (incremented by 1 for each new record)
    ZREQDAT     -
    >System date
    ZREQTIME----
    >     System time
    ZSTATUS----
    >OPEN (for all new records)
    Before inserting a new record the table handling function will always check if a previous record exists for the same order / shipment no. if record exists the function will not insert a new record.
    Table Updation rule (Status Update)
    While updating a record the calling function will export the following to the table handling function.
    Table field     Probable Values
    ZORDERNO----
    >Sales order no in case of sales orderShipment no in case of transfer order
    ZSTATUS----
    >CANCEL if cancellation successfulERROR if cancellation not possible (order already processed)
    The table handling function will calculate the following fields
    Table field     Probable Values
    ZSTATDAT----
    >System date
    ZSTATTIME----
    >     System time

    Do you have to create/update new record in Ztable through Function Module ?
    or you need to write FM only for validation?
    Any how, you need to create a Program with Input values for the fields of Ztable, and for rest of fields the Value can be calculated based on input as per your requirement.
    Let me know clearly what exactly u need ?
    Regards,
    Kiran

  • Tcode creation for Ztable

    Hi,
    I got a requirement that to create a transaction ZAM0007_D for table zam007
    a.Authorization object:  S_TCODE with transaction ZAM0007_D
    b.Use Query generated as program name
    how can i add these requirements to the ztable .Please let me know

    Hi,
    Follow below steps.
    1. Create the table maintanance generator for your table.
    2. You need to create a "Parameter Transaction".
    What this means is that you will have a transaction (let's call it "ZMAINT") which calls "SM30" and passes in your table name.
    Go to transaction SE93 and enter your new transaction code. Enter in the Tcode description and choose "Transaction with Parameters" (it shouldbe the last radio button).
    Enter in the default transaction "SM30" and tick the "Skip Initial Screen" check box. Hit Enter.
    Now scroll to the bottom of the screen and you will see a Table Control where you will need to enter in the values to the SM30 selection screen.
    Because you hit ENTER, the program will have loaded in the Selection Screen parameters into it's memory. Hit the drop down for "Name of Screen Field" and select "VIEWNAME" and then enter in your Z Table in the "Value" column.
    Now go to the next line and hit the drop down and select "UPDATE" in the "Name of Screen Field". Enter in a "X" in the value column.
    Regards,
    kishore

  • Creation ztable

    hai all,
    my table name is zbatch.
    contains 3 fields.
    fields    dataelement
    zbatch    charg
    zmax      charg
    zmin       charg
    save   and check the syntax.
    raise the errors like,
    1)   field zbatch : structured type charg  cannot be used  in db  table zbatch
    2)   field zmax : structured type charg  cannot be used  in db  table zbatch
    3)    field zmin : structured type charg  cannot be used  in db  table zbatch
    4)   error in code generation for creating table zbatch in the db
    5)   table zbatch(statements could not be generated).
    please solve the errors

    CHARG is a structure and you are trying todeclare a field of structure type and this is incorrect way. If you want CHARG structure just include it in your ZBATCH.
    Give .INCLUDE as field name and give CHARG as dataelement... it will give all the fields copied into your table..

  • Dialogue program to create/modify entries of ztable

    hi experts,
    i want to create a ztable. After creating the ztable i want to create an dialogue program using that dialogue program i have to create/modify entries of that ztable using text box and push button options.
    can anybody having sample coding pls send me.....
    thanks in advance,
    ravi

    Hi  Ravi ,
    Instead creating the Dailog Program u can creat the Table Maintanance Generator (TMG). Here u will have all the option of creation, deleting , modifying the record.
    In se11 main screen go to utilities:-> Table Maintanance Generator .
    here u have to enteg the Function group name and screen NO. system wil generate the dialog program for u to maintan the data in that table. Then go to      T-CODE SM30 give the same table name and click on maintanance push button and maintain ur entries the table.
    IF helpfull reward points
    Anees
    9886358645

  • Multiple file creation

    Hi.
    I have to create multiple files for mulitiple plants entered through select-options.
    I have done this for single file but not getting the idea how to do it for multiple files.
    <u><b><b>My work:</b></b></u>
    *File creation
        CONCATENATE
                    c_path               "file path
                    c_qm                 " 'QM'
                    c_underscore         "underscore
                    c_results            " 'RESULTS'
                    c_underscore
                    s_werks              "plant
                    c_underscore
                    sy-datum+4(2)        "system date
                    sy-datum+6(2)
                    sy-datum+0(4)
                    c_underscore
                    sy-uzeit+0(2)        "system time
                    sy-uzeit+2(2)
                    c_ext                "file extension
               INTO g_file_name.
      ENDLOOP.
    Open File on the application server for processing
      OPEN DATASET g_file_name FOR OUTPUT IN TEXT MODE
      ENCODING DEFAULT.
      IF sy-subrc NE 0.
    *Display error message
        MESSAGE i055.              " Error in opening file
        LEAVE LIST-PROCESSING.
      ELSE.
        LOOP AT i_final INTO wa_final.
          TRANSFER wa_final TO g_file_name.
        ENDLOOP.
      ENDIF.
      CLOSE DATASET g_file_name.
    Then i am updating the database table using i_update
    Work Area for Z_DATADOWNLOAD table
    DATA: l_wa_update TYPE ztable
      l_wa_update-prog_name    = g_repid.
      l_wa_update-plant        = s_werks.
      l_wa_update-last_run_dt  = g_sysdate.
      l_wa_update-last_run_tm  = g_systime.
      MODIFY ztable FROM l_wa_update.
    Pls let me know how to manage this for multiple files.

    Hi Simran.
    Consider this code.
    REPORT zztest.
    TABLES : t001w.
    *Declare one Internal table for werks
    DATA :BEGIN OF it_werks OCCURS 0,
          werks TYPE t001w-werks,
          END OF it_werks.
    *Select options
    SELECT-OPTIONS : s_werks FOR t001w-werks.
    START-OF-SELECTION.
    *GEt all the plants entered in selection screen from
    *DB table <b>T001W (Plants/Branches)</b>
      SELECT werks FROM t001w INTO TABLE it_werks WHERE werks IN s_werks.
    *Loop that internal table
    <b>  LOOP AT it_werks.</b>
        CONCATENATE
        c_path "file path
        c_qm " 'QM'
        c_underscore   "underscore
        c_results      " 'RESULTS'
        c_underscore
       <b> it_werks-werks    "Plant</b>
        c_underscore
        sy-datum+4(2)    "system date
        sy-datum+6(2)
        sy-datum+0(4)
        c_underscore
        sy-uzeit+0(2)  "system time
        sy-uzeit+2(2)
        c_ext "file extension
        INTO g_file_name.
    <b>*Now you have the file path for the werks
    *Open File on the application server for processing</b>
        OPEN DATASET g_file_name FOR OUTPUT IN TEXT MODE
        ENCODING DEFAULT.
        IF sy-subrc NE 0.
    *Display error message
          MESSAGE i055. " Error in opening file
          LEAVE LIST-PROCESSING.
        ELSE.
          LOOP AT i_final INTO wa_final.
            TRANSFER wa_final TO g_file_name.
          ENDLOOP.
        ENDIF.
        CLOSE DATASET g_file_name.
    * Then i am updating the database table using i_update
    * Work Area for Z_DATADOWNLOAD table
        DATA: l_wa_update TYPE ztable
        l_wa_update-prog_name = g_repid.
        l_wa_update-plant = s_werks.
        l_wa_update-last_run_dt = g_sysdate.
        l_wa_update-last_run_tm = g_systime.
        MODIFY ztable FROM l_wa_update.
    *Pls let me know how to manage this for multiple files.
    <b>  ENDLOOP.</b>
    Regards,
    Arun Sambargi.

Maybe you are looking for

  • Windows 7 32-bit install error 0x80070017

    I followed the Boot Camp installation guide's instructions exactly, creating the partition, booting from the disk, formatting the partition. But when it gets to the install, it goes through the "Copying Windows Files" in no time, about a second, then

  • Need to override CSS style for link

    I've set up a page with an external style sheet. I have a link within a heading that I want to look different from my CSS link style (I want it to match the heading). Is there a way to override the basic style? I tried setting up a class and that did

  • Can't post a gallery picture to Twitter

    I'm not able to post pictures from my Gallery to Twitter using the Twitter app. I click the photo button from the tweet composition screen, select "Gallery," select the photo I want and it switches to the Crop function and gets hung up. I can (someti

  • Lost apps after 4.0.1 update

    I synced my phone before installing the new update. My phone had an error while performing the update and I had to restore my phone. Now that it is restored and updated, I am missing a bunch of apps. There are a few that were free when I got them and

  • I upgraded to iOS 5 and lost ALL of my apps even though during the process they were backed up to my Itunes. Can I get them back?

    I upgraded to iOS 5 and lost ALL of my apps even though they were backed up to Itunes during the process.  Whenever I plug my ipad into my computer the apps that appear in Itunes are from my ipod touch.  How can I get my apps back without purchasing