End Routine Data updation Issue

Hi all,
We are trying to do some look ups in the end routine to populate some fields.
We can see the data selected in the debugging but  in the actual DSO the fields are not populating.
we suspect that the modify statement
MODIFY RESULT_PACKAGE from e_s_result.
might be having some issues.
If anybody have any suggestions please help us out.
Appreciate it.
Thanks,
HM

No it is not the issue with modify statement.
Whatever fields you are updating in modify statement , you need to have rule type assigned as constant with no value..
As in BI 7.0 the individual rule needs to be defined to enable it to get populated otherwise it doesnt think that the field needs to be updated.

Similar Messages

  • End routine not updating all records

    Hi,
    I have an end routine to update a cube from another cube.
    The routine has two loops, one child loop inside the main loop. Result Package was sorted before the loops.
    Now, not all records were updated in the target infocube as per expectation. Also, when I pick one such record (that did not get updated) and debug, interestingly it shows that expected value has been assigned to the relevant field. And if I upload only that specific record to the cube, the record does get updated with expected value.
    The problem seem to appear only when the whole set of data is loaded.
    Any suggestion about the coding or further debugging will be greatly appreciated.
    Thanks,
    Pranab

    HI,
    check if u r using any internal tables, make this itab refresh at correct point.i tmight be sumtimes create problem.
    else paste ur code here...
    thnks.

  • End routine data extraction

    Hi Gurus,
    I am trying to extract one custom keyfigure from 0EMPLOYEE masterdata to 0PA_C01 cube,
    Global  declarations include
    data: begin of i_s_employee,
          l_zfte1 type /bic/mzemployee-/bic/zfte,
          end of i_s_employee.
    data: i_t_employee like table of i_s_employee.
    Start of end routine includes
    data: e_s_result type tys_TG_1.
    data: e_t_result type tyt_TG_1.
    read table i_t_employee index 1 transporting no fields.
    if sy-subrc = 4.
    select /bic/zfte from /bic/mzemployee into corresponding
    fields of table
    i_t_employee
    where objvers = 'A'
    and dateto <= sy-datum
    and /bic/zemployee <> ''.
    if sy-subrc = 4.
    raise exception type CX_RSROUT_ABORT.
    endif.
    endif.
    loop at RESULT_PACKAGE into e_s_result.
    read table i_t_employee into i_s_employee with key l_zfte1 =
    e_s_result-/bic/zfte.
    endloop.
    loop at i_t_employee into i_s_employee where l_zfte1 =
    e_s_result-/bic/zfte.
    append e_s_result to e_t_result.
    endloop.
    *refresh RESULT_PACKAGE.
    move e_t_result[] to RESULT_PACKAGE[].
    Nothing gets updated to cube and there are also no syntax errors. Please can anyone tell me where i am making mistakes/overlooking.
    any help greatly appreciated.
    Best Regards,
    Reddy.

    hi reddy,
    did you solve this problem?
    i have same problem now and trying to solve.

  • Lookup DSO in Start Routine and End Routine to update date

    Hi Gurus,
    I need a Start Routine & help, while loading the data from DSO to Info Cube.
    In the DSO ( /BIC/AZSD_O0300 ) & in the InfoCube I have a common fields are
    0DOC_NUMBER ( DOCUMENT NUMBER), 0S_ORD_ITEM ( Sales Document Item Number ), 0SCHED_LINE ( Schedule Line ) and 0MATAV_DATE ( Material Available Date ).
    Data in DSO is as follows
    0DOCNUMBER_ 0SORD_ITEM_ 0SCHEDLINE_ 0MATAVDATE_
    1001 10 1 05/21/2011
    1001 20 2 05/26/2011
    1001 10 2 05/22/2011
    1001 20 1 05/18/2011
    1002 20 1 05/20/2011
    1002 10 1 05/24/2011
    1002 10 2 05/28/2011
    Data should load in the InfoCube as below.
    0DOCNUMBER    0S_ORD_ITEM     0SCHED_LINE    0MATAV_DATE
    1001          10    1   05/21/2011
    1001          20    2   05/18/2011
    1001          10    2   05/21/2011
    1001          20     1  05/18/2011
    1002         20     1  05/20/2011
    1002         10    1   05/24/2011
    1002         10     2   05/24/2011  
    When ever schedule line is 2 for the record we have to check both Document number and 0S_ORD_ITEM are same change the Material moving date to the date schedule line is 1 for the same document and same order item number.
    Your help is really appreciated.
    Thanks
    Ganesh Reddy.

    Thanks Parth and Raj. I have written code almost as you suggested just little changes.
    Start Routine
    TABLES:/BIC/AZSD_O0300.
    DATA:ITAB_DSO LIKE /BIC/AZSD_O0300.
    TYPES: BEGIN OF ITABTYPE,
    DOC_NUM TYPE /BI0/OIDOC_NUMBER,
    SAL_DOC_NUM TYPE /BI0/OIS_ORD_ITEM,
    SCHED_NUM TYPE /BI0/OISCHED_LINE,
    MAT_AV_DATE TYPE /BI0/OIMATAV_DATE,
    END OF ITABTYPE.
    DATA : ITAB TYPE STANDARD TABLE OF ITABTYPE
           WITH HEADER LINE
           WITH NON-UNIQUE DEFAULT KEY INITIAL SIZE 0.
    data: wa_itab type ITABTYPE.
    SELECT DOC_NUMBER S_ORD_ITEM SCHED_LINE MATAV_DATE
      FROM /BIC/AZSD_O0300
      INTO TABLE ITAB
      WHERE SCHED_LINE = '1'.
    Field Routine.
    if SOURCE_FIELDS-S_ORD_ITEM <> '1'.
          read table itab into wa_itab with key    doc_num =
          SOURCE_FIELDS-DOC_NUMBER
                                             SAL_DOC_NUM =
                                             SOURCE_FIELDS-S_ORD_ITEM.
          if sy-subrc = 0.
          RESULT = wa_itab-MAT_AV_DATE.
        endif.
      endif.
    I haven't check how the data is coming. But for now I am closing this issue.
    Thanks Again
    Ganesh Reddy.

  • SIS Report- Old Data update Issue

    Hi All,
    The relevant configuration has been done for activating SIS report. Using the T-Code: OLI7,OLI8,OLI9, I have updated the data for the infostructure: S001 and copied the same to OLIX, but still the report shows only New document value in MC+E report.
    I followed the below link, but eventhough the old document data is not showing in the report.
    http://scn.sap.com/docs/DOC-29547
    Please anyone help me to get the old data in the MC+E,MCTA report.
    Regards,
    Mythily

    Hi All,
    The relevant configuration has been done for activating SIS report. Using the T-Code: OLI7,OLI8,OLI9, I have updated the data for the infostructure: S001 and copied the same to OLIX, but still the report shows only New document value in MC+E report.
    I followed the below link, but eventhough the old document data is not showing in the report.
    http://scn.sap.com/docs/DOC-29547
    Please anyone help me to get the old data in the MC+E,MCTA report.
    Regards,
    Mythily

  • DW PHP date update issue?

    When I use the DW8 PHP UPDATE behavior, I get an error reported back from the web server when the date value in the form is MM/DD/YYYY .. but if I change it to YYYY-MM-DD then it updates fine. What can I do to assure that we can use the user friendly date format and it doesn't freak out???

    Create separate fields in the update form for the month, date, and year. Use SQL to extract the values separately using MySQL date and time functions. When the form is submitted, join the separate values together before inserting them in the database.

  • End Routine Issue - It does not move data from E_T_RESULT to RESULT_PACKAGE

    Hi,
    I am facing an issue with end routine. I have gone through previous posts on, how to write end routine and all.I wrote the end routine accordingly.
    Here is my scenario,
    I have 0CUST_SALES master data , which has all the Sales Org, Distribution Channel and Division, Sold to Party, Sales Grp and Sales Dist.
    I am getting , Sold to party and Distribution channel at the field routine.
    I am using, Sold to Party and Dist Channel and Division = '01'- whatever i populated using a field routine  and trying to get the Sales Org, Sales Grp and Sales Dist at the end routine.
    It looks like, all the code that i wrote seems correct but it does not populate any values into RESULT_PACKAGE.
    Here is the code I wote at the end routine. I am not sure, whats wrong in it. I used, this link to write this routine :
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/203eb778-461d-2c10-60b3-8a94ee91cbfc&overridelayout=true
    Global Declaration----
      DATA : BEGIN OF IT_CUST_SALES,
        DIV TYPE /bi0/pcust_sales-DIVISION,
        DIST_CH TYPE /bi0/pcust_sales-DISTR_CHAN,
        SALES_ORG TYPE /bi0/pcust_sales-SALESORG,
        CUST_SAL TYPE /bi0/pcust_sales-CUST_SALES,
        SALESDIST TYPE /bi0/pcust_sales-SALES_DIST,
        SALESGRP TYPE /bi0/pcust_sales-SALES_GRP,
        END OF IT_CUST_SALES.
    DATA: T_CUST_SALES LIKE TABLE OF IT_CUST_SALES.
    Start of End Routine
       SELECT DIVISION DISTR_CHAN SALESORG CUST_SALES SALES_DIST SALES_GRP
        from
        /bi0/pcust_sales INTO TABLE T_CUST_SALES for all entries in
        RESULT_PACKAGE
        where CUST_SALES = RESULT_PACKAGE-SOLD_TO
         AND DISTR_CHAN = RESULT_PACKAGE-DISTR_CHAN
         AND DIVISION = '01'.
        LOOP AT RESULT_PACKAGE INTO e_s_result.
          READ TABLE T_CUST_SALES INTO IT_CUST_SALES
              WITH KEY CUST_SAL = e_s_result-SOLD_TO
                 DIST_CH = e_s_result-DISTR_CHAN
                 DIV = '01'.
          IF SY-SUBRC EQ 0 .
            MOVE IT_CUST_SALES-SALES_ORG TO E_S_RESULT-SALESORG.
            MOVE IT_CUST_SALES-SALESDIST TO E_S_RESULT-SALES_DIST.
            MOVE IT_CUST_SALES-SALESGRP TO E_S_RESULT-SALES_GRP.
            APPEND E_S_RESULT  TO  E_T_RESULT .
          ENDIF.
        ENDLOOP.
        REFRESH RESULT_PACKAGE.
        MOVE E_T_RESULT[] TO RESULT_PACKAGE[] .
    End End Routine
    Data comes into E_T_RESULT but it does not move to RESULT_PACKAGE. Any inputs will be helpful.
    Regards,
    Kumar

    Hi Hegde,
    Declaration is same , its like this.
       datA: e_s_result type tys_TG_1.
        data: e_t_result type tyt_TG_1.
    I don't know, when i inserted this code in this post, initially it was OK but once i post i also saw , its not that read friendly.
    FYI, i am trying to put the code again, lets see if it works.
      SELECT DIVISION DISTR_CHAN SALESORG CUST_SALES SALES_DIST SALES_GRP
        from    /bi0/pcust_sales INTO TABLE T_CUST_SALES for all entries in
        RESULT_PACKAGE   where CUST_SALES = RESULT_PACKAGE-SOLD_TO
         AND DISTR_CHAN = RESULT_PACKAGE-DISTR_CHAN
         AND DIVISION = '01'.
        LOOP AT RESULT_PACKAGE INTO e_s_result.
          READ TABLE T_CUST_SALES INTO IT_CUST_SALES
              WITH KEY CUST_SAL = e_s_result-SOLD_TO
                 DIST_CH = e_s_result-DISTR_CHAN
                 DIV = '01'.
          IF SY-SUBRC EQ 0 .
            MOVE IT_CUST_SALES-SALES_ORG TO E_S_RESULT-SALESORG.
            MOVE IT_CUST_SALES-SALESDIST TO E_S_RESULT-SALES_DIST.
            MOVE IT_CUST_SALES-SALESGRP TO E_S_RESULT-SALES_GRP.
            APPEND E_S_RESULT  TO  E_T_RESULT .
          ENDIF.
        ENDLOOP.
        REFRESH RESULT_PACKAGE.
        MOVE E_T_RESULT[] TO RESULT_PACKAGE[] .
    Regards,
    Kumar

  • Poor performance of transformation end routine

    Hi Folks,
    I have written a transformation end routine to update a Cube for WBS Elements reading the Master Data and Hierarchy tables.  The code seems to be working but with a lot of time spent on reading the endroutine.  Could someone take a look and advice the efficient way to write this?
    Purpose: 
    Read WBS Element master data for the WBS Element delivered in the datapackage (comm. Structure).  Read the WBS Element hierarchy table for the WBS Element to determine what its level is. If the record is found, level is 4 and approval year is not empty, we use that. Otherwise if the record is found but it turns out to be a level 3, use the WBS element as well. If all fails (eg the level is 4 but there is no approval year), determine the parent WBS element, see code after else statement.
    Finally, if the WBS element above is the same as the one in the comm. Structure (for which we read already the master data in table t_h_wbs_elemt), fetch approval year from the table t_h_wbs_elemt (this increases performance because there is no need to read the master data for every new record), otherwise read the new WBS element master data in the header of t_h_wbs_elemt.
    Edited by: ramesh ramaraju on Jan 7, 2010 4:50 PM

    Hi,
    Try like this
    DATA: lv_nodename type RSSHNODENAME.
    DATA: lt_mwbs_elemt type table of /bi0/mwbs_elemt,
    lw_mwbs_elemt type /bi0/mwbs_elemt.
    DATA: lt_hwbs_elemt type table of /bi0/hwbs_elemt,
          lw_hwbs_elemt type /bi0/hwbs_elemt.
    ***instead of using select * try to specidfy the fields other wise it will fetch fiull records
    ***or if you are using select * specking a where condition avodi into corresponding fields instead use the field name
    select * from /bi0/mwbs_elemt
    into corresponding fields of table lt_mwbs_elemt.
    IF SY-SUBRC = 4.
    RAISE EXCEPTION TYPE CX_RSROUT_ABORT.
    ENDIF.
    ***instead of using select * try to specidfy the fields other wise it will fetch fiull records
    ***or if you are using select * specking a where condition avodi into corresponding fields instead use the field name
    select * from /bi0/hwbs_elemt
    into corresponding fields of table lt_hwbs_elemt.
    sort lt_hwbs_elemt by nodename.
    sort lt_mwbs_elemt by wbs_elemt.
    clear E_S_RESULT.
    loop at RESULT_PACKAGE into E_S_RESULT.
    clear lw_mwbs_elemt.
    loop at lt_mwbs_elemt into lw_mwbs_elemt
    where wbs_elemt = e_s_result-wbs_elemt.
    endloop.
    ***instead of looping again use a read statement
    read table lt_mwbs_elemt where where wbs_elemt = e_s_result-wbs_elemt binary search.
    clear lw_hwbs_elemt.
    loop at lt_hwbs_elemt into lw_hwbs_elemt
    where nodename = e_s_result-wbs_elemt.
    endloop.
    ***instead of looping again use a read statement
    read table lt_hwbs_elemt where where wbs_elemt = e_s_result-wbs_elemt binary search.
    clear lv_nodename.
    IF sy-subrc EQ 0 AND lw_hwbs_elemt-tlevel EQ 4
    and lw_mwbs_elemt-appr_year ne 0.
    lv_nodename = e_s_result-wbs_elemt.
    ELSEIF sy-subrc EQ 0 AND lw_hwbs_elemt-tlevel EQ 4
    and lw_mwbs_elemt-prog_def_s ne ' '.
    lv_nodename = e_s_result-wbs_elemt.
    ELSEIF sy-subrc EQ 0 AND lw_hwbs_elemt-tlevel EQ 3.
    lv_nodename = e_s_result-wbs_elemt.
    ENDIF.
    IF lw_mwbs_elemt-wbs_elemt ne lv_nodename.
    clear lw_mwbs_elemt.
    LOOP at lt_mwbs_elemt into lw_mwbs_elemt
    where wbs_elemt = lv_nodename.
    ENDLOOP.
    ENDIF.
    IF lw_mwbs_elemt-wbs_elemt EQ lv_nodename.
    E_S_RESULT-PROG_DEF_S = lw_mwbs_elemt-prog_def_s.
    E_S_RESULT-APPR_YEAR = lw_mwbs_elemt-APPR_YEAR.
    ENDIF.
    APPEND E_S_RESULT TO E_T_RESULT.
    ENDLOOP.
    REFRESH RESULT_PACKAGE[].
    MOVE E_T_RESULT] TO RESULT_PACKAGE.
    Regards,
    Ravi

  • Routine for Update rule in cube

    Hi Friends,
           I have added a field to a cube, now i need to populate the same during the data is loading from the DSO to Cube.  Inupdate rule since we will get only te key figures, is it possible to access the dimensions in the routine. Please help me in giving some coadings for the routine for update rule.
    Thanks
    Prem

    Hi,
    one more suggestion..
    create a end routine and update the key figures based on ur dimension values by useing resuly_package.
    sample code:
    [Transformation end routine|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/203eb778-461d-2c10-60b3-8a94ee91cbfc]
    thnks.

  • Updating Cube in the End Routine based on the incoming Valid From Date

    Hello Experts
    Here is my scenario.
    We are using BW 7.x.  There is DSO and from DSO it goes to the Cube, the promotions information.  These data targets will have Material (Article), Plant (Site), Promotions Number, Valid from and Valid to dates.  The Valid To date will come in as 12/31/9999 all the time.
    If I receive a new record from ECC with same Material, Plat and Promotion combination again, I need to get the Valid From Date from the new record and Update the existing record' Valid To date in DSO/Cube as Valid From of the new record - 1.
    So Valid To date of the existing record = New Record's Valid From date minus - 1.
    I would like to do the update in "End Routine" of the Cube.
    Would you please suggest if this can be done and if so would you please provide the sample code.
    THANK YOU in Advance.
    Nag.

    yes, you can do this...
    just use a RESULT_PACKAGE in end routine.
    and using RESULT_PACKAGE fatch the existing records from DSO and append that into RESULT_PACKAGE after your desired changes,
    just try to create a code using this l;ogic. if you can't then i will provide you a code.
    Regards,
    Ashish

  • No data updated with END ROUTINE

    Dear Team,
    Written the following END ROUTINE to calculate the Value=qtyunit priceexchange rate in the transformations
    Qty,Unit Price and Exchange rates are comming from the source
    Value is getting updated till new data table,but when i activate it the value becomes zero
    Please guide in fixing the above same
    Thanks & Regards,
    Sarasu

    Dear All,
    Following is the code written
    data:wa_result_package type tys_TG_1.
        loop at RESULT_PACKAGE into wa_RESULT_PACKAGE.
          wa_result_package-/BIC/K_DELAMT =  wa_result_package-EXCHG_RATE *
          wa_result_package-/BIC/K_DELVAL *
          wa_result_package-DLV_QTY.
          MODIFY RESULT_PACKAGE FROM wa_RESULT_PACKAGE TRANSPORTING
          /BIC/K_DELAMT.
        ENDLOOP.
    Thanks & Regards,
    Sarasu

  • End routine Works fine but missing some records while updating to cube.

    Hi All
    I have an issue here... My End routine works fine and I even debugged by putting the breakpoint and It fetches data from dso. strangely when I run my DTP the load is successful but I can see some of the records are missing. but there is data in dso and also when i debug the code it fetches the values for particular fields.
    My requirement is I have a cube 'A' and under it DSO1 and  I need six more fields from dso2. Now I made a look up for these six fields in End routine. My routine works fine and so the DTP Is Green. My issue is I cant see these six fields updated for some of the records.
    PLZ put some light on it!!!!!!!!!!!!!!!!!

    Hi Naveen & Jaya
    Thanks for your quick response. Below is my code logic in end routine.
    METHOD end_routine.
    *=== Segments ===
        FIELD-SYMBOLS:
          <RESULT_FIELDS>    TYPE tys_TG_1.
        DATA:
          MONITOR_REC     TYPE rstmonitor.
    $$ begin of routine - insert your code only below this line        -
    ... "insert your code here
    data: lv_result_package like line of RESULT_PACKAGE,
          l_tabix type sy-tabix.
    loop at RESULT_PACKAGE into lv_RESULT_PACKAGE.
       l_tabix = sy-tabix.
    Update lot/decision attributes Lot/Decision ( ZQM_O04 ) DSO
       read table itab_qm_o04 into itab_qm_o04_wa
           with key insp_lot = lv_result_package-insp_lot.
       if sy-subrc = 0.
         lv_result_package-ivaluation = itab_qm_o04_wa-ivaluation.
         lv_result_package-catcode_ud = itab_qm_o04_wa-catcode_ud.
         lv_result_package-catgrp_ud = itab_qm_o04_wa-catgrp_ud.
         lv_result_package-/bic/zcattp_ud = itab_qm_o04_wa-/bic/zcattp_ud.
         lv_result_package-/b41/s_usuddate = itab_qm_o04_wa-/bic/gqmuddat.
         lv_result_package-/b41/s_usudcdate = itab_qm_o04_wa-/bic/gqmudcdt.
       endif.
       modify RESULT_PACKAGE FROM lv_RESULT_PACKAGE INDEX l_tabix.
    endloop.
    Well based on the insp_lot in ZQM_O03( DSO1) the logic above gets the six fields from ZQM_O04(DSO2) and feeds the cube.
    The Insp_lot has multiple records in DSO1 based on specific characteristic and so the cube. This Logic gets all these six fields
    from DSO2 which has single record per insp_lot and feeds the cube which has multiple records on insp_lot based on a specific characteristic. For some reason some of the records are not been updated to cube.
    waiting for your valuable response.....
    Thank You,
    Abhishek Yeachni

  • No data in Active table of DSO for fields populated by End Routine

    Hi,
    I have a Standard DSO where we are populating few fields by using End Routine.
    Last week we added 5 more fields to DSO and wrote a logic in End ROutine to populate the DSO. These new fields dont have any mapping and these are just populated by end routine only.
    When I loaded the data from Data Source TO DSO, Data is loaded correctly into NEW DATA Table of DSO for all the fields. I could see correct data as per the logic in NEW Table including old and new fields.
    However, when I activate the DSO, I could not find the data for new fields which I added last week. Remaining fields are getting data as per the logic. Only these five fields are not having any data.
    Can you please let me know if any one had similar issue. I was under impression that all the data in the new table will go to Active table when we activate the DSO.
    Your inputs are highly appreciated.
    Thanks
    Krishna

    What version of BW are you using?  When editing your end-routine, a pop-up should display saying which fields you want populated/transferred from the end routine.  This pop-up will not display if you are using a lower version of BW 7.x.  To get around this, make sure that your newly added fields have a transformation rule type set to constant.  This will make sure that the fields get populated when transferring from new to active tables.

  • End Routine - populating Target Field based on Master Data

    Hi,
    I have an issue with my End Routine in BI 7.0. The scenario is as follows....
    The Target-Fields ZSALES_OFFICE , 0SALES_CHANNEL etc. are being mapped 1:1 from their respective source fields. In addition to these target fields I have a target field 0SALESORG which I need to populate based on the values from 0COMP_CODE which is an attribute of ZSALES_OFFICE. The values of 0COMP_CODE are 9000, 9001, 9002 and 9003 respectively. The end routine condition needs to be implemented as follows...
    For every 0COMP_CODE which has value 9000, 0SALESORG should be populated with the value "EAST". Similarly for every 0COMP_CODE which has value 9001, 0SALESORG should be populated with the value "WEST",  for every 0COMP_CODE which has value 9002, 0SALESORG should be populated with the value "NORTH" and  for every 0COMP_CODE which has value 9003, 0SALESORG should be populated with the value "SOUTH". I tried the following code but it doesnt seem to work. Could you pls help!!
    Thanks,
    SD
    DATA: it_tab4 TYPE TABLE OF /BIC/PZF31SALOFF,
              wa_tab4 TYPE /BIC/PZF31SALOFF.
        SELECT *
          FROM /BIC/PZF31SALOFF
        INTO CORRESPONDING FIELDS OF TABLE it_tab4.
        sort it_tab4 by /BIC/ZF31SALOFF.
        LOOP AT RESULT_PACKAGE
          INTO <result_fields>.
          read table it_tab4
          with key /BIC/ZF31SALOFF = <result_fields>-/BIC/ZF31SALOFF
          into wa_tab4
          binary search.
          if sy-subrc eq 0.
            CASE wa_tab4-comp_code.
              WHEN '9000'.
                <result_fields>-salesorg = 'EAST'.
              WHEN '9100'.
                <result_fields>-salesorg = 'WEST'.
              WHEN '9200'.
                <result_fields>-salesorg = 'NORTH'.
              WHEN '9300'.
                <result_fields>-salesorg = 'SOUTH'.
              MODIFY it_tab4 FROM wa_tab4.
            ENDCASE.
          endif.
        ENDLOOP.

    Replace your select statement ,
    SELECT *
    FROM /BIC/PZF31SALOFF
    INTO CORRESPONDING FIELDS OF TABLE it_tab4.
    instead of selecting all the fields , pick only the fields which are required.(one good performance improvement)
    SELECT    /BIC/PZF31SALOFF  comp_code
    FROM /BIC/PZF31SALOFF
    INTO CORRESPONDING FIELDS OF TABLE it_tab4.
    Remove the line below , this is not required
    MODIFY it_tab4 FROM wa_tab4.

  • End Routine issue

    I am adding new records to the result_package in the end routine.
    How will I populate the SID and datapakid values to my new records?
    I am not able to code these fields in the end routine as they are not available and they get filled dynamically.
    Are there any system fields that hold SID value and data package value?
    Please help.
    Thanks.

    I have added move-corresponding code from result_package and it has solved my issue.
    Thanks.

