Planning function issue

Hi all,
I have a copy planning function which copies data from version 700 to the user selected version. I am making user select the values of version from the excel dropdown.Now all the possible versions are included in the characteristics restrictions column and default value for version has just value 700.The problem is that when I execute the planning function I get version "xxx" not included in the selection. When I include this version under default values , I can execute the function but it kills the input readiness of the query.
Please let me know where I am going wrong.
Edited by: Nazeer on Sep 24, 2008 10:23 PM

Hi,
To execute the function, is it possible for you to create a planning sequence? That way, you would not have to alter your input query to be able to execute your function.

Similar Messages

  • Authorization issue in WAD when executing planning function

    Hi All,
    I am facing the bellow authorization issue-
    Termination message sent
    WARNING BRAIN (800): You do not have the authorization for component !!AZF2PO_AGR
    MSGV1: ZF2PO_AGR
    MSGV2: REP
    MSGV3: !!AZF2PO_AGR
    MSGV4: 16
    ABEND RSBOLAP (002): No Authorization
    I am getting this issue When Calling Planning function from WAD application using button. This authorization fail is happening in portal when the Planning function is executed.
    Error explains that there is no authorization for component u201C!!AZF2PO_AGRu201D.Where as in actual we donu2019t have any component as stated.
    Instead we have an aggregation level with technical name ZF2PO_AGR.
    We have already Assigned the below Planning objects-
    S_RS_ALVL
    S_RS_PLENQ
    S_RS_PLSE
    S_RS_PLSQ
    S_RS_PLST
    To Summarize-There is a web application with button linked to planning functuion.When clicked on this button after execution of web template we get the above error.
    Have found note 1000006,but it says Support package 12 and all but we in support package 20

    Hi Guys,
    I know this thread is answered but I have a similar problem I think.
    I have a WAD that is published to the portal. I have added the WAD to a page via a hyperlink, the page resides in KM. When a user opens the page, via a URL iView, the see the page, but when they click on the link to open the WAD, I get the following error:
    Portal runtime error.
    An exception occurred while processing your request. Send the exception ID to your portal administrator.
    Exception ID: 07:19_26/02/10_0067_18934750
    Refer to the log file for details about this exception.
    When I assign the Super Admin (UME Role) to the user, they can execute the WAD no problem.
    I am not an Authorizations person, so any pointers as to where I should start looking would be greatly appreciated.
    Thanks.
    Freddie.

  • Integrated Planning:  Planning Functions in the Web - Issues with Binding

    Hi
    We are on SPS 11 and are having some difficulties getting our Planning Functions to execute corerctly in the web templates.
    I have created a simple planning function that performs a distribution.
    The Planning Function works as expected using the plannning wizard and ristricts the data based on the Filter that I have created on the Aggregation Level as well as the Planning Function Selections.
    I have created a query and web template that contains the same restriction as the filter in my aggregation level. The Agg Level filter / planning function and Query Filter all contain the Hierarchy Node Variable ZN_CC1 for the standard Cost Center Hierarchy.
    I have created the following 4 Planning Buttons to test the execution of the Planning Function in the Web:
    1. Planning Function Simple. Binding ref to the DP_1 (Query), Variable = Hierarchy Variable ZN_CC1, Planning Function ZDistrib1.
    2. Planning Function Simple. Binding ref to the DP_1 (Query), Variable = Variable Input String Default ZN_CC1, Planning Function ZDistrib1.
    3. Planning Function Simple. Binding ref to the DP_1 (Query), Variable = Hierarchy Variable ZN_CC1, Planning Function ZDistrib1. Display variable property selected.
    4. Planning Function Simple. Binding ref to the DP_1 (Query), Cost Center Characteristic Data Provider Selection Default, Planning Function ZDistrib1.
    When the query is executed and a node representing a group in the hierarchy is selected the query is executed and is input ready for the selected group. This is a subset of the hierarchy.
    When the above planning fucntions are executed the following results display.
    1.  The planning function is executed however it is not restricted to the selection based on the hierarhcy variable node selected by the user.  The planning function is executed for the entrire hierarchy.  It is not restricted by the cost center hierarchy node variable value.
    2. The planning function is executed however it is not restricted to the selection based on the hierarhcy variable node selected by the user.  The planning function is executed for the entrire hierarchy.  It is not restricted by the cost center hierarchy node variable value.
    3. The variable popup displays and a hierarchy node is selected. The planning function is executed however it is not restricted to the selection based on the hierarhcy variable node selected by the user.  The planning function is executed for the entrire hierarchy.  It is not restricted by the cost center hierarchy node variable value, that was entered when prompted.
    4.  The planning function is executed however it is not restricted to the cost center selection based on the query DP1. The planning function is not restricted by the cost center selections.
    HOWEVER,
    If I goto to the filter web item and edit the cost center filter by selecting and adding all available cost centers to the filter.  (This list of cost centers is restricted to the cost centers subordinate to the hierarhcy node selected in the variable)
    When the above the planning functions are executed the function is now restricted to the cost centers added to the filter as explained above.
    If anyone has had a similar issue with Planning Functions executing for data outside of the Dataprovider Selections I would be interested to know how you managed to get the planning function to retrict to the DP Selections that include hierarchy node variables.
    If anyone from SAP can comment before I raise this as an OSS issue it would be much appreciated.
    Thanks in advance.
    Ian

    Hi
    Just wondering if this is the correct forum to post BI IP questions?
    Any comments if this the right forum.
    Thanks
    Ian

  • BI-IP - Planning Buffer issue

    Hi Experts,
    In our current BI-IP project, there is a requirement to jump from an input ready query, located in web template u201CAu201D, to another web template u201CBu201D, which contains one display only query and a couple of planning functions.
    To do this, we are using the standard RRI feature, since the users want to use the mouse right button to select one specific cell in the input ready query as the start point of the jump.
    Everything works just fine, except when the user changes the plan values in the origin query and jumps to the destination without first saving the data. In this case, the values are not refreshed in the destination query in web template u201CBu201D. This situation really represents an issue, because this kind of navigation is supposed to occurs frequently, and the users donu2019t want to save the data every time they jump to the second web template.
    As a workaround, we tried to use the class CL_RSPLFA_PLAN_BUFFER to read the planning buffer in the target web template, but it does not work, since the planning buffer delta can only be accessed by queries and planning functions in the context of the same application, in our case the web template u201CAu201D, from where we jumped.
    We understand that this situation represents a limitation of the standard BI-IP planning buffer concept, so we would like to hear from you suggestions on how to workaround this issue.
    Any input will be highly appreciated.
    Thanks in advance,
    JSalva.

    Hi Matthias, thanks for your reply.
    Yes, we are almost sure that, so far, is not yet possible to recover, from outside, changed data in the context of a particular planning session buffer, at least using standard methods.
    What we are looking for at this moment is a workaround for the jump using the context menu. Since integrate the both web templates in only one is not really a solution, according to user needs and layouts defined in the Business Blueprint, we have to find a way to implement, for example, a save function before the jump. However, it's a little bit tricky, because we are using a standard query jump (RRI), so itu2019s impossible to use any kind of command with that.
    Can anyone provide a script code example on how to implement an additional entry in the context menu that: 1) saves the data in the origin application (web template u201CAu201D) before the jump; 2) jumps into the destination (web template u201CBu201D)?
    Best regards,
    JSalva.

  • Executing the planning function while opening the web interface

    hello all,
    I have created a planning area based on multiprovider.This multiprovider is based on two transactional cube ie,COPA cube and Cost Center cube.
    This planning area is meant for enabling integrated planning.One plans in COPA cube and other plans in Cost Center cube the income statement gets planned based on this two.
    I selected planning items in multiprovider layout to display the income statement.The layout is as follows:
    <b>PlanningItem</b>  <b>Amount</b>
    Net Sales<b>:</b>    9.000,00 INR   (This comes from COPA)
    Sales Overheads<b>:</b> 200,00 INR  (This comes from Cost Center)
    Depreciation<b>:</b> 200,00 INR (This comes from Cost Center)
    Other Expenses<b>:</b> 300,00 INR  (This comes from Cost Center)
    EBIT<b>:</b> 0,00 INR
    Interest Income<b>:</b> 0,00 INR
    Interest Expense<b>:</b> 0,00 INR
    Operating Income<b>:</b> 0,00 INR
    Taxes<b>:</b> 0,00 INR
    Now EBIT planning item is to be calculated from the planning items as follows:
    EBIT = Net Sales-Sales Overheads-Depriciation-Other Expenses
    For this i have created a planning function which calculates EBIT.This function works properly,there are no issues in it.
    My problem is that i want this function to be executed as soon as i open the web interface for my planning application and the result should be as follows:
    <b>PlanningItem</b>  <b>Amount</b>
    Net Sales<b>:</b>    9.000,00 INR   (This comes from COPA)
    Sales Overheads<b>:</b> 200,00 INR  (This comes from Cost Center)
    Depreciation<b>:</b> 200,00 INR (This comes from Cost Center)
    Other Expenses<b>:</b> 300,00 INR  (This comes from Cost Center)
    EBIT<b>:</b> 8.300,00 INR
    Interest Income<b>:</b> 0,00 INR
    Interest Expense<b>:</b> 0,00 INR
    Operating Income<b>:</b> 0,00 INR
    Taxes<b>:</b> 0,00 INR
    Can anybody suggest how to go about this problem?
    Thanks in advance.
    regards,
    Yogesh

    Hi Yogesh,
    as far as i know, there is no standard functionality for that purpose, but there are workaround for it.
    1. Modify the BSP Application.
       Go to SE80 --> Repository Browser --> BSP Application --> your WI name --> page with flow logic --> double click on page1.htm --> Event handler tabstrip --> on the drop down selection press F1 --> add a function module that call you BPS function in specific event (e.g: OnInitialization).
    2. Use WI-Exit Class / WI-Extention (ABAP OO).
    Here you need to create sub class from Class: CL_UPWB_BSP_APPL, and assign the class to your WI. You can then add a function module that call you BPS function in method:
    2.1. Load --> performed only once on intial execution of WI.
    2.2. Initialisation --> called once for each server response.
    2.3. Dispatch --> called at each action and also for each WI component.
    You can see further information in SAP how to paper:
    How to Validate manual input in WEB planning application, New BPS-Features delivered with SAP BW 3.5, etc.
    You can call your BPS function with BPS API FM (See F.Group: UPC_API)
    But there is also more easier way to realize your ebit calculation. If you define your EBIT calc. manually in layout (define with manually defined Lead column). With this way, You will always get your EBIT analog with inputed values.
    Then you add your EBIT calc.function to Layout Component in WI in property: 'Function After Data Change'.
    Best Regards,
    Suan Liono

  • IP-Planning Function Help!! Is this possible?

    Dear Experts,
    I am relatively new to IP and I want to check if this is possible. I would like to copy a Keyfigure value from one Aggregation level to another Aggregation level.
    Here is my scenario.
    I have an Aggregation level 1 where it has characteristics Product Group, Year, Version and Percentage. So the planner would plan as
    Product Grp-Year-Version---Percentage
    GROUP1-2010-100---10%
    GROUP2-2010-100---20%
    GROUP3-2010-100---15%
    Now I have another Aggregation level 2 where it has characteristics Product Group, Product, Year, Version and Cost. I  would want the Percentage value which was planned in Agg. level 1 to be copied to all the products in that group. My Planning book would look like
    Product Grp-PRODUCT-Year-Version-Percentage-Standard Cost-Plan Cost
    GROUP1-PRD1-2010-100-10%-$100-$110
    GROUP1-PRD2-2010-100-10%-$200-$220
    GROUP1-PRD3-2010-100-10%-$300-$330
    GROUP2-PRD4-2010-100-20%-$1000-$1200
    GROUP2-PRD5-2010-100-20%-$2000-$2400
    GROUP2-PRD6-2010-100-20%-$3000-$3600
    GROUP3-PRD7-2010-100-15%-$1000-$1150
    GROUP3-PRD8-2010-100-15%-$2000-$2300
    GROUP3-PRD9-2010-100-15%-$3000-$3450
    Currently The above products already exist in the cube but the Percentage value for them is blank. When the user saves the first planning book I would want the Planning function to be executed and change the percentage value of each product based on the Prodcut group it belongs to. Also I want the Plan cost to be calculated with the percentage value and the standard cost.
    Now when the Planned opens the second planning book he can see the Plan cost already calculated based on the percentage value. However, I will provide an option to the user to change the Plan cost if needed.
    Important thing for me to know how I can  take the percentage value from first few records and change the value of percentage in the second set of records for each product based on its product group.
    Hope my explanation is clear and it is possible to do it.
    Thanks for your inputs.
    KK

    Hey Andrey, I have tried in several different way but was not able to achieve this. My Stupidity!! I am new to IP and this is the first time I am using  Fox formulae  and this is driving me crazy. I think its just a basic understanding issue.
    I just want  to reiterate whay I exactly wanted. Could you please help me with the code.
    Here is the current data in the planning  cube. The first 3 rows are planned from a planning book. The rest of the rows are loaded from a flat file. When the planning function is executed we would want to take the percentage from the Product group and assign it to each product in the rest of the rows there by calculating the Plan cost.
    Current/Before executing Planning Function.
    Product Grp-PRODUCT-Year-Version-Percentage-Standard Cost-Plan Cost
    GROUP1-#-2010-100-10%-00-00
    GROUP2-#-2010-100-20%-00-00
    GROUP3-#-2010-100-15%-00-00
    GROUP1-PRD1-2010-100-00-$100-00
    GROUP1-PRD2-2010-100-00-$200-00
    GROUP1-PRD3-2010-100-00-$300-00
    GROUP2-PRD4-2010-100-00-$1000-00
    GROUP2-PRD5-2010-100-00-$2000-00
    GROUP2-PRD6-2010-100-00-$3000-00
    GROUP3-PRD7-2010-100-00-$1000-00
    GROUP3-PRD8-2010-100-00-$2000-00
    GROUP3-PRD9-2010-100-00-$3000-00
    After executing Planning Function
    Product Grp-PRODUCT-Year-Version-Percentage-Standard Cost-Plan Cost
    GROUP1-#-2010-100-10%-00-00
    GROUP2-#-2010-100-20%-00-00
    GROUP3-#-2010-100-15%-00-00
    GROUP1-PRD1-2010-100-10%-$100-$110
    GROUP1-PRD2-2010-100-10%-$200-$220
    GROUP1-PRD3-2010-100-10%-$300-$330
    GROUP2-PRD4-2010-100-20%-$1000-$1200
    GROUP2-PRD5-2010-100-20%-$2000-$2400
    GROUP2-PRD6-2010-100-20%-$3000-$3600
    GROUP3-PRD7-2010-100-15%-$1000-$1150
    GROUP3-PRD8-2010-100-15%-$2000-$2300
    GROUP3-PRD9-2010-100-15%-$3000-$3450
    This is what I would expect after executing the planning function. Could you please help me with the code. What needs to be selected as the Characteristics to be changed and the Key figure and if I have to select any characteristics for conditions.
    Thanks in advance for your help!!
    KK

  • Error while executing planning function with reference data

    Hi,
    I have a two planning functions one is used to upload the file (with out reference data checkbox in planning function RSPLF1) and other planning function ('Referece data'check box is selected in custom planning function RSPLF1) to execute the logic of creating new record along with the flat file data.
    Following data is uplooaded
    Company code | Profit_ctr | calmonth | Amount
    1000                 | 50000      | 01.2011  | 150
    Cube data
    Field1    |  Company code | Profit_ctr | calmonth | Amount
             |  1000                 | 50000      | 01.2011  | 150
    Z1         |  1000                 | 50000      | 01.2011  | 150
    Now I want to change the value from 150 to 200 and when I try to execute with the following data, it is giving dump 'a row with the same key already exists'.
    Company code | Profit_ctr | calmonth | Amount
    1000             | 50000          | 01.2011  | 200
    Ideally in the second execution it should append the new row with Amount value 50 to cube which is the delta value.
    I debugged the issue and found that I_TH_REF_DATA has following data and C_TH_DATA also contains the same records.
    Field1     Company code | Profit_ctr | calmonth | Amount
    #     1000                 | 50000      | 01.2011  | 150
    Z1     1000                 | 50000      | 01.2011  | -150
    Z1     1000                 | 50000      | 01.2011  | 150
    Due to this, record which already exists in C_TH_DATA and trying to append new record with the same combination is failing.
    C_TH_DATA should only contain the source data of Amount 200, but not sure why reference data is coming in C_TH_DATA.
    Could anyone please guide me on how the reference data is getting populated in C_TH_DATA ?
    Thanks in advance
    Edited by: peppy on Aug 3, 2011 5:00 PM
    Edited by: peppy on Aug 3, 2011 8:37 PM

    Hi Peppy,
    C_TH_DATA is hashed table!  According to your post you are trying to append to C_TH_DATA and this results in a dump. Please take a look at the standard planning function to see how SAP is programming the planning functions. E.g. in CL_RSPLFC_REPOST method IF_RSPLFA_SRVTYPE_IMP_EXEC~EXECUTE you can find the following code:
      CREATE DATA l_r_data_wa LIKE LINE OF c_th_data.
      ASSIGN l_r_data_wa->* TO <s_data_wa>.
      CREATE DATA l_r_new_wa LIKE LINE OF c_th_data.
      ASSIGN l_r_new_wa->* TO <s_new_wa>.
    LOOP AT c_th_data INTO <s_data_wa>.
    <s_new_wa> = <s_data_wa>.
    now the SAP code changes the  values, you can do it your way here
    and than write the changes back
            MODIFY TABLE c_th_data FROM <s_data_wa>.
    ENDLOOP:
    Another option is to use the READ statement to check if the record is already in the table. If not, you can use MODIFY otherwise you use INSERT. So you get something like this:
    READ C_TH_DATA from <s_data_wa> transporting no fields.
    if not sy-subrc EQ 0.
      INSERT <s_data_wa> into table C_TH_DATA.
    else.
      MODIFY TABLE c_th_data FROM <s_data_wa>.
    endif.
    Depending on your requirements you can also use the collect  statement.
    If c_th_data shows the reference data as well, you may need to adjust the filter to restrict it to the correct values.
    Hope this helps.
    Best regards
    Matthias Nutt
    SAP Consulting Switzerland

  • Authorization problem in executing a Planning Function

    Hi All,
    We are facing an authorization issue  while executing a planning function in a WAD template.
    The error message is :
    The planning function ended with errors.
    The user does not have authorization on infoprovider YF2IGM37.
    But the relevant authorizations have already been provided to the said user for:
    S_RS_ALVL,S_RS_PLENQ ,S_RS_PLSE ,S_RS_RLSQ, S_RS_PLST        along with authorization for
    Cube, multiprovider, query as well as aggregation layer.
    Could anyone pls help us resolving the issue.
    rgds,
    Nandini.

    Check any authorization relevant infoobject user is not authorized for.
    For example, if company code is authorization relevant,and in your query any default company code is provided, user may not have the relevant access.

  • Macro Error while executing planning functions or saving data

    Dear All,
    I am getting following error in BEx Analyzer while executing planning function or pressing a save button.
    Note: Excel is 2007 version.
    Cannot run the macro "XXXXXX.xlsx". The macro may not be available in this workbook or all macros may be disabled.
    I changed the settings in Macro Settings (Office Button -> Excel Options -> Trust Center -> Trust Center Settings-> Macro Settings) eventhough it is showing that above message.
    selected ->
    Enalble all macros
    Trust access to VBA project object model.
    If anybody faced this issue kindly reply to this.
    Best Regards,
    SG

    Hello everybody,
    i am facing exactlythe same issue! I am currently running GUI Patch Level 14 and BI Add on Patch Level 10.
    I have also adjusted all necessary settings in Excel Options like Activate all Macros and Trust VBA Coding.
    Does anybody have another Solution.
    As mentioned before Gui Patch 13 and BI Add On Patch 10 obviously arent the solutiuon.
    Best regards
    Janos

  • Planning function ended with errors

    Hi Folks,
    Issue: While Executing The Planning Sequnce it is througing me Planning Function Ended with Errors.
    I have one existing Planning Sequence which contain the Filter and Planning Copy Function. And also Variable input ( two variables 1 is Profict Center and 2nd one is Fiscal Year)
    First i was tried to execute the Planning Sequece it througing me error message saying as in below:-
    Values entered are invalid; check these values again
    Variables contain invalid values.
      Specify a value for variable Fiscal Year (Single Value Entry, Required)
      You have to enter variables before you execute
    Then i have entered Fiscal year value in the Planning Sequece>Variable Input>select the Fiscal Year Variable>Input help>selected the 2008-->ok. Now then Fiscal year variable is showing 2008.
    And then i was executed once again here Planning Sequnce it is througing me Planning Function Ended with Errors.
    Here is cross checked Filter area associated Variables( two variables 1 is Profict Center and 2nd one is Fiscal Year).
    1.Profit Center Variable: Containing the default value is 1000
    2.Fiscal Year Variable : Does not maintained any default values.
    Can any one provide your v

    Hi Venkat,
    Please execute the planning function with Execution with Trace option.
    Verify the planning function particularly from Values.
    Also some simple tricks:
    1. Try with some other values.eg. FisYear 2007. ( Check in database)
    2. Save the variant in variable input panel & then execute.
    Hope it helps,
    Shamkant

  • 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

  • Need to Post Components in Production Order in MB1A through BAPI as Planned Good Issue

    Hi ,
    I have created a Program to upload data s for MB1A through BDC , it works fine, but for huge data s it takes more time.  alternatively created one more Program which updates through BAPI Function Module  "BAPI_GOODSMVT_CREATE".  It works fine , but one issue noted, after posting through Function Module , components are posted as Unplanned Goods Issue.   I need to post the components as " Planned Goods Issue" instead of "Unplanned Goods Issue " . This can viewed through Tcode : C003
    Below are the  inputs passed for BAPI Function Moduel
    **&------Header Contents of bapi Upload-------------------&*
    header-pstng_date = sy-datum.                                              " Posting date
    header-doc_date    = sy-datum.                                             " Document Date
    header-header_txt  = '000001002280'.                                     " Header text
    header-pr_uname   = sy-uname.                                            " User Name
    header-ref_doc_no  = '000001002280'.                                    " Header Ref. Doc. No.
    CONCATENATE sy-uname sy-uzeit c_method INTO  header-ref_doc_no_long SEPARATED BY '-'.  " Refer  Text
    *Item Data
    wa_item-material   = '000000000010000800'.                             "Material
    wa_item-plant      = '3910'.                                              "Plant
    wa_item-stge_loc   = 'WIP'.                                            "Storage Location
    wa_item-move_type  = '261'.                                            "Movement Type
    wa_item-entry_qnt  = '1'.                                                  "Quantity
    wa_item-entry_uom  = 'PC'.                                              "Unit
    *wa_item-res_item  =  1.                                                  "Reservation Item
    *wa_item-reserv_no =                                                      " Reservation Number
    wa_item-batch      = '0000011027'.                                    "Batch No
    *wa_item-mvt_ind   = 'F'.                                                  "Movement Indicator
    *wa_item-stck_type = 'F'.                                                 "Stock Type
    wa_item-orderid    = '000001002260'.                                 "Order ID
    wa_item-prod_date  = SY-DATUM.
    *wa_item-GL_Account = '610000'.                                     "GL Account
    *TRANSLATE wa_item-batch TO UPPER CASE.
    *APPEND wa_item TO it_item.
    c_code = '03'.
    CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
    EXPORTING
    goodsmvt_header       = header
    goodsmvt_code         = c_code
    TABLES
    goodsmvt_item         = it_item
    goodsmvt_serialnumber = it_sno
    return                = return.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    EXPORTING
          wait = 'X'.
        commit work and wait.
    Even i tried to pass "Movement Indicator , GL Account etc" , Still not able to fix the issue. Can anyone suggest how to post the Production Order components as "Planned Goods Issue".  I am not sure any other values to be password.
    BR,
    Murali

    I have made something like your :
    * Alimtentation de la BAPI de mouvement de stock MM.
    move : sy-datum        to ls_header-pstng_date ,
            sy-datum        to ls_header-doc_date ,
    * Indique le code mouvement
            '03'            to lw_code.      " 03 normalement, mais je veux que ca plante
    loop at lt_ltap
          into ls_ltap.
       move : ls_ltap-matnr   to ls_item-material ,
              ls_ltap-werks   to ls_item-plant ,
              ls_ltap-lgort   to ls_item-stge_loc ,
              '261'           to ls_item-move_type ,
              ls_ltap-vsolm   to ls_item-entry_qnt ,
              ls_ltap-meins   to ls_item-entry_uom ,
              i_ltak_vb-benum to ls_item-orderid ,
              i_ltak_vb-rsnum to ls_item-reserv_no ,
              ls_ltap-rspos   to ls_item-res_item ,
              ls_ltap-rsart   to ls_item-res_type.
       append ls_item to lt_item.
       clear  ls_item.
    endloop.
    I have to put the reservation number to have it works.
    Fred

  • Execute planning function in Web template for selected row in analysis item

    Hello all.
    I have been trying several different solution for this issue I have, but could not ,make it work. Hopefully, any of you can give me some ideas.
    Initially the scenario seems to be easy.
    I have a Web template were I show a query analysis item with costcenter, plan/act type, user and entry date. I allow single record selection in this item.
    I have a button that should execute a planning function from the plannig modeler.
    The planning function should be executed only for the costcenter and plan/act type which are selected in the analysis item.
    How do I have to link the two objects :analysis item and planning function, so that the planning function is executed with the correct filter? What should be the filter definition (if any expecific things to consider)?.
    Thanks in advance for your help.
    Best regards,
    Alfonso.

    Dear Deepti.
    Thanks a lot for your answer, but it did not solve my issue.
    The problem is that my query is not created over the same agregation level as the planning function is, and as per the link you have sent me it seems to be a prerequisite.
    Is there any other way to do it?
    More in detail, I am implementing a Lock/Unlock mechanissim for planning costcenters. I have a n ODS where I store my costcenetr status(lock or unlock) and I also have a cube where the planning values are stored.
    My query(to select the costcenter to unlock) is done from the ODS, and my planning function is done in an aggreagation level of my cube (this is to lock the costcenter in cube, to avoid incorredct updates while it is unlocked/locked).
    The issue that I have is that I can not find a way to send the selected information from the query to the planning function.
    I hope you have more ideas.
    Thanks a lot.

  • Execute planning function in Web template for selected item in anylisys ite

    Hello all.
    I have been trying several different solution for this issue I have, but could not ,make it work. Hopefully, any of you can give me some ideas.
    Initially the scenario seems to be easy.
    I have a Web template were I show a query analysis item with costcenter, plan/act type, user and entry date. I allow single record selection in this item.
    I have a button that should execute a planning function from the plannig modeler.
    The planning function should be executed only for the costcenter and plan/act type which are selected in the analysis item.
    How do I have to link the two objects :analysis item and planning function, so that the planning function is executed with the correct filter? What should be the filter definition (if any expecific things to consider)?.
    Thanks in advance for your help.
    Best regards,
    Alfonso.

    Dear Deepti.
    Thanks a lot for your answer, but it did not solve my issue.
    The problem is that my query is not created over the same agregation level as the planning function is, and as per the link you have sent me it seems to be a prerequisite.
    Is there any other way to do it?
    More in detail, I am implementing a Lock/Unlock mechanissim for planning costcenters. I have a n ODS where I store my costcenetr status(lock or unlock) and I also have a cube where the planning values are stored.
    My query(to select the costcenter to unlock) is done from the ODS, and my planning function is done in an aggreagation level of my cube (this is to lock the costcenter in cube, to avoid incorredct updates while it is unlocked/locked).
    The issue that I have is that I can not find a way to send the selected information from the query to the planning function.
    I hope you have more ideas.
    Thanks a lot.

  • 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

  • My iPod isn't being used by another program!

    So I just got a new, 2nd gen green iPod shuffle today. And I updated it once and I got all my Kelly Clarkson songs on it. Then I synced some MCR songs on iTunes and I plugged my iPod back into the computer via USB dock. It kept on saying 'iPod is bei

  • Can I use the ipad 2 to run Powerpoint presentations?

    I am in need of a device besides the traditional laptop to run Powerpoint presentations from. Can I link this with a projector with the VGA adapter? And will the ipad 2 run Powerpoint presentations?

  • User Preferences on Startup

    I had a request from one of my users and I'm not sure if it can be done. It does not appear to be a preference available via GUI, but I thought I would ask here to see if there was another way. Is it possible to have TNS pre-selected as the default c

  • Transfering Info For Adobe Bridge To Aperture

    i am getting pictures worked with photoshop and tagged with metadata via adobe bridge and i was wondering if i could get the metadata information imported into aperture when i am importing the pictures. thanks for your help.

  • SIM related issue

    Hi, I have created some workflows and forms which i have already imported using the admin user. But when i login as a user and try to access the workflow from a link, I get the following error message Message: 'View access denied to AAA001 on process