Paramter ID

Where can i check if the parameter id has been assigned or not in Debugging or anywhere.
Code:
Data f like vbak-vkorg.
get parameter id 'VKO' field f. "(VKO for sales organisation)
Although sales organisation has value,
f remains blank.
I tested f by using SET parameter id also then f is assigned the value.
Thanks

ok...then try this
first find the program and variable name where vkorg is stored in std pgm.like if it is a function pool ,progarm name will be SAPLxxxx.let say variable in which it is stored is i_vkorg in std pgm
data: w_vkorg(4).    "length of vkorg
field-symbols: <f1> type any.
w_vkorg = '(SAPLxxxx)i_vkorg'.
assign (w_vkorg) to <f1>.
if <f1> is assigned.
vkorg = <f1>.   "u get the value here.
endif.
<b>reward if useful</b>

Similar Messages

  • Text paramter with data type sting, not working

    Hi Guys,
    Im using BIP Standalone 10.1.3.4, and have come across a unusual problem.. probably a bug.
    Ive created a report with a parameter. The parameter type is text, and datatype String. (this problem only seems to occur if the string value is a combination of numerals and alphabels)
    the problem i face is that when i run the report, it runs fine with the dafault paramter value the first time. Subsequently if i change the template or the output type, or the parameter value and again click on view, it says "Invalid parameters specified".
    this report is mainly called through a hyperlink and is a lower level of a dill down report. when called by the hyperlink, which contains the parameters in the URL it works fine, but only the first time. A subsequent click on "view" or "Export" returns the error- Invalid parameters specified!!
    Ive changed the parameter type from text to menu.. and created a LOV query... it works fine with this. However, when i call the report via the hyperlink, although the report runs fine the first time using the parameter from the hyperlink URL, the menu parameter at the top shows the default value returned from the LOV, not the parameter called via the URL, so a subsequent cliick on view or export, will consider the default parameter, rather than the one was was specified in the hyperlink URL.
    Frustrating ... it seems to be ill have to work around this by creating separate hyperlinks for different output types from the main report ;-(
    Was wondering if anyone else has faced this issue, and hopefully has some solution
    Thanks in Advance
    -Domnic

    Solved.. apparently the database stored the data with a couple of leading spaces, which were getting eaten up when stored as a parameter.. workaround is to set parameter type to text, and as the user to put in a couple of spaces, if they want to rerun the report, as opposed to running it from its hyperlinked url...

  • WDVisibility type paramter in Java Bean(Web Dynpro DC in CE 7.1)

    Hi All,
    I need to set a WDVisibility type paramter in a java bean and i am able to do so.It imports com.sap.tc.webdynpro.progmodel.api.WDVisibility class .
    The problem is when i am creating a Java Bean model  it is not allowing me to select the Java bean class it gives an error message" Invalid Class : No class files found for JavaBean : com/sap/tc/webdynpro/progmodel/api/WDVisibility".
    The java Bean class exists in Web Dynpro DC>src folder.
    Any Pointers?
    Regards
    Avinash

    Hi Ondrej ,
    Refer the above links to convert the component of the first dc as a public part.
    Then declare the methods which are written in the component controller of the first DC in the interface controller with the same signature.( When method is called automatically component controller method is called)
    In second dc in component controller properties tab add the reference of the first dc.
    Then access the method in second dc as
    wdthis.wdget<UsedComponent name>Interface.methodname();
    Thanks & Regards,
    Ardhendu

  • File content Conversion Paramter Errors for Footer

    Hi, I have a text file, which I working for File to IDoc process. I have to ignore the last line in the file, that is footer... the footer has a value " *FOOTER* Data Rows: 24 ".  But the file has a different field length with values... how to do this... I wondering this in File Content Conversion paramter.  Please explain clearly how to pass the paramter values...

    I attached my file here... now please tell me how to do this.... in File content conversion.... I have Client barcode (field length 11), quantity (11), item bar code(11) and price(11). I have to ignore the header first 5 lines and last footer 1 line... please let me know how to do this in FCC....
    *HEADER* Houston Billing Asst - SAP MDS Charges Invoice File
    *HEADER* Run date :20100106 124500 Raymond, Dahlman
    *HEADER* Invoice date : 20100115
    *HEADER* Field layout (fixed width): Client barcode 1-11, quantity 12-22, item barcode 23-33, price 34-44
    *HEADER* All prices in USD
    401721              75ATP003             125
    401721              82ATP001             125
    14823               95ATP003             125
    *FOOTER* Data Rows: 247

  • Before Paramter form trigger problem

    In Before Paramter form trigger
    function BeforePForm return boolean is
    w_cnt number;
    begin
    if user <> 'PF' then
                   select count(*)
                   into w_cnt
                   from tab
                   where tname = 'PFMAST';
                   if w_cnt > 0 then
                        srw.do_sql('drop table pfmast');
                        srw.do_sql('drop table pfloan');
                        srw.do_sql('drop table wspfcard1');
                        srw.do_sql('drop table wspfcard2');
                   end if;
                   srw.do_sql('create table pfmast as
                   select *
                   from pf.pfmast');
                   srw.do_sql('create table pfloan as
                   select *
                   from pf.pfloan');
                   srw.do_sql('create table wspfcard1 as
                   select *
                   from pf.wspfcard1');
                   srw.do_sql('create table wspfcard2 as
                   select *
                   from pf.wspfcard2');
         end if;
    return (TRUE);
    end;
    I am creating 4 temporary tables which are used in this report dynamically by adding the session id to this 4 table name.
    It works fine till the parameter form is displayed. I choose the parameter and run the report. When i do that it agian tries to execute before parameter form trigger (which i can't understand why it is going to before parameter form trigger).
    Kindly support
    Thanking All in anticipation.

    Hello,
    http://www.oracle.com/webapps/online-help/reports/10.1.2/topics/htmlhelp_rwbuild_hs/rwrefex/plsql/triggers/tr_before_param_form.htm
    Usage Notes
    If the Parameter Form is used on the Web, the Before Parameter Form trigger fires twice: once when the Parameter Form is displayed, and a second time when the parameters are submitted. This is because Reports Builder executes in a stateless fashion. There is no session to return to, so the Before Parameter Form trigger has to fire the second time to ensure that the parameters selected on the Parameter Form and passed on the command line are valid.
    Regards

  • Can Stored procedure with IN and OUT Paramter can be used in JDBC LOOKUP?

    can Stored procedure with IN and OUT Paramter can be used in JDBC LOOKUP?

    Checking online help, I do not see any possibility.
    "Queries a data base by the given SQL statement."
    http://help.sap.com/javadocs/pi/pi711sp03/com/sap/aii/mapping/lookup/DataBaseAccessor.html
    -> execute

  • How to is lexical paramter in oracle reports

    I have a query like,
    select * from t1 where &c1=:v_srep;
    where t1 is tablename
    c1 is column name
    How do I create &c1 and how should I populate it ?
    Thanks,

    Pl see
    How to use lexical paramter in oracle reports

  • [SOLVED] How to use return parameter of function as paramter of table?

    Hi all,
    As continue of post "ADF Faces: how to execute pl/sql function when page is loaded." I came up with an other problem where I can't find an easy solution for.
    The problem is easy.
    1) I execute a procedure, this returns a value
    2) I have a table which needs one input parameter
    3) How can I bind the return value of the procedure to the input paramter of the table:
    A simple example:
    1) I created a pl/sql function that returns 1
    CREATE FUNCTION zz_return_1
    is
    RETURN NUMBER
    BEGIN
      RETURN 1
    end;2) I exposed the function in my TestModule so I can use it on a jps page.
    3) I created a table TEST_PARAM_1_TABLE with two columns: a, b
    4) I created a view read-only object with one paramter
    SELECT a,b
    FROM zz_scn_test_tab
    where a = :var_15) I added the view object to a jps page as tabe > adf read-only
    6) I added a methodAction and invokeAction to execute the function on page load
    <executables>
          <iterator id="zzscntest1Iterator" RangeSize="10" Binds="zzscntest1"
                    DataControl="TestModuleDataControl"/>
                <invokeAction id="runProc" Binds="ftn_return_1"/>
          </executables>
    <bindings>
          <methodAction id="ftn_return_1"
                        InstanceName="TestModuleDataControl.dataProvider"
                        DataControl="TestModuleDataControl"
                        MethodName="ftn_return_1" RequiresUpdateModel="true"
                        Action="999" IsViewObjectMethod="false"
                        ReturnName="TestModuleDataControl.methodResults.TestModuleDataControl_dataProvider_ftn_return_1_result"/>
          <table id="zzscntest1" IterBinding="zzscntest1Iterator">
              <AttrNames>
                  <Item Value="A"/>
                  <Item Value="B"/>
              </AttrNames>
          </table>
    </bindings>how can I bind the return value of the function to the var_1 variable of the table?
    Additional to this: Is there a way to store the return value in a managed bean?
    for example: if I create a managed bean:
    public class globalVars {
        private Number ftnReturnValue;
        public globalVars() {
        public void setFtnReturnValue(Number ftnReturnValue) {
            System.out.println("return value is set to: " + ftnReturnValue);
            this.ftnReturnValue = ftnReturnValue;
        public Number getFtnReturnValue() {
            return ftnReturnValue;
    }how to store the return value in this ftnReturnValue variable?

    Thanks to Frank,
    I finally got it to work!
    For those with the same problem, this is what I did:
    - I created a VO material_details with one parameter :sequence_num
    - I created a master/detail viewlink from my materials list to the materials_details
    - In the application module, I created a call to the procedure, and within this procedure, I set the sequence_num variable.
        public Number f_ltf3_adf_syf_init(String reporting_group
                                         , String username
                                         , String RAG_code
                                         , String ABC_class
                                         , String SBU_code){
           CallableStatement st = null;
           String stmt = "M_LTF3_SFM_CALC.f_ltf3_adf_syf_init('"+ reporting_group
                                                           +"','"+ username
                                                           +"','"+ RAG_code
                                                           +"','"+ ABC_class
                                                           +"','"+ SBU_code+"')";
           try {
               // prepare the statement
               st = getDBTransaction().createCallableStatement("begin ? := "+stmt+";end;",0);
               st.registerOutParameter(1,2);  // register output parameter as Number
               //execute the statement
               st.executeUpdate();
               //set paramter in detail VO of master/view
               getLtfSyfRevDetails1().setNamedWhereClauseParam("session_seq", (Number)st.getObject(1));
               return (Number)st.getObject(1);
           }catch (Exception e){e.printStackTrace();}
           return null;
        }

  • Please help to call oracle procedure with out paramter from shell script

    Hi
    I want to call a process with out parameter from shell script. I am calling process in shell script in below way
    function Process_loads {
    ( echo 'set serveroutput on size 1000000 arraysize 1'
    echo "set pagesize 0 term on verify off feedback off echo off"
    echo "BEGIN"
    echo " dbms_output.put_line('Before Calling The package'); "
    echo " x ( '$1', '$2', '$2', '$4', '$5', '$error_code'); "
    echo " dbms_output.put_line('After Calling The package'); "
    echo "EXCEPTION "
    echo " WHEN OTHERS THEN "
    echo " dbms_output.put_line('BIN_LOAD_ERROR' || SQLERRM); "
    echo " ROLLBACK;"
    echo "END;"
    echo "/" ) | sqlplus -s $USER/$PASSWORD@$SID
    Here $error_code is out paramter. All varaibles passed in process are declared with export command.
    When executing .sh it gives below error
    "sh ERROR at line 3: ORA-06550: line 3, column 99: PLS-00363: expression '' cannot be used as an assignment target ORA-06550: line 3, column 3: PL/SQL: Statement ignored".
    Please help to get rid from this error or please suggest how to call a oracle procedure with out paramter from unix shell script.
    Thanks in advance

    You can try this:
    From sql*plus
    SQL> ed
      1  create or replace procedure my_proc(p_id in int, p_result out int)
      2  as
      3  begin
      4  select 10 * p_id
      5  into p_result
      6  from dual;
      7* end my_proc;
    SQL> /
    Procedure created.
    SQL> set serveroutput on
    SQL> declare
      2  v_r int;
      3  begin
      4  my_proc(10,v_r);
      5  dbms_output.put_line(v_r);
      6  end;
      7  /
    100
    PL/SQL procedure successfully completed.
    from bash:
    testproc.sh:
    #!/bin/bash
    (echo 'set serveroutput on';
    echo 'declare';
    echo 'v_r int;';
    echo 'begin';
    echo 'my_proc(10,v_r);';
    echo 'dbms_output.put_line(v_r);'
    echo 'end;';
    echo '/';) | sqlplus -s u1/u1
    Console:
    oracle@mob-ubuntu:~$ chmod u+x testproc.sh
    oracle@mob-ubuntu:~$ ./testproc.sh
    100
    PL/SQL procedure successfully completed.With kind regards
    Krystian Zieja

  • AutoComplete Text in Report Paramter

    Hi ,
    I need an option like showing parameters as Auto Complete text -"Same like Ajax Tool-Auto complete Textbox".
    Is there any option,when user types the -Employee Name,like "A",then the report paramter lists all -Employees
    having -"A" as Starting..
    how we can implement this option in SSRS Parameters.

    Hi Bhupesh_Rajasekaran,
    If I understand correctly, you want to input some keyword, and then all of available values which are start from the keyword will display in the parameter list. If in this scenario, we can create cascading parameters. One is a keyword parameter, and the
    other parameter is based on the keyword to display the available values. For more details, please refer to the following steps:
    Use the query below create a dataset named dataset1 to return all available values for Employee_Name parameter:
    SELECT     Employee_Name
    FROM         table
    WHERE     (Employee_Name LIKE @keyword + '%')
    Set the parameter @Employee_Name’s Available values from the Employee_Name field in the dataset1.
    When we preview the report, if we input “A” in the keyword parameter text box, all available values start from ‘A’ character will display in the Employee_Name parameter list. If we want to add the search feature with multiple keywords, we can refer
    to the following FAQ:
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/8de6c783-9cb4-4b95-9be8-b59bc0049866/forum-faqhow-do-i-add-a-search-feature-in-the-parameter-with-long-drop-down-list?forum=sqlreportingservices#8de6c783-9cb4-4b95-9be8-b59bc0049866
    If there are any other questions, please feel free to let me know.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Paramter info req?

    hi
    i had an query,i when ever use paramter in a select query,if its left blank,it never fetech records,if i put the paramter value,it fetch the data of thata value only,but if its blank,it has to select all the recoruds for that paramater.
    i always use,select-options :p_para no extensions,but still my doubt is not clear.
      select SCROLLNO KUNNR UNIT from ZANNEXURE1 into corresponding fields of table xtab1
      where SCROLLNO in p_SCROLL  and
            KUNNR           in p_KUNNR   and
            FORMTYPE    in ('01','03') and
            UNIT               eq p_UNIT and
            STATUS          NE 'D'.

    vipin,
      First of all you have to write your selet-option field in WHERE condition of select statement.Second thing is in where condition you are checking the other conditions.So when all conditions satisfied then only you will get records.One more thing when ever you are using select option you have to use IN not EQ.To over come confusion better use S_xxx for select options and P_xxxxx for Parameter.
    Ex :
    select-options :p_para no extensions.You have to use p_para in select statement at some where else.
    And whatever the other conditions are there that have to satisfy your input data.
    select SCROLLNO KUNNR UNIT from ZANNEXURE1 into corresponding fields of table xtab1
    where SCROLLNO in p_SCROLL and
    KUNNR in p_KUNNR and
    FORMTYPE in ('01','03') and
    UNIT eq p_UNIT and
    STATUS NE 'D'.
    Regards,
    Murali Krishna

  • How to set Oracle Data Integrator Timeout paramter value as unlimited

    Hi
    Can any one help me how to set Oracle Data Integrator Timeout (ODI menu>User Paramter>Oracle Data Integrator Timeout > paramter value as unlimited.
    By default it is 30 and i want to change it as unlimited.
    I am connecting linux box through windows using citrix and opened ODI and start the scenario execution (my scenario execution in loop and it will execute continuesly) after execution starts I an logout from citrix (I am not closing ODI) and after some time like 50 min my odi execution is stoped due to timeout.
    my ODI execution should continue in my absence that to unlimited.
    Please help me it is urgent
    Regards,
    Phanikanth

    Thanks Bhabani
    Is it work for unlimited in linux box because I have given operator dispplay limit(0=no limit) as 1000000 and I am unable to see the execution session details on Operator>session list
    later i have changed to 10000 and click on ok and just refreshed and it is working fine
    If I give mensioned below it will not impact on ODI ?
    windows it is working but I have doubt on linux version
    Please help me
    Regards,
    Phanikanth

  • CR XI 2 and VS2005 paramter in Select Expert

    Hello Every One, 
    For our Project we use CR XI 2 and VS2005. We use ODBC connection to run the reports. At the time of designing the report i have added the paramter and filler to select expert. In our windows application I asses the parameter and assign the values to report by using
    CrystalDecisions.Shared.ParameterValues
    CrystalDecisions.Shared.ParameterDiscreteValue
    If I use peview method show the report. Selection formula will be disappers and data does not fillter properly.
    If any one has any better idea let me know.
    Thanks in advance

    Hi Lakshmi
    Please post this thread to BO SDK Application development forum
    and select the correct forum queue i.e .NET-Crystal Reports
    Thanks

  • Which paramter configures the timeout for rfc call (to R/3 ) from BPM

    hi froum,
    i have a scenario, with BPM, in which theres a synchronous send to a rcf Function Module in R/3,
    now, can u tell me which paramter decides the time out for this Sync call to rfc enabled Function Module in R/3,
    i mean which paramater in SXMB_ADM or anywhere else that dictates the time period

    Check this out, RFC adapter section
    /people/michal.krawczyk2/blog/2006/06/08/xi-timeouts-timeouts-timeouts
    Regards,
    Prateek

  • How to check a value for paramter query

    I am passing a paramter value from my text box to my sql statement and I would like to check if the value is entered into a text box. If you have any idea please share it with me, i have been struggling with this for many days.Code below is how i try to check if the value is entered but I do not know how to check the value in the :VendorName
    thanks
    If Not txtVendorName.Text = "" Then
    Sql = Sql & " AND (Upper(V.VNAMEL) LIKE '%' || Trim(Upper(:VendorName))|| '%') "
    End If

    Sorry guys english is not my first language and i will try to be clear and specific.
    I have a search page where customeres can do searching either using a text box or two dropdowns i have on my page. they have the option of doing search either using a text box or dropdowns or both.Everything seems to work fine but if users does not leave the text box blank. but they leave the text box blank and do searching using the two dropdowns then the page comes up empty and i checked my query and i should get a value. Attacehed my code for you to look at it.
    <pre>
    Sub VendorSearch()
    gvSearch.Visible = True
    Dim MinPDate As String = drPur.SelectedItem.ToString
    Dim MaxMDate As String = drPurM.SelectedItem.ToString
    Dim liThisOne As ListItem
    Dim strState As String = ""
    For Each liThisOne In lstState.Items
    If liThisOne.Selected Then
    strState = strState & "'" & liThisOne.Value & "'" & ","
    End If
    Next
    Dim Sql As String = " SELECT distinct V.VENDOR ""Vendor Id"",R.ADDRNUM,V.VNAMEL ""Vendor Name"",R.AADDR1,R.ACITY,R.VASST1, "
    Sql = Sql & "R.ASTATE State,R.AZIPCODE, to_char(Max(P.DATEPUR),'YYYY/DD/MM') ""Plan Purchased Date"" , "
    Sql = Sql & "TRIM (r.aaddr1 || decode(trim(r.aaddr2),null,'',' - ') || r.aaddr2) Address,"
    Sql = Sql & " substr(decode(trim(r.vasst1),null, 'N/A','000/000-0000?','N/A','000/000-0000','N/A', r.vasst1),1,12) Fax, "
    Sql = Sql & " substr(decode(trim(r.aphone),null, 'N/A','000/000-0000?','N/A', r.aphone),1,12)Phone "
    Sql = Sql & "FROM VENDOR V,VENDADDR R, PLANHOLD P "
    Sql = Sql & "WHERE V.VENDOR = R.VENDOR AND P.VENDOR = R.VENDOR "
    Sql = Sql & " AND (P.DATEPUR >= TO_DATE('1999-01-01','YYYY-MM-DD')) "
    Sql = Sql & "AND P.DATEPUR In ( select Max(P.DATEPUR) from PLANHOLD P where P.vendor = R.VENDOR) "
    'If txtVendorName.Text <> "" Then
    ' Sql = Sql & " AND (Upper(V.VNAMEL) LIKE '%' || Trim(Upper(:VendorName))|| '%') "
    'End If
    If (strState.Length > 0 And lstState.SelectedIndex <> 0) Then
    strState = Left(strState, strState.Length - 1)
    strState = "(" & strState & ")"
    Sql = Sql & "AND R.ASTATE IN " & strState
    End If
    If (drPur.SelectedIndex <> 0 And drPurM.SelectedIndex <> 0) Then
    Sql = Sql & " AND to_number(to_char(p.datepur, 'YYYY')) between " & "'" & MinPDate & "'" & " AND " & "'" & MaxMDate & "'"
    End If
    ' Dim Para As String
    ' SqlDataSource1.SelectParameters.
    If Not txtVendorName.Text = "" Then
    Sql = Sql & " AND (Upper(V.VNAMEL) LIKE '%' || Trim(Upper(:VendorName))|| '%') "
    End If
    'If Not IsDBNull(SqlDataSource1.SelectParameters(":VendorName")).val Then
    ' Sql = Sql & " AND (Upper(V.VNAMEL) LIKE '%' || Trim(Upper(:VendorName))|| '%') "
    'End If
    Sql = Sql & " AND V.VOBSOLET = 'N' "
    Sql = Sql & "GROUP BY V.VENDOR, R.ADDRNUM,V.VNAMEL,R.AADDR1,R.AADDR2,R.ACITY,R.ASTATE, R.AZIPCODE, R.APHONE, R.VASST1, P.DATEPUR "
    Sql = Sql & "ORDER BY V.VENDOR "
    Response.Write("Sql " & "<br/>" & Sql & "<hr/>")
    SqlDataSource1.SelectCommand = Sql
    End Sub
    </pre>

  • Very urgent..........how to pass a paramter list containing record group as

    hi
    can any one help me , i am getting frm-41214 when i pass a paramter list containing record group as data parameter to run_report_object as parameter, calling report from forms 10g, but when i dont pass the parameter list the report runs displaying no data(as it should do), otherwise it dont run and display the frm-41214
    zulfiqar

    Hi,
    Try using a lexical parameter(&parm_1) for a string of values or a bind parameter(:parm_1) for a single value
    Thanks,
    Kimosabe

Maybe you are looking for