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

Similar Messages

  • BIIP 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
    How can I move this post to BPS forum?
    Message was edited by: Jeff Huang

    Jeff,
    Copying a standard planning function is the simplest way to begin and CL_RSPLFC_DELETE is the simplest function, so that is the ideal one to start with (assuming you are not looking to collect reference data as well).
    As far as debugging, simply put a hard BREAK-POINT statement in your method(s) and it will break as desired whenever you test it from the planning modeler.
    Michael

  • How can I position self-define ALV function like standard function "SETTIN"

    Hi,
    I want to put a self-difine ALV function with name "Refresh" to the very right side, just one position left as the "Filter" function. During the method get_position I got that, the position of function "Filter" and "Setting" is 901.902. But When I set_position for "Refresh" as 900 or 903. It doesn't work. Does anyone have experience with the same scenario?
    Thanks a lot in advance
    Best regards,
    Wenwen

    if a is your array of movieclips and space is the white space between the end of one movieclip and the start of the next and leading is the space between adjacent lines and width is the max width of your lines and you want your movieclips to start at startX, startY, you can use the function below to arrange your movieclips:
    function arrangeMCF(a:Array,startX:uint,startY:uint,space:uint,leading:uint,width:uint){
    var curentX:Number=startX;
    var currentY:Number=startY;
    for(var i:uint=0;i<a.length;i++){
    if(a[i].width+currentX<width){
    a[i].x=currentX;
    a[i].y=currentY;
    currentX+=a[i].width+space;
    } else {
    currentX=startX;
    currentY+=leading;
    a[i].x=currentX;
    a[i].y=currentY;
    currentX+=a[i].width+space;

  • Defining Distribution Functions

    Dear,
    In SOP base planning i define "Dstribution Functions".
    Can any one help what its and how functionally it works?
    I define this thing under path :
    Production - Basic Data - Bill of Material - Item Data- Item Data from Related Application Areas - Define Distribution Keys
    Regards,
    Maulik Vania

    Hi,
    The chronological distribution of capacity requirements over the duration of an operation depends on the capacity category.
    The personnel capacity of a set-up person is required at the beginning of an operation and the machine operator perhaps every four hours to check up on progress, but the machine capacity is required constantly during the whole operation.
    The distribution of capacity requirements in capacity planning is controlled by distribution keys
    You can enter and edit the following distribution keys in the Capacity overview screen :
    *Distribution of the capacity requirement in the set-up, processing and teardown operation segments (for instance in production orders)
    *Distribution of the capacity requirement for internal processing (for instance in networks and maintenance orders).
    *Distribution keys are defined in Customizing for Work centers by choosing Define distribution key.
    For more information about distributing capacity requirements, see the R/3 Library PP - Capacity Planning
    Activities
    You define distributions, for example, in Customizing for Capacity Planning by choosing Operations ® Capacity requirements. They are identified using distribution keys.
    You enter distribution keys:
    -- In the options profile for the capacity evaluation
    -- In the evaluation profile for capacity leveling and the extended evaluation
    You can also specify in the profiles that the system uses the distribution key that you enter in the capacities for the work center or in the operations/activities in networks, maintenance orders and process orders.
    If you do not specify a distribution key, the system uses the distribution key SAP000. With this distribution key, all of the capacity requirements for an operation are loaded on the start day for the operation.
    During the capacity evaluation, you can specify by choosing Settings ® General that the distribution keys are to be taken from the capacities or from the operations/activities in networks, process orders and maintenance orders.
    Regards,
    Vinodh

  • 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

  • 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

  • Function types for Balance Sheet Planning missing in SEM-BPS 6.0

    Hi BPS experts,
    After upgrading our BI-system from SEM 4.0 to SEM 6.0 (level 10) as part of the upgrade from BW 3.5 to BI 7.0 (level 15), the BPS function types for balance sheet planning are not available in the planning environment (Transaction code BPS0).
    According to the SAP Library the balance sheet planning functions in SEM-BPS comprises of 6 standard function types - one of them is "Depreciation":
    <a href="http://help.sap.com/saphelp_sem60/helpdata/en/0a/242537cedf2056e10000009b38f936/frameset.htm">help.sap.com -> Business Planning and Simulation (BW-BPS)</a>   
    Menu path: Business Planning Functions -> Functions for Balance Sheet Planning
    In our existing SEM 4.0 we are using "Depreciation" and the functions based on this function type are of course short dumping when executed in our upgraded system (SEM 6.0) as the function type does not exist here.
    Odd though - we do have the function type "Allocation" available in SEM 6.0, which should be delivered with SEM together with the Balance Sheet Planning function types (It is listed directly under "Business Planning Functions" in the SAP Library) .
    I have tried to figure out whether we missed out on activating something during or after the system installation, but our basis consultant has not found anything in the installation guides related to this issue. Also I was wondering whether it could be a simple matter of activating some Business Content but without any luck.
    Does anybody know why the Balance Sheet Function Types are not available in SEM-BPS 6.0?
    Kind regards,
    Lars
    PS: Our system status is:
    SAP_ABA     700     0013     SAPKA70013     Cross-Application Component
    SAP_BASIS     700     0013     SAPKB70013     SAP Basis Component
    PI_BASIS     2005_1_700     0013     SAPKIPYJ7D     PI_BASIS 2005_1_700
    ST-PI     2005_1_700     0005     SAPKITLQI5     SAP Solution Tools Plug-In
    SAP_BW     700     0015     SAPKW70015     SAP NetWeaver BI 7.0
    FINBASIS     600     0010     SAPK-60010INFINBASIS     FINBASIS 600 : Add-On Supplement
    SEM-BW     600     0010     SAPKGS6010     SEM-BW 600 : Add-On Supplement
    BI_CONT     703     0007     SAPKIBIIP7     Business Intelligence Content
    Message was edited by:
            Lars B Rasmussen

    Hi Lars,
    It seems not all the planning function from SEM BPS are available in BW BPS. Please check the links below: -
    what is the difference between BW 3.5 BPS and SEM BPS 4.0
    BW- BPS and SEM- BPS
    SEM-BPS VS BW-BPS
    BCS Doc
    Regards,
    SK

  • 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

  • Can not create planning function types (for process empty records)

    Hi! SAP Experts,
         I want to copy 0RSPL_FORMULA to another function types for processing empty records, ZRSPL_FORMULA. I checked this function type via RSPLAN, there is no error!.   But when i try to use it in planning modeler. We found the error message "Infoobject 1FORMULA is does not available in version A". Do we need to create this infoobject?... Anyone know, please let me know.
    Thanks,
    Sake

    Hi!,
    Thanks for your help but I've already put that parameter,HIDDENFORMULAVARTAB->1FORMULA, in my planning function, ZRSPL_FORMULA. I validated it and no error found. But when I go to planning modeler, in web browser, and try to create a new planning function based on ZRSPL_FORMULA. I found the problem as I mention in previous message, "infoobject 1FORMULA is not available in version A". I try to search this infoobject in my system. The result is there is no this infoobject in my system. So, my question is do i need to create it with myself? What kind of infoobject i have to create? Key Figures or Characteristics?
    Anyway, If I have to do this, why 0RSPL_FORMULA still used as normal.
    Brgds,
    Sake

  • HowTo: Business User defining Planning Functions?

    Hi all,
    does anybody have experience with allowing Business users Defining Planning Functions (e.g. account A = account B - account C) and could share a rough concept? I basically think about Fox-Formulas, but this includes issues with authorization in productive system.
    Are there any solutions with translating free-text-Formulas (e.g. defined in an Attribut or flatfile, see scenario below) into ABAP or FOX Code?
    Thanks for sharing your ideas and experiences,
    Best regards,
    Michael
    Our scenario:
    - Business users are responsible (and authorized) for specific local Companies.
    - Values of the Chart of accounts are typed in into a input-ready query.
    - for Dummy accounts (e.g. Z01) of the local companies no planning is allowed in the plan version, but business users should be allowed to define a specific formula, such as:
    =  + *
    - these functions run at the end of the planning process in a separate planning version for translating local data into global accounts
    - At best these functions should be maintained as an attribut of the dummy accounts or as free text in a text field next to the account in the plan query, but how to translate the formula into a Fox or ABAP formula without great effort?
    - When using FOX, the issue is, that it is a different GUI and there would have to be a function for each company (there will come new companies) and so on....

    Hi Matthias,
    thanks for the post. The problem isnt of keying in the formula isn't that big, this can for example be done in an attribute Char 60 with Flatfile upload for each planning process.
    My problem is more
    a) if I use FOX Formulas - the usage of fox formulas in productive system for Business User
    I still think that using FOX formulas is the easiest thing to implement, but probably the hardest to run and maintain life. Are there any best practises / how tos about authorization and IP architecture for that?
    b) if I use formulas as Text - the formula parsing itself and the communication with the planning function
    Here you gave me the hint of using customer defined planning functions. That's probably the best thing. I first thought about about a formula parser that is called by fox. Still, parsing free text into structured formulas isn't easy, is it? Are there any how-tows?
    best regards,
    Michael

  • Standard Planning function Type

    Hi,
    Would anybody give some example of standard planning function type except COPY and REVALUATION.
    Points will be awarded to the suitable reply
    Regards,

    Hi ,
      Kindly go through the below link for more details on all standard functions,
    [http://help.sap.com/SAPHELP_NW04s/helpdata/EN/43/37d8c2af4c1bcbe10000000a1553f7/frameset.htm]
    1. Unit conversion:
               Consider that all your planned records are in "G" unit and if you want to convert this to any other unit like "Pound", then you can use this planning function. The prerequisite for this is, you need to create a suitable "Unit conversion type" using the tcode: RSUOM, for converting "G" to "Pounds".
    2. Currency Translation:
               Consider that all your planned records are in "EUR" currency and if you want to convert this to any other currency like "USD", then you can use this planning function. The prerequisite for this is, you need to create a suitable "Currency translation type" using the tcode: RSCUR, for converting "EUR" to "USD".
    3. Deleting Invalid Combinations:
                Consider that you did not have any characteristicc relationships in your project and hence you have invalid data in your planning cube. For example, you have 'Product' and 'Product Group' in your cube and the end user has entered wrong values for 'product group' for a corresponding 'product'. In this case you can create a characteristic relationship for 'Product' and 'Product Group' and then execute this planning function so that all the records with invalid relationships between 'Product' and 'Product Group' will be deleted.
    4. Repost:
             This is similar to 'Copy' planning function. But the only difference is 'Copy' copies the records from source to target. But 'Repost' moves the records from source to target, (i.e.) after the records are copied they are deleted in the source.
    5. Repost (Characteristic Relationships):
             This is similar to 'Deleting Invalid Combinations' but the only difference is, instead of deleting the invalid combinations, this function reposts the old relationships to the new correct ones based on active characteristic relationships.
    6. Distribution by Key:
            You can use the Distribution by Key function type to generate the characteristic combinations to which data is distributed in accordance with the master data and characteristic relationships. The key figure values are distributed according to the expressly specified distribution keys. These are distribution functions that determine the weighting of the distribution.
    For example, you have planned revenue based on 'Country' but you have some part of the revenue which is "not assigned" to any country. You can use this planning function to distribute this "Not Assigned" revenue to any particular "Country".
    7. Distribution by Reference Data:
              You use the Distribution by Reference Data function type to generate combinations of characteristics that correspond to the reference data. The system distributes data in accordance with these combinations. The key figure values are distributed by percentage in accordance with the reference data. You use the table for key figure selection to select the key figures that you want to distribute.
    For example, you have actual values for the year '2011' and you want to use this data to distribute it to the future year '2012'.
    In this case you can use this planning function, to distribute the '2011' data to '2012'. The prerequisite for this is there should be planned data already available for the year '2012'. This function is used after the manual planning is done for the future year.
    Hope this clears your doubt.
    Regards,
    Balajee

  • 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

  • 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

  • How to restrict planned order by production order type

    we develop one Z-report which include planned order as well as production .on restriting the output by order type given on selection screen of report, production order can be restricted but it show all the planned order which is to be converted to selected order type production order or not.
    is there any suggesion to display that planned order only to the output of report which will convert to the production order of the type given on selection screen of report.
    i know that we define prod scehu profile in work sched view of material and in production schedu.  profile we define the order type picked while conversion of planned order to production order.but i am not able to connect them by using table...please guide

    Hi,
    Could you explain your problem correctly.
    regards
    mkrk

  • Exchange rate, Plan exchange rate Programs & Function modules in SAPBW ....

    Hi Friends,
    Could anybody please tell me what are the  " Exchange rate, & Plan exchange rate " Programs & Function modules.
    If any customized also , I can do modify and i will use it.
    Thanks in advance,
    Ramesh

    Hi there
    Exchange rates are used for currency conversion rules in queries, data loads, etc.
    You can export exchange rates from R/3 (or other system) to SAP BI, and change them or define your own exchange rates.
    For planning, you can create exchange rates specifically for that purpose.
    In currecny conversion rules you can tell the system which exchange rate to use (for example EURX from EUR->USD)
    To view/mantain exchange rates go to transaction SPRO->SAP Reference IMG->SAP Netweaver->General Settings->Currencies->Enter Exchange Rates
    Diogo.

Maybe you are looking for

  • Can I use a g5 as a server?

    Have a G5, dual 2GHz, with 2.5 GB RAM. Currently running a Mini, iPad 3rd gen & 2 iPhones (both 4S). Am considering using G5 as a server. Is it doable, and if so, how? (Also have an old blue & white G3, if that can be useful.) Right now, the G5 is al

  • Narration audio not working premiere elements 3.0

    The computer is a Pentium 4 PC running Windows XP with a 1TB HDD and 2 gig ram.  It has been running Premiere 3 happily for years now with few problems . WHat now happens is when you try to record a narration , all screen prompts work as per normal a

  • Error when installing Db2e 8.22

    i have installed the DB2e 8.22 in MI &.0 Sp09 as in the following thread DB2e version ??? but i have got the following error 20100112 19:13:01:716] E [MI/Smartsync             ] com.ibm.db2e.jdbc.DB2eDriver java.lang.RuntimeException: com.ibm.db2e.jd

  • Problem starting Clustered server which are using VIP: Error while starti

    Using coherence 3.6 , which comes with weblogic 10.3.5. We are using Clustered configuration , both clusters are supposed to start in VIPs. But when starting those managed servers , getting the error: bpel.fatal.conection.max.retry is set to 3<Oct 22

  • Adobe Shape won't work in my iPhone

    Hi, Yesterday I installed Adobe Shape. I opened it but after I wrote my Adobe ID, I found that I have no way to open the camera to photograph. I closed, and when I opened again, it only showed me the front cover of the app,and suddenly it closed. And