BPS Planning Function

Hi All,
I've implemented couple of Planning functions in the Planning Package but for some reason they are not showing up in the layout.
Am I missing any settings or something???
Did anyone faced a similar issue before.
Thanks
Vani.

Where are you trying to see the functions, in planning folder or in web interface?

Similar Messages

  • SEM BPS - Planning function to distribute total value over months

    Hello,
    We use SEM BPS. In fact we use the integration of SEM BPS in the CRM opportunity component as opportunity planning.
    Now we want to distribute the total value of certain key figures over the months. Either equal distribution or increasing distribution like 1% increase every month. What would be the best way to do that with a planning function?
    We need to take into account that the number of months depends on the start and end date of the transaction (opportunity).
    Best regards,
    Thomas

    Hi Thomas,
    I would probably create a fox formula, do a foreach in selection loop over the months and distribute the values within that formula.
    If you want to use a standard distribution function, you need to create the reference data somewhere before, which could be a bit difficult if the timeframe changes according to user selections.
    regards
    Cornelia

  • BPS Planning Function Performance

    Dear all,
    In our projects we've faced the following problem.
    We have BPS user-exit planning function. This function should process a large amount of data. And, of course, performance of this processing is very critical!
    To increase performance we divided whole data amount into subsets and launch mentioned PF for each subset in background within separated thread ([http://help.sap.com/erp2005_ehp_04/helpdata/EN/c4/3a7f1f505211d189550000e829fbbd/frameset.htm], [http://help.sap.com/erp2005_ehp_04/helpdata/EN/fa/096e92543b11d1898e0000e8322d00/frameset.htm])
    But now the problem:
    Processing time for first thread is more, than 15 minutes of 35.000 records.
    For second one - 5 sec(!!!) for 25.000
    Third thread - 4 sec for 20.000
    and so on...
    In some threads calculation time also increases to 10-15 minutes for one thread. Statistic of calculation is below
    Thread  -  Ecex. Time   -  Total read - Changed - New
    1 - 0:12:46 - 33124 - 16317 - 1252
    2 - 0:00:03 - 12936 - 2202 - 264
    3 - 0:00:05 - 17108 - 6072 - 468
    4 - 0:00:03 - 8540 - 2184 - 402
    5 - 0:00:03 - 0 - 0 - 0
    6 - 0:00:03 - 448 - 56 - 180
    7 - 0:00:04 - 8344 - 2250 - 390
    8 - 0:00:04 - 14112 - 4184 - 404
    9 - 0:00:05 - 24388 - 10190 - 560
    10 - 0:00:03 - 11482 - 4728 - 606
    11 - 0:00:04 - 11508 - 4740 - 616
    12 - 0:00:04 - 0 - 0 - 0
    13 - 0:00:03 - 5936 - 1168 - 180
    14 - 0:00:03 - 15036 - 4900 - 662
    15 - 0:00:04 - 17640 - 5516 - 366
    16 - 0:07:18 - 18284 - 8810 - 572
    17 - 0:07:05 - 17752 - 8064 - 436
    18 - 0:00:00 - 19966 - 6018 - 384
    19 - 0:00:00 - 0 - 0 - 0
    20 - 0:00:01 - 19992 - 6016 - 384
    21 - 0:00:01 - 336 - 82 - 180
    22 - 0:00:00 - 0 - 0 - 0
    23 - 0:00:00 - 11228 - 2302 - 444
    24 - 0:00:03 - 224 - 64 - 180
    25 - 0:00:03 - 7952 - 3510 - 180
    26 - 0:00:03 - 8288 - 2058 - 390
    27 - 0:02:30 - 11928 - 5292 - 180
    28 - 0:00:04 - 19096 - 3964 - 486
    29 - 0:00:00 - 1568 - 490 - 180
    30 - 0:02:29 - 11452 - 2428 - 444
    31- - 0:00:01 - 12656 - 3436 - 504
    32 - 0:00:00 - 0 - 0 - 0
    33 - 0:00:09 - 336 - 126 - 180
    34 - 0:00:08 - 4648 - 1086 - 180
    35 - 0:00:07 - 0 - 0 - 0
    36 - 0:00:06 - 0 - 0 - 0
    37 - 0:00:05 - 336 - 24 - 180
    What is a reason of such behaviour of PF?
    Where is a bottleneck and how to eliminate influence of bottleneck on execution time of whole data amount?
    Your advices

    Hello Dmitry,
    take a look at the runtime statistics in transaction BPS_STAT0 (You might have to turn them on and re-run your process). This will show you where the time is spend (database or BPS).
    If it's database time, then get your Basis Team involved. Check that DB stats are up-to-date, check that InfoCube requests are rolled-up/compressed, do SQL trace and analyze the DB execution plan, etc.
    If it's BPS time, then it's probably something in your exit function. An ABAP trace (SE30) should help to nail down the root cause.
    Processing packages is parallel is in general a good way to make it run faster. However, if the packages are too small the overhead will actually reduce performance. I would start with 5 parallel processes.
    Regards,
    Marc
    SAP NetWeaver RIG

  • Breakpoint in CRM to jump to BW-BPS plan function code?

    I have a BW-BPS planning exit function that runs on the Costs Tab of marketing planner.
    Does anyone know where in CRM to set the breakpoint to let me jump across instances to the breakpoint in the planning function?

    Hi AStine,
    Given the situation that one does not know the CRM codings where the RFC is placed, you may always set a breakpoint on RFC, this will enable the debugger to be stopped at every remote function calls during the execution:
    /h
    Breakpoint at->statement->
    fill 'rfc' in the popup text box
    Then maybe after several debugger stop, you will be able to find the one you want.
    Then use F5 button to step into remote system, please ensure that the remote communication user is set as dialog user.
    Hongyan

  • Execute BPS planning function on opening of web planning layout

    Hi all,
    Does anyone know how to execute a planning function automatically at the moment of opening a web planning layout in a BPS web planning folder(tx code BPS_WB/BPS_WIF0)?
    This was possible in the old BPS planning folder, but does not seem possible in the web planning folders?
    Thanks,
    Rael

    Hello Rael,
    Basically you have 2 options:
    - Use the same trick as in the how to paper "How to call a BPS Web Interface with predefined variable values" (see service market place, alias BW, then BI Planning). In the BSP page you do not set a variable value but use the BPS API to execute a planning function (just call the function module API_SEMBPS_FUNCTION_EXECUTE). When using the url parameters in a similar way as in the how to paper you can call different function modules for different web applications.
    - You can use the application class in the web interface builder and call the function in the "on load" method. There is a how to paper describing how such a application class can be used (Validate key figure values in manual planning - web). Note that there another event is used and thus a check AFTER input is done.
    Well - the second option might be a little more elegant but I think the first one is definitely less complicated and less work...
    Best regards,
    Gerd Schoeffl
    SAP NetWeaver RIG BI

  • Integrated Planning vs BPS - Planning Function and filters

    Hi,
    I'm trying to create a planning function previously defined in a BPS system into a new system with Integrated Planning. Some considerations:
    BPS:
    - I define first a planning level on a planning area. In this level I set some selection values.
    - Then I define a planning package that can contain other further filter values
    - Then I create my planning function
    - Then I create a parameter group that contain parameter values the function will use.
    Integrated Planning:
    - I can create a planning level and, separately, I can define more than one group of filters;
    - Then, I can create a planning function, where I can set some fixed values in the "field used for condition" tab. These values are common for every user that launch the function.
    So, from my point of view, it seems that:
    BPS: I have 3 points where I can set filter parameters (level, package and parameter group), and I can launch for example the same function selecting different packages or different parameter groups;
    IP: I have only one point where I can set filter parameters (Filter, defined on level)
    Is all right? In this case, I don't exactly know how to migrate the same function defined in BPS in the Integrated Planning environment.
    Any ideas?
    Thanks for the support!
    Gianluca

    Hello Gianluca,
    BPS: I have 3 points where I can set filter parameters (level, package and parameter group), and I can launch for example the same function selecting different packages or different parameter groups;
    IP: I have only one point where I can set filter parameters (Filter, defined on level)
    In IP you have 2 places, Filter and the function itself. In the function you will get characters for conditions where you can again filter. Migration is simple.
    And in BPS? If I define a planning package with a filter (example: Country = Italy) and I select this filter during the launch of the function, do I see records with country = Italy in my reference data?
    I guess you are mentioning package as filter. If yes then yes you will only get Italy data in your reference.
    The parameter group restrictions in BPS are done in planning function itself in IP. But one difference is in BPS it allowed multiple parameter groups.
    And I think even in BPS FOX brought reference data that were subsets of restrictions made in packages and planning level. I dont think in BPS also we were able to read reference data out of the planning level and package.
    Regards,
    T-Bird.

  • Undo BPS planning function

    Hello
    When running a planning layout in the GUI, it is possible to go the edit menu and undo the planning function. When I create a function, I do  not see 'Undo' as a standard function. Is it possible to undo a planning function on the web ?
    Thanks

    Hello,
    if I understood your question alright you want to execute the undo function in the web interface without "click".
    Did you try to "Generate class" (attribute of Webinterface)? In the class (name also in the attribute) you can find the functions name and in the "on input processing" you will find:
    "        when 'UndoButton1'. " -
              UndoButton1->submit( ).
    So the execution is to add or assign this line to the event you want
    regards
    Eckhard

  • SEM 4.0 - BPS Planning Function - Currency Translation (Account Based) !

    Hi,
    Currently we are migrating from SEM 3.1 to SEM 4.0  and we are using Currency Translation (Account Based)and would like to use the same functionality, but for some reason the CT functionality is not working properly.  It is throwing garbage numbers in SEM 4.0.
    Is anyone out there facing similar problem on the Currency Translation (Account Based) functionality on SEM 4.0.  Appreciate your help. 
    Thx,
    Jay

    Hi,
    We are working on Integrated Planning(IP). We are currently using a key figure based model, where in we have 0amount, 0amocac and 0amoccc for transactional currency, controllling area currency and object currency amounts.
    If we go with account based model for keyfigures, i.e by taking currency type as 00, 20, 10 , we have a problem with the currency translation functions.
    Could you please let us know, how we can handle currency translation with the account based model?
    Thanks,
    Srini.

  • Variables in BPS planning function

    Hi all;
    I don’t if this is possible but I’m trying to do the following formula:
    DATA OV TYPE 0SALESORG.
    DATA CD TYPE 0DISTR_CHAN.
    OV = VARV ('ZORGVE').
    CD = VARV ('ZCANDI').
    FOREACH OV, CD.
    {ZOV_QTD,CD,OV,L,V_PL_EST,020,ZMERCOVCD,ZPAOV03} =
    {ZOV_PERC,CD,OV,#,VTP,010,ZMERCOVCD,ZPAOV03} *
    {ZOV_QTD,#,#,L,V_PL_EST,020,ZMERCADOSF,ZPAOV03}.
    ENDFOR.
    In the level there aren’t any restrictions to the variables assign to OV and CD.
    If I restrict the variables to only one value the formula runs, but if I inserted 2 values or an interval a message appears telling there isn’t possible because the variables aren’t restricted to one value (notice that the values of this characteristics are blank in the condition ZMERCADOSF).
    My question is: Are any way to run this formula with 2 or more values assign to the variable OV?
    Thanks in advance.
    Ricardo

    Hi Mayank;
    The formula works for all the OV’s.
    The error no longer appears but it didn’t respect the values assign to the OV (runs for all OV’s)
    This is what I use:
    DATA OV TYPE 0SALESORG.
    DATA CD TYPE 0DISTR_CHAN.
    DATA N TYPE I.
    DATA I TYPE I.
    N = VARC(ZORGVEND).
    I = 1.
    DO N TIMES.
    OV = VARI(ZORGVEND, I).
    I = I + 1.
    ENDDO.
    I’m not sure N and I are declared correctly. Are they Type I?
    Regards;

  • Regarding planning function & data entry in SEM BPS ..

    Dear All,
    Basically i'm new in BPS & planning function .. :).
    But ..
    Do you know whether there is program that's enable to input data within BPS and planning function ???
    Or ..
    Could we create customized program to input data for its ??
    Could you tell me how to make it ?
    Thanks in advance
    Best regards,
    Niel.

    Hi,
    We have manual layouts to input data in bps. planning functions are used to modify or calculate results from the entered or already available data in the cube.
    Regards,
    sekhar reddy

  • SEM Planning functions (Already checked the BPS Forum)

    We installed BW 3.5 which I now see the BW-BPS planning functions.
    Then we installed SEM 4.0 and I see another BPS menu item.
    Does the BPS0 transaction now contain all the SEM planning functions or just those limited to BW-BPS.
    Will reward points as always!
    Richard

    You would be able to see the additional Planning Functions one you are using the Planning Workbench(BPS0).
    When using the Planning functionality in this transaction, you would be able to use the additional Planning functions that come as part of SEM.
    Bye
    Anurag

  • 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>

  • Call planning function in BSP application in IP

    Hello,
    In BPS we used function module API_SEMBPS_FUNCTION_EXECUTE to call a BPS planning function in a BSP application.
    Now, we want to call an IP planning function in the same BSP application. Is there a similar function module or any other method we can use??
    Thank you very much

    Try function module - RSPLSSE_SERVICE_EXECUTE to directly execute the function(planning service) or RSPLSSE_PLSEQ_EXECUTE to execute the planning function via planning sequence.

  • Initializing Function Module used in Planning function in BPS0

    Hi Everybody,
                       I have been assigned to create a function module which will be used for initialization purpose in BPS planning function. Whenever the user will change values of variable, even if user sets a data for a particular variable whose record does not exist in Cube, default values for keyfigyures should be shown after executing the planning function. How to achieve it? Eagerly waiting for your precious reply.
    Warm Regards
    Pulokesh

    Hi Everbody,
                    For a long time i have waited for somebody to answer my query. But after having all sorts of RNDs I came up with a sample code given below, and its also working properly....
    FUNCTION ZKEYFIGURE_VALUE_DEFLT
    ""Local Interface:
    *"  IMPORTING
    *"     REFERENCE(I_AREA) TYPE  UPC_Y_AREA
    *"     REFERENCE(I_PLEVEL) TYPE  UPC_Y_PLEVEL
    *"     REFERENCE(I_METHOD) TYPE  UPC_Y_METHOD
    *"     REFERENCE(I_PACKAGE) TYPE  UPC_Y_PACKAGE
    *"     REFERENCE(I_LAYOUT) LIKE  UPP_PARAM-PARAM DEFAULT 'INPUT'
    *"     REFERENCE(IT_EXITP) TYPE  UPF_YT_EXITP
    *"     REFERENCE(ITO_CHASEL) TYPE  UPC_YTO_CHASEL
    *"     REFERENCE(ITO_CHA) TYPE  UPC_YTO_CHA
    *"     REFERENCE(ITO_KYF) TYPE  UPC_YTO_KYF
    *"  EXPORTING
    *"     REFERENCE(ET_MESG) TYPE  UPC_YT_MESG
    *"     REFERENCE(ETO_CHAS) TYPE  ANY TABLE
    DATA: LR_WA TYPE REF TO DATA.
      DATA: T_SUBRC TYPE SY-SUBRC,
            LS_MESG TYPE UPC_YS_MESG,
            WA_COMDTY LIKE /BIC/PZCOMDTY.
      DATA: L_COMDTY  TYPE CHAR4,         "Comodity value
            LS_CHASEL TYPE UPC_YS_CHASEL, "Line of characteristic selection table
            LT_CHARNG TYPE UPC_YT_CHARNG, "Selection table for char value
            LS_CHARNG TYPE UPC_YS_CHARNG, "line of selection table for char value
            L_VENDOR  TYPE CHAR10,        "VENDOR value
            LA_CHASEL TYPE UPC_YS_CHASEL, "Line of characteristic selection table
            LV_CHARNG TYPE UPC_YT_CHARNG, "Selection table for char value
            LA_CHARNG TYPE UPC_YS_CHARNG. "line of selection table for char value
      FIELD-SYMBOLS:  <LS_DATA>   TYPE ANY,
                      <CL_VEND>   TYPE ANY,
                      <CL_COMDTY> TYPE ANY,
                      <KY_DATA>   TYPE ANY,
                      <S_CHAS> TYPE ANY,
                      <FS_VEND> TYPE ANY,
                      <FS_COMM> TYPE ANY.
      IF T_SUBRC = 0.
    *Get the comodity of the data begin processed
        READ TABLE ITO_CHASEL WITH KEY CHANM = 'ZCOMDTY3' INTO LS_CHASEL.
    *Get the selection criteria comodity to be processed
        READ TABLE LS_CHASEL-T_CHARNG INDEX 1 INTO LS_CHARNG.
    *Read the comodity from the selection criteria
        L_COMDTY = LS_CHARNG-LOW.
    *Get the VENDOR of the data begin processed
        READ TABLE ITO_CHASEL WITH KEY CHANM = 'ZSS_VEND3' INTO LA_CHASEL.
    *Get the selection criteria VENDOR to be processed
        READ TABLE LA_CHASEL-T_CHARNG INDEX 1 INTO LA_CHARNG.
    *Read the VENDOR from the selection criteria
        L_VENDOR = LA_CHARNG-LOW.
    create structure for the selection criteria
        CREATE DATA LR_WA LIKE LINE OF ETO_CHAS.
        ASSIGN LR_WA->* TO <S_CHAS>.
        ASSIGN COMPONENT 'ZSS_VEND3' OF STRUCTURE <S_CHAS> TO <FS_VEND>.
        IF SY-SUBRC EQ 0.
          MOVE L_VENDOR TO <FS_VEND>.
        ENDIF.
        ASSIGN COMPONENT 'ZCOMDTY3' OF STRUCTURE <S_CHAS> TO <FS_COMM>.
        IF SY-SUBRC EQ 0.
          MOVE L_COMDTY TO <FS_COMM>.
        ENDIF.
        COLLECT <S_CHAS> INTO ETO_CHAS.
      ELSE.
        LS_MESG-MSGTY = 'W'.
        LS_MESG-MSGID = 'upf'.
        LS_MESG-MSGNO = '001'.
        LS_MESG-MSGV1 = 'Failed to get data from Layout'.
        APPEND LS_MESG TO ET_MESG.
      ENDIF.
    ENDFUNCTION.

  • Forecast planning function BPS x BI IP

    Hi,
    I solve issue with reimplemtation BPS to IP, for now I solve how to recreated forecast planning functions. In BPS we use forecast method Automatic model selection and under condition, we have  key figure Entry conditions, but in IP I can´t find some conditions for key figures...
    Any help?
    Regards
    Petr

    Hi.
    Could you please ellaborate about which forecast process you wish to implement ?
    Regards.

Maybe you are looking for

  • Apex in iframe broken in 4.1?

    Hi, I am experiencing a strange problem after I upgraded Application Express to 4.1. Every new application I create, will not work in an iframe. The frame shows up as empty (with chrome's element inspector showing the content as simply <html><head></

  • Transfer receivables to PCA. FI documents to PCA

    Hi All, I have a complicated situation here. Receivables were uploaded without profit center that is Dr. customer and Cr. legacy account(balance sheet acc). Since the documents have already been posted in FI. How can i transfer these receivables to P

  • How to connect to my automobile bluetooth

    How do I connect my new iPhone 4 to my car bluetooth?

  • Windows users do not receive pictures sent with Aperture via Mail

    Sometimes my buddies windows users reply to my e-mail saying that they have not received the attached picture(s). It looks like their anti-virus software is cutting them off. This happens when I send the picture directly from Aperture using Mail. I'v

  • Tiffsplit crashes on Solaris (sparc and intel), okay on Linux

    Hello experts, I have a tiff file that causes a crash with tiffsplit when run on Solaris (both Sparc and Intel) but not on Linux. It works successfully on Red Hat Linux 2.4.18 -- libtiff.so.3.5 but crashes on Solaris 9 on Sparc -- libtiff.so.3.7.1 So