Regarding database tables in which i can write directly

hi experts,
                  i have to create a database table in which i can write directly in to the table with out using update statement,what sud i do for this plz help me......

Hi Ravi,
If you mean you need to directly update values on the screen, SE11 has a menu for the table maintenance generator. In there you can generate screens and everything needed for your table to allow entry with or without transports. You then capture the data through transaction SM30 or SM31.
Cheers
Wayne

Similar Messages

  • Regarding database table to infotype

    hi experts,
                    sorry i m going to ask a typical question i m working on hr-abap ,i have developed a module pool in which the database table is updating with some data,what i want that after updation i want to store that data in a infotype,,so plz tell me how to create infotype and how to store the data into it from a database table...thnx in advance.i know it is a configuration part but rt nw my company doesnt have hr consultant.....plz help me.

    Hi
    <b>Creating an Infotype</b>
    Using the TCODE PM01 you can create an Infotype. As per SAP standard you can use only 9000 series. The below procedure explains you how to create an Infotype.
    1.Go the transaction PM01 and give the Infotype Number lets say 9999 and press  button. It will ask you a messaging window,
    2.Press create button to continue further. It will take you to create the structure.
    3.Give the components and SAVE & ACTIVATE the structure and come back.
    An Infotype attributes window will appear; you create a new entry with the Infotype No and give the appropriate description.
    and give the data and press ENTER key. The Technical data will appear automatically, here you have to maintain the Single screen as ‘2000’ and List screen as ‘3000’ and then SAVE the info and press BACK button, you will reach the main screen.
    After that using the Menu option Infotype 
    4.Generate the structure, dialog module and include. 
    Click the  button from application tool bar to check the Infotype attributes. Select the 9999 Infotype and check the data.
    If every thing is error free, you can use the Infotype using PA30 transaction.
    5.Use the Create button you can create New Entries for the Infotype.
    You can view the entries in table PA9999 using the TCODE SE11/SE16.
    Validating Code in Module pool: - If you want to validate the user inputs,
    You need to write the validate code procedure in the module program MPXXXX00 screen 2000 (here XXXX is user Infotype, in our case 9999).
    In PAI.
      MODULE P9999.
      MODULE HIDDEN_DATA.
      FIELD P9909-PRATE MODULE PRATE. “ Create a module routines. 
    In PBO
      MODULE PRE_INPUT_CHECKS.
            input-checks:                                               *
      insert check modules here:
      CHAIN.
       FIELD P9909-PRATE MODULE PRATE.
      ENDCHAIN.
    Double click on PRATE it will ask you the include name, SELECT the include MP999930 from the input window.
    *&      Module  PRATE  OUTPUT
          text
    MODULE prate OUTPUT.
      IF NOT p9909-prate IS INITIAL.
        PERFORM check_prate.
      ENDIF.
    ENDMODULE.                 " PRATE9  OUTPUT
    Again check_prate subroutine, write down the below code in MP999940 include.
    *&      Form  check_prate
    FORM check_prate .
    CLEAR zprate_t.
      SELECT SINGLE * FROM zprate_t WHERE prate = p9909-prate.
      IF sy-subrc > 0.
        CLEAR zprate_t.
        MESSAGE e016(rp) WITH 'Entry does not exist in ZPRATE_T table'.
      ENDIF.
    ENDFORM.                    " check_prate
    After that check the module, if it is error free then ACTIVATE the same. You can check the Infotype validations using the PA30 transaction.
    Regards
    Raj

  • How to Delete the Standard Database table KONV which is Related to ME47

    Hi Experts,
                   i am having the Query that i want to delete some condition types in ME47 Transaction which is related to MM in my requirement. that i have checked that all data is storing in KONV Cluster table but deleting data for standard table we should not delete it directly.so i searched for BAPI and Functional Module i did not get it . can you prefer and BAPI OR Functional Module through that we can delete Record in the KONV Table for this Issuse.

    WHY would you want to do that directly with a function?  Why don't you just fix the pricing issue in the RFQ's in question?

  • Table in which I can find the account impacted by deferral process

    Hello all,
    I have already asked this question but asking again
    what is the table in which it's mentioned which account is impacted by the "deferral" process when an invoice is booked on particular account number?
    For example:
    when I book invoice, lets say on the account 3402500020, the account 3401500020 is impacted by defferal process.... but if I want to change the account 3401500020 to some other account number? where it is maintained?
    Thanks in advance!!
    hana

    i understand this as when booking to the account when we receive the goods but not the invoice.....
    sorry, not very profesional in this...
    is there any maintanance of such accounts?

  • Is there any data base table in which i can found the old backgorund jobs ?

    Hi All,
    In our system i am not able to see the back ground jobs (in SM37) older than 30days. I want to check the back gorund jobs older than 30 days. In the date field even if i enter date before 60days to the present date, i am getting the last 30 days list of back gorund jobs. Where can i check the older jobs (i.e. 60 days back)?
    Thanks in Advance.
    Regards
    Tajuddeen

    >
    Tajuddeen shaik wrote:
    > Are these jobs are going to be archieved every month?
    > Taj
    Hi ,
    If the Jobs are getting archived , then u may chek for the table -
    ADMI_JOBS      
    Regards ,
    Rajesh kumar

  • A question regarding database table partitioning and table indexes in 10g

    We are considering partitioning a large table in our 10g database, in order to improve response time. I believe I understand the various partitioning options, but am wondering about the indexes built over the table. When the table is partitioned, will the indexes also be partitioned "automatically"? Or do I need to also partition the indexes as well?
    Thank you in advance to any and all who respond to this question.

    Hello,
    When you build your partiton table you just need to create indexes locally and they will be partitioned automatically, see following example
    CREATE TABLE YY_EVENT
      PART_KEY       DATE                              NOT NULL,
      SUBPART_VALUE  NUMBER                             NULL,
      EVENT_NAME     VARCHAR2(30 BYTE)                  NULL,
      EVENT_VALUE    NUMBER                             NULL
    TABLESPACE TEST_DATA
    PARTITION BY RANGE (PART_KEY)
      PARTITION Y_EVENT_200901 VALUES LESS THAN (TO_DATE(' 2009-02-01 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN'))
        TABLESPACE TEST_DATA, 
      PARTITION Y_EVENT_200902 VALUES LESS THAN (TO_DATE(' 2009-03-01 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN'))
        TABLESPACE TEST_DATA
    -- This will create paritioned indexes automatically
    CREATE INDEX MY_IDX ON YY_EVENT
    (EVENT_NAME)
      TABLESPACE TEST_DATA
    LOGGING
    LOCAL;Regards
    Edited by: OrionNet on Feb 25, 2009 12:05 PM

  • I get the exception information from GMail link which I can load directly why?

    Server Error in '/' Application.
    Forum does not exist - SectionID/ApplicationKey: 2
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
    Exception Details: CommunityServer.Components.CSException: Forum does not exist - SectionID/ApplicationKey: 2
    Source Error:
    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
    Stack Trace:
    [CSException: Forum does not exist - SectionID/ApplicationKey: 2]
    CommunityServer.Components.PermissionBase.RedirectOrException(CSExceptionType csEx, ApplicationType appType, String message) +134
    CommunityServer.Discussions.Components.Forums.GetForumNew(Int32 forumID, Boolean cacheable, Boolean ignorePermissions, Boolean allowNullReturn) +154
    CommunityServer.Discussions.Components.Forums.GetForum(Int32 forumID, Boolean cacheable, Boolean ignorePermissions, Boolean allowNullReturn) +128
    CommunityServer.Discussions.Components.Forums.GetForum(Int32 forumID) +48
    CommunityServer.Discussions.Components.ForumPost.get_Section() +29
    CommunityServer.Discussions.Components.ForumPost.get_Forum() +8
    CommunityServer.Discussions.Controls.BreadCrumb.AddPost(List`1 links, ForumPost p) +22
    CommunityServer.Discussions.Controls.BreadCrumb.get_DataSource() +376
    System.Web.UI.WebControls.Repeater.ConnectToDataSourceView() +183
    System.Web.UI.WebControls.Repeater.OnLoad(EventArgs e) +19
    CommunityServer.Controls.PreTemplatedWrappedRepeaterBase.OnLoad(EventArgs e) +12
    System.Web.UI.Control.LoadRecursive() +50
    System.Web.UI.Control.LoadRecursive() +141
    System.Web.UI.Control.LoadRecursive() +141
    System.Web.UI.Control.LoadRecursive() +141
    System.Web.UI.Control.AddedControl(Control control, Int32 index) +265
    System.Web.UI.ControlCollection.Add(Control child) +80
    CommunityServer.Controls.ConditionalContent.AddContentControls() +185
    CommunityServer.Controls.WrappedContentBase.CreateControlHierarchy() +107
    CommunityServer.Controls.WrappedContentBase.CreateChildControls() +32
    System.Web.UI.Control.EnsureChildControls() +87
    System.Web.UI.Control.PreRenderRecursiveInternal() +44
    System.Web.UI.Control.PreRenderRecursiveInternal() +171
    System.Web.UI.Control.PreRenderRecursiveInternal() +171
    System.Web.UI.Control.PreRenderRecursiveInternal() +171
    System.Web.UI.Control.PreRenderRecursiveInternal() +171
    System.Web.UI.Control.PreRenderRecursiveInternal() +171
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +842
    Version Information: Microsoft .NET Framework Version:2.0.50727.4206; ASP.NET Version:2.0.50727.4209

    The only properties and methods for the Link object are listed in the Acrobat JS API Reference you linked to. JavaScript can set a link action, but once set it is not retrievable by JS.
    You should be able to write an plug-in with that could be added to a user's system to access this data.

  • Csv file to database tables and also foreginkey related columns directly

    i have created dimensions tables in ssis  and i need to load  the data into that tables from my given csv files. iand i have foriegien key columns of fact table for this also data need to load

    definitely we have primary key relations..  the tables contain primary keys and forien keys  i have created tables nearly 20 tables  in sql server some of them consist of dimensions and facts.. so i have an csv files of data. so that i need
    to load data in that tables by using ssis package
    i have an idea taking one data flow task in control flow task for  each and every single table i am taking one oldb destination. for each and every one i need source as csv file. by connecting this both we can load data
    but i need to load data into 20 tables by taking on dataflow task..how it is possible any solution and any different ways to load data from csv files to ssispacke tables

  • Dynamic record deletion from database table

    Hi,
    I need to delete selected records from database table(dynamic names). Table names are being passed from main program with some of their field names. The record to be deleted from the database table is being decided based on the fields passed for the table and their contains passed from the main program.
    It is not possible to write dynamic where clause for DELETE statement directly.
    So, I created a dynamic internal table and i am trying to fetch all records using SELECT statement(for which we can write dynamic where condition, something like...SELECT...WHERE (itab).  ) which need to be deleted in the iternal table.
    Piece of code :
              CONCATENATE c_im v_tablefield1 INTO v_imprtfield1.
              CONCATENATE v_tablefield1 c_in v_imprtfield1
                       into s_condition separated by space.
              APPEND s_condition TO t_condition.
              PERFORM GET_DYNAMIC_ITAB USING s_flds_agtab-tabname
                                    changing t_itab.
              ASSIGN t_itab->* TO <itab>.
    *Select the data (to be deleted) from the database table
               SELECT * FROM (s_flds_agtab-tabname) INTO TABLE <itab>
                 WHERE (t_condition).
    *Delete the records from the table
               IF SY-SUBRC = 0.
                 DELETE (s_flds_agtab-tabname) FROM TABLE <itab>.
               ENDIF.
    Here t_condition is of standard table of WHERETXT.
    t_condition at the run time before giving dump was:
    SPART IN IM_SPART
    AND KUNNR IN IM_KUNNR
    Here IM_SPART is renge type of SPART and IM_KUNNR is renge of KUNNR.
    I am getting a DUMP:
    The WHERE condition has an unexpected format.
    Error analysis                                                                               
    The current ABAP/4 program attempted to execute an ABAP/4 Open SQL
    statement containing a WHERE condition of the form WHERE (itab) or
    WHERE ... AND (itab). The part of the WHERE condition specified at
    runtime in the internal table itab contains the operator         
             IN (v1, ..., vn)                                        
    in incomplete form.                                              
    How to correct the error
    If the error occurred in a non-modified SAP program, you may be  
    able to find a solution in the SAP note system.                  
    If you have access to the note system yourself, use the following
    search criteria:                                                 
    "SAPSQL_IN_ILLEGAL_LIST"                               
    "SAPLZSD_TAB_REFRESH " or "LZSD_TAB_REFRESHU01 "       
    "Z_SD_REFRESH_AGTABLES"                                
    If you cannot solve the problem yourself, please send the
    following documents to SAP:                             
    I would like to know whether "IN" operator is allowed in (itab) of WHERE clause. While testing I changed the "IN" to "=" specifying a suitable value there. It worked. So please let me know if i can give "IN" operator using renge table in the dynamic where clause.
    Thanking you,
    Surya

    Hi again,  so if you can not use the IN in a dynamic where clause you might be forced to dynamically build the entire select statement,  Here is a sample program which may give you some ideas, notice that we are writing the select statement code, putting it in another program and generating the subroutine at runtime, then call this routine.  I'm sure that this will help you see what you need to do.
    report zrich_0003 .
    tables: kna1.
    types: t_source(72).
    data: routine(32) value 'DYNAMIC_SELECT',
                 program(8),
                 message(128),
                 line type i.
    data: isource type table of t_source,
                xsource type t_source.
    ranges:
            r_kunnr for kna1-kunnr.
    data: ikna1 type table of kna1.
    data: xkna1 type kna1.
    r_kunnr-sign = 'I'.
    r_kunnr-option = 'EQ'.
    r_kunnr-low    = '0001000500'.
    append r_kunnr.
    xsource = 'REPORT ZTEMP.'.
    insert xsource  into isource index 1.
    xsource = 'FORM dynamic_select'.
    insert xsource  into isource index 2.
    xsource = 'Tables r_kunnr ikna1.'.
    append xsource to isource.
    xsource = 'select * into table ikna1 from kna1'.
    append xsource to isource.
    xsource = 'where kunnr in r_kunnr.'.
    append xsource to isource.
    xsource = 'ENDFORM.'.
    append xsource to isource.
    generate subroutine pool isource name program
                             message message
                             line line.
    if sy-subrc = 0.
      perform (routine) in program (program) tables r_kunnr
                                                    ikna1.
    else.
      write:/ message.
    endif.
    loop at ikna1 into xkna1.
      write:/ xkna1-kunnr.
    endloop.
    Regards,
    Rich Heilman

  • Tracking changes in database tables

    Hi,
    I have a couple of database tables on which more than 20 people work each day, throughout the day. I have the requirement of tracking each and every change made on any row of the table.
    For example, If a user accesses a specific row, and updates, or deletes it, i need to keep a track of the userid of the user who did it.
    Is that possible?

    Hi Bharat,
    If they are Z tables i.e custom tables then you can incorporate two more fields userid and time. Now goto Table maintanence generator through SE11.Then select Environment->Modification->events. Now in the next screen select F4 for first field to select the event i.e when your code has to be executed.Then give a new form name and click on editor icon. write your code here. When ever a user changes any record his name will be included in user id and sy-uzeit in time field. This way you can track who has changed the record. Other option is activating table changes recording by selecting "LogChanges " check box in technical settings of table.and profile parameter rec/client should also be switched on. Then you can see your table changes in SCU3 transaction. Hope this helps.
    Regards,
    Kalyan.

  • UrGENT-DUMP while querying database table into itab(Assigned field Symbol)

    Hi,
    __I am getting a dump whose description is as follows__-
    "" In an SQL array select, the internal table used to hold the
    selected records must be at least as wide as the database table
    from which the records are being read.
    In this particular case, the database table is 820 bytes wide,
    but the internal table is only 814 bytes wide.""
    The following code had been written:
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
    PARAMETERS: p_tabl TYPE dd02l-tabname.                                      "Table Name
    SELECTION-SCREEN END OF BLOCK b1.
    FIELD-SYMBOLS: <fs_itab> TYPE STANDARD TABLE,
                   <fs_wa> TYPE ANY,
                   <fs_itab1> TYPE STANDARD TABLE,
                   <fs_wa1> TYPE ANY.
    FORM generate_internal_tab .
      DATA: o_itab TYPE REF TO data,
            o_wa TYPE REF TO data,
            o_itab1 TYPE REF TO data,
            o_wa1 TYPE REF TO data.
      CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
        EXPORTING
          i_structure_name       = p_tabl
        CHANGING
          ct_fieldcat            = it_fcat
        EXCEPTIONS
          inconsistent_interface = 1
          program_error          = 2
          OTHERS                 = 3.
    *Create Dynamic Table for it_fcat
      CALL METHOD cl_alv_table_create=>create_dynamic_table
        EXPORTING
          it_fieldcatalog           = it_fcat
        IMPORTING
          ep_table                  = o_itab
        EXCEPTIONS
          generate_subpool_dir_full = 1
          OTHERS                    = 2.
      IF sy-subrc EQ 0 OR o_itab IS NOT INITIAL.
        ASSIGN o_itab->* TO <fs_itab>.
        CREATE DATA o_wa LIKE LINE OF <fs_itab>.
        ASSIGN o_wa->* TO <fs_wa>.
      ENDIF.
    *Download the file to Application server
        SELECT *
          FROM (p_tabl)
          INTO TABLE <fs_itab>.
    So i am geting a dump in placing contents of table(p_tabl) into <fs_itab>.Should the type declarations be changed???
    Please give me an solution to resolve this dump.
    Thanks and regards-
    Sumita

    You are trying to put more fields in the internal table than what is declared presently for itab. Check if one of the fields is selected but not being passed on to a internal table field.

  • Business Rules Database Table

    Hi,
    What is/are the tables that stores business rules information in the database?
    Thanks,
    lakshmi.

    You can write a rulebase provider plug-in to load your rulebase .zip file from wherever you wish. The rulebase must always be authored with Oracle Policy Modeling in the first place.
    Davin.

  • How to find the database table behind the xtags  varibles?

    if in xtags we find that some varibles are not having the right data coming from xml -> database tables so how can we find out the names of database table behind it .
    <!-- <xtags:variable id="msds" context="<%=specs%>" select="//header/msds"/>
    <a href="/MSDS/<%=msds%> target="#">MSDS</a>
    -->
    now how to find the database table and the column name of database table from which the value of id msds is coming
    Here they have stored the name of pdf file . from this code pdf file is displayed

    Hi,
    Thanks for your response. It is PM related.  When I run a T Code - IK18,  the field Total Counter Reading field appears. I am looking for that particular fields actual table name and field name.  I think I have found it in IMGR table. Now I want to get IMRG-READG in my report, but there is no common fields in neither MKPF or MSEG table. So what can I do to connect IMRG table with either of them ?

  • Multiple administrators, only one can write to disk

    I recently got an used MacBook Pro which came with an admin account. I tried to import my settings from an external disk (using Time Machine) but 10.8 couldn’t read the disk. I tried creating another admin account, and import my settings from it, unsuccessfully. Finally I downloaded 10.9 and during install I told it to import the account from the external disk, which it did.
    I now have 3 admin accounts:
    The one with which I can write to the hard disk, the original.
    The second one which is useless.
    The one with which I can sync my iphone and create a security copy. Whenever I try to write to the HD it asks me for authentication and it won’t let the programs (e.g. iWork) create files. I can only save in the “shared” folder.
    I wish to maintain the third account, mostly because I really need to be able to save the contents of my external memory unit (AKA iPhone) and delete the other accounts, but the minus sign in Settings/User accounts is grayed out and I can only highlight the account that I logged in with. Also, it concerns me not being able to write to HD; I mean, I could just save to the shared folder but it just doesn’t feel right.
    Thanks you very much in advance!

    The first thing you should do with a second-hand computer is to erase the internal drive and install a clean copy of OS X. How you do that depends on the model. Look it up on this page to see what version was originally installed.
    If the machine shipped with OS X 10.4 or 10.5, you need a boxed and shrink-wrapped retail Snow Leopard (OS X 10.6) installation disc, which you can get from the Apple Store or a reputable reseller — not from eBay or anything of the kind. If the machine has less than 1 GB of memory, you'll need to add more in order to install 10.6. I suggest you install as much memory as it can take, according to the technical specifications.
    If the machine shipped with OS X 10.6, you need the installation media that came with it: gray installation discs, or a USB flash drive for some MacBook Air models. If you don't have the media, order replacements from Apple. A retail disc, or the gray discs from another model, will not work.
    To boot from an optical disc or a flash drive, insert it, then reboot and hold down the C key at the startup chime. Release the key when you see the gray Apple logo on the screen.
    If the machine shipped with OS X 10.7 or later, you don't need media. It should boot into Internet Recovery mode when you hold down the key combination option-command-R at the startup chime. Release the keys when you see a spinning globe.
    Once booted from the disc or in Internet Recovery, launch Disk Utility and select the icon of the internal drive — not any of the volume icons nested beneath it. In the Partition tab, select the default options: a GUID partition table with one data volume in Mac OS Extended (Journaled) format. This operation will permanently remove all existing data on the drive, which is what you should do.
    After partitioning, quit Disk Utility and run the OS X Installer. When the installation is done, the system will automatically reboot into the Setup Assistant, which will prompt you to transfer the data from another Mac, its backups, or from a Windows computer. If you have any data to transfer, this is usually the best time to do it.
    You should then run Software Update and install all available system updates from Apple. If you want to upgrade to a major version of OS X newer than 10.6, buy it from the Mac App Store. Note that you can't keep an upgraded version that was installed by the previous owner. He or she can't legally transfer it to you, and without the Apple ID you won't be able to update it in Software Update or reinstall, if that becomes necessary. The same goes for any App Store products that the previous owner installed — you have to repurchase them.
    If the previous owner "accepted" the bundled iLife applications (iPhoto, iMovie, and Garage Band) in the App Store so that he or she could update them, then they're linked to that Apple ID and you won't be able to download them without buying them. Reportedly, Apple customer service has sometimes issued redemption codes for these apps to second owners who asked.
    If the previous owner didn't deauthorize the computer in the iTunes Store under his Apple ID, you wont be able toauthorize it under your ID. In that case, contact iTunes Support.

  • Mapping of an entity EJB to multiple database tables using CMP?

    Can one entity EJB have attributes split between (mapped to) multiple databse tables?
    Would CMR work properly between two such entity EJBs (both mapped to multiple database
    tables).

    Hi Milos.
    Can one entity EJB have attributes split between (mapped to) >>multiple databasetables?
    A CMP Entity should be always mapped a record in a single DB table.
    Thanks.
    Ji Zhang
    Developer Relations Engineer
    BEA Support

Maybe you are looking for

  • Suggestion for a project

    Hello Everyone, i want to do a project as a confidence builder before i join Graduate School this Fall. I am totally out of any idea about this topic though i graduated in Bachelors of Comp.Sci ,as i worked in Management field for some yeas.Now i'm b

  • Why does my iPhoto Library.photolibrary in my MacAir running OS X Yosemite keep expanding?

    Why does my iPhoto Library.photolibrary in my MacAir running OS X Yosemite keep expanding?

  • Please help installing solaris 10 -x86

    Hello, Im a total newbie to solaris, can someone please help me installing? I download solaris-10 x86 and I joined the 5 iso files and burnt the dvd, it appears to be OK, but when I boot the dvd all I get is the command line GNU GRUB Version 0,95 Gru

  • 12.1.1  Two Node Installation

    Hi, Node 1: DB + CM + Reports Node 2: Forms + Web While doing Installation in Node1, I have selected the following services in APplications to enable for CM and Reports 1. Batch Processing For Node2, I have given the following for Forms and Web 1. Ro

  • Reg: PO release notification needs to send to the PR Creater with PO num

    HI Gurus, Iam new to workfow. I have one senario in workflow. Requirement: when ever PO release notification needs to send to the PR Creater with PO number and corresponding PR number. Please guide how to do this . My questions : 1.How can we can get