Netui:Checkboxoption, set checked without javascript

I am working on weblogic 8 portal and attempting to set the checkboxoption to checked when the page initially renders with the following code with style=(quotes) checked:true (quotes), sorry if i'm typing (quotes) since it's emptying it out on the forum.
<netui:checkBoxGroup dataSource="{pageFlow.displayDocuments}">
<%
if (pageContext.getAttribute("isDocumentExposedToInternet").toString().equalsIgnoreCase("true")) {
%>
<netui:checkBoxOption value="{container.index}" tagId="chkBox" style=(quotes) checked:true (quotes) onClick="setRdoValue(this)">TRUE</netui:checkBoxOption>
<%
} else {
%>
<netui:checkBoxOption value="{container.index}" tagId="chkBox" style=(quotes) checked:true (quotes) onClick="setRdoValue(this)">FALSE</netui:checkBoxOption>
<%
%>
</netui:checkBoxGroup>
does anyone know if this is the only way to set the checkbox value? I can't really do it with javascript since i need an onclick event to access it and i need this to be checked when the page initially renders.
thanks in advance.
Edited by: user12959394 on May 21, 2010 7:21 AM
Edited by: user12959394 on May 21, 2010 7:22 AM
Edited by: user12959394 on May 21, 2010 7:22 AM

Hi
This is the code snippet I have that is working fine and checking the check boxes values properly.
<netui:checkBoxGroup dataSource="actionForm.credTechHighFreq" orientation="vertical">
     <c:forEach items="${sessionScope.GRACE_LOOKUPS['Credential_High Frequency']}" var="eachHighFreq">
          <%-- workshop:varType="com.hid.iod.forms.IoDLookUpForm" --%>
               <netui:checkBoxOption value="${eachHighFreq.iodLookUpId}">${eachHighFreq.codeDescription}</netui:checkBoxOption>
     </c:forEach>     
</netui:checkBoxGroup>
In above code sniippet, I have actionForm.credTechHighFreq that stores the IDs of the selected checkbox. I can check multiple checkboxes. this is the variable I have in my Form class.
private long[] credTechHighFreq;
The checkboxOptions are retrieved from a session variable, which is kind of lookup value which has like Id and Desc. Desc is what I show on screen. Id is the one behind the screens.
So when I retireve this data and open the page for the very first time, if my datasource [] is having say like 1, 3, 5, these 3 checkboxes are checked.
NOW if you want to have default values, then you need to fill the datasource [] list say with like 1, 3. So these are like default. Do this only if the list is empty. Infact I do this by adding alwasy [0] and the value wil lbe like "Please Select".
For CheckBox or RadioButton, or SelectBoxes, always there will be like a Key/Value Pair. Like what we see next to checkbox and when we checkit or uncheckit, the datasource that is behind this visible value. Using style attribute is not the right way and may not work also. style attribute is used only for css stuff like for look and feel stuff only. You are iterating through "pageFlow.displayDocuments" and what is the object like datatype for each of these objects. Those should have like key/value paris.
Inside a checkboxgroup, when we check any Checkbox (for now lets assume we can check only one), then the checked behind id value is what stored in the datasource attribute for checkBoxGroup. Incase if you can check multiple checkboxes, then the datasource will be Array/List of selected items.
Incase if you can check only one option like True or False, instead of CheckBox use Radio Button.
HTH
Ravi Jegga

Similar Messages

  • Where is the tools on mozilla bcos i ned to check that javascript is enabled bcos i cant download adobe flash player without it

    i am trying to find the tools icon on my mozilla web browser bcos it wont let me download adobe flash player and ive donethe troubleshooting and i need to find the tolls to see if my javascript is enabled in order to download adobe flash player.can u help asap

    Have you got the NoScript add-on installed? That deals with turning on Javascript on a per site basis (it disables Javascript but you can enable it for chosen sites). If you have, then you'll need to change it so that either NoScript allows adobe.com or you can temporarily allow the site (right-click on the NoScript icon to change). Anyway, the NoScript website will have further help if this is the problem.
    If you don't have this add-on installed, then we'll need to check whether a setting in about:config has changed. about:config is Firefox's advanced configuration tool (so be careful). Open a fresh tab, enter "about:config" (no quotes) into the address bar, click the warning button (there be dragons), then enter "javascript.enabled" (no quotes) into the search bar of about:config, which should find the relevant setting. If Javascript is running, then its value should be set to true. If it's set to false, then you'll need to double-click the entry (or right-click and select toggle) to set it to true to enable Javascript.

  • Two days ago two of the forum I use stopped working as they did. Google Chrome can open these sites without problem. I have checked that Javascript is working. What can I do to get the sites back to the way they were?

    Two days ago two forums I regularly use stopped working properly. One of them is www.mobileread.com, and the main problem is with marking the forums read. The staff there suggested that I check that Javascript is enabled. It is, but the problem remains.
    The other site just looks as though there is no styling on the index page; it just shows a list of links.
    I can use both sites with Google Chrome just as I did before, so it has to be a problem with Firefox.
    There are many other sites I visit, and I have not had the same problem there.

    For the one with a styling problem, see what you have for View > Page Style
    the normal style is default and "No Style" would wipe out styling but in this area it would apply to all pages.
    I don't know of an extension that would selectively turn page styling or off, but look at your extensions.
    Both problems could be caused by filters added to "Adblock Plus" extension.
    Bring up "Open blockable items [Ctrl+Shift+V]" in ADP by right-clicking on the toolbar/addons bar icon or in the add-on's options. See what is being blocked and the filter that is blocking it. You can easily test filters there and turn them on/off and retest. You can see the filter that is blocking an item, you can use the mouse to see where that filter came from. Choices of what columns to display can be made with the little icon to the right of the column headings in the list.
    Attached is a picture of blockable items I see for the www.mobileread.com page. To view a page that you need to view or use, you can try modifying your filters or toggling the "State" column (preferred). You can disable Adblock Plus from the extensions options but that defeats the protection it offers.
    If seems that the problem would be an extension, or a style, or theme.

  • OO ALV validation check without event DATA_CHANGED and results via popup

    Hi Gurus,
    I'm working on SAP ECC 6.0 and I'm facing a problem during the ALV validation check. My requirement is to show an ALV with one editable field. In addition I have to pre-initialize this field in order to give a reference value to the user, but this is not always correct, or better, this field represent the maximum amount available, but, because of other validation checks, this field is not always correct (and it's ok, it's not a problem), and if it is greater than another amount I have to display an error.
    I was thinking about catching the event DATA_CHANGED and do the checks inside of it. It works but not completely, because if the user do not change anything the event is not raised and I cannot do my checks.
    My solution is to do the checks without catching the DATA_CHANGED event and display the errors in a separate popup window.
    The checks are ok, but I have problems during the displaying of the results: I would like to use the class CL_ALV_CHANGED_DATA_PROTOCOL in order to display the errors, I tried creating the Object:
      Data: go_Error Type Ref To CL_ALV_CHANGED_DATA_PROTOCOL.
      Create Object go_Error
        Exporting
    *      i_container =
          i_calling_alv = go_0200_Alv
    giving it a reference to the ALV (the go_0200_Alv is my CL_GUI_ALV_GRID object).
    Then I did many Call Methods to the Add_Protocol_Entry to add the message in the protocol and then display them calling the Display_Protocol Method of my "go_Error".
    The Popup is shown and the "links" to the ALV are correct (if I double click a message it selects the corresponding row of the ALV, but (and it's my problem) I cannot see the Description of the Column with the error: the popup window is an ALV grid itself with 3 columns ("Message Type", "Name of the Column" and "Message Text") where I can see correctly the Message Type and the Message Text but not the name of the column.
    Debugging the code I found that If I catch the event, the parameter er_Data_Changed (the class CL_ALV_CHANGED_DATA_PROTOCOL) is filled with some other informations like Modified Rows and other attributes like FieldCatalog, Row-ID, so I thought the problem was related to that, and that's why I replicated the whole case in my processing, filling every table I would see if I use the "standard way" for validation. Bu it didn't correct the error. I still don't see the name of the Column.
    This is my code, it's only the part interested, If you need other informations, please ask me and I will copy them.
    form CHECK_ALV_0200_0110 Changing pc_Error Type Char01.
      Data: lt_MatchK1 Type tp_Matches1_Key_t,
            l_Message  Type Char100,
            l_MessX    Type String,
            l_QtaRes   Type ZDM_AMT_ASSIGNED,
            l_QtaAcc   Type ZDM_AMT_ACCRUED,
            l_QtaStep  Type ZDM_AMT_ASSIGNED.
      Field-Symbols: <fs_Table>    Type Standard Table,
                     <fs_Master>   Type Standard Table,
                     <fs_Mod_Cell> Type LVC_S_MODI,
                     <fs_Line>     Type Any,
                     <fs_Field>    Type Any,
                     <fs_Any>      Type Any.
      Data lt_Matches_Alv_Mod Type tp_Matches1_Alv_t.
      Data ls_Modi Type LVC_S_MODI.
      Data: l_Row_ID Type I,
            l_Tabix  Type I.
      Field-Symbols: <fs_Match_ALV> Type tp_Matches1_Alv_s.
      Free go_Error.
      CREATE OBJECT go_Error
        EXPORTING
    *      i_container =
          i_calling_alv = go_0200_Alv
    * Validation Checks
      Clear pc_Error.
      Clear ls_Modi.
      Loop At gt_Matches1_Alv Assigning <fs_Match_ALV>.
        l_Tabix = Sy-Tabix.
        Check <fs_Match_ALV>-Status Eq con_Status_Temp.
    *   Set the Modified Row for the CL_ALV_CHANGED_DATA_PROTOCOL object
          Append <fs_Match_ALV> To lt_Matches_Alv_Mod.
          Add 1 To ls_Modi-Row_Id.
          ls_Modi-FieldName = 'AMT_DEDUCTED'.
          Write <fs_Match_ALV>-Amt_Deducted To ls_Modi-Value Currency <fs_Match_ALV>-Waers.
          Condense ls_Modi-Value No-Gaps.
          ls_Modi-Tabix = l_Tabix.
          Append ls_Modi To: go_Error->mt_Mod_Cells,
                             go_Error->mt_Good_Cells.
          l_Row_ID = ls_Modi-Row_Id.
        Clear l_Message.
        If <fs_Match_ALV>-Amt_Deducted Eq 0.
          pc_Error = con_X.
          CALL METHOD go_Error->Add_Protocol_Entry
            EXPORTING
              i_msgid     = 'ZDMV'
              i_msgty     = 'E'
              i_msgno     = '005'
    *          i_msgv1     =
    *          i_msgv2     =
    *          i_msgv3     =
    *          i_msgv4     =
              i_fieldname = 'AMT_DEDUCTED'
              i_row_id    = l_Row_ID
    *          i_tabix     =
          Continue.
        EndIf.
        Case g_Dynnr.
          When '0110'.
            Perform Get_ResQtaDispute1 Using lt_MatchK1
                                             <fs_Match_ALV>
                                       Changing l_QtaRes.
            Perform Get_ResQtaAccrued1 Using <fs_Match_ALV>
                                       Changing l_QtaAcc.
    *      When '0111'.
    *        Perform Get_ResQtaDispute2 Using lt_MatchK2
    *                                         <fs_Match_ALV>
    *                                   Changing l_QtaRes.
    *        Perform Get_ResQtaAccrued2 Using <fs_Match_ALV>
    *                                   Changing l_QtaAcc.
        EndCase.
        Add <fs_Match_ALV>-Amt_Deducted To l_QtaStep.
        If l_QtaStep > l_QtaRes.
    *     Store the Error
          pc_Error = con_X.
          Write l_QtaRes To l_Message Currency <fs_Match_ALV>-Waers.
          Condense l_Message No-Gaps.
          CALL METHOD go_Error->Add_Protocol_Entry
            EXPORTING
              i_msgid     = 'ZDMV'
              i_msgty     = 'E'
              i_msgno     = '002'
              i_msgv1     = l_Message
    *          i_msgv2     =
    *          i_msgv3     =
    *          i_msgv4     =
              i_fieldname = 'AMT_DEDUCTED'
              i_row_id    = l_Row_ID
    *          i_tabix     =
        EndIf.
        If l_QtaStep > l_QtaAcc.
    *     Store the Error
          pc_Error = con_X.
          Write l_QtaAcc To l_Message Currency <fs_Match_ALV>-Waers.
          Condense l_Message No-Gaps.
          CALL METHOD go_Error->Add_Protocol_Entry
            EXPORTING
              i_msgid     = 'ZDMV'
              i_msgty     = 'E'
              i_msgno     = '002'
              i_msgv1     = l_Message
    *          i_msgv2     =
    *          i_msgv3     =
    *          i_msgv4     =
              i_fieldname = 'AMT_DEDUCTED'
              i_row_id    = l_Row_ID
    *          i_tabix     =
        EndIf.
      EndLoop.
      If pc_Error Eq con_X.
    *   If there was at least one error, Display the Popup
        go_Error->mt_FieldCatalog[]   = gt_0200_FCat[].
        go_Error->ms_Layout-Zebra     = con_X.
        Get Reference Of lt_Matches_Alv_Mod[] Into go_Error->Mp_Mod_Rows.
        CALL METHOD go_error->display_protocol
    *      EXPORTING
    *        i_container        =
    *        i_display_toolbar  =
    *        i_optimize_columns =
      EndIf.
    EndForm.
    Do you know if there is a particular issue about that? Or, maybe, I'm doing something wrong...
    Please help me
    Regards,
    Claudio
    Edited by: Claudio Distrutti on Oct 31, 2008 12:38 PM

    Hello Claudio
    Nobody prevents you from calling your event handler method go_grid->HANDLE_DATA_CHANGED directly!
    What do I mean with that?
    I assume you are calling method go_grid->CHECK_CHANGED_DATA at the beginning of the PAI module to catch any changes from the editable ALV grid. Within the event handler method you do your validation and send the error popup if necessary.
    Now when the user closes the error popup and pushes e.g. the SAVE button then I can happen that method HANDLE_DATA_CHANGED does not trigger event DATA_CHANGED because nothing was indeed changed on the ALV grid. Yet the invalid value is still there.
    However within the FORM routine for saving the data you can just call your event handler method directly:
    FORM save_data.
    CALL METHOD go_grid->handle_data_changed
        EXPORTING
    *      er_data_changed =
          e_ucomm = 'SAVE'.
    ENDFORM.
    Now within your event handler method you always know when the method was called because if method CHECK_CHANGED_DATA triggers event DATA_CHANGED the IMPORTING parameter ER_DATA_CHANGED is bound whereas it is empty when the method is called from your SAVE routine.
    METHOD handle_data_changed.
      DATA: lo_log   TYPE REF TO CL_ALV_CHANGED_DATA_PROTOCOL.
        IF ( er_data_changed IS BOUND ).
          lo_log = er_data_changed.
        ELSE.
          CREATE OBJECT lo_log.
        ENDIF.
    " Do the validations and send error log if necessary
      lo_log->DISPLAY_PROTOCOL( ).
    ENDMETHOD.
    Regards
      Uwe

  • Setting styles with javascript

    getelementby('id').setAttribute lets you change a HTML objects attributes
    However the style attirubute (getelementby('id').setAttribute("style","value goes here")); actually contatins many settings in what javacript sees as a single attribute.
    as a result everytime i change a style setting with this i have to re-insert all of the other styles.
    this is inconvinient at best.
    and at worst means i have to store all of the set styles as javascript attributes and re-insert the whole lot.
    is there another way of doing this
    so that i can add or delete styles without the rest of the set styles being affected?

    function(){return A.apply(null,[this].concat($A(arguments)))}
    I_Know_Nothing_at_all wrote:
    I'm confused. Are you using the getElementby to write or set an individual style for multiple elements all over a page?
    I use it to set a style for an element or elements where the style is dependant on some other factor, or has to be changed in responce to an event.
    CSS alone cant do this because it does not have event listenters (except for psudo events such as :hover) cannot detect the styles and setting of anything (except for media rules) and does not have any sort of evaluative functions such as IFs, CASEs and basic arithmetic.

  • How to use spell checker without mouse?

    Hi,
    how to use spell checker without mouse?
    And how to quickly change between languages related to documents, and be able to quickly get back to the main language setting that should be the default for the system?

    And how to quickly change between languages related to documents
    If you are talking about input keyboards, this is controlled by shortcuts that are explained at the top right of system prefs/language & text/input sources.

  • ProC semantic checking without db connection, how to handle views.....

    Hello!
    We would like to run ProC with sqlcheck=semantics without connecting to a database..
    To do this we insert an
    EXEC SQL INCLUDE definitions.pc;
    in each of our source files containing embedded sql. The file definitions.pc contains
    a set of statements of the form "EXEC SQL DECLARE xxx TABLE ( .... );". This file
    is generated from another file containing "CREATE TABLE" statements.
    This seems to work, if our embedded SQL does not agree with the table definitions in definitions.pc then ProC complains.
    We would now like to get semantic checking for embedded SQL that refers to views
    but are unsure how to achieve this. There does not seem to be a statement "EXEC SQL DECLARE xxxx VIEW".
    One way to "cheat" would be to add "EXEC SQL DECLARE xxx TABLE" statements to definitions.pc for each view in the database. Writing a tool that translate a set of
    "CREATE TABLE" into a set of "EXEC SQL DECLARE TABLE" is easy, but translating
    "CREATE VIEW" into a corresponding faked "EXEX SQL DECLARE xxx TABLE" seems much harder.
    Is there a way to achieve semantic checking without connecting to a database or
    without writing a tool that parses full "create view" statements?
    Thanks,
    Lars

    There is a forum for OCI and OCCI. Please post your questions where they are on-topic.

  • Displaying a wait page without javascript/ meta refresh

    I am using JSPs with struts 1. I wanna show a wait page after submitting the form until it process.
    But in my case i wanna do it without javascripts or meta refreshes. any idea?

    ruwanin84 wrote:
    As far as I know, meta -refresh is not that much recommended.Please elaborate and prove. This makes really no sense to me.
    any way that's my last option. do you have any idea of checking the token?That's just a toggle in the request/session on which the server side code can intercept. This still require a request being invoked by the client.

  • How to set check box in alv

    Hello Sir,
      I am Developing One Report In ALV, But  I want One Column Of ALV Should Be In Checkboxes .How Can I set Check Box In Field Catalog.
    Plz Help Me.

    hi,
    Try like this.
    *& Report  ZTEST_ALV
    REPORT  ztest_alv.
    TYPE-POOLS
    TYPE-POOLS: slis. " Type pool for ALV
    Tables
    TABLES: vbak, vbap.
    INTERNAL TABLES
    DATA: BEGIN OF g_t_itab OCCURS 0,
    sel TYPE c,
    vbeln LIKE vbak-vbeln,
    erdat LIKE vbak-erdat,
    vbtyp LIKE vbak-vbtyp,
    vkorg LIKE vbak-vkorg,
    vtweg LIKE vbak-vtweg,
    spart LIKE vbak-spart,
    netwr LIKE vbak-netwr,
    kunnr LIKE vbak-kunnr,
    END OF g_t_itab.
    DATA: BEGIN OF g_t_item OCCURS 0,
    vbeln LIKE vbap-vbeln,
    posnr LIKE vbap-posnr,
    matnr LIKE vbap-matnr,
    arktx LIKE vbap-arktx,
    END OF g_t_item.
    Data fields used for ALV call - simple list
    DATA : g_f_repid LIKE sy-repid.
    DATA : g_t_fieldcat TYPE slis_t_fieldcat_alv.
    DATA : g_r_fieldcat TYPE slis_fieldcat_alv.
    DATA : g_t_events TYPE slis_t_event.
    DATA : g_r_events TYPE slis_alv_event.
    DATA : g_r_layout TYPE slis_layout_alv.
    DATA : g_r_x_variant LIKE disvariant.
    DATA : g_r_variant LIKE disvariant.
    DATA : g_f_exit(1) TYPE c.
    DATA : g_f_save(1) TYPE c.
    SELECTION SCREEN
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
    SELECT-OPTIONS: s_vbeln FOR vbak-vbeln.
    SELECTION-SCREEN END OF BLOCK b1.
    START OF SELECTION
    START-OF-SELECTION.
      PERFORM get_data.
    END OF SELECTION
    END-OF-SELECTION.
      PERFORM set_alv_parameters.
      PERFORM display_list.
    *& Form get_data
    Get data from DB tables
    FORM get_data.
      CLEAR: g_t_itab.
      REFRESH: g_t_itab.
      SELECT vbeln erdat vbtyp vkorg vtweg spart netwr kunnr
      FROM vbak
      INTO CORRESPONDING FIELDS OF TABLE g_t_itab
      WHERE
      vbeln IN s_vbeln.
    ENDFORM. " get_data
    *& Form set_alv_parameters
    Set alv parameters , layout, events, fieldcatlog
    FORM set_alv_parameters.
      PERFORM set_filedcatlog.
    ENDFORM. " set_alv_parameters
    *& Form display_list
    text
    FORM display_list.
      g_f_repid = sy-repid.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
          i_callback_program = g_f_repid
         is_layout          = g_r_layout
          it_fieldcat        = g_t_fieldcat[]
          it_events          = g_t_events[]
        TABLES
          t_outtab           = g_t_itab
        EXCEPTIONS
          program_error      = 1
          OTHERS             = 2.
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDFORM. " display_list
    *& Form set_filedcatlog
    text
    FORM set_filedcatlog.
      DATA: l_r_fieldcat TYPE slis_fieldcat_alv. " For column heading
      CLEAR : g_t_fieldcat,
      g_t_fieldcat[].
    <b>  l_r_fieldcat-tabname = 'G_T_ITAB'.
      l_r_fieldcat-fieldname = 'SEL'.
      l_r_fieldcat-checkbox = 'X'.
      l_r_fieldcat-outputlen = 2.
      l_r_fieldcat-col_pos = 1.
      l_r_fieldcat-edit = 'X'.
      l_r_fieldcat-input = 'X'.
      APPEND l_r_fieldcat TO g_t_fieldcat.
      CLEAR l_r_fieldcat.</b>
    Sales Order
      l_r_fieldcat-tabname = 'G_T_ITAB'.
      l_r_fieldcat-fieldname = 'VBELN'.
      l_r_fieldcat-ref_tabname = 'VBAK'.
      l_r_fieldcat-ref_fieldname = 'VBELN'.
      l_r_fieldcat-col_pos = 2.
      APPEND l_r_fieldcat TO g_t_fieldcat.
      CLEAR l_r_fieldcat.
    Creation date
      l_r_fieldcat-tabname = 'G_T_ITAB'.
      l_r_fieldcat-fieldname = 'ERDAT'.
      l_r_fieldcat-ref_tabname = 'VBAK'.
      l_r_fieldcat-ref_fieldname = 'ERDAT'.
      l_r_fieldcat-col_pos = 3.
      APPEND l_r_fieldcat TO g_t_fieldcat.
      CLEAR l_r_fieldcat.
    document category
      l_r_fieldcat-tabname = 'G_T_ITAB'.
      l_r_fieldcat-fieldname = 'VBTYP'.
      l_r_fieldcat-ref_tabname = 'VBAK'.
      l_r_fieldcat-ref_fieldname = 'VBTYP'.
      l_r_fieldcat-col_pos = 4.
      APPEND l_r_fieldcat TO g_t_fieldcat.
      CLEAR l_r_fieldcat.
    Sales organization
      l_r_fieldcat-tabname = 'G_T_ITAB'.
      l_r_fieldcat-fieldname = 'VKORG'.
      l_r_fieldcat-ref_tabname = 'VBAK'.
      l_r_fieldcat-ref_fieldname = 'VKORG'.
      l_r_fieldcat-col_pos = 5.
      APPEND l_r_fieldcat TO g_t_fieldcat.
      CLEAR l_r_fieldcat.
    Distribution channel
      l_r_fieldcat-tabname = 'G_T_ITAB'.
      l_r_fieldcat-fieldname = 'VTWEG'.
      l_r_fieldcat-ref_tabname = 'VBAK'.
      l_r_fieldcat-ref_fieldname = 'VTWEG'.
      l_r_fieldcat-col_pos = 6.
      APPEND l_r_fieldcat TO g_t_fieldcat.
      CLEAR l_r_fieldcat.
    Division
      l_r_fieldcat-tabname = 'G_T_ITAB'.
      l_r_fieldcat-fieldname = 'SPART'.
      l_r_fieldcat-ref_tabname = 'VBAK'.
      l_r_fieldcat-ref_fieldname = 'SPART'.
      l_r_fieldcat-col_pos = 7.
      APPEND l_r_fieldcat TO g_t_fieldcat.
      CLEAR l_r_fieldcat.
    Net Value
      l_r_fieldcat-tabname = 'G_T_ITAB'.
      l_r_fieldcat-fieldname = 'NETWR'.
      l_r_fieldcat-ref_tabname = 'VBAK'.
      l_r_fieldcat-ref_fieldname = 'NETWR'.
      l_r_fieldcat-col_pos = 8.
      l_r_fieldcat-do_sum = 'X'.
      l_r_fieldcat-emphasize = 'C500'.
      APPEND l_r_fieldcat TO g_t_fieldcat.
      CLEAR l_r_fieldcat.
    Distribution channel
      l_r_fieldcat-tabname = 'G_T_ITAB'.
      l_r_fieldcat-fieldname = 'KUNNR'.
      l_r_fieldcat-ref_tabname = 'VBAK'.
      l_r_fieldcat-ref_fieldname = 'KUNNR'.
      l_r_fieldcat-col_pos = 9.
      APPEND l_r_fieldcat TO g_t_fieldcat.
      CLEAR l_r_fieldcat.
    ENDFORM. " set_filedcatlog

  • Problem in Set Check for Duplicate Invoices

    Hi,
    I have did all the required setting s for check duplicate invoice , but when i do miro , its not giving any error or warning msge.. i did all the config  as per blw link..
    FYI-  in migo, i have entered the 3434 as a invoice ref # in delveriy note column and while doing miro , i have entered 3434 in ref column and give the 3434 as a dlvery note # in item tab .. but its not giving any error?
    Pls guide, where the mistake has gone wrongly??
    Problem in Set Check for Duplicate Invoices
    Edited by: UJ on May 15, 2009 1:45 PM

    Hello,
    Hope you have done all the required configurations for the checking of double invoice and ticked the vendor for the double invoice checking in vendor master record.
    You have to understand the way the system does the double invoice check.
    As per the configuration, if the system identifies an invoice for a vendor whose double invoice check is activated, at the time of MIRO, system will update a separate table.
    So system will check for the double invoice entry among the invoices entered after making the tick in the vendor master.
    i meant to say that, if you are introducing this double invoice check in between the transactions, the check will be valid only for the invoices entered after the activation of double invoice check.
    Regards

  • Set Check for Duplicate Invoices.

    Hi,
    what is the difference if is set "<b>Set Check for Duplicate Invoices</b>"
    in MIRO?
    Best regards

    HI,
    This check will prevent incoming invoices being accidentally entered and paid more than once.
    You can choose whether to activate or deactivate the check criteria of company code, reference document number and invoice date for each company code. The more criteria that you activate, the lower the probability of the system finding a duplicate invoice.
    The company code check makes sense if you work with more than one company code.
    Depending on the reference document number entry, the system checks as follows:
    1. If you have entered a reference document number, the system checks whether the invoice matches in the following attributes:
    Company code
    Vendor
    Currency
    Invoice date
    Reference document number
    2. If you have not entered a reference document number, the system
    3. checks whether the invoice matches in the following attributes:
    Company code
    Vendor
    Currency
    Invoice date
    Amount in
    document currency
    Depending on the system settings, a warning message or an error message appears if the system finds an invoice that matches all attributes.
    Requirements
    The field Chk double inv. (Check for duplicate invoice) must be flagged on the Accounting view in the vendor master record.
    Regards
    Aasif

  • How we do set resolutions in javascript to develope a game in unity 3d

    how we do set resolutions in javascript to develope a game in unity 3d

    If you're not talking about JS in PDF files, this is the wrong forum for
    your question.

  • How to embed Flash without Javascript?

    How to embed Flash without Javascript? Other way to ask this: if user desactivates Javascript, sill Flash content still be visible?
    Thanks for helping.

    Hi
    This article may be of interest (shows with and without javascript methods), - http://perishablepress.com/press/2007/04/17/embed-flash-or-die-trying/.
    PZ

  • Can I run a set up without a cd for a WRT54g V5

    can I run a set up without a cd for a WRT54g V5 ?

    We could configure the Router by accessing the Router's
    Configuration Page, and not necessarily need you have to
    configure the Router only with the Setup CD
    If you face any difficulties,
    Let us know the Name of your Internet Service Provider,
    Router Model and Version Number

  • How to check a Javascript version in OPPM

    Is it possible to check the Javascript version in OPPM and able to upgrade the Javacript to a newer version?

    OPPM uses jscript.net and I am pretty sure it is JScript 8.0 which was last version that Microsoft released.
    You should be able to add a FE_IncludeFile via psGlobalsConfig.exe to add any missing functions that a newer implementation of JavaScript has.
    V/r,
    Gene

Maybe you are looking for

  • Query for credit limit of customers of a particular type

    Hi, We are using SAP B1 2007B PL04 and want to activate credit limit so that whenever a delivery or A/R breaches the credit limit then the document must go for approval. However we want this to be activated only when the customers are having group co

  • ODT 10.1.0.2.0 on Visual Studio 2003 problem

    I have installed the ODT 10.1.0.2.0 on Microsoft Windows XP sp2, Visual Studio 2003 and database Oracle v9.2.0.7.0. I have create the example project like the example in http://www.oracle.com/technology/oramag/oracle/06-sep/o56odp.html, bat when I ex

  • Regarding main window in page2

    Hi, My requirement is i have to display basic rent header data in first page and their (Basic item details) in second page.So I am using one main window in page1 and other main window in page2.In page one am getting the main window data finely but am

  • Displaying Content in Page

    After installing multiple languages, I'm having difficulty getting my Content from specific content areas displaying on the main page. I've made sure the content area was exposed as a portlet. The tab on the main page is set to allow public access. I

  • Command node inside the dynamic table

    Hi experts, I have a problem regarding on using a command node inside a dynamic table in main window.. I tried inserting a command node in the header of the table then when running my print program i will receive an exception = 2 which is internal er