Delimit button not working in table maintainance generator

Hi Gurus,
               i created table maintenance generator for the view.in this view i hide one field i.e. sequence no. and when ever user
entering the values, this sequence no. automatically increased for each record. I just included the code in the events section in table maintenance generator. My view has begda(start date) and endda(enddate). and i included delimit button in table maintenance generator by generate time dependent option. Now the problem is when user clicks on delimit button on begda, all the remaining records are disappearing and also unable to save this record. I'm unable to understand where the problem is getting exactly?? i searched the forum.but it didn't solve my problem?? Can anyone help me on this issue??
Thanks

The SAP documentation is explicit, prerequisites :
Structure
The table/view must contain two fields for the start and end dates. One of these fields must be in the key, the other must be the first non-key field in the table/view.
The field name must be specified.
The following data elements must be assigned to the fields:
for the start date
Field name BEGDA   or
Data element BEGDATUM or
Data element VIM_BEGDA or
Data element BEGDA
for the end date
Field name ENDDA   or
Data element ENDATUM or
Data element VIM_ENDDA or
Data element ENDDA.
All four data elements are in the domain DATUM.
Regards,
Raymond

Similar Messages

  • Disable delete button in Table Maintainance Generator

    Hello all,
      How to disable delete button in Table maintainance generator???

    Hi Maya,
    It is very interesting question. If you debug your table maintenance screen, the program of table maintenance screen will not have statically defined pf status. So you cannot exclude delete functionalities using the below statement.
    SET PF-STATUS <the GUI status> EXCLUDING 'DELE'.
    For viewing pf status SAP has programmed in dynamic manner using this FM VIEW_SET_PF_STATUS.
    Before calling above FM you need to exclude delete function. Follow the following step for achieving this
    Go to sm30. Put your table name and press on maintain push button. It will display table entries in maintenance screen.
    Go to system->status
    Click on program name.
    Go to your flow logic of you table maintenance screen number.
    It will have following code in flow logic
    PROCESS BEFORE OUTPUT.
    MODULE LISTE_INITIALISIEREN.
    LOOP AT EXTRACT WITH CONTROL
      TCTRL_ZMAINTAIN CURSOR NEXTLINE.
       MODULE LISTE_SHOW_LISTE.
    ENDLOOP.
    PROCESS AFTER INPUT.
    MODULE LISTE_EXIT_COMMAND AT EXIT-COMMAND.
    MODULE LISTE_BEFORE_LOOP.
    LOOP AT EXTRACT.
       MODULE LISTE_INIT_WORKAREA.
       CHAIN.
        FIELD ZMAINTAIN-MATNR .
        FIELD ZMAINTAIN-KUNNR .
        FIELD ZMAINTAIN-LIFNR .
        MODULE SET_UPDATE_FLAG ON CHAIN-REQUEST.
       ENDCHAIN.
       FIELD VIM_MARKED MODULE LISTE_MARK_CHECKBOX.
       CHAIN.
        FIELD ZMAINTAIN-MATNR .
        MODULE LISTE_UPDATE_LISTE.
       ENDCHAIN.
    ENDLOOP.
    MODULE LISTE_AFTER_LOOP.
    Add new module in PBO for excluding delete function. ex  module set_pf.
    PROCESS BEFORE OUTPUT.
    ****here I added my own code for excluding delete function
    ****begin of addion
    module set_pf.
    ****end of addition
    MODULE LISTE_INITIALISIEREN.
    LOOP AT EXTRACT WITH CONTROL
      TCTRL_ZMAINTAIN CURSOR NEXTLINE.
       MODULE LISTE_SHOW_LISTE.
    ENDLOOP.
    PROCESS AFTER INPUT.
    MODULE LISTE_EXIT_COMMAND AT EXIT-COMMAND.
    MODULE LISTE_BEFORE_LOOP.
    LOOP AT EXTRACT.
       MODULE LISTE_INIT_WORKAREA.
       CHAIN.
        FIELD ZMAINTAIN-MATNR .
        FIELD ZMAINTAIN-KUNNR .
        FIELD ZMAINTAIN-LIFNR .
        MODULE SET_UPDATE_FLAG ON CHAIN-REQUEST.
       ENDCHAIN.
       FIELD VIM_MARKED MODULE LISTE_MARK_CHECKBOX.
       CHAIN.
        FIELD ZMAINTAIN-MATNR .
        MODULE LISTE_UPDATE_LISTE.
       ENDCHAIN.
    ENDLOOP.
    MODULE LISTE_AFTER_LOOP.
    *****inclule one line of code for excluding delete fucion
    module set_pf output.
          MOVE 'DELE' TO excl_cua_funct-function. COLLECT excl_cua_funct.
    endmodule.
    Basically sap fetching status dynamically from program SAPLSVIM using FM VIEW_SET_PF_STATUS. Status name is EULG.
    Please donu2019t hardcode anything by using set pf status statment, you just add one line of code the PBO by creating new module.
    Let me know if you need any help .
    Cheers.
    Regards,
    Peranandam

  • Logitech mouse buttons not working in photoshop cc 2014

    logitech mouse buttons not working in photoshop cc 2014 winds 8.1. Is this a common problem?
    I have updated the latest drivers and have a few buttons programmed with keyboard shortcuts that used to work in previous versions of Photoshop but don't work now.
    Scrolling with mouse in bridge stopped working in cc butI see it is now working.
    any ideas?

    Many Photoshop extensions are not compatible with Photoshop CC 2014 for Adobe removed support for Flash Panels in CC 2014. Many extensions panels are flash based.  Check with the developer to see if their blendmein extension works with CC 2014.
    Adobe does not maintain Photoshop so it backward compatible with prior versions of Photoshop.  This brakes things like action scripts plugins extensions etc. Keep old version of Photoshop installed....

  • How to get customer name automatically in table maintainance generator

    Hi all,
    I am having a table maintainance generator in which ship to party is the primary key, i need to add another column customer name
    fetched from KNA1, i tried using the event
    5.new entries creation, creating a new perform
    but the code which i am writing gives an error "Statement in accessible".
    Kindly help.

    Hi Manohar,
    Thanks for your help, Its working now.
    Issue resolved.

  • Navigation button not working in JSP

    JDeveloper10g JSP:
    "NestSet", "PreviousSet" button not working after a search is done on a read-only table. Is this a know bug?
    Please help!!!

    Vishal,
    I dont think the Notification Create Button from line item is pretty much dependent on the Customization Settings or any sap note concerning this has not been as yet brought into my notice. In my system, this is working appropriately. The problem with this which i can think of is either an authorization issue or you should raise an oss for this.
    Regards,
    Usman

  • "Recording Routine" in Table maintainance generator

    Hi All,
    I have a problem with View J_3RFV_F4VERS. Currently i am not able to change the entries in this View through SM30. Currently in the Table maintainance generator of this view "Standard recording Routine" is selected as Recording Routine.
    But when i change this to "no, or user, recording Routine", i am able to change the entries of this view through SM30.
    I would like to know the impact of selecting the alternative Recording Routine.
    Please throw some light on this issue.
    Regards,
    Navin.

    You can simply press F1 on the radiobuttins in the table maintanence of a table.
    It is all explained there.
    Basically it normally follows the mandant settings, so if the setting in your mandant is, no changes allowed, then you can't change it.
    The normal route for updating this table is to change it in your DEV system transport and test it in QA and finally transport it to PRD.
    Regards, rob

  • Transporting table and table maintainance generator

    Hi,
    Can i transport the table and table maintainace generator and function group of the table with in single request or not.
    One more thing is when i transport the table maintainance generator,will the entries also be transport to another system or not.
    Thanks in advance,
    Suresh

    Hi Suresh,
    Go to SE54-> Utilities-> Total Transport. The following things are transported.
    The total transport transports the complete maintenance dialog:
    authorization group
    authorization group assignment
    control entry
    events
    function groups
    maintenance objects
    variants
    Content wont be transported it seems.
    Thanks & Regards,
    Nagaraj Kalbavi

  • Table Maintainance Generator

    Dear Experts,
    I hv created a ztable containing following fields.
    MANDT                     MANDT                  Primary Key
    ZVEHICLE                      ZSDVEHICLE         Primary Key
    ZDCODE                     ZDCODE                 Primary Key
    ZOUT_DATE                    ZDATUM                 Primary Key
    ZOUT_TIME                    ZOUT_TIMS            Primary Key
    ZOUT_READING          ZMTR_READ
    ZIN_DATE                   ZDATUM_IN
    ZIN_TIME                   ZIN_TIMS
    ZIN_READING            ZMTR_READ
    ZSTATUS                  ZSTAT                        ( IN , OUT values possible)
    ZREMARKS                  ZCHAR50
    Now i m trying to create a Table Maintainance Generator And the Problem is following two fields are not visible in TMC.
    ZIN_DATE                   ZDATUM_IN
    ZIN_TIME                   ZIN_TIMS
    But if i add another field with other data type ( other than time and date), that field is visible.
    And if i  include above two field in primary key, then only it is visible.
    Is ther any restriction with time and date format field with TMC.
    Any idea.
    thansks in advance.
    Jaspal

    Hi Jaspal,
    There are two maintenance types available while creating a table maintenance generator.
    1. One step
    2. Two step
    If the TMG is built in one-step, then all the fields (both key and non-key fields) will be displayed in a single screen. So, all your fields will get displayed.
    Whereas if the TMG is built in two-step, the key fields will be displayed in a single screen and further details will be displayed in another screen. In this table, you have set the fields 'ZOUT_DATE' and 'ZOUT_TIME' as primary key. so it will be displayed in one screen and the non-key fields will be displayed in the second screen. So, if the fields 'ZIN_DATE' and 'ZIN_TIME' were to be dispalyed in the first screen, make it as a primary key.
    Thanks and Regards,
    Priya

  • Scrollable frames. Buttons not working.

    Hello.
    I have a problem with buttons in the scrollable frames.
    I have a slideshow with a thumb's. Each thumb consist of MSO (non active icon and active icon) and clear frame - button to that MSO and to slide foto. The thumb's grouped and placed into the frame with horizontal scroll overlay effect.
    That frame placed into another frame-pull out tab, which have vertical scroll effect. And when I pressed the button, slide fotos changes correctly, but button MSO not working.
    See files from dropbox --  https://www.dropbox.com/sh/rsbf1jto3a39jug/IVcQxaYJOW
    Sorry for my english. I need help very much.
    Thanks.

    Hi,
    I understand that I can use two 'states'  of the buttons. And I tried it. But. Buttons renditions are raster images. And on the retina display we had bad quality. My target was to create vector buttons. With good quality on both displays.
    Any suggestions?
    04.10.2013, в 12:03, Christophe_Quinzoni <[email protected]> написал(а):
    Re: Scrollable frames. Buttons not working.
    created by Christophe_Quinzoni in Digital Publishing Suite - View the full discussion
    Hi (again),
    It seems that you built your stuff in a very complicated way.
    First, try to make simple!
    You mixed MSO and buttons functions. Useless and unfonctional.
    Yous should use only button panel, with two different 'states' ('Normal' and 'Clic').
    See below (no MSO function used at all for the button):
    http://forums.adobe.com/servlet/JiveServlet/downloadImage/2-5735625-468602/445-605/Button_ 1.jpg http://forums.adobe.com/servlet/JiveServlet/downloadImage/2-5735625-468603/448-605/Button_ 2.jpg
    Use the layer panel to easily select the objects you want to modify.
    Please find your file here: https://dl.dropboxusercontent.com/u/46115208/slideshowButton.indd
    Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/5735625#5735625
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/5735625#5735625
    To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/5735625#5735625. In the Actions box on the right, click the Stop Email Notifications link.
    Start a new discussion in Digital Publishing Suite at Adobe Community
    For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • Table Maintainance Generator Updation problem

    Hello,
    I am having the problem related to table maintainence generator updation.
    I am fetching the data in table maintainance generator from Standard table.
    Now the problem is that, if I fetch  some records ; some records are updated properly but some records are not.
    Please suggest the solution.
    Thanks.
    Swati.

    >
    Swati Khandelwal wrote:
    > Hello All.
    > Thanks for your reply.
    > The field which is not updating is not the key field.
    >
    > Thanks.
    > Swati
    It does't matter.
    But the fields is not updating you need to check its key in table whether it is exsist?
    I'm yes it is there.
    One more thing i would like to confirm are you using Update or modify?

  • Problem in table maintainance generator

    Hi,
    I have  a requirement in table maintainance generator i.e. when I clcik on se11,enter the table name and then click on new entries ,my table control that I see on the screen will have some entries that were entered earlier.
    But in my case the entire table control has to be blank when I click on new entries and it should be in output mode only.So please can someone tell me how I can clear the entries .Which event should I use for this?
    Another requirement is that for my table maintaianance generator,I have been asked to remove on field from the table control and place it above the table control as a text field.Now this text field is a key field.When I enter some value in this text field and click on enter,it should give me the values corresponding to this key field.Please can someone help me out with this?Which event should I use for this?
    Regards,
    Sushanth H.S.

    Hi Sushant,
    Considering there are considerable modifications to your table maintenance I would suggest you create a small module pool transaction for your requirement with a table control and code the flow logic (PBO/PAI) yourself.
    For the DB update, you can use the SQL commands. Since it would be an alternative to the table maintenance for a single table, I think the database update part wouldnt be complex to handle at all.
    You would need a table control same as the one in the maintenance however a wizard will make that job very easy for you.
    Finally, assign a transaction to your module pool and you are good to go.
    This is in my opinion not a complex development and also would be easier than trying to modify a SAP generated table maintenance, because adding a text field on top etc. would be drastic changes which cannot be accomplished by events alone.
    Cheers.

  • Problem in the table maintainance generator of View J_3RFV_F4VERS

    Hi All,
    I have a problem with View J_3RFV_F4VERS (SAP standard table for Russia).
    Currently i am not able to change the entries in this View through SM30. Currently in the Table maintainance generator of this view "Standard recording Routine" is selected as Recording Routine.
    But when i change this to "no, or user, recording Routine", i am able to change the entries of this view through SM30.
    I would like to know the impact of selecting the alternative Recording Routine. Will it have any adverse impact?
    Please throw some light on this issue.
    Regards,
    Navin.

    Use Events in Table Maintainence Generator.
    Environment-->Modification --> Events
    U can write a subroutine which can be called to increment the numbers .

  • Table Maintainance Generated but getting error when running SM30

    Hi Experts,
    I am modifying existing ZTable with around 31 fields and Maintainance was not allowed before also no Table maintainance was there. Now i have changed the attributes to allow maintainance and tried creating Table Maintainance generator.
    The TMG get created sucessfully but get error message when running SM30 for the Ztable with Run time error saying Coversion Error .
    Error Analysis says :
    Program SAPLZNMSLG attempted to display the fields of screen 0005 and error occured during the coversion of this data.
    Can any one let me know what happened? Expecting replies at the earliest.
    Thanks
    Smita

    Hi,
    In Text I/O Template Tab each field name will be there with Column- Name, Type  and Text Or I/O Field
    Go to Text OR I/O Field (Fields Wherever u have negative value).
    Name                     Type         Text Or I/O Field
    vbak-menge         I/O                _.___.___.___,____V
    Just add existing blank field ending with V.
    Regards,
    Nandha

  • Attaching a trransaction to a table maintainance generator

    Hi All,
    I have to attach a transaction to the table maintainance generator for a ztable created by me.
    Can anybody explain me the process to do the same.
    Thanks in Advance.

    Hi,
    There are some steps you need to follow.
    1) table should be table maintainence allowed then only you can create Transaction for that u can maintain table maintainence.
    2) Go to Transaction se93.
    3) Give the transaction name and provide the short text.
    4) Select the Radio button as Transaction with parameters (parameter Transaction).
    5) Then fill with transaction with SM30.
    6) Check the Skip initial screen.
    7) Below there is one tab called Default values there you need to maintain the Table name and put the option as X.
    Please check the below thread.
    Table
    regards,
    Dwaraka.
    Edited by: Dwarakarakanadha Reddy on Jan 12, 2009 12:48 PM

  • In table maintainance generator

    hi
    in table maintainance generator, how to validate the data entered in the table. If it is only with the events, how?

    hi,
    you can validate the data in tables, after generating a table maintanance generator.
    Environment->Modification->Events.
    After providing the subroutine name you can go to editor( click on icon provided just besides the form routine) and write the logic for validation.
    for example, if changes are to be made to the data of particular controlling area, a check has to be made if the user is authorised to make changes. Below is a sample code that would give you an idea.
    Sample code:
    *&      Form  auth_check_save
          Checks that the user has the correct authorisations to Change
          details of Controlling Area. If not error message is to be
          displayed on the screen.
    form auth_check_save.
    Data Declaration
    Types
      types:  begin of ty_valtab,
               kokrs(4) type c,
               actvt(2) type c,
             end of ty_valtab,
             begin of ty_fieldtab,
               fieldname(10) type c,
             end of ty_fieldtab.
    Internal Tables
      data:  lt_valtab    type standard table of ty_valtab,
             lt_fieldtab  type standard table of ty_fieldtab,
    Structures
             ls_valtab    type ty_valtab,
             ls_fieldtab  type ty_fieldtab,
             ls_costele   type ztf_costele,
    Variables
             l_status     type zss_rfc_status,
             l_st(1)      type c.
    Constants
      constants : c_0(1)        type c value '0',
                  c_01(2)       type c value '01',
                  c_02(2)       type c value '02',
                  c_06(2)       type c value '06',
                  c_authobj(10) type c value 'Z_KOKRS',
                  c_error(5)    type c value 'ERROR',
                  c_partial(7)  type c value 'PARTIAL',
                  c_kokrs(5)    type c value 'KOKRS',
                  c_actvt(5)    type c value 'ACTVT'.
      clear l_status.
      ls_fieldtab-fieldname = c_kokrs.
      append ls_fieldtab to lt_fieldtab.
      clear ls_fieldtab.
      ls_fieldtab-fieldname = c_actvt.
      append ls_fieldtab to lt_fieldtab.
      clear ls_fieldtab.
      loop at total.
        if <action> eq neuer_eintrag.
          move total to ls_costele.
          ls_valtab-kokrs = ls_costele-kokrs.
          ls_valtab-actvt = c_01.
          append ls_valtab to lt_valtab.
          clear  ls_valtab.
        elseif <action> eq aendern.
          move total to ls_costele.
          ls_valtab-kokrs = ls_costele-kokrs.
          ls_valtab-actvt = c_02.
          append ls_valtab to lt_valtab.
          clear  ls_valtab.
        elseif <action> eq geloescht.
          move total to ls_costele.
          ls_valtab-kokrs = ls_costele-kokrs.
          ls_valtab-actvt = c_06.
          append ls_valtab to lt_valtab.
          clear  ls_valtab.
        endif.
      endloop.
    Authorization Check
      call function 'ZAUTH_CHECK'
        exporting
      PIM_REPID               =
        pim_auth_obj            = c_authobj
      PIM_FIELD_TABNAME       =
      PIM_CHECKALL            =
       importing
         pex_status              = l_status
       tables
         pex_val_tab             = lt_valtab
         pim_field_tab           = lt_fieldtab
       exceptions
         no_input                = 1
         others                  = 2.
      if  l_status = c_error.        "Authorization Check
      message under class: zmessclass
        message e000(zmessclass) with text-e02.  "You have no authorization
                                                "for table maintenance
      elseif l_status = c_partial.
        loop at total.
          if <action> ne space.
            move total to ls_costele.
            read table lt_valtab with key kokrs = ls_costele-kokrs
                                 transporting no fields.
            if sy-subrc <> c_0.
              delete table total.
              delete table extract.
            endif.
          endif.
        endloop.
        message e400(zmessclass).    "All the entries could not be saved
                                    "because of  restricted authorization
      endif.                        "End of Authorization Check
    endform.                    "auth_check_save
    The above code should be written in event  01  : Before saving the data in the database
    Regards,
    Farheen

Maybe you are looking for

  • Issue with attunity connectors for SSIS 2012

    hi , i have installed the attunity connectors for teradata . the connector is able to transfer data from teradata to sql server pretty fast but there are some issues which i am facing . any help is appreciated. steps i am using : 1. i am pulling data

  • Streams configuration multiple source-single destination

    hi all, can we configure streams capturing changes from multiple source databases and applying at single destination? to configure table level replication is it mandatory to enable suppliment logging foe enrire database? is it possible to configure s

  • XMLTABLE returns only first row

    I have follwoing XML inserted into the column named as TEXT in the table MASTERTB. *<?xml version="1.0" encoding="utf-8" ?>* *<Rowsets DateCreated="2010-11-30T11:12:10" EndDate="2010-06-05T16:52:23" StartDate="2010-06-05T16:52:23" Version="12.0.10 Bu

  • Verify photo stream was backed up to icloud

    I did a backup on my ipad to icloud. I signed into my icloud via PC and it does not show my photo stream. How do I verify that they were in ft backed up to the cloud before I perform a restore on my ipad?

  • Superdrive does not burn Cd-"checking media"

    In the past couple of weeks, I would burn a CD with iTunes 7.0.1 and then any other blank CD I insert would just keep spinning and iTunes would report "checking media". Sometimes the blank CD would be rejected. Each day I can burn a CD and then after