Maintain Custom Periods in BW

HI all,
I have requirement where i have to maintain master data in BW for custom periods created in R/3 based on a special fiscal year variant.I have an idea to create a characterstic based on some date characterstic but i am not sure which datre characterstic i have to take for reference.
I think with the help of some date functions i can get the periods into BW from transfer rules/update rules.
Please provide the solution ASAP as i am at crucial stage.
Thanks
Pavan Prakhya

Hi,
There is FM you can use : FISCPER_FROM_CALMONTH_CALC
parameters can be as below:
Import parameters               Value
IV_CALMONTH                     02.2007
IV_PERIV                             20
Export parameters               Value
EV_FISCPER3                     002
EV_FISCYEAR                     2007
EV_FISCPER                      002.2007
Hope this will help..
assign points if useful..
Cheers,
Pattan

Similar Messages

  • Urgent Help on Custom Periods

    HI all,
    I have requirement where i have to maintain master data in BW for custom periods created in R/3 based on a special fiscal year variant.I have an idea to create a characterstic based on some date characterstic but i am not sure which datre characterstic i have to take for reference.
    I think with the help of some date functions i can get the periods into BW from transfer rules/update rules.
    Please provide the solution ASAP as i am at crucial stage.
    Thanks
    Pavan Prakhya

    Hi Pavan,
    I think you need only to upload this special fiscal variant !
    Go to source system, righ-click on it and transfer global settings...in this way you will have on fiscal variant, period and so on the same situation you already have in your R/3...(and you can continue to use the std object only by selecting the right fiscal variant)
    Hope it helps!
    Bye,
    Roberto

  • Maintaining Posting Periods on productive client.

    hi all.
    Is there any way of maintaining posting periods "OB52" (IMG activity) without changing the status of productive client to modifiable. I know one way is to maintain the posting periods in dev and then transport. Is there any other way? (directly in production) and also what is the recommended method for doing this.

    Hello Rizwan,
    You can maintan OB52 in productive client by keeping the client as productive.The settings in SCC4 have to be like this :
    Client Role: Production
    Changes and Transport for client specific objects: Not allowed.
    Client Independent object changes: No changes to Repository and cross client authorization objects allowed.
    These settings will allow users to maintain OB52 in production clients but won't allow them access to maintain general customizing.
    Further you would need to assign authorizations for S_TABU_DIS as mentioned by Barry.
    OB52 is nothing but a view of table T001B. The authorization group for T001B table in table maintainence generator is FC31.
    So whosever needs to maintain OB52 needs to have proper authorization for this table via S_TABU_DIS.
    The values assigned have to be :
    Activity 02,03
    Authorization Group: FC31.
    Also you can check whether OB52 is allowed for maintainence in production.
    For this go to transaction SOBJ. Then check the check box against enter conditions and click on display. A pop up would come up. here you can give the view name V_T001B. In the resulting screen check for the check box against Current Settings. If it is checked then OB52 is open for maintainence in production client.
    There is one more method:
    Go to SPRO. Then to SAP Reference IMG. Go to the node for opening and closing posting periods. You can also search for this using Control+F option. Use the search string " Open and Close Posting Periods".
    Once there click on it. Then in menu bar go to EDIT and then to display IMG activity. In the next screen to go tab Maint. objects under the selection block Assigned objects. Here you will find an entry for table V_T001B. Double click on it a new screen appears. Here just check if the check box against current settings is checked. If it is then OB52 can be maitained in production clients.
    Please award points if the answer was helpful to you.
    With Regards.
    Ruchit

  • Logic - Average value for a particular Customer + Period

    Hello Experts,
    Please help me in the Logic to find out Average for the below scenario:
    This is the Output:
    Customer
    Period
    Payment Timeliness
    Cust-001
    01/97
    -4
    Cust-001
    01/97
    2
    Cust-001
    01/97
    3
    Cust-001
    04/97
    3
    Cust-001
    04/97
    5
    Cust-001
    06/97
    -4
    Cust-001
    07/97
    2
    Cust-001
    08/97
    3
    Cust-002
    09/97
    5
    Cust-002
    09/97
    4
    Cust-002
    10/97
    6
    Cust-002
    10/97
    -2
    Cust-002
    12/97
    -4
    Requirement is:
    Customer
    Period
    Payment Timeliness
    Cust-001
    01/97
    0.333
    Cust-001
    04/97
    4
    Cust-001
    06/97
    -4
    Cust-001
    07/97
    2
    Cust-001
    08/97
    3
    Cust-002
    09/97
    4.5
    Cust-002
    10/97
    2
    Cust-002
    12/97
    -4
    Display the Average of all the Payment Timeliness for a particular Month as shown above.
    My Code is:
    *&      Form  fetch_data
    FORM fetch_data .
      SELECT bukrs
             belnr
             gjahr
             blart
             bldat
             budat
             monat
       FROM  bkpf
       INTO  TABLE g_t_bkpf
       WHERE bukrs EQ '0470'
       AND   gjahr EQ p_year
       AND ( blart EQ 'EZ'
       OR    blart EQ 'DZ' )
       AND   monat IN s_month.
      IF sy-subrc EQ 0.
        SELECT bukrs
               belnr
               gjahr
               augdt
               buzei
               shkzg
               kunnr
               zfbdt
               zbd1t
               zbd2t
               zbd3t
               rebzg
         FROM  bseg
         INTO  TABLE g_t_bseg
         FOR ALL ENTRIES IN g_t_bkpf
         WHERE bukrs EQ g_t_bkpf-bukrs
         AND   belnr EQ g_t_bkpf-belnr
         AND   gjahr EQ g_t_bkpf-gjahr
         AND   kunnr IN s_kunnr.
        IF sy-subrc EQ 0.
        ELSE.
          WRITE:/'No Data Found'.
        ENDIF.
      ENDIF.
    ENDFORM.                    " fetch_data
    FORM display_paystats .
      DATA: l_due_date     TYPE faedt_fpos,
            l_timeliness   TYPE p,
            l_kunnr        type kunnr,
            l_counter      type i,
            l_period       type char5,
            l_tot_timeli   type p.
      IF g_t_bseg IS NOT INITIAL.
        WRITE: /10 'Customer ', 24 'Period ', 35 'Payment Timeliness'.
        WRITE: /10 sy-uline(44).
        LOOP AT g_t_bseg INTO g_wa_bseg.
          CLEAR l_due_date.
          CALL FUNCTION 'NET_DUE_DATE_GET'
            EXPORTING
              i_zfbdt       = g_wa_bseg-zfbdt
              i_zbd1t       = g_wa_bseg-zbd1t
              i_zbd2t       = g_wa_bseg-zbd2t
              i_zbd3t       = g_wa_bseg-zbd3t
              i_shkzg       = g_wa_bseg-shkzg
              i_rebzg       = g_wa_bseg-rebzg
           IMPORTING
             e_faedt       = l_due_date.
          READ TABLE g_t_bkpf INTO g_wa_bkpf WITH KEY
                                              bukrs = g_wa_bseg-bukrs
                                              belnr = g_wa_bseg-belnr
                                              gjahr = g_wa_bseg-gjahr.
          IF sy-subrc EQ 0.
            l_timeliness = g_wa_bkpf-budat - l_due_date.
          ENDIF.
          CLEAR g_wa_paystat.
          g_wa_paystat-kunnr = g_wa_bseg-kunnr.
          CONCATENATE g_wa_bseg-augdt+4(2) '/' g_wa_bseg-augdt+2(2) INTO g_wa_paystat-period.
          g_wa_paystat-timeli = l_timeliness.
          APPEND g_wa_paystat TO g_t_paystat.
          CLEAR : g_wa_bseg, g_wa_paystat.
        ENDLOOP.
        SORT g_t_paystat BY period.
        LOOP AT g_t_paystat INTO g_wa_paystat.
          WRITE:/10 g_wa_paystat-kunnr, 24 g_wa_paystat-period, 35 g_wa_paystat-timeli.
        ENDLOOP.
      ENDIF.
    ENDFORM.                    " display_paystats
    Where should I check the condition?
    I thought of assigning the Period / KUNNR in a Variable; then compare from the second record.
    But then how can I skip the check for 1st time inside a Loop?
    Since this is BSEG/BKPF entries; it is slow. So, please suggest some logic that doesn't affect the performance.
    Is it possible to write this logic within BSEG LOOP?
    Appreciate your help.
    Thank you!
    Thanks & Regards,
    Sowmya

    Found out by myself
    Closing the thread.
    SORT g_t_paystat BY kunnr period.
        LOOP AT g_t_paystat INTO g_wa_paystat.
          l_kunnr = g_wa_paystat-kunnr.
          l_period = g_wa_paystat-period.
          l_tot_timeli = g_wa_paystat-timeli.
          IF sy-tabix NE 1.
            READ TABLE g_t_paystat INTO g_wa_paystat1 WITH KEY kunnr  = l_kunnr
                                                               period = l_period.
            IF sy-subrc EQ 0.
              l_counter = l_counter + 1.
              l_tot_timeli = l_tot_timeli + 1.
            ELSE.
              g_wa_paystat-timeli = l_tot_timeli / l_counter.
              MODIFY g_t_paystat FROM g_wa_paystat TRANSPORTING timeli WHERE kunnr  = l_kunnr
                                                                       AND   period = l_period.
              CLEAR:
                l_counter,
                l_tot_timeli.
            ENDIF.
          ENDIF.
        ENDLOOP.
        DELETE ADJACENT DUPLICATES FROM g_t_paystat COMPARING kunnr period.
        LOOP AT g_t_paystat INTO g_wa_paystat.
          WRITE:/10 g_wa_paystat-kunnr, 24 g_wa_paystat-period, 35 g_wa_paystat-timeli.
        ENDLOOP.

  • Maintain custom page size with bleed

    I use CS4 and when working in Illustrator ( and later taking into a book in InDesign) how do I maintain custom page size with bleed in Illustrator when saving as PDF .
    I have been told my files are not print ready and have no bleed even though I set a bleed and accurate (custom)page size initially. It seems I lose these when I save as a PDF for Printers to use.

    Sometimes and I will check the way I do that, though usually I move from
    from AI ,  save as print quality PDF and still seem to lose the bleed. Is
    there a setting I should be using for the PDF?

  • How to maintain customer groups 1,2,3,4,5 ?

    Hi experts,
    We want to maintain customer group 1, customer group 2, customer group 3,customer group
    4,customer group 5 against the customer in the customer master.
    In which transaction code we can do that.
    Please provide me a step by step for maintaining that.
    Regards,
    Nishuv.

    Dear Nishuv,
    Path: SPRO - CRM -> Master Data -> Business Partner -> Define Attributes -> Define Customer Group
    Also, refer few more threads, related to Customer Group:
    [Customer Group|Re: Customer Group 2]
    [Customer Group 1,2,3,4,5 as mandatory|Customer Group]
    [Customer Group 1 & 2 in Sales Order|Re: Customer Group 2]
    Best Regards,
    Amit

  • Installed Base(ibase) data for segmentation/maintaining customer marketing

    There is a need to use Installed Base(ibase) data for segmentation/maintaining customer marketing attributes e.g. whether customer on active support agreement(yes/no), product line, version no., etc.
    So if the ibase data is updated, the changes should flow back to segmentation/marketing attributes of the business partner/
    Please help with any approach which can be useful in this scenario.
    Edited by: ankitarora on May 4, 2011 12:42 PM

    Please find the reply for your query,,,,,these are the related information
    LIST OF DATA SOURCE
    CRM IBase Transaction Data
    0CRM_SRV_IBASE_TRAN
    CRM IBase Master Data  
    Technical name: 0CRM_SRV_IBASE_ATTR
    Installed Base Category - DataSource for Texts  
    Technical name: 0CRM_IBTYPE_TXT
    Characteristic for IBase or Component - DataSource for Texts   
    Technical name: 0CRM_IBFLAG_TXT
    GUID of Installed Base/Component - DataSource for Texts  
    Technical name: 0CRM_IBAKEY_TXT
    IBase Text Component - DataSource for Texts  
    Technical name: 0CRM_IBTEXT_TXT
    DSO:
    CRM Service - Installed Bases and Components  
    Technical name: 0CRM_IBCO
    QUERYS
    Installed Base Analysis by Location  
    Technical name: 0CRM_IBCO_Q0101
    Installed Base Analysis by Business Partner  
    Technical name: 0CRM_IBCO_Q0104
    Analysis of Products in Installed Bases  
    Technical name: 0CRM_IBCO_Q0102
    Analysis of Individual Objects in IBase Components  
    Technical name: 0CRM_IBCO_Q0103
    More information
    http://help.sap.com/saphelp_nw70/helpdata/EN/ef/c4e1edcb84fa4abd6ddd00130de600/frameset.htm
    For more information, see the CRM documentation under mySAP Business Suite à mySAP Customer Relationship Management à CRM Enterprise à Analytics à Service Analytics.
    Regards
    Srini

  • Maintain Customs vendor in condition type

    Dear all,
    We have seperate pricing procedure for imports,we manually capture required customs duties in condition types in purchase order,Subsequently we need to do customs miro,for that we need to maintain customs vendor for every condition type,
    Since we need to maintain everytime manually,Since for import zero tax code is involved,so how to maintain customs vendor for condition types so that it will automatically populate while creating import purchase order ?
    Thanks
    Jeyakanthan

    Hi
    i have same scenario for import, assign custom vendor to import condition if there is lot of line item is very hard task and user sometimes miss one of condition, so i create one prog. with abaper ZMMIMPORT_PO,after po. this programe excute input is excel file whre they mantain PO NO ,LINE ITEM,CONDITION Types ,Amount Currency     ,Vendor,
    so conditions are maintained after this prog.
    hope this will help you

  • Maintain customer details in multiple language

    How do we maintain customer details in multiple language while creating customer master data?

    Hi Chandra Mohan,
    Goto XD01 Select International Version and select the laungauge and maintain.
    If it is not activated, goto SPRO> Flexible Real Estate Management (Enterprise Extension)>Address Management>International Settings>Activate International Address Versions
    Hope this will help u.
    Thanks
    M G Shankar

  • Custom Period Dimension

    Hello!
    I have a question.
    There is a great need for such hierarchy of "Period" dimension:
    Year - quarter - month - week - day.
    I know that when creating an Planning application I must choose Time Base Period "Custom" and Periods Per Year = "365".
    But how then create the rest levels of this hierarchy? (week, month, quarter)
    Big thx.

    Have a read of the following post - Re: Custom Period problem
    It is based on weeks but the logic is the same.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Deleting custom Period dimension members

    Hi,
    We are in Planning 11.1.2.1. and we created custom period dimension members (while creating application). Now we would like to delete one of those members (whcih is at level0). Obviously we don't see an option of delete in planning web interface. One option is to recreate the application but is there any way we can delete this member in oracle database. If yes, it would be great if you can provide us the table details.
    Thanks,
    Siva

    As John suggested it is not advisible, however you can delete in Essbase using Planning:
    1. Edit custom dimsion
    2. un-select all plan type
    3. cube referesh
    Hope this will help.

  • Mass maintaining customer hierachy?

    Hi there:
    I know the transaction to maintain customer hierarchy is vdh1n,but I am wondering if I can mass assigning customers to their headquarter? Help.

    Hi
    You can try with LSMW or BDC recording
    Else you can try with
    FM BAPI_CUSTOMER_HIERARCHIE_UPD
    Change and save assignments for the SD hierarchy.
    FM BAPI_CUSTOMER_HIERARCHIE_INS
    The function module inserts assignments into the customer hierarchy. These are imported with table NODE_LIST. The result log is in the table Return. The assignment can only be carried out for existing customers.
    regards
    Prashanth

  • Compare custom periods

    Hello,
    I am trying to compare revenue. My query works with hierarchies periods (year, month, day), but I don't know how to compare with custom periods.
    For exemple, comparing the revenue from [2013-05-02] to [2013-05-25] with exactly the same days in 2012. How can I achieve this ?
    Here my query to compare 2012 and 2011 :
    with
    set Hotels as
        [Hotels].[Hotel ID].&[1015],
        [Hotels].[Hotel ID].&[5640],
        [Hotels].[Hotel ID].&[8800]
    set Period as [Arrival Date].[Date].[Month].&[2012]&[1]:[Arrival Date].[Date].[Month].&[2012]&[12]
    member [Arrival Date].[Date].[0] as sum({ Period })
    member [Total Amount N-1] as (PARALLELPERIOD([Arrival Date].[Date].[Year], 1, [Arrival Date].[Date].[Year].&[2012]), [Measures].[Total Amount])
    select
        [Measures].[Total Amount],
        [Measures].[Total Amount N-1]
    } on 0,
        nonemptycrossjoin
            Hotels,
            Hotels.[Hotel].children,
        *{[Arrival Date].[Date].[0]}
    } on 1
    from [Booking_Cube]
    Here the result :
                                                  Total Amount  
     Total Amount N-1
    1015    Hotelname1015   0    1275810.51     1495742.72
    5640    Hotelname5640   0    17603.3           1100
    8800    Hotelname8800   0    406                  (null)
    Thanks

    Hi AntoinePro,
    According to your description, you can compare revenue with the hierarchy periods (year, month, day) by using the PARALLELPERIOD function, and now you want to compare with custom periods, right? In your scenario, does the time span of two custom periods
    equal to each other?
    Since
    PARALLELPERIOD function returns a member from a prior period in the same relative position as a specified member. So if the first time span not equal to the second one (such as the first period is 3 days, and the second period is 2 month), I am afraid we
    cannot compare it with the PARALLELPERIOD function.
    In this case, I am afraid we need get the value for the two periods manually, here is a sample MDX query for your reference.
    WITH MEMBER Measures.period1 AS SUM
    ([Date].[Calendar].[Date].&[20070515]:[Date].[Calendar].[Date].&[20070517])
    , [Measures].[Internet Freight Cost]
    MEMBER Measures.period2 AS SUM
    ([Date].[Calendar].[Month].&[2008]&[1]:[Date].[Calendar].[Month].&[2008]&[2])
    , [Measures].[Internet Freight Cost]
    SELECT {Measures.period1,Measures.period2} ON 0,
    [Product].[Category].members on 1
    FROM [Adventure Works]
    Results:
    Regards,
    Charlie Liao
    If you have any feedback on our support, please click
    here.
    Charlie Liao
    TechNet Community Support

  • Maintaining custom sort order when copying between albums

    Is there any way that you folks have discovered to maintain the custom sort order of the images in an album when copying these images into a another album? Duping the album is not an answer, as I need to collate the contents of a number of albums into one.
    I tried selecting the contents of the album that I had just done the custom sorting in, and making it into one big stack, to try to move that to keep the order. Aperture informed me that stacking only works on images from one project.
    OK, since I now know this fact about stacking, is there any good way to merge projects? I have a ton of work on the images in the individual projects, and don't want to redo anything.
    Anyway, hope you get the problem, any help will be appreciated.
    PowerBook G4 1.67 2GB RAM 128MB ATI Video, External FW Drives for library   Mac OS X (10.4.7)  

    ou must have an older iPod.
    I believe the new sort order only works on the new iPods (Nano and Video)

  • How to maintain Customer distribution model in ALE

    hi FRIENDS..
      i wish to know what will be the transaction code of maintaining the customer distribution model, and how we maintain it.  and also distribute custome model in IMG sreen... please reply me...i will surely award you  nice points....
    bye...
    naim

    U can create/maitain distribution model using BD64.
    Or else u can create it using SALE transaction code.
    U need to give sender/reciver/msg type.
    ==============================================
    procedure:
    click on Create Distribution model button-->give the technical name
    select the DModel Technical name>add msgtype>
    it will ask sender/reciver/msgtype.
    pass those parameters and generate partner profiles through environment menu
    =================================
    to distribute a model view to partner syste,:
    Select mview
    edit>modelview>distribute
    Message was edited by: Eswar Kanakanti

Maybe you are looking for