Is it possible to add counter in table maintenance (automatically)?

sap ver. 4.7
is it possible to generate counter in table maintenance (automatically)?
i mean without building dialog screen  / table control  .
exmple  :
the user insert .....
name
name
name
name
i add as key (automatically)
1
2
3
4

Hi,
It is possible to do the same by not adding new dialog screen / table control .All table maintainance are infact module pool programs ...While creating a tabe maintainance we have an option of 2 step or 1 step ->these screen numbers are the ones which are displayed  in table maintainace SM30
So we can infact do coding in PAI and PBO of these screens.
But the main disadvantage is that if you re-generate the table maintainace the code in PAI and PBO gets deleted for that screen
eg:if you table maintainance is assigned to function group ZFXNGROUP -> go to se38 -> see program SAPLZFXNGROUP
just add SAPL to function group suffix to get the module pool and the view screen number(same as that given in table maintainace for step1 and step2) ..in the PBO /PAI write the necessary code to increment the counter..
we can just do a loop at screen and hide the counter field while incrementing in the PAi/PBO logic as required
But once again,regeneration of table maintainace in the screen overwrites the PBO/PAI..the best we can do is create subroutines and write the code in a new include..so that everytime the code is overwritten...we need to just write the subroutine name in flow logic since includes are not overwritten in regenerations
Also if we use the same function group for multiple table maintainance we have different screens,Pls make sure you are not editting the wrong screens......
Hope it helps
Pls check and revert
Regards
Byju

