Delete code in End Routine.

Hi Experts,
I have to write a delete code in end routine. I giving it below. Kindly correct for mistakes.
Delete data_package where zquantity = 0 and zorder = 0.
I find after putting this code it tells that Data_Package is not available.
What to put then?
Kindly help me.
Thanks in advance,
With Kind Regards,
Kannan

Hi
There is no Data_package in end routine. you can use that only in start routine.
Use Result_package in end routine.
Thanks
Jay.

Similar Messages

  • ABAP Code in End Routine - reverts back to previous version

    Team:
    Currently, we are in upgrading from 7.01 to 7.4. The new development environment is only used to built the new development work until the mirror image client is upgraded.
    In one customised dataflow, we place some code and the transformation is activated. No issues at all, then the next day, the code reverts back a previous version. Consequently, we are losing the code. We already have a sign off of a piece of work and we checked the code again. We were puzzled as to why the code has gone back to a previous version.
    SAP is asking to replicate the issue. Unfortunately, we cannot replicate accurately this issue. Now, we have two more developers reporting the same case. Yet again, the issue comes and goes. We reboot the server with some success. Then days later, the issue pops up with a developer. The Basis guys have not found anything related to this case.
    Any idea is welcome.

    Sync to Date is currently the only option offered by the DTR.
    You can only edit the active version of a resource in a workspace, because the DTR does not support branching within a workspace: There is no mechanism in place to merge an older version of a resource into the same workspace.
    If you want to do this, you must make a copy of the workspace (a "maintenance" workspace) and make your changes in that workspace. You can integrate the related activity/activities into the "ongoing development" workspace afterwards, if you want to of course.
    Why don't you want your bugfixes to be forwarded by the way? Those bugs are also in your enhancement tracks...

  • End routine help

    Hi Experts,
    I have an CUBE which is loading once in a week(full load). In that cube i have plant and material and some other fields . My requirement is
    1) i have to delete some materials from all the plants from the cube like mat1,mat2,mat3..etc from all the plants
    and
    2)have to delete one material for some plants  like delete Mat8 for Plnt2 ,plnt5 and plnt 7.
    For that i have written some code in End routine....As i am not an ABAPer, I need corrections ..please look in to and advice.
      1)
    data: Wa_Result_Package type tys_TG_1.
        loop at RESULT_PACKAGE into Wa_RESULT_PACKAGE.
      delete Wa_Result_package .
          if Wa_Result_package-/BIC/ZMATERIAL = 'MAT1' or
             Wa_Result_package-/BIC/ZMATERIAL = 'MAT4' or
             Wa_Result_package-/BIC/ZMATERIAL = 'MAT6' or
             Wa_Result_package-/BIC/ZMATERIAL = 'MAT7' or
             Wa_Result_package-/BIC/ZMATERIAL = 'MAT9' .
            modify RESULT_PACKAGE from Wa_RESULT_PACKAGE.
          endif.
        endloop.
      2)
    data: Wa_Result_Package type tys_TG_1.
        loop at RESULT_PACKAGE into Wa_RESULT_PACKAGE.
    delete Wa_Result_package
          if Wa_Result_package-plant = 'PLNT2' and  Wa_Result_package-plant =
          'PLNT4' and  Wa_Result_package-plant = 'PLNT8'.
            then delete Wa_Result_package-/BIC/ZMATERIAL = 'MAT8'.
            modify RESULT_PACKAGE from Wa_RESULT_PACKAGE.
          endif.
        endloop.
    Please Advise,
    KP

    Hi Saveen,
    I modified acc to ur advice..please correct..
    1)
    data: Wa_Result_Package type tys_TG_1.
    loop at RESULT_PACKAGE into Wa_RESULT_PACKAGE.
    delete Result_package .
    where Wa_Result_package-/BIC/ZMATERIAL = 'MAT1' or
    Wa_Result_package-/BIC/ZMATERIAL = 'MAT4' or
    Wa_Result_package-/BIC/ZMATERIAL = 'MAT6' or
    Wa_Result_package-/BIC/ZMATERIAL = 'MAT7' or
    Wa_Result_package-/BIC/ZMATERIAL = 'MAT9' .
    modify RESULT_PACKAGE from Wa_RESULT_PACKAGE.
    endif.
    endloop.
    2)
    data: Wa_Result_Package type tys_TG_1.
    loop at RESULT_PACKAGE into Wa_RESULT_PACKAGE.
    delete Result_package
    where  Wa_Result_package-plant = 'PLNT2' and Wa_Result_package-plant =
    'PLNT4' and Wa_Result_package-plant = 'PLNT8'.
    then delete Wa_Result_package-/BIC/ZMATERIAL = 'MAT8'.
    modify RESULT_PACKAGE from Wa_RESULT_PACKAGE.
    endif.
    endloop
    Regards...KP

  • End routine  not workind when DSO Activated

    I have code in End routine of the transformation to populate a date field (from sales header to  sales line item to have the assocaited date to populate for each line item ) to the DSO.
    The code works and displays data being populated in new data table before DSO actiavtion but when DSO is activated, the particular  field is blank.
    Please suggest.
    Thanks.

    Hi,
    Your answer is explained in the below link:
    http://help.sap.com/saphelp_smehp1/helpdata/en/48/6e375c0b104e6de10000000a421937/content.htm
    this is happening because of the "Update behaviuor in end routine".
    It has two options - only fields with active rule(Default) & All fields.  Since the default setting is that the end routine is active for fields which have and active rule for it and not for other so for the field for which u have written the code is not having any active transformation thats why its not giving any value after activation.
    Please change the properties, for how to set this option chcek the link.
    Thanks
    Dipika

  • How to delete data from a DSO using start or end routine

    Is it possible to delete records from a DSO in the start or end routine.
    My example:  I have order 123, item 10, sched line 1.  This gets loaded into the DSO.
    Next day I have order 123, item 10, sched line 2 coming in.
    I want to delete the first one (with sched line 1) from the DSO and load the second one (with sched line 2).
    Can code be put in the start or end routine to do this?

    unless I can do it within the start routine I don't want to have to create new records.
    In the start routine I am comparing records coming in with what are already in the DSO.  If there is a match on order and item and the sched line is different, then I want to delete the record from the DSO and load the new one.  Is there code that I can put in a start routine to accomplish this?

  • End Routine Code not Working after Support Pack Upgrade

    Hi BI Community,
    We have recently upgraded to SPS17 (BW SP19) for our production system and the code deriving the values of several attributes in the end routine of the transformation for one InfoObject (as info provider) does not work anymore. We have been trying to identify the root cause but the fact is that we did not change anything to the InfoObject and its transformation and this used to work fine. The strange thing is that when we debugged the code we could see the value of the aforementioned attributes was derived correctly but the value is just not updated to the InfoObject where we still see the old values for these attributes.
    We have a similar InfoObject with the same end routine code in the transformation and it is working fine. We are out of idea what could have caused this during the SP upgrade.
    Thanks in advance for your feedback.
    Regards,
    Peter

    Cannot say what might have caused it but one check you can perform.
    Open your transformation in change mode and you can see a button next to create end routine button, titled ' Update Behavior of End Routine Change', click on that and say all fields.
    Hope it helps...
    Regards,
    Ashish

  • How to add new records in Start routine or end routine.

    Hi All,
            My requirement is to transfer data from one DSO to anothe DSO. But while transfering a single record frorm DSO1 i want to add 7 records to DSO2 for each record in DSO1 with slight change in data( with a different key). I want to do it in start routine or end routine. How can i do it. If you have any ABAP code for this then please send.
    Regards
    Amlan

    you can use this code, replace the fields where i have marked with <>.
    DATA : WA_RESULT_PACKAGE TYPE DSO2,
           WA_RESULT_PACKAGE1 LIKE WA_RESULT_PACKAGE.
    DATA : IT_RESULT_PACKAGE LIKE TABLE OF WA_RESULT_PACKAGE.
    DATA : DATE1 TYPE SY-DATUM.
    DATA : DAYDIFF TYPE i.
    DATA : RECORD_NO type rsarecord.
    SORT RESULT_PACKAGE BY <KEY FIELDS> "specify the key fields here
    RECORD_NO = 1.
    LOOP AT RESULT_PACKAGE INTO WA_RESULT_PACKAGE.
         IF WA_RESULT_PACKAGE_1-<KEYFIELDS> NE WA_RESULT_PACKAGE-<KEYFIELDS>.
              WA_RESULT_PACKAGE_1 = WA_RESULT_PACKAGE.
              DAYDIFF = WA_RESULT_PACKAGE-ENDDATE - WA_RESULT_PACKAGE-STARTDATE.
                   WHILE DAYDIFF NE 0.
                        DATE1 = WA_RESULT_PACKAGE-STARTDATE + DAYDIFF.
                        MOVE DATE1 TO WA_RESULT_PACKAGE-<KEYFIELDDATE>.
                        MOVE RECORD_NO TO WA_RESULT_PACKAGE-RECORD.
                        APPEND WA_RESULT_PACKAGE INTO IT_RESULT_PACKAGE.
                        DAYDIFF = DAYDIFF - 1.
                        RECORD_NO = RECORD_NO + 1.
                        CLEAR DATE1.
                   ENDWHILE.
              CLEAR DAYDIFF.
         ENDIF.
    ENDLOOP.
    DELETE RESULT_PACKAGE[].
    RESULT_PACKAGE[] = IT_RESULT_PACKAGE[].
    Reg Point 3.
    The Key figures will then show up in the report aggregated.Hope that is fine with you.
    Note:
    Before loading data, in DTP set the semantic key with the key field of the DSO1.This brings all the similar data w.r.t the key fields from the PSA together in a single package.
    rgds, Ghuru

  • End Routine ABAP running slow

    We have written the following end routine but performance is too slow because of the number of loops.
    We have introduced the third loop since we need the records in the specific order to populate ZCUST.  Can someone advise on how we can optimize
    Thanks
    $$ begin of routine - insert your code only below this line        -
        data: TEMP_RESULT_PACKAGE like RESULT_PACKAGE,
              WA_RESULT_PACKAGE type TYS_TG_1,
              WA type TYS_TG_1.
        TEMP_RESULT_PACKAGE[] = RESULT_PACKAGE[].
        delete adjacent duplicates from RESULT_PACKAGE
                        comparing DIVISION DISTR_CHAN SALESORG CUST_SALES.
        loop at RESULT_PACKAGE into WA_RESULT_PACKAGE.
          clear WA.
          loop at TEMP_RESULT_PACKAGE into WA
                           where DIVISION = WA_RESULT_PACKAGE-DIVISION
                           and   DISTR_CHAN = WA_RESULT_PACKAGE-DISTR_CHAN
                           and   SALESORG = WA_RESULT_PACKAGE-SALESORG
                           and   CUST_SALES = WA_RESULT_PACKAGE-CUST_SALES.
            if not WA-SHIP_TO is initial.
              WA_RESULT_PACKAGE-SHIP_TO = WA-SHIP_TO.
            endif.
            if not WA-CUST_HIE01 is initial.
              WA_RESULT_PACKAGE-CUST_HIE01 = WA-CUST_HIE01.
            endif.
            if not WA-CUST_HIE02 is initial.
            if not WA-BILLTOPRTY is initial.
              WA_RESULT_PACKAGE-BILLTOPRTY = WA-BILLTOPRTY.
            endif.
            if not WA-PAYER is initial.
              WA_RESULT_PACKAGE-PAYER = WA-PAYER.
            endif.
            if not WA-/BIC/OSSLSREP is initial.
              WA_RESULT_PACKAGE-/BIC/ZSREP = WA-/BIC/ZSREP.
            endif.
            if not WA-/BIC/OSBRO is initial.
              WA_RESULT_PACKAGE-/BIC/ZBRO = WA-/BIC/ZBRO.
            endif.
            if not WA-/BIC/OSCTREMP is initial.
              WA_RESULT_PACKAGE-/BIC/ZREMP = WA-/BIC/ZREMP.
            endif.
            if not WA-/BIC/OSOPR is initial.
              WA_RESULT_PACKAGE-/BIC/ZPRI = WA-/BIC/ZPRI.
            endif.
            endloop.
            sort TEMP_RESULT_PACKAGE by DIVISION DISTR_CHAN SALESORG CUST_SALES /BIC/ZBRO /BIC/ZSREP /BIC/ZREMP.
            clear WA.
                  loop at TEMP_RESULT_PACKAGE into WA
                           where DIVISION = WA_RESULT_PACKAGE-DIVISION
                           and   DISTR_CHAN = WA_RESULT_PACKAGE-DISTR_CHAN
                           and   SALESORG = WA_RESULT_PACKAGE-SALESORG
                           and   CUST_SALES = WA_RESULT_PACKAGE-CUST_SALES.
            IF NOT WA-/BIC/ZCUST IS INITIAL.
              WA_RESULT_PACKAGE-/bic/ZCUST = WA-/BIC/ZCUST.
            ENDIF.
          endloop.
          modify RESULT_PACKAGE from WA_RESULT_PACKAGE.
          clear WA_RESULT_PACKAGE.
        endloop.

    Hi,
    I have to suggestions for you:
    1. use typed field-symbols for every loop
    2. I try to understand, what you are doing: you will at least be sure, that every necessary/key infoobject is filled with the same value from your result_package.
    I would try to separate it in two steps:
    1) build up your temp_result_package and make your assignments.
    2) do only a efficient read-table (sorted/hashed with key DIVISION DISTR_CHAN SALESORG CUST_SALES /BIC/ZBRO /BIC/ZSREP /BIC/ZREMP and field-symbols) on your inside your loop.
    3. by using field-symbols, your modify table is obsolete and costs a lot of time.
    Kind regards,
    Hendrik

  • End Routine to populate custom AFS field for Billing Item extractor

    I have the following scenario for Billing 2LIS_13_VDITM datasource
    Doc_No   Item  Material    Item_Categ   AFS_field
    2000        11     XYZ          123
    2000        12     XYZ          123                  US1
    3000        11     PQR          456                 
    3000        12     PQR          456                  CA1
    I need to populate the AFS_field in the first row also for all Doc Nos for certain Item categories (eg 123 & 456). I need to do this on the first transformation from PSA to DSO. I was planning to write a SELECT statement in the Start Routine with the PSA table as the reference as seen below and then write an End Routine calling this reference table. But the PSA table name is different in Dev, QA and Prod so I cannot use this.
    TYPES: BEGIN OF S_AFS,
    VBELN TYPE C LENGTH 10,
    PSTYV TYPE C LENGTH 4,
    MATNR TYPE C LENGTH 18,
    J_4KRCAT TYPE C LENGTH 16,
    J_4KSCAT TYPE C LENGTH 16,
    END OF S_AFS.
    DATA: LT_AFS TYPE STANDARD TABLE OF S_AFS,
          LS_AFS TYPE S_AFS.
    DATA: LT_DATA TYPE tyt_SC_1.
    LT_DATA[] = SOURCE_PACKAGE[].
    SORT LT_DATA DESCENDING BY VBELN MATNR J_4KRCAT.
    DELETE ADJACENT DUPLICATES FROM LT_DATA COMPARING VBELN MATNR.
    SELECT VBELN MATNR J_4KRCAT J_4KSCAT
    INTO CORRESPONDING FIELDS OF TABLE LT_AFS
    FROM /BIC/B0000777001
    FOR ALL ENTRIES IN LT_DATA WHERE VBELN = LT_DATA-VBELN AND MATNR =
    LT_DATA-MATNR.
    SORT LT_AFS BY VBELN MATNR.
    I am not an expert in writing ABAP code. Any suggestions are greatly appreciated and points will be assigned. Thank you.

    Hi
    why do want to select the data from PSA table ?Already your trying to load data from PSA to DSO.
    you want to populate the AFS field value in DSO right?
    1. First you have to add AFS field in ur DSO
    2. Write the Start routine based on ur scenario(select the data based on ur scenario and put into internal table).
    3. wirte AFS field leval  transfer routine(Read the corresponding record based on docu num,item num) pass into RESULT.
    Regards,
    GR

  • What are start and end routines in BI 7.0..

    Hi,
    Can you please explain and give me a sample code ?
    thanks

    Hi,
    depending on your data flow you have to use the routines .
    Start routines - start routines:
    It is used to perform preliminary calculations.if you have any modifications required before the actual transformation is done, then you must write those routines in the start routine of 7.0.
    End routines - new:
    You can use an end routine to postprocess data after transformation on a package-by-package basis.
    Expert routine - update routine :
    You can use the expert routine if there are not sufficient functions to perform a transformation. The expert routine should be used as an interim solution until the necessary functions are available in the standard routine. You can use this to program the transformation yourself without using the available rule types. If you have already created transformation rules, the system deletes them once you have created an expert routine.
    Also Check the below link for detail info.
    Routine in Transformation.
    Reg
    Pra

  • Delete particular row with routine

    Hi,
    I have a report that the customer required that a particular row be deleted from the cube.
    I have done the coding in start routine but the requirement is not meant
    Data in report
    DOC Num                Flag                           Amount
    001                          #                               100
    002                          X                                200
    002                          #                                200
    003                          X                                500
    003                          #                                500
    004                          #                               300
    Now the requirement is that since doc num 002 and 003 have 2 rows because of the flag, The # should be deleted while 001 and 004  should be kept.
    I used Delete SOURCE_PACKAGE WHERE FLAG = '  '  in end  routine but it didn't work as 001 and 004 were deleted from the report where as they should show.
    how do I resolve this code
    thanks

    Hello,
    Try the following code in the start routine:
    data: itab_SP_1 type SOURCE_PACKAGE,
            itab_SP_2 type SOURCE_PACKAGE.
            wa_SOURCE_PACKAGE like line of SOURCE_PACKAGE,
    itab_SP_1 = SOURCE_PACKAGE.
    Delete itab_SP_1 WHERE FLAG = ' '.
    itab_SP_2 =  itab_SP_1.
    loop at SOURCE_PACKAGE into wa_SOURCE_PACKAGE.
    read table itab_SP_1 with key doc_co = wa_SOURCE_PACKAGE-doc_no.
    if sy-subrc NE 0.
    append wa_SOURCE_PACKAGE to itab_SP_2.
    endif.
    endloop.
    clear SOURCE_PACKAGE.
    append line of itab_SP_2 to SOURCE_PACAKGE.
    Regards,
    Shashank

  • End routine to populate Info-cube.

    Hi ,
    Is it possible to load fileds of a Info-cube using End routines in the following scenairos.
    1.Loading fields of info-cube by referencing/using a master data table in End routine.
    2.Loading fields of info-cube by referencing/using a DSO fields  in End routine.
    3.Loading fields of info-cube by referencing/using a fields of another info-cube in End routine.
    Please advise.

    Hi Stalin,
    Before answering your question you need to understand something about "End routine" and "Expert routine".
    End Routine:
    - Result_fields and Result_package are available
    - End routine contains only those fields available in Data target.
    Start Routine:
    - Source_fields and Source_package are available
    - Start routine contains only those fields coming from source.
    Expert Routine:
    -  Source_fields, Source_package, Result_fields and Result_package are available
    So Now if you want write code to look up into some other cube, in look up you may need to test condition using source fields, in that case " Expert Routine" is only the option.
    For Ex
    my data target contains : x,y and z fields (it becomes result_field)
    source contains : a field ( it becomes source_field)
    now if i want to write look up code like this " select x,y and z fields from other cube where my a field value = other cube a field value. here u r accessing both S_F as well as R_F. So only the option is "EXPERT ROUTINE"
    or else u want to write code only with R_F then "End routine " is enough.
    Thanks,
    Gowd

  • End Routine ABAP to read from Internal table and do calculation.

    Hi All...
    I have completed some coding in a start routine to extract some fields from a DSO containing Master Data (Stock Age) into an internal table (the internal table has been defined in the global declarations area) which will then be read in the end routine.
    (the internal table will be read) at loadtime in the end routine and used in a calculation as described below.
    I.E
    GLOBAL DATA DECLARATION
    Data: ITAB1 TYPE TABLE OF /BIC/DSOTAB
    (DSOTAB has 3 fields PLANT, STYLE, 1STDATE (1STDATE IS A DATE FIELD)
    The start routine has the following code:
    IF ITAB1 IS INITIAL.
    SELECT /BIC/PLANT /BIC/STYLE /BIC/1STDATE
                    FROM /BIC/DSOTAB
                    INTO CORRESPONDING FIELDS OF TABLE ITAB1.
    This is working fine when run under simulation i.e ITAB1 is filled no problem.
    I then need to do a calculation in the end routine.
    1. First I have to find the record in the internal table using the key of PLANT AND STYLE from the RESULT_PACKAGE.
    The code i am using now is as follows....
        READ TABLE ITAB1 TRANSPORTING NO FIELDS WITH KEY
        /BIC/PLANT = <result_fields>-/BIC/PLANT /BIC/STYLE =
        <result_fields>-/BIC/STYLE.
    Once this record has been read I then have to perform the following calculation using the following additional fields
    <result_fields>-/BIC/DYS1ST is a NUMC field in the <result_fields> that will be be filled by the result of the calculation described below.
    <result_fields>-CALDAY is a date field which is already populated in the <result-fields> which is used in the calculation below.
    The Calculation required is a difference in days between two dates
    DYS1ST = CALDAY - 1STRED.
    The code i am using is
    If sy-subrc = 0.
         <result_fields>-/BIC/DYS1ST = <result_fields>-CALDAY -
         i_t_1stred_dso-/BIC/1STRED.
    So the whole section of code inside the LOOP at RESULT PACKAGE looks like this in the end routine
           READ TABLE ITAB1 TRANSPORTING NO FIELDS WITH KEY
        /BIC/PLANT = <result_fields>-/BIC/PLANT /BIC/STYLE =
        <result_fields>-/BIC/STYLE.
    IF sy-subrc = 0.
         <result_fields>-/BIC/DYS1ST = <result_fields>-CALDAY -
         i_t_1stred_dso-/BIC/1STRED.
    Im getting the error
    "ITAB1 " is a table without a header line and therefore has no component called "/BIC/1STRED
    Please can someone advise as to what I need to do to get this fixed please.
    Thanks in advance
    Stevo:)

    Hi,
    You will have to do few changes in your code as below,
    GLOBAL DATA DECLARATION
    Data: ITAB1 TYPE standard TABLE OF /BIC/DSOTAB.
    After that declare a workarea to read the values.
    DATA: i_wa_itab1 type /bic/dsotab.
    (DSOTAB has 3 fields PLANT, STYLE, 1STDATE (1STDATE IS A DATE FIELD)
    The start routine has the following code:
    IF ITAB1 IS INITIAL.
    SELECT /BIC/PLANT /BIC/STYLE /BIC/1STDATE
    FROM /BIC/DSOTAB
    INTO CORRESPONDING FIELDS OF TABLE ITAB1.
    This is working fine when run under simulation i.e ITAB1 is filled no problem.
    I then need to do a calculation in the end routine.
    1. First I have to find the record in the internal table using the key of PLANT AND STYLE from the RESULT_PACKAGE.
    The code i am using now is as follows....
    READ TABLE ITAB1 TRANSPORTING NO FIELDS WITH KEY
    /BIC/PLANT = <result_fields>-/BIC/PLANT /BIC/STYLE =
    <result_fields>-/BIC/STYLE.
    Once this record has been read I then have to perform the following calculation using the following additional fields
    <result_fields>-/BIC/DYS1ST is a NUMC field in the <result_fields> that will be be filled by the result of the calculation described below.
    <result_fields>-CALDAY is a date field which is already populated in the <result-fields> which is used in the calculation below.
    The Calculation required is a difference in days between two dates
    DYS1ST = CALDAY - 1STRED.
    The code i am using is
    If sy-subrc = 0.
    <result_fields>-/BIC/DYS1ST = <result_fields>-CALDAY -
    i_t_1stred_dso-/BIC/1STRED.
    So the whole section of code inside the LOOP at RESULT PACKAGE looks like this in the end routine
    READ TABLE ITAB1 into i_wa_itab1 WITH KEY
    /BIC/PLANT = <result_fields>-/BIC/PLANT /BIC/STYLE =
    <result_fields>-/BIC/STYLE.
    IF sy-subrc = 0.
    <result_fields>-/BIC/DYS1ST = <result_fields>-CALDAY -
    i_wa_itab1-/BIC/1STRED.
    Once you do this changes, your code will work fine.
    Regards,
    Durgesh.

  • Filling Data fields of a DSO in End Routine

    Hi Everyone,
    The data fields of a DSO contains 2 key figures and a characteristic.
    In the End routine of the transformation, i have assigned constant values for the infoobjects in the data field.
    After executing the DTP, if I check in the New Table of the DSO, these constant values are present.  But when I activate the DSO, the values for key figures gets initialised and the values for the characterisitic becomes empty (NULL).
    Is it not possible to assign values for the infoobjects in the data field? If so, why is this limitation?
    Thanks in advance,
    Uma

    Uma,
    To populate any field in the end routine, you have to assign some constant in the transformation first and then re-populate them using the end routine.
    Sometimes if you dont assign any constant in transformation, the values remain initial and even after you write a code fo that field, it is not populated in the end routine.
    All you have to do is assign constant 0 to the key figures you are populating in the end routine and run the DTP again.
    Thanks
    Sachin

  • Source Field in End Routine of DSO Transformation

    Hi,
    I made a transformation from source DSO to Target DSO.
    There are 7 fields in source & 6 fields in target..All the 6 fields are one to one mapped from the source to Target
    I need to write a simple ABAP Logic in End Routine based on the 7th source field which is not mapped.
    Please let me know the piece of ABAP code or steps where i can get the value of Source table in End routine
    Regards
    Suresh

    Hi Suresh,
                      Check here.........
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/e73bfc19-0e01-0010-23bc-ef0ad53f2fab
    http://help.sap.com/saphelp_nw70/helpdata/en/e3/732c42be6fde2ce10000000a1550b0/frameset.htm
    Regards,
    Vijay.

Maybe you are looking for

  • System Performanc​e Scores for W530?

    I would like to know what other's system performance scores are (control panel/system/performance) on their W530s...specifically configured with : Intel Core i7-3720QM processor (6M Cache)   NVDIA Quadro K1000M Graphics with 2GB DDR Memory   8 GB DDR

  • Can I "redesignate" the location of my images in Lightroom?

    Using LR over the years I have ended up with a rather clumsy storage scheme. I have been primarily storing my images on a NAS and importing them into LR as wanted (referencing them at their current location on the NAS). I now have many images importe

  • PSC 1410 - print job stuck in queue

    Sometimes my PSC 1410 stops printing part-way through a page: the warning lights "jam" and "cartridge" come on, although the paper path clears after pressing On/Resume when the spoiled sheet emerges (undamaged), and the cartridges are at about half l

  • Error "Illegal use of 1PC resource in transaction" with Websphere 4.0

    Hello All: I am developing with the webpshere application developer 4.0.0 old version because the proyect requirements. I am connecting with jdbc driver to an Oracle DDBB. I use the OracleConnectionPoolDataSource driver. When i try to modify or enter

  • FileVault 2

    I'm currently using Legacy FileVault to encrypt my user. The computer is shared with other people who have their own users. Legacy FileVault encrypts my user so that when another user is logged in they can't access it at all. My question is, does Fil