Planning Function : Amortization in SEM BPS

Hi,
We have a need to implement Amortization function in SEM BPS. We are implementing SEM-BW 3.5 version.We need to set up schedules to track bond issues, principal and interest payments, etc in BPS. Data will be coming from Excel.
Can any one help me out by giving me a step by step procedure or guidance to implement this function in BPS...
Thanks in advance...

In your exit function you have a parameter XTH_DATA. This parameter contains a hashed table. The structure of the table consists of S_CHAS that contains all characteristics and S_KYFS that contains all key figures. In a Multi area there is a field called AREA___ that you can check. The basic coding in your function module should therefore look like.
DATA: l_s_data TYPE /1SEM/_YS_DATA<...>
LOOP AT xth_data into l_s_data.
  IF l_s_data-s_chas-_area___ = 'CUBE1'.
    l_s_data-s_chas-_area___ = 'CUBE2'.
    insert l_s_data into xth_data.
    IF sy-subrc <> 0.
      MODIFY xth_data FROM l_s_data.
    ENDIF.
  ENDIF.
ENDLOOP.
Note that this does not delete existing records. The type of the structure l_s_data depends on the client and name of the multi area.
Best regards
Dirk

Similar Messages

  • 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

  • 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

  • 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

  • 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

  • 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

  • BW SEM-BPS API functions from a Web Dynpro project in Netweaver

    Hi,
    Rather than using the standard Web Interface Builder in BW SEM-BPS (3.1B), we have to use SAP Netweaver to create a Web Dynpro project which accesses all the API_SEMBPS functions, such as GETDATA, SETDATA, FUNCTION_EXECUTE etc. Has anyone done this before? If so, do you have any examples, hints?
    Regards,
    Linda Lee

    Hello Linda,
    let me add some more remarks on this topic from the BW-BPS development perspective:
    I completely agree with Marc's statement.
    Thechnically it is possible to build a planning application UI on top of the BW-BPS API functions and we have some customers that are live with such a solution. However, I would recommend this only in 2 cases
    1. You need to create a tightly integrated application with BPS being only one part of several other components (including transactional UI, e.g. running against a CRM system).
    2. You prefer a UI technology that is not provided by SAP (e.g. Java Swing based).
    In all other cases, I would say that one should stick to the Web Interface created with Web interface Builder, mainly for cost reasons. If this tool does not fulfill all your needs there are several possibilities to enhance and extend the generated web interfaces by custom specific coding (see also several How-To guides in this area; e.g. "How to integrate a BEx Web Template into a BPS Web interface").
    Another possibility is to loosly couple several web UIs with the help of the portal.
    To my knowledge, it is not true that BSP web technology will be obsolete shortly. 
    In general, I would always prefer a tool supported, model driven approach compared to a heavy custom coding. This is also in sync with SAPs general strategy to a more pattern based approach to create UIs.
    Regards,
    Tobias Hagen
    Dev. Manager BW-BPS
    SAP NetWeaver BI

  • BI Integerated planning and SEM-BPS ???

    Hi all ,
      I am new to SEM.
    Could you tell me
    1) if there's any difference between Bi integeraed planning and SEM-BPS ?
    2) if so, what are those differences ? & which one is better suited to planning needs ?.
    3) also can we use planning areas developed in bw-bps ???
    Friends if you have any documentation  for the practical part of SEM-bps
    could you please send it to [email protected]
    thanks in advance
    Nidhi Dashora

    Hello together,
    BI-IP is under contruction and wil be replaced later instead of BW-BPS. For the mean time BW-BPS will exist parallel.
    Further details see here: https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/b87271fb-0701-0010-00bd-b03502b8c011
    This is the theorie. In the praxis there are big differences and BI-IP is in a "very eraly stage", you should have at least SP 10, better wait for 12 to able to have at least the most important functionalities in BI-IP.
    e. g. you can not plan on hierarchy nodes (e. g. you dont have standard distribute function to distribute from # in a query). This is available from SP12. And so on....
    regards
    Eckhard Lewin

  • SEM-BPS functionality

    Hi to everybody.
    I'm searching for a particular functionality of SEM-BPS but I don't know if it exists or if I have to develop it custom(for ex:with ABAP).
    Here, the issue: I have a product-hierarchy, the last two bottom-level of which are PRODUCT and (under) SKU (PRODUCT is parent of SKU).
    I want to spread (I mean "distribute") values of particular PRODUCTS down to the respective SKUs following the hierarchy definition. An example: the value of PRODUCT P10 down to SKU 19, SKU 20 and SKU 21, the value of PRODUCT P11 down to SKU 22, SKU 23, SKU 24  and so on.
    I have tried to use ALLOCATION function and it works perfectly but there are too much parameters to define (sender, receiver, distributor and so on) and it isn't related to the pre-defined hierarchy (I mean, there is no possibility to define a hierarchical reference).
    This problem is born because of the large amount of PRODUCTS and SKUs (it's an hard work defining every single parameter...).
    So I'm searching to a function that permits to refer to the product-hierarchy and execute the spread.
    Any advice?
    Thanx a lot.
    Luca.

    Hi Luca,
    I am afraid I may not be able to help you with  your query! But if you dont mind can I ask for your help. I am new to SEM-BPS. I have done certification in SEM but you know how its like. The pace of the academy is so fast and furious that it is impossible to retain most of the stuff after the academy. Now I am working on an SEM-BPS project. The company wants me to show to them what BPS can offer them. They are currently using their own bespoked planning software but are not very happy. I need to show to them the functionalities of SEM-BPS. Are their standard examples on heirarchies in BPS? Or is their something u can send me to get started with using heirarchies in BPS so that I can map their organistion structure to BPS planning layout and then can proceed from there? And last but not the least can you advise me on the structure of info cube? What things do i need to take in to consideration before I can design my info cube? Thanks a lot.

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

  • Webinar: Business Planning in SAP BW - The SEM-BPS transition to BW-BPS

    <b>SAP NetWeaver Know-How Network Webinar: 
    Business Planning in SAP BW - The SEM-BPS transition to BW-BPS
    Wednesday 14 July  2004</b>
    <b>11 a.m. EDT</b>
    On Wednesday 14 July, Lori Vanourek, a NetWeaver BI RIG Consultant, hosts the webinar titled <b>Business Planning in SAP BW - The SEM-BPS transition to BW-BPS</b> as part of the ongoing SAP NetWeaver Know-How Network Webinar Series.
    Here’s how Lori describes her webinar presentation:
    “Business Planning is an integral part of SAP NetWeaver '04.  Join us as we share SAP's product roadmap for business planning and discuss the transition of BPS from SAP SEM to SAP NetWeaver '04.”
    SDN invites you to post your questions to the presenter prior to the webinar and continue the online discussion afterward.
    <b>How to Participate</b>
    (Please go to the SDN Events page to see the article and download the PDF presentation)
    Dial-in Information:
    Date: Wednesday 14 July 2004
    Time: 11 a.m. EDT
    Within the U.S., call: +1.888.428.4473
    Outside the U.S., call: +1.651.291.0618
    Password: NetWeaver04
    WebEx Information:
    Topic: SAP NetWeaver Know-How Network
    Date: Wednesday 14 July 2004
    Time: 11 a.m. EDT
    Meeting Number: 742391500
    Meeting Password: netweaver04 (lowercase)
    WebEx Link: sap.webex.com
    Replay Information:
    A recorded replay of this call will be available for approximately three months after the webinar. Access this recording by dialing the appropriate number and using the replay access code 720149.
    Toll-free: +1.800.475.6701
    International: +1.320.365.3844
    <b>About the SAP NetWeaver Know-How Webinar Series</b>
    The SAP NetWeaver Know-How Webinar Series is driven by the SAP NetWeaver Regional Implementation Group (RIG), part of the SAP Development organization. The mission of the SAP NetWeaver RIG is to enable customers, employees, and partners to successfully implement the SAP NetWeaver solution. This SAP RIG has expertise in BI, EP, XI, and WebAS. They contribute their implementation expertise to the SDN implementation forums as well as to the SAP NetWeaver Know-How Webinar Series.
    <b>Disclaimer</b>
    SDN is not responsible for any changes to the webinar schedule. The webinar schedule may be changed or cancelled without prior notice.

    Hello Marc and Sander,
    I checked the document status and tested the link myself using a PC external to the SAP environment and did not have any problem. You do have to be logged in to do this. If you are not, you should see a page that will appear which says that a login is required to use that feature. On some occassions, users see an error message instead. I apologize for that.
    Kind Regards,
    David

  • Integrated planning Content and SEM-BPS Content

    Hi Experts
    Is there any integrated planning Business Content for CRM? Where do I find it?
    SEM-BPS has Business Content planning scenarios for CRM. Is this BC also available in BW-BPS now? Where do I find it?
    We use NW04s BI and CRM 5.0.
    Kind regards
    Erik

    Hello Erik,
    as of now I have not heard of such content.
    Also SAP is not talking about CRM-content for BIIP yet. What we have learned is that a lot effort is put into making the system stable and going for "additional" functionalities like BC later.
    What you could do is use BW-Business Content for CRM as far as possible (InfoCubes etc. ) and build the Aggregation Levels, Queries & Templates by yourself.
    Hope this helps
    Daniel

  • SEM-BPS Planning Reports

    Hi Friends,
    I would like to produce
    1. Rolling Forcast,
    2. Buget,
    2. 10 Year plan ,Quaterly Annual basis
    with multiple views,
    By Product (Revenue, margin,direct cost)
    By Customer(Revenue,Margin,Direct Cost).
    I presume i will be producing these reports by SEM-BPS, but in dilemma whether it will be BW-BPS,  and also to work on SEM-BPS do we have to have BI 7.x?
    I would be very grateful if anyone can guide me in best possible way.
    Many Thanks
    Imran

    Hi Bhanu,
    Thanks for your help,
    1. Which version these reports should be developed in Query designer , It can suppurt only 7.x?
    2. Once  i create a report in Query designer how can i assign it to the BPS Layout.
    Thanks in advance for your help
    Best Wishes
    Imran

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

  • 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

Maybe you are looking for

  • Mid-2013 Macbook Air Battery Life has become awful-Not Mavericks related

    I have a Mid-2013 Macbook Air that I bought in July. i5, 1.3 GHz, 8GB RAM, 500 GB SSD.  I honestly thought that my horrible battery life was due to the recent upgrade to Mavericks (many MBAir users are having problems with 10.9), so I downgraded to 1

  • How do you get the app store to work again?

    My older child disabled the app store for his younger brother using som pass code...that he does not remember. This ipad is connected through my itunes account. What can I do to make it so that he can purchase apps again if I don't know the passcode?

  • Problem with Stacked Canvas

    Hi, I have prepared a stacked canvas on a content canvas. Both content and stacked canvas are based on the same data block. In the data block 2 items are on content canvas and the remaining are on stacked canvas. I have also a scroll bar on the conte

  • Can't open some emails

    Gmail account has been fine, but some emails yesterday and today I can't open. Went to laptop and can view them no problem.  they don't contain pics or logos, just an ordinary message from a relative.  When I press menu nothing happens either so cant

  • Struts multiple selection

    hi all i have a stwo select list in my jsp page. with the help of a javascript it's possible to move items from one select list to the other and vice versa. Now i would like to allow multiple selection, in order to move more than one element from one