Similar Messages

  • Is it possible to add records to tables using Enterprise Manager?

    Can we add records to tables using Oracle Enterprise Manager web interface instead of the sqlplus commands ? if not, is there any easy way to insert data into table using a graphical interface?

    You may consider using iSQL*Plus.
    Check http://www.oracle.com/technology/obe/obe10gdb/install/isqlplus/isqlplus.htm
    Thanks,

  • 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

  • Is it possible to add a single table to existing CDC setup ?

    We have Asynchronous Change Data Capture setup.
    Database A : Source Database
    Database B : Staging Database
    Redo Log shipping is b/w A --> B and Capture/Apply is running on B.
    Total 32 tables outof 300 are part of these CDC setup. I'm wondering if we can add a table to existing setup, As per the documentation, We can't user streams API to add a table in capture/apply, and CDC doesn't have its owe API. So is there really no way except to rebuild entire setup?
    Thank you,
    Mahesh

    You need to follow steps below:
    1. @destination database : stop capture process
    2. @source database add supplemental logging for new tables
    3. @source database :prepares table instantiation (exec DBMS_CAPTURE_ADM.PREPARE_TABLE_INSTANTIATION(table_name => 'owner.table_name');)
    4. @destination database :create change table for additional tables
    5. @destination database: drop subscriber
    6. @destination database: start capture process ,create subscriber,recreate subscriber views and then activate subscriber then extend window
    All steps are action plan that I have done in my CDC system.
    Good luck!
    Chaiya Rakdee

  • Header in Table Maintenance

    Hi All,
    Is it possible to add header to table maintenance view?
    Thanks,
    Jim

    Hi,
    Go to SE51..
    GIve the program name - SAPL + "Function group name"..
    Give the screen number
    Press change button..
    in the event PROCESS BEFORE OUTPUT.
    Give
    MODULE UPDATE_TEXT.
    Double click on UPDATE_TEXT..It will ask whether you want to create a module...
    Press yes...
    Give a new include name...
    Save the module and generate...
    Thanks,
    Naren

  • Add a new table to an existing Print Layout Designer report

    Is it possible to add a new table to an existing Print Layout Designer report? For example, in the Production Order there is a Sales Order field (which is displayed on the report), I would like to display some information from UDFs found on the Sales Order, but when I add a Database Field to the report the Sales Order tables does not appear in the list (OWOR).

    Hi
    It is possible provided there is a relationship which exists between two tables.
    You can add a Database field. Goto the Properties and selct Content Tab.
    Now in the Table dropdown, hold the Alt Key and click. This displays all the tables in B1. After selecting the Table, you can select the related Column.
    Remember there should be a relationship which exists between this column and existing columns.
    Because PLD works completely on Joins to my understanding

  • Add to Multiple Tables from One Page

    Hello,
    I am building an application that handles hardware inventory (APEX 4.0). I have an input page that adds data to two or more tables all at once. The page has two forms on it that point to two separate tables. However when I try to run the page, it fails and returns an error:
    ORA-06550: line 1, column 437: PL/SQL: ORA-00904: "ORH_LAST_UPDATE_DATE": invalid identifier ORA-06550: line 1, column 7: PL/SQL: SQL Statement ignored
         Error      Unable to process row of table IDD_ID_DATA.
    So far as i can see within the App, that column is not at issue (I am not even doing anything to it and it is nullable). I have looked into the App itself as well as doing some online research but have found nothing helpful...
    So my question is this: Is it possible to add to multiple tables from one page? If so how do I do it?
    I am new to APEX so any help would be greatly appreciated!

    UPDATE:
    I received an email from the APEX Support Team:
    "The simple answer is that you will need to manually code the DML (and query) processes if you wish to maintain multiple tables from one page (There is a limit of one table when using the built-in processes).
    In order to do this I suggest you delete the processes generated by the wizards and create PL/SQL processes with insert, update, delete statements as necessary. Such coding is not difficult but is more time consuming than when you can use built-in processes."
    I have been playing around with PL/SQL code and the end result is this:
    begin
         INSERT INTO table1
         VALUES(
              :P2_Item_Field1,
              :P2_Item_Field2);
         INSERT INTO table2
         VALUES(
              :P2_Item_Field1,
              :P2_Item_Field2);
    end;
    I used this code in a custom PL/SQL Process in the Processing>Processes section of Page Processing and it seems to work fine now. The only downside to this method is if the name of a Page Item is changed the code will also have to be changed. Other than that i have had no problems.

  • Table maintenance inserted records @ translation possibility

    Hi,
    I have created a table maintenance generator for a Z table and created a transactionfor it. 
    My requirement is that, for inserted records from transaction, should allow to include the translation possibility. I have check Table maintenance transaction screen from menu, translation button is in inactive (Gray colour).
    How to solve this?  Kindly Suggest.
    Thanks in advance....
    Thanks & Regards,
    Shaik

    Translations are posible only when you have a Text table related to the main table. First step is to create a text table which is related to the main table with foreign key relation and then creating a view cluster above both of these tables showing the main table entry as parent and the translatable column as a child. By doing this you can  maintain multiple language texts for each of the key in the main table using this view cluster. This is one of the solutions to your problem.

  • Create a new table maintenable by user using SM30 transaction

    Hi,
    is it possible to create a new table maintenable by user using sm30 transaction with class C without opening the customizing each time there is a modification to do.
    thank you.

    Hi,
    u told u alredy create table and corresponding view. Now u can follw below this process.........
    go to se11.
    go to menu Utilities ->table maint. generator.
    after that u will go to menu -> Environment -> maintence Object -> Generate.
    then u select category -> CUSY
    Transport -> 2 automatic transport
    Adjustment-> automatically adjustment
    then save it and create T. code .
    I think your problem will be solve.
    Regards,
    Tarapada D.

  • Regarding table  maintenance generator

    hi
    i have one scenario . supppose there are 4 fields in a table. user enters data into it using table maintenance generator. he enters data only for 2 fields remaining 2 fields should get populated automatically.
    is it possible?

    Go to SE11->Table Maintenance generator -> Environment->Modification-> Events
    Here you can define events and the form routines that will be invoked on that particular event.
    Say for example you want to populate details for the user who created the records, define the form FRM_CR_DATE (any form routine name) for populating the Create Details using event 05.
    Event 05 is fired for "Creating a new entry".
    Click on the EDITOR Button and write the following code for saving the user details while creating a new record.
    *       FORM FRM_CR_DATE                                              *
    form frm_cr_date .
      ztablename-created_by      = sy-uname .
      ztablename-created_on      = sy-datum .
      ztablename-create_time     = sy-uzeit.
    endform .
    The current username, system date and time will be moved to the table work area for each record created.

  • Is it possible to add new columns with format "Text" once a table is linked to a form

    Is it possible to add new columns with format "Text" once a table is linked to a form in Numbers for iPhone or is it impossible and thus a serious bug?(Rating stars and numeric vales seem to work.)
    Those bugs happen both for new speadsheets as well as existing onces, like the demo. When you are in the form only the numeric keyboard shows up.
    Pat from the Apple Store Rosenstrasse/Germany approved that it looks like a Bug during the Numbers Workshop I was in: It is not possible to add new columns with format "Text". I reported the error for Version 1.4 but there is no update nor do I get statement of understanding the issue.

    Hi Knochenhort,
    I see what you are talking about now. Without knowing how the program actually works, I think this is what's going on:
    When you add a new column to an already existing table (with already existing formats), the new cells come already formatted like the previous column. So when you add a column to the end of the demo table, the cells are already formatted like stars, and when you add a column to the beginning, they're already formatted like number.
    I think this is why it's different when if you add columns to a table with blank (unformatted) columns. In that case, the new cells aren't already "tainted" with a set format, so you can change to text format without issue.
    It seems like the problem is that you can't format cells that are already formatted as "number" as "text" format (even if it doesn't look like they are, because they are blank). IMO, this is a bug! This is why you don't see this issue when adding columns to a new table, because the new cells don't already come with a format.
    To workaround, you can highlight the body cells after adding the new column, and delete the cells. This will "clear" the formatting, so you can then go in the inspector, format them as text, and the correct keyboard will pop up.
    Hope that helps!

  • Is it possible to add icons to a field in the table control  ?

    Dear Gurus,
               Greetings..............
    Is it possible to add icons to the line item of  a field in the table control ?
    Thanks in advance
    Raj Kumar

    HI
    YES IT IS POSSIBLE.
    DO THE FOLLOWING
    1.DECLARE INCLUDE <ICON>.
    2.IN YOUR INTERNAL TABLE DECLARE FIELD ICON
    icon(4) TYPE c,
    3. POPULATE YOUR INTERNAL TABLE WITH APPROPRIATE ICONS BY SELECTING FROM INCLUDE SPECIFIED ABOVE.
    EG:
    wa2-icon = '@5C@'.
    4.PASS IT TO FIELDCAT
    wa_fieldcat-fieldname = 'ICON'.
        wa_fieldcat-icon = 'X'.            " Displayed as Icon
      wa_fieldcat-tabname = ' '.
      wa_fieldcat-seltext = 'Status'.
      wa_fieldcat-coltext = text-001.
      APPEND wa_fieldcat TO it_fieldcat.

  • Is it possible to add standard tables to a trial version of sap netweaver

    Hi,
    I have installed SAP NetWeaver 7.01 ABAP Trial Version successfully but i can't find any standard
    tables in it.
    Is it possible to add standard tables in a trial version, if yes then how.
    Please can u explain in detail how to get the standard data, i am new to sap.
    Please help.
    2)
    Is it possible to install SAP NetWeaver 7.01 ABAP Trial Version  and SAP Netweaver sp16 Java trial edition in windows on one single system side by side, if yes then how.
    Thanks

    Thanks for your reply sir.
    By standard tables i mean tables such as MSEG,BSEG etc.
    I Can't find them in the trial version.
    Is it possible to add such tables to a trial version of sap netweaver, if yes then what i have to do.
    I am new to sap.
    Thanks

  • Add count of two tables

    I would like to add number of records in one table with number of records in second table. How can this be done?
    Thanks in advance

    Try something like:
    select count(*)
    from(
            select *
            from tableA
            union all
            select *
            from tableB)or
    select (select count(*) from tableA)+(select count(*) from tableB)
    from dualRegards,
    Miguel

  • In Numbers 08 is it possible to add a link to a file on the local disc within a cell?

    In Numbers 08 is it possible to add a link to a file on the local disc within a cell?

    As it's a feature asked several times, maybe it will be available in the next version.
    I don't know features available in Excel.
    Sometimes ago I posted an AppleScript which may perhaps fit your needs.
    If you insert in a table pathnames of files stored in your HD, select the cell, trigger the script, open the file.
    Here is an updated version :
    --[SCRIPT open_a_file]
    Enregistrer le script en tant que Script : open_a_file.scpt
    déplacer le fichier ainsi créé dans le dossier
    <VolumeDeDémarrage>:Utilisateurs:<votreCompte>:Library:Scripts:Applications:Numb ers:
    Il vous faudra peut-être créer le dossier Numbers et peut-être même le dossier Applications.
    Sélectionner la cellule contenant le chemin d'accès
    Aller au menu Scripts , choisir Numbers puis choisir  “open_a_file”
    ouvre le fichier.
    --=====
    L'aide du Finder explique:
    L'Utilitaire AppleScript permet d'activer le Menu des scripts :
    Ouvrez l'Utilitaire AppleScript situé dans le dossier Applications/AppleScript.
    Cochez la case "Afficher le menu des scripts dans la barre de menus".
    --=====
    Save the script as a Script: open_a_file.scpt
    Move the newly created file into the folder:
    <startup Volume>:Users:<yourAccount>:Library:Scripts:Applications:Numbers:
    Maybe you would have to create the folder Numbers and even the folder Applications by yourself.
    Select the cell containing the pathname
    Go to the Scripts Menu, choose Numbers, then choose “open_a_file”
    open the file
    --=====
    The Finder's Help explains:
    To make the Script menu appear:
    Open the AppleScript utility located in Applications/AppleScript.
    Select the "Show Script Menu in menu bar" checkbox.
    Save this script as a … Script in the "Folder Actions Scripts" folder
    <startupVolume>:Library:Scripts:Folder Action Scripts:
    --=====
    Yvan KOENIG (VALLAURIS, France)
    2010/02/02
    2011/04/28 - replaced the getSelParams handler by the get_SelParams one
    --=====
    on run
              set {dName, sName, tName, rowNum1, colNum1, rowNum2, colNum2} to my get_SelParams()
              tell application "Numbers" to tell document dName to tell sheet sName to tell table tName
                        set maybe to value of cell rowNum1 of column colNum1
              end tell -- Numbers
              tell application "Finder" to open maybe
    end run
    --=====
    set { dName, sName, tName,  rowNum1, colNum1, rowNum2, colNum2} to my get_SelParams()
    on get_SelParams()
              local d_Name, s_Name, t_Name, row_Num1, col_Num1, row_Num2, col_Num2
              tell application "Numbers" to tell document 1
                        set d_Name to its name
                        set s_Name to ""
                        repeat with i from 1 to the count of sheets
                                  tell sheet i to set maybe to the count of (tables whose selection range is not missing value)
                                  if maybe is not 0 then
                                            set s_Name to name of sheet i
                                            exit repeat
                                  end if -- maybe is not 0
                        end repeat
                        if s_Name is "" then
                                  if my parleAnglais() then
                                            error "No sheet has a selected table embedding at least one selected cell !"
                                  else
                                            error "Aucune feuille ne contient une table ayant au moins une cellule sélectionnée !"
                                  end if
                        end if
                        tell sheet s_Name to tell (first table where selection range is not missing value)
                                  tell selection range
                                            set {top_left, bottom_right} to {name of first cell, name of last cell}
                                  end tell
                                  set t_Name to its name
                                  tell cell top_left to set {row_Num1, col_Num1} to {address of its row, address of its column}
                                  if top_left is bottom_right then
                                            set {row_Num2, col_Num2} to {row_Num1, col_Num1}
                                  else
                                            tell cell bottom_right to set {row_Num2, col_Num2} to {address of its row, address of its column}
                                  end if
                        end tell -- sheet…
                        return {d_Name, s_Name, t_Name, row_Num1, col_Num1, row_Num2, col_Num2}
              end tell -- Numbers
    end get_SelParams
    --=====
    on decoupe(t, d)
              local l
              set AppleScript's text item delimiters to d
              set l to text items of t
              set AppleScript's text item delimiters to ""
              return l
    end decoupe
    --=====
    on parleAnglais()
              local z
              try
                        tell application "Numbers" to set z to localized string "Cancel"
              on error
                        set z to "Cancel"
              end try
              return (z is not "Annuler")
    end parleAnglais
    --=====
    --[/SCRIPT]
    Oops, I forgot that you are asking about Numbers '08 which hasn't AppleScript support.
    Yvan KOENIG (VALLAURIS, France) jeudi 28 avril 2011 16:26:39
    Please :
    Search for questions similar to your own before submitting them to the community