Maybe you are looking for

  • Printing to Belkin Wireless Print Server

    I currently have a wireless network set up in which 3 computers wirelessly print to an HP PSC 750 through a belkin print server. I now have a MacBook pro and want to be able to print to the same printer. Can anyone tell me how to do this please?

  • Abap+java abap-user and portal-role PROBLEM?? help

    We have the ABAP+java add-on install. The UME is by default ABAP engine. From Portal: 1 I create a portal user, it ALWAYS creates ABAP user in ABAP engine. 2. I create a portal role, it creates a role in the Portal. 3. When I assign the user this por

  • Which photoshop is the best for me ?

    I currently use Photoshop CS and I need more functions. I need a photoshop where I can make 3D which one is good and I also have a small budget. I have 120$. Thanks for answering my questions.

  • Migrating from G5 Xserve to Intel Xserve

    I have a G5 Xserve running 10.3.9 Server that is dying a slow and painful death. A new Xserve should be arriving in the next few days. The problem is, the only migration documentation I can find is for 10.4 and above. Is it possible to migrate from 1

  • Airport Express error code -4

    Hi, I'm trying to configure my aiport express but I'm always getting the following message: 'An error happen when trying to connect to the wireless Apple device. Check that the network is correct and try it again. Error code: -4' The thing is that th