Subroutine parameters ..by default pass by value or pass by ref

how parameters pass ?  value or ref
if we use changing in both perform and form...will it become CALL BY REF?
Message was edited by:
        balaji velpuri

Hi,
<u><b>The Parameter Interface</b></u>
The USING and CHANGING additions in the FORM statement define the formal parameters of a subroutine. The sequence of the additions is fixed. Each addition can be followed by a list of any number of formal parameters. When you call a subroutine, you must fill all formal parameters with the values from the actual parameters. At the end of the subroutine, the formal parameters are passed back to the corresponding actual parameters.
Within a subroutine, formal parameters behave like dynamic local data. You can use them in the same way as normal local data objects that you would declare with the DATA statement. They mask global data objects with the same name. The value of the parameters at the start of the subroutine is the value passed from the corresponding actual parameter.
Subroutines can have the following formal parameters:
<u><b>Parameters Passed by Reference</b></u>
You list these parameters after USING or CHANGING without the VALUE addition:
FORM <subr> USING ... <pi> [TYPE <t>|LIKE <f>] ...
CHANGING ... <pi> [TYPE <t>|LIKE <f>] ...
The formal parameter occupies no memory of its own. During a subroutine call, only the address of the actual parameter is transferred to the formal parameter. The subroutine works with the field from the calling program. If the value of the formal parameter changes, the contents of the actual parameter in the calling program also change.
For calling by reference, USING and CHANGING are equivalent. For documentation purposes, you should use USING for input parameters which are not changed in the subroutine, and CHANGING for output parameters which are changed in the subroutine.
To avoid the value of an actual parameter being changed automatically, you must pass it by value.
<u><b>Input Parameters That Pass Values</b></u>
You list these parameters after USING with the VALUE addition:
FORM <subr> USING ... VALUE(<pi>) [TYPE <t>|LIKE <f>] ...
The formal parameter occupies its own memory space. When you call the subroutine, the value of the actual parameter is passed to the formal parameter. If the value of the formal parameter changes, this has no effect on the actual parameter.
<u><b>Output Parameters That Pass Values</b></u>
You list these parameters after CHANGING with the VALUE addition:
FORM <subr> CHANGING ... VALUE(<pi>) [TYPE <t>|LIKE <f>] ...
The formal parameter occupies its own memory space. When you call the subroutine, the value of the actual parameter is passed to the formal parameter. If the subroutine concludes successfully, that is, when the ENDFORM statement occurs, or when the subroutine is terminated through a CHECK or EXIT statement, the current value of the formal parameter is copied into the actual parameter.
If the subroutine terminates prematurely due to an error message, no value is passed. It only makes sense to terminate a subroutine through an error message in the PAI processing of a screen, that is, in a PAI module, in the AT SELECTION-SCREEN event, or after an interactive list event.
<u><b>Specifying the Type of Formal Parameters</b></u>
Formal parameters can have any valid ABAP data type. You can specify the type of a formal parameter, either generically or fully, using the TYPE or LIKE addition. If you specify a generic type, the type of the formal parameter is either partially specified or not specified at all. Any attributes that are not specified are inherited from the corresponding actual parameter when the subroutine is called. If you specify the type fully, all of the technical attributes of the formal parameter are defined with the subroutine definition.
The following remarks about specifying the types of parameters also apply to the parameters of other procedures (function modules and methods). If you have specified the type of the formal parameters, the system checks that the
corresponding actual parameters are compatible when the subroutine is called. For internal subroutines, the system checks this in the syntax check. For external subroutines, the check cannot occur until runtime. By specifying the type, you ensure that a subroutine always works with the correct data type. Generic formal parameters allow a large degree of freedom when you call subroutines, since you can pass data of any type. This restricts accordingly the options for processing data in the subroutine, since the operations must be valid for all data types. For example, assigning one data object to another may not even be possible for all data types. If you specify the types of subroutine parameters, you can perform a much wider range of operations, since only the data appropriate to those operations can be passed in the call. If you want to process structured data objects component by component in a subroutine, you must specify the type of the parameter.
Regards,
Bhaskar

Similar Messages

  • In FM tables And Changing r bu default Pass by value or ref

    hi friends ,
    In Function Module Tables And Changing are by default Pass by value or reference.
    with regards.

    hi all,
    i got the answer from abap in 21 days (page No 591),
    changing parameters are passed by value and result.
    internal tables are pass by reference.

  • SSRS 2008 R2 Report parameters have default values and report not to auto run

    Hi, I am using SSRS 2008 R2 one of my requirements for a Report is all the parameters have default value and I do not want this report to auto run when users open this report. I can create a dummy hidden parameter to break the auto run for this
    report. But I am looking for solutions other than that.
    Thanks in advance..........
    Ione

    Hi lone,
    According to your description, you have a report with parameters. Now you want you report not to run automatically with your parameters default values. Right?
    In Reporting Service, if you have parameters with default values in your report, your report will always auto run with these default values. We can say these default values are used for report running initially. So for your requirement, if you really need
    to see your default value before the report running, the best workaround is set one more parameter to break the auto run like you have done. If you just want your report not to auto run, your can achieve it by removing those default values.
    Reference:
    Report Parameters (Report Builder and SSRS)
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou (Pactera)

  • How to clear a default condition / parameter value in a Discoverer Viewer ?

    Hi there,
    Appreciate if anyone can help with what I am trying to do below in Discoverer10g:-
    1. In Desktop we created a workbook with a parameter and we set the default value of the parameter as '%%'. This is so that all values are selected for that parameter unless the user over-writes it by picking values from the LOV.
    2. When we run the workbook in Desktop, and pick a value out of a LOV, the system automatically remove the '%%' and substituted with the values picked from the LOV. This is working well.
    3. However, when we published the workbook to our Disco Viewer users, on the parameter screen, when a user picks values out of the LOV, the system DOES NOT remove the '%%' automatically, and appends the picked values to the list. Of course this makes the report select all values for that parameter.
    4. To resolve the problem, the Viewer user has to manually remove the default '%%' before picking values out of the LOV. Often they forget to do that and trust the value reported on the worksheet.
    5. We believe some sort of a "REPLACE '%' with BLANK" function on clicking the "Move" button will remove the '%%' values when we pick values from LOV in the parameter screen. But we do not know how to do this.
    If anyone has successfully done the above and share his experience, that will be much appreciated.
    Thank you.

    Hi there,
    Thanks for your feedback.
    Our workbooks mostly have muitii-item parameters where the users can pick more than one value.
    I have created a test workbook in Desktop with a mutil-value parameter. After picking up multiple values from the LOV, the '%%' default automatically get sover-written.
    I shared this same workbook to a Viewer user.
    In Viewer, after picking multiple values from the left window and clicking the [Move] button, the '%%' value stays. Wonder if anything can be done to remove the '%%' in Viewer after the user has picked a value and the [Move] button is clicked.
    Further help / comments appreciated.
    Thanks again for your help.
    Regards

  • Parameters are not Passed in a Struts(JPDK) Portlet

    Dear All,
    I am getting below problem in Oracle Portal Environment(10.1.2)
    I am passing news_id parameter along with title from one page to another page like below code
    In CompanyNewsShowPage.jsp
    <tr>
    <td class="desc">
    <%
    page_url ="/showpageNews.do?news_id="+com_events[0];
    // System.out.println("value of page url : "+ page_url);
    %>
    <input type="hidden" value="<%=page_url%>" id="hdnpageurl"/>
    <pdk-html:link page="<%=page_url%>" styleClass="desc">
    <%
    String obj_title= com_events[1];
    if((obj_title.length())>30)
    out.println(obj_title= obj_title.substring(0,15)+ "...");
    else
    out.println(com_events[1]);
    %>
    </pdk-html:link>
    </td>
    TO passing
    shownews.jsp
    The code for accepting parameter is below
    <%
    System.out.println("value of newsid :"+ newsid);
    String news_id=request.getParameter("news_id");
    if(news_id !=null)
    newsid= Integer.parseInt(news_id);
    System.out.println("value of newsid :"+ newsid);
    %>
    Kindly any one help me how to pass the parameter from one page to another page above problem, because our go live date is very close.
    But same code it is works in IE browser, but not working after deployed in Oracle Portal Environment.
    However, the
    parameters are not passed from the form to the Struts action. When retrieving the parameters, then
    a null value is retrieved, even when the parameter was specified in the form.
    Regards,
    Chandrashekhara
    Message was edited by:
    user487286
    Message was edited by:
    user487286

    Hi Anton,
    I make some tests and it appeared that it's only the output parameter which is not passed through the step (why ?).
    I get this output parameter by a post-running action which parse the joblog and retrieve the sequence number at the line with the pattern  "vendor" (hereunder) :
    100601 20091008 00 516 Job started  0       
    100601 20091008 00 550 Step 001 started (program ZCO_MANAGE_FILE, variant ECLO2, user ID ABAPUSER)  0 001 ZCO_MANAGE_FILE ECLO2 ABAPUSER   
    100601 20091008 00 001 No vendor specified  0 00233      
    100602 20091008 00 517 Job finished  0
    Here is the postrunning action script wich was working before we upgrade :
      JobFile log = jcsJob.getJobFileByName("log");
      if (log != null)
        com.redwood.scheduler.api.search.SearchResultSet myResultSet = log.search("No vendor specified");
        com.redwood.scheduler.api.search.SearchResult myResult = null;
        while (myResultSet.next())
          myResult = myResultSet.getSearchResult();
          String [] line = myResult.getLineText().split(" ");
          JobParameter jp = jcsJob.getJobParameterByName("VendorCode");
          if (jp != null)
            jp.setOutValueString(line[line.length-1]);

  • Parameters hanging on to previous values

    Post Author: sharonmtowler
    CA Forum: General
    I have a report where the parameters are sent from the stored procedure to the report. crystal 8.5 sql 2000.
    when i run the report locally and prompt for new parameters it displays the old values from the last time it was run. (i am dropping my temp table @ end of proc) i change the value but it isnt pulling what i try to pass through. i attached my stored procedure to see if anyone knows why the values are hanging.
    SET QUOTED_IDENTIFIER ON GOSET ANSI_NULLS ON GO
    /****************************************************************************  Program         : Inventory Status Detail with QC results                               Program ID      : Pr_Customer_QC_Data                     Type            : Stored Procedure  Owner           : Ashish                                      Out To          : Customer_QC_Data.rpt   Description     :                                                                        Name            : Sharon Towler                                             Date            : 04/28/2008                                                                                Modification-01 : xx/xx/xxxxx xxxxxx            1                               xxxxxxxxxxxxx  
    ***************************************************************************/   ALTER    PROCEDURE DBO.Pr_Customer_QC_Data   @gl_cmp_key  varchar(2), @in_whs_key  varchar(275), @beg_in_item_key varchar(20),  @end_in_item_key varchar(20),  @beg_in_lot_key  varchar(25), @end_in_lot_key  varchar(25), @SO_From_Crt_Dte datetime, @SO_TO_Crt_Dte  datetime
    AS  
    SET NOCOUNT ON
    /************************************************************************/ /***********************************************************************/ / STEP 1: Set multiple wareshouses selection                            / /***********************************************************************/ /************************************************************************/
    CREATE TABLE #T_Localwhs  ( warehouse varchar(6) null )
    DECLARE    @var varchar(6),  @i numeric,  @whs varchar(6),  @chk numeric
    SET @i = 1  SET @var = (charindex(',',@in_whs_key)) 
    IF @var <> 0    BEGIN  WHILE (@i < @var)   BEGIN   --SET @var = (CHARINDEX(',',@in_whs_key))   SET @whs = LTRIM(LEFT(@in_whs_key, (@var-1)))   INSERT #T_Localwhs (warehouse) VALUES (@whs)   SET @in_whs_key = RIGHT(@in_whs_key, (LEN(@in_whs_key)-@var))   SET @var = (CHARINDEX(',',@in_whs_key))  END
    INSERT #T_Localwhs (warehouse) VALUES (LTRIM(@in_whs_key))   END  ELSE    BEGIN   INSERT #T_Localwhs (warehouse) VALUES (LTRIM(@in_whs_key))   END 
    --SELECT * FROM #T_Localwhs  
    /************************************************************************/    /***********************************************************************/    / STEP 2: Main selection                                                /    /***********************************************************************/    /************************************************************************/   
    SELECT DISTINCT                 so_hdr_tbl.gl_cmp_key,    so_hdr_tbl.so_hdr_key  ORDER_NUMBER,  so_hdr_tbl.so_hdr_crtdt  ORDER_DATE,   so_hdr_tbl.ar_bill_key  BILL_TO,   so_dtl_tbl.ar_ship_key  SHIP_TO,   so_dtl_tbl.so_dtl_key  SO_LINE,   in_pklot_tbl.in_item_key ITEM,                 in_pklot_tbl.im_pack_key PACK,   en_lotqc_tbl.en_lot_key  LOT,   so_dtlpr_tbl.so_dtlpr_basec UNIT_COST,   en_lotqc_tbl.en_qcmst_key TEST,                 en_lotqc_tbl.en_lotqc_value RESULT,  en_plc_tbl.en_plc_dsc  FAMILY,   in_whitmpk_tbl.gl_acct_key GL_ACCT,   so_rtdtl_tbl.so_rthdr_key  RMA,  CASE WHEN en_lotqc_tbl.en_qcmst_key = 'BD2' THEN en_lotqc_tbl.en_lotqc_value END AS BD2,                     CASE WHEN en_lotqc_tbl.en_qcmst_key = 'CONTAM' THEN en_lotqc_tbl.en_lotqc_value END AS CONTAM,                     CASE WHEN en_lotqc_tbl.en_qcmst_key = 'EL' THEN en_lotqc_tbl.en_lotqc_value END AS EL,                     CASE WHEN en_lotqc_tbl.en_qcmst_key LIKE 'GEL' THEN en_lotqc_tbl.en_lotqc_value END AS GEL,                     CASE WHEN en_lotqc_tbl.en_qcmst_key = 'MFR' THEN en_lotqc_tbl.en_lotqc_value END AS MFR,                     CASE WHEN en_lotqc_tbl.en_qcmst_key = 'MIT' THEN en_lotqc_tbl.en_lotqc_value END AS MIT,                     CASE WHEN en_lotqc_tbl.en_qcmst_key = 'MP' THEN en_lotqc_tbl.en_lotqc_value END AS MP,                     CASE WHEN en_lotqc_tbl.en_qcmst_key = 'PCI' THEN en_lotqc_tbl.en_lotqc_value END AS PCI,                     CASE WHEN en_lotqc_tbl.en_qcmst_key = 'PS' THEN en_lotqc_tbl.en_lotqc_value END AS PS,                     CASE WHEN en_lotqc_tbl.en_qcmst_key = 'SG' THEN en_lotqc_tbl.en_lotqc_value END AS SG,                     CASE WHEN en_lotqc_tbl.en_qcmst_key = 'TS' THEN en_lotqc_tbl.en_lotqc_value END AS TS,                     CASE WHEN en_lotqc_tbl.en_qcmst_key = 'VOL' THEN en_lotqc_tbl.en_lotqc_value END AS VOL  FROM   in_whitmpk_tbl INNER JOIN       so_hdr_tbl INNER JOIN       so_dtl_tbl ON  so_hdr_tbl.gl_cmp_key = so_dtl_tbl.gl_cmp_key  AND so_hdr_tbl.so_brnch_key = so_dtl_tbl.so_brnch_key  AND so_hdr_tbl.so_hdr_key = so_dtl_tbl.so_hdr_key INNER JOIN        so_dtlpr_tbl ON  so_dtl_tbl.gl_cmp_key = so_dtlpr_tbl.gl_cmp_key  AND so_dtl_tbl.so_brnch_key = so_dtlpr_tbl.so_brnch_key  AND so_dtl_tbl.so_hdr_key = so_dtlpr_tbl.so_hdr_key  AND so_dtl_tbl.so_dtl_key = so_dtlpr_tbl.so_dtl_key INNER JOIN        in_pklot_tbl ON  so_dtl_tbl.so_dtl_key = in_pklot_tbl.in_pklot_line  AND so_dtl_tbl.so_hdr_key = in_pklot_tbl.in_pklot_doc  AND so_dtl_tbl.gl_cmp_key = in_pklot_tbl.gl_cmp_key INNER JOIN        en_lotqc_tbl ON  in_pklot_tbl.in_item_key = en_lotqc_tbl.en_item_key  AND in_pklot_tbl.in_lot_key = en_lotqc_tbl.en_lot_key ON         in_whitmpk_tbl.gl_cmp_key = in_pklot_tbl.gl_cmp_key  AND in_whitmpk_tbl.in_whs_key = in_pklot_tbl.in_whs_key  AND in_whitmpk_tbl.in_item_key = in_pklot_tbl.in_item_key  AND in_whitmpk_tbl.im_pack_key = in_pklot_tbl.im_pack_key AND SUBSTRING(in_whitmpk_tbl.gl_acct_key,5,4) = '1510' AND in_whitmpk_tbl.in_item_key <> 'LESS THAN MIN CHG' AND in_whitmpk_tbl.in_item_key <> 'SH_CHG_EQUIPMENT'   LEFT OUTER JOIN        so_rtdtl_tbl ON  so_dtl_tbl.so_dtl_key = so_rtdtl_tbl.so_dtl_key  AND so_dtl_tbl.so_hdr_key = so_rtdtl_tbl.so_hdr_key  AND so_dtl_tbl.gl_cmp_key = so_rtdtl_tbl.gl_cmp_key  AND so_dtl_tbl.so_brnch_key = so_rtdtl_tbl.so_brnch_keyLEFT OUTER JOIN        en_plc_tbl INNER JOIN        en_pgc_tbl ON  en_plc_tbl.en_plc_key = en_pgc_tbl.en_plc_key ON  in_pklot_tbl.in_item_key = en_pgc_tbl.en_pgc_keyand  CONVERT(datetime,CONVERT(char(10),so_hdr_tbl.so_hdr_crtdt,101)) >= CONVERT(datetime,CONVERT(char(10),@SO_From_Crt_Dte,101))  and CONVERT(datetime,CONVERT(char(10),so_hdr_tbl.so_hdr_crtdt,101))  <= CONVERT(datetime,CONVERT(char(10),@SO_TO_Crt_Dte,101))and  @gl_cmp_key = so_hdr_tbl.gl_cmp_keyand @in_whs_key IN (SELECT DISTINCT Warehouse FROM #T_Localwhs)and in_pklot_tbl.in_item_key >= @beg_in_item_key and in_pklot_tbl.in_item_key <= @end_in_item_keyand en_lotqc_tbl.en_lot_key  >= @beg_in_lot_keyand en_lotqc_tbl.en_lot_key  <= @end_in_lot_key
    DROP TABLE #T_Localwhs  
    GOSET QUOTED_IDENTIFIER OFF GOSET ANSI_NULLS ON GO

    Post Author: sharonmtowler
    CA Forum: General
    i figured it out, a where statement is always helpful......

  • Default firewall configuration values

    Hi,
    I've trying to modify my ipfw rules and i got the idea of use a script. After use it i cannot conect to internet and i reverted those new rules but there is one rule that start with my mac and i need to " sufo ipfw flush" to flush it and connect again
    it is "add 65534 deny log logamount 1000 ip from any to any in"
    I searched the firewall.conf file  on /etc/ folder and re-write
    "65535 0 0 allow ip from any to any" instead the other one
    The problem is that im not sure is this is the preconfigured value, if anyone know what are those values and can write here I'll be grateful with you (:

    I agree that getting default method parameter values implemented will be a good thing.
    If you really have a large number of methods (>5) that usally just add a parameter with a default value, you could introduce a "Parameter Object" that contains the defaults for the parameters. The drawback is of course an extra indirection to get to the parameter.
    class MyParameterClass() {
      String name = "";
      boolean sort = false;
      List values = Collections.EMPTY_LIST;
      Date date = new Date();
    myMethod(String arga, String argb) {
       return myMethod(arga, argb, new MyParameterClass());
    myMethod(String arga, String argb, MyParameterClass params) {
    }arga and argb are there to illustrate you might have parameters you don't have defaults for. (Yes, you could include them in the constructor of MyParameterClass instead.)

  • What parameters should i pass inorder to upload an excel file in gui_upload

    what parameters should i pass inorder to upload an excel file in gui_upload
    Thanks in advance.
    Ahmed.

    check below program....
    *& Report  UPLOAD_EXCEL                                                *
    *& Upload and excel file into an internal table using the following    *
    *& function module: ALSM_EXCEL_TO_INTERNAL_TABLE                       *
    REPORT  UPLOAD_EXCEL no standard page heading.
    *Data Declaration
    data: itab like alsmex_tabline occurs 0 with header line.
    Has the following format:
                Row number   | Colum Number   |   Value
         i.e.     1                 1             Name1
                  2                 1             Joe
    TYPES: Begin of t_record,
        name1 like itab-value,
        name2 like itab-value,
        age   like itab-value,
        End of t_record.
    DATA: it_record type standard table of t_record initial size 0,
          wa_record type t_record.
    DATA: gd_currentrow type i.
    *Selection Screen Declaration
    PARAMETER p_infile like rlgrap-filename.
    *START OF SELECTION
    call function 'ALSM_EXCEL_TO_INTERNAL_TABLE'
           exporting
                filename                = p_infile
                i_begin_col             = '1'
                i_begin_row             = '2'  "Do not require headings
                i_end_col               = '14'
                i_end_row               = '31'
           tables
                intern                  = itab
           exceptions
                inconsistent_parameters = 1
                upload_ole              = 2
                others                  = 3.
      if sy-subrc <> 0.
        message e010(zz) with text-001. "Problem uploading Excel Spreadsheet
      endif.
    Sort table by rows and colums
      sort itab by row col.
    Get first row retrieved
      read table itab index 1.
    Set first row retrieved to current row
      gd_currentrow = itab-row.
      loop at itab.
      Reset values for next row
        if itab-row ne gd_currentrow.
          append wa_record to it_record.
          clear wa_record.
          gd_currentrow = itab-row.
        endif.
        case itab-col.
          when '0001'.                              "First name
            wa_record-name1 = itab-value.
          when '0002'.                              "Surname
            wa_record-name2 = itab-value.
          when '0003'.                              "Age
            wa_record-age   = itab-value.
        endcase.
      endloop.
      append wa_record to it_record.
    *!! Excel data is now contained within the internal table IT_RECORD
    Display report data for illustration purposes
      loop at it_record into wa_record.
        write:/     sy-vline,
               (10) wa_record-name1, sy-vline,
               (10) wa_record-name2, sy-vline,
               (10) wa_record-age, sy-vline.
      endloop.

  • Default method parameter values

    I really, really think that they should incorporate default method parameter values in the next major release.
    It is time-consuming, obstructing and confusing to have methods with 1...n parameters.
    I.e.
    public void doStuff(int id)
        doStuff(id,"",false,Collections.EMPTY_LIST, new Date());
    public void doStuff(int id, String name)
    doStuff(id,name,false,Collections.EMPTY_LIST, new Date());
    public void doStuff(int id, String name, boolean sort)
    doStuff(id,name,sort,Collections.EMPTY_LIST, new Date());
    public void doStuff(int id, String name, boolean sort, List values)
    doStuff(id,name,sort,values, new Date());
    public void doStuff(int id, String name, boolean sort, List values, Date date)
    doStuff(id,name,sort,values, date);
    }Not to mention the amount of JavaDoc-tags it requires.
    Wouldn't it just be simpler, more understandable and easier to have it as:
    public void doStuff(int id, String name : "", boolean sort : false, List values : Collections.EMPTY_LIST, Date date : new Date())
        //Do the stuff here
    }Suggestions?

    I agree that getting default method parameter values implemented will be a good thing.
    If you really have a large number of methods (>5) that usally just add a parameter with a default value, you could introduce a "Parameter Object" that contains the defaults for the parameters. The drawback is of course an extra indirection to get to the parameter.
    class MyParameterClass() {
      String name = "";
      boolean sort = false;
      List values = Collections.EMPTY_LIST;
      Date date = new Date();
    myMethod(String arga, String argb) {
       return myMethod(arga, argb, new MyParameterClass());
    myMethod(String arga, String argb, MyParameterClass params) {
    }arga and argb are there to illustrate you might have parameters you don't have defaults for. (Yes, you could include them in the constructor of MyParameterClass instead.)

  • How to change default Current Flag values for SCD2?

    I'd be curious to find out how to change default Current Flag values for SCD2 (instead of 0/1 to use N/Y)
    Probably I can change IKM module .... is there another way?
    Thanks

    Hi,
    You need change the IKM. This values are hardcode in the IKM.
    You can create a new IKM and the values used are a options of the IKM.
    Regards
    Edited by: Uthred on May 18, 2009 4:27 PM

  • How to set default bind variable value to task parameter value

    Hi,
    I 'm implementing a BPEL process with a human task, and I autogenerate the task form. I have a custom sql table that stores opinions, different processes should show different opinios, so my ADF table can only show records related to that process. A custom process number is sent to the task form as a task parameter. How do I use that value as the bind variable default and only value?
    Thanks,
    I.D.

    Hi Shay and thanks for your reply,
    What I want is what you have but without the login page. I tried to start my flow with an action and for some reason it didn't work.
    Is there anything else you can tell me?
    Thanks,
    I.D.
    P.S. I was able to get it to work using the aproach Frank Nimphius described in another post.
    Re: How do I prepopulate a bind variable from a session variable?
    Anyway just out of curiosity could you please tell me if I could have done it your way?
    Thanks a lot,
    I.D.
    Edited by: user8696770 on 5/Ago/2009 7:12

  • How to get or set default fiscal year value in billing doc

    Hi All, my question is simple, how to get or set default fiscal year value (VBRK_GJAHR) in billing document.. is it possible.
    Thanks.
    Regards,
    Michael

    Hi Michel
    If you feel that the fiscal year value should come  in the billing document then you have to use a user exit USEREXIT_NUMBER_RANGE .
    As this is a related to ABAP , you should give the inputs and ABAP'ers will give the number range as per our requirement .
    Regards
    Srinath

  • By default in BPC values are sum in node level, It does not make sense to sum averages on parent nodes.

    HI Guys
    we have an business requirement to store data in average figures ,
    The values  are entered on the base member level but in reports we need to show average values  on the parents level instead of sum
    ( by default in BPC values are sum in node level),it does not make sense to sum averages on parent nodes.
    we managed it with excel formulas ,but we r facing the problem with dimensions which are in context.
    (i tried using dim memeber formulas but AVG key word is not accepting the system in member formulas)
    at last by using formula we managed the report but im worried abt that if there is no formulas ,how we will manage
    pls suggest any solution to show average values on the node level in specific reports

    Hi Krao,
    Please define what do you mean by average - arithmetic average or weighted average (has more business sense to my mind).
    Also, please provide some samples, explaining dimensions used in average calculation.
    In our case we use dimension member formulas to show average prices, discounts etc. in the reports.
    B.R. Vadim

  • Puzzled by Default Page Template value

    I am looking at the 11.1.1.4 Spaces VM trying to understand how the product works.
    On the Configuration tab of the Administration page, in the Resources section, the Default Page Template value is "gsr15fd08a7_5f0f_4f6e_9150_2a7eb8b5fb7a". When I look at the GUID values for each of the Page Templates available as Resources, none match.
    questions:
    where can I find the "gsr15fd08a7_5f0f_4f6e_9150_2a7eb8b5fb7a" Page Template?
    is there a general way to find a resource given a GUID?
    Thanks

    See Re: How to setup "Alternating row" type of report as default for newpages

  • Default Header DFF value in Line DFF.

    Hi,
    I am using EBS 12.1.1 and would like to default header DFF value at line level DFF.
    Please guide.
    Regards,

    Hi,
    Not for Price unit in RFx but we had a similar requirement in Master Agreements wherein we needed to default the ECC Integration fields within predetermined values. We had achieved this via scripting.
    For you purpose, you can use the following:
    Scripting Context: Document Lifecycle Event
    External ID:SAPINT_LineitemValidate
    Class: Rfx Line Item(783)
    Script: import com.frictionless.sap.integration.event.RfxLineItemEventHandler
    Herein you can specify the Pricing Unit = "1000";
    Hope this is of help to you.
    Thanks,
    Vikram Shukla

Maybe you are looking for