Maybe you are looking for

  • Emailing Payment Advice

    I am using SAP 4.7C Can somebody please tell me if I want to email Payment Advice to my vendor, can I do it through SAP. Please keep this thing in mind that I DONT WANT to use automatic payment method F110. But still needs to generate Payment advice

  • Item Level Security and url not working

    Hi, I have a SharePoint 2010 web application for internal users with windows authentication that contains a infopath forms library with content approval enabled. This web application is extended as extranet for external sites and it's using forms aut

  • HELP PLEASE(TDM question! )

    Hi, recently i got an iMac 27' 2013(lvy) w/ gtx660m as a present and I'm think I'm going to get a Alienware X51(i3 model) next week, will TDM works for it?Target Display mode. I already did some research, and here it is: "Target Display mode Requirem

  • Failure installing PSE 9 on osx 10.6.8

    I'm trying to install PSE 9 but it fails with the following error Exit Code: 7 -------------------------------------- Summary -------------------------------------- - 0 fatal error(s), 15 error(s), 1 warning(s) WARNING: Payload cannot be installed du

  • Problem sharing pdf insertions from PC Windows 7 to mac

    Hello, I've been working on editing a document a client is sharing with me via dropbox. She uses a Mac; I have a PC with Windows 7. I've entered a number of edits--insertions, comments, deletions. Now, when she opens the dropbox document, the locatio