How to define parameterized methods in ALBPM

Hi,
I am using ALBPM 6.0.
Scenario:
I am calling a method B (in the same object) from method A where I want to pass arguments to method B. How do I do that as the method properties can set to return type, but cannot be parameterized
Please help
Thanks in advance
Jayant ([email protected])
Edited by jayantbit at 01/24/2008 5:48 AM

Hi Jayant,
You've got a few options to pass in/out arguments into and out of a method from another method in the same BPM Object:
1. you could create in arguments (from the BPM Object's variable tab) and pass them in this way
2. if the information you're passing in is something you might want to persist for a while, consider setting an attribute of your BPM Object and then simply invoking the method. The method could then access the attributes since they're the same object.
3. as you probably know, if you just have one value to pass out of a method, you should set a "return type" in the properties panel of the method. If you need more than one variable set for the returned values consider "out" args (opposite of #1 above) or setting attributes (#2) on the way out of the method.
hth,
Dan

Similar Messages

  • How to define  parameters with radio button

    HI
      How to define  parameters with radio button, but that radio button should display in front of the variable name not after variable name. and under that radio button variable I hve to define parameters, select-options and some other radiobutton varibles.
            I don't know how to paste figures here, otherwise i will provied u the figure for more details.
    Regards.

    PARAMETERS : r1 RADIOBUTTON GROUP radi.
    Go to --> text elements --> selection text
    R1    <your text>
    You can change the program selection screen lay out in screen painter (se51) .
    screen number for your selection screen is 1000.
    Regards,
    Santosh reddy
    Edited by: Santosh Reddy on Dec 9, 2008 11:21 AM

  • How to define parameters in a FORM portlet

    Is there a way to define parameters in a form portlet? I am trying to create a form with the "OmniPortlet-Simple Parameter Form" functionality so that I can have dynamic LOVs instead of hard-coded ones.

    Are you trying to create this with a normal portal form?
    If that is the case then, it is not possible to have parameters in forms. (I mean, you will not be able to dynamically change the LOV).
    Thanx,
    Chetan.

  • How to define parameters in custom reports registration

    dear experts
    In my custom report i need to register some parameters and i did so earlier on .. but this time i need some kind of constant lov feild in my report parameters and i cant able to do that .. lets suppose i have parameter on flow status and it is 'SHIPPED' or 'CLOSED' . if i want to see data based on 'SHIPPED' lines, i want to select 'SHIPPED' from my lov, otherwise 'CLOSED' and one more condition may be BOTH for that i use '%' with LIKE ...
    Right now i m using charector 10 constant in concurrent > program > define.
    And when my report run it ask value for my parameter and i have write the exact value ..other wise it not run .. i want to creat fix lov feild for input parameter .
    Do suggust me .. how can i do that .
    regards
    anwer

    You can create a new value set by following the steps:
    Go to Application Developer -> Validation -> Set and create a new value set by giving:
    1. Value set name
    2. Type
    3. Size
    4. Validation type -> select as independent
    Save the changes
    Then go to Application Developer -> Validation values and query for your value set that you created in your previous step.
    Then add the values 'SHIPPED','CLOSED','BOTH' on the list and save changes.
    Then go to concurrent program -> define and query for your concurrent program and change the value set for that parameter to the one you created.
    Then run the report by selecting a value from the LOV.
    For Both you can use something like this:
    a.flow_status:= NVL(:P_flow_status, a.flowstatus)Dont use LIKE operator as it my slow down the report execution in case if the reoprt is huge

  • Infosets -  How to define Parameters

    I have created an infoset on tables KEKO and CKIS.   In the definition I would like to select the data based on some constant criteria.   For instance Costing date from KEKO-KADAT is less then the current date and Costing date to KEKO-BIDAT GE the current date. 
    Can some explain to me how and where to do this and the code necessary to do it.

    PARAMETERS : r1 RADIOBUTTON GROUP radi.
    Go to --> text elements --> selection text
    R1    <your text>
    You can change the program selection screen lay out in screen painter (se51) .
    screen number for your selection screen is 1000.
    Regards,
    Santosh reddy
    Edited by: Santosh Reddy on Dec 9, 2008 11:21 AM

  • IMP: How to define own methods for pow(), sqrt() etc?

    HI ALL!
    We designed midlet to run on a mobile phone. We have some additional trignometrical classes to integerate with the midlet. But we got astonished when we didn't find any trignometrical function in MIDP1.0 & CLDC1.0. It is now is a great panic for us.
    It is very unbelievable that Sun Microsystem doesn't provide such classes with J2ME!!
    Is there any way to define or get a free-ware trignometrical classes to use?
    We hope urgent reply from this Forum.

    Google can do wonders for questions like this: http://www.ganssle.com/approx.htm

  • How to declare abstract method

    given - work worked at first .
    fact - then i went to add new entity object names ScottOafE0 . went through all the next sand finished. a package and entity obj already exist. i also tried to put a new package and ScottOafAM in a seperate place. still a no go
    when i went to run the form it errors out w/ below msg.
    Error(14,8): class xxxoaf.oracle.apps.xxuab.hr.newforms.server.ScottOafEOImpl should be declared abstract; it does not define method setLastUpdateLogin(oracle.jbo.domain.Number) in class oracle.apps.fnd.framework.server.OAEntityImpl
    Guess - i tired to put import oracle.apps.fnd.framework.server.OAEntityImpl in the controller file . didnt work
    any idea how to define abstract method ?
    thanks
    scott

    You dont need to define your class as abstract, that would not resolve your issue, what is happening is
    oracle.apps.fnd.framework.server.OAEntityImpl is a abstract class, and has a method declared as setLastUpdateLogin(oracle.jbo.domain.Number) in class
    Now, any class (xxxoaf.oracle.apps.xxuab.hr.newforms.server.ScottOafEOImpl ) extending from this class must either provide a definition to this method (provide the implementation logic), or must itself be declared abstract.
    We had a discussion on this issue in the forum , look for the thread.
    Thanks
    Tapash

  • How to pass parameters to automation plugin to Javascript

    Hello,
    We can call automation plugin from java script below code.
    var xx = stringIDToTypeID( "459ac2e6-82d1-11d5-9879-00b0d0201111" );     // Has will be the unique ID for this plugin
    executeAction( xx, undefined, DialogModes.NO );
    I am trying to passing parameters for the same plugin.
    I tried to find a way myself following plug-in resource guide but there information is not so clear.
    Can you tell me,
    How to define parameters in terminology file. (my guess it should be define in terminology file)
    How to JS call with parameters
    And how to extract those parameters inside plugin.
    Sample Pipl.r file  (This is from C++ plugin in SDK)
    // Dictionary (scripting) resource
    resource 'aete' (16000, "Getter dictionary", purgeable)
           1, 0, english, roman, /* aete version and language specifiers */
                "Testing", /* vendor suite name */
                "Adobe example plug-ins", /* optional description */
                'get ', /* suite ID */
                1, /* suite code, must be 1 */
                1, /* suite level, must be 1 */
           { /* structure for automation */
           plugInName, /* name */
           "No comment", /* optional description */
           'get ', /* class ID, must be unique or Suite ID */
           'getr', /* event ID, must be unique */
           NO_REPLY, /* never a reply */
                IMAGE_DIRECT_PARAMETER, /* direct parameter, used by Photoshop */   <-- According to the documentation, I guess here should be come parameters.  (para name, keyID, typeID )
                { // filter or selection class here:
      {}, /* non-filter/automation plug-in class here */
      {}, /* comparison ops (not supported) */
      { // Enumerations go here:
      } /* end of any enumerations */
    // end GetterPiPL.r
    Thank you.

    Hello Mack,
    Thanks for your detail explanation.
    Actually, I haven't much play with PS javascripting plugins niter Fit image.
    The key points I have figure out that, the way you attached parameters to descriptor and point of finding some light from listener.
    That made me a conceptual idea, although I did not get all the mention facts.
    My previous guess was correct.
    Parameter should be something like below according to PiPL grammar. (in Sample Pipl.r file)
    'mymod', /* event ID, must be unique */
           NO_REPLY, /* never a reply */
                IMAGE_DIRECT_PARAMETER, /* direct parameter, used by Photoshop */ 
                "action",    /* name for parameter*/
                 keyMyPara,    /*Key parameter you have define in terminology file*/
                 typeChar,       /*parameter type*/
                 "",     /*optional description*/
                 flagsSingleParameter     /*flags */
    The UUID is enough for calling plugin, only challenge was to define parameter wtr grammar at PiPL and read it at C++ end.
    Another important fact is that we have the message pointer which points to above plug-in parameters.
    Automation plugin would give that access.

  • How to define RFC parameters

    Hi Experts,
    i am using a RFC FM to from SRM system to ERP system. in ERP system the RFC FM parameters refer to some structures or tables which are not in SRM system.
    but i should transfer these parameters in SRM system to call this RFC.
    can anyone tell me how to define the parameters in SRM system?

    Hello,
    I also had to work with RFC to call SRM function module from an ECC system. I recommend you very strongly to create your own RFC function module in SRM and your own DDIC structures in both systems with just the fields you need. This custom SRM RFC function module, map the parameters to the standard 100+ field DDIC structure and call the SRM function module (not using RFC at this time of course).
    Why did I say "very strongly" : DO NOT duplicate the 100+ field DDIC structure from SRM to your RFC client system (by transport or manual copy), because some support packages add fields to some include structures of the complex structure, and they are inserted somewhere in the middle, and so it probably makes obsolete your duplicated DDIC structure.
    Hope it's clear
    sandra

  • How to define this FORMAL parameters for a std. SAP itab?

    Hello Experts,
    Am writing a custom PERFORM in a standard SAP include-RVCOMFZZ by using modification assistant, like below,
    RVCOMFZZ:
    PERFORM my_routine IN PROGRAM my_report USING com_vbapvb.
    (here com_vbapvb is a TABLES parameter  with STRUCTURE of vbapvb in the std. sap FM).
    my_report:
    FORM my_routine USING here_I_want_to_know_the_data_object
    ENDFORM.
    Here pls. let me know How to define the FORMAL parameters of my_routine? I tried with different options, but did not worked out. Preferable let me know in OOPS concepts (not using TABLES)
    Thank you

    Hi,
    here is example how to write you structure content  regardless what com_vbap has field list.
    PERFORM my_routine IN PROGRAM my_report USING com_vbapvb.
    FORM my_routine USING here_I_want_to_know_the_data_object.
      field-SYMBOLS: <field> type any.
      do 100 times.
        assign COMPONENT sy-index of structure ls_VBAPVB to <field>.
        if sy-subrc = 0.
          write:/ <field>.
          else.
          exit.
        endif.
      enddo.
    ENDFORM.
    Bye Jan

  • How to declare parameters to be defined at Application Server level

    I am currently wondering how to define context parameters that apply to all the web applications that are running on a server instance.
    For instance, on the JRUN platform, it is possible to do so by setting servlets, filters, welcome file mappings or context parameters in the default-web.xml file.
    Is there a similar file to be updated on the Netweaver Application Server platform?
    Thanks in advance for any reply posted.
    Cheers, Christophe

    Hi,
    In general all configuration settings in AS-JAVA can be done using VA/Config Tool (for NW 7.0) on NWA/Config Tool (for versions >= NW 7.1).
    SAP does provide templates (CTC Templates) to ease the basic configuration steps for usage types/products. But those are pre-defined ones which are supplied by SAP.
    - Regards, Dibya

  • How to define initialization parameters in iWS6.0sp2

    I need to define an initialization parameter in iWS6.0sp2, this parameter will be used by all my servlets in an web application.
    parameter name: paraName
    parameter value should be a string: "c:/xxx/xxx/xx"
    I want to get this parameter in my servlet using :
    getInitParameter("paraName")
    it looks like I need to define it in the web-apps.xml, but not sure.
    Can somebody tell me where and how to define it. Thanks in advance.
    John

    Hi,
    You can define initargs in servlets.properties file and refer that from web-apps.xml.
    check this link for more details
    http://docs.iplanet.com/docs/manuals/enterprise/50/servlets/war.htm
    Regards
    T.Raghulan.

  • How to call a method defined in AM when I select any value in LOV

    Lets say there is a LOV. The scenario is as soon as I select any value in LOV, a method needs to be called which I have written in the AM. And the output of the method is displayed in a output text box.
    I am not able to understand how to call a method when the user selects any value in LOV.
    This is wht I did. I had created the binding for the method. Changed the autosubmit property of the LOV to True, and in the properties of the output box, in the partial submit trigger property, passed the ID of the LOV. But I didnt get any place where I need to call the method. I am also not able to drop an action listener on the LOV

    Hi,
    +"its showing an error(underlined in orange)."+
    Any reason you don't share this error with us? Anyway, here is how it goes
    1. LOV, set autosubmit="true" and configure a value change listener
    2. Expose the AM method as a method binding in the PageDef file
    3. In the value change listener:
    BindingContext bctx = BindingContxt().getCurrent();
    BindingContainer bindings = bctx.getCurrentBindingsEntry();
    OperationBinding method = (OperationBinding) bindings.get("name of method binding in PageDef");
    method.getParamsMap().put("argument name1", value1);
    method.getParamsMap().put("argument name2", value2);
    Object retVal = method.execute();
    if(!method.getErrors().isEmpty()){
      //handle errors
    else{
      //write retVal to the managed bean variable that is referenced by the outputText value property
      //PPR output text component
      ADFFacesContext.getCurrentInstance().addPartialTarget(outputTextRef);
    }Note that you may have to set clientComponent = "true" on the output text component
    Frank

  • How to Pass User-defined Parameters from Forms to Reports

    Hi!I am trying to launch an existing report from a form then spool it into a PDF file. I have been successful in passing the report properties using SET_REPORT_OBJECT_PROPERTY built-in and I am also able to launch the report using RUN_REPORT_OBJECT built-in. My problem is, I cannot seem to pass the user defined parameters from my form to the report eventhough I am using the same variable names.
    this is a part of my code:
    repid := Find_Report_Object('ACPPRACS');
    Set_Report_Object_Property(repid, REPORT_EXECUTION_MODE,BATCH);
    Set_Report_Object_Property(repid, REPORT_DESTYPE,FILE);
    Set_Report_Object_Property(repid, REPORT_DESNAME,'C:\TMP\ACS01.PDF');
    Set_Report_Object_Property(repid, REPORT_DESFORMAT,'PDF');
    Set_Report_Object_Property(repid, REPORT_OTHER,'PF_NBO_CD='&#0124; &#0124;'"'&#0124; &#0124;:acs.nbo&#0124; &#0124;'"');
    v_rep := RUN_REPORT_OBJECT(repid);
    Hope you can help me soon. Thanks!

    first of all u will create a paramlist
    then add_paramter to this list
    and then pass this list to the report
    by using run_product.
    i think this is all.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Jenny ([email protected]):
    Hi!I am trying to launch an existing report from a form then spool it into a PDF file. I have been successful in passing the report properties using SET_REPORT_OBJECT_PROPERTY built-in and I am also able to launch the report using RUN_REPORT_OBJECT built-in. My problem is, I cannot seem to pass the user defined parameters from my form to the report eventhough I am using the same variable names.
    this is a part of my code:
    repid := Find_Report_Object('ACPPRACS');
    Set_Report_Object_Property(repid, REPORT_EXECUTION_MODE,BATCH);
    Set_Report_Object_Property(repid, REPORT_DESTYPE,FILE);
    Set_Report_Object_Property(repid, REPORT_DESNAME,'C:\TMP\ACS01.PDF');
    Set_Report_Object_Property(repid, REPORT_DESFORMAT,'PDF');
    Set_Report_Object_Property(repid, REPORT_OTHER,'PF_NBO_CD='| |'"'| |:acs.nbo| |'"');
    v_rep := RUN_REPORT_OBJECT(repid);
    Hope you can help me soon. Thanks!<HR></BLOCKQUOTE>
    null

  • WebDynpro method tab - defining a method

    Hi all ,
    I 'am trying to define a method in Method's  tab . but I can't do correctly the type "returning"
    I define parameter , type = returning asociate type I and default = 1.
    When I try to change the state of the parameter.  Syntax error throws " The field x  cannot be changed"
    anybody can help me ?? with this ?
    thanks in advance,

    >
    nishant patel wrote:
    > Hi,
    > I want to create my own method in Web dynpro with importingand exporting  parameter as a table is it possible to do?
    > If yes how can it be done.
    >
    >
    > Thanks,
    > Nishant
    Most certainly.  Just go to the methods tab of the component controller or the View.  You can create a method there.  Double click on the method to bring up the method editor. Above the ABAP editor is a table where you can input exporting or importing parameters.  Supply a parameter type that is a table type ( data dictionary table type) as you can use the "TABLE OF" statement within the Associated Type column.

Maybe you are looking for

  • Java Partner Application

    Hi Friends, I'm experiencing some problems with the Partner Application that comes in Java version of PDK. Debugging the code in JDeveloper 3.2 all process stop when I try to create a new SSOEnablerBean.. the application just freeze out.. and return

  • Machine

    HI, By which transaction code we can check machine history. Please give me the solution for this. Thanks, Pintoo

  • My location service comes on by itself!

    location service turned off in settings, but location arrow keeps coming up on it's own. It's killing my data usage when i don't catch it right away. please help

  • Wifi not displaying even thought wifi network is available.

    i installed lan drivers related to my laptop version hp 15 r204tu. even after that wifi icon is not displaying in my laptop.Please help me in this issue.. Note: recently i changed the os from win 7 ultimate to win 7 professional. Earlier it is fine.

  • Healing Brush and /

    Using LR 5.3 on a PC with Windows 8.1. The function "Select new source" in panel Healing Brush doesn't work with Shift+7.