Selection Screen in web error

Dear All,
I am executing a report in web in Java runtime (BI 7 enviornment). I get the selection screen.
I have a variable for which I have to give the range. I press F4. A new sub window openes where I can give from and to value. I click on F4 again for giving the From value. All valus for the characteristic are displayed in a new sub window. On top right corner in this window, there is a setting button. When I click on this, it gives error
500 Internal Server Error
The initial exception that caused the request to fail was:
java.lang.NullPointerException
Has any one faced this error. Any pointer to solve this will be helpful.

Hi Niraj,
Apply the below note which is very similar to your issue...
SAP Note Number: 856741
Find the below thread...
500 Internal Server Error when clicked on Add/Remove Button
Also find the below search links which are very helpful to you...
https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=500InternalServer+Error&adv=false&sortby=cm_rnd_rankvalue
https://www.sdn.sap.com/irj/sdn/advancedsearch?query=java.lang.nullpointerexception&cat=sdn_all
Assign points if this helps u...
Regards,
KK.

Similar Messages

  • WD application-selection screen - Parameter passing error

    Hi,
    In my WD application selection screen I am using a parameter(COSP-VERSN)
    When i read this using read context i am getting an error saying "Could not find attribute KOKRS"
    In context I have created a node with COSP-VERSN. My Kokrs will be contstant everytime.
    For getting my version I need to pass KOKRS values.How can overcome this issue?
    Here is the read context for versn which I have created in context Create-> NODE Option
    DATA lo_nd_pversn TYPE REF TO if_wd_context_node.
          DATA lo_el_pversn TYPE REF TO if_wd_context_element.
          DATA ls_pversn TYPE wd_this->element_pversn.
    *     navigate from <CONTEXT> to <PVERSN> via lead selection
          lo_nd_pversn = wd_context->get_child_node( name = wd_this->wdctx_pversn ).
    *     get element via lead selection
          lo_el_pversn = lo_nd_pversn->get_element(  ).
    *     get all declared attributes
          lo_el_pversn->get_static_attributes(
            IMPORTING
              static_attributes = ls_pversn ).
    Rgds
    Vara

    Resolved myself by creating a custom Dropdownbykey.
    Rgds
    vara

  • Selection Screen in Web Dynpro Application

    Hi,
    I have to develop one application, in which I need to create first view as Selection Screen and second as result screen,
    Please advise how to create selection screen in ABAP web dynpro?
    Thanks!
    Piyush

    I am not sure whether your requirement is like this or not:
         (1).In 1st screen, there are a few input fields which you can input the value as what you want.
         (2). After you input your data, you press "Enter" or press the Button(if in your view there is one button), then 2nd screen will be displayed to show the result, which is retrieved from DB using the selection/Condition in 1st screen.
    This is just simple in WD4A.
    A little summary:
         (1).In 1st view, you can bind your input fields with the context.
         (2).In the "Enter" event or "Button" action, you can "Fire the outbound plug" which is navigated to the "Inbound plug" of 2nd view
         (3).In the "WDDOINT" of 2nd view, you can use the 1st-view's Context(You can declare the context in component controller, and map it in 1st and 2nd views), then Retrieve data from DB or other places.
    I think, you can take a reference to the Document "Net 310", which is the standard course of WD4A.
    Goodluck.Best wishes!

  • Selection Screen on Web Report only show filter area varieables.

    HI ,
    I am using WAD 3.5 and web template uses the query developed in 3.5, This report has two selection variables one in filter area and one in Rows section.
    We recently did the Ehp 1 upgrade and after that it automatically showing only variable selection for character in Filter area. To show all I have to hit "All".
    For Query designer query I was able to change the property in RSRT but for Web report I am not able to change and it is still showing only one selection screen instead of Two .
    Have you faced any such issue. Please can you share your thoghts on how to correct it.
    Best Regards
    Som

    Hi,
    if you are able to see both variables in rsrt we could say that the variable definition are ok ( option: ready for input in variable definition)
    So open the web report on web application designer and in the web template Properties search for "Force Variable Screen display" option and check this option.
    Hope it helps,
    rp

  • Selection screen time parameter error.

    I see a display error on the selection screen to the left of the Run Time field.  When my mouse hovers over the display error, another display then appears below the Run Time field.  I believe an = sign should appear to the left of the Run Time.
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-034.
    PARAMETERS: p_jobnam TYPE tbtco-jobname MODIF ID 1.
    SELECT-OPTIONS: s_runda FOR tbtco-strtdate DEFAULT sy-datum TO sy-datum MODIF ID 1 ,
                    s_runti FOR tbtco-strttime DEFAULT time_0 TO time_24 MODIF ID 1.
    PARAMETERS:     p_supjob  AS CHECKBOX .
    SELECTION-SCREEN END OF BLOCK b1.

    AT SELECTION-SCREEN OUTPUT.
      LOOP AT SCREEN.
        " if radio button display on screen i sselected then make subject,sheduler
       and user email disable and if radio button send email is selected make
       the same fields enable.
        IF screen-group1 = '3' .
          IF p_disp = 'X'.
            screen-input = 0.
          ELSEIF p_email = 'X'.
            screen-input = 1.
          ENDIF.
       ENDIF.
    *if check box report on job status is selected making jobname,rundate,runtime fields
    disable and if it is not checked maiking these fields enable.
        ELSEIF screen-group1 = '1'.
          IF p_re_sts = ' ' .
            screen-input = 0.
          ELSEIF p_re_sts = 'X'.
            screen-input = 1.
          ENDIF.
       ENDIF.
    *if attach .csv check box is seleted then making the fields status,application path
    *and file enable otherwise disable.
        ELSEIF screen-group1 = '2'.
          IF p_att = ' '.
            screen-input = 0.
          ELSEIF p_att = 'X'.
            screen-input = 1.
          ENDIF.
          CLEAR : p_apdir1.
    MODIFY SCREEN.
        ENDIF.
    this code am  using i have a check box if i check that am making above selction screen parameters enable disable .
    i found out that if i commented this loop at screen code am getting no error .
    please help

  • Selection Screen Disappearing on error

    Hi
    I am new to ABAP.
    Below is the driver program for Smartform,
    after:
    Step-1 Entering data at selection screen
    Step-2 Pressing Execution Button
    An error is displaying 'Document no. not found' but the problem is, as soon as the error appears, selection screen goes blank, its not staying.
    Please suggest correction.
    With warm regards.
    Yogesh.
    *& Report  Z_MM_GPASS
    REPORT  Z_MM_GPASS.
    tables: MSEG,ADRC,T001W,MAKT .
    data: FM_NAME TYPE RS38L_FNAM.
    *& Selection Screen
    Selection-screen: begin of block b1 with frame title t1.
    Parameter:   Docno   like      MSEG-MBLNR ,
                 YEAR    like      MSEG-MJAHR .
    selection-screen: end of block b1.
    *& Comment on selection screen
    At selection-screen output .
    t1 = 'Selection-Screen' .
    *& Data validation at selection screen
    At selection-screen .
    select single * from MSEG where MBLNR = docno and MJAHR = YEAR .
    if sy-subrc <> 0.
    message 'Document no. not found' type 'E'.
    endif.
    CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
      EXPORTING
        FORMNAME                 = 'Z_MM_PASS'
    *   VARIANT                  = ' '
    *   DIRECT_CALL              = ' '
    IMPORTING
       FM_NAME                  = FM_NAME
    EXCEPTIONS
       NO_FORM                  = 1
       NO_FUNCTION_MODULE       = 2
       OTHERS                   = 3
    IF SY-SUBRC <> 0.
    *  MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *          WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    CALL FUNCTION FM_NAME
      EXPORTING
    *   ARCHIVE_INDEX              =
    *   ARCHIVE_INDEX_TAB          =
    *   ARCHIVE_PARAMETERS         =
    *   CONTROL_PARAMETERS         =
    *   MAIL_APPL_OBJ              =
    *   MAIL_RECIPIENT             =
    *   MAIL_SENDER                =
    *   OUTPUT_OPTIONS             =
    *   USER_SETTINGS              = 'X'
        DOCNO                      = DOCNO
        YEAR                       = YEAR
    * IMPORTING
    *   DOCUMENT_OUTPUT_INFO       =
    *   JOB_OUTPUT_INFO            =
    *   JOB_OUTPUT_OPTIONS         =
    * EXCEPTIONS
    *   FORMATTING_ERROR           = 1
    *   INTERNAL_ERROR             = 2
    *   SEND_ERROR                 = 3
    *   USER_CANCELED              = 4
    *   OTHERS                     = 5
    IF SY-SUBRC <> 0.
    *MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Code Formattted by: Alvaro Tejada Galindo on Jan 7, 2009 2:30 PM

    *I have replaced
    if sy-subrc <> 0.
    message 'Document no. not found' type 'E'.
    endif.
    with
    IF sy-subrc 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    INTO mtext
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    write:/1 mtext.
    ENDIF.
    *Program sintactically correct.
    *but still I'm facing the same problem, for your kind knowledge I don't know what is return code
    Edited by: Yogesh Pathak on Jan 7, 2009 9:45 AM
    Messege posted more than one time due to "SERVER ERROR" while posting., sorry for inconvenience.
    Code Formatted by: Alvaro Tejada Galindo on Jan 7, 2009 2:34 PM

  • How to display Selection screen on Web for RSCRM_BAPI

    HI,
    For a customer we want to create the possibility to extract data from BI2004s to other systems, therefore we want to use RSCRM_BAPI.
    Thing is that we want to provide the possibility for them to enter selectioncriteria, but we don't want them to log on using the Gui.
    We want to use the VC to create an interface cockpit.
    question is how we can allow users to use selectioncriteria but:
    variants can not be used
    TVARV can not be used
    is there any way to capture the selection screen and to display it on the web/VC?
    Anyone ever did this?
    Tnx
    rogier

    Gili.
    thank you for your quick reply,.
    Reason why we are looking into the RSCRM_BAPI is due to the layout
    requirements of the extract. the recieving systems requires specific layouts. If we do this with the infospoke we will have to use a BADI to perfom complex transformations which will need additional knowlegde (of BADI's) of the support organisation whereas with RSCRM_BAPI they can adjust the query.
    and as far as i know you can not define the variable input via the web for open hub.
    Grtz
    rogier

  • Problem in getting parameter value from selection screen in web dynpro abap

    Hi,
    I am facing problem in getting parameter value from selection screen.
    Please find my code below:
    DATA LT_PAR_ITEM TYPE IF_WD_SELECT_OPTIONS=>TT_SELECTION_SCREEN_ITEM.
    FIELD-SYMBOLS:<FS_PAR_ITEM> LIKE LINE OF LT_PAR_ITEM,
                                 <FS_OBJ_USAGE>    TYPE REF TO data.
      WD_THIS->M_HANDLER->GET_PARAMETER_FIELDS( IMPORTING ET_FIELDS = LT_PAR_ITEM ).
      LOOP AT LT_PAR_ITEM ASSIGNING <FS_PAR_ITEM>.
        CASE <FS_PAR_ITEM>-M_ID.
          WHEN `OBJ_USAGE`.
             ASSIGN <FS_PAR_ITEM>-M_VALUE->* TO <FS_OBJ_USAGE>.      
    [ Here, sy-subrc is 4,  <FS_OBJ_USAGE> is not assigning.]
        ENDCASE.
      ENDLOOP. 
    So, can any one solve this problem.
    Thanks in advance,
    Radhika

    Hi Radhika,
    Try using GET_RANGE_TABLE_OF_SEL_FIELD...
    Please Refer below code..
       DATA: NODE_FLIGHTS TYPE REF TO IF_WD_CONTEXT_NODE.
      DATA: RT_CARRID TYPE REF TO DATA.
      DATA: ISFLIGHT TYPE TABLE OF SFLIGHT.
      DATA: WSFLIGHT TYPE SFLIGHT.
      FIELD-SYMBOLS: <FS_CARRID> TYPE TABLE.
    Retrieve the data from the select option
      RT_CARRID = WD_THIS->M_HANDLER->GET_RANGE_TABLE_OF_SEL_FIELD( I_ID = 'S_CARR_ID' ).
    Assign it to a field symbol
      ASSIGN RT_CARRID->* TO <FS_CARRID>.
      CLEAR ISFLIGHT. REFRESH ISFLIGHT.
      SELECT * INTO CORRESPONDING FIELDS OF TABLE ISFLIGHT FROM SFLIGHT
                           WHERE CARRID IN <FS_CARRID>.
      NODE_FLIGHTS = WD_CONTEXT->GET_CHILD_NODE( NAME = `FLIGHTS` ).
      NODE_FLIGHTS->BIND_ELEMENTS( ISFLIGHT ).
    Thanks,
    Regards,
    Kiran

  • Need to display TEXT in web selection screen

    HI All,
    We are working on CRM-BW  modeling. We have one field called "product" which will have key and medium text. We need to display both key + text in web reporting selection screen. When we ran first time text was not showing in web report. Then we found and change the configuration in search help in SE11 for that field. Then we can see the text+key combination in RSRT but still we can't see the text in web report selection screen...
    Now what we have to do to display text in selection screen on web...
    Please give your inputs  ASAP.....we are in UAT phase....
    Thanks in advance
    Arun

    Hi Arun,
    For you case: Display key & text in selection screen.
    In BW,
    You can go to query designer, then you'll go to the info-object belong to the variable (selection-screen : product). Right-click, find for the properties, Then you'll see the option for <b>display as</b>.
    Choose it for Key and text.
    Then save it.
    Go to the report, in the selection screen, when you're choosing for the help, you'll see the value displayed by key & text.
    Hopefully it can help you a lot.
    Regards,
    Niel
    Thanks a lot for any points you choose to assign.

  • Back to selection screen after error

    Hello ABAPers,
    I have a executable program (REPORT) to do some processing (e.g. read a standard table with the parameters and select-options and save the data in a Z table).
    When occurs an error (e.g. when sy-subrc <> 0 after select) and a message of type E is showed, the program show the message in a "clean" screen with title SAP. Then, after ENTER or ESC, it leaves to initial screen of SAP (SAP Easy Access).
    The message of type E is triggered from a routine (FORM) called from START-OF-SELECTION event. And the program don´t write nothing in list (only return a status message if everithing is ok).
    How can I force the program to back to selection screen after some error?
    Thanks in advance.
    Best regards,
    Charles Oliveira

    hi,
    Do the following for your requirement.
    in the message give the following
    start-of-selection.
    Perform <routine>.
    Form <routine>.
    if <condition>.
      message 'xxxx' type 'S' display like 'E'.
      exit.
    endif.
    endform.
    This way the control returns to selection screen even after the message is triggered.
    Thanks
    Sharath

  • Text upload in Web Template variable selection screen

    Hi all,
    In the Analyzer it is possible to upload text files in the variable selection screen but I can't find this feature in the variable selection screen for Web Templates.
    Anyone has an idea ?
    Regards,
    Olivier

    Hi,
    it's is not possible with standard.
    I read in some sap feature paper that it will come.
    Maybe it will be possible with modification, but that's only an idea.
    Kind regards,
    Tobias

  • Passing URL Parametes to Variables in variable Selection Screen

    Hi
    Is there any way to pass the URL parameters to the variables in the selection screen of Web Report/ and How to make to non editable.
    Your points are assured
    Thanks and Regards
    Prasad

    Pankaj,
    What you have mentioned is for BSP Pages... for web reports .. add the following to the URL..
    &CMD=PROCESS_VARIABLES&SUBCMD=VAR_SUBMIT&VAR_NAME_1=<Your Variable Name>&VAR_VALUE_EXT_1=<Value of the variable>
    This is for a normal variable - it is slightly different for hierarchy variables...
    For details information - you can refer the WEB API reference 3.x....
    service.sap.com/bi -> BW infoindex -> Web Application Designer 3.x -> Web API Reference 3.5 (pdf)
    Arun
    Assign points if useful
    Message was edited by:
            Arun Varadarajan

  • Error when Values of Hierarchy Characteristics are put in selection screen

    Hi Experts,
    I am using SAP Netweaver 2004s.
    I am trying to execute a query with a Hierarchy Characteristic in the BEx Web. In the Variable selection screen, if I give a value of the characteristic as input, the query on execution displays 'No Data Found'. But If I execute the query with the same selections (enter a value of the hierarchy characteristic in the selections) in BEx Analyzer (Excel), the query executes for that value of characteristic with data.
    Also, If I execute the query with a node of the hierarchy characteristic (instead of the value within this node), I get data for all values within this node along with that value for which in the first case it showed no data.
    Could you help me figure out how to go about finding a solution for this issue?
    Regards,
    Shruti

    Hi Abhijeet,
    This error occurs for all values (that are present within hierarchy nodes).
    Also, I have tried using both F4 and entering the value directly. There is no difference in the error.
    The type of the variable shouldn't be the issue since the same entries work fine in BEx (Excel) Analyzer.
    I think there has to be some kind of setting somewhere for BEx Web Analyzer that can have hierarchy related displays.
    Thanks for your help.
    Regards,
    Shruti

  • Custom error messages in selection-screen

    Hello All,
    I have one query. I have developed a vendor aging report. In the SELECT-OPTIONS, there are 5 fields namely company code, business area, vendor group, vendor code and cash management group. What the user wants is if he enters any invalid value in any of the 5 fields, custom error message should be displayed like 'invalid company code' etc. I think we have to write these messages in 'at-selection-screen' event. Can u help me out with a sample code snippet w.r.t the above program? I have written the code as:
    AT SELECTION-SCREEN.
      IF S_BUKRS ne BSIK-BUKRS.
      MESSAGE e000. 'invalid company code' TYPE 'E'.
      ENDIF.
    But not giving the correct output.i.e. even if I enter a valid company code, the error message is displayed. Can u help me in solving this problem?
    Thanks and Regards,
    Satvik
    Edited by: Satvikpanchal on Jul 22, 2011 9:42 AM

    Hi,
      use AT SELECTION-SCREEN on S_BUKRS-low.
    Use select query for checking the Company code in T001 table check the
    Company code already exist or not? If it is not there show the message.
    Code like
    AT SELECTION-SCREEN on S_BUKRS-low.
    select single bukrs into lv_bukrs
          from T001 where bukrs = s_bukrs-low.
    if sy-subrc NE 0.
    MESSAGE e000. 'invalid company code' TYPE 'E'.
    ENDIF.
    i think you company code is select option so you have to check S_BUKRS-high also.
    using the event AT SELECTION-SCREEN on S_BUKRS-high.
    Regards,
    DHina..

  • Error Message in selection screen Status bar is getting truncated

    Hi Guys,
    Error Message in selection screen Staus bar is getting truncated (full message is not getting displayed).... can anybody tell me how to reslove this

    Hi
    Maimum we can give the error message length is 50 char. If you give more than that it will get truncated.
    What you can do this split 50 and 50 like that you can give 200 chnars.
    Data : Text1 type char50
              Text2 type char50
    If sy-surc ne 0.
    Message Text1 Text2  TYPE "E'' or 'S'
    endif.

Maybe you are looking for

  • Calling a Standard Form (With the data retreived) from a custom form

    Hi All, We have a requirement to call a standard form (form function : QP_QPXPRLMS) from a custom form on a button click. we have passed Modifier List header id as parameter..   FND_FUNCTION.EXECUTE(FUNCTION_NAME=>'QP_QPXPRMLS',            OPEN_FLAG=

  • Error in Inbound JMS adapter (ESB project)

    Hello all, I am trying out a sample ESB application, where an ESB service is listening on a JMS topic (OEMS database persistence) for new employee notifications. Upon receiving the message, the service will invoke a stored procedure to insert a recor

  • Yet another parseEscapedXML()  error

    Hi All, I have the following operations: <copy> <from expression="ora:getContentAsString(bpws:getVariableData('p_invoice_payload','cXML'))"/> <to variable="p_java_str"/> </copy> <copy> <from expression="ora:parseEscapedXML(bpws:getVariableData('p_jav

  • The page dont open in the first try

    I have to click on the (x) in the addressfield and then click on the arrow (Update page) When you have opened a page it works fine the next time you open it. I have updated everything, stopped many programs to start when windows (xp) starts, reset an

  • Error in the latest Java comm api for Linux

    installed latest Java comm api for Linux, tried test application for the Sun package: $ java SimpleRead Exception in thread "main" java.lang.ExceptionInInitializerError at SimpleRead.main(SimpleRead.java:67) Caused by: java.lang.NullPointerException