Serial no Fiscal year wise

sample data
year          Month          Srno
2010          05          1          ----Fianacial Year 09-10-----
2010          05          2
2010          05          3
2010          06          4
2010          06          5
2010          06          6
2010          07          1          ----Financial Year 10-11-----
2010          07          2
2010          07          3Year represents Year
Month Represent month
Srno is auto Generated No.
financial year
July-2009 to June-2010
July-2010 to June-2011 so on.
I want that every financial year start serial no 1
If our one financial year closed and we are in new financial year.
now i want to insert record in previous financial year so it check the max Serial no of this year record and generate it next serial no.
and if want to insert record in current financial year so it check the max serial no of this year and generate it next serial no.

No. This is a problem.
pv_period number(2) --- monthYou had posted above where month has values like 05, 06 where as in your structure it is Number (2) which means you are storing 05 as 5, this will create problem.
year          Month          Srno
2010          05          1          ----Fianacial Year 09-10-----
2010          05          2
2010          05          3
2010          06          4
2010          06          5
2010          06          6
2010          07          1          ----Financial Year 10-11-----
2010          07          2
2010          07          3
It's always better to post the table structure and data types properly.

Similar Messages

  • Fiscal Year wise GR Value display

    Dear SDN,
    I need to generate the report Fiscal year wise GR Value.
    Example:
    Selection Parameters:
    Material number:
    Fiscal Year(Apr to March):
    Output ... like this.
    Fiscal Year  GR Value in cr
    2006          100
    2007          200
    2008          300
    2009          400
    In the cube time chars are Calender Year,Calender Year/Month,Calender Year/Quarter,Fiscal Year/Period but Fiscal Year is not
    availabe......
    waiting for reply
    Thanks & Regards,
    Praveen.K

    Hi,
    We can do it using 2LIS_02_ITM and 2LIS_02_SCL with 0PUR_C01 InfoCubes. So check it, I have done using the same combinations.
    https://wiki.sdn.sap.com/wiki/display/BI/BWSDMMFIDATASOURCES
    Else you also check 0IC_C03 with 2LIS_03_ * DataSources.
    Thanks
    Reddy

  • Number Ranges Year Wise

    Hello All,
    This is with the reference to the Thread
    [Number range;
    My client want to maintain the number ranges year wise for Billing, Orders etc., We have suggested not to go with Year wise  best practise
    Is there any OSS notes which tells that number ranges can not be maintained fiscal year wise?
    Regards,
    Narasimha Kumar

    As said in above replies,
               You can achieve the same by using USEREXIT_Number_range in include;RV60AFZZ.
    where create new Ztable = ZNR_Billing:
    Year / Sales Organization / Distribution chanel(Optional) / NR interval.
    eg: 2010 / Z100 / Z1 = ZZ
    where Z100 -= Sales Org & Z1 = Dist Channel &
    ZZ = Number range Interval (maintain number ranges in SNRO for ZZ- Make sure interval should not be overlap with other number ranges, but i dont think its possible.
    eg:
    Z1:2009--> 1000 - 9000
    at the same time you cant create another number range in SNRO as Z2:1000-9000 ( numbers will overlap)
    But i f you dont maintain same numbers in different years, then you can use the above Userexit, but still doesnt have any sense to use Userexit, when you dont maintain same numbers.

  • Fiscal Year Week wise

    Hi SAP Guru,
    My client is UK base want fiscal year week wise as per below:- Fiscal year Oct to Sept.
    Month    Day    Period           Year Shift
    10          28        1                 +1
    11          28        2                 +1
    12          35        3                 +1
    Means 1 period 4 week, 2 period 4 week, 3 period 5 week.
    System is showing (date 35.12.2009 is not valid )error in period 3 and not allow to day 35.
    I have maintain year dep. How can i maintain period in that case. Please advise.
    Thanks in advance.
    Regards,
    Pankaj

    Hi Pankaj,
    I believe your client's fiscal year (2009) is Oct'08 to Sept'09.
    this is how you have to do the config:
    Fiscal year variant XX
    Calender year 2009
    Year Dependent X
    Month  Day  Period  Year Shift
    10       25     01        +1
    11       22     02        +1
    12       27     03        +1
    12       31     04        +1
    01       24     04         0
    02       21     05         0
    So your day is actual date in that particular month.
    I hope this helps.
    Cheers
    Samir

  • HOW TO GET FISCAL PERIOD WISE DATA BY GIVING FISCAL YEAR AS INPUT

    Hi All,
    I am creating a report where input field is FiscYear(0FISCYEAR). My fiscal year is Oct to Sep and 4 spl periods.
      If we give input as 2014 (current FY) it has to show all fiscal periods as on date. i.e., Oct’13 to Feb’14.  Which should show in columns each period
    separately, like Oct 13, Nov’13, …. Feb’14.
       If we give 2013, it has to show all fiscal periods separately each period in columns. i.e., Oct’12 to Sep’13.
    InfoProvider Data: We have a cube, containing data for 0CALMONTH and Fiscal Year. No fiscperiod in the cube.
      Could any one assist here as it’s a bit odd scenario never come across. All your suggestions and assistance are highly appreciable.
    Best Regards
    Venkat...

    Hi Anshu,
    I am getting the below error when I try to execute in Analyser.
    "No value could be determined for variable". Here is my code in CMOD.
    *Variables for ESAS Project
    DATA: curr_yy TYPE /BI0/OICALYEAR,
          input_yy TYPE /BI0/OICALYEAR,
          prev_yy TYPE /BI0/OICALYEAR,
          zmonth(2) TYPE N.
    WHEN 'ZCALMONTH_ESAS'.
        IF i_step = 2. "tried with i_step 1 also, same error message is showing
    READ TABLE i_t_var_range INTO loc_var_range
              WITH KEY vnam = 'ZFISCYEAR_ESAS'.
    IF sy-subrc EQ 0.
      curr_yy = loc_var_range.
      prev_yy = curr_yy - 1.
      zmonth = SY-DATUM+4(2).
      IF SY-DATUM+0(4) = curr_yy.
        CONCATENATE prev_yy '10' into l_s_range-low.
        CONCATENATE curr_yy month into l_s_range-high.
      ELSEIF prev_yy EQ loc_var_range.
        input_yy = loc_var_range.
        prev_yy = input_yy - 1.
        CONCATENATE prev_yy '10' INTO l_s_range-low.
        CONCATENATE input_yy '09' INTO l_s_range-high.
      ENDIF.
        l_s_range-opt = 'BT'.
        l_s_range-sign = 'I'.
    APPEND l_s_range TO e_t_range.
    ENDIF.
    ENDIF.
    Everything is fine in CMOD. However, its giving error in execution. Any idea on this pls...
    Best Regards
    Venkat...

  • Report display will be 2010,2011 year wise display and 2012 Month display

    Hi,
           I want to Create Report, output will be 2010,2011 year wise display, 2012,2013 month wise display and Fiscal year quarter display, all are display based on input value of Fiscal year data, please anyone guide me, How to do?
    Thanks,
    Nandish

    Hi, 
          How to assign KF to Time Characteristics,My report dsplay will be like this, For example
          Input Fiscal YEAR=2010 to 2013
                        Material              2010   2011  APR.2012 to MARCH 2013 
    Quantity              A1              200      300        *                    *
    Quantity              A2              300      400        *                    * 
    Also Display quarter wise display. How to do
    Thanks,
    Nandish

  • ARCHIVING OBJECT : CO_TOTAL  - Fiscal year issue regarding

    Hi,
    I am trying to archive  (01.04.2007 - 31.03.21008).    - fiscal year : 2008
    when i give the fiscal year : 2008  ( period 1 - 12)
    it 's archiving all the datas relevant to 01.04.2007 - 31.03.2008.  which  is correct.
    but some of company codes following a  calendar year as financial year .
    in that case  if i give 2008 (period 1 -12)  ( it is archiving jan'2008 - dec'2008) data.
    which is incorrect.
    in the archiving object configuration , there is no way for company code wise processing....
    *the company code which follows a calendar year is having different controlling area....
    Your inputs are useful to us.
    Thanking you.
    Regards
    Giri

    Hi Soyab,
    Before archiving these CO archiving objects please check whether DaRT is taken care. As CO_ITEM is already ongoing then i thing DaRT is done.
    1. CO_TOTAL: This archiving object is dependent on CO_ITEM, so first archive this AO and later with CO_TOTAL.
    - Controlling area, Order type, Fiscal year and Value type are the major selection criteria for restricting it for archiving.
    2. CO_CCMAST: Dependent on CO_ITEM and CO_TOTAL.
    - Controlling area, Cost center group and Fiscal year are the major selection criteria for restricting for archiving.
    Apart for this there are no other reports to execute before archiving these archiving objects.
    Reward if it benifits.
    -Thanks,
    Ajay

  • Fiscal Moth wise Display

    Dear All
                 i have new report for customer booking plan. i  am display month wise.
    but now i am dispay Fiscal month wise but not working
    the following is my code
    *& Report  ZCUST_ORDER                                                 *
    REPORT  z_cust_balance   LINE-SIZE 335.
    TABLES   : kna1,
               vbak,
               vbap,
               lips,
               vbuk,
               t247,
               zmm_style_mast,
               vbep.
    INCLUDE <icons>.
    *DATA:  t_month LIKE t247 OCCURS 0 WITH HEADER LINE.
    DATA:  BEGIN OF t_month OCCURS 0,
               SPRAS LIKE t247-SPRAS,
               MNR LIKE t247-MNR,
               KTX LIKE t247-KTX,
               LTX LIKE t247-LTX,
               TMPMNR LIKE t247-MNR,
            END OF t_month.
    DATA : begin of jest1 OCCURS 0,
           objnr like jest-objnr,
           stat like jest-stat,
           inact like jest-inact,
           end of jest1.
    DATA : BEGIN OF itab_month OCCURS 0,
           month_val(2),
           width_val(4) TYPE n,
           END OF itab_month.
    Data: begin of month_total occurs 0,
           monthcode(2),
           month(10),
          tempttl type p,
           qty(16) type p ,
           val(16) type p  ,
           tmpqty type p,
           tmpval type p ,
           end of month_total.
    *for Grand total
    Data: begin of month_ttl occurs 0,
           ttlqty type p ,
           ttlval type p  ,
          end of month_ttl.
    DATA: BEGIN OF it_summary OCCURS 0,
          month(2),
         tmpmonth(2),
          kunnr LIKE vbak-kunnr,
          name1 LIKE kna1-name1,
          kwmeng(16) TYPE p,
          tempso like vbap-vbeln,
          kursk(16) TYPE p DECIMALS 2,
          delqty(16) TYPE p,
          matnr like vbap-matnr,
          balqty(16)  TYPE p,
          netval(16) TYPE p DECIMALS 2,
          END OF it_summary.
    DATA: BEGIN OF t_list1 OCCURS 0,
          kunnr LIKE vbak-kunnr,
          month(2),
          name1 LIKE kna1-name1,
          kwmeng(16) TYPE p,
    fld2 TYPE VBAK-VBELN,
          kursk(16) TYPE p,
          delqty(16) TYPE p,
          balqty(16)  TYPE p,
          netval(16) TYPE p,
          END OF t_list1.
    DATA : t_list LIKE t_list1 OCCURS 0 WITH HEADER LINE.
    *DATA : t_list1 LIKE it_summary OCCURS 0 WITH HEADER LINE.
    DATA tmp_vlist LIKE it_summary OCCURS 0 WITH HEADER LINE.
    DATA tmp_vlist1 LIKE it_summary OCCURS 0 WITH HEADER LINE.
    data month_total1 like month_total OCCURS 0 WITH HEADER LINE.
    DATA: BEGIN OF itb_vbak OCCURS 0,
          kunnr  LIKE vbak-kunnr,
          month(2),
           TMPmnr(2),
          tempso like vbap-vbeln,
          name1 LIKE kna1-name1,
          kwmeng(16) TYPE p," LIKE vbap-kwmeng,
          vbeln  LIKE vbak-vbeln,
          posnr  LIKE vbap-posnr,
          vgbel LIKE lips-vgbel,
          vgpos LIKE lips-vgpos,
          matnr like vbap-matnr,
          waerk  LIKE vbap-waerk ,
          pstyv LIKE vbap-pstyv,
          objnr LIKE vbap-objnr,
          etenr LIKE vbep-etenr,
          netwr(16) TYPE p,"  LIKE vbap-netwr ,
          vkorg  LIKE vbak-vkorg,
          edatu  LIKE vbep-edatu,
          lfimg LIKE lips-lfimg,
          vrkme  LIKE vbap-vrkme,
          netvl(16) TYPE p ,
          style like zmm_style_mast-style,
          jahr like zmm_style_mast-jahr,
          cu_style like zmm_style_mast-CU_STYLE,
         DECIMALS 2,
         netvl LIKE vbap-netwr,
          kursk(16) TYPE p DECIMALS 2,
          netpr LIKE vbap-netpr,
          balqty(16)  TYPE p,
          totdlr type p DECIMALS 2,   "total dlr value
          comp(1) ,
          END OF itb_vbak.
    DATA: BEGIN OF itb_del OCCURS 0,
          vbeln LIKE lips-vbeln,
          lfdat LIKE likp-lfdat,
          kunnr LIKE likp-kunnr,
          posnr LIKE lips-posnr,
          lfimg LIKE lips-lfimg,
          meins LIKE lips-meins,
          vgbel LIKE lips-vgbel,
          vgpos LIKE lips-vgpos,
          month(2),
          END OF itb_del.
    DATA: BEGIN OF itb_price OCCURS 0,
          vbeln LIKE vbkd-vbeln,
          posnr LIKE vbkd-posnr,
          kursk LIKE vbkd-kursk,
          END OF itb_price.
    DATA :tmp_qty(16) TYPE p ,
          flag(3),
          FRMyear(4),
          TOyear(4),
          FRMMON(2),
          TOMON(2),
          difyr(2),
          difmo(2),
          tmpvbeln like lips-vbeln.
    DATA t_vbak LIKE itb_vbak OCCURS 0 WITH HEADER LINE .
    DATA t_vbak1 LIKE itb_vbak OCCURS 0 WITH HEADER LINE .
    DATA t_vbak2 LIKE itb_vbak OCCURS 0 WITH HEADER LINE .
    DATA t_vbak3 LIKE itb_vbak OCCURS 0 WITH HEADER LINE .
    DATA t_vbak4 LIKE itb_vbak OCCURS 0 WITH HEADER LINE .
    DATA t_vbak5 LIKE itb_vbak OCCURS 0 WITH HEADER LINE .
    DATA t_vbak6 LIKE itb_vbak OCCURS 0 WITH HEADER LINE .
    DATA t_jest LIKE jest1 OCCURS 0 WITH HEADER LINE.
    for perform sub total
    DATA tmp_vbak LIKE t_vbak1 OCCURS 0 WITH HEADER LINE.
    DATA tmp_vbak1 LIKE t_vbak1 OCCURS 0 WITH HEADER LINE.
    DATA t_kunnr TYPE kunnr OCCURS 0 .
    DATA : t_eindt(4),
           wa_name1 LIKE kna1-name1,
           conf LIKE vbep-bmeng,
           t_vbeln LIKE vbak-vbeln,
           t_lfimg(16) TYPE p,
           t_kursk(16) TYPE p DECIMALS 2,
           t_kwmeng(16) TYPE p ,
           t_netval(16) TYPE p,
           tmp_posnr LIKE vbap-posnr,
           customer_bal_qty(16) TYPE p,
           dbcnt TYPE i,
           p_month(2),
           TMPmnr(2),
           tmpmonth(2),
           tbcnt(4) TYPE n,
           month_name(10) ,
           result_width(4) TYPE n,
           h_width(4) TYPE n,
           f_width(4) TYPE n,
           fld(30),
           bal_tot_val(16) TYPE p ,
           drilldown_cnt(1) TYPE n VALUE 0,
           vbeln1 LIKE vbap-vbeln,
           subtot LIKE vbep-wmeng,
           eblen1 LIKE vbap-vbeln,
           t_totdlr(16) type p DECIMALS 2,
           t_tmpnetval(16) type p DECIMALS 2.
    RANGES: salesno FOR vbak-vbeln,
            fld1 FOR vbak-kunnr,
            it_objnr FOR vbap-objnr.
    DATA:  f(12),
           current_row(20),
           tmp_kunnr LIKE vbak-kunnr.
    DATA : balance_qty(16) TYPE p,
           balance_val(16) TYPE p,
           cust_bal_val(16) TYPE p,
           tmp_bal_val(16) TYPE p,
           tmp_bal(16) TYPE p.
    SELECTION-SCREEN: BEGIN OF BLOCK 1 WITH FRAME TITLE text-001.
    SELECT-OPTIONS: kunnr FOR vbak-kunnr.
    SELECT-OPTIONS: p_vdatu FOR vbak-erdat OBLIGATORY.
    SELECT-OPTIONS: p_vbeln  FOR vbak-vbeln.
    SELECT-OPTIONS: vkorg FOR vbak-vkorg OBLIGATORY.
    SELECTION-SCREEN END OF BLOCK 1.
    SELECTION-SCREEN: BEGIN OF BLOCK 2 WITH FRAME TITLE text-002.
    PARAMETERS: qty RADIOBUTTON GROUP r1 DEFAULT 'X',
                val RADIOBUTTON GROUP r1.
    SELECTION-SCREEN: END OF BLOCK 2.
    START-OF-SELECTION.
      DATA tmp_date(6) TYPE c.
    CONCATENATE '%' eindt+3(4) '%' INTO tmp_date.
          FRMyear =  p_vdatu+3(4).
          TOyear =  p_vdatu+11(4).
          difyr = TOyear - FRMyear.
          FRMMON =  p_vdatu+7(2).
          TOMON =  p_vdatu+15(2).
           if ( difyr = 0 ) AND ( ( FRMMON > 3 ) AND ( TOMON <= 12 ) ) .
                  write: 'Srini'.
             elseif
                ( difyr = 0 ) AND ( ( FRMMON <= 3 ) AND ( TOMON <= 3 ) ).
                    write: 'ravi'.
                    elseif
            endif.
               difyr = 1 and ( FRMMON > 3 and TOMON <= 3 ).
                 write: 'Suresh'.
    else.
    if difyr > 1.
          WRITE : 'Check Your Fiscal Date Month Year  ....'.
          exit.
        endif.
      SELECT * FROM t247 INTO TABLE t_month WHERE spras EQ 'EN'.
       BMENG(Confirmed qty) changed by  wMENG(Order qty)
      SELECT  shkunnr kname1  slWMENG sfwaerk sf~netwr
              shvbeln slposnr shvkorg sledatu sf~vrkme
              shnetwr vkkursk sfnetpr sletenr sf~objnr
              sfpstyv sfmatnr
          INTO (itb_vbak-kunnr,
                itb_vbak-name1,
                itb_vbak-kwmeng,
                itb_vbak-waerk,
                itb_vbak-netwr,
                itb_vbak-vbeln,
                itb_vbak-posnr,
                itb_vbak-vkorg,
                itb_vbak-edatu,
                itb_vbak-vrkme,
                itb_vbak-netvl,
                itb_vbak-kursk,
                itb_vbak-netpr,
                itb_vbak-etenr,
                itb_vbak-objnr,
                itb_vbak-pstyv,
                itb_vbak-matnr)
                      FROM vbak AS sh
                           INNER JOIN vbuk AS vb ON
                             shvbeln = vbvbeln
                           INNER JOIN vbap AS sf ON
                             shvbeln = sfvbeln
                           INNER JOIN vbep AS sl ON
                             sfvbeln = slvbeln AND
                             sfposnr = slposnr
                           INNER JOIN vbkd AS vk ON
                             slvbeln = vkvbeln
                           INNER JOIN kna1 AS k ON
                             shkunnr = kkunnr
                           WHERE
                         "  sh~vdatu IN p_vdatu AND
                             vk~posnr EQ 0 AND
                             sh~vbeln IN p_vbeln AND
                             sh~kunnr IN kunnr AND
                             sh~vkorg IN vkorg AND
                            vbak-erdat
                             sh~erdat IN p_vdatu AND
                            vb~spstg EQ space AND
                             sl~wmeng NE 0 AND
                             sf~abgru EQ space
                            " sf~pstyv EQ 'TASS'
                              ORDER BY sh~kunnr.
        itb_vbak-month   = itb_vbak-edatu+4(2).
      itb_vbak-netvl = ( itb_vbak-kwmeng - itb_vbak-lfimg ) *
    *(  itb_vbak-kursk * itb_vbak-netpr ).
        salesno-low = itb_vbak-vbeln.
        salesno-sign = 'I'.
        salesno-option = 'EQ'.
        it_objnr-low = itb_vbak-objnr.
        it_objnr = 'I'.
        it_objnr-option = 'EQ'.
        APPEND it_objnr.
        APPEND itb_vbak.
        APPEND salesno.
    *Test
        select  objnr stat inact INTO (t_jest-objnr, t_jest-stat, t_jest-inact) FROM jest
            WHERE  objnr eq  itb_vbak-objnr and inact ne 'X' and  ( stat = 'I0043' OR stat = 'I0045' ) .
            append t_jest.
        endselect.
      ENDSELECT.
      DELETE ADJACENT DUPLICATES FROM salesno.
      CLEAR salesno.
    SELECT * FROM jest INTO CORRESPONDING FIELDS OF TABLE t_jest WHERE
                objnr IN it_objnr.
    *test
    *select objnr stat inact FROM jest INTO CORRESPONDING FIELDS OF TABLE t_jest WHERE
                objnr IN it_objnr.
    *loop at it_objnr.
    *select  objnr stat inact FROM jest INTO (t_jest-objnr, t_jest-stat, t_jest-inact) WHERE
                objnr IN it_objnr and inact ne 'X' and  ( stat = 'I0043' OR stat = 'I0045' ).
    *append t_jest.
    *endselect.
    *endloop.
    *t_vbak5[] = itb_vbak[].
    *SORT t_vbak5 BY   month.
    **Test
    loop  at t_vbak5.
        read table t_vbak6 with key month = t_month-MNR.
              if sy-subrc = 0.
                 t_vbak6-month = t_month-tmpMNR.
                 modify t_vbak6 index sy-tabix.
              else.
               append t_vbak5 to t_vbak6.
               endif.
              clear : t_vbak5,   t_vbak6.
      endloop.
    t_vbak3[] = itb_vbak[].
      t_vbak3[] = t_vbak6[].
        LOOP AT t_vbak3 WHERE objnr NE space .
           LOOP AT t_jest WHERE objnr = t_vbak3-objnr AND
               ( stat = 'I0043' OR stat = 'I0045' )    AND
                 inact NE 'X'.
              DELETE salesno WHERE low EQ t_vbak3-vbeln.
              DELETE itb_vbak WHERE vbeln EQ t_vbak3-vbeln.
            EXIT.
          ENDLOOP.
        ENDLOOP.
      DELETE itb_vbak WHERE pstyv = 'TASS'.
    SELECT  lp~vbeln
             lp~posnr
             lp~lfimg
             lk~lfdat
             lk~kunnr
             lp~meins
             lp~vgbel
             lp~vgpos INTO
             (itb_del-vbeln,
              itb_del-posnr,
              itb_del-lfimg,
              itb_del-lfdat,
              itb_del-kunnr,
              itb_del-meins,
              itb_del-vgbel,
              itb_del-vgpos)
                      FROM lips AS lp INNER JOIN likp AS lk ON
                                   lpvbeln EQ lkvbeln INNER JOIN
                                   vbap AS vb ON
                                   lpvgbel EQ vbvbeln AND
                                   lpvgpos EQ vbposnr
                                   INNER JOIN vbuk AS vk ON
                                   lpvbeln EQ vkvbeln
                            WHERE vk~wbstk EQ 'C' AND
                                  lp~vgbel IN salesno.
       itb_del-month   = itb_del-lfdat+4(2).
       APPEND itb_del.
    ENDSELECT.
    loop at itb_vbak .
      tmpvbeln = itb_vbak-vbeln.
      SELECT vbeln posnr kursk  INTO
                        (itb_price-vbeln,
                         itb_price-posnr,
                         itb_price-kursk) FROM vbkd
                        where VBELN eq tmpvbeln  .
        APPEND itb_price.
      ENDSELECT.
      endloop.
      CLEAR conf.
    SORT itb_vbak BY   month
                        kunnr
                        name1
                        kwmeng
                        vbeln
                        posnr
                        etenr.
      REFRESH t_vbak3.
      CLEAR t_vbak3.
        t_vbak2[] = itb_vbak[].
      SORT t_vbak2 BY  kunnr month .
    *Test
    loop  at it_vbak2.
        read table t_month with key month = t_month-MNR.
              if sy-subrc = 0.
                 it_vbak2-month = t_month-tmpMNR.
                endif.
      endloop
      LOOP AT t_vbak2  .
        tmp_kunnr = t_vbak2-kunnr.
        wa_name1  = t_vbak2-name1.
        t_month   = t_vbak2-month.
        p_month   = t_vbak2-month.
        t_kursk   = t_vbak2-kursk.
        AT NEW month.
          PERFORM get_finmonth_name TABLES it_summary USING p_month.
          AT NEW kursk.
          PERFORM tot_qty_cust_month TABLES itb_vbak USING p_month
          tmp_kunnr.
          it_summary-kursk = t_kursk.
          it_summary-month = p_month.
          it_summary-kunnr = tmp_kunnr.
          it_summary-name1 = wa_name1.
          it_summary-kwmeng = t_kwmeng.
         PERFORM tot_del_cust USING p_month tmp_kunnr.
          it_summary-delqty = tmp_qty .
          it_summary-balqty =  it_summary-kwmeng - tmp_qty.
         it_summary-netval =  it_summary-balqty * it_summary-kursk * t_totdlr.
         it_summary-netval =  it_summary-kursk * t_totdlr.
           it_summary-netval =  t_tmpnetval.
          For get month wise total qty and value
            month_total-monthcode = p_month.
            month_total-qty = it_summary-balqty.
            month_total-val = it_summary-netval.
            month_ttl-ttlqty  =  month_ttl-ttlqty  +  it_summary-balqty.
            month_ttl-ttlval  =  month_ttl-ttlval  +  it_summary-netval.
        ENDAT.
         it_summary-netval = t_kursk.
          APPEND it_summary.
      append month_total.
      append month_ttl.
        ENDAT.
      ENDLOOP.
    SORT month_total BY   monthcode.
      DELETE it_summary WHERE balqty LE 0.
      IF qty = 'X'.
    write all the month's horizontaly********************************
       IF sy-subrc = 0 .
        SORT it_summary BY  month kunnr.
        loop at it_summary.
        move-corresponding  it_summary to t_list  .
        append t_list.
        endloop.
        SORT : t_vbak  BY KUNNR month ,
               t_list by kunnr MONTH.
       DESCRIBE TABLE t_vbak3 LINES dbcnt .
        IF it_summary IS NOT INITIAL .
          h_width   = 50.
          WRITE: 1 sy-vline.
          LOOP AT it_summary.
            AT NEW month.
              PERFORM get_month_name USING it_summary-month.
              FORMAT COLOR 4 INTENSIFIED OFF.
              WRITE AT h_width(17) sy-vline.
              WRITE AT h_width(17) month_name CENTERED.
              h_width = h_width - 1.
              WRITE AT h_width sy-vline.
              h_width = h_width  + 17         .
              itab_month-month_val = it_summary-month.
              itab_month-width_val = h_width + 20.
              APPEND itab_month.
              HIDE month_name.
            ENDAT.
            AT LAST .
              WRITE AT h_width(1) sy-vline.
              h_width = h_width + 3.
              WRITE: AT h_width 'Total' CENTERED.
              h_width = h_width + 30.
              WRITE AT h_width sy-vline.
            ENDAT.
          ENDLOOP.
          WRITE AT h_width sy-vline.
           NEW-LINE .
    ********Write qty horizontaly***************************
          h_width = 50.
          WRITE AT 1 sy-vline.
          WRITE AT 1(h_width) sy-vline.
          LOOP AT it_summary.
            AT NEW month.
              FORMAT COLOR 5 INTENSIFIED OFF.
              WRITE AT h_width(16) sy-vline.
              WRITE AT h_width(16) 'Order Qty' CENTERED.
              h_width = h_width - 1.
              WRITE AT h_width sy-vline.
              h_width = h_width  + 17.
              WRITE AT h_width sy-vline.
            ENDAT.
            AT LAST .
              h_width = h_width + 1.
              WRITE AT h_width(16) sy-vline.
              WRITE AT h_width(33) 'Order Qty' CENTERED.
              h_width = h_width - 1.
              WRITE AT h_width sy-vline.
              h_width = h_width + 33.
              WRITE AT h_width sy-vline.
                      ENDAT.
          ENDLOOP.
    ******Write customer  Name grouped by*************************
          WRITE AT /1(h_width) sy-uline.
          LOOP AT t_list.
            WRITE :AT 1 sy-vline.
             AT NEW kunnr.
                LOOP AT it_summary  WHERE kunnr EQ t_list-kunnr.
                MOVE-CORRESPONDING it_summary TO t_list1.
                APPEND t_list1.
              ENDLOOP.
              DELETE it_summary WHERE kunnr EQ t_list-kunnr.
              HIDE kunnr.
            ENDAT.
            SORT t_list1  BY kunnr name1 month.
            LOOP AT t_list1.
              AT FIRST .
                FORMAT COLOR 3 INTENSIFIED OFF.
                NEW-LINE.
                WRITE: 1 sy-vline.
                WRITE:2(10) t_list-kunnr HOTSPOT ON.
                WRITE: AT 12 sy-vline.
                WRITE:13(37) t_list-name1 HOTSPOT ON.
                WRITE: AT 49 sy-vline.
                SET LEFT SCROLL-BOUNDARY.
              ENDAT.
              FORMAT COLOR 2  INTENSIFIED OFF.
              AT NEW month.
                PERFORM write_position USING t_list1-month.
                f_width = result_width - 35.
                  SUM.
                WRITE :AT f_width(15) t_list1-balqty.
                f_width = f_width + 15.
              ENDAT.
              AT LAST.
                   SUM.
                f_width = h_width - 32.
              WRITE :AT f_width(3) icon_sum AS ICON COLOR 6 INTENSIFIED OFF.
                f_width = f_width + 3.
              WRITE :AT f_width(30)  t_list1-balqty COLOR 6 INTENSIFIED OFF.
                f_width = f_width + 30.
              ENDAT.
            ENDLOOP.
            WRITE :AT  h_width sy-vline.
            REFRESH t_list1.
          ENDLOOP.
          WRITE :AT /1(h_width) sy-uline.
    write:  /'                   '.
    write: / '                   '.
    WRITE :'TOTAL'.
    loop at month_total.
              AT NEW monthcode.
                PERFORM write_position USING month_total-monthcode.
                f_width = result_width - 35.
                  SUM.
                WRITE :AT f_width(15) month_total-qty.
                f_width = f_width + 15.
    endat.
    endloop.
    WRITE :AT f_width(34)  month_ttl-ttlqty COLOR 6 INTENSIFIED OFF.
                f_width = f_width + 30.
        ELSE.
          WRITE : 'Sorry No Results found ....'.
        ENDIF.
    *    command
                             value
    ELSEIF val = 'X'.
    write all the month's horizontaly********************************
       IF sy-subrc = 0 .
        SORT it_summary BY  month kunnr.
        loop at it_summary.
        move-corresponding  it_summary to t_list  .
        append t_list.
        endloop.
        SORT : t_vbak  BY KUNNR month ,
               t_list by kunnr MONTH.
       DESCRIBE TABLE t_vbak3 LINES dbcnt .
        IF it_summary IS NOT INITIAL .
          h_width   = 50.
          WRITE: 1 sy-vline.
          LOOP AT it_summary.
            AT NEW month.
              PERFORM get_month_name USING it_summary-month.
              FORMAT COLOR 4 INTENSIFIED OFF.
              WRITE AT h_width(17) sy-vline.
              WRITE AT h_width(17) month_name CENTERED.
              h_width = h_width - 1.
              WRITE AT h_width sy-vline.
              h_width = h_width  + 17         .
              itab_month-month_val = it_summary-month.
              itab_month-width_val = h_width + 20.
              APPEND itab_month.
              HIDE month_name.
            ENDAT.
            AT LAST .
              WRITE AT h_width(1) sy-vline.
              h_width = h_width + 3.
              WRITE: AT h_width 'Total' CENTERED.
              h_width = h_width + 30.
              WRITE AT h_width sy-vline.
            ENDAT.
          ENDLOOP.
          WRITE AT h_width sy-vline.
          NEW-LINE .
    ********Write qty horizontaly***************************
          h_width = 50.
          WRITE AT 1 sy-vline.
          WRITE AT 1(h_width) sy-vline.
          LOOP AT it_summary.
            AT NEW month.
              FORMAT COLOR 5 INTENSIFIED OFF.
              WRITE AT h_width(16) sy-vline.
              WRITE AT h_width(16) 'Order Val(INR)' CENTERED.
              h_width = h_width - 1.
              WRITE AT h_width sy-vline.
              h_width = h_width  + 17.
              WRITE AT h_width sy-vline.
            ENDAT.
            AT LAST .
              h_width = h_width + 1.
              WRITE AT h_width(16) sy-vline.
              WRITE AT h_width(33) 'Order Val(INR)' CENTERED.
              h_width = h_width - 1.
              WRITE AT h_width sy-vline.
              h_width = h_width + 33.
              WRITE AT h_width sy-vline.
            ENDAT.
          ENDLOOP.
    ******Write customer  Name grouped by*************************
          WRITE AT /1(h_width) sy-uline.
          LOOP AT t_list.
            WRITE :AT 1 sy-vline.
            AT NEW kunnr.
              LOOP AT it_summary  WHERE kunnr EQ t_list-kunnr.
                MOVE-CORRESPONDING it_summary TO t_list1.
                APPEND t_list1.
              ENDLOOP.
              DELETE it_summary WHERE kunnr EQ t_list-kunnr.
              HIDE kunnr.
            ENDAT.
            SORT t_list1  BY kunnr name1 month.
            LOOP AT t_list1.
              AT FIRST .
                FORMAT COLOR 3 INTENSIFIED OFF.
                NEW-LINE.
                WRITE: 1 sy-vline.
                WRITE:2(10) t_list-kunnr HOTSPOT ON.
                WRITE: AT 12 sy-vline.
                WRITE:13(37) t_list-name1 HOTSPOT ON.
                WRITE: AT 49 sy-vline.
                SET LEFT SCROLL-BOUNDARY.
              ENDAT.
              FORMAT COLOR 2  INTENSIFIED OFF.
              AT NEW month.
                PERFORM write_position USING t_list1-month.
                f_width = result_width - 35.
                SUM.
                WRITE :AT f_width(15) t_list1-netval.
                f_width = f_width + 15.
              ENDAT.
              AT LAST.
                SUM.
                f_width = h_width - 32.
              WRITE :AT f_width(3) icon_sum AS ICON COLOR 6 INTENSIFIED OFF.
                f_width = f_width + 3.
              WRITE :AT f_width(30)  t_list1-netval COLOR 6 INTENSIFIED OFF.
                f_width = f_width + 30.
              ENDAT.
            ENDLOOP.
            WRITE :AT h_width sy-vline.
            REFRESH t_list1.
          ENDLOOP.
          WRITE :AT /1(h_width) sy-uline.
    write:  /'                   '.
    write: / '                   '.
    WRITE :'TOTAL'.
    loop at month_total.
              AT NEW monthcode.
                PERFORM write_position USING month_total-monthcode.
                f_width = result_width - 35.
                  SUM.
                WRITE :AT f_width(15) month_total-val.
               f_width = f_width + 15.
    endat.
    endloop.
    WRITE :AT f_width(34)  month_ttl-ttlval COLOR 6 INTENSIFIED OFF.
                f_width = f_width + 30.
        ELSE.
          WRITE : 'Sorry No Results found ....'.
        ENDIF.
      ENDIF.
      NEW-LINE.
    *********Position of the field for the corresponding month******
    FORM write_position USING p_position.
      LOOP AT itab_month WHERE month_val EQ p_position.
        result_width = itab_month-width_val.
      ENDLOOP.
    ENDFORM.                    "Write_position
    *&      Form  month_splitter
          text
    FORM get_month_name USING p_month.
      CASE p_month.
        WHEN '01'.
          month_name = 'January'.
        WHEN '02'.
          month_name = 'February'.
        WHEN '03'.
          month_name = 'March'.
        WHEN '04'.
          month_name = 'April'.
        WHEN '05'.
          month_name = 'May'.
        WHEN '06'.
          month_name = 'June'.
        WHEN '07'.
          month_name = 'July'.
        WHEN '08'.
          month_name = 'August'.
        WHEN '09'.
          month_name = 'September'.
        WHEN '10'.
          month_name = 'October'.
        WHEN '11'.
          month_name = 'November'.
        WHEN '12'.
          month_name = 'December'.
    *WHEN '01'.
         month_name = ' April '.
       WHEN '02'.
         month_name = ' May '.
       WHEN '03'.
         month_name = ' June '.
       WHEN '04'.
         month_name = ' July '.
       WHEN '05'.
         month_name = ' August '.
       WHEN '06'.
         month_name = ' September '.
       WHEN '07'.
         month_name = ' October '.
       WHEN '08'.
         month_name = ' November '.
       WHEN '09'.
         month_name = ' December '.
       WHEN '10'.
         month_name = ' January '.
       WHEN '11'.
         month_name = ' February '.
       WHEN '12'.
         month_name = ' March '.
        WHEN OTHERS.
          month_name = 'Errror..'.
      ENDCASE.
    ENDFORM.                    "month_splitter
    FORM get_finmonth_name USING p_month.
    LOOP AT t_month where mnr eq p_month.
    CASE t_month-mnr.
        WHEN '01'.
          TMPmnr = '10'.
        WHEN '02'.
          TMPmnr = '11'.
        WHEN '03'.
          TMPmnr = '12'.
        WHEN '04'.
          TMPmnr = '1'.
        WHEN '05'.
          TMPmnr = '2'.
       WHEN '06'.
          TMPmnr = '3'.
        WHEN '07'.
          TMPmnr = '4'.
        WHEN '08'.
          TMPmnr = '5'.
        WHEN '09'.
          TMPmnr = '6'.
        WHEN '10'.
          TMPmnr = '7'.
        WHEN '11'.
          TMPmnr = '8'.
        WHEN '12'.
          TMPmnr = '9'.
       WHEN OTHERS.
          TMPmnr = 'Errror..'.
      ENDCASE.
           ENDLOOP.
    ENDFORM..
    AT LINE-SELECTION.
      IF sy-lsind = 1 .
        READ CURRENT LINE LINE VALUE INTO f.
        WRITE f+1(10) TO tmp_kunnr.
        CLEAR:   t_vbak.
        REFRESH  t_vbak1.
        CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
          EXPORTING
            input  = tmp_kunnr
          IMPORTING
            output = tmp_kunnr.
        LOOP AT itb_vbak WHERE kunnr EQ tmp_kunnr.
          MOVE-CORRESPONDING itb_vbak TO t_vbak1.
          APPEND t_vbak1.
        ENDLOOP.
        FORMAT COLOR 5 INTENSIFIED OFF.
        REFRESH t_vbak2.
        CLEAR t_vbak2.
        PERFORM get_balance_per_customer.
      ELSEIF sy-lsind = 2 .
        READ CURRENT LINE LINE VALUE INTO current_row.
        READ  LINE 4 LINE  VALUE INTO f.
        WRITE current_row+11(9) TO month_name.
        WRITE f+1(10) TO tmp_kunnr.
        PERFORM get_month_val USING month_name.
        CLEAR:   t_vbak,
                 t_vbak1.
        REFRESH:  t_vbak1.
        CLEAR:   t_vbak,
                 t_vbak1.
        REFRESH:  t_vbak1.
        CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
          EXPORTING
            input  = tmp_kunnr
          IMPORTING
            output = tmp_kunnr.
        LOOP AT itb_vbak
                       WHERE kunnr EQ tmp_kunnr AND
                             month EQ p_month.
          MOVE-CORRESPONDING itb_vbak TO t_vbak1.
          APPEND t_vbak1.
        ENDLOOP.
        SORT:t_vbak1 BY KUNNR month vbeln.
        REFRESH t_vbak2.
        CLEAR t_vbak2.
        REFRESH t_vbak.
        CLEAR t_vbak.
        t_vbak[] = itb_vbak[].
        PERFORM  get_month_namewise.
        FORMAT COLOR 5 INTENSIFIED OFF.
      ELSEIF sy-lsind = 3.
    IF sy-cucol > 1 AND sy-cucol < 13.
    GET CURSOR FIELD fld VALUE fld.
    SET PARAMETER ID 'AUN' FIELD fld.
    CALL TRANSACTION 'VA03' AND SKIP FIRST SCREEN.
    endif.
      ENDIF.
    PERFORM write_item .
    *&      Form  write_item
          text
    FORM write_item .
      READ TABLE t_vbak2 INDEX 1.
      IF t_vbak2 IS NOT INITIAL.
        WRITE : 1(70)  sy-uline.
        WRITE : /1     sy-vline.
        WRITE : 2(36) 'Customer'  COLOR 1 INTENSIFIED ON.
        WRITE : 38(22) 'Quantity'  COLOR 1 INTENSIFIED ON.
        WRITE : 58(12) 'Value in INR'  COLOR 1 INTENSIFIED ON.
        WRITE : 70     sy-vline.
        WRITE : /1(70) sy-uline.
        WRITE : /1     sy-vline.
        FORMAT         COLOR 2 INTENSIFIED OFF.
        WRITE : 2(10)  t_vbak2-kunnr  COLOR 1 INTENSIFIED OFF.
        WRITE : 12(58) t_vbak2-name1  COLOR 1 INTENSIFIED OFF.
        WRITE 70 sy-vline.
        IF sy-lsind  = 2.
          FORMAT COLOR 1 INTENSIFIED OFF.
         WRITE :/1  sy-vline,
                 2(15)  'Sales Document',
                 17(10) 'Delivery Date',
                 28(10) 'Quantity ',
                 39(7)  'Uom',
                 47(15) 'Value in INR' RIGHT-JUSTIFIED,
                 65(20)   'Style'.
           WRITE :/1  sy-vline,
                  2(15)  'Sales Document',
                  17(20)   'Style',
                  27(10) 'Delivery Date',
                  38(10) 'Quantity ',
                  49(7)  'Uom',
                  55(15) 'Value in INR' RIGHT-JUSTIFIED.
        ENDIF.
        WRITE 70 sy-vline.
        DELETE t_vbak2 WHERE balqty <= 0.
        LOOP AT t_vbak2.
          AT NEW month.
            PERFORM get_month_name USING t_vbak2-month.
            WRITE /1(70) sy-uline.
            WRITE /1 sy-vline.
            WRITE :2(10) 'Month of'  COLOR 3 INTENSIFIED ON ,
                   12(26) month_name COLOR 3 INTENSIFIED OFF.
            HIDE month_name.
            SUM.
            PERFORM sum_balance TABLES t_vbak2 USING t_vbak2-month.
            WRITE : 35(23) balance_qty COLOR 3 INTENSIFIED OFF CENTERED,
                    58(12) t_vbak2-netvl COLOR 3 INTENSIFIED OFF CENTERED.
    *TEST
            WRITE : 70 sy-vline.
          ENDAT.
          IF sy-lsind = 2.
            FORMAT COLOR 4 INTENSIFIED OFF.
           WRITE :/1 sy-vline.
           WRITE : 2(15)  t_vbak2-vbeln,
                   17(10) t_vbak2-edatu,
                   28(10) t_vbak2-balqty,
                   39(5)  t_vbak2-vrkme HOTSPOT ON,
                  50(12) t_vbak2-netvl,
                 65(20)  t_vbak2-cu_style.
           WRITE 62 sy-vline.
    WRITE :/1 sy-vline.
            WRITE : 2(15)  t_vbak2-vbeln,
                    17(20)  t_vbak2-cu_style,
                    28(10) t_vbak2-edatu,
                    39(10) t_vbak2-balqty,
                    49(5)  t_vbak2-vrkme HOTSPOT ON,
                   55(12) t_vbak2-netvl.
            WRITE 70 sy-vline.
            HIDE: t_vbak1-vbeln.
      ENDIF.
          AT LAST.
            WRITE /1(70) sy-uline.
          ENDAT.
        ENDLOOP.
    ENDIF.
    ENDFORM.                    "writeat_item
    **&      Form  get_month_val
          text
         -->MONTH_NAME text
    FORM get_month_val USING month_name.
      LOOP AT t_month  WHERE ltx EQ month_name.
       p_month = t_month-mnr.
    p_month = t_month-TMPmnr.
      ENDLOOP.
    ENDFORM.                    "Write_position
    *&      Form  sum_balance
          text
         -->P_MONTH    text
    FORM sum_balance TABLES p_table USING p_month .
      CLEAR : tmp_vbak,
              balance_qty.
      REFRESH tmp_vbak.
      tmp_vbak[] = p_table[].
      LOOP AT tmp_vbak WHERE month EQ p_month AND kwmeng NE 0.
        balance_qty =  balance_qty +  tmp_vbak-balqty .
        "( tmp_vbak-kwmeng  - tmp_vbak-lfimg ).
      ENDLOOP.
    ENDFORM.                    "sum_balance
    *&      Form  sum_tot_balance
          text
    FORM sum_cust_tot_balance USING p_customer .
      CLEAR : tmp_vbak1,
              customer_bal_qty.
      REFRESH tmp_vbak1.
      tmp_vbak1[] = t_vbak[].
      LOOP AT tmp_vbak1 WHERE  kwmeng NE 0 AND
                               kunnr EQ p_customer .
        customer_bal_qty =  customer_bal_qty + tmp_vbak1-balqty .
        "( tmp_vbak1-kwmeng  - tmp_vbak1-lfimg ).
      ENDLOOP.
    ENDFORM.                    "sum_balance
    *&      Form  sum_tot_balance
          text
    FORM sum_tot_balance .
      CLEAR : tmp_vbak1,
              balance_qty.
      REFRESH tmp_vbak1.
      tmp_vbak1[] = t_vbak[].
      LOOP AT tmp_vbak1 WHERE  kwmeng NE 0 .
        balance_qty =  balance_qty + tmp_vbak1-balqty .
        "( tmp_vbak1-kwmeng  - tmp_vbak1-lfimg ).
      ENDLOOP.
    ENDFORM.                    "sum_balance
    *&      Form  sum_bal_val
          text
         -->P_TABLE    text
         -->P_MONTH    text
    FORM sum_bal_val TABLES p_table USING p_month .
      CLEAR : tmp_vbak,
              balance_val.
      REFRESH tmp_vbak.
      tmp_vbak[] = p_table[].
      LOOP AT tmp_vbak WHERE month EQ p_month AND kwmeng NE 0.
        balance_val =  balance_val +   tmp_vbak-netvl .
        "( tmp_vbak-kwmeng  - tmp_vbak-lfimg ).
      ENDLOOP.
    ENDFORM.                    "sum_balance
    *&      Form  sum_cust_tot_bal_val
          text
         -->P_CUSTOMER text
    FORM sum_cust_tot_bal_val USING p_customer.
      CLEAR : tmp_vbak1,
              cust_bal_val.
      REFRESH tmp_vbak1.
      tmp_vbak1[] = t_vbak[].
      LOOP AT tmp_vbak1 WHERE  kwmeng NE 0 AND
                               kunnr EQ p_customer.
        cust_bal_val =  cust_bal_val + tmp_vbak1-netvl .
        "( tmp_vbak1-kwmeng  - tmp_vbak1-lfimg ).
      ENDLOOP.
    ENDFORM.                    "sum_balance
    *&      Form  sum_tot_bal_val
          text
    FORM sum_tot_bal_val .
      CLEAR : tmp_vbak1,
              bal_tot_val.
      REFRESH tmp_vbak1.
      tmp_vbak1[] = t_vbak[].
      LOOP AT tmp_vbak1 WHERE  kwmeng NE 0 .
        bal_tot_val =  bal_tot_val + tmp_vbak1-netvl .
    *bal_tot_val =  bal_tot_val + tmp_vbak1-totdlr .
    t_totdlr
        "( tmp_vbak1-kwmeng  - tmp_vbak1-lfimg ).
      ENDLOOP.
    ENDFORM.                    "sum_balance test
    *&      Form  sum_tot_delivery
          text
    FORM sum_tot_delivery USING p_saleno p_item.
      LOOP AT itb_del WHERE vgbel EQ p_saleno AND
                            vgpos EQ p_item.
        tmp_qty =  tmp_qty + itb_del-lfimg.
      ENDLOOP.
    ENDFORM.                    "sum_tot_delivery
    *&      Form  tot_del_cust
          text
         -->P_MONTH    text
         -->P_KUNNR    text
    FORM tot_del_cust USING p_month p_kunnr.
      CLEAR tmp_qty.
      LOOP AT itb_del WHERE month EQ p_month AND
                            kunnr EQ p_kunnr.
        tmp_qty =  tmp_qty + itb_del-lfimg.
      ENDLOOP.
    ENDFORM.                    "sum_tot_delivery
    &----

    Hi,
    We can do it using 2LIS_02_ITM and 2LIS_02_SCL with 0PUR_C01 InfoCubes. So check it, I have done using the same combinations.
    https://wiki.sdn.sap.com/wiki/display/BI/BWSDMMFIDATASOURCES
    Else you also check 0IC_C03 with 2LIS_03_ * DataSources.
    Thanks
    Reddy

  • How to display accounting periods in a fiscal year?

    hi gurus,
    could you please tell me how to display accounting wise calculations like AP1, AP2 ... AP12 in a given fiscal year in Bex (BI7.0)?
    please tell me the logic?
    regards

    You can create them
    Non calender year
    Non Year dependent
    Number of Periods 16, Special Periods XX (based on your requirement)
    Use -1 or +1 year shift based on your requirement.
    However, your requirement is wrong. December month is overlapping in both the years. Please recheck.
    Regards,
    Ravi

  • How to get a Monthly Depreciation Simulation for next fiscal year?

    I need a report that give me the depreciation simulation for next fiscal year, but I need it monthly wise. I run report S_ALR_87012936 with report date 31.12.2011 and evaluation period = month.
    The report gives the error message AA669 Fiscal year 2011 is already closed in Financial Accounting
    I read that this report doesn't work monthly wise for future years. Is there a workarround?
    Best regards!

    Hi,
    I'm sorry there is only RASIMU02. Note 396974 describes, this is a missing functionality and there  is no workaround.
    Reports on derived depreciation areas that do not post any values to the
    general ledger are allowed with the evaluation period year. An
    evaluation using month, quarter or half-year is not supported.
    In general, the depreciation forecasted by monthly in report RASIMU02 are only for depreciation area which posts depreciation to GL. For non-GL posting area, we recommend you simulate the depreciation 
    in 'fiscal year' mode. if you simulate the depreciation 
    Basically RASIMU02 is NOT designed to provide period simulation for these non posting areas. This because RASIMU02 uses for periods which have been posted already the created ANLP. But ANLP´s  are not created for non-posting areas. So in these periods where   a depreciation run had been executed already, RASIMU02 will not show
    values.                                                                               
    For AA 669 please see:
    Best Regards Bernhard
    Edited by: Bernhard Kirchner on Nov 25, 2010 9:20 AM

  • Can we only year value from "0FISCPER" (Fiscal Year/Period) at BEx level

    Hi all,
    I have two time characteristics "0FISCYEAR" (Fiscal Year) and "0FISCPER" (Fiscal Year/Period). In DSO initially "0FISCPER" was there and later request came to add "0FISCYEAR". Now data in char. "0FISCPER" is since beginning (from 2000) and for char. "0FISCYEAR" is since 2010.
    User's requirement is to create a report which will display data Year wise.
    My issue is if i am using "0FISCYEAR" then user is not able to see year instead it shows #. I dont want to do data reloading as this is GL data and hold huge no. of records in it.
    So my concern is : Is there any way to use only year value from "0FISCPER" (Fiscal Year/Period) at BEx level? Is there any setting which I can apply and get the same value of Year as I can see from "0FISCYEAR". Please assist me on this.
    Thanks,
    Arvind

    Hi Arvind,
    Your requirement can be realised through virtual characteristics.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b04be008-86cc-2c10-4bad-e517ea3f4c80?QuickLink=index&…
    however, I would still suggest to reload the data. you will only need to reload years before 2010 and you can do this in phases.
    Hope this helps.
    -Swati.

  • Fiscal year-report

    1.HOw will compare different fiscal year variant for reporting prupose?
    2. How will assigne the business area, and how will get u business areas wise report.

    Consider this I have a restricted KF which brings in the value YTD cumulative and have created another restricted KF which brings in the value YTD cumulative offset by -1.
    For instance when the user punches in Jan to March
    the first RKF1 brings in JAN FEB MARCH
    the second RKF2 brings in JAN FEB MARCH too
    only difference being March is blank in RKF2.
    If RKF2 brings in only JAN and FEB values then it would be easier to solve this issue by simple subtracting  RKF1- RKF2.
    The desired columns in the report should look like
    Jan-Null
    Feb-Jan
    March - Feb
    Hope you understand what I am getting at
    Thanks
    Raj

  • BSC:  Display values for Fiscal Year/Period

    Hi all,
        We are trying to create a small test scenario to know about balance score card. We have a cube which has Actual and Plan data in one KF diffentiated based on Value type character. Time character is fiscal year/period.
    We want to display a graph which displays actual and plan for fiscal year/period wise. But when we execute the score card it shows the total year's plan and actual for the individual fiscal year/period. But ideally it should display actual and plan for the respective fiscal year/period.
    we have created two value field in the measures of score card. and formula a/b (Plan / Actual ) is used.
    Please guide us in solving the problem.
    Regards,
    PM

    <FONT FACE = "Tahoma", Font Color = "Blue">
    Hi
    <Br>
    Do you have Fiscal Year Period in the Rows of your BW Report? If not, please try that.
    <Br><Br>Hope it helps.
    <Br>
    Cheers
    Abhijit
    <Br>* It's a good habit to reward someone with points in SDN if you think his/her
    response was helpful to you
    </FONT>

  • Report from 2 fiscal years

    Hi,
    GL Balances : I want to take out the report from 2  fiscal years, 2009 (10 to 12 period) and 2010(1 to 9 period).
    Please let me know the report name.
    Thanks

    Hi...
    Can you use FS10N, FBL3N, S_ALR_87012332 - G/L Account Statements ,S_ALR_87012282 - G/L Line Items, List for Printing , to see the year wise like
    While entering the date range we have to  enter from 01.10.  2009 to 31.12.2009 or from 01.01.2010 to 31.09.2010
    But you can give both date range at a time
    I hope it will helps
    Regards
    vamsi

  • Very urgent fiscal year change

    Hi All
    Once after completing the Year end operations of 2006, and when in the new
    Fiscal Year (2007), at any point of time, can  we carry-out the Fiscal Year
    Variant Changes..."
    regds
    vidya viswa

    Once after completing the Year end operations of 2006, and when in the new
    Fiscal Year (2007), at any point of time, can  we carry-out the Fiscal Year
    Variant Changes..."
    Pls  find point wise  query.
    1) Conversion can be done at any time during the year but before 31.12.07.  
    2) say we have done the conversion in June 07 , here the depreciation is already calculated for april and may.07. so when we run the june 07 the depreciation will be calculated on prorata basis till june 07.
    3) whenever we wish to take the trial balance , we will get the ytd TB from april 07 . meaning if we take the trial balance in november 06 , we will get YTD TB from april 2007 till november 2007.
    4) as at 31.3.07 we will close the year end as usual, start the new fiscal year also as usual, meaning without changing the fiscal year to shortened fiscal year

Maybe you are looking for

  • How to hide the transaction menu of R/3 in case of transaction iViews

    Hi Friends, I have created a transaction Iview for R/3. As per the requirements i have to hide the R/3 menu where on the left we have execute transaction box to write the transaction code and execute. How can we achieve this Regards...Rohit email [em

  • Total of numeric fields in the first line of ALV output

    Hi All, i have a problem it is like i have created ALV list display and total is dipalyed of numeric column  for each page. my requirement is total should be diaplyed at the end of page plus toal should be diaplyed on the first line of second page al

  • Mac Safari to PC Safari

    I am running safai on my mac and have icloud all set up correctly to share bookmarks. I have recently installed Safari on my PC in the hope that all my bookmarks would automatically sync. Unfortunately this does not seem to be happening. I downloaded

  • CS5  display error

    Photoshop CS5, Windows 7 x64 In an 8.8mb PSD with lots of layers and layers groups (nested layers group beyond what CS4 used to allow) I've started to experience weird "noise" being drawn in randomly. Two times so far: 1) The red glowy text layer (an

  • How to find order no. from project no.

    Hi, We are trying to create a custom report like CN47N. Now I want to find out order no. for any project no. entered. Can you suggest what tables to use to find order nos for any project?