Updating transparent table

hi
how to update the transparent table by using the abap coding????
urgent
<b><REMOVED BY MODERATOR></b>
Message was edited by:
        Alvaro Tejada Galindo

hi vasu
it is not ztable it is transparent table defined by sap
how we can update the sap supplied transparent table by abap program
urgent
<b><REMOVED BY MODERATOR></b>
regards
sudhakar
Message was edited by:
        Alvaro Tejada Galindo

Similar Messages

  • Trace a content update of transparent table

    Hi ALL,
    i need to know if it's possible to get the programme name,  responsible of a content update in a transparent table. we have a modification in exicting table record via a direct input (since the new valeus can't not pass the infty screens checks), and we need to know which programme was the update cause.
    Thanks in advance for your responses.

    check table DBTABLOG(Log Records of Table Changes) for any changes ...

  • How to update the data  the transparent table CKMLMV013 ?

    How to update the data  the transparent table CKMLMV013 ?
    can you please replay asap.
    thanks,
    samba

    Hi,
    if you do a "where used" search of the table CKMLMV013 you will see that it is updated in several places:
    e.g. fm CKML_ORDER_CONNECTION_UPDATE
    Have a look at those places where the table is updated.
    Best regards.

  • Updating a transparent table primary key

    Hi Guys,
                  I am fixing a system copy error, for that plan to update the table through a program.
    The field I am going to update one of the primary key field.
    Is that possible to do it.
    Thanks

    Hi,
      if you are going to insert a record it is possible.
    if you are going to modify the existing record it is not possible to update the primary key you can only change the fields which are not primary key.

  • To modify field value in a transparent table

    how would i modify the value of a field in a transparent table? my data is from internal table. while im looping in the internal table the data goes to the first record of the table not on the right record.
    what wrong with  my code?
    loop at i_tble.
      wa_tble = i_tble.
      select single angnr
      into i_angnr
      from ekko
      where ebeln eq wa_tble-ebeln.
      ekko-angnr = wa_tble-angnr.
      modify ekko.
    endloop.

    Hi,
    I am sorry but I didn't understand the purpose of this code. You are reading in a field value of ANGNR from EKKO and you want to update the same record again with the same value? Why?
    <b>Secondly, you should never update any SAP table directly like that</b>.
    Now for the reason why your update is updating the first record always.
    Your 'modify ekko' should be modified as
    MODIFY ekko TRANSPORTING angnr WHERE ebeln = wa_tble-ebeln.
    Please reward and close the post if answered.
    Regards,
    Srinivas

  • Value not reflecting into the transparent table when checked through se11

    Hi friends.    i am using the following code to add data to a transparent table already creted by me.Now i am adding data to it through a ABAP program.It is displaying the output when I execute it but the new record added in the program is not saved itno the table actually.my code is :
    REPORT  ZWRITE_DATA.
    tables zlfa2.
    move 'achal' to zlfa2-field_name_1.
    update zlfa2.
    select * from zlfa2.
    write / zlfa2-field_name_1.
    endselect.
    the above code is not showing the value 'achal' in it.and also no error message is being displayed.

    Hi,
    Commit work saves the changes done into the database. Using COMMIT WORK statement in your program have below mentioned effect:
    Calls the subroutines specified by PERFORM ... ON COMMIT
    Executes asynchronously any update requests (see CALL FUNCTION ... IN UPDATE TASK) specified in these subroutines or started just before
    Processes the function modules specified in CALL FUNCTION ... IN BACKGROUND TASK
    Resets the time slice counter to 0.
    Ensures that the locks of the SAP locking concept are handled in accordance with its SCOPE Parameter.
    Executes a database commit on all database connections
    Closes all open database cursors (OPEN CURSOR) on all database connections
    Releases all database locks on all database connections
    KR Jaideep,

  • SRM 7.0 find transparent table name from Web dynpro Component

    Hi ,
    I am trying to find the transparent table name from Web dynpro component dictionary structure. I am working in SRM 7.0. Please let me know how to find the transpartent table for a field.
    Thanks,
    Monica

    hi,
    your question is very unclear and does not relate to performance.
    SRM uses webdynpro ABAP so the recommendation will not help.
    Do you need a technical UI element?
    Or the application table where the business data of an UI is stored???
    If it is the later, then you can use the SQL trace, change to element you are interested in, and trace it. The table should appear in the trace in connection which an UPDATE command. Still a bit cimbersome.
    Siegfried

  • ABAP dictionary : can we delete and recreate transparent table

    Hi Experts,
             I would like to know if we can delete and recreate transparent table which had already been transported to another server? Will it create any other problem?
             The reason why I want to do this is that I want to transport the table contents and the table was earlier created under the class 'Application table' . Now I want to create it under 'Customizing table' class.
    Thanks in advance

    I think you can change the table's Delivery class in SE11.
    Than you can add your entries in the transport request.
    Follow these steps:
    (1) Create a transport request
    (2) Open it, update mode
    (3) Add a line with R3TR TABU <table name>, select the line created
    (4) goto Menu, Key list and add the two keys list you have created (* is wildcard, mandt+key)
    (5) Save, release and transport your request
    No need to delete and regenerate it.
    Regards,
    Naimesh Patel

  • DBA role cannot update a table

    SQL> select * from v$version;
    BANNER
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    PL/SQL Release 11.2.0.1.0 - Production
    CORE    11.2.0.1.0      Production
    TNS for Linux: Version 11.2.0.1.0 - Production
    NLSRTL Version 11.2.0.1.0 - Production
    SQL> show user
    USER is "JIMMYB"
    SQL> select granted_role from dba_role_privs where grantee ='JIMMYB';
    GRANTED_ROLE
    CTXAPP
    DBA
    SQL> select user_seq, person_id from cmis.users
      2  where last_name = 'ZIGGY';
      USER_SEQ  PERSON_ID
         12788    1246277
    SQL> update cmis.users
      2  set
      3     person_id = 10991
      4  where user_seq = 12788;
    update cmis.users
    ERROR at line 1:
    ORA-00942: table or view does not existHow can the DBA role not be allowed to update this table?

    I'm not sure what I am missing here. I've never encountered this before.
    SQL> desc cmis.users
    Name                                                           Null?    Type
    USER_SEQ                                                       NOT NULL NUMBER
    PERSON_ID                                                               NUMBER ENCRYPT
    USERNAME                                                                VARCHAR2(50) ENCRYPT
    PREFIX                                                                  VARCHAR2(10)
    FIRST_NAME                                                              VARCHAR2(100) ENCRYPT
    MIDDLE_NAME                                                             VARCHAR2(100) ENCRYPT
    LAST_NAME                                                               VARCHAR2(100) ENCRYPT
    SUFFIX                                                                  VARCHAR2(12)
    EMAIL_ADDRESSS                                                           VARCHAR2(1000) ENCRYPT
    USER_STATUS_SEQ                                                         NUMBERI can't imagine it has anything to do with transparent data encryption.

  • Saving texts in transparent table

    HI all,
               How can we create a transparent table and save texts in it.
            Actually my requirement is to create a button on an ALV and when user clicks that button then a text editor should open and whatever user enter in that window should get saved in a transparent table.
    Does anyone have any idea how to do this??
    please help me as soon as possible.
    regards,
    kushagra

    Hi,
    After setting all field catelogs and all
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
           EXPORTING
                i_callback_program       = ws_repid  ---report name
                i_callback_pf_status_set = 'GUI_STAT'
                i_callback_user_command  = 'STAT'
                is_layout                = gs_layout
                it_fieldcat              = i_fieldcat[]
           TABLES
                t_outtab                 = i_zaw_pol_plan.
      IF sy-subrc <> 0.
       MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
       WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    ENDFORM.                    " change_data
    **--Setting Status of outout screen
    FORM gui_stat USING rt_extab TYPE slis_t_extab.
      SET PF-STATUS 'STANDARD' EXCLUDING rt_extab.
      SET TITLEBAR text-005.
    ENDFORM.
    **--Calling the subroutine when button clicked on output
    FORM stat USING r_ucomm LIKE sy-ucomm rs_selfield TYPE slis_selfield.
      DATA selfield TYPE slis_selfield.
      CASE r_ucomm.
        WHEN 'SAVE'.      
        LOOP AT i_zaw_pol_plan WHERE flag EQ c_x.
             here you will get the selected data and update the table with this
       ENDLOOP.
      ENDCASE.
    ENDFORM.
    double click on PF-STATUS 'STANDARD' in above code in application tool bar add button fcode and text and icon.

  • Inserting multipal ifields in Transparent Table

    Dear Friends,
    I have created one table having fields mandt matnr menge now i have to creat one program to add multiple rows in that table and on input screen i have to give user to enter matnr & mseg fields when user enter the value in that fields then it automatically add to that table. how to write that program to add multiple fields.
    please help me!!!!!!!!!!!!!!!!!!!!!!!
    Thanks,
    Vishal bhagwat

    check for the documentation for modify and update statements in SAP
    Modify will add the new fields based on the key field u assigned to the Transparent table...
    so ur 1st record is being deleted because either the key is not mentiones in the table of both( 1 and 2 records) have the same key fields..

  • Select statement failed to get data from transparent table

    Hi Experts,
                      Please let me know why my select statement is failing to get data form transparent table REGUH. My code query is as below:
    SELECT * FROM REGUH WHERE
                              LAUFD = RUN_DATE AND
                              LAUFI = ID AND
                              LIFNR = P0009-PERNR AND
                              RZAWE = 'C'.
      MOVE REGUH-RWBTR TO CASH.
          CASH = CASH * -1.
      ENDSELECT.
    REGUH table has data for the given query but it is not retreiving the data.Please let me know what is the problem with the query
    because of which it is not fetching the data.The same query is working fine in Developement but fails in production may be because one new patch is updated.please help asap.

    Hi Ankita,
    Why you are going for select *
    Try This...
    SELECT SINGLE RWBTR
                  INTO v_RWBTR
                  WHERE LAUFD = RUN_DATE
                   AND  LAUFI = ID
                   AND  LIFNR = P0009-PERNR
                   AND  RZAWE = 'C'.
    MOVE v_RWBTR TO CASH.
    CASH = CASH * -1.
    Regards,
    Raj.

  • A time problem with a SQL sentence wit CRMD_SRV_OSSET Transparent table

    Hi,
    I 've  an issue when I Execute the "Verif. Extractor S-API" (RSA3 transaction). I checked this transaction, with this parameters:
    Datasource: 0CRM_OPPT_H
    Request ID             TEST
    Data Records / Calls   100
    Display Extr. Calls    10
    Update mode            F
    Selections: OBJECT_ID -> 0000002230, 0000002231
    When I Execute the transaction, previously I activated the SQL trace in ST05 transaction (to can check posssible problems).
    When the Process finished, I was looking the Display Trace and I looked that, for every item, the next SQL statement, needs 15 seconds per item. Really strange. In my case, normally I'll need process this SQL 3 million times, because I've 3 million items in CRMD_SRV_OSSET transparent table.
    Standard Function : CRM_SERVICE_OS_SELECT_S_DB
         Select statement:   "SELECT * FROM  CRMD_SRV_OSSET
                                                       INTO  TABLE LT_OSSET
                                                       WHERE GUID_SET = IV_GUID_SET
                                                       ORDER BY PRIMARY KEY  ."
    Can someone help me?
    Thanks,
    Sergio

    hi sergio,
    I am facing the same issue with my select query.
    The query is getting timed out because of huge data and hence the batch job is failing.
    I am using the primary key in the where clause.
          IF NOT lit_crmd_link_all_mass[] IS INITIAL.
            SELECT * FROM crmd_srv_osset INTO TABLE lit_crmd_srv_osset_mass
                  FOR ALL ENTRIES IN lit_crmd_link_all_mass
              WHERE guid_set = lit_crmd_link_all_mass-guid_set AND
             subject_profile IN (lc_prof_finance,lc_prof_hlc).
          ENDIF. " if not lit_crmd_link_all_mass[] is initial.
    how would i go about resolving this? could you help?
    Thank you,
    Zid.

  • Procedure for creating transparent table, data element and domain

    Hi,
    Can anybody let me know the procedure for creating transparent table, data element and domain.
    Thanks,
    Mahathi

    Hi
    Database table and its components
    A database table is the central data structure of the ABAP/4 data dictionary.
    The structure of the objects of application development are mapped in tables on the underlying relational database.
    The attributes of these objects correspond to fields of the table.
    A table consists of columns (fields) and rows (entries). It has a name and different attributes, such as delivery class and maintenance authorization.
    A field has a unique name and attributes; for example it can be a key field.
    A table has one or more key fields, called the primary key.
    The values of these key fields uniquely identify a table entry.
    You must specify a reference table for fields containing a currency (data type CURR) or quantity (data type QUAN). It must contain a field (reference field) with the format for currency keys (data type CUKY) or the format for units (data type UNIT). The field is only assigned to the reference field at program runtime.
    The basic objects for defining data in the ABAP Dictionary are tables, data elements and domains. The domain is used for the technical definition of a table field (for example field type and length) and the data element is used for the semantic definition (for example short description).
    A domain describes the value range of a field. It is defined by its data type and length. The value range can be limited by specifying fixed values.
    A data element describes the meaning of a domain in a certain business context. It contains primarily the field help (F1 documentation) and the field labels in the screen.
    A field is not an independent object. It is table-dependent and can only be maintained within a table.
    You can enter the data type and number of places directly for a field. No data element is required in this case. Instead the data type and number of places is defined by specifying a direct type.
    The data type attributes of a data element can also be defined by specifying a built-in type, where the data type and number of places is entered directly.
    <b>Two Level Domain Example</b>
    A domain defines a field technically and therefore it may
    be used at different business levels.
    A data element describes the meaning of a domain in a certain business context.
    A domain, however, is used for the technical definition of a table field (for example field type and length).
    Therefore, although a take-off airport (data element S_FROMAIRP) would have a different business meaning from an airport where a plane lands (data element S_TOAIRP), they could still have the same domain(here S_AIRPID) because technically we could assign the same number of characters whether the airport is a take-off or a landing airport.
    <b>Definitions of Table in Database</b>
    In SAP R/3 tables are defined as
    A) Transparent tables: All of the fields of a dictionary table correspond to a field in the real database table.
    B) Pooled tables: Different tables which are not linked to each other with a common key are combined into a TABLE POOL. Several logical tables thus exist as a single real database table.
    C) Cluster tables: Several tables linked by a common key may sometimes be combined by the data dictionary and made to exist on the database schema as a single table.
    SAP is evolving R/3 tables in transparent tables.
    <b>Elaboration on each of the definitions</b>
    A transparent table is automatically created on the database when it is activated in the ABAP Dictionary. At this time the database-independent description of the table in the ABAP Dictionary is translated into the language of the database system used.
    The database table has the same name as the table in the ABAP Dictionary. The fields also have the same name in both the database and the ABAP Dictionary. The data types in the ABAP Dictionary are converted to the corresponding data types of the database system.
    The order of the fields in the ABAP Dictionary can differ from the order of the fields on the database. This permits you to insert new fields without having to convert the table. When a new field is added, the adjustment is made by changing the database catalog (ALTER TABLE). The new field is added to the database table, whatever the position of the new field in the ABAP Dictionary.
    Tables can also reside on the database as Pooled tables or cluster tables
    Pooled Tables: Different tables which are not linked to each other with a common key can be combined into a Table Pool. The tables contained within this pool are called Pooled Tables. A table pool is stored in the database a simple table. The table's data sets contain, in separate fields, the actual key for the data set to be stored, the name of the pooled table and the contents of the data set to be stored.
    Using this schema, several logical tables are combined into a single real database table. Although the data structure of each set is lost during the write to the table pool, it is restored during the read by the ABAP/4 Data Dictionary. The ABAP/4 Data Dictionary utilizes its meta-data to accomplish this.
    Since information must be prepared (defined) within the ABAP/4 Data Dictionary when it is read or written to (or accessed), this process itself defines these as not transparent tables
    Cluster Tables: Occasionally, several tables may be linked by a common key. The ABAP/4 Data Dictionary can also combine these tables into a single table. Each data set of the real table within the database contains a key and in a single data field, several data sets of the subsequent table for this key.
    As mentioned above, these table types require special data handling, therefore they are not transparent tables.
    <b>Technical Settings in Dictionary</b>
    The data class logically defines the physical area of the database (for ORACLE the table space) in which your table should be created. If you choose the data class correctly, the table will automatically be created in the appropriate area on the database when it is activated in the ABAP Dictionary.
    The most important data classes are master data, transaction data, organizational data and system data.
    Master data is data that is rarely modified. An example of master data is the data of an address file, for example the name, address and telephone number.
    Transaction data is data that is frequently modified. An example is the material stock of a warehouse, which can change after each purchase order.
    Organizational data is data that is defined during customizing when the system is installed and that is rarely modified thereafter. The country keys are an example.
    System data is data that the R/3 System itself needs. The program sources are an example.
    Further data classes, called customer data classes (USER, USER1), are provided for customers. These should be used for customer developments. Special storage areas must be allocated in the database.
    The size category describes the expected storage requirements for the table on the database.
    An initial extent is reserved when a table is created on the database. The size of the initial extent is identical for all size categories. If the table needs more space for data at a later time, extents are added. These additional extents have a fixed size that is determined by the size category specified in the ABAP Dictionary.
    You can choose a size category from 0 to 4. A fixed extent size, which depends on the database system used, is assigned to each category.
    Correctly assigning a size category therefore ensures that you do not create a large number of small extents. It also prevents storage space from being wasted when creating extents that are too large.
    Modifications to the entries of a table can be recorded and stored using logging.
    To activate logging, the corresponding field must be selected in the technical settings. Logging, however, only will take place if the R/3 System was started with a profile containing parameter 'rec/client'. Only selecting the flag in the ABAP Dictionary is not sufficient to trigger logging.
    Parameter 'rec/client' can have the following settings:
    rec/client = ALL All clients should be logged.
    rec/client = 000[...] Only the specified clients should be logged.
    rec/client = OFF Logging is not enabled on this system.
    The data modifications are logged independently of the update. The logs can be displayed with the Transaction Table History (SCU3).
    Logging creates a 'bottleneck' in the system:
    Additional write access for each modification to tables being logged.
    This can result in lock situations although the users are accessing different application tables!
    <b>Create transparent table</b>
    Go to transaction SE11. Enter name of table you want to create (beginning with Y or Z) and click on create pushbutton
    Enter the delivery class and the table maintenance criteria
    The delivery class controls the transport of table data when installing or upgrading, in a client copy and when transporting between customer systems .
    The display/maintenance indicator specifies whether it is possible to display/maintain a table/view using the maintenance tools Data Browser (transaction SE16) and table view maintenance (transactions SM30 and SM31).
    Enter the name of the table field and the data element. The
    System automatically populates the technical details for
    existing data elements.
    So far as possible it is advisable to use existing data elements which befit the business requirements.
    However, we may create data elements if need be. The same is shown in the next slide.
    To create a data element simply double click on it.
    Alternately create a data element by simply choosing the
    data type radio button on SE11 initial screen.
    <b>Create data element</b>
    The system prompts you to create a new data element.
    Choose the Yes pushbutton.
    Under the data type tab enter the domain name which
    determines the technical characteristics of the field.
    Further characteristics tab: Allows you to specify a search help assigned to the data element.
    It also allows you to specify a parameter id which helps you populate a field from SAP memory.
    Field label: Can be assigned as prefixed text to a screen field referring to the ABAP Dictionary. The text is displayed on the screen in the logon language of the user (if the text was translated into this language).
    <b>Create domain</b>
    If the domain does not exist in the data dictionary the
    system prompts you to create one.
    Give the technical characteristics under the definition
    tab. Value range allows you value restriction at domain
    level.
    Value range tab:
    As explained in the section Consistency through input checks one can restrict the possible values for a field at domain level itself by either entering fixed values or by specifying a value table under the tab Value range.
    <b>Currency/Quantity fields in a table</b>
    A currency or a quantity field must be assigned a reference field from a reference table containing applicable qty unit or currency unit.
    Field of the reference table, containing the applicable quantity unit or currency
    A field containing currency amounts (data type CURR) must be assigned a reference field including the currency key (data type CUKY).
    A field containing quantity specifications (data type QUAN) must be assigned a reference field including the associated quantity unit (data type UNIT).
    <b>Create transparent table continue</b>
    Maintain the technical settings of the table by clicking on the tab

  • How to create a Maintenance view in order to update 4 tables

    Hello,
    I want to update 4 tables having the same key. MANDANT + SIRET (fiscal french ID).
    I try to create a maintenace view, i need to update the 4 tables using a single screen.
    When i use the relationship the system display a message "Relationships with unsuitable cardinality"
    The first table contain only the ID, the 3 others contains some informations (adress, name, and others)
    Thanks for your help
    Christophe

    Hello,
    you could check, if your other three tables have a correct foreign key definition on the field  SIRET.
    Tranaction SE11 -> pstion on the field and press the foreign key button.
    Check Table has to be your first table; cardinality has to be 1 :1 or 1 to N.
    Regards Wolfgang

Maybe you are looking for