Lenght of parameter

Hi gurus,
I have to pass an internal table o type 'RSPARAMS' in the submit command. Now the problem is that in the low and the high value, it has a lenght of 45 chars.
I need to have more length in the low and high parameter. So, I even created a structure including all the parameters of the table RSPARAMS and increased the lenght of low and high variable, but then it is showing a dump on execution.
Is there any way apart from creating a structure as to how to increase the length of the fields low and high?
Pl reply.
Thanks.

it seems that the program you are submitting has a select-option of length > 45.
In this case, avoid passing the data using SELECTION-TABLE.
Instead build a range table(r_tab) same as that of the select-option and then submit the program as
Submit <prog> using selection-screen '1000'
                        with select2 in r_tab.
Reward if useful.

Similar Messages

  • HOW CAN I SET AN ITEM LENGHT IN CODE !!!

    hi
    i want to set an item lenght by code!!!! and not by using " property palette". i want to use it in the pre-insert/update trigger . i tried to use "set_item_property" but i didnt find any parameter that can solve my problem.
    Please help me it is very important .
    thanks .

    i will try to explin myself i want to let the user to enter only 40 characters despite the fact that the text item can get up to 70 char ( the text item is based on DB column that is varchar2(70)) and i want to limit the user to 40 char because i take the item he updated or insered from the oracle DB and load it to another DB there the same column is in type varchar2(40) and i want to limit the user insted of substructing the string he is inserting.

  • Not able to create a parameter of type STRING_TABLE in BOR

    Hi All,
    I want to send a table of type STRING_TABLE from webdynpro to workflow.
    I have created this table of type STRING_TABLE in webdynpro as well as in workflow successfully.
    But i am not able to create a parameter of type STRING_TABLE in BOR event as well as method.
    It is giving me error as "Data type STRING_TABLE can not be used".
    So how can i send my internal table value of STRING_TABLE type into workflow?
    Regards,
    Amar

    Hi,
    I agree Vinoth in certain aspects. It is not possibly the best idea to try to store a string table in workflow container. There are certain limitations in the container (255 characters) in certain situations and you might find yourself in problems in the future. So, consider converting the string data into some other format - OR you could also check if you can limit somehow the lenght in WDA (but of course then you will still have the same problem about the string table data type).
    If you want to try to it, you should be able to create your own table type of string. I don't remember the details but there might be something "special" about the STRING_TABLE (only available in WDA or whatever), and that's why you are seeing the error. So, try to create your own table type that has string data type as an row. Then use that.
    But as I said, you might see some problems. For example, if you try to read the container with SAP_WAPI_READ_CONTAINER, it will just return you the first 255 characters of each row, etc. There are ways to overcome these kind of problems, but just to let you know, they might not be that simple.
    Regards,
    Karri

  • Web service: parameter types

    Hi,
    We made an ABAP webservice with input parameters.
    In the WSDL the type of the parameters is:
    - <wsdl:message name="ZTestWebService2">
    <wsdl:part name="Costcenter" type="n0:char10" />
    The type ‘char10’ is defined like:
    - <xsd:simpleType name="char10">
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="10" />
      </xsd:restriction>
      </xsd:simpleType>
    Question is: is there a way to influence the creation of this types, so that the type is not referring to ‘n0:char10’ but to something like ‘char’ and that the length is also defined in the part name ? Something that is more Java friendly and will not create code for complex types on the client-side ?
    Thanks,
    Rolf.

    HI,
    No u cant change this parameter dynamically after the release of web service.
    When u will release the webservice for a RFC,the WSDL file will be generated.That time it will generate the files for every parameter types which are used in the RFC.
    If u want increase this value length,Then u hv to increase the lenght of the parameter in RFC and then release the web service.So that it will come here.
    Bcause in webservice lenght will not allow more that the lenghth which u gave in RFC.
    Regs
    Manas Ranjan Panda

  • Profile parameter for to change password

    Hello everyone.
          Is there any profile parameter to change the password after certain number of days say 30 days. I see there are profile parameters for lenght , uppercase, lowecase but is there one to change the password after a given period of time.
    Thanks.
    Neha.

    > I checked the profile parameters using the program RSPARAM. But I am not able to find a parameter to prevent the old password from being used at least ten times. I also checked in the table TPFET.
    >
    login/min_password_diff                  min. number of chars which differ between old and new password
    > And also can we prevent the password being same as user id.
    >
    > Should these parameters be changed in the deafault profile or instance or start profile.
    >
    It depends ... you may decide this by discussing with BASIS team and as per your Company SOP. I prefer Default profile. But never use Instance profile.
    Please go through the following links:
    [Password Rules|http://help.sap.com/saphelp_nw04/helpdata/en/d2/141fb593c742b5aad8f272dd487b74/frameset.htm]
    [Profile Parameters for Logon and Password (Login Parameters)|http://help.sap.com/saphelp_nw04/helpdata/en/d2/141fb593c742b5aad8f272dd487b74/frameset.htm]
    [Password rules and preventing incorrect logons|https://websmp110.sap-ag.de/~form/handler?_APP=01100107900000000342&_EVENT=REDIR&_NNUM=2467&_NLANG=E]
    [ Note 862989 - New password rules as of SAP NetWeaver 2004s (NW ABAP 7.0)|https://service.sap.com/sap/support/notes/862989]
    [Logon and Password Security in the SAP System|http://help.sap.com/saphelp_nw04/helpdata/en/eb/4bb638b5358259e10000009b38f8cf/frameset.htm]
    Regards,
    Dipanjan

  • Long parameter list in report call crashes forms

    Hi,
    I'm using Forms6i (client server) to call a report. The report has 15 parameters. I concat all the parameter into a string l_parameter_string, then call SET_REPORT_OBJECT_PROPERTY(l_report_object, REPORT_OTHER,l_other_parameters);
    The report runs successfully, but when I close the report,forms crashes. This error seems to occur when the lenght of l_parameter_string > 160 chars, if the length of l_parameter_string < 160, the problem does not occur.
    Has anyone come across a limitation on the length of a parameter string for calling a report,
    thanks in advance

    Parameter List pl_id cannot be sent in url as you are saying,
    rather
    you have to sent each parameter separately, with parameter name that must be defined at report.
    e.g.
    http://testserver:9002/reports/rwservlet?destype=cache&desformat=html&paramform=yes&report=\\testserver\forms\L00000001.rdf&userid=globe/oracle@globe&repserver=RptSvr_globe_asinst_1&p_val1=1243&p_val2=8987
    In above url
    p_val1 and p_val2 must be defined in your report to capture the data coming from Calling Form or Report.
    Hope this will resolve your problem.

  • JOLT  logging options and length of the parameter names?

    Hi!
    We are having a problem with one Tuxedo service and testing it with JOLT repository
    editor.
    The problem:
    Every parameter seems to be OK and the file is loaded OK by bulk loader(Checked even
    the service code).
    In testing the Tuxedo service, we get following error in the log of the remote domain:
    ?proc.12070: TX: ca_apl_serv: Field 169772545, occurrence 0 not
    present in input buffer.
    Context:
    File: tx_ft_core.cxx
    Line: 925
    Txft log with level 10 reveals that the @FIELD=NULL, but we have put correct values
    in the repository editor. And the first parameter gets a correct value, but the next
    one doesn't.
    Is there any limits for lenght of the parameter name in JOLT? Both parameters are
    36 characters long.
    Is there any logging or tracing options for JOLT to see what could cause the failure?
    We are using JOLT 1.2.
    We have succeeded to make some other services to work, but this one is a bit of mystery
    to us.
    Regards,
    Juha Räsänen

    Hello Juha,
    there used to be a problem using long (>30 characters)
    FML[32] field names from JOLT. Ask support for a patch.
    You might want to refer to support case #202717 that
    I filed last year in order to get the patch.
    Best regards,
    /Per
    "Juha Räsänen" <[email protected]> wrote:
    >
    >
    Hi!
    We are having a problem with one Tuxedo service and testing it with JOLT
    repository
    editor.
    The problem:
    Every parameter seems to be OK and the file is loaded OK by bulk loader(Checked
    even
    the service code).
    In testing the Tuxedo service, we get following error in the log of
    the remote domain:
    ?proc.12070: TX: ca_apl_serv: Field 169772545, occurrence 0 not
    present in input buffer.
    Context:
    File: tx_ft_core.cxx
    Line: 925
    Txft log with level 10 reveals that the @FIELD=NULL, but we have put
    correct values
    in the repository editor. And the first parameter gets a correct value,
    but the next
    one doesn't.
    Is there any limits for lenght of the parameter name in JOLT? Both parameters
    are
    36 characters long.
    Is there any logging or tracing options for JOLT to see what could cause
    the failure?
    We are using JOLT 1.2.
    We have succeeded to make some other services to work, but this one is
    a bit of mystery
    to us.
    Regards,
    Juha Räsänen

  • Regarding QUAN data type and Parameter id

    Dear all
    i have a doubt that is...im creating 3 fields LENGTH,BREADTH,THICKNESS for which i have used (LAENG,BRIET)but the data type QUAN is of length 13 characters, now im using theses fields in a screen and when i try to enter 3 digit value into these input fields i get the error ....Entry too long (enter in the format ~.__). and i replace it with 2 digit it will accept.
    and one more.
    each and every screen field value can be passed to the program only by PRAMAETER id statement or can u please suggest me the best possible way to pass the screen values to the program.

    Hi Naren
    If you have to consider the commas and dots also in output lenght which is 17
    10 digits
    3 digits after decimal point
    = 13 "Length
    1 decimal point
    3 commas
    = 4
    13 + 4 = 17 "Output Length
    if you enter 1,234,567,890.123 OR 1234567890  it will except
    But if you will enter 12345678901 it will not because ... it will not accept 11 digits... less then 11 digits it will except...
    also if you pass the 10 digits then decimal point and then upto 3  digits afrter the decimal point then also it will accept...
    Try to Debug the code and check the value of the parameter ID you are passing in screen...
    Check for the above validation...
    also check out the data type must match...
    post your code as well here so we can give better suggestion on it...
    Also there is no parameter ID for the Dataelement LAENG
    For passing values to other report have a look on below thread..
    Reg: SUBMIT WITH Free Selections
    Also Search on SCN using SUBMIT and also have a look on ABAP help for SUBMIT statmetn for better idea...
    Hope it will solve your problem..
    Thanks & Regards
    ilesh 24x7
    ilesh Nandaniya

  • WIB - Creating Selector of Parameter Groups via Text Element

    Hello,
    I am trying to code an HTML <Select> tag that will execute various Planning Functions upon selection. 
    I have created a Text Element and placed this below the Hidden Function Pushbuttons that define the Parameter Group to use. 
    I modeled the HTML code placed in the Text Element after HTML code generated when using a Function Selector object within the WIB.  Here is the code that I am using:
    <select name="tstFuncs" onChange="javascript:bspSubmit('tstFuncs'); return false;">     
    <option value="FuncPushButt1">CompNameofButton1</option>
    <option value="FuncPushButt2">CompNameofButton2</option>
    <option value="" selected>-- Select --</option>
    </select>
    I tried both the Javascript funciton bspSubmit() and bspSubmitDdl().  The Parameter Groups do not fire??
    The buttons work correctly with the following:
    javascript:bspSubmit('FuncPushButt2'); return false;
    <a href="#1" onclick="javascript:bspSubmit('FuncPushButt2'); return false;" class="sapBtnStd" OnMouseOver="javascript:window.status = 'Function Pushbutton 1'; return true;" title="Function Pushbutton1"><nobr>Function Pushbutton 1</nobr></a>
    Has anyone else accomplished something similar?

    Thanks Marc,
    Currently I can only use this for a group of parameter groups within the same planning function. 
    Would there be any way to use JavaScript to include functions (i.e. parameter groups) from different Planning Areas/Planning Levels/Planning Functions???
    Also, while I got your attention, did you find out if there is a limit on the lenght of the JavaScript that can be added to a Text Element? Awhile back I was trying to integrate a JavaScript/DHTML menu system within a Text Element.
    Thanks ATC

  • Logical AND in MDX Reporting Services Parameter

    Hi, I would like to implement logical AND on a cube parameter. I have seen examples of hard-coded logical AND in MDX.
    (http://salvoz.com/blog/2013/12/24/mdx-implementing-logical-and-on-members-of-the-same-hierarchy/)
    But I'm not sure how to apply this to a parameter's MDX dataset.
    Here is an example of the automatically generated MDX which uses logical OR:
    This is the drop down parameter:
    WITH MEMBER [Measures].[ParameterCaption] AS [Department].[Department].CURRENTMEMBER.MEMBER_CAPTION MEMBER
    [Measures].[ParameterValue] AS
    [Department].[Department].CURRENTMEMBER.UNIQUENAME MEMBER [Measures].[ParameterLevel] AS
    [Department].[Department].CURRENTMEMBER.LEVEL.ORDINAL
    SELECT {[Measures].[ParameterCaption], [Measures].[ParameterValue],
    [Measures].[ParameterLevel]} ON COLUMNS
    , [Department].[Department].ALLMEMBERS ON ROWS
    FROM [MyCube]
    And the demo report dataset is:
    SELECT NON EMPTY { [Measures].[CompanyTbl Count] } ON COLUMNS,
    NON EMPTY { ([Product Level No].[Product Level No].[Product Level No].ALLMEMBERS ) }
    DIMENSION PROPERTIES MEMBER_CAPTION, MEMBER_UNIQUE_NAME ON ROWS FROM
    ( SELECT ( STRTOSET(@DepartmentDepartment, CONSTRAINED) )
    ON COLUMNS FROM [MyCube]) WHERE
    ( IIF( STRTOSET(@DepartmentDepartment, CONSTRAINED).Count = 1,
    STRTOSET(@DepartmentDepartment, CONSTRAINED), [Department].[Department].currentmember ) )
    CELL PROPERTIES VALUE,
    BACK_COLOR, FORE_COLOR, FORMATTED_VALUE, FORMAT_STRING,
    FONT_NAME, FONT_SIZE, FONT_FLAGS

    Hi,
    I can see there just one parameter @Department@Department in your script. But if you had two parameters that should return resultset affected by two parameters. You can do it as either select from subselect from subselect.
    Example 1
    SELECT
    {x} ON COLUMNS,
    {ROWS_SET} ON ROWS
    FROM
    (SELECT StrToSet(@Param1) ON COLUMNS FROM
    (SELECT StrToSet(@Param2) ON COLUMNS FROM
    [CUBE_NAME]
    Or crossjoin between 2 parameters
    SELECT
    {x} ON COLUMNS,
    {ROWS_SET} ON ROWS
    FROM
    (SELECT StrToSet(@Param1)*StrToSet(@Param2) ON COLUMNS FROM
    [CUBE_NAME]
    Jiri
    Jiri Neoral

  • Report RFKLBU10: Missing Parameter for Logical filename in Release ERP 2005

    Hello Experts,
    Report RFKLBU10 in Sap Release 4.6c hat a parameter "Old dataset logical name".
    The new version of this report in SAP Release ERP 2005 there is no such parameter.
    Is this a SAP-Bug ?
    Best regards,
    Mike

    There are no Export or Print events accessible for the viewer
    Since it sounds like you are creating the reportdocument object in your click event, the settings on this object become out of scope on successive postbacks executed by other events.
    to get around this without major changes, you can place your "report" object in session in this event and retrieve it from session on successive postbacks.  This should solve your problems around navigation, printing and exporting.  What you will need to do is check if the session object exists (usually in page_load or page_initialze) and if so, retrieve it from session and bind it to the viewer's reportsource.  If the session object does not exist, then do nothing (ie you have not clicked your button yet that retrieves the parameter values from session and loads the report).  Also, in your click event you can check if the report session object exists and if so, remove it so that it can be re-created with your new parameter values (ie i'm assuming the only time you want to set parameter values is in this event).
    Dan

  • Unable to capture the parameter values from a PL/SQL procedure

    hi.
    i'm trying to capture the parameter values of a PL/SQL procedure by calling inside a anonymous block but i'm getting a "reference to uninitialized collection error" ORA-06531.
    Please help me regarding.
    i'm using following block for calling the procedure.
    declare
    err_cd varchar2(1000);
    err_txt VARCHAR2(5000);
    no_of_recs number;
    out_sign_tab search_sign_tab_type:=search_sign_tab_type(search_sign_type(NULL,NULL,NULL,NULL,NULL));
    cntr_var number:=0;
    begin
         rt843pq('DWS','3000552485',out_sign_tab,no_of_recs,err_cd,err_txt);
         dbms_output.put_line('The error is ' ||err_cd);
         dbms_output.put_line('The error is ' ||err_txt);
         dbms_output.put_line('The cntr is ' ||cntr_var);
         for incr in 1 .. OUT_SIGN_TAB.count
         loop
         cntr_var := cntr_var + 1 ;
    Dbms_output.put_line(OUT_SIGN_TAB(incr).ref_no||','||OUT_SIGN_TAB(incr).ciref_no||','||OUT_SIGN_TAB(incr).ac_no||','||OUT_SIGN_TAB(incr).txn_type||','||OUT_SIGN_TAB(incr).objid);
    end loop;
    end;
    Error is thrown on "for incr in 1 .. OUT_SIGN_TAB.count" this line
    Following is some related information.
    the 3rd parameter of the procedure is a out parameter. it is a type of a PL/SQL table (SEARCH_SIGN_TAB_TYPE) which is available in database as follows.
    TYPE "SEARCH_SIGN_TAB_TYPE" IS TABLE OF SEARCH_SIGN_TYPE
    TYPE "SEARCH_SIGN_TYPE" AS OBJECT
    (ref_no VARCHAR2(22),
    ciref_no VARCHAR2(352),
    ac_no VARCHAR2(22),
    txn_type VARCHAR2(301),
    objid VARCHAR2(1024))............

    We don't have your rt843pq procedure, but when commenting that line out, everything works:
    SQL> create TYPE "SEARCH_SIGN_TYPE" AS OBJECT
      2  (ref_no VARCHAR2(22),
      3  ciref_no VARCHAR2(352),
      4  ac_no VARCHAR2(22),
      5  txn_type VARCHAR2(301),
      6  objid VARCHAR2(1024))
      7  /
    Type is aangemaakt.
    SQL> create type "SEARCH_SIGN_TAB_TYPE" IS TABLE OF SEARCH_SIGN_TYPE
      2  /
    Type is aangemaakt.
    SQL> declare
      2    err_cd varchar2(1000);
      3    err_txt VARCHAR2(5000);
      4    no_of_recs number;
      5    out_sign_tab search_sign_tab_type:=search_sign_tab_type(search_sign_type(NULL,NULL,NULL,NULL,NULL));
      6    cntr_var number:=0;
      7  begin
      8    -- rt843pq('DWS','3000552485',out_sign_tab,no_of_recs,err_cd,err_txt);
      9    dbms_output.put_line('The error is ' ||err_cd);
    10    dbms_output.put_line('The error is ' ||err_txt);
    11    dbms_output.put_line('The cntr is ' ||cntr_var);
    12    for incr in 1 .. OUT_SIGN_TAB.count
    13    loop
    14      cntr_var := cntr_var + 1 ;
    15      Dbms_output.put_line(OUT_SIGN_TAB(incr).ref_no||','||OUT_SIGN_TAB(incr).ciref_no||','||OUT_SIGN_TAB(incr).ac_no||','||OUT_SIGN
    TAB(incr).txntype||','||OUT_SIGN_TAB(incr).objid);
    16    end loop;
    17  end;
    18  /
    The error is
    The error is
    The cntr is 0
    PL/SQL-procedure is geslaagd.Regards,
    Rob.

  • Unable to capture value inside parameter T_LFBK of FK03 in display mode

    Hi Experts,
    I have to trigger a mail whenever there is a change in fields that are captured in parameter t_ffbk.
    However i am unable to capture the the screen values for this parameter as FK03 is in display mode.Please tell me how can i capture the screen field values in parameter T_LFBK.
    <Point offer removed by moderator>
    Thanks in advance.
    Edited by: Vinod Kumar on Jul 28, 2011 5:48 PM

    Hi Experts,
    I have to trigger a mail whenever there is a change in fields that are captured in parameter t_ffbk.
    However i am unable to capture the the screen values for this parameter as FK03 is in display mode.Please tell me how can i capture the screen field values in parameter T_LFBK.
    <Point offer removed by moderator>
    Thanks in advance.
    Edited by: Vinod Kumar on Jul 28, 2011 5:48 PM

  • Cannot assign an empty string to a parameter with JDBC type VARCHAR

    Hi,
    I am seeing the aforementioned error in the logs. I am guessing its happening whenever I am starting an agent instance in PCo. Can somebody explain whats going on?
    Regards,
    Chanti.
    Heres the complete detail from logs -
    Log Record Details   
    Message: Unable to retreive path for , com.sap.sql.log.OpenSQLException: Failed to set the parameter 1 of the statement >>SELECT ID, PARENTID, FULLPATH, CREATED, CREATEDBY, MODIFIED, MODIFIEDBY, REMOTEPATH, CHECKEDOUTBY FROM XMII_PATHS WHERE FULLPATH =  ?  <<: Cannot assign an empty string to a parameter with JDBC type >>VARCHAR<<.
    Date: 2010-03-12
    Time: 11:32:37:435
    Category: com.sap.xmii.system.FileManager
    Location: com.sap.xmii.system.FileManager
    Application: sap.com/xappsxmiiear

    Sounds like a UI browsing bug (when no path is selected from a catalog tree folder browser) - I would suggest logging a support ticket so that it can be addressed.

  • Replacing NULL and EmptyString('') with "Unknown" in SSRS parameter dropdown

    All,
    What I want to do is, in the SSRS parameter drop down, instead of showing NULL and Blank values(), i want to categorize them as "Unknown", so, if the user selects "Unknown" from the SSRS drop down parameter, he should be able to see all
    the records that have NULL values or empty strings in that particular column in the result set.
    Can you tell me, how should I handle it in my main stored proc as well as in the dataset?
    Right now, i have something like this:
    Where
    (t1.name in (select value from dbo.Split(@TName,',')) OR @TName IN ('All'))
    -- Where t1.Name has empty strings and NULL values. Both of these values should be categorized under "Unknown"
    -- How would the dataset query look like? Right now I have this query for populating the drop down for that parameter:
    Select All
    UNION
    Select Distinct Name
    Order BY 1

    Hello,
    Please refer to the following stored procedure:
    SELECT
    CASE WHEN TName IS NULL OR TName = ''
    THEN 'Unknown' ELSE TName END AS TName
    From DemoTable
    Then, use following query code to get the parameter values:
    SELECT Distinct
    CASE WHEN TName IS NULL OR TName = '' THEN 'Unknown'
    ELSE TName END AS TName
    FROM DemoTable
    Regards,
    Alisa Tang
    Alisa Tang
    TechNet Community Support

Maybe you are looking for

  • How to append to the previous line in a text?

    Hi, Can we append a previous line in a text? That is, my program goes to the next line of text in one loop but I need to go back to the previous line and append to it in the next loop. How can I do that? Is there a way to go to a specific line or pre

  • N95 8gb V20.0.0.16 Multimedia Key not working

    Hi, I think I found a bug! make sure the phone is in portrait mode: 1. press the multimedia key 2. press it again to exit 3. Turn the phone to bring it to landscape mode (make sure auto rotate is enabled) 4. press the multimedia key For me the menu d

  • ST22 Dumps: Shared Objects

    Hi SDN, in our SRM System, SRM Server 5.5, WAS700 ABAP, we get ST22 Short Dumps concerning "shared objects". This is the Dump Short Analysis: Runtime Errors         SYSTEM_NO_SHM_MEMORY                                     Date and Time          19.08

  • Possible to show complete attachment filename when printing?

    I know, it's a feature, not a bug. Most of the attachments we use in the office have very long filenames (often up to the 31 character limit). Mail abbreviates the filename when displaying the attachment icon. That's fine, I can mouse over to see the

  • Brtools 7.20 (15) database connect error

    I'm using Oracle 11.2.0.2 on Redhat Linux. xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx I am getting this error when running brtools commands... BR0801I BRCONNECT 7.20 (15) BR0805I Start of BRCONNECT processing: cehtjyls.cln 2012-