Logic to lookup custom table

Hi All,
I have created a custom table like below.
Document Type     Cleared Flag
C1                      B
C2                      B
L1                      A
W1                      F
D1                      B
D2                      A
A1                      J
A2                     A
A3                     J
X1                     X
ZP                     E
T1                     Z
P1                     A
P2                     A
P3                     A
P4                     A
P5                     A
P6                     A
P7                     A
M1                     H
W3                     A
W2                    W
My report has some case logic like below.
case bkpf-blart.
    when 'C1'.
      move 'B' to t_sales_comp-cleared_flag.
    when 'C2'.
      move 'B' to t_sales_comp-cleared_flag.
    when 'L1'.
      move 'A' to t_sales_comp-cleared_flag.
    when 'W1'.
      move 'F' to t_sales_comp-cleared_flag.
    when 'D1'.
      move 'B' to t_sales_comp-cleared_flag.
    when 'D2'.
      move 'A' to t_sales_comp-cleared_flag.
    when 'A1'.
      move 'J' to t_sales_comp-cleared_flag.
    when 'A2'.
      move 'A' to t_sales_comp-cleared_flag.
    when 'X1'.
      move 'X' to t_sales_comp-cleared_flag.
    when 'ZP'.
      move 'E' to t_sales_comp-cleared_flag.
    when 'T1'.
      move 'Z' to t_sales_comp-cleared_flag.
  when 'P1'.                                         "VS001--
    when 'P1' or 'P2'.                                 "VS001++
          move 'A' to t_sales_comp-cleared_flag.
    when 'P3' or 'P4'.                                 "VD001++
          move 'A' to t_sales_comp-cleared_flag.
    when 'M1'.
      move 'H' to t_sales_comp-cleared_flag.
    when 'W3'.
      move 'A' to t_sales_comp-cleared_flag.
    when 'W2'.
      move 'W' to t_sales_comp-cleared_flag.
    when others.
      move space to t_sales_comp-cleared_flag.
  endcase.
Now i have to replace this CASE logic to look at this Ztable to populate t_sales_comp-cleared_flag.
Any body help in giving idea.
Regards,
Sai

Hi Sai,
instead of using Case why dont you use if statements as below.
select Document Type, Flag from Ztable into itab where blart = input blart(s).
loop at  t_sales_comp.
  read table itab into wa with key blart.
  if sy-sybrc = 0.
   move wa-flag to  t_sales_comp-cleared_flag.
   modify t_sales_comp transporting cleared_flag.
   clear t_sales_comp.
  endif.
endloop.
Hope this will help you.
<b><REMOVED BY MODERATOR></b>
Satish
Message was edited by:
        Alvaro Tejada Galindo

Similar Messages

  • Not able to insert in custom table.

    Hi All,
    I am trying to insert a row in a custom table.
    But getting the following error when the page opens up.
    oracle.jbo.RowCreateException: JBO-25017: Error while creating a new entity row for AllAreInOneEO.
    I am giving the details, what i have tried.
    Table
    create table apps.test_table
    PERSON_ID NUMBER(10) PRIMARY KEY,
    LAST_UPDATE_DATE DATE,
    LAST_UPDATED_BY NUMBER(15),
    LAST_UPDATE_LOGIN NUMBER(15),
    CREATED_BY NUMBER(15),
    CREATION_DATE DATE)
    AM
    package telenor.oracle.apps.ak.allareinone.server;
    import oracle.apps.fnd.framework.server.OAApplicationModuleImpl;
    // --- File generated by Oracle Business Components for Java.
    import oracle.apps.fnd.framework.OAViewObject;
    import oracle.jbo.Row;
    public class AllAreInOneAMImpl extends OAApplicationModuleImpl
    * This is the default constructor (do not remove)
    public AllAreInOneAMImpl()
    * Sample main for debugging Business Components code using the tester.
    public static void main(String[] args)
    launchTester("telenor.oracle.apps.ak.allareinone.server", "AllAreInOneAMLocal");
    * Container's getter for AllAreInOneVO1
    public AllAreInOneVOImpl getAllAreInOneVO1()
    return (AllAreInOneVOImpl)findViewObject("AllAreInOneVO1");
    public void createEmployee()
    System.out.println("3");
    OAViewObject vo = (OAViewObject)getAllAreInOneVO1();
    System.out.println("4");
    System.out.println(vo);
    System.out.println("4");
    if (!vo.isPreparedForExecution())
    System.out.println("In Exe -- Begin");
    vo.executeQuery();
    System.out.println("In Exe -- Begin");
    Row row = vo.createRow();
    vo.insertRow(row);
    row.setNewRowState(Row.STATUS_INITIALIZED);
    } // end createEmployee()
    * Commits the transaction.
    public void Create()
    getTransaction().commit();
    } // end apply()
    Controller
    /*===========================================================================+
    | Copyright (c) 2001, 2005 Oracle Corporation, Redwood Shores, CA, USA |
    | All rights reserved. |
    +===========================================================================+
    | HISTORY |
    +===========================================================================*/
    package telenor.oracle.apps.ak.allareinone.webui;
    import oracle.apps.fnd.common.VersionInfo;
    import oracle.apps.fnd.framework.webui.OAControllerImpl;
    import oracle.apps.fnd.framework.webui.OAPageContext;
    import oracle.apps.fnd.framework.webui.beans.OAWebBean;
    import oracle.apps.fnd.framework.OAApplicationModule;
    * Controller for ...
    public class AllAreInOneCO extends OAControllerImpl
    public static final String RCS_ID="$Header$";
    public static final boolean RCS_ID_RECORDED =
    VersionInfo.recordClassVersion(RCS_ID, "%packagename%");
    * Layout and page setup logic for a region.
    * @param pageContext the current OA page context
    * @param webBean the web bean corresponding to the region
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processRequest(pageContext, webBean);
    if (!pageContext.isFormSubmission())
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    am.invokeMethod("createEmployee", null);
    } // end processRequest()
    * Procedure to handle form submissions for form elements in
    * a region.
    * @param pageContext the current OA page context
    * @param webBean the web bean corresponding to the region
    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processFormRequest(pageContext, webBean);
    OAApplicationModule am1 = pageContext.getApplicationModule(webBean);
    System.out.println("In Process Form Request");
    if (pageContext.getParameter("Create") != null)
    am1.invokeMethod("Create");
    Requesting everybody's help.
    Regards,
    Subhra

    Subhra,
    Your observation is correct. generally if you are working on a custom table or a table without the WHO columns, then you need to use your EO class as abstract.
    --Shiv                                                                                                                                                                                                                                                                                                                                                                       

  • Urgent help needed in inserting data into a custom table in oracle WorkFlow

    Hi
    I am trying to get data from the WF and insert into a custom table..
    I read that workflow procedures WONT allow commits...
    Oracle Workflow will not support autonomous commits in any procedure it calls directly. If you need to perform commits, then embed your SQL in a subprocedure and declare it as an autonomous block. This subprocedure must be capable of being rerun. Additionally, note that Oracle Workflow handles errors by rolling back the entire procedure and setting its status to ERROR. Database updates performed by autonomous commits cannot be rolled back, so you will need to write your own compensatory logic for error handling
    Have anyone did this..
    Please give me some idea ...It is urgent
    I am getting data using getitemattribute..and try to insert it into a custom table
    thanks
    kp

    Pl do not post duplicate threads - insert dont work in Workflow
    Srini

  • How to populate date & time when user enter data for custom table in sm30

    Can anyone tell me How to populate system date & time when user enter data for custom table in sm30..
      Req is
      i have custom table and using sm30 user can enter data.
    after saving date i want to update date & time in table
    Pls let me know where to write the code?
    Thanks in Advance

    You have to write the code in EVENT 01 in SE54 transaction. Go to SE54, enter your Ztable name and in the menu 'Environment-->Events'. Press 'ENTER' to go past the popup message. In the next screen, click on 'New Entries'. In the first column, enter 01 and in the next column give some name for your routine(say UPDATE_USER_DATE_TIME). Then click on the souce code icon that appears in blue at the end of the row. In the code, you need logic like below.
    FORM update_user_date_time.
      DATA: f_index LIKE sy-tabix.
      DATA: BEGIN OF l_total.
              INCLUDE STRUCTURE zztable.
      INCLUDE  STRUCTURE vimtbflags.
      DATA  END OF l_total.
      DATA: s_record TYPE zztable.
      LOOP AT total INTO l_total.
        IF l_total-vim_action = aendern OR
           l_total-vim_action = neuer_eintrag.
          MOVE-CORRESPONDING l_total TO s_record.
          s_record-zz_user = sy-uname.
          s_record-zz_date = sy-datum.
          s_record-zz_time = sy-uzeit.
          READ TABLE extract WITH KEY l_total.
          IF sy-subrc EQ 0.
            f_index = sy-tabix.
          ELSE.
            CLEAR f_index.
          ENDIF.
          MOVE-CORRESPONDING s_record TO l_total.
          MODIFY total FROM l_total.
          CHECK f_index GT 0.
          MODIFY extract INDEX f_index FROM l_total.
        ENDIF.
      ENDLOOP.
    ENDFORM.                    " UPDATE_USER_DATE_TIME
    Here ZZTABLE is the Z table and ZZ_USER, ZZ_DATE, and ZZ_TIME are the fields that are updated.

  • Custom table - delivery class?

    I need to create a z-table to list the email-ids that I want to notify to, in case of program errors. Should I make the delivery class of this table 'C'? And is best practise to make the data transportable? Or should my users just enter data in each system.
    I am kind of confused...Could any of you please clear me on this concept of Deliver class please. Your help is very much appreciated.
    thanks!

    Vishnu,
    Did you try? I tried these things long back and documented the behavior
    May be you tried it very long back, indeed. Atleast for releases > ECC6.0 EhP3 client-independent customizing tables prompt for WB requests.
    ... C, G, and E will only trigger customizing requests ....
    Unfortunately you're wrong! Did you check the transaction FILE? All the tables involved are of Delv. Class 'G'; but still when you try to save a logical file it asks for a WB request, ever wondered why?
    Still not convinced, check [this|https://picasaweb.google.com/lh/photo/kBwoENEIkUTsGuJUTn9Q5tMTjNZETYmyPJy0liipFm0?feat=directlink]!
    Suhas Saha wrote. "Customizing TRs are raised for client-dependent tables & workbench for client-independent ones!"
    This was w.r.t customizing tables & not application tables, as you were talking about customizing tables in your previous response.
    I can create a table with MANDT assign delivery class A or S and can trigger workbench requests on it.
    I know it does. IMHO type 'A' tables are for storing master and/or transational data & it does not make sense to transport these data.  For e.g., BKPF is type 'A' & not transportable, but T001 is type 'C' & transportable.
    If i want to transport the data across my landscape i would make it 'C' & not 'A'.
    BR,
    Suhas

  • Logic to get customer balance confirmation at profit center level.

    Hi All
    Please help me understand the logic to get customer balance confirmation at profit center level.(not at company codewhichis available)
    On what basis developments can be done.
    Detailed and early Inputs will be appreciated
    Thanks in advance.
    vadapav

    Hi
    First of all, I liked your user name...
    I have a basic question with regards to your requirement... Customer is an external party... he has got nothing to do with your internal definition of profit centers..
    Hence, if Customer A is buying goods from you belonging to Pr Ctr B and C - He wlil expect you to send a balance conf letter which aggregates total balance... He will be, in no way, concerned with your internal division of profit center wise balance
    Still, if you would like to go ahead with your requirement ,  then identify the open line items from BSID or BSAD (I dont know which one of these stores open line items) , Take that document no to table FAGLFLEXA and identify your profit center... This is assuming you are on ECC 6.0 and use New GL
    If you are not on ECC 6.0, then identify the open line items from BSID or BSAD and Take that document no to table  BSEG and read the profit center from revenue line item.. These revenue accounts can be included in a SET created in GS01 rather than hard coding in the program
    Regards
    Ajay M

  • For all entries on custom tables

    i have created 2 custom tables::zhospital_info n zpatient_info..
    zhospitalinfo tab fields:::_
    doc_name::prim key
    patient_name:::prim key
    place::prim key
    zpatientinfo tab fields::_
             ZDATE ::prim key
             JOINING
             MEDICINE
             PRICE
             QUANTITY
             DOC_NAME ::for key
             PATIENT_NAME::for key
             PLACE ::for key
    and inserted some values to the table contents..
    this is my logic:::
    TYPES: BEGIN OF ZHOSPITAL_INFO,
            DOC_NAME TYPE ZDOC_NAME,
            PATIENT_NAME TYPE ZPATIENT_NAME,
            PLACE TYPE ZPLACE,
           END OF ZHOSPITAL_INFO.
    DATA: W_HI TYPE ZHOSPITAL_INFO.
    DATA:T_HI TYPE STANDARD TABLE OF ZHOSPITAL_INFO.
    TYPES: BEGIN OF ZPATIENTL_INFO,
             ZDATE TYPE ZDATE,
             JOINING TYPE ZJOINING,
             MEDICINE TYPE ZMEDICINE,
             PRICE TYPE ZPRICE,
             QUANTITY TYPE ZQUANTITY,
             DOC_NAME TYPE ZDOC_NAME,
             PATIENT_NAME TYPE ZPATIENT_NAME,
             PLACE TYPE ZPLACE,
           END OF ZPATIENTL_INFO.
    DATA: W_PI TYPE ZPATIENTL_INFO.
    DATA:T_PI TYPE STANDARD TABLE OF ZPATIENTL_INFO.
    TYPES: BEGIN OF FTAB,
            DOC_NAME TYPE ZDOC_NAME,
            PATIENT_NAME TYPE ZPATIENT_NAME,
            PLACE TYPE ZPLACE,
            DATE TYPE ZDATE,
            JOINING TYPE ZJOINING,
            MEDICINE TYPE ZMEDICINE,
            PRICE TYPE ZPRICE,
            QUANTITY TYPE ZQUANTITY,
           END OF FTAB.
    DATA: W_FTAB TYPE FTAB,
          T_FTAB TYPE STANDARD TABLE OF FTAB.
    SELECT DOC_NAME
           PATIENT_NAME
           PLACE
           INTO TABLE t_hi
           FROM ZHOSPITAL_INFO .
    IF NOT t_hi IS NOT INITIAL.
    SELECT DOC_NAME
           PATIENT_NAME
           PLACE
           ZDATE
          MEDICINE*
           PRICE
           QUANTITY FROM ZPATIENTL_INFO INTO TABLE t_pi FOR ALL ENTRIES IN
    t_hi
           WHERE DOC_NAME = t_hi-doc_name.
    ENDIF.
    LOOP AT t_pi INTO w_pi.
    MOVE-CORRESPONDING: w_pi TO W_FTAB.
    READ TABLE t_hi INTO w_hi WITH KEY DOC_NAME = W_FTAB-DOC_NAME.
    MOVE: w_hi-patient_name TO W_FTAB-PATIENT_NAME,
          w_hi-place TO W_FTAB-PLACE.
          APPEND W_FTAB TO T_FTAB.
    ENDLOOP.
    LOOP AT T_FTAB INTO W_FTAB.
       WRITE:/ W_FTAB-DOC_NAME,
               W_FTAB-PATIENT_NAME,
               W_FTAB-PLACE,
               W_FTAB-DATE,
               W_FTAB-JOINING,
               W_FTAB-MEDICINE,
               W_FTAB-PRICE,
               W_FTAB-QUANTITY.
    ENDLOOP.
    req output:::when i enter doc_name the related info accr to doc_name from the both tables should be display..
    m getting no errors but i cant execute my prog..
    please check out my code...
    thanx in adv..

    Hi,
    The problem is in the select statement:
    SELECT DOC_NAME
    PATIENT_NAME
    PLACE
    ZDATE
    MEDICINE
    PRICE
    QUANTITY FROM ZPATIENTL_INFO INTO TABLE t_pi FOR ALL ENTRIES IN
    t_hi
    WHERE DOC_NAME = t_hi-doc_name.
    Change this to SELECT DOC_NAME PATIENT_NAME PLACE ZDATE MEDICINE PRICE QUANTITY FROM ZPATIENTL_INFO INTO CORRESPONDING FIELDS OF TABLE t-pi FOR ALL ENTRIES IN t_hi WHERE DOC_NAME = t_hi-doc_name.
    I hope the above code will help you...
    Also i hope to tell the following for performance issues and also a good programming practice:
    LOOP AT t_pi INTO w_pi.
    MOVE-CORRESPONDING: w_pi TO W_FTAB.
    READ TABLE t_hi INTO w_hi WITH KEY DOC_NAME = W_FTAB-DOC_NAME.
    MOVE: w_hi-patient_name TO W_FTAB-PATIENT_NAME,
    w_hi-place TO W_FTAB-PLACE.
    APPEND W_FTAB TO T_FTAB.
    ENDLOOP.
    Please do a sy-subrc check after READ statement always...
    LOOP AT t_pi INTO w_pi.
    MOVE-CORRESPONDING: w_pi TO W_FTAB.
    READ TABLE t_hi INTO w_hi WITH KEY DOC_NAME = W_FTAB-DOC_NAME.
    If sy-subrc = 0.
    MOVE: w_hi-patient_name TO W_FTAB-PATIENT_NAME,
    w_hi-place TO W_FTAB-PLACE.
    clear w_hi.
    Endif.APPEND W_FTAB TO T_FTAB.
    ENDLOOP.
    Please revert back for clarifications.
    Best Regards,
    Suresh

  • For custom tables should we use UTC for date/time fields

    A general question.
    Can anyone confirm that SAP does seem to be moving towards storing date/time in UTC format?
    We're building custom tables and we're making it a standard to store date/time fields in UTC format.
    Regards,
    Lavaughn

    Hello Lavaughn,
    I can not speak for SAP, but from my personal experience TimeStamps are the state of the art to store time date info in db tables. Even with date/Time fields a conversion to the local timezone is necessary. Of course you can reuse your db definition on dynpros. But since UI and business logic will be divided anyway this is also not really a valid point.
    Best Regards
    Klaus

  • Adding new field in customized table ZPM_QMEL_EXT

    Hi all,
    My requirement is  to add a new field in ZPM_QMEL_EXT table numeric field no of  months due (ZZ_CO_MON_DUE) .
    Its value will be calculated as the # of invoices that were paid vs. what has not been paid and then from there, value of this field will be fetched.It has to be populated during the time of notifcation screen entry (iw51). The logic will be similar to this
      SELECT FAEDN FROM DFKKOP INTO TABLE IT_DU_DT
                                  WHERE GPART EQ WA_QMEL-KUNUM AND
                                        VKONT EQ WA_QMEL-ZZ_VKONT.
        SORT IT_DU_DT BY FAEDN ASCENDING.
        READ TABLE IT_DU_DT INTO WA_DU_DT INDEX 1.
        MOVE WA_DU_DT-FAEDN TO DUE_DT.
        CALL FUNCTION 'HR_MONTHS_BETWEEN_TWO_DATES'
          EXPORTING
            I_DATUM_BIS = SY-DATUM
            I_DATUM_VON = DUE_DT
          IMPORTING
            E_MONATE    = NO_MT.
        IF NO_MT IN P_DU_MT.
          WA_QMEL-DUE_MONTHS = NO_MT.
    Awaiting your kind help .
    Thanks
    hariom.

    Hi,
    There is only one option to include extra field for standard tables that is Append Structure other than we don't have any option.
    For Customizing tables we can use Append structure as well as Include Structure.
    Rules: Append Structure should be in last in Field column but include structure you can insert in any where it means between the fields.
    Delivery class option  and data class will take care automatically while upgrading the sap system one version to Another version.(upgrading).
    For that you should maintain the those properties when data base table creation.
    i hope the above information may helpful to you.
    Best Regards
    Sreenivas Pachva

  • Maintain lookup/hierarchy tables from Netweaver Portal

    How do we maintain loopup/ hiearchy tables from SAP Portal instead of data manager?  Is this part of standard delivered portal content iviews or we need to create custom code to perform this?
    Any pointer or guidance or best practice would be greatly appreciated.
    Thanks in advance.

    Hi,
    I think it is not possible to maintain lookup / hierarchy table directly on portal, you can create lookup / hierarchy data on MDM data manager and by using standard Business content of MDM iview  or by customizing iview you can represent hierarchy data to portal
    refer following link for MDM Portal Content Development Guide
    http://help.sap.com/saphelp_nwmdm71/helpdata/en/45/c87d0243e56f75e10000000a1553f6/frameset.htm
    Thanks,
    Jignesh Patel

  • How to "auto" generate "Primary Key" in custom table?

    Hi Folks,
    Requirement:
    I need a function module or program that can create automatically a primary key.
    Scenario:
    I have a program that creates an entries and save it to a custom table at the same time, but a primary key should always be generated respective to the entries saved.
    Example:
    Material(MATNR) 4001001, Plant(WERKS) XX01, ID[Primary Key-auto generated]
    (I'm thinking of a similar concept/logic on how a unique IDOC number is being generated or how SAP standard creates a unique entry)
    I try to look for any SAP FM that can generate a PK, but there's no luck.
    Thanks.
    Regards,
    Jun

    Hi Keshu and All,
    The links are helpful, however:
    #1. I don't have authorization to create a new object in transaction SNRO, but the way I see the objects in SNRO is just for defining the length(number of characters) for the ranges that will be use if I'm not mistaken.
    #2. FM NUMBER_GET_NEXT - yes it can populate incremental unique entries but it's only occurring at runtime ?? So when the program get terminated it's not being saved nowhere.
    So after if I use FM NUMBER_GET_NEXT, I always have to look for all the last primary key in my custom table, then target it as my starting point for creating a new PK.  I think this will give a performance issue, any comments?
    For better visualization, I have scenario:
    1.  (ZQ_CREATE_PK) Create unique incremental PK for material, batch, so on..
    2.  Append line/entries to ZQ_TABLE
    3.  Repeat #1 and #2
    4.  User exits the program
    5.  Back to 1 --> At this point, I need to get the "LATEST" PK then start this as a starting point again to generate PK and append it to ZQ_TABLE
    I'm assuming that SAP has other SAP FMs related in creating this scenario.   Similar to IDOC # creation..
    Thanks.

  • Database Design - Multiple Customer Tables

    Scenario:
    - Let's say there are various customer "types"
    - Each one has a set of attributes which is only applicable to that customer type.
    - You have a table for orders that is for all customers
    - Want to treat it as one customer table for reports, updates, etc...
    The solution we've come up with is to basically have a lookup table which allows you to lookup the table the customer record exists in. The order table would have a "customer type" column to key off of. You then use a view to fill in the missing columns from each table for say a global query.
    I'm assuming this is a common business problem so thought I would ask the experts if there's a "best practice" for solving this problem.
    Thanks

    Think vertically ... not horizontally.
    An infinite number of attributes can be stored in finite space if you do. For example:
    CREATE TABLE horizontal (
    customer_id    NUMBER,
    attribute_val1 VARCHAR2(20),
    attribute_val1 VARCHAR2(20),
    attribute_val1 VARCHAR2(20));
    CREATE TABLE vertical (
    customer_id     NUMBER,
    attribute_name VARCHAR2(20),
    attribute_value  VARCHAR2(20),The first example requires you to add a column and break everything every time you add a new attribute. The second keeps right on working.

  • ALE/IDOC Change Pointers for Custom Table

    Hello all,
       There is a requirement for my client, to trigger IDOC based on the Custom Table changes. The custom table has a maintenance view and will be updated/modified/deleted randomly by user. Now, i need to track the changes in that table and should trigger IDOC for the changes. The Message type i am using for this is MATMAS, as I need to incorporate changes to the same IDOC.
        Is it ok to modify BDCP/BDCPS tables to update the changes from custom table? The Custom Table changes can be tracked through DBTABLOG......and i have my logic to trigger the IDOC
      The question is: If i do modifications to BDCP and BDCPS, how this will impact? In future SAP upgrade/enhancements will this affect anyway? Can any one of you share your experience regarding this. Thanks.

    Hi Raja,
    You can send IDOC based on  table maintenance event
    I think you can code in event 02, to generate IDOC.
    Check below link:
    http://help.sap.com/saphelp_nw04/helpdata/en/91/ca9f0ea9d111d1a5690000e82deaaa/frameset.htm
    Regards,
    Nisha Vengal.

  • How to capture - Custom tables change log

    Hi,
    I need to maintain the change logs for Cutom tables. But, my custom table contains the fields with data type DEC. So, i am getting the record as "####" for DEC fields.
    These values, i have captured in Table Maintenance generator Flow Logic Editor - In the loop of EXTRACT or TOTAL.
    PROCESS AFTER INPUT.
    MODULE LISTE_EXIT_COMMAND AT EXIT-COMMAND.
    MODULE LISTE_BEFORE_LOOP.
    LOOP AT EXTRACT.
    ENDLOOP.
    So, can you please help me to find the solution?
    Regards,
    Srinivas
    200AR99#u200C######   MUKKAVILLI  20090728
    200AT02###u200C####   MUKKAVILLI  20090731

    Hi,
    Please refer to the following link
    http://www.saptechies.com/how-to-activate-the-img-change-log/
    Track Table chnages
    Hope this helps.
    Regards,
    Swetha

  • I want to update the Custom table using the data available in ITAB.

    Hi,
    I want to updaste the Custom Table which is created by me (Ztable) using the data available in itab.(which i got from defferent standard tables)
    I want to update the custom table using the itab data How is it possible?
    Is any possible by using Modify ?
    DPK.

    example here
    modifying datbase table useing internal table
    advises before updating this datbase table plz lock that table to avoid incosistency
    write the logic for modifying
    Modify the database table as per new dunning procedure
    MODIFY fkkvkp FROM TABLE lt_fkkvkp .
    and finally unlock the table
    example
    *To lock table for further operations
    constants: lc_tabname TYPE rstable-tabname VALUE 'FKKVKP' . "FKKVKP
    CALL FUNCTION 'ENQUEUE_E_TABLE'
    EXPORTING
    tabname = lc_tabname
    EXCEPTIONS
    foreign_lock = 1
    system_failure = 2
    OTHERS = 3.
    IF sy-subrc EQ 0.
    To fetch all the contract accounts for customers of the segment
    Households/SME.
    PERFORM fetch_contract_accounts using lc_tabname .
    ENDIF. " IF sy-subrc EQ 0.
    *wrote the logic
    Modify the database table as per new dunning procedure from internal table
    MODIFY fkkvkp FROM TABLE lt_fkkvkp .
    *unlock the tbale
    CALL FUNCTION 'DEQUEUE_E_TABLE'
    EXPORTING
    TABNAME = uc_tabname .

Maybe you are looking for

  • ITunes 8.1 Genius STILL not working

    I've tried so many things here I've deleted the Genius library files, everywhere. Not a single genius library file left. I've reinstalled the entire PC I've even attempted some basic registry tweaks but absolutley nothing works. Every time I click on

  • How to avoid index_join

    11gR2 I have a query getting degraded due to index$_join$ operations on bitmap indexes (BITMAP CONVERSION TO ROWIDS). Is there any way or any hint to ignore index_join ? It is an OBIA query (Packaged application) SQL explain plan for select sum(case 

  • Image Does Not Show Up in Downloads

    Hey everyone- My podcast can be found at: https://itunes.apple.com/us/podcast/core-training-for-distance/id826714987 (I am still working on some of the meta tags...) My question is this. My image shows up fine in the iTunes store. However, when you g

  • Icloud ruined my life

    I'm sure it was user error somewhere down the line, but i have a terrible situation and i just dont know how to rectify it. I have an Iphone 4 and a recently acquired ipad2. I sync these with my pc via itunes using usb. everything has been great unti

  • HT1349 How to separate iTunes accounts?

    Hi, My teenaged daughter and i each have our own individual iPod touch. We used to use the same computer to sync our devices and now seem to have one library even though we have our own apple ID's. It is very time consuming to have to change the sett