Table Mainenace generator updates problem

Dear All,
  I have created table maintenance generator for custome table,but now while i'm trying to maintain the data from SM30,its not updating my ztable,
means: while m trying to change the information and click on save its showing me record saved successfuly ,
but when i'm try to check it again its not updating my changes,
Please tell me how to update my ztable mannualy using TMG.
Tanks in Advanced,
Regards,
Somnath Kalamkar.

No Tanks for me
I would check in system logs(sm21) why the entries are not getting updated and also check if you have appropriate access.
Also check if the table needs some validations and this is making it to fail.
Cheers Sam

Similar Messages

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

  • Table maintenance generator updation

    Hi,
    I created a table maintenance generator, in that table maintenace generator when ever a record was created, a idoc will be generated, in that idoc,  a field will be updated with
    value 'C'.
    Simultaniously when I change the existing record 'U' will be updated in IDOC field.
    Problem is how to know whether it is ia created record or update record?
    Please
    Thaks in advance.

    Check CDHDR and CDPOS tables . So whenever you do changes for a particular record or insert a new record . all the changes will be tracked in these tables.
    In these table you have one field to identify wether it is updated or createe record .
    That field will hold the values I(fir insert) U (for update)
    Reward Points if useful
    Regards,
    Nageswar

  • Add field in table maintenance generator screen of maintenance view

    Hi,
    I am having a table with field user-id. I want to generate a maintenance view which will have corresponding user name as input disabled field. Since there are two tables USR21 and ADRP I need to access(not a direct check table) I will have to modify the code generated by the table maintenance generator.
    Problem is that it is having one internal table EXTRACT at table control loop. That internal table cannot be accessed if you write a module inside the table control loop and try to catch. The error coming as EXTRACT is not object of structure and therefore no component. I tried to capture the value of the Loop but could not be successful. Any suggestion please.
    Thanks,
    Atanu

    Hi,
    sample:
          MODULE LISTE_UPDATE_LISTE.
        ENDCHAIN.
    *--->begin of your change
        CHAIN.
          FIELD YTAB1-BILKS .
          FIELD YTAB1-BILKH .
           module check_bewar  ON CHAIN-input. "your checks
        ENDCHAIN.
    *-----> end of your change
      ENDLOOP.
      MODULE LISTE_AFTER_LOOP.
    ->  module check_bewar  is in an includ z123_INCL
    Regards Andreas

  • Problem while generating Update progam for a Change Document Object

    Hi,
    I'm trying to deal with Change Document concept in a R/3 4.6C environment and to establish new Change Document object for my (Z)-table. I haven't using any namespace and created object with name ZTEST. Following the online documentation I came to the point, where I have to generate include program. I made all the nessesary inputs (using Z prefix) but faced
    "Function module name is reserved for SAP"
    Creating everything similarily using some of our registered namespaces (/somenamespace/) I succeed to generate the Update program and to integrate it in my Z-programs as well.
    My question is: is it possible to use Change Document Object-names without predefined namespace - being a regular customer developer, but not an SAP developer - means, if I am allowed to manage programs in the customer namespace (Z,Y, X) only. If yes, how to do this?
    Further (I decided not to open a new thread) - generated Update program uses
    CALL FUNCTION 'xxxxx' IN UPDATE TASK
    for creation of Change Numbers for generated Change Document Object. This CALL doesn't work when I implemented it in my Z-program, but when changed  (IN UPDATE TASK was commented) - everything goes well and the system creates records in CDHDR/CDPOS tables for my object class and table.
    Why is that? According to the documentation I shoud only fill appropriate variables for the Change Document Object (class, tr.code, etc.) and call generated FM, nothing is pointed out about any possible problems? Am I doing something wrong?
    Well, to be precise, I think I have to give a sample:
    1. I have a sample Z-table with few fields (their data elements are marked as Change-Document relevant).
    2. Using own z-progam I created a new record for this z-table. Also fill all the nessesary variables included in the interface of generated FM for Change Document Object (for example - FM-mane CD_CALL_my_object).
    3. I call the CDO FM.
    4. Check what is happening (directly in both tables CDHDR/CDPOS or using FM CHANGEDOCUMENT_READ).
    Further, I perfom the steps from 1 to 4 updating the created in previous loop record in my Z-table.
    In both cases if the FM 'CD_CALL_my_object' is called IN UPDATE TASK nothing happens, but in case of direct call (without addition IN UPDATE TASK) the system behaves as expected. Well, obliously I can change the generated code for our production needs, but it doesn't seems to be the correct decision - in case of next possible modification of the Change Document Object definition, respectively in need of re-generation of the code.
    Any hints are wellcome.
    Thanks in advance.
    Ivaylo Mutafchiev
    Edited by: Ivaylo Mutafchiev on Jan 24, 2008 10:24 AM

    "IN UPDATE TASK" resolved by myself. The one should explicitly call 'COMMIT WORK' from Z-program after CALL FUNCTION '...' IN UPDATE TASK in order to get changes in the CDHDR/CDPOS commited. The key in this issue for me was to check the documentation of CALL FUNCTION :-).
    Regards,
    Ivo

  • Update problem - VBDATA table

    Dear All,
    We have update problems in our Quality systems, and also in every R/3 system that we create from a Production system copy.
    Sometime the UPD and UP2 work processes hung without apparent reason.
    In the SM50 I can see one or more of my update processes running for a lot of time (many hours) on the table VBDATA without perform any action.
    In the tcode SM12 I donu2019t see any kind of lock, and I donu2019t understand why only sometime this problem happens.
    Of course, from the SM13 I can see that during this problem the system is not able to perform any kind of update.
    As I told in the beginning of the message, I have the same problem in other two R/3 systems, both created with a system copy from the production system.
    The Production and the Developer systems seem not affected by this problem.
    Have you got any idea about the reason of the problem?
    Even if the Production systems is not directly affected, all the IT department is not able to work on the Quality system (or any other Test system), and the only workaround is to kill the UPD (or UP2) WPs affected.
    Thanks in advance,
    Federico Biavati
    My R/3 System is a 4.7 on SLES9 and Oracle 10.2.0.2

    Hello Siva,
    This is what I did:
    > Check how many entries do you have in VBDATA currently.
    More than 1.000 in every SAP systems that Iu2019m creating from Production
    > You might want to run the reorganize updates program to clear the old updates
    > that are pending/in error
    Good point!!
    After the reorganization (ST14 u2013 Reorganize update requests) the table VBDATA is empty.
    Iu2019ll check and Iu2019ll let you know if the problem is definitively solved.
    Thanks for you help,
    Federico

  • Table maintanance generator problem

    Hi Experts,
    I have created a Ztable with 5 fields like Field1,Field2,Field3,Field4,Field5. I have created Table maintenance generator  for that table. I want to disable Field4(created By), Field5(created Date). I have modified in se80 tcode througg screen properties. I want to update the field4,Field5 fileds by sy-datum,sy-uname , How to do without using TMG events? Even TMG events also fine. but my firts preference is without TMG Events....Please give me some sample code. How to Modify the Extract table ?
    Moderator Message: There are lot of discussions,documents,wiki links related to this topic. Please do some research before posting.
    Message was edited by: Kesavadas Thekkillath

    Hi ,
    Try this also
    go to Se11->Table maintenace generation. Double click on screen to edit and assign the field you want to display/hide to groups. In PBO , after the following lines..
    LOOP AT EXTRACT WITH CONTROL
    TCTRL_ZMARA                         CURSOR NEXTLINE.
       MODULE LISTE_SHOW_LISTE.
    ENDLOOP.
    Write a new module in PBO and edit the SCREEN as per the Tcode, you are calling,,'
    Hope this helps you

  • EVENT problem in Table maintenance generator

    Hello all
                 I m working on 4.6C sytem. I m facing  2 problems in events in table maintenance generator
    (1) I am using 04 event (After deleting records from table)   I have written BREAK-POINT in the Form .....ENDFORM... But the control doesnt stop there , when i select  an existing record and press delete record button? not able to understand  this
    (2) When i implement even t 03( Before deleting records from table) , and select  an existing record and press delete record button . Control successfully Go  to corresponding FORM ...   BREAK-POINT ENDFORM . 
    But now the problem is.. in debuggin i can see the contents in TOTAL table  but when i try to code LOOP at TOTAL ..ENDLOOP...it gives me syntax error saying "  table TOTAL doesnot exists or not defined..but similar field TOTAL_S , TOTAL_M , TOTAL_L  exists.. ???
      how come i can see the same during debugging but cannot code it ?
    Plese help
    Nilesh

    Hi Nilesh,
    (1)  I think the control will stop there after you delete AND save. Not sure about that but give it a try.
    (2) I believe you are trying to access fields inside table TOTAL, is that right?
    Actually you have to declare a work area with your Z table type.
    DATA: w_workarea type ztable.
    LOOP at total.
      w_workarea = total.
    endoop.
    Then you can work with w_workarea.
    Best regards.

  • Fields update on Table maintenance generator screen

    HI All..
    I have a custom table with five fields. I did table maintenance generator on it. It has Screen 1 as overview screen and scree 2 as single screen.
    Now of the five fields two fields are user name and date. When i enter data on the other three fields and save it on the second screen - iam able to update the two fields for username and date and display on the screen two itself.
    But if iam not saving the data on the screen 2 and going back to screen 1 and then save it - iam not able to update the user name and date and also to display the username and date on the screen.
    Any suggestions are helpful..
    Thanks and will reward helpful answers.

    In this case..
    Iam having the functionality of SM30 through table maintenance generator.
    On Screen 2- single screen - user name and date is working as i had written the logic in the relevant PBO and PAI module.
    But if user is not saving the data in screen screen2 and coming back to screen 1- which is overview screen and then try to save it-- all other fields are getting saved except the username and date..
    Thanks.

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

  • Table maintenance generator problem

    Hi Experts,
        I a table maintenance  generator I have to check for authorization in plant level before deleting an entry. I have created a routine which is of "03-Before deleting the data displayed". But in that if I read ytable-plant it has null. It doesn't point out which row I have selected. But for updation, it takes the exact row values which I have selected.
       How can I read the line which I have selected.
    Thanks and regards,
    Venkat

    Hello Venat
    It will be very confusing for users if there are deletable and non-deletable entries side by side in your maintenance view. Instead, you should do the AUTH-CHECK at the beginning and restrict the selectable data accordingly. All data that are now displayed can be treated the same way (including DELETION).
    Regards
      Uwe

  • Problem with table maintenance generator overview screen

    I added a field in a custom table and then used table maintenance generator to regenerate the table maintenance screen.
    I used 2 step to generate. The problem that I have is the field not displayed in the overview screen though it is visible in the single screen ( ie the second screen).
    I am not sure where the problem is as the field is not visible at all in the table control of overview screen.
    Please help me on this as to what could be the problem.

    Usually it is enough to regenerate both screens and the modules, but sometimes it doesn't pick up all the changes. In that case just delete the maintenance dialog and recreate it. That should do it.
    Regards,
    Michael

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

  • In table maintaince generator problem facing in modification - events

    Hello,
    My requirement is I created table maintenance generator and transaction code for table. So after filling values in table using transaction code. Now i need to delete multiple values by selecting records but problem is before deleting those values i need to check weather those values exists in intermediate table if those values exists in intermediate table then i need to delete only those records otherwise i should delete those records. Which event i need to u if you use event 03 how to capture the select records here i can see only one records selected.

    HI santhish,
    you need to use event 3. in the form routine of event 3.
    you have to check the records which needs to be deleted. once you are decided which records to be deleted. ask the user through pop-up window using FM popup_to_confirm . if the user says yes delete it other wise leave the screen.
    hope this will helps you.
    Regards,
    Kiran

  • Generate/Reconcile problem: two types of Off-line Tables?

    Hi,
    I have problem with Generate/Reconcile objects from Off-line Tables.
    I have DB tables primarily defined as Off-line DB tables (creation and all changes I do with Off-line DB Tables). Sequentially I force changes to DB with option "Generate/Reconcile". So long as I created Off-line tables directly in JDeveloper, all was great.
    Now, I want to simplify proces of creation off-line tables: I generate myself sql simple sql script (on the basis java-beans), apply to DB and after it import DB tables from DB to Off-line tables. Next I want to work as sooner, i.e. make fine changes on Off-line tables and "Generate/Reconcile" to DB.
    But this second approach dosn't work. Off-line tables imported from DB shows in Table Information warning "This table has been imported from/or generated to a database. Changigng the Temporary Table property will affect your ability to reconcile it with that database". But what is important: Generate/Reconcile such Off-line table to DB faces alltimes to DROP table and CREATE table!!!!! So this is fully useless.
    When I opex Off-line tables xml, other structure is for Off-line tables created in JDeveloper and imported from DB.
    So how resolve this problem? How can I "transform" Off-line table imported from DB to Off-lina table created directly in JDeveloper?
    Notice 1: I have JDeveloper 10.1.3.2.0
    Notice 2: When imported from DB, I imported table to another schema and another table-name, eg. SCHEMA1.NEW_TABLENAME to SCHEMA2.TABLENAME.

    Hello,
    Discuss with your finance team
    Thanks
    RK

Maybe you are looking for

  • Vmlinux file in lib/modules/ kernel /build

    Wasn't really sure if this should be in newbie forum, or kernel forum to be honest! It should be a simple question to answer for someone who compiles their own kernel etc Can someone please confirm or explain the purpose of this file: -rw-r--r-- 1 ro

  • Problems in Arabic and ResourceBundle

    i have a problem with arabic text using the resource bundle property file. I using struts framework and in the jsp i use <bean:meassage key="TheKey"> like: <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%> <%@ taglib uri="/WEB-INF/struts-bean

  • WIll cancel sql server database backup cause anything to be hurt?

    I run full backup of one big database. After 20 seconds, I click "stop action now" to cancel this backup. Will it cause anything to hurt? Want to make sure that database is still safe. Thanks

  • MXF import "no audio or video streams"

    I'm trying to import video shot on a C300 into Premier and I keep getting a dialog saying there are no audio or video streams. I know the media and clips are there because I can see them fine using Canon XF utility, but Premier does not want to recog

  • How to change seller name in app store, how to change seller name in app store

    Hi I want to change developer's or seller's name in app store . And i dont know how to do it? Help please