Table SOFFPHF : usage of File_Name=FILE0001

Hello experts,
We have been asked to analyze the content of table SOFFPHF ( and also SOFFCONT1 & SOC3)
In SOFFPHF for field 'FILE_NAME' we can find names like
filename123456.xls
filename1234.doc
filename098765.jpg
filename12345.pdf
and other meaningful names and are related to attachments.
My question is, why 80% of the entries have 'FILE0001' in field 'FILE_NAME'?
And many of them have the same 'FILE_SIZE'.
How these entries are created?
How can we tell what is the content exactly?
Further more, if we do the sum of the FILE_SIZE of all the entries, the total size is greater than
the physical size of table SOFFCONT1 + SOC3... Is it normal?
Thank you for clarifying.
Stephan

Stephan,
Did you find answer to your question? We see the same in our system. Any pointers will be useful.
Thank you,
James

Similar Messages

  • Link between table SOFFPHF and FI document

    Hello Experts,
    I have a requirement to find all the FI documents with the attachement .
    We have a table SOFFPHF (SOFF: Files of Physical Information Objects) where i can get the details of attachement, But now how to link this table with the FI document which has this attachement.
    I tried the link using table SRGBTBREL , But i am not getting entries from table SOFFPHF in this table.
    Thanks.
    Regards,
    Ganesh.

    Hi Shivkumar,
    When you enter the item category as 'D'then a purchase order is
    classified as a service purchase order.
    When you use ML81N to perform a service entry, then automatically
    the GR document is generated.The basis for this is a service can
    only be performed and cannot be stored.
    The PO history table will give you a good idea of the relation.
    You can check the EKBE table.Enter the service entry sheet number
    in the field LFBNR of EKBE table, enter the SES number, you will
    see all the documents associated with it.

  • Where does SAP do inserts to table SOFFPHF ?

    Table SOFFPHF has data in the customer's system.
    But when I do a "where-used" on this table, I only get back the two places
    that I'm using it.
    Where the heck is SAP doing updates to this table ?
    I think that "where-used" doesn't find it because it's being accessed like this somewhere:
    SELECT ... FROM ( filetab) ...
    INSERT .... ( filetab)  ....
    etc.
    But where does SAP insert into it?

    not needed - aRs answered the real question

  • Significance of S_ETL_DAY & S_ETL_TIME_DAY tables in "Usage Tracking"

    Hello Experts,
    I am working with Usage Tracking.
    I found that there are tables S_ETL_DAY & S_ETL_TIME_DAY tables.
    Can you please explain me the significance of these tables and what is the job of those. I just googled for it but no luck.
    How these tables data updated and used if i want to implement usage tracking for my project? (real time)
    Thanks in advance

    Hi.
    S_ETL_DAY and S_ETL_TIME_DAY are time dimension tables. One has day and other has day-time as granularity.
    They are used in usage tracking option along with S_NQ_ACCT which joins them.
    Joins are:
    S_ETL_DAY.DAY_DT = S_NQ_ACCT.START_DT
    and
    S_ETL_TIME_DAY.HOUR_MIN = S_NQ_ACCT.START_HOUR_MIN
    They are also used for time series calculations. If you see, they have AGO columns.
    Regards
    Goran
    http://108obiee.blogspot.com

  • Table for usage and Startegy

    Hi all,
    While Entering Strategy and Usage in T-code CS02 for Item level Materials Table STPO gets updated with the values what we entered in the CS02 screen.
    I need to know which Table Holds the Calculation Value of Strategy and Usage ?
    EX:Strategy - 1 (Manual Entry)
         Usage    - 2
    Which Table Stores the Required Quantity? For Example,if the demand is 100 and usage is 2 the required is 2%of100 = 2.

    Before you hit save in your transaction start an SQL trace (transaction ST05) in a different session. Now hit save and wait until all update tasks are finished. Don't do anything else until you deactivate the trace again. When you now look at the SQL trace it will list all the tables that have been updated on the DB during SAVE. You should find the table you are looking for in that list.
    It is also possible that it doesn't store the required qty. at all but calculates it at runtime, then this is what you would have to do as well.
    Hope that helps,
    Michael

  • Temporary table space usage

    Hi could someone help me ...
    for the following query...
    SELECT returnflag
    , linestatus
    , sum(quantity) as sum_qty
    , sum(extendedprice) as sum_base_price
    , sum(extendedprice * (1 - iscount)) as sum_disc_price
    , sum(extendedprice * (1 - iscount) * (1 + l_tax)) as sum_charge
    , avg(quantity) as avg_qty, avg(extendedprice) as avg_price
    , avg(iscount) as avg_disc, count(*) as count_order
    FROM lineitem
    WHERE shipdate <= date '1998-12-01'
    GROUP BY returnflag, linestatus
    ORDER BY returnflag, linestatus;
    Explain Plan :
    | Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
    | 0 | SELECT STATEMENT | | 5 | 135 | 299K (2)| 01:00:00 |
    | 1 | SORT GROUP BY | | 5 | 135 | 299K (2)| 01:00:00 |
    |* 2 | TABLE ACCESS FULL| LINEITEM | 57M| 1493M| 297K (1)| 00:59:35 |
    Predicate Information (identified by operation id):
    2 - filter("L_SHIPDATE"<=TO_DATE(' 1998-09-02 00:00:00',
    'syyyy-mm-dd hh24:mi:ss'))
    would any parts of this query be carried out on the temporary table space (sums and averages? / sort group by?) ... or what impact would the temp table space have when running this query?
    any help would be appriciated

    im using 11g r2,
    what about usage of temporary table space (approximatly) with the following ..
    ============================================
    create view revenue (supplier_no, total_revenue) as
    select
    suppkey, sum(extendedprice * (1 - iscount))
    from
    lineitem
    where
    shipdate >= date '1994-12-01'
    group by
    suppkey;
    select suppkey, name, address, phone, total_revenue
    from supplier, revenue
    where suppkey = supplier_no and total_revenue = (select max(total_revenue)from revenue)
    order by suppkey;
    ==========================================================
    View created.
    Execution Plan
    Plan hash value: 2790460729
    | Id | Operation | Name | Rows | Bytes |TempSpc| Cost (%CPU)|
    Time |
    | 0 | SELECT STATEMENT | | 50000 | 5126K| | 381K (1)|
    01:16:23 |
    | 1 | MERGE JOIN | | 50000 | 5126K| | 381K (1)|
    01:16:23 |
    | 2 | SORT JOIN | | 100K| 3027K| | 380K (1)|
    01:16:09 |
    |* 3 | VIEW | REVENUE | 100K| 3027K| | 380K (1)|
    01:16:09 |
    | 4 | WINDOW BUFFER | | 100K| 2148K| | 380K (1)|
    01:16:09 |
    | 5 | HASH GROUP BY | | 100K| 2148K| 1207M| 380K (1)|
    01:16:09 |
    |* 6 | TABLE ACCESS FULL| LINEITEM | 34M| 733M| | 297K (1)|
    00:59:35 |
    |* 7 | SORT JOIN | | 50000 | 3613K| 8712K| 1182 (1)|
    00:00:15 |
    | 8 | TABLE ACCESS FULL | SUPPLIER | 50000 | 3613K| | 308 (1)|
    00:00:04 |
    Predicate Information (identified by operation id):
    3 - filter("TOTAL_REVENUE"="ITEM_1")
    6 - filter("L_SHIPDATE">=TO_DATE(' 1994-12-01 00:00:00', 'syyyy-mm-dd
    hh24:mi:ss'))
    7 - access("S_SUPPKEY"="SUPPLIER_NO")
    filter("S_SUPPKEY"="SUPPLIER_NO")
    Statistics
    =========================================================
    presumably temp table space will be used for sort and merge joins? .. but how does temp table space work with the view?

  • Webdynpro for ABAP treeBynesting table column Usage

    Hi Experts,
    I am trying to use treeByNesting table column in webdynpro for ABAP.
    Can anyone please share me the code.
    I am not getting how to use the recursive node.
    I need to develop a tree structure whose leaf if determined at run time, so thought to use this UI element. But right now I am getting an error like : ASSERTION FAILED.
    Please suggest how to use recursive node and how to load the child.
    Regards,
    Kalyani.

    Hello friend,
    I think these links will help you much in solving your error.
    Please visit these links,
    http://wiki.sdn.sap.com/wiki/display/WDABAP/WebDynProABAPApplicationusingTreeand+Frame
    http://www.****************/Tutorials/WebDynproABAP/Tree/Page1.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/21/ad884118aa1709e10000000a155106/content.htm
    Thanks,
    Sri Hari

  • Suggestions On Table design - Usage of Nested Tables.

    Hi All,
    DB Vesion - 10.2.0.1.0
    We have an existingtable say, REPORT_MASTER with more than 4 Million records.( 27 Columns )
    Now the requirement is as follows: Every day, a job has to run to upadte each row in the REPORT_MASTER table. ( COLUMNs to be updated are new columns -to be designed)
    Rules for the updation are generated dynamically depending on a parameter table.
    In total, more than 500 update statement will run for updating the whole table (it is not possible reduce the number of updations). Now after the updation the records in the table will be like
    ExistingColumns     NewColumn1     NewColumn2     NewColumn3     ........
    ........     BRF01.1          BRF02.5          BRF03.1          .......
    ........     BRF01.3          BRF02.1          BRF03.2          .......
    ........     ......          ......          ......          ......First few updates, for example will update "NewColumn1". Next few updates will update "NewColumn2" and so on..
    Now My Query is about designing the new columns:
    1.If I did as the above sample output there should be 37 new columns as per current requiremnent. It can increase when new report is required.
    2.If I go for a Nested Table, my concern is about the update statement. Is there any way to achieve the below code..
          update report_master
         set new_nested_tab_col(5) =  'BRF02.6'
         where .....
        And also how will be the performance?
    3.If I go for a detail table, it will have a size of almost 37 times that of master_table.
    I have to loop through this table (ofcourse with joining to the master table) 37 times again afetr updation for report generation. (This is required anyhow, but here data volume is high)
    4. Other methode, ofcourse not very professional, is to keep a single varchar2 column and update that column, so that it will have value like
    BRF01.1,BRF02.3,BRF03.1....
    Or any other better alternative..?
    Please suggest.
    Thanks in advance,
    Jeneesh
    Edited by: jeneesh on Apr 13, 2009 11:36 AM
    Update statements will be like as follows, if the basic design is selected :
    update REPORT_MASTER set NEW_COLUMN1 = 'BRF01.1' where dynamic_condition1 and NEW_COLUMN1 is not null;
    update REPORT_MASTER set NEW_COLUMN1 = 'BRF01.2' where dynamic_condition2 and NEW_COLUMN1 is not null;
    update REPORT_MASTER set NEW_COLUMN2 = 'BRF02.1' where dynamic_condition25 and NEW_COLUMN2 is not null;
    ...Edited by: jeneesh on Apr 13, 2009 12:40 PM
    Taking it to front....
    Edited by: jeneesh on Apr 14, 2009 8:37 AM
    Still I am not comfortable to use 37 columns..

    APC wrote:
    Not sure what you're expecting from us. I'm afraid you haven't explained your scenario clearly, so it's difficult to offer design advice. I will try to explain better:
    Basically, requirement is to generate 37 (BRF01 to BRF37) reports from the table CRB_OUTPUT_VIEW_TAB.
    (This is the Master Data Table - In the original thread I have mentioed it as REPORT_MASTER).
    Each report needs to apply different rules. For this, a RULE table(Parameter table) is provided.
    Master Data Table
    SQL> desc crb_output_view_tab
    Name                                      Null?    Type
    COMPANY                                            VARCHAR2(240)
    GLNO                                               VARCHAR2(144)
    CURRENCY                                           VARCHAR2(15)
    CUSTOMER_NAME                                      VARCHAR2(240)
    ACC_DEAL_NO                                        VARCHAR2(29)
    FCY                                                VARCHAR2(18)
    LCY                                                VARCHAR2(18)
    INT_EXH_RT                                         NUMBER
    VALUE_DATE                                         VARCHAR2(10)
    MAT_DATE                                           VARCHAR2(10)
    CUSTOMER                                           VARCHAR2(50)
    BRANCH                                             VARCHAR2(25)
    INT_BASIS                                          VARCHAR2(10)
    OGLKEY                                             VARCHAR2(207)
    SECTOR                                             VARCHAR2(6)
    INDUSTRY                                           VARCHAR2(6)
    TARGET                                             VARCHAR2(2)
    RESIDENCE                                          VARCHAR2(2)
    NATIONALITY                                        VARCHAR2(2)
    REPORT_DATE                                        VARCHAR2(11)
    GL_DESC                                            VARCHAR2(50)
    PORTFOLIO                                          VARCHAR2(10)
    LOAN_TYPE                                          VARCHAR2(10)
    EXH_RT                                             NUMBER
    BLSHEET                                            VARCHAR2(50)
    SOURCE                                             CHAR(3)
    CATEGORY                                           VARCHAR2(6)
    BRF_CODE                                           VARCHAR2(20)
    DR_CR                                              VARCHAR2(6)
    NA                                                 VARCHAR2(6)
    Rules - Master Table
    SQL> select * from brf_parameters order by brf_id,seq;
      PARAM_ID BRF_ID            SEQ BRF_CODE             COLUMN_NAME                    DATA_TYPE                                                                                     
             2 BRF01               1 BRF010001            GLNO                           CHAR                                                                                          
             1 BRF01               1 BRF010001            CURRENCY                       CHAR                                                                                          
             3 BRF01               2 BRF010002            GLNO                           CHAR                                                                                          
             4 BRF01               3 BRF010006            GLNO                           CHAR                                                                                          
             6 BRF01               4 BRF010008            GLNO                           CHAR                                                                                          
             5 BRF01               4 BRF010008            RESIDENCE                      CHAR 
    390 BRF02               1 BRF020001            RESIDENCE                      CHAR                                                                                          
           391 BRF02               1 BRF020001            BRF_PARENT                     CHAR                                                                                          
           392 BRF02               2 BRF020002            RESIDENCE                      CHAR                                                                                          
           393 BRF02               2 BRF020002            INDUSTRY                       CHAR                                                                                          
           394 BRF02               2 BRF020002            BRF_PARENT                     CHAR    
    Rules -  detail Table: (Linked to brf_parameters by param_id)
    SQL> select * from brf_param_values where param_id in (1,2);
      PARAM_ID CONDITION            VALUE1                         VALUE2
             1 IN                   AED
             2 IN                   0010
    SQL> ed
    Wrote file afiedt.buf
      1  select p.seq,p.brf_id,p.brf_code,p.column_name,v.condition,v.value1,v.value2
      2  from brf_parameters p,brf_param_values v
      3  where p.param_id = v.param_id
      4* order by p.brf_id,p.seq,p.param_id
    SQL> /
           SEQ BRF_ID     BRF_CODE             COLUMN_NAME                    CONDITION            VALUE1                         VALUE2                                               
             1 BRF01      BRF010001            CURRENCY                       IN                   AED                                                                                 
             1 BRF01      BRF010001            GLNO                           IN                   0010                                                                                
             2 BRF01      BRF010002            GLNO                           IN                   0010                                                                                
             3 BRF01      BRF010006            GLNO                           IN                   0030                                                                                
             4 BRF01      BRF010008            RESIDENCE                      IN                   AE                                                                                  
             4 BRF01      BRF010008            GLNO                           IN                   0040                                                                                
             5 BRF01      BRF010009            GLNO                           IN                   0040                                                                                
             6 BRF01      BRF010004            GLNO                           IN                   0050                                                                                
             6 BRF01      BRF010004            CATEGORY                       IN                   5001                                                                                
             6 BRF01      BRF010004            DR_CR                          IN                   Debit                                                                               
             7 BRF01      BRF010049            DR_CR                          IN                   Debit    For genarating the report BRF01 :
    Updation will be done based on each "SEQ" value shown above. So..
    Ist update: (Generated from SEQ = 1 for BRF_ID = BRF01)
         update crb_output_view_tab set new_brf_code_column = 'BRF010001'
         where currency in ('AED') and GLNO in ('0010');
    --This is sample. it will be like : GLNO in ('0010','0040','0056'.....)IInd update: (Generated from SEQ = 2 for BRF_ID = BRF01)
         update crb_output_view_tab set new_brf_code_column = 'BRF010002'
         where GLNO in ('0010')
         and new_brf_code_column is null;..... And so on.
    The data in the "new_column" is required for report generation.
    After all the updations the report "BRF01" (through UTL_FILE) will be generated.
    After that updation for BRF02 will be performed and report will be generated.
    I have to store the data for all BRF01,BRF02.. because these are used for online reports which are accessed from Discoverer also.
    What changes are you making that has lead to you considering nested tables or child tables? I have explained in detailed manner above. (Please revert if not clear)
    Why would a detail table be 37 times as big as one table? I was thinking of adding a PK to "crb_output_view_tab" and a new detail table like
    pk_from_crb_output_view_tab     NUMBER
    brf_id                    VARCHAR2
    brf_code               VARCHAR2Now here the number of rows will be 37* number_of_rows_in_crb_output_view_tab
    Big in which dimension(s)? I have to join the master table and new_detail_table for each report generation
    What drives the design - the updating of REPORTS_MASTER or the application which uses the updated data?The time for updation and daily generation of 37 reports (We can ignore the performance of discoverer reports)
    Thanks,
    Jeneesh

  • Usage Tracking table column definition

    Hi Gurus,
    I am not able to visualize the difference / significance of these two columns in S_NQ_ACCT table for usage tracking:
    NUM_CACHE_HITS - {Indicates the number of times existing cache was returned.}
    NUM_CACHE_INSERTED - {Indicates the number of times query generated cache was returned.}
    i got NUM_CACHE_HITS which gives the number of times cache match has occured, but what is role / meaning of NUM_CACHE_INSERTED, the documentation says "Indicates the number of times query generated cache was returned" what is query generated cache?
    Thanks,
    Sri

    hi jups,
    By deafult that parameter wil be null ,but any query got cached then it updates its value this way num_cache_inserted = 1
    Will this help you Definitions of time-related fields of usage tracking data
    hope helps you.
    Cheers,
    KK

  • How to create a table with events in smartforms?

    How to create a table with events view in smartforms?
    It doesn't like general table with header, main area and footer.
    for example:
    in smartforms: LE_SHP_DELNOTE
    table name is TABLEITEM(Delivery items table)

    Vel wrote:
    I am creating XML file using DBMS_XMLGEN package. This XML file will contain data from two different database tables. So I am creating temporary table in the PL/SQL procedure to have the data from these different tables in a single temporary table.
    Please find the below Dynamic SQL statements that i'm using for create the temp table and inserting the data into it.
    Before insert the V_NAME filed, i will be appending a VARCHAR field to the original data.
    EXECUTE IMMEDIATE 'CREATE TABLE TEMP_TABLE (UNIQUE_KEY NUMBER , FILE_NAME VARCHAR2(1000), LAST_DATE DATE)';
    EXECUTE IMMEDIATE 'INSERT INTO TEMP_TABLE values (SEQUENCE.nextval,:1,:2)' USING V_NAME,vLastDate;What exactly i need is to eliminate the INSERT portion of it,Since i have to insert more 90,000 rows into it. Is there way to have the temp table created with data in it along with the sequence value as well.
    I'm using Oracle 10.2.0.4 version.
    Edited by: 903948 on Dec 22, 2011 10:58 PMWhat you need to do to eliminate the INSERT statement is to -- as already suggested by others - eliminate the temporary table. You don't need it. It is just necessary overhead. Please explain why you (apparently) believe that the suggestion of a view will not meet your requirements.

  • How to create a table with data in it?

    I need to have a temp table in a PL/SQL procedure for processing which can hold data values from two other tables and a sequence number.
    Ex:
    Existing tables:
    table1 (col1 varchar2(100), col2 date, col3 number20) - Has more 1Lakh rows
    table2 (col1 varchar2(100), col2 date) - Has more 900 rows
    New table
    temp_table (col1 PRY KEY(seq1.number), col2 varchar2(100), col3 date)
    Currently i have created the temp_table and inserting all the data from both table1 & table2 (which is poor). Please suggest me a way to have the temp_table created with data(atleast from table1 which has more than 1Lakh rows). Please see i need a sequence number as well.
    Thanks in advance.

    Vel wrote:
    I am creating XML file using DBMS_XMLGEN package. This XML file will contain data from two different database tables. So I am creating temporary table in the PL/SQL procedure to have the data from these different tables in a single temporary table.
    Please find the below Dynamic SQL statements that i'm using for create the temp table and inserting the data into it.
    Before insert the V_NAME filed, i will be appending a VARCHAR field to the original data.
    EXECUTE IMMEDIATE 'CREATE TABLE TEMP_TABLE (UNIQUE_KEY NUMBER , FILE_NAME VARCHAR2(1000), LAST_DATE DATE)';
    EXECUTE IMMEDIATE 'INSERT INTO TEMP_TABLE values (SEQUENCE.nextval,:1,:2)' USING V_NAME,vLastDate;What exactly i need is to eliminate the INSERT portion of it,Since i have to insert more 90,000 rows into it. Is there way to have the temp table created with data in it along with the sequence value as well.
    I'm using Oracle 10.2.0.4 version.
    Edited by: 903948 on Dec 22, 2011 10:58 PMWhat you need to do to eliminate the INSERT statement is to -- as already suggested by others - eliminate the temporary table. You don't need it. It is just necessary overhead. Please explain why you (apparently) believe that the suggestion of a view will not meet your requirements.

  • How to transfer data in change log table of dso to z-table using abap code

    Hi  can you please explain me how to transfer data in change log table of dso to z-table using abap code ,with out using Function module concept

    PROGRAM NAME:   ZBW_DELTA_TO_GSTAR                                 **
    report ZBW_DELTA_TO_GSTAR no standard page heading
                                     line-size 120
                                     line-count 75
                                     message-id ZBW_MSG_CLS.
    tables:   ZGIV_DLTA_EBV_BB,
              ZGIV_DLTA_EM2_BL,
              ZGIV_DLTA_EM2_BK.
    Selection Screen Definitions
    SELECTION-SCREEN: BEGIN OF BLOCK INNER WITH FRAME TITLE TEXT-001.
    SELECTION-SCREEN: SKIP 1.
    PARAMETERS:       EBVBB RADIOBUTTON GROUP ROLL,
                      EM2BL RADIOBUTTON GROUP ROLL,
                      EM2BK RADIOBUTTON GROUP ROLL.
    SELECTION-SCREEN: END OF BLOCK INNER.
    Data:  WS_UPDATE_FLAG  Type C,
           UCounter(9)      Type N,
           ICounter(9)      Type N.
    DATA:  T_ZGIV_DLTA_EBV_BB Type Standard Table of ZGIV_DLTA_EBV_BB,
           s_ZGIV_DLTA_EBV_BB LIKE line of T_ZGIV_DLTA_EBV_BB.
    DATA:  T_ZGIV_DLTA_EM2_BK Type Standard Table of ZGIV_DLTA_EM2_BK,
           s_ZGIV_DLTA_EM2_BK LIKE line of T_ZGIV_DLTA_EM2_BK.
    DATA:  T_ZGIV_DLTA_EM2_BL Type Standard Table of ZGIV_DLTA_EM2_BL,
           s_ZGIV_DLTA_EM2_BL LIKE line of T_ZGIV_DLTA_EM2_BL.
    Standard Internal Tables - Describe usage.
    data: begin of i_AEPSD_O0140 occurs 0.
            include structure /BIC/AEPSD_O0140.
    data: end of i_AEPSD_O0140.
    data: begin of i_AEPSD_O0240 occurs 0.
            include structure /BIC/AEPSD_O0240.
    data: end of i_AEPSD_O0240.
    data: begin of i_AEPSD_O0340 occurs 0.
            include structure /BIC/AEPSD_O0340.
    data: end of i_AEPSD_O0340.
    data: begin of i_GIV_DLTA_EBV_BB occurs 0.
            include structure ZGIV_DLTA_EBV_BB.
    data: end of i_GIV_DLTA_EBV_BB.
    data: begin of i_GIV_DLTA_EM2_BK occurs 0.
            include structure ZGIV_DLTA_EM2_BK.
    data: end of i_GIV_DLTA_EM2_BK.
    data: begin of i_GIV_DLTA_EM2_BL occurs 0.
            include structure ZGIV_DLTA_EM2_BL.
    data: end of i_GIV_DLTA_EM2_BL.
    Miscellaneous Program Variables and Constants.
    TOP-OF-PAGE
    top-of-page.
    START-OF-SELECTION
    start-of-selection.
      Clear: i_GIV_DLTA_EBV_BB,
             i_GIV_DLTA_EM2_BK,
             i_GIV_DLTA_EM2_BL,
             UCounter, ICounter.
      IF EBVBB = 'X'.
        PERFORM 100_EXTRACT_EBV_BB_DELTA_RECS.
      ELSEIF EM2BK = 'X'.
        PERFORM 100_EXTRACT_EM2_BK_DELTA_RECS.
      ELSE.
        PERFORM 100_EXTRACT_EM2_BL_DELTA_RECS.
      ENDIF.
    FORM 100_EXTRACT_EBV_BB_DELTA_RECS
    FORM 100_EXTRACT_EBV_BB_DELTA_RECS.
      Refresh:   i_AEPSD_O0140,
                 i_GIV_DLTA_EBV_BB.
      Clear:      UCounter, ICounter, s_ZGIV_DLTA_EBV_BB .
      Select * From /BIC/AEPSD_O0140
        Into TABLE i_AEPSD_O0140.
      IF SY-Subrc = 0.
        LOOP AT i_AEPSD_O0140.
          MOVE-CORRESPONDING i_AEPSD_O0140 TO s_ZGIV_DLTA_EBV_BB.
          MOVE SY-DATUM to s_ZGIV_DLTA_EBV_BB-create_dt.
          INSERT ZGIV_DLTA_EBV_BB FROM s_ZGIV_DLTA_EBV_BB.
          IF SY-Subrc = 0.
            ICounter = ICounter + 1.
          ELSE.
            UPDATE ZGIV_DLTA_EBV_BB FROM  s_ZGIV_DLTA_EBV_BB.
            IF SY-Subrc = 0.
              UCounter = UCounter + 1.
            ELSE.
              Message E067 with SY-DATUM ' ' SY-UZEIT ' '.
            ENDIF.
          ENDIF.
        ENDLOOP.
      ENDIF.
    ENDFORM.                    "100_EXTRACT_EBV_BB_DELTA_RECS
    FORM 100_EXTRACT_EM2_BK_DELTA_RECS
    FORM 100_EXTRACT_EM2_BK_DELTA_RECS.
    Refresh:   i_AEPSD_O0240,
               i_GIV_DLTA_EM2_BK.
      Clear:      UCounter, ICounter, s_ZGIV_DLTA_EM2_BK .
      Select * From /BIC/AEPSD_O0240
        Into TABLE i_AEPSD_O0240.
      IF SY-Subrc = 0.
        LOOP AT i_AEPSD_O0240.
          MOVE-CORRESPONDING i_AEPSD_O0240 TO s_ZGIV_DLTA_EM2_BK.
          MOVE SY-DATUM to s_ZGIV_DLTA_EM2_BK-create_dt.
            INSERT ZGIV_DLTA_EM2_BK FROM s_ZGIV_DLTA_EM2_BK.
          IF SY-Subrc = 0.
            ICounter = ICounter + 1.
          ELSE.
            UPDATE ZGIV_DLTA_EM2_BK FROM  s_ZGIV_DLTA_EM2_BK.
            IF SY-Subrc = 0.
              UCounter = UCounter + 1.
            ELSE.
              Message E067 with SY-DATUM ' ' SY-UZEIT ' '.
            ENDIF.
          ENDIF.
        ENDLOOP.
      ENDIF.
    ENDFORM.                    "100_EXTRACT_EM2_BK_DELTA_RECS
    FORM 100_EXTRACT_EM2_BL_DELTA_RECS
    FORM 100_EXTRACT_EM2_BL_DELTA_RECS.
    Refresh:   i_AEPSD_O0340,
               i_GIV_DLTA_EM2_BL.
      Clear:      UCounter, ICounter, s_ZGIV_DLTA_EM2_BL .
      Select * From /BIC/AEPSD_O0340
        Into TABLE i_AEPSD_O0340.
      IF SY-Subrc = 0.
        LOOP AT i_AEPSD_O0340.
          MOVE-CORRESPONDING i_AEPSD_O0340 TO s_ZGIV_DLTA_EM2_BL.
          MOVE SY-DATUM to s_ZGIV_DLTA_EM2_BL-create_dt.
            INSERT ZGIV_DLTA_EM2_BL FROM s_ZGIV_DLTA_EM2_BL.
          IF SY-Subrc = 0.
            ICounter = ICounter + 1.
          ELSE.
            UPDATE ZGIV_DLTA_EM2_BL FROM  s_ZGIV_DLTA_EM2_BL.
            IF SY-Subrc = 0.
              UCounter = UCounter + 1.
            ELSE.
              Message E067 with SY-DATUM ' ' SY-UZEIT ' '.
            ENDIF.
          ENDIF.
        ENDLOOP.
      ENDIF.
    ENDFORM.                    "100_EXTRACT_EM2_BL_DELTA_RECS
    END-OF-SELECTION
    end-of-selection.
      perform D1000_REPORT_DATA.
    D1000_REPORT_DATA
    form D1000_REPORT_DATA.
    *Display the title of the program
      write: /25 SY-TITLE.
      skip.
    Diaplay the details of the user and time
      write: /1 'Executed by', 15 SY-UNAME, 30 'Date',
      38 SY-DATUM, 53 'Time', 60 SY-UZEIT.
      skip 2.
      write: /  'Delta Records have been extracted  ',
             /   'Updates : ', UCounter,
             /   'Inserts : ', ICounter.
      skip.
      skip 3.
      write: /20 'End of the report'.
    endform.                                           "D1000_REPORT_DATA
    chgeck it out this also may hep you

  • How to compare SSIS Variable and Column In the table!!.

    Hi Folks,
    My Requirement IS :
    1<sup>st</sup>run: if the record does not exist
    in the table insert the record (file_name, last_modified_file_date) and create a copy in the archive folder with file_name_currentdate.csv
     Daily run:
    retrieve the last_modified_file_date from the input file and check if the retrieved date is greater than the last_modified_file_date in the table:
    If true:
    create a copy of the input file in the archive folder and update the last_modified_file_date in the table with the retrieved date
    If false don’t do nothing because the file has been archived in one of the previous runs.
    I have already retrieving the modified date and File Nae iserting into Filename Table: (That table has 2 columns which are FileName and FileDate) so In script task everytime the variable getting Modified date(retrieve the last_modified_file_date
    from the input file) could yu please give me idea after that how I can Compre the existing table record and variable. I have already
    imported the all Filenames and Modified into table like below.
    Could you please give your ideas friends.

    Try this:
           1) Execute SQL Task (In the Parameter mapping, pass filename and fileLastModified date retrieved from the file - your SSIS Variable)
           2) In the ‘SQL statement’, Write a TSQL like this:
    --declare these variables before the use
    SET @filename=?
    SET @fileLastModifieddate=?
    --declare @MaxLastTblDate and @flag=0
    select @MaxLastTblDate = Max(last_modified_file_date) from Table T1
    If (@fileLastModifieddate>@MaxLastTblDate)
    --Do your insert here
    --Update the variable with @flag (say 1)
    3) Set the value of @flag in the Result set of Execute SQL (another SSIS variable)
    4) In the next control flow component, do the file archiving.
    5) Between these two components, check the value of the @flag variable in the precedence constraints (whether to copy the file for archiving or not)
    Hope this helps.

  • Custom AddOn and Payment Engine causes table lock

    Hi,
    i run with 2 customers in the same problem with different add-ons. After the customer saved a document via the standard SBO GUI the corresponding table will be locked in the database until the SBO-Client client was killed. The only thing witch these 2 customers as common is the running payment engine. Are some know issues with the payment engine and add-ons which are using form_data events?
    Thanks,
    Christian

    Hi ,
       Some of standard tables and usage of UDO locking tables in SP:01 PL:20. We faced  few such issues and identified it is problem with DI API. If you are using the same, try upgrading to any latest DI API.
    HTH
    Ravi Shankar B

  • Material Posting Date & Usage

    Hi Gurus,
    My requirement is to desing a new sales and usage of Materials for a Paticular plant.
    In this report i need to show Posting Date in selection screen,
    And please let me know how we will find out the usage of the Materials.
    Thankyou in advance.

    You can get the Posting date from table MKPF for material documents.
    That is for a material in sales order whenever u do a Post Goods Issue then the Tables MKPF and MSEG are updated.
    U can find the material number in table MSEG( Line item table for material document)
    and the Posting date corresponding to that mat. doc no. in MKPF ( Header table)
    Similarly usage of material u can get by the stock available in MSEG table for that material. U can see these tables u will get a fair idea.

Maybe you are looking for

  • Forms & reports 6i installation problem On linux

    Following is the error i got while installing the product in Oracle home. The Oracle HOme already has Oracle Server 8.1.6. I am just installing Developer6i along with Oracle Server 8.1.6. The Installer Analyzes the dependencies and then gives this er

  • Adobe creative suite 5.5 mc serial.

    I have legal adobe creative suite 5.5 for mac. When i install its asks serial, which is located on dvd cover, after enter it insalls product, after installing it asks serial again, after enter it says :serial number is not valid for this product. Rei

  • Airport in iMac versus iBook G4

    it's creazy, my airport internetconnection is doing great with my iBook G4 the signal is strong (3 tot 4 bars) and than my iMac ... that is a disaster sometimess a connection is just not possible and when it works I'am happy to have '1' bar saying th

  • Set default crop ratio padlock to be unlocked always

    How can i set the default crop ratio to always be unlocked for every image that i try to edit? Its so annoying to always have to hit the A key to unlock it. If i want it locked then i'll lock it back. Why should i be told what i want?

  • I hate firefox 4, can we download 3.6 again/

    firefox 4 has taken away many options, i hate it and loved the old firefox 3.6 and its add ons. can i go back to it/