How to pass parameters to planning function in WAD

Hi All,
I want to pass parameters to planning function in WAD. Pls suggest how can I do that.
Thanx
Amit Jain

Hi Amit,
insert your planning function as a command in WAD ("EXEC_PLANNING_FUNCTION"). In the screen where you enter the technical name of your planning function you can also insert Data Bindings. There you can do a selection binding for a special characteristic or a variable value. If you want to assign a static (fix) value to a variable for example you can do a variable binding (technical name of variable/variable type "Variable Input String"/Variable Input String: set the required value).
The same thing can be done executing planning sequences within WAD.
Brgds,
Marcel

Similar Messages

  • How to pass parameters to ABAP function in Crystal report

    Hi All,
    I am creating a Crystal report on top of SAP ECC 6.0. I am trying to call ABAP functions. But I am not able to see an option to pass any parameters to the function.
    Can you please help with how to pass a parameter to a ABAP function?
    Thanks
    Chetan

    Hi there,
    we thought we found the problem. But the ABAP function is now RFC compatible and i still do not see the export parameters of the ABAP function in Crystal.
    Question: The ABAP function does not deliver columns as the result but a table instead. Could this be the problem? Regarding to this we will have to change the output functinality of the ABAP-function to teliver colums instead of a table.
    Thanks for your help,
    regards
    Sebastian

  • How to pass parameters to Responder functions?

    Hi guys,
    Im using AMFPHP, and would like to pass some paramteres to Function in Responder, how can i do that?
    new Responder('success', 'fault'); // I would like to pass few simple parameters to success function.
    Saludos
    marcin

    try following, you may provide the type for event argument in function(event)
    new Responder(function(event):void{actualFunction(evnet,yourParam);}, 'fault');

  • How to pass parameters to a function ?

    I defined successfully a function like
    CREATE OR REPLACE FUNCTION my_func (inparm IN TEST.COL1%TYPE) RETURN NUMBER
    When I try to call this function with
    EXEC my_func 1;
    I am getting an error:
    ORA-06550 resp. PLS-00103 Found "0" when expection of of := . ( @ % ;
    So how to I pass parameter values otherwise?

    SQL> create or replace function my_func(inparm test.c1%type) return number
      2  as
      3  begin
      4    return 1;
      5  end;
      6  /
    Function created.
    SQL> set serveroutput on
    SQL> exec dbms_output.put_line(my_func(1));
    1                                                                              
    PL/SQL procedure successfully completed.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Form Personalization - Custom Function - How to pass parameters?

    Hi,
    My requirement is to call a custom mod pl/sql program (html page) from purchasing when the "approve" button is pressed. I have it working, but don't know how to pass parameters to my function.
    I have my function defined and registered. In the definition under "Web HTML" tab, I have my pl/sql procedure call under "HTML Call". Where do the parameters go?
    On the customization of form POXPOEPO, I am using Builtin - Launch a function. I want to pass the po_header_id, so under "Parameters", I did "Insert Item Value" of :PO_HEADERS.PO_HEADER_ID
    My custom HMTL page is popping up, but the parameter is not being passed. Is there something in the Function Definition where I can define the incoming paramaters?
    Thanks.
    Paul

    Hi paul;
    There are many usefull link avaliable if you googling
    http://www.google.com.tr/#hl=tr&biw=1259&bih=793&&sa=X&ei=4wxQTZmYEISRswaNktWSDQ&ved=0CC4QBSgA&q=How+to+pass+parameters%2Bform+personalization&spell=1&fp=64d53dfd7a69225a
    Regard
    Helios

  • Form personalization - new custom function - how to pass parameters?

    Hi,
    My requirement is to call a custom mod pl/sql program (html page) from purchasing when the "approve" button is pressed. I have it working, but don't know how to pass parameters to my function.
    I have my function defined and registered. In the definition under "Web HTML" tab, I have my pl/sql procedure call under "HTML Call". Where do the parameters go?
    On the customization of form POXPOEPO, I am using Builtin - Launch a function. I want to pass the po_header_id, so under "Parameters", I did "Insert Item Value" of :PO_HEADERS.PO_HEADER_ID
    My custom HMTL page is popping up, but the parameter is not being passed. Is there something in the Function Definition where I can define the incoming paramaters?
    Thanks.
    Paul

    Post your question in below forum:
    General EBS Discussion
    -Anand

  • How to pass parameters into Function module : CLOI_PUT_SIGN_IN_FRONT

    Hello friends,
    I am displaying values ie, amounts in the screen using write statements here i have to display the
    sign left side , i am using  Function module   'CLOI_PUT_SIGN_IN_FRONT'    
    Does anybody help me - How to pass paramter into this Function module.
    Regards,
    Phaneendra

    If you look to the code of the function module, you can see it is condensing the value.
    I would make a copy of this function, and remove the condense lines to give the result you want.
      data: text1(1) type c.
      search value for '-'.
      if sy-subrc = 0 and sy-fdpos <> 0.
        split value at '-' into value text1.
        condense value.
        concatenate '-' value into value.
      else.
        condense value.
      endif.

  • How to pass argument in main function ?

    How to pass arguments in main function of one class from another class ?
    I don't want to pass argument from command prompt.
    I want to try something like this -
    class Test{
    public static void main(String args[]){
    for(int i=0;i<args.length;i++)
         System.out.println(args);
    class Fun{
    public static void main(String args[]){
         Test t=new Test("Hello","good bye");
    when i run Fun class it gives error.
    Suggest me how can i do that.

    In Fun class main method does not take arguments that is fine. In Test class instead of main method you can have constructor to take input parameters as suggested by BalusC
    However, if you want to make your existing code work, you can call (though not appropriate) main() method of Test class from main() method of Fun class (As main() method is static object is not required to invoke this):
    Test.main(new String[]{"Hello","good bye"});Here is your code:
    class Test{
    public static void main(String args[]){
    for(int i=0;i<args.length;i++)
    System.out.println(args);
    public class Fun{
    public static void main(String args[]){
    //Test t=new Test("Hello","good bye");
    Test.main(new String[]{"Hello","good bye"});
    } Thanks,
    Mrityunjoy                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • How To... Execute Planning Functions and Sequences from MS Office Ribbon

    Dear all,
    I am working with a SAP how to paper, which is called:
    How To... Execute Planning Functions and Sequences from MS Office Ribbon.
    It is working absolutely fine and I am pretty satisfied, but as you probably know "Control the visibility of a button based on the visibility of a related crosstab: the  button just disappears once the related crosstab is not located on the active sheet."
    This means, when I insert different queries in different crosstabs, only one crosstab will have my own created ribbon. Is it also possible to set another specific ribbon with other buttons for another crosstab? Can I change the macro, included in the appendix of the how to paper, regarding this issue?
    Thanks in advance!
    Kind regards
    Dominik Drebinger

    Hey Martin,
    thanks for your reply, but I solved the problem on my own. Unfortunately my colleague did not see that the crosstabs had to be defined differently.
    Like this:
    Label
    Screentip
    Msolmage name
    Crosstab name
    Copy Initial Aligned
    Copy Initial Aligned
    CacheListData
    SAPCrosstab1
    Copy Initial Aligned 
    Copy Initial Aligned
    CacheListData
    SAPCrosstab3
    Copy Initial Aligned
    Copy Initial Aligned
    CacheListData
    SAPCrosstab5
    The macro, provided by the HowTo, is therefore working perfectly fine.
    Thanks though
    Dominik

  • How to pass parameters to javascript from HTMLB Button Click

    Hi Experts,
    I am using a HTMLB Button, I need to pass parameters to JavaScript onClientClick.
    Whether we can pass parameters to javascript function from HTMLB button.
    I tried to pass parameters to javascript in onClientClick, but on load of the page it is saying that its a Syntax error.
    This is the code that i have created Script
    Note: The parameters and the Button are dynamically created. Also there are n Numbers of buttons created.
    Please help me in this regard to solve the issue. If there are any error in syntax please let me know.
    Thanks & Regards,
    Palani

    Rather than using SQL loader, you could just use similar syntax in an external table definition. It both cases, the file may need to be at the OS level.
    http://www.psoug.org/reference/externaltab.html
    If your file is stored in an Apex table's clob column, you can just loop through the individual lines (but then need to parse the lines yourself). See clob2line here http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:285215954607#388438800346703098
    Or you can dump the clob to the OS first (using utl_file or dbms_lob), and then read it back using external table, taking advantage of your control file definition. sqlloader has the disadvantage of needing user/pass usually.
    http://www.psoug.org/reference/dbms_lob.html
    http://www.psoug.org/reference/utl_file.html

  • How to pass parameters between two xterm windows?

    Hi,
    I would like to know how to pass parameters between two xterm windows where there are two independence processes running on them respectively ? Would appreciate if any one out there can advise me . Thanks.

    Global variables can be used, but you can do what the online help
    says ...
    Parameters are passed to called forms by means of a parameter
    list. A parameter list is a named programmatic construct that is
    simply a list of parameter names (called keys) and their values.
    You can pass parameter values to forms invoked by the built-in
    subprograms CALL_FORM, OPEN_FORM, and NEW_FORM. In addition, you
    can pass parameter values to other Oracle tools with the
    RUN_PRODUCT procedure.
    A parameter you include in a parameter list can be either a text
    parameter or a data parameter. The parameter type determines how
    its value is interpreted.
    Text Parameters The value of a text parameter being passed to a
    called product is a CHAR string that can represent the following:
    n a user-defined form parameter defined in a form invoked
    by the CALL_FORM, OPEN_FORM, or NEW_FORM built-in subprograms
    n a command line or user-defined parameter for a product
    invoked with the RUN_PRODUCT built-in subprogram
    Data Parameters The value of a data parameter being passed to a
    called product is always the name of a record group defined in
    the current form. (A record group is a data structure that
    stores records derived from a query or through programmatic
    assignment.) Data parameters are used to pass data to products
    invoked with the RUN_PRODUCT built-in subprogram. You cannot
    pass data parameters to forms.
    The following table shows the structure of a parameter list that
    contains four parameters:
    Key Paramtype Value
    CITY Text_Parameter 'BOGOTA'
    CATEGORY Text_Parameter 'EXPORTS'
    MULTIPLIER Text_Parameter '.0275'
    NEW_DATA Data_Parameter 'RECORD_GROUP8'
    arun reddy (guest) wrote:
    : im trying to do this but i could not find any way for this.
    : can any one help me how can i pass parameters between two forms
    : in forms4.5. any help will be appreciated
    : thanks.
    null

  • Executing Planning Function usind WAD

    Hi Experts,
        I tried to Execute a planning function using WAD.
        Can you please tell me how to see the plan data before actually saving it. As We do in Modeller (RSPLAN).
    Thanks,
    Arshad

    Hi Mayank,
        Thanks for your generous reply.
        I am quite new to BI, so please can you explain in detail how can I display  the trace of the function ( Changed data ) before actually saving it using a query.
    Thanks,
    Arshad

  • How to pass parameters to function module

    Hello,
    Can someone suggest how to pass parameter values to BAPI function module from a .NET client? I am using the BAPI_PO_GETDETAILS module and want to pass required parameters to get the item details. Also, please let me know which table should I refer to when retrieving the result. I am using sap .net connector 3.0.
    Thanks in advance

    Hi unosino,
    at http://www.se80.co.uk/sapfms/b/bapi/bapi_po_getdetail.htm you can see, that you have to pass po_header and po_address to the function.
    You can do that with the nco3 like this:
    IRfcFunction rfcFunction = destination.Repository.CreateFunction("BAPI_PO_GETDETAILS");
    rfcFunction.SetValue("po_header", /* your value */);
    rfcFunction.SetValue("po_address", /* your value */);
    rfcFunction.Invoke(destination);
    kind regards
    christian
    Edited by: chrislind on Nov 11, 2011 2:47 PM

  • CF/Ajax - How to pass parameters to a cfwindow?

    Hi,
    Is there a way to pass parameters to a cfwindow?
    If yes, please provide me with all relevant details.
    HERE IS MY SITUATION:
    I have a form, in which I'm looping over a recordset e.g.
    <cfform name="frmTest">
         <cfset counter = 0>
         <cfloop query="variables.qTest">
              <cfset counter = variables.counter + 1>
              <cfinput
                   type="checkbox"
                   name="test_#variables.counter#_ch"
                   onClick="showPopUp(#variables.qTest.id#,#variables.qTest.amount#)">
         </cfloop>
    </cfform>
    Here is my javascript / ajax:
    <script type="text/javascript">
    <!--
    function showPopUp(id,amt){
    ColdFusion.Window.show("approvalWindow");
    //-->
    </script>
    And here is my cfwindow:
    <cfwindow
                name="approvalWindow" center="true" closable="true"
                draggable="false" modal="true" title="Approval"
                initshow="false" width="680" height="315">
    HOW CAN I OBTAIN THE VALUES OF id AND amt HERE?
    E.g.
    <cfset idClicked = id>
    <cfset amtClicked = amt>
    I'll be needing those 2 variables for further processing...
    </cfwindow>
    I know I could have used a simple javascript window.open and passed those 2 parameters in the URL scope, but, I don't want my users to see what id I'm sending.
    Thanks and regards,
    Yogesh Mahadnac.

    Hi,
    Many thanks for your answer.
    It actually works under "static" conditions, i.e. if I'm calling the cfwindow inside a cfloop, the value of ID is not refreshed.
    Let me show you what I mean.
    For example, here is my form
    <cfform name="frmTest">
         <cfset counter = 0>
         <cfloop query="variables.qTest">
              <cfset counter = variables.counter + 1>
              <cfinput
                   type="checkbox"
                   name="test_#variables.counter#_ch"
                   onClick="showPopUp(#variables.qTest.id#,#variables.qTest.amount#)">
         </cfloop>
    </cfform>
    This gives the output, e.g.
    Checkbox 1
    Checkbox 2
    Checkbox 3
    Checkbox 4
    Checkbox 5
    ID 1
    ID 2
    ID 3
    ID 4
    ID 5
    showPopUp(1,10)
    showPopUp(2,15)
    showPopUp(3,12)
    showPopUp(4,15)
    showPopUp(5,50)
    Now, here is the showPopUp part (using the solution you provided to me):
    <cfajaximport tags="cfwindow">
    <script type="text/javascript">
    <!--
        function showPopUp(id,amt){
            ColdFusion.Window.create('Window1','Window Title','test.cfm?ID='+ id + '&amt=' + amt,
            {_cf_refreshOnShow:true,height:290,width:630,modal:true,closable:true,draggable:true,resi zable:false,center:true,initshow:true});
    //-->
    </script>
    And then on test.cfm, we can easily obtain the value of ID and amt using the url scope
    <cfset id = url.ID>
    <cfset amt = url.amt>
    <cfdump var="#url#" label="Checking values sent from checkbox">
    Normally, the value of ID should be 1, 2, 3, 4 or 5 depending on the checkbox you click, right?
    When you click the 1st one, ID 1 is sent in the url (this is fine).
    However, if you click the 3rd checkbox after having clicked the 1st one, the value of ID and amt still reflect that of the 1st checkbox.
    It is not "refreshed" to 3 and 12, you still get ID = 1 and amt = 10.
    Is there anything we missed in the showPopUp script?
    Thanks and regards,
    Yogesh Mahadnac.

  • How to pass joint in a function

    hi,
    i want to pass Right Hand joint in a function and want to store last 5 position of joint in an point array. but when i pass the joint as below :-
    Point point = ExponentialWeightedAvg(Joint HandRight)
    it tells that joint is a type not a variable.
    so,
    how can i pass right hand joint and do some calculations.
    thanks !!

    The syntax you wrote is incorrect. As with any programming language, you should be familiar how to write the correct syntax in the language of choice, since that would be a pre-requisite for using the SDK.
    We already provide a BodyBasics sample that demonstrates how you can pass joint information to other functions. The key will be to get the joint position and pass that to the function you want:
    CameraSpacePoint position = joints[JointType.HandRight].Position;
    Carmine Sirignano - MSFT

Maybe you are looking for