Planning Function of type EXIT in IP

Gurus,
How do we use planning functions of type EXIT in planning modeler ( IP ).I Know how to use existing BPS functions of type exits in IP, but how can we create a new planning function of type EXIT in IP ?.

Hello Sappie,
please check the online documentation:
http://help.sap.com/saphelp_nw70/helpdata/en/43/332530c1b64866e10000000a1553f6/frameset.htm
The concept is similar to BPS but has a few enhanced capabilities.
Regards,
Marc Bernard
SAP NetWeaver RIG

Similar Messages

  • Awful performance when using planning function of type EXIT

    Hi.
    I created planning function base on my own class with interface IF_RSPLFA_SRVTYPE_IMP_EXEC_REF.
    In this class I read active buffer and do some validations.If validation not successful I give error message, otherwise I do nothing.
    After my method ends to run (very fast and without any problem and only on active filter rstricted values) it seem that application goes forward, come to method EXECUTE_SERVICE in CL_RSPLFR_CONTROLLER==========CM002 (see code below) and at line 387 when calling read_data_from_buffer it hangs for 10 minutes.
    I seems that system try to read all data in cube (not only restricted with active filter) and hangs. This method returns me all records of cube into L_R_REF_DATA.
              IF n_use_node_selection = rs_c_false.
                read_data_from_buffer( EXPORTING i_t_charsel = l_t_charsel_ref
                                                 i_t_charsel_orig = l_t_charsel_orig
                                                 i_tsx_seldr_orig = p_tsx_seldr
                                                 i_th_block_chars = l_th_ref_block_chars
                                                 i_enqmode = 'S'
                                                 i_th_attr = l_th_attr
                                       CHANGING c_r_data = l_r_ref_data
                                                c_r_sid = l_r_th_sid
                                                c_ok = l_ok ).
              ELSE.
    Does anybody has an idea WHY ???
    Regards.

    Solved.
    I just need to fill E_T_REF_CHARSEL at end of my class run.

  • Planning Function in Web Excel Layout

    Hi,
    I have a planning function of type EXIT which I have incorporated as Function After Data Change in my Web Interface Builder.  According to documentation the planning function should execute when you switch layouts or click "Refresh" or "Save" button.  The function does get executed when I click on Save and in the message container at the bottom it does bring up a error message but then it saves the data as well.  The message is of type Error in red.
    Has any one of you exprienced something like this or any idea why it does this?
    Thanks
    Bhavesh

    hi bhavesh,
    there is an HOW To :HOW TO...RUN PLANNING SEQUENCES ON SAVE AND OTHER EVENTS (WEB) that resolve this problem.
    Regards
    Davide

  • BPS planning folder; Scroll to top after execution of planning function

    Hi All,
    After execution of a planning function, or after saving data in a planning folder, the layout jumps back to the top and displays the first row, even if the user was positioned on another row.
    I know BPS does this because it recalculates the data and tries to display it.
    However, it is not very user friendly.
    Did anyone ever solve this ?
    How do you remain positionned on the line you are working on after saving or execution a BPS planning function?
    Thanks in advance for your answer,
    Points will be rewarded to solutions.
    Filip Ledoux

    <FONT FACE = "Tahoma", Font Color = "Blue">
    Hi<br>
    There are some APIs which BPS uses internally to save data. You can make a Planning Function of Type EXIT using function moule of your own calling API_SEMBPS_POST (to save data). <br><br>
    You can call this EXIT Function as a step next to your copy function in your Global Planning Sequence.<br>
    Please refer to Note 422998 - SEM-BPS processing large data volumes if you need further details for implementing this solution.
    <br><br>
    Hope it helps.<br>
    Cheers Abhijit</FONT><FONT FACE = "Verdana", Font Color = "Red">
    It's a good habit to reward someone with points in SDN if you think his/her
    response was helpful to you
    </FONT>

  • Planning functions IRR, NPV in BI + SEM 6.0

    Hi everybody!,
    I'm looking for the older financial functions like IRR, NPV calculations. Somebody told me that they are not longuer in BI unless you install SEM 6.0.
    We've just install it this morning but the functions doesn't appear when I try to create a planning function of type formula (in financial functions).
    does it needs any customizing after SEM 6.0 install? are these funcions in another location?
    thanks for your help!

    Dear Thomas,
    A customer asked for the upgrade of SEM from 3.5 to 6.0. Do you have any documents especially on testing for CPM.

  • Planning function type Exits.

    Hi,
      Could you guys tell me about Planning Function Type Exits. It will be helpful, if you guys send some Documents to [email protected]
    Thanks,
    meiy.

    Hi,
    Here is the step by step procedure for that.
    I assume that you have already created a planning level and Planning package.
    1.Double click on planning level
    2.From Context menu of planning Function(2nd panel which lying below the Planng area/level panel)-->create planning function
    3.Enter Tech name and description for planning function
    4.Expand 'all functions' tab -->double click on 'Exit function'
    5.Here you have to provide Function module for initialization(if necessary), and Function module where you have to write the logic, and 'Fields to be changed' and 'parameter name and data element for the same'.
    6.Now create a Parameter group from context menu of Planning function and Provide necessary values as per your requirements.
    Hope this helps

  • Enhance planning function type exit in BPS

    Hello,
    I have 2 questions concerning planning functions type exit in BPS:
    1. Is there any way to do a check, if the data is from the selection of the planning package itself or created in the planning function, when looping over the XTH_DATA table. I mentioned, that the loop is done also over the newly created data. Now, I copy the XTH_DATA into a working version, add the data to it and assign it afterwardws.
    2. I create new lines of data in the planning function. These lines can also contain data, which is not in the package selection. Now I need a condition for not writing the data, which checks, if the data can be added to the XTH_DATA or otherwise skips this particular line.
    Background is, I don't want to read the variable values from the package selection to keep it more generic.
    Hope anyone of you can help me solving these problems. Thanks in advance...

    Hello Jerrit,
    there's no indication in XTH_DATA if data was already existing or is new. You have to program this logic yourself.
    The selection of the planning package is passed to the exit in ITO_CHASEL. So you do not have to read the package or variables. However, checking data (XTH_DATA) against this selection can be quite performance intensive. If you are dealing with high data volumes such a check will probably take too long.
    Regards
    Marc
    SAP NetWeaver RIG

  • BI-IP: Change of characteristic value in ABAP EXIT planning function

    Hi
    I have created a planning function of the type EXIT with reference data without blocks. In method IF_RSPLFA_SRVTYPE_IMP_EXEC_REF~EXECUTE I am going to implement my code.
    Now, one of the purposes is to update the VALIDTO of an existing record. Is it possible to modify the characteristic values directly in C_TH_DATA (thus allowing me to just update the date directly on the record) or can I only append records?
    Cheers!
    /Karsten

    Hi Larse,
    Yes you can change directly your value in a record withou appending a new one,but still it will create 2 records in the delta buffer ready to be save to the cube.
    Reagrds,
    Eitan.

  • IP - Is it possible to call exit planning function from ABAP Report..

    Hi All,
    Greetings.
    Is it possible to call exit planning function from ABAP Report (t-code SE38) ? Or I mean is not limited only to be called from ABAP Report, perhaps from BSP / Web-Dynpro / Function Module.
    If somebody here has been doing it before, I'm keen to ask to kindly share it. Particularly how to call and transfer data to that exit function.
    Or if somebody has done in BPS, appreciate if it can be shared too .
    Thanks a lot and have a good day,
    Best regards,
    Daniel N.

    Hi.
    You can achive this as suggested by Mattias in your previous post.
    Lets say you have next data structure:
    CostCenter | Amount | PercentForDistibution |
    Create input ready query in this format. Restrict cost center by variable type range.
    Create WAD with analysis item.
    When you run web page you enter range of cost centers (lets say you will enter 101004 to 101010).
    I assume you have data only for 101004 in your cube (lets say 1000).
    You will see only one record in your webpage.
    CostCenter | Amount | PercentForDistibution |
    101004       | 1000     | NOTHING
    When you create WAD in analysis item properties set "NUMBER_OF_NEW_LINES" to lets say 1 (so in WAD you will see always one blank line for entering new data).
    Just add 6 new records:
    CostCenter | Amount   | PercentForDistibution |
    101005       | NOTHING| 10
    101006       | NOTHING| 30
    101007       | NOTHING| 20
    101008       | NOTHING| 25
    101009       | NOTHING| 5
    101010       | NOTHING| 10
    Then run planning FOX function like this:
    FOREACH Z_COST_CENTER.
    IF {Amount, Z_COST_CENTER} <> 0
    Z_AMNT_TO_DISTRIBUTE = {Amount, Z_COST_CENTER}.
    ENDIF.
    ENDFOR.
    FOREACH Z_COST_CENTER.
    IF {PercentForDistibution Z_COST_CENTER} <> 0.
    {Amount, Z_COST_CENTER} = Z_AMNT_TO_DISTRIBUTE * {PercentForDistibution Z_COST_CENTER}.
    ENDIF.
    ENDFOR.
    It is not perfect FOX, but as an idead, it should work.
    Regards.

  • Documentation for new Planning function types in 2004s

    Hello,
    We are analyzing the impact of migrating former BPS exit planning funtions to the new BI Planning function types. In fact, we are checking the SAP procedure for reusing the BPS exits from BI Planning, although I would like to know if there is some kind of procedure or documentation (I have already read the documentation in Business planning developer guide) for a quick reimplementation in BIP.
    Thank you for your help.
    Regards.
    Message was edited by: Ignacio Arroyo
    Message was edited by: Ignacio Arroyo
    Message was edited by: Ignacio Arroyo

    Hi
    Please check below URL for the BI IP planning function types.
    <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/43/37d8c2af4c1bcbe10000000a1553f7/content.htm">http://help.sap.com/saphelp_nw2004s/helpdata/en/43/37d8c2af4c1bcbe10000000a1553f7/content.htm</a>
    Hope it Helps
    Chetan
    @CP

  • BI IP - Planning Function Type Formula Error "Characteristic not Supported"

    Hi all,
    I have created a planning function type formula with very simple code. The code was copied from SAP Library and FISCPER was replaced with 0CALDAY. I continue to get an error 'Characteristic 0CALDAY is not supported".
    The characteristic 0CALDAY is in the Infoprovider and the aggregation level. I have tried 'To Characteristic Usage' with both changed and in condition.
    DATA D1 TYPE D.
    DATA D2 TYPE D.
    DATA I1 TYPE I.
    DATA I2 TYPE I.
    DATA CALDAY TYPE 0CALDAY.
    FOREACH CALDAY.
    CALCULATE 1ST DAY OF ZCALEND
    D1 = C2DATE( CALDAY, S ).
    CALCULATE LAST DAY OF CALDAY
    D2 = C2DATE( CALDAY, E ).
    CALCULATE THE DIFFERENCE BETWEEN LAST AND 1ST DAY MINUS TWO DAYS
    I2 = 2.
    I1 = D2 - D1 - I2.
        MESSAGE I001(UPF) WITH 'DIFFERENCE' I1.
    ENDFOR.
    Thank you in advance for any help.
    Teri

    Thank you very much for your reply. What would you suggest? I must use 0CALDAY.  As you can tell I am very new to IP, I have tried other options for example:
    DATA ZDAYS TYPE I.
    DATA ZDT TYPE ZCALSTART.
    DATA ZDF TYPE ZCALEND.
    ZDT = ZCALSTART.
    ZDF = ZCALEND.
    ZDAYS = ZDT-ZDF.
    {KF,ZDT,ZDF} = ZDAYS.
    I received an error "ZCALSTART could not be recognized"
    I also tried to call a function. 'FIMA_DAYS_AND_MONTHS_AND_YEARS'.
    DATA D1 TYPE D.
    DATA D2 TYPE D.
    DATA DD TYPE I.
    DATA CALS TYPE ZCALSTART.
    DATA CALE TYPE ZCALEND.
    D1 = CALS.
    D2 = CALE.
    CALL FUNCTION 'FIMA_DAYS_AND_MONTHS_AND_YEARS'
      EXPORTING
        I_DATE_FROM          = D1
      I_KEY_DAY_FROM       =
        I_DATE_TO            = D2
      I_KEY_DAY_TO         =
      I_FLG_SEPARATE       = ' '
    IMPORTING
       E_DAYS               = DD.
      E_MONTHS             =
      E_YEARS              =
    I received an error "Types of parameter I_DATE_FROM () and variable D1(D) are inconsistent".  From what I could find they should be consistant.  Please provide any suggestions. Thank you!
    Teri
    Edited by: teri chandler on Mar 30, 2010 3:26 PM

  • Reading Data From a Different Planning Package in a Exit Function

    Hi,
    Is it possible to read data from a planning level / package other than the package that the exit function was executed with?  I want to read data into an internal table from another package and use that data in combination with the data in the current package to create new records.  If this is possible sample code for how to read data from a different package would be appreciated.
    Thanks!
    Mel Waldner

    Hi,
    As an example lets say you have restricted 0calmonth in your package to 6.2007. In the planning layout to fetch values for 5.2007 (read only), you can take 0calmonth in data columns, and for this column restrict it as 5.2007.
    Similarly in Planning functions, you can mark 0calmonth as field to be changed and fetch data for 5.2007.
    Hope this helps.

  • How to indicate a message by a planning function type in an ABAP-OO-Class

    Hello,
    I integrated a message with following statement " MESSAGE i003(upf1) WITH v1 v2." in an ABAP-OO-Class, which is used by a Planning Function Type. The function type works but it´s not indecated after executing the Planning Sequence, neither from web template nor in the planning modeller.
    Does anybody know this problem/behavior?
    Thank for response
    Andreas

    Hi Joerg,
    how about this:
    data: l_dummy type char100.
    MESSAGE i003(upf1) WITH v1 v2  into l_dummy.
    i_r_msg->add_msg( ).
    You do not need to take special care about the variables. Just raise the message as you want it to be raised. The only thing you need to do is to raise the message into a string (..into l_dummy). The interface IF_RSPLFA_MSG and the implemetation of add_msg is going to read the standard message variables (SY-MSGNO, SY-MSGID, SY-MSGTY, MSGV1 ...). You just need to throw the message
    and call  i_r_msg->add_msg( ) e.g. in the execute method of your customer planning function.
    Please give it a try and take a look at it in the debugger.
    Hope this helps.
    Matthias Nutt
    SAP Consulting Switzerland

  • Reading manual planning function header data in exit function

    Hello all,
    I would like to know if is there a chance to read header data of a planning function. The planning function is determined by user selection (user choose which value will be in ) and in exit function I then modify the buffer by data which I get by calling RFC on another system.
    My problem is that buffer contain all the planning data for whole planning area (it seems) so there is many unnecessary call. How can I get in exit function value specified by user at start of a planning session?
    Thank you for your help

    Hi,
    There's some issue the planning funciton will only read the data specified by the users (variable values).
    Check the configuraiton once again.
    thanks

  • BI Integrated Planning Self-defined planning function type ( RSPLF1 )

    Dear all,
      I got 2 questions regarding the new BIIP customer defined planning function type.
      1. How do we create the class for the planning function type ? Do we copy standard one( like CL_RSPLFC_DELETE ) as template ? Or , can we create a class whcih use standard class as a supper class and change the methods as we want?
      2. Since the planning modeler is running on web , is it possible to debug the self-defined planning function type in SAPGUI?
    Thank you,
    Jeff

    Hi Jeff,
    from the documentation it seems that you have to copy the delivered Classes: two methods are mandatory (the ones about execution IF_RSPLFA_SRVTYPE_IMP_EXEC and IF_RSPLFA_SRVTYPE_IMP_EXEC_REF). See the on line help:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/43/548bafbc0f357ee10000000a11466f/frameset.htm
    I didn't try yet, did you? Have you experienced something different?
    Best regards
    GFV

Maybe you are looking for

  • Windows 7 not loading from external drive

    I traded out my optical drive for an ssd with the hopes of installing Windows 7 Home using a legit disk (32-bit).  My attempts with using Boot Camp Assistant have led to a black screen with a blinking cursor.  Assuming that Windows cannot load from t

  • Any Updates Made to the T540 ready to ship? Newbie Needs Help.

    Total newbie with Lenovo.  Lenovo is offering the T540p ready to ship for  about $650.  Is this the same track pad that got all the negative reviews or have any improvements been made?  I'm new to the forum and not a power user.  I maintain a website

  • Cups Job History shows Name 'Unknown' User 'Withheld'

    We have previously used the cups interface to review our print job history and indenify problems with jobs that went missing at the press. This worked great in previously versions of OS X, but in Lion every job we send, regardless of what printer we

  • Any way to stop iPhoto from launching every time iPhone syncs??

    The subject posting says it all: Is there any way to stop iPhoto from launching every time I synch my iPhone? I've clicked this and that, checked this and that. I must be missing something so if someone could help, I thank you in advance.

  • Hyperion to Business Objects Migration

    Hi All, Do we have any tool that would help us migrating/converting hyperion reports to Business Objects WEBI reports? The BO environment would be XI R3. Thanks! - Noman Jaffery