ASSERTION_FAILED in WDA

Hello,
I have developed a WDAbap (Welcome) program for Portal which is very simple. In this program all I have is Mayo logo picture and text in text field "Welcome to portal".
Then I ran this from EPD and EPQ with no problem. However when we moved it to EPP we are getting short dump "ASSERTION_FAILED". Following is the message we get.
What happened?
In the running application program, the ASSERT statement recognized a
situation that should not have occurred.
The runtime error was triggered for one of these reasons:
- For the checkpoint group specified with the ASSERT statement, the
   activation mode is set to "abort".
- Via a system variant, the activation mode is globally set to "abort"
   for checkpoint groups in this system.
- The activation mode is set to "abort" on program level.
- The ASSERT statement is not assigned to any checkpoint group.
Since it doesn't happen in CRD and CRQ I believe it's could be a system varian as the message says.
Any help is highly appreciated.
Thanks.
Bijay

Looks like there is statement called "ASSERT", in your code
ASSERT logical_expr.
When an ASSERT statement is executed, the logical expression logical_expr is evaluated. If the expression is true, processing continues with next statment. If the expression is false, program execution is <b>aborted</b> by issubg the runtime error <b>ASSERTION_FAILED</b>.
If you want to check some condition use IF & remove this ASSERT statement.
<b>*Reward each useful answer</b>
Raja T

Similar Messages

  • ASSERTION_FAILED when filling dropdownbykey with sql queries

    Hi everybody,
    I'm new to WDA, and I am coding a new interface for transaction CBIH82 in EHS.
    I am filling a dropdownbykey with a sql query, for the work area.
    On the view, the dropdownbykey is populated, but when I click on a button, or when I launch an action, I have the error "ASSERTION_FAILED".
    However, if I fill the dropdownbykey manually in the code, I got no error.
    Error in IE :
    The ASSERT condition was violated
    Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/LSTANDARD===============CP
    Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/LSTANDARD===============CP
    Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/LSTANDARD===============CP
    Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/LSTANDARD===============CP
    Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/LSTANDARD===============CP
    Method: CONV_VIEW_INTO_VE_ADAPTER_TREE of program CL_WDR_INTERNAL_WINDOW_ADAPTERCP
    Method: SET_CONTENT_BY_WINDOW of program CL_WDR_INTERNAL_WINDOW_ADAPTERCP
    Method: RENDER_WINDOWS of program CL_WDR_CLIENT_SSR=============CP
    Method: IF_WDR_RESPONSE_RENDERER~RENDER_VIEWS of program CL_WDR_CLIENT_SSR=============CP
    Method: IF_WDR_RESPONSE_RENDERER~RENDER_USER_INTERFACE_UPDATES of program CL_WDR_CLIENT_SSR=============CP
    Here is the dump :
    27926     else.                                                                           
    27927       IFUR_NW5_COMBOBOX~READONLY = wd_DROPDOWN_BY_KEY->vl_READ_ONLY.                
    27928     endif.                                                                          
    27929 *   >> UCA STANDARD|ABSTR_DROPDOWN_BY_KEY|READONLY                                  
    27930     if M_PARENT_READONLY = abap_true or                                             
    27931        mv_KEY_ATTR_INFO-is_read_only = abap_true.                                   
    27932       IFUR_NW5_COMBOBOX~READONLY = abap_true.                                       
    27933     endif.                                                                          
    27934                                                                               
    27935 *   >> property-UCA IFUR_NW5_COMBOBOX~REQUIRED                                      
    27936 *   >> UCA STANDARD|DROPDOWN_BY_KEY|REQUIRED                                        
    27937     if mv_WD_STATE = cl_wd_dropdown_by_idx=>e_state-required.                       
    27938       IFUR_NW5_COMBOBOX~REQUIRED = abap_true.                                       
    27939     else.                                                                           
    27940       IFUR_NW5_COMBOBOX~REQUIRED = abap_false.                                      
    27941     endif.                                                                          
    27942                                                                               
    27943 *   >> property-Property IFUR_NW5_COMBOBOX~USEDINSAPTABLE                           
    27944     IFUR_NW5_COMBOBOX~USEDINSAPTABLE = /1WDA/VTABLE_CELL_EDITOR~mv_INSIDE_TABLE.    
    27945                                                                               
    27946 *   >> property-UCA mv_VALUE_SET                                                    
    27947 *   >> UCA STANDARD|ABSTR_DROPDOWN_BY_KEY|VALUE_SET                                 
    27948     data value_set_item type WDR_CONTEXT_ATTR_VALUE.        "#EC NEEDED             
    27949     mv_VALUE_SET = mv_KEY_ATTR_INFO-value_set.                                      
    27950     read table mv_VALUE_SET into value_set_item                                     
    27951       with key value = mv_KEY_INTERNAL.                                             
    27952     if sy-subrc = 0.                                                                
    27953       IFUR_NW5_COMBOBOX~VALUE = cl_http_utility=>escape_html( value_set_item-text ).
    27954     else.                                                                           
    27955       " entry not found - only legal for "initial" value                            
    >>>>>       assert mv_KEY_INTERNAL co ` 0`.                       "#EC NOTEXT             
    27957       IFUR_NW5_COMBOBOX~VALUE = ''.                         "#EC NOTEXT             
    27958     endif.                   
    The error is at line 27956.                                                     
    And here is my code to fill the dropdownbykey in my wddoinit of my view :
    data:
        lieux_de_travail                    type string,
        description_lieux_travail           type string,
        table_record_number_travail         type TABLE OF string,
        table_lieux_travail_full            type TABLE OF string,
        lieux_travail_full                  type string,
        record_number_travail               type string,
        valeur_int                          type i VALUE 0,
        valeur_string                       type string.
    SELECT RECNROOT FROM CCIHT_WAH INTO TABLE table_record_number_travail.
    LOOP AT table_record_number_travail INTO record_number_travail.
      SELECT WANAM FROM CCIHT_WALD INTO description_lieux_travail WHERE RECNROOT = record_number_travail.
      ENDSELECT.
      SELECT WAID FROM CCIHT_WAH INTO lieux_de_travail WHERE RECNROOT = record_number_travail.
      ENDSELECT.
      IF NOT lieux_de_travail = 'ALOUETTE'.
        CONCATENATE lieux_de_travail description_lieux_travail INTO lieux_travail_full SEPARATED BY ' - '.
      ELSE.
        lieux_travail_full = lieux_de_travail.
      ENDIF.
    INSERT lieux_travail_full INTO TABLE table_lieux_travail_full.
    ENDLOOP.
    data:     NODE_INFO type ref to IF_WD_CONTEXT_NODE_INFO,
              NODE_INFO_ACLOC type ref to IF_WD_CONTEXT_NODE_INFO.
    NODE_INFO = WD_CONTEXT->GET_NODE_INFO( ).
    NODE_INFO_ACLOC = NODE_INFO->GET_CHILD_NODE( 'INFO_ACLOC' ).
    data:    LT_VALUESET type WDR_CONTEXT_ATTR_VALUE_LIST,
             L_VALUE type WDR_CONTEXT_ATTR_VALUE.
    valeur_int = 0.
    LOOP AT table_lieux_travail_full INTO L_VALUE-TEXT.
      ADD 1 TO valeur_int.
      MOVE valeur_int to valeur_string.
      L_VALUE-VALUE = valeur_string.
      INSERT L_VALUE into table LT_VALUESET.
    ENDLOOP.
    CLEAR valeur_int.
    NODE_INFO_ACLOC->SET_ATTRIBUTE_VALUE_SET(
         NAME = 'LIEUX'
         VALUE_SET = LT_VALUESET ).
    The values are stored in the context node "INFO_ACLOC", and cardinality 1.1/0.1, in LIEUX of type String.
    Anybody had this error before?
    Thank you!
    Brad

    Hi Thomas,
    thank you, that was it.
    I had a conversion of int to string, and the resulting string was not good.
    It looked like as a number in the debug mode, but not in the hexadecimal value.
    I did not saw it, because I'm beginning to learn abap too.
    Brad

  • Display Request Form is not triggering in Standard SAP WDA : FITE_REQUEST

    Hi Guru's,
    In our Travel Scenario in NWBC, Once the employee finish the Travel Request he is unable to take print out by clicking on Display Request Form. Nothing is happening when we click on "Display Request Form".
    The Form I am using is FITP_REQUEST_FORM. It is displaying perfectly when I execute via SFP. The problem I am facing is nothing is happening when I click on "Display Request Button" in WDA
    Application:
    FITE_REQUEST
    Application Component:
    FI-TV
    Component:
    FITE_VC_REVIEW
    Window:
    VC_WINDOW
    View:
    REVIEW_VIEW
    Application Component:
    FI-TV
    Give me some lights to solve this issue
    Thanks,
    Namsheed.

    Hi Samuli,
    Issue is solved. It was Program Error from SAP side.
    Now All the buttons are working fine and I am able to print PDF also.
    Solution is implement the note 2031585 - SAP NWBC ABAP Runtime Patch 40.
    System Details : ECC 6.0 NetWeiver 7.4 ,
                                EHP 7 , SP-Level 06
    Thanks a lot for all your suggestions.
    Regards,
    Namsheed.

  • Getting values from a function module called in a WDA method

    Friends,
    I am trying to execute a function module from WDA.
    I have created a service call for the function module. The function module takes values from the user, looks up the corresponding values of another field and returns the values in an internal table.
    I am using the "Method Call in Used Controller" of WD Code wizard to call the function module.
    When the event handler method containing the call to the function module is executed, nothing happens.
    I am not sure how to pass values to the function module and to get the return values from the function module.
    I am new to using function modules from WDA. Please help me out.
    Thanks and Regards.

    Rashmi,
    Is the function module intended to collect input data from the UI and process it? - Yes
    If yes, then the input (importing parameter) to the Function Module is a table of values (which should be ideally from the context mapped to the Table UI Element). - The importing parameter is a single value NOT a table and is mapped to the view context.
    Now this table UI Element is bound to the view controller context , which in turn is mapped to the component controller context. And you are indeed being able to read the value of this internal table in the component controller method where the function module is being called by means of get_static_attributes_table (Is this right? - Yes, I am able to read the table of values that is passed from the component controller view to form view context by using get_static_attributes_table.
    Or are you being able to read it in the event handler method of the view controller and not being able to read it in the component controller method) -
    The function module takes a single value as import parameter and returns a table of values as return value.
    It works fine when no importing parameter is being used and returns the table of values that is getting passed from component controller context to form view context when i am able to read it using get_static_attributes_table.
    Now the question is: how to pass the import parameter value to the function module. I assumed since the importing parameter is a context node (like the return values are), i should set the value ( captured when the user enters the value in the form) to the importing parameter context attribute using set_attribute method. Since it is mapped to the component controller context, i assumed it will get passed and the method will take it as input parameter.
    Let me know if my assumptions are correct regarding passing the import parameters and what is missing here.
    Thanks and Regards.

  • Question on png's, gif's, and jpg's as imageSources in WDJ and WDA

    If you go to MIMEs in SE80, you will find that the WDA imageSources for the WDA version of the WDJ/NWDS Quiz tutorial are a mixed-bag: gif's, png's, and I think one jpg.
    In NWDS/WDJ, on the other hand, the Quiz tutorial (#2) calls for all images to be jpg's.
    If I download the gif's and png's using the download function in SE80, can I declare the imageSources in NWDS/WDJ using these two suffixes as well as the jpg suffix?
    Or does NWDS/WDJ require all imageSources to be jpg's ???

    You can use any of the mentioned images types in WD Java.
    Armin

  • ASSERTION_FAILED with program RGIMOVV0 during XPRA PHASE ; LEDGER SCENARIOS

    Hello guys, i'm having a problem applying support package EHP3 into an ECC system . some short part of the dump text : Runtime Errors ASSERTION_FAILED Date and Time 17.09.2009 15:05:51 -
    |Short text | | The ASSERT condition was violated. | -
    |How to correct the error | | Probably the only way to eliminate the error is to correct the program. | | - | | | | If the error occures in a non-modified SAP program, you may be able to | | find an interim solution in an SAP Note. | | If you have access to SAP Notes, carry out a search with the following | | keywords: | | | | "ASSERTION_FAILED" " " | | "RGIMOVV0" or "RGIMOVV0" | | "FILL_LEDGER_SCENARIOS" | -
    |Information on where terminated | | Termination occurred in the ABAP program "RGIMOVV0" - in | | "FILL_LEDGER_SCENARIOS". | | The main program was "RGZZGLUX ". | | | | In the source code you have the termination point in line 1724 | | of the (Include) program "RGIMOVV0". | | The program "RGIMOVV0" was started as a background job. | | Job Name....... "RDDEXECL" | | Job Initiator.. "DDIC" | | Job Number..... 15054200 | -
    |Source Code Extract | -
    |Line |SourceCde | -
    | 1694| | | 1695|ENDFORM. " create_add_mov_for_gl_ledger | | 1696| | | 1697|&---- | | 1698|& Form fill_ledger_scenarios | | 1699|&--* | | 1700|* text | | 1701|*--
    * | | 1702|FORM fill_ledger_scenarios USING iv_fieldmovement TYPE feldmodif | | 1703| iv_interface TYPE gl_interface | | 1704| is_t881 TYPE t881 | | 1705| it_ledger_scen TYPE ty_ledger_scen_tab | | 1706| it_scen_fields TYPE ty_scen_fields_tab | | 1707| it_cust_fields TYPE ty_cust_fields_tab. | | 1708| | | 1709| DATA: ls_ledger_scen TYPE fagl_ledger_scen, | | 1710| ls_scen_field TYPE fagl_scen_fields, | | 1711| ls_field_move TYPE fagl_field_move, | | 1712| ls_field_movec TYPE fagl_field_movec, | | 1713| ls_cust_field TYPE fagl_cust_fields, | | 1714| lv_lfieldname TYPE dfies-lfieldname. | | 1715| | | 1716| LOOP AT it_ledger_scen INTO ls_ledger_scen. | | 1717| LOOP AT it_scen_fields INTO ls_scen_field | | 1718| WHERE scenario = ls_ledger_scen-scenario | | 1719| AND interface = iv_interface. | | 1720| READ TABLE gt_field_move INTO ls_field_move | | 1721| WITH TABLE KEY totable = is_t881-tab | | 1722| tofield = ls_scen_field-field | | 1723| interface = iv_interface. | |>>>>>| ASSERT sy-subrc = 0. | | 1725|* co-pa interface table is generated, so first check if field really exists | | 1726| IF iv_interface = gc_copa_interface. | | 1727| MOVE ls_field_move-fromfield TO lv_lfieldname. | | 1728| CALL FUNCTION 'DDIF_NAMETAB_GET' | | 1729| EXPORTING | | 1730| tabname = ls_field_move-fromtable | | 1731| lfieldname = lv_lfieldname | | 1732| EXCEPTIONS | | 1733| OTHERS = 1. | | 1734| CHECK sy-subrc = 0. | | 1735| ENDIF. | | 1736| PERFORM append_field USING ls_ledger_scen-client iv_fieldmovement ls_scen_field-field | | 1737| ls_field_move-fromtable ls_field_move-fromfield ls_field_move-exitname. | | 1738| ENDLOOP. | | 1739| ENDLOOP. | | 1740| | | 1741| LOOP AT it_cust_fields INTO ls_cust_field. | | 1742| READ TABLE gt_field_movec INTO ls_field_movec | | 1743| WITH TABLE KEY totable = is_t881-tab | -
    did someone of you experience a problem of this kind?
    Even performing a local copy I experienced the same and running the program RGIMOVV0 from se38 leads to the same dump. Our development is in stuck .
    Regards to all

    we have deleted three entries from a table cuasing the dump. ALL the entries with to field PROJK .
    Do not know but somone maybe started a project in the ledger scenario that put those entries in the table.
    If you go in spro at the voice" assign ledger scenario" it should lead you to the same dump.
    try !

  • ASSERTION_FAILED with program RGIMOVV0 during XPRA PHASE

    Hello guys,
    i'm having a problem applying support package EHP3 into an ECC system .
    some short part of the dump text :
    Runtime Errors         ASSERTION_FAILED
    Date and Time          17.09.2009 15:05:51
    Short text
    The ASSERT condition was violated.
    How to correct the error
    Probably the only way to eliminate the error is to correct the program.
    If the error occures in a non-modified SAP program, you may be able to
    find an interim solution in an SAP Note.
    If you have access to SAP Notes, carry out a search with the following
    keywords:
    "ASSERTION_FAILED" " "
    "RGIMOVV0" or "RGIMOVV0"
    "FILL_LEDGER_SCENARIOS"
    Information on where terminated
    Termination occurred in the ABAP program "RGIMOVV0" - in
    "FILL_LEDGER_SCENARIOS".
    The main program was "RGZZGLUX ".
    In the source code you have the termination point in line 1724
    of the (Include) program "RGIMOVV0".
    The program "RGIMOVV0" was started as a background job.
    Job Name....... "RDDEXECL"
    Job Initiator.. "DDIC"
    Job Number..... 15054200
    Source Code Extract
    Line
    SourceCde
    1694
    1695
    ENDFORM.                    " create_add_mov_for_gl_ledger
    1696
    1697
    1698
    *&      Form  fill_ledger_scenarios
    1699
    1700
          text
    1701
    1702
    FORM fill_ledger_scenarios  USING  iv_fieldmovement TYPE feldmodif
    1703
    iv_interface TYPE gl_interface
    1704
    is_t881 TYPE t881
    1705
    it_ledger_scen TYPE ty_ledger_scen_tab
    1706
    it_scen_fields TYPE ty_scen_fields_tab
    1707
    it_cust_fields TYPE ty_cust_fields_tab.
    1708
    1709
    DATA: ls_ledger_scen TYPE fagl_ledger_scen,
    1710
    ls_scen_field TYPE fagl_scen_fields,
    1711
    ls_field_move TYPE fagl_field_move,
    1712
    ls_field_movec TYPE fagl_field_movec,
    1713
    ls_cust_field TYPE fagl_cust_fields,
    1714
    lv_lfieldname TYPE dfies-lfieldname.
    1715
    1716
    LOOP AT it_ledger_scen INTO ls_ledger_scen.
    1717
    LOOP AT it_scen_fields INTO ls_scen_field
    1718
    WHERE scenario = ls_ledger_scen-scenario
    1719
    AND interface = iv_interface.
    1720
    READ TABLE gt_field_move INTO ls_field_move
    1721
    WITH TABLE KEY totable = is_t881-tab
    1722
    tofield = ls_scen_field-field
    1723
    interface = iv_interface.
    >>>>>
    ASSERT sy-subrc = 0.
    1725
        co-pa interface table is generated, so first check if field really exists
    1726
    IF iv_interface = gc_copa_interface.
    1727
    MOVE ls_field_move-fromfield TO lv_lfieldname.
    1728
    CALL FUNCTION 'DDIF_NAMETAB_GET'
    1729
    EXPORTING
    1730
    tabname    = ls_field_move-fromtable
    1731
    lfieldname = lv_lfieldname
    1732
    EXCEPTIONS
    1733
    OTHERS     = 1.
    1734
    CHECK sy-subrc = 0.
    1735
    ENDIF.
    1736
    PERFORM append_field USING ls_ledger_scen-client iv_fieldmovement ls_scen_field-field
    1737
    ls_field_move-fromtable ls_field_move-fromfield ls_field_move-exitname.
    1738
    ENDLOOP.
    1739
    ENDLOOP.
    1740
    1741
    LOOP AT it_cust_fields INTO ls_cust_field.
    1742
    READ TABLE gt_field_movec INTO ls_field_movec
    1743
    WITH TABLE KEY totable = is_t881-tab
    did someone of you experience a problem of this kind?
    Even performing a local copy I experienced the same  and running the program RGIMOVV0 from se38 leads to the same dump. Our development is in stuck .
    Regards to all

    Dear sirs -
    Were you able to solve your problem?  We are trying to execute a client copy and cannot finish post processing steps.
    We have a note into SAP as well.
    Brenda

  • Portal Events---WDA view is empty on initialization

    Hello everyone,
    I created a WDA application which will be integrated with Employee Search Iview (provided by SAP).  Everything is working fine...only issue is that when we display the page first time...my WDA view is empty...untill we click on an employee....I want to get the first employee from the list and display his/her info in my WDA view as soon as we open up the page.
    I cannot seem to find any info on which event this Employee search iview triggers in the initialization and what parameters this event passes on.  Is there any documentation on this? I mean list of event trigger by this employee search iview and event names? 
    Once again...when we click on an employee from the list....we are populating the data in WDA view...no problem there....we just want to show data when we first come to the page....same as SAP does for its Employee search iview and general data iview....these iviews are from SAP...and when we put them together...general data iview fetchs the data for the first employee in the list....on initialization....but our WDA view stays empty....
    Thanks...
    J.

    Hi J,
    when we click on an employee from the list....we are populating the data in WDA view...no problem there....we just want to show data when we first come to the page.
    conceptually you need to place method in WDDOINIT of default view in your  WD4A application and try to read the first element of the employee list. This would be little different than reading the employee data from event, may be you can have some method in the ASSISTANCE class that attached to your WD Application that can read employee, data as soon as there is one available .
    Greetings
    Prashant

  • CALL a report from WDA using SUBMIT to sap-spool

    Hi,
    I need to call a report from one of the methods of a WDA application.
    The out of this report is a sapscript. I want show it in WDA (PDF).
    The report is called when a user clicks EXECUTE button.
    The piece of the code is:
      call function 'GET_PRINT_PARAMETERS'
        exporting
          immediately            = 'X'
          new_list_id            = 'X'
          no_dialog              = 'X'
          receiver               = sy-uname
          release                = 'X'
          sap_cover_page         = 'X'
        importing
          out_archive_parameters = t_arcpar
          out_parameters         = t_pripar
          valid                  = i_valid
        exceptions
          archive_info_not_found = 1
          invalid_print_params   = 2
          invalid_archive_params = 3
          others                 = 4.
          submit hbrcced0
                          with pnppernr-low eq i_pernr
                          with pnpbukrs-low eq t_p0001-bukrs
                          with pnpbegda     eq i_begda
                          with pnpendda     eq i_endda
                          with p_expot      eq ''
                          with ano          eq v_gjahr
                          with respcc       eq v_sachn
                         to sap-spool
                         spool   parameters t_pripar
                         archive parameters t_arcpar
                         without spool dynpro
                         and return.
        if sy-calld eq ''.
          message 'err' type 'E'.
        else.
    If i execute this code in WDA, the sy-calld never is equal 'X'.
    But if i execute it in program (SE38) the sy-calld is 'X'.
    How i can call the program 'hbrcced0' in WDA ?
    Cheers,
    Silvio Galery

    Hi Silvio,
    a submit REPORT to spool does work from WDA.
    ONLY when "and return" is used.
    You have that, so it should work.
    Note you had print immediate on, so it will be output on printer,
    and not available to read after the call.
    (which option was the keep after print?, I would have to check docu)
    The sy-calld will be set to X  inside the REPORT when it is running.
    After the submit has run back inside WDA it is of course reset to space again.
    Cheers
    Phil.

  • How Can I deploy a .WDA file into MSS

    Hi Everybody,
    We have a problem with leave issue and SAP has provided a new EAR file i.e. sap.commssato.ear.
    They said that we need to take a back up of existing mss~ato before we deploy this new .EAR file.  But when we checked in the portal server, we can see only a .WDA file, but not an .EAR file. Now, i don't know how to deploy a .wda file using SDM. If some thing goes wrong with the new file(.ear file supplied by SAP), we have to re deploy the old file.  I learnt that we can only deploy EAR, SCA and SDA file files to the server using SDM.  Please explain me what should i do now.
    Thank so much in Advance.
    Kind Regards,
    Rao

    Hello Nagarjuna,
    Can you provide more inputs on this? Have you been able to solve it?
    If so, please contribute with the solution for the community.
    Regards,
    Bentow.

  • To get selected cell info in table for WDA.

    i'm developping in netweaver2004s.
    a view has a table and a button.
    another view has input fields.
    i want to get cell info(selected field name not value)
    so i use that info in another view.
    i want to know same command 'GET CURSOR' in WDA.
    please let me know that method.

    Hi,
    You can specify the importing parameter ID as type string in the action handler of the button. It will contain the ID of the button.
    Best regards,
    Thomas

  • Open iview url in WDA main view (below some long text)

    Hi Experts,
    My WDA first page is divided into 2 parts top & bottom.
    The top will have some text and bottom will have a display areas to display the portal iview. (Display means open iview directly on opening the first page of the application without any action)
    Eg: when you open the WDA in IE it will display some text in top & google webiste opened below that long text.
    I tried putting the google url in iframe source in main view but it didnt displayed it. only a blank area came displayed which was of iframe size.
    Hope i explained my requirement.
    Regards,
    Nik

    Hi Nikhil,
    Your requirement is clear, but displaying google page where did you write the code.
    Write your code in the View or component controller->WDINIT method, then first this method will display without any action.
    In the Layout you can divide into two parts one is for text another one is for the google site display.
    Let me know if you are not able to fix the issue still...send me the code I will let you know where is an issue.
    Regards,
    Naresh.

  • Doubt in wda

    Hi Experts,
    How to get the current clicked row value from  a table in WDA when my lead selection is selected on
    another row.

    Hi,
    use the following code,
    data: l_node type ref to if_wd_context_node.
    data: l_elem type ref to if_wd_context_element.
    data: l_index type i.
    l_node = wd_context->get_child_node( 'NODENAME' ).
    i = l_node->get_lead_selection_index( ).
    l_elem = l_node->get_lead_selection( ).
    l_elem->get_static_attributes( importing static_attributes = ls_stru ). " contents of the selected row
    Kindly ask WDA related Qs in Webdynpro ABAP forum
    Radhika.

  • ASSERTION_FAILED when Activate a DTP

    I got an error message when trying to activate a DTP. Does anyone know how to fix it? Thanks!
    Runtime Errors         ASSERTION_FAILED
    Date and Time          03/27/2007 14:29:57
    Short dump has not been completely stored (too big)
    Short text
         The ASSERT condition was violated.
    What happened?
         In the running application program, the ASSERT statement recognized a
         situation that should not have occurred.
         The runtime error was triggered for one of these reasons:
         - For the checkpoint group specified with the ASSERT statement, the
           activation mode is set to "abort".
         - Via a system variant, the activation mode is globally set to "abort"
           for checkpoint groups in this system.
         - The activation mode is set to "abort" on program level.
         - The ASSERT statement is not assigned to any checkpoint group.
    Error analysis
         The following checkpoint group was used: "No checkpoint group specified"
         If in the ASSERT statement the addition FIELDS was used, you can find
         the content of the first 8 specified fields in the following overview:
         " (not used) "
         " (not used) "
         " (not used) "
         " (not used) "
         " (not used) "
         " (not used) "
         " (not used) "
         " (not used) "
    Trigger Location of Runtime Error
         Program                                 CL_RSAR_PSA===================CP
         Include                                 CL_RSAR_PSA===================CM006
         Row                                     152
         Module type                             (METHOD)
         Module Name                             UPDATEDIRECTORY_TABLES
    Source Code Extract
    Line  SourceCde
    122               i_uni_idc25       = l_codeid
    123               i_program_class   = 'RSAR_ODS_MAINTAIN'
    124             EXCEPTIONS
    125               deletion_rejected = 2
    126               OTHERS            = 3.
    127         ENDIF.
    128       ENDIF.
    129       UPDATE rstsods SET tstpnm   = sy-uname
    130                 timestmp  = l_s_ods-timestmp
    131                 userapp   = p_userapp
    132                 userobj   = p_userobj
    133                 maintprog = ''
    134            WHERE odsname = l_s_odsfield-odsname
    135            AND   version = l_s_odsfield-version.
    136       IF sy-subrc = 0.
    137         IF i_partitioned = rs_c_true.
    138 *--   Entry could exist but includes no partition number,
    139 *     because the PSA was not partitioned before
    140           l_tablnm = p_psa_techname.
    141
    142           CALL FUNCTION 'RSDU_PARTITIONS_INFO_GET'
    143             EXPORTING
    144               i_tablnm              = l_tablnm
    145             IMPORTING
    146               e_ts_part_info        = l_ts_part_info
    147             EXCEPTIONS
    148               table_not_exists      = 1
    149               table_not_partitioned = 2
    150               OTHERS                = 3.
    151
    >>>           ASSERT sy-subrc = 0.
    153
    154           DESCRIBE TABLE l_ts_part_info LINES l_num_partitions.
    155           READ TABLE l_ts_part_info INDEX l_num_partitions INTO l_s_part_info.
    156           l_highest_partvalue = l_s_part_info-high_value.
    157
    158           UPDATE rstsods SET partno  = l_highest_partvalue
    159             WHERE odsname = l_s_odsfield-odsname
    160             AND   version = l_s_odsfield-version.
    161
    162         ENDIF.
    163       ELSE.
    164 *       create new version
    165         l_s_ods-odsname       = l_s_odsfield-odsname.
    166         l_s_ods-version       = i_next_version.
    167         l_s_ods-dateto        = rsods_c_dateto_01019999.
    168         l_s_ods-datefrom      = rsods_c_datefrom_01011998.
    169         l_s_ods-objstat       = rs_c_objstat-active.
    170         l_s_ods-odsname_tech  = p_psa_techname.
    171         l_s_ods-progname      = i_progname.

    I guess it is Notes 1012607.
    Summary
    Symptom
    Note: This note is relevant only for 'ORACLE' and 'MSSQL' database systems. After you implement this note, you must also carry out some manual corrections (see 'Solution', below).
    If you are working with database system DB2 or MSSQL, also implement Note 1022026.
    When data is written or activated or when a DataStore object is activated, the following errors occur:
    Similar errors may also occur for the DataSource and data transfer process (DTP).
    ORA-01502: index 'SAPDAT./BIC/A*KE' or partition of such index is in unusable state
    Column 'PARTNO' is partitioning column of the index '/BIC/A*KE'. Partition columns for a unique index must be a subset of the index key.
    error #RSDU_TABLE_TRUNC_PARTITION_MSS: Error While Calling Module MSS_TRUNC_PARTITION_FROM_TABLE Message no. 0U534#.
    <b>ASSERTION_FAILED in class 'CL_RSAR_PSA'.</b>
    Error message D0 313 in the activation log. The message does not contain any text. In the activation log it is displayed as an empty line with a red traffic light.
    Other terms
    DBIF_RSQL_SQL_ERROR, D0 313, D0313
    Reason and Prerequisites
    Reason:
    The partitioning logic of the persistent staging area (PSA) service does not recognize that the PARTNO field must not be deleted.
    For write-optimized DataStore objects, the active table is created as a partitioned table, even though a global index is used to ensure uniqueness of data. This is not compatible with the 'drop of a partition'.
    In the DataSource maintenance, you have the option to define key fields. For the first 16 key fields of the DataSource field list, a global index is also created.
    If 'semantic groups' are used in the DTP, the error stack is created with a global index.
    Solution
    Implement the corrections by importing the Support Package or by implementing the advance correction. As a result, the 'range' partitioning is deactivated in the PSA service as soon as a global index is requested.
    The error can occur for the objects: DataStore (only the write-optimized type), DataSource, and error stack of the DTP.
    This note contains the 'RSAR_PSA_PARTITION_CHECK' program, which you can use to analyze the objects. Execute the program. Use the search strings listed in section 5), depending on whether you want to analyze individual objects or object types. If you do not make an entry in the PODSTECH field (technical name of the PSA), the system checks all existing PSA tables, which may take some time.
    You can use transaction SLG1 to display the log for 'RSAR_PSA_PARTITION_CHECK'. Select the following:
               Object        = 'RSAR'
    Subobject   = 'METADATA'
    Ext. Identif. = 'RSAR_PSA_PARTITION_CHECK'
    You must make different manual changes to repair each of the different object classes.
    1) DataStore (write-optimized)
    Incorrect DataStores are identified in the log of the check program with the PSA type 'FASTSTORE'. The name after 'Obj:' is the technical name of the corresponding DataStore object.
    For a DataStore object of the 'write-optimized' type, a global index with relation to the semantic key is created if the 'Do Not Check Uniqueness of Data' indicator is not set.
    Check if you need to ensure that data is unique in your scenario.
    1. If you do not need the data to be unique:
                        Set the flag: 'Do Not Check Uniqueness of Data', and activate the DataStore object. The DataStore object is now consistent again.
    2. If you need unique data:
    In this case, you must departition and convert the table.
    If the error occurred when you activate the DataStore itself or when you activate the data, you must activate the DataStore object after converting the active table. You need the technical name of the active table for the conversion. You can get this directly from the log of 'RSAR_PSA_PARTITION_CHECK'. If you know which DataStore contains errors, find the technical name of the active table in the Maintain DataStore screen by choosing:
               <Extras> ->
              'Information (logs/status)
    Choose 'Dictionary DB status' to access the status POPUP. You can find the technical name in the 'Active table' field.
    If the table does not contain any data according to the 'RSAR_PSA_PARTITION_CHECK' log, the table is automatically departitioned when you activate the DataStore.
    If the table contains data, you must departition and convert the table as described in section 4.
    After that, use the AdminWorkBench (transaction RSA1) to activate the DataStore object.
    2) DataSource:
    Incorrect DataSources are identified in the log of the check program with the PSA type 'NEW_DS'. The 'Obj:' indicator  is followed by two additional character strings. The first is the technical name of the relevant DataSource. The second is the technical name of the source system.
    PSA tables for DataSources with a key definition must be departitioned.
    The name of the PSA table for the DataSource is contained directly in the 'RSAR_PSA_PARTITION_CHECK' log.
    If the table does not contain any data according to the 'RSAR_PSA_PARTITION_CHECK' log, the table is automatically departitioned when you activate the DataStore.
    If the table contains data, you must departition and convert the table as described in section 4.
    Call transaction 'RSDS' and enter the technical name of the DataSource and the source system and activate the DataSource.
    3) Error stacks for the DTP:
    Incorrect Error Stacks are identified in the log of the check program with the PSA type 'ERRORSTACK'. The 'Obj:' indicator  is  followed by the technical name of the relevant DTP. There may be more than one error stack table for each DTP.
    PSA tables for ErrorStack with a key definition must be departitioned.
    The name(s) of the PSA Error Stack table(s) for the DTP is/are contained directly in the 'RSAR_PSA_PARTITION_CHECK' log.
    If the table does not contain any data according to the 'RSAR_PSA_PARTITION_CHECK' log, the table is automatically departitioned when you activate the DTP.
    If the table contains data, you must departition and convert the table as described in section 4.
    Now call transaction RSDTP, enter the technical name of the DTP and activate the DTP.
    4) Departitioning and converting
    The following manual conversion using transaction SE14 is supported only for ORACLE database systems. Open a problem message under component BW-SYS-DB-MSS if you need to convert tables on a MSSQL database system.
    Call transaction SE14 (Database Utility) for the tables you need to convert. Select 'Table', enter the technical name of the table and choose 'Edit'.
    On the next screen, choose 'Storage Parameters' (Shift+F6).
    On the next screen (Storage Parameters), choose 'For new creation' (F8).
    In the dialog box that then appears, select 'Current database parameters' and copy it by choosing 'Enter'.
    You now get an overview of the storage parameters <Tables>, <Indexes> and existing <Partitions>.
    Under the 'Table' node, if the content of the 'TABLESPACE' field is initial, enter the value from the 'TABLESPACE' field of the first partition.
    For the field 'PARTITIONED BY', choose the option 'No partitioning' and save your changes.
    Exit the screen with the storage parameters.
    On the next screen, ensure that the 'Save data' radio button after 'Activate and adjust database' is selected, then execute the conversion. You execute the conversion by choosing 'Force Conversion' in the <Extras> menu.
    Next, you must correct the PARTNO indicator in table RSTSODS. To do this, call transaction RSRV and execute the test 'Consistency Between PSA Partitions and SAP Administration Information'. You can find this test in transaction RSRV under
    <All Elementary Tests>
                 -> <PSA Tables>
    You can execute the RSRV test and repair for all converted tables at once. For further information about how to use transaction RSRV in this case, see the online documentation. You can call the online documentation by choosing the 'Info' icon.
    5) Search strings:
    a) Use the search string '/BI+/B*' to find the relevant entries for the DataSource, the change logs and the error stack.
    b) Use the search string '/BI+/A*00' to find the relevant entries in the active tables for the DataSource objects.
    SAP NetWeaver 2004s BI
               Import Support Package 13 for SAP NetWeaver 2004s BI (BI Patch 13 or SAPKW70013) into your BI system. The Support Package is available once Note 991093 "SAPBINews BI 7.0 Support Package 13", which describes this Support Package in more detail, has been released for customers.
    In urgent cases, you can implement the correction instructions as an advance correction.
    You must first implement Notes 932065, 935140, 948389, 964580, 969846, 975510, 983212 and 1000448, which provide information about transaction SNOTE. Otherwise, problems and syntax errors may occur when you deimplement certain notes.
    To provide information in advance, the notes mentioned above may already be available before the Support Package is released. In this case, the short text of the note still contains the words "Preliminary version".
    Before you implement an advance correction (if one exists and you want to implement it), see Note 875986. This contains notes regarding the SAP Note Assistant and these notes prevent problems during the implementation.

  • WDA personalization error while creating a TR

    Hi All,
    Recently we have been doing some WDA Personalization by hiding a few fields on the WDA screens.
    However, today while doing same thing for WDA HRASR00_PERSONNEL_FILE... everything is fine until you try to create a new TR.
    From the drop down box when we select "Create a New TR" and say OK.. there is an error message displayed in the WDA screen as "Configuration 45FBD8A08069AF690DC6FD1ED096A36607 s"
    We dont know what exactly is going on and not able to figure out the same.
    Can anyone please help us?
    Do let me know if you require other details.
    Cheers,
    Kunjal

    Still Unsolved...

Maybe you are looking for

  • FF 3.6.15 works great, but FF 4.0 crashes/locks after hardware upgrade?

    FF4 worked great on my old system (starting with b.11) but not on my new one. It fails in normal mode as well as safe mode, and on the rare occasion that it runs longer than a second, it locks up so that I have to use the task manager to close it. I

  • Laptop's internal MIC is not working

    My laptop's internal MIC is not working. I tried updating my audio driver to the latest version. But te problem remains the same. I also tried to record using SOUND RECORDER. But from that recorded sound, I am getting like an HISSING sound. Now I hav

  • JTextFiled behaving Strangely

    Hi all An interesting thing is happening with the textfiled I added to the main frame. Under windows everything is fine and I can edit the text I enter into the text field. But under HP-UNIX it does not let me edit the text I enter into the text fiel

  • Comparing analysis authorization

    Hello BI fans, is there any tool or transaction to compare 2 analysis authorizations? Maybe similar to transaction S_BCE_68001777 (comparisons of roles). I have to compare many analysis authorization. And it takes a long time to double click on every

  • Default embedded fonts in Reader

    Hi everyone, I read somewhere (but I can't find the link) that Adobe Reader (and by extension Acrobat Pro I presume) will always embed certain fonts in their "core" so that we don't have to embed those common fonts while creating a pdfa. I'm pretty s