How to pass filter values to planning function in Integrated planning

Dear Experts,
I have a input ready query where the variables are filled with authorization objects by user. All variables are defined as multiple single values.
I created a workbook with 3 filter dropdown box - calmonth, company code and version (displayed as text). In the filter drop down box the user selects the company code, version and calmonth for planning. I would like to pass the selected filter values to a planning funciton. How can we pass these selected single filter values to a planning funciton?
Note: I am able to reference cells for variables that are not in filter (for eg: revaluation function with this document https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f0881371-78a1-2910-f0b8-af3e184929be).
Thanks,
Gnana

Hi,
Your requirement sounds similar to example given by SAP
[http://help.sap.com/saphelp_nw70/helpdata/en/45/e641e4c61256dee10000000a114a6b/content.htm]
If you do not want the from value be selected, and its already decided, then gofor restriction of values in filter than to the variable.
regards,
ravi.

Similar Messages

  • Use of forecast planning function in Integrated planning

    Hai ,
    Can I Know What is the use forecast planning function in Integrated planning.
    Give me One Example.
    Please tell What i hv to select in aggregation level, Filter, and Planning function for doing forecast.
    Regards
    Kishore.

    Hi,
    Filter is indeed used in IP similar to how planning package was used in BPS. There really is no difference 'conceptually'.
    What you have seen is the different options IP offers compared to BPS regarding planning function execution. You can execute planning function directly or using a planning sequence in an application (although in planning modeler, its only a planning sequence that can be executed, for eg., for testing purpose).
    If you just execute a planning function without specifying any restriction, it will operate on the entire set of planning data. Whether its a planning sequence or planning function, the data it operates on can be restricted by binding the various characteristics (or variables) using various DPs in the application. What kind of dynamic selection are you looking at?
    You can see following links if you have not read them already -
    http://help.sap.com/saphelp_nw70/helpdata/en/43/f0f8dc73b56bede10000000a11466f/content.htm
    http://help.sap.com/saphelp_nw70/helpdata/en/44/33a31fd463060ce10000000a155369/content.htm
    http://help.sap.com/saphelp_nw70/helpdata/en/43/f0f92373b56bede10000000a11466f/content.htm
    These are for WAD; you can find similar links for the BI Analyser.

  • How to Pass Filter value to Filter dependent BADI ?

    Hi,
    I am having some doubt related to CRM Badi's there are two types of BADI's one is Muliple use badi and other in Filter dependent BADI.
        Incase of filter dependent BADI. when we are creating implentation for filter BADI how to pass this filter value to that new implentation.i.e. if we are going to see the importing parameters for Each method of that  Filter Dependent BADI.   the 1st importing parameter for each method is FILTER VALUE for each method in Filter Dependent BADI. 
          So my question is that how to map this filer value while creating new implentation for Filter Dependent BADI ?
         It will Automatically get this importing filter value or we have to do any coding for this ????
    for this you can refer badi : CRM_ISA_BASKET_HEAD
    this Badi defination is filter dependent.
    Please let me clarification for this .perfect answer will be rewarded !!!!
    Regards,
    Amol Tambe
    SAP CRM Technical Consultant.

    Hi,
    If this is the case. Then what is the use of filter in that if it is automaticaaly getting mapped i.e. How the filter will restrict the use for Badi ??
              I am not getting it ??????
    Because for every simple badi when we are going to creat the implenation it will work fine without any restrictions by getting all importing values automatically.
    And incase of filter depednt Badi also its going in same way it will get its filter value automatically so both the cases are same for Filter dependent badi and simple badi.
    Then what is the use of Filter value ????
    Regards,
    Amol Tambe.
    SAP CRM Technical Consultant.

  • Assignment of filter to planning function in integrated planning

    Dear experts
    I am a bit new in Integrated planning and have a following conceptual question regarding filter object in IP
    In IP it seems that filter is a substitute object for planning package in BSP.
    I however do not see any possibility to assign filter to a planning function except in a planning sequence. I would however imagine to have a functionality to dynamically select the filter when i want to execute a planning function via application (excel based or Web).
    It seems that filter is not even required if a planning function is executed seperately (not as part of planning sequence).
    I have tried to execute a simple copy function without having any filter at all and it works.
    Could someone pls. explain me as to the conceptual difference between object filter and object planning package.

    Hi,
    Filter is indeed used in IP similar to how planning package was used in BPS. There really is no difference 'conceptually'.
    What you have seen is the different options IP offers compared to BPS regarding planning function execution. You can execute planning function directly or using a planning sequence in an application (although in planning modeler, its only a planning sequence that can be executed, for eg., for testing purpose).
    If you just execute a planning function without specifying any restriction, it will operate on the entire set of planning data. Whether its a planning sequence or planning function, the data it operates on can be restricted by binding the various characteristics (or variables) using various DPs in the application. What kind of dynamic selection are you looking at?
    You can see following links if you have not read them already -
    http://help.sap.com/saphelp_nw70/helpdata/en/43/f0f8dc73b56bede10000000a11466f/content.htm
    http://help.sap.com/saphelp_nw70/helpdata/en/44/33a31fd463060ce10000000a155369/content.htm
    http://help.sap.com/saphelp_nw70/helpdata/en/43/f0f92373b56bede10000000a11466f/content.htm
    These are for WAD; you can find similar links for the BI Analyser.

  • Regading Variable in Planning function in integrated Planning

    Hello All,
    I have a requirement where i have to run a planning function to copy the data of one key figures to other.
    But i need a input screen before execution of this planning function where i could insert the characteristics values for which i do not need this Planning Function to be Executed.
    Please let me know how to do this.
    I think this can be done using input ready variables.But i m not sure.
    Regards,
    Pratighya

    Hi All,
    With regards to the above issue, I have similar question and appreciate any inouts.
    Used a Planning function - type FORMULA
    Function needs an Input parameter to execute.
    So I want to create a Planning IP variable and assign it to the function call in my formula.
    From the Front end WAD/BEX - want to exceute the planning function by passing inpur value.
    Regards
    Rao

  • Customised Planning functions in Integrated Planning

    Hi experts,
    i have a requirement in my project like this.
    i have 2 suppliers S1 ans S2 having data like
    S1             S2
    100           50
    if i change the value of S1 to 90 the difference of the value (100-90) needs to add to S2 i.e 5010.(the total of S1 and S2 should be constant i.e S1S2=150 in all cases).
    is there any standard Planning function to execute this scenario.please provide your inputs for this.
    Thanks in advance.

    Hi,
    i think there is a possible way of doing this even if the total ie S1+S2 is not know.guess the solution will be long to implement it. U can use it if its necessary.
    there is a paper on how t run planning functions on delta records.
    You need to implement this first.
    then create a planning function that has a condition for suppliers  s2 alone.Read the delta records of S1, multiply the value with -1 and add it to the value of S2.
    this way the total the relations can be maintained.
    Regards.
    Shafi

  • Variable screen in Planning Function for Integrated Planning

    Hi all.
    I have created a planning application with the WAD, based on an Input_ready Query. Manual planning works fine and even planning functions go well, using the command wizard.
    However, if I try to use a variable in a planning function and I set the parameter to pop-up the variable screen within the command wizard for a planning function, I get an 'uncaught exception'. An almost blank IE-window pops up which is supposed to display the variables, but it fails.
    Does anybody know how to solve this?
    Gr.,
    Marc.

    Hello Marc,
    do you still have this error? I encountered the same problem with SPS 9. Maybe you should install at least SPS 10. The variable popup works correct there.
    Best regards
    Martin

  • How to pass pushbutton values to a function module

    Hi all,
    I am required  to move a subroutine in main program to a function module but I am unable to pass in the pushbutton . How do I do that?
    In main program:
    SELECTION-SCREEN BEGIN OF BLOCK blk1.
    PARAMETERS message(10) TYPE c.
    SELECTION-SCREEN SKIP 2.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN PUSHBUTTON 3(5) btn1 user-command cli1 modif id bt1.
    SELECTION-SCREEN PUSHBUTTON 8(5) btn2 user-command cli2 modif id bt2.
    SELECTION-SCREEN PUSHBUTTON 13(5) btn3 user-command cli3 modif id bt3.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN END OF BLOCK blk1.
    In main program there is many subroutines perform check_button using 'P' or check_button using 'C'.
    Form check_button using str type boolean.
    IF btn1 = str AND btn2 = str AND btn3 = space.
         btn3 = 'C'.
         disable3 = 'X'.
         count = count + 1.
       ENDIF.
       IF btn1 = str AND btn3 = str AND btn2 = space.
         btn2 = 'C'.
         disable2 = 'X'.
         count = count + 1.
       ENDIF.
       IF btn2 = str AND btn3 = str AND btn1 = space.
         btn1 = 'C'.
         disable1 = 'X'.
         count = count + 1.
       ENDIF.
    Endform.
    Problem: My function module cannot possible know btn1, btn2 and btn3 values. How do I do it?

    Hi,
    Please try below:
    SELECTION-SCREEN BEGIN OF BLOCK blk1.
    PARAMETERS message(10) TYPE c.
    SELECTION-SCREEN SKIP 2.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN PUSHBUTTON 3(5) btn1 USER-COMMAND cli1 MODIF ID bt1.
    SELECTION-SCREEN PUSHBUTTON 8(5) btn2 USER-COMMAND cli2 MODIF ID bt2.
    SELECTION-SCREEN PUSHBUTTON 13(5) btn3 USER-COMMAND cli3 MODIF ID bt3.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN END OF BLOCK blk1.
    DATA : value TYPE char1.
    AT SELECTION-SCREEN.
      BREAK-POINT.
      DATA : value TYPE char1.
    IF sy-ucomm = 'CLI1'.
      value = '1'.
      PERFORM test USING value.
    ELSEIF sy-ucomm = 'CLI3'.
      value = '3'.
      PERFORM test USING value.
    ENDIF.
    AT SELECTION-SCREEN OUTPUT.
      IF sy-ucomm = 'CLI1'.
        value = '1'.
      ENDIF.
      PERFORM test USING value.
    *&      Form  test
    *       text
    *      -->VALUE      text
    FORM test USING value .
      IF value = '1'.
        BREAK-POINT.
      ENDIF.
      IF value = '3'.
        BREAK-POINT.
      ENDIF.
    ENDFORM.                    "
    Regards,
    VS

  • BEx WAD - How to pass filter values to another Web template

    Hi,
    I have a scenario here...
    Web Template 1:
    - Filter options, Filter on Characteristics
    - Button, this button calls Template 2 sending the parameters selected vía URL to filter the report.
    Web Template 2:
    - Tables and graphs
    Values selected in the Filter of Template 1 and using javascript it should generates a URL, which filters the second template i.e. Web Template 2.
    Can anyone please share javascript to achieve this...
    -Anil

    Hi Anil,
    I tried this and could not get it to work.  so if you find away through Java script then I would be very interested.
    There is an option called TRANSFER_STATE which supposedly lets you pass variable names in  this scenario but I could not get it to work.
    In the end I created one template with all graphs etc.  When you click the button to show the other template all tables and graphs in template 2 are shown and everything from web template 1 is hidden.  This worked fine.
    Cheers,
    Nick.

  • How to pass string value to call function in BIIP FOX?

    Dear all,
       In BIIP fox , we can call function module.
       I got a simple test FM like:
    FUNCTION ZTESTBPSFM2.
    ""Local Interface:
    *"  IMPORTING
    *"     REFERENCE(I_X) TYPE  STRING
    *"     REFERENCE(I_H) TYPE  BSP_STRING
    *"  EXPORTING
    *"     REFERENCE(I_Y) TYPE  F
    ENDFUNCTION.
    My FOX is like,
    DATA YM TYPE 0CALMONTH.
    DATA I_N TYPE F.
    DATA J TYPE STRING.
    J = 'KKKK'.
    FOREACH YM.
    CALL FUNCTION ZTESTBPSFM2
    EXPORTING
    I_X = J
    IMPORTING
    I_Y = I_N.
    {ZREV , YM} = I_N.
    ENDFOR.
    When I run the function , I got a error .
    "Types of parameter I_X (S) and variable J(C) are inconsistent "
    Does anyone know which string data type I should use in function module?
    Best Regards,
    Jeff

    Hi Jeff
    this is a bug. Please open a customer message so SAP support can correct the issue.
    Regards,
    Marc
    SAP NetWeaver RIG

  • How to pass multiple values from workbook to planning function ?

    Hi,
    I have created Planning function in Modeler and it has one parameter(Variable represents = Multiple single values).
    When executing the planning function by create planning seq. in the web template : I see value of variable store data like ...
        A.) input one value -> V1
        B.) input three values -> V1;V2;V3
    This function execute completely in web.
    However, I want to use the planning function in workbook(Excel).
    The value of variable can't input V1;V2;V3... I don't know how to pass multiple values from workbook to parameter(Multiple single values type) in planning function ?
    thank you.

    Hi,
    Please see the attached how to document (page no 16).
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f0881371-78a1-2910-f0b8-af3e184929be">how to</a>
    Hope this was helpful
    thanks

  • How to pass input value to the IN parameter in a function

    Hi ,
    I'm new to pl/sql programming.
    The below function is used inside a package and the package is invoked in visual studio.
    The function uses 2 input parameters.
    Out of which 'in_report_parameter_id' value comes thru job processor service 's job request.
    The second IN paramter values are hard coded in the function.
    I'm not able to understand this.
    If the values are hard coded , how to make sure that only the hard coded values are the right ones?
    Please anyone could explain to me?
    I really dont have good idea about how to pass INPUT parameter to the functions or procedure
    Is there any nice document which could give me good understanding about what are the ways or types we could pass values to the input parameter in subprograms?
    thanks in advance.
    CREATE OR REPLACE FUNCTION get_class_text_str
         in_report_parameter_id IN NUMBER,
         in_which                IN VARCHAR2 DEFAULT 'SELECT'
    RETURN VARCHAR2
    IS
             end_text            VARCHAR2 (50)   := '';
             my_class_text_str  VARCHAR2(10000) := '';
             my_class_value_str VARCHAR2(10000) := '';
         CURSOR class_text(c_1_text VARCHAR2, c_2_text VARCHAR2) IS
         SELECT c_1_text || report_parameters.report_parameter_value
                               || c_2_text
                               || report_parameters.report_parameter_value
                               || '" '
          FROM report_parameters
         WHERE report_parameters.report_parameter_id     = 3690
           AND report_parameters.report_parameter_group  = 'CLASS'
           AND report_parameters.report_parameter_name   = 'CLASS'
    GROUP BY report_parameters.report_parameter_value
    ORDER BY CAST(report_parameters.report_parameter_value AS NUMBER);
    BEGIN
         IF (in_which = 'SUM') THEN     
              OPEN class_text ( 'SUM(NVL("Class ', '", 0)) "Class ' );
         ELSIF (in_which = 'PERC')THEN
              OPEN class_text ( 'ROUND((("Class ', '" / "Total") * 100), 2) "Class ' );
              end_text := ', DECODE("Total", -1, 0, 100) "Total" ';
         ELSE
              OPEN class_text ( 'SUM(DECODE(bin_id, ', ', bin_value, 0)) "Class ' );
         END IF;
         LOOP
              FETCH class_text INTO my_class_value_str;
              EXIT WHEN class_text%NOTFOUND;
              my_class_text_str := my_class_text_str || ', ' || my_class_value_str;
         END LOOP;
         CLOSE class_text;
         my_class_text_str := my_class_text_str || end_text;
         RETURN my_class_text_str;
    END get_class_text_str;
    /Edited by: user10641405 on Nov 19, 2009 8:16 AM
    Edited by: user10641405 on Nov 19, 2009 8:30 AM

    This is not a design I would use, but should work if coded properly. I would probably build a reference cursor query as text and use one open fetch and close.
    You have 2 input parameters, in_report_parameter_id and in_which. I could not find where in_report_parameter_id was used in the program, but the value passed in for in_which is being used in IF logic to decide how to open the cursor. After the cursor is open rows are being fetched and eventually the cursor is closed.
    The values in_which are compared to are hard-coded. It is the programmer's job to make sure the values listed are the right values and the actions taken are also correct. Your program is assuming that if the first 2 values are not encountered the third one listed is the one you want.
    To pass input values to a procedure you merely provide the values as a literal or variable in the call, something like
    whatever := get_class_text_str(1,'SELECT');

  • How to pass default value of argument to stored function?

    Hi,
    in procedure I don't have to pass all arguments, because I set it with name, but in stored function I have to set arguments with index som I must set all arguments. Some arguments have default value. So how to pass default value?
    thx for any comments

    It really helps me if someone tell me that it isn't possiblle.
    thx.

  • How to pass a value to a bind variable in a query report in oracle apex

    Hi Guys,
    I have requirement to send weekly reports via email to some users. The users should receive their own records in the report. The user details is stored in a table. What I am planning to do is to create a report query in oracle apex to generate the report and then run a function/procedure via a scheduler to email the report to respective users. Now my query is ............. is it possible to pass a value (user name) to the report query to pull records of only that user? I know we can have bind variables in the report query but I have no idea how to pass a value for bind variables from a function/procedure.
    Can anyone help me on this issue or suggest a better approach?
    Thanks,
    San

    You need to use dynamic sql
    But please keep in mind that since you're using Oracle you may be better off posting this in some Oracle forums
    This forum is specifically for SQL Server
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • How to pass a value from the report to a form ( BIT OF URGENT ).

    Hi,
    I had created a "Form on a Table with Report" on the report I had remove the edit link and set one of the column feilds that functionality. Now I want to know how to pass that value that is clicked ( having hyper link ) on to the form where it runs a SQL query and then displays the reuslts on the form.
    Illustrating with an example.
    I am having these following columns on the report ( these are the results for the join statement )
    JOBNUM JOBNAME DEPTNUMBER SAL EMPNO LNAME FNAME
    In the above JOBNUM is having Hyper link as I removed the edit image.
    Now this is area I am having problem. When the user clicked on the JOBNUM then on form it should display 20 other columns( pulled from 5 other tables ) which are related to that particualr JOBNUM.
    Anybody give me a solution in which area I have to include my SQL statement and how to pass that selected value to that SQL statement.
    Cheers,
    Krishna

    Hi Ron,
    I am doing exaclty what you have suggested me but no luck. I started changing the DEMO_CUSTOMERS application to my requirements.The report is working fine and on the report I have created a page attribute to the Hyper linked column and linked that to the page 2 and assign that attribute with #JOBNUM#.
    I am able to pass that value on to form when I click on the JOBNUM. But the problem is I am not able to pass that value into the SQL query so that my query pulls 20+ columns on to the Form ( which is second page ).
    Small clarification... On the form region it is said FORM NAME and type is HTML is that is the way the APEX was designed or does it need to say region type as FORM.
    Thanks for your help in advance.
    Cheers,
    Krishna.

Maybe you are looking for

  • Using indicators other than "A/F" for Downpayment transaction F-37

    Scenario-- We need a one -sided entry(noted items) where will send "invoice like" document to customer for the amount agreed in milestone related to contract(not exactly milestone functionality). We want to use transaction Downpayment Payment F-37 Fo

  • How to insert CLEAR SSIS Package in another SSIS Package

    Hi All, We have a requirement to run CLEAR SSIS Package in another SSIS Package whish extracts data from Oracle database system. Needed to run CLEAR SSIS Package if data exists in BPC application else run extract to Oracle system. Basically continue

  • Pld printing extra pages

    hi i seem to have a problem with print layout designer. it seems to be printing extra pages for my clients AR invoice. it does not happen every time though. the client works with data brought into sap through a add on. we also feel that the problem c

  • How to achieve this result using sql query?

    hello gurus, i have a table like this id    name 1       a 2       b 3       c 4       d 5       e 6       f 7       g 8       h 9       i 10     j 11     k 12     l 13     m now my result should be like this id    name  id   name   id   name 1      

  • How  create data type for coulmn name having special characters in IR

    hi , any idea how to create how to do create data type for coulmn name having special characters