Changing totals value in hierarchical alv for a particular level/row

Hi,
I am displaying a hierarchical ALV having 4 levels.
Using field catalog, totals for all dynamic columns are found out.
I have a requirement not to display totals value for first and second levels.
And if possible, to display another value.
Tried using CL_GUI_ALV_TREE->change_node.
But it not updating.
Please suggest a solution.
Thanks,
Nisha Vengal.

Hi Ten Mariga,
                 I wonder why the second select Query is needed at all instead you can use
---> Not Needed
FORM DATA_RETRIEVAL1.
SELECT * FROM zcontact INTO TABLE it_zcontact WHERE id EQ wa_zcontact-id.
ENDFORM.
----> Instead you can do
   READ TABLE it_zcontact INTO wa_zcontact INDEX p_seltab-tabindex.
  Append wa_zcontact to Second_table.
And you can use the Second_table to display the second ALV. The second Select Query will affect the performance too.
Cheers,
Krishnakumar B.

Similar Messages

  • Report Painter values are not populating for a particular cost center

    Report Painter(GR55) values are not populating for a particular cost center for the months of April 1 2011 where as for May onwards values are displaying correctly..We have check the transaction code KSB1 for this cost center there are some values posted for the period of April..
    Can any one help me to find out where exactly the issue is and how to resolve the same..

    Please check your variables in your report.

  • Condition value from previous PO changes total value of new PO

    Dear gentlemen,
    We have a surcharge condition, calculation type = B (Fixed amount), category = Delivery costs. When viewing header condition details in PO, there appears an unknown "condition base value" with no "rate unit" associated with it. This value is carried over to the next PO created, changing its total value, thus affecting inventory value. What is wrong with this condition? How can I not let the system carry over "condition value" from previous POs?
    Regards,
    Carlos Piana
    La Universal
    Guayaquil, Ecuador, South America

    My aim is the difference between 56062 on 10.07.2012 00:00:00 and 52013 on 13.04.2012 and so on.
    The final table should look like this:
    DateId
    Severity
    PageCount
    DeviceId
    ErrorId DIFF
    13.04.2012 00:00:00
    1
    52013
    163
    1              52013
    10.07.2012 00:00:00
    1
    56062
    163
    1               4049
    13.11.2012 00:00:00
    4
    63907
    163
    1                 ...
    28.11.2012 00:00:00
    4
    64492
    163
    1
    12.09.2012 00:00:00
    4
    61524
    163
    1
    29.11.2012 00:00:00
    4
    64573
    163
    1
    Why I am doing this is that I want to calculate an Printerindex. This is the Amount of Errors related to the volume of pages, printed.
     The Formula in DAX is Measure:=(COUNT(FactErrors[ErrorId]))/(SUM(FactErrors[PagesCount])/10000)
    So I get this PivotTable:
    Zeilenbeschriftungen
    CountDevices
    SUM PageCount
    CountErrors
    PrinterIndex
    MFP
    523
    90135296
    1362
    31,24906792
    HP
    125
    30805190
    241
    5,529387202
    Lexmark
    369
    53500358
    856
    27,39392853
    Samsung
    29
    5829748
    265
    41,33069233
    Samsung CLX-92x1 93x1 Series
    22
    5400624
    246
    38,36735967
    Samsung SCX-8123 8128 Series
    7
    429124
    19
    4,482612183
    You see, that if I can't SUM already summarized printed volume. Another way could be to aggregate the volume as MAX() but this is not working, either.
    Zeilenbeschriftungen
    CountDevices
    MAX PageCount
    CountErrors
    PrinterIndex
    MFP
    523
    435853
    1362
    0,151106177
    HP
    125
    435853
    241
    0,07823357
    Lexmark
    369
    312478
    856
    0,159998929
    Samsung
    29
    64117
    265
    0,454565103
    Samsung CLX-92x1 93x1 Series
    22
    64117
    246
    0,45550292
    Samsung SCX-8123 8128 Series
    7
    42386
    19
    0,442762465
    I hope you see my problem ...

  • WIP QTY. AND VALUE IN SINGLE REPORT FOR A PARTICULAR PERIOD

    Is there any report for a particular period that we can get the WIP qty. and value in single report. If there what the fileds we have to select.
    Ex. We want what is the consumption qty. and value and what is the GR qty. and value for the period ending June 08.

    Hi,
    You can use the T-Code KKAS to get the WIP Qty against a given plant/material combination.
    some of the other supporting t-codes are:
    KKAO                 WIP Calc.: Collective Processing
    KKAQ                 Display WIP - Collective Processing
    KKAT                 WIP Display for Product Cost Coll.
    KKAV                 WIP Calculation for Cost Object Hier
    KKAW                 WIP Display Cost Object Hierarchy
    KKAX                 WIP Calculation for Order
    KKAY                 WIP Display for Order
    Regards,
    JLN

  • Table decimal value display is incorrect for a particular user

    Hi,
    In my VC table value display is showing like .00. Before decimal point values are not coming. I have put disply as 2 decimal. It is hapanning for a particular user.  Other users are getting right value. Even we logged on different machine also. please suggest me.
    Regards
    Rama

    Hi,
    what is the user's language in his profile and what is the formate of the your field chcek it in the properties of it.
    Regards,
    Govindu

  • Is there a way to change the ring tone to none for one particular contact?

    I see there is an option to turn the text message settings for a particular contact to 'none'.  Is there a way to change the ring tone to 'none' or 'silent' for only one contact.  This is a person who calls way too often and I used to turn their ringer to 'none' when I had a blackberry.  This way I can talk to this person when it is convenient for me and not have to listen to the ringer everytime they call.

    You need to sync a silent ringtone to your phone & then assign it to that contact. Here's one already made:
    http://richardkmiller.com/702/iphone-tip-use-a-silent-ringtone-to-screen-calls-i n-your-sleep

  • Hiding sub total values in the ALV o/p

    Hi,
    I have a requirement wherein i have to display some fields for sub total based on the sorting field.
    I my report, i have G/L Account, GR value, IR value, Amt in Doc Curr and Doc currency.
    Initially, i have to do the subtotal based on G/L account. For e.g. If we have two G/L account 1 and 2, then after the G/L account 1 and G/L account 2, i have to display the subtotals for GR value and IR value. This part is aboslutely working fine.
    Now, In one G/L account, we are having multiple currencies. Suppose G/L account 1 has USD and EUR. Now within the G/L account 1, i have to display the subtotal for Amt in Doc Curr based on the currency key, but when i am passing this field to slis_sortinfo_alv, it is calculating the subtotals for GR value, IR value, Amt in Doc Curr.
    Here, i need to hide the subtotal values for GR value, IR value.
    Any pointers to this will be highly appreciated.
    Thank you.

    Hi,
    I have a requirement wherein i have to display some fields for sub total based on the sorting field.
    I my report, i have G/L Account, GR value, IR value, Amt in Doc Curr and Doc currency.
    Initially, i have to do the subtotal based on G/L account. For e.g. If we have two G/L account 1 and 2, then after the G/L account 1 and G/L account 2, i have to display the subtotals for GR value and IR value. This part is aboslutely working fine.
    Now, In one G/L account, we are having multiple currencies. Suppose G/L account 1 has USD and EUR. Now within the G/L account 1, i have to display the subtotal for Amt in Doc Curr based on the currency key, but when i am passing this field to slis_sortinfo_alv, it is calculating the subtotals for GR value, IR value, Amt in Doc Curr.
    Here, i need to hide the subtotal values for GR value, IR value.
    Any pointers to this will be highly appreciated.
    Thank you.

  • Change InfoObject value in flat file for Hierarchy load

    Hi Guys,
    I am loading hierarchy for an infoobject from flat file. I have the field InfoObject (IOBJNM) whose value needs to be changed before loading into the hierarchy. Can somebody tell me how can I do that through formula or routine.
    The InfoObject loads 0HIER_NODE and a leaf infoobject values from flat file.
    The hierarchy transfer rules does not contain IOBJNM field., though the Hier Structure under Transfer Structure tab contains IOBJNM.
    In transfer structure I see only NodeName, Date From, Date To, and eaf infoobject.
    Any help would be appreciated.

    Hi,
          Try using the IDOC method while loading the hierarchy and make sure you have this IOBJNM in the external charactersitics for the Infoobect to which you are loading this hier.
    Thanks,
                Peter

  • Problem displaying drill down STANDARD ALV for a particular record after pressing back button

    I have a simple interactive ALV grid report. NOT 'OO'. It display correctly on initial execution. AT the moment, 6 records. I want it to work such that if i click record '1', a drill-down version of that ALV with only that one record clicked is displayed. This currently occurs correctly. The problem arises when i click the back button and want to click on a new record, say in the 2nd row..this new 2nd row record is not displayed. The first one is displayed again. I tried clearing and fiddling around but then the last record is displayed. I have used the 'ID' field as a 'hotspot' getting picked up by sy-tabindex. Maybe it could be that i shouldn't loop and use  a work area e.g in my select statement. i'm not so sure i've looked around, and tried a few things. I can't get it right yet. My code is below:
    *& Report  ZALV
    REPORT  ZALV.
    TABLES: ZCONTACT.
    TYPE-POOLS: slis. "slis contains all of the ALV data types.
    TYPES: BEGIN OF ty_zcontact.
             INCLUDE STRUCTURE zcontact.
    TYPES: icon TYPE char4, "field holding traffic light value- adding a column to internal table to hold the traffic light
             END OF ty_zcontact.
    DATA: "fieldcatALOG TYPE slis_t_fieldcat_alv WITH HEADER LINE,
           it_zcontact TYPE TABLE OF ty_zcontact,"declares an internal table of type ZCONTACT
           wa_zcontact TYPE ty_zcontact,
           gd_layout TYPE slis_layout_alv,
           gd_repid LIKE sy-repid,
           g_variant TYPE disvariant,
           gx_variant TYPE disvariant,
           g_save TYPE c VALUE 'X',
           it_fieldcat TYPE slis_t_fieldcat_alv,"declares field catalog table of line type alv
           wa_fieldcat TYPE slis_fieldcat_alv, "declares the work area of the field catalog
           it_list_top_of_page TYPE slis_t_listheader.
    DATA: it_fieldcat1 TYPE slis_t_fieldcat_alv,
           wa_fieldcat1 TYPE slis_fieldcat_alv.
    DATA: V_FIELD(30) TYPE C,
    V_VALUE(10) TYPE C.
           "izontact TYPE TABLE OF zcontact.
            "i_logo TYPE OT.
           "ls_layout TYPE slis_layout_alv.
    **Selection Screen details
    *SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME.
    *PARAMETERS: variant like disvariant-variant.
    *SELECTION-SCREEN END OF BLOCK B1.
    SELECT-OPTIONS:
    age FOR wa_zcontact-age,
    lastnme FOR wa_zcontact-lastname.
    **Getting default variant
    *  AT SELECTION-SCREEN ON age.
    *    SELECT SINGLE age FROM zcontact INTO wa_zcontact-age WHERE age = age.
    *  IF sy-subrc NE 0.
    *    MESSAGE:'That age does not exist mate, Please enter another age' TYPE 'E'.
    *    ENDIF.
    INITIALIZATION.
    *gx_variant-report = sy-repid.
    *CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET'
    *EXPORTING
    *  I_SAVE = G_SAVE
    *  CHANGING
    *    CS_VARIANT = GX_VARIANT
    *  EXCEPTIONS
    *    NOT_FOUND = 2.
    *IF SY-SUBRC = 0.
    *  VARIANT = GX_VARIANT-VARIANT.
    *  ENDIF.
    START-OF-SELECTION.
      PERFORM DATA_RETRIEVAL.
      PERFORM BUILD_FIELDCATALOG.
      PERFORM DISPLAY_ALV_REPORT.
      PERFORM top_of_page.
    "g_repid = sy-repid.
    *Fetch data from the database
    FORM DATA_RETRIEVAL.
    SELECT * FROM zcontact INTO TABLE it_zcontact WHERE age IN age AND lastname IN lastnme.
    "assigning traffic light colour to each row based on a condition
    *  IF wa_zcontact-age GE 65.
    *   wa_zcontact-icon = 1. "Red Traffic Light
    *   ELSEIF wa_zcontact-age BETWEEN 40 AND 64.
    *     wa_zcontact-icon = 2. "Yellow traffic light
    *     ELSE.
    *       wa_zcontact-icon = 3." Green traffic light
    *       ENDIF.
    *       MODIFY it_zcontact FROM wa_zcontact TRANSPORTING icon.
    *       CLEAR wa_zcontact.
    ENDFORM.
    FORM BUILD_FIELDCATALOG.
    *Build field catalog
    wa_fieldcat-fieldname = 'ID'.
    "wa_fieldcat-seltext_m = 'The Contact ID'.
    APPEND wa_fieldcat TO it_fieldcat.
    CLEAR wa_fieldcat.
    wa_fieldcat-fieldname = 'LASTNAME'.
    "wa_fieldcat-seltext_m = 'Contact Lastname'.
    APPEND wa_fieldcat TO it_fieldcat.
    CLEAR wa_fieldcat.
    wa_fieldcat-fieldname = 'FIRSTNAME'.
    "wa_fieldcat-seltext_m = 'Contact Firstname'.
    APPEND wa_fieldcat TO it_fieldcat.
    CLEAR wa_fieldcat.
    wa_fieldcat-fieldname = 'DOB'.
    "wa_fieldcat-seltext_m = 'Date Of Birth'.
    APPEND wa_fieldcat TO it_fieldcat.
    CLEAR wa_fieldcat.
    wa_fieldcat-fieldname = 'TEL'.
    "wa_fieldcat-seltext_m = 'Telephone Number'.
    APPEND wa_fieldcat TO it_fieldcat.
    CLEAR wa_fieldcat.
    wa_fieldcat-fieldname = 'ADDRESS'.
    "wa_fieldcat-seltext_m = 'The Address'.
    APPEND wa_fieldcat TO it_fieldcat.
    CLEAR wa_fieldcat.
    wa_fieldcat-fieldname = 'OCCUPATION'.
    "wa_fieldcat-seltext_m = 'The Occupation'.
    APPEND wa_fieldcat TO it_fieldcat.
    CLEAR wa_fieldcat.
    wa_fieldcat-fieldname = 'WEIGHT'.
    "wa_fieldcat-seltext_m = 'WEIGHT'.
    APPEND wa_fieldcat TO it_fieldcat.
    CLEAR wa_fieldcat.
    wa_fieldcat-fieldname = 'AGE'.
    "wa_fieldcat-seltext_m = 'AGE OF THE CONTACT'.
    wa_fieldcat-do_sum   = 'X'.        "Display column total
    APPEND wa_fieldcat TO it_fieldcat.
    CLEAR wa_fieldcat.
    wa_fieldcat-fieldname = 'SALARY'.
    "wa_fieldcat-seltext_m = 'SALARY'.
    wa_fieldcat-do_sum   = 'X'.
    APPEND wa_fieldcat TO it_fieldcat.
    gd_layout-lights_fieldname = 'ICON'.
    ENDFORM.
    FORM DISPLAY_ALV_REPORT.
    gd_repid = sy-repid.
    *Pass data and field catalog to ALV function module to display ALV list
       CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
         EXPORTING
           it_fieldcat            = it_fieldcat
           i_callback_program     = gd_repid
           i_callback_top_of_page =  'TOP_OF_PAGE'
           i_callback_user_command =  'USER_COMMAND'
           i_structure_name       =  'ZCONTACT'
           i_save                 = 'X'
           is_variant             = g_variant
           is_layout     = gd_layout
    TABLES
           t_outtab      = it_zcontact
    EXCEPTIONS
           program_error = 1
           OTHERS        = 2.
    ENDFORM.
    FORM top_of_page.
    *ALV Header declarations
       DATA: it_listheader TYPE slis_t_listheader,
             wa_listheader TYPE slis_listheader,
             t_line like wa_listheader-info,
             ld_lines TYPE I,
             ld_linesc(10) TYPE C.
    wa_listheader-typ = 'H'.
    wa_listheader-info = 'Contact Details'.
    APPEND wa_listheader TO it_listheader.
    CLEAR wa_listheader.
    wa_listheader-typ = 'S'.
    wa_listheader-info = sy-repid.
    wa_listheader-key = 'Program Name:'.
    APPEND wa_listheader TO it_listheader.
    CLEAR wa_listheader.
    wa_listheader-typ = 'S'.
    wa_listheader-info = sy-uname.
    wa_listheader-key = 'User Name:'.
    APPEND wa_listheader TO it_listheader.
    CLEAR wa_listheader.
    wa_listheader-typ = 'S'.
    wa_listheader-key = 'Run Date :'.
    CONCATENATE sy-datum+6(2)
                 sy-datum+4(2)
                 sy-datum(4)
                 INTO wa_listheader-info
                 SEPARATED BY '/'.
    APPEND wa_listheader TO it_listheader.
    CLEAR wa_listheader.
    wa_listheader-typ = 'S'.
    wa_listheader-key = 'Time :'.
    CONCATENATE sy-uzeit(2)
                 sy-uzeit+2(2)
                 sy-uzeit+4(2)
                 INTO wa_listheader-info
                 SEPARATED BY ':'.
    APPEND wa_listheader TO it_listheader.
    CLEAR wa_listheader.
       CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
         EXPORTING
           it_list_commentary = it_listheader
           i_logo = 'KLOGO'.
    ENDFORM. "top_of_page
    *& Form sub_user_command
    FORM USER_COMMAND USING P_UCOMM TYPE SY-UCOMM
    P_SELTAB TYPE SLIS_SELFIELD.
    CASE P_UCOMM.
       WHEN '&IC1'.
    CASE p_seltab-fieldname.
       WHEN 'ID'.
       READ TABLE it_zcontact INTO wa_zcontact INDEX p_seltab-tabindex.
       PERFORM DATA_RETRIEVAL1.
       PERFORM BUILD_FIELDCATALOG1.
       PERFORM SECOND_GRID.
       ENDCASE.
       ENDCASE.
    ENDFORM. "
    FORM DATA_RETRIEVAL1.
    SELECT * FROM zcontact INTO TABLE it_zcontact WHERE id EQ wa_zcontact-id.
    ENDFORM.
    FORM BUILD_FIELDCATALOG1.
    *Build field catalog
    CLEAR: wa_fieldcat, it_fieldcat.
    wa_fieldcat-fieldname = 'ID'.
    "wa_fieldcat-seltext_m = 'The Contact ID'.
    APPEND wa_fieldcat TO it_fieldcat.
    CLEAR wa_fieldcat.
    wa_fieldcat-fieldname = 'LASTNAME'.
    "wa_fieldcat-seltext_m = 'Contact Lastname'.
    APPEND wa_fieldcat TO it_fieldcat.
    CLEAR wa_fieldcat.
    wa_fieldcat-fieldname = 'FIRSTNAME'.
    "wa_fieldcat-seltext_m = 'Contact Firstname'.
    APPEND wa_fieldcat TO it_fieldcat.
    CLEAR wa_fieldcat.
    ENDFORM.
    FORM SECOND_GRID.
       CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
       EXPORTING
         I_CALLBACK_PROGRAM = SY-REPID
         IT_FIELDCAT = IT_FIELDCAT
         i_structure_name       =  'ZCONTACT'
         i_callback_user_command =  'USER_COMMAND'
         TABLES
           T_OUTTAB = IT_ZCONTACT.
       ENDFORM.

    Hi Ten Mariga,
                     I wonder why the second select Query is needed at all instead you can use
    ---> Not Needed
    FORM DATA_RETRIEVAL1.
    SELECT * FROM zcontact INTO TABLE it_zcontact WHERE id EQ wa_zcontact-id.
    ENDFORM.
    ----> Instead you can do
       READ TABLE it_zcontact INTO wa_zcontact INDEX p_seltab-tabindex.
      Append wa_zcontact to Second_table.
    And you can use the Second_table to display the second ALV. The second Select Query will affect the performance too.
    Cheers,
    Krishnakumar B.

  • Change in Screen Layout of PO for a particular Item category

    Hi,
    We are facing a typical issue after Upgrade of our system from 4.6C to ECC 6.0.
    Whenever we try to create a PO (in the newly upgraded system) with the Item category S (Third Party PO), the material number field goes blank and it becomes Non-Editable (even before saving the PO)...
    However, on saving, EKPO table has the entries for the material number specified before entering the Item Category S. If we try to display the PO, it shows blank in the MATNR field.
    This works fine with other item categories......we see this problem only with the item category S.
    All the configurations (Screen Layout for Document Type, External Representation of Item category) are fine....but still we are facing this problem....
    Any suggestions on this?
    Thanks and Regards,
    Gaurishankar

    Hi Ninad,
    I think I have mentioned it very clearly that it works for other item categories assigned to the same document type. It is a very basic setting that one has to check for issues related to PO screen layouts and I have done all those checks.
    As stated earlier, this issue has come up after Upgrade, so just want to know if there is any known SAP Note or solution to this problem (if someone has faced it earlier).
    However, thanks for your reply...
    Regards,
    Gaurishankar

  • MDX - Returning the value of a measure at a particular level

    I've got the following query which runs against the AdventureWorks 2008R2. It returns the [Internet Sales Amount] for the cities to which the following members belong
    [Customer].[Customer Geography].[Customer].&[18702] and
    [Customer].[Customer Geography].[Postal Code].&[2055]&[North Sydney]
    with member MEASURES.[INTERNET SALES CITY] as
    aggregate([Customer].[Customer Geography].CurrentMember, [Measures].[Internet Sales Amount])
    select 
    MEASURES.[INTERNET SALES CITY] on 0,
    [Customer].[Customer Geography].City on 1
    from
    (SELECT {[Customer].[Customer Geography].[Customer].&[18702],[Customer].[Customer Geography].[Postal Code].&[2055]&[North Sydney]} ON COLUMNS  
    from [Adventure Works] )
    Result
    [INTERNET SALES CITY]
    Coffs Harbor $235,454.97
    North Sydney $159,227.11
    My question is how can I get the result in the following form?
    [INTERNET SALES CITY]
    $394,682.08
    Thank you

    Ok, looks like using a dynamic set solved this problem.
    with
    dynamic set [Selected Cities]
    as [Customer].[Customer Geography].City
    member MEASURES.[INTERNET SALES CITY]
    as
    AGGREGATE([Selected Cities], [Measures].[Internet Sales Amount])
    select
    MEASURES.[INTERNET SALES CITY]
    on 0
    from
    (SELECT {[Customer].[Customer Geography].[Customer].&[18702],[Customer].[Customer Geography].[Postal Code].&[2055]&[North Sydney]}
    ON COLUMNS 
    from [Adventure Works] );

  • Sub Total Text in an ALV using FACTORY Method

    Hi Gurus,
    My requirement is simple, but I couldn't find any answers under SDN or any other forums. Some of you may ask me to check for the SCN posts, but I almost checked everything.
    My requirement is - When I get the Sub-total in my ALV, it should print a text other than the field which has got sub-total value.
    My ALV Schema:
    Field1  |  Field2 |  Field 3 |
    ____   |______ |______ |
               |             |             |
               |             |             |
              Tot. Qty  | 1000.00|
    I have sorted and added the subtotal = 'X' for the field which I need the Subtotal. Added Aggregations to Field3. But where and how to the field 'Tot. Qty', so that it should appear at the Sub-Total Level.
    Please guide me if I've missed any of the forums. Again my requirement is to print the Field Name.
    Regards,
    -Wahid Hussain Syed.

    Hi,
    You can view this thread for example Display constant text in intermediate results column of SALV as it says that this is a limitation in SALV that "The output of totals and subtotals is handled solely by ALV. You can neither pass the results to your application nor manipulate them in any way.". But you can see a work around done for this problem, to be frank that I have not done that and I am only providing this link for your reference.

  • Error window while changing the value in SelectOneChoice.

    Hi I am facing a problem on change of values in SelectOneChoice, "ERROR For input string: "N"
    Below is how i am implementing SelectOneChoice:
    I am creating values for SelectOneChoice in a Java class:
    *SelectItem itemY=new SelectItem();*
    *itemY.setLabel("Yes");*
    *itemY.setValue("Y");*
    *confirmation.add(itemY);*
    *SelectItem itemN=new SelectItem();*
    *itemN.setLabel("No");*
    *itemN.setValue("N");*
    *confirmation.add(itemN);*
    Using this values in JSFF like this:
    *<af:selectOneChoice value="#{bindings.confURLSubmitted.inputValue}"*
    *label="Conference Website URL Submitted"*
    *required="#{bindings.confURLSubmitted.hints.mandatory}"*
    *shortDesc="#{bindings.confURLSubmitted.hints.tooltip}"*
    *binding="#{backingBeanScope.EditComplianceDetails.confURLSubmitted}"*
    *id="confURLSubmitted"*
    *unselectedLabel="Select One"*
    *autoSubmit="true"*
    *valueChangeListener="#{backingBeanScope.EditComplianceDetails.OnConfURLSubChange}">*
    *<f:selectItems value="#{pageFlowScope.generalLists.confirmation}"*
    *binding="#{backingBeanScope.EditComplianceDetails.si1}"*
    *id="si1"/>*
    *</af:selectOneChoice>*
    And in bean method i am trying to print the selected value in SelectOneChoice:
    *public void OnConfURLSubChange(ValueChangeEvent valueChangeEvent) {*
    *// Add event code here...*
    *System.out.println("this.confURLSubmitted.getValue() "+this.confURLSubmitted.getValue());*
    Now when i try to change the value in SelectOneChoice:
    I am getting an error window "ERROR For input string: "N"
    Any idea y i am getting this error.
    Thanks in Advance

    Remove selectOneChoice value binding and set static value and try
    *<af:selectOneChoice value="XXX"*
    label="Conference Website URL Submitted"
    required="#{bindings.confURLSubmitted.hints.mandatory}"
    shortDesc="#{bindings.confURLSubmitted.hints.tooltip}"
    binding="#{backingBeanScope.EditComplianceDetails.confURLSubmitted}"
    id="confURLSubmitted"
    unselectedLabel="Select One"
    autoSubmit="true"
    valueChangeListener="#{backingBeanScope.EditComplianceDetails.OnConfURLSubChange}">
    <f:selectItems value="#{pageFlowScope.generalLists.confirmation}"
    binding="#{backingBeanScope.EditComplianceDetails.si1}"
    id="si1"/>
    </af:selectOneChoice>

  • How to change sub total value in ALV Grid.

    Hi All,
    Can u please explain how to change SUBTOTAL Value in ALV Grid display based on another field value.
    EX; F1 subtotal is  initial then we have to modify the F2 sub total to 9999.9.
    Thanks
    Radha.

    Hi Radha,
    I doubt if that can be changed....because the event that i was referring to in my previous post works with ALV List display...But in any case you can try that.....
    There is an event in SLIS....(As i told you, i dont remember the name and currently i dont have access to SAP system, so i am not able to verify and let you know that event name).....
    Other thatn TOP and END of PAGE events, there is an event for sub-total text......i think it would start with "SUBTOTAL"...
    you need to use that event in your events table and pass it to ALV Grid display.
    Then create a sub-routine with that name (As you do for TOP-OF-PAGE event)....and in this event you can change the values in runtime (PROVIDED, this event gets triggered for ALV GRID).....
    If this does not work, i think calculating sub-totals while you build the internal table would be a better option....(If you have time constraint....else you can do some more research on the same)........
    Best Regards,
    Ram.

  • Dump when changing the value for a field (of 13 decimals) in alv grid.

    Hi Group,
    Its giving a dump when user is trying to change the value.
    dump description: Unable to interpret "70,000 " as a number.
    what is happening here is, the original value is 50,000 and he is deleting 5 and replacing it with 7, here its throwing the dump.
    If he removes the complete number 50,000 and then gives 70000 its  taking the value.
    I tried to use, the decimals options in alv field catalog but to no joy.
    Please can you give me an advice on this.
    Many Thanks.

    the problem is the comma in the 70,000....that's an alpha character.... Normally, we expect SAP to display numeric fields in a appropriate format, based upon their numeric type, but trying to forcibly insert '70,000' into a true numeric-type field can generate an 'unable to interpret xxx,xxxx  as number' error.
    You could experiment with changing your ALV column to a char17 (or appropriate width) and putting your numeric value into that to display, then converting back to type P, or other field type in the table, in a column that is not displayed, when the user changes the value....  essentially two columns, one not displayed with a routine to copy/convert the numeric field into the alpha field and the reverse when the field is changed.
    But, the better solution is probably for the user to understand that they're seeing a formatted numeric field, and that they need to replace the entire value with the only possible punctuation being a decimal and (if necessary) a negative sign.

Maybe you are looking for

  • Scroll bar moved layout slightly to left

    If content on ALL of my site either did or didn't require a scroll bar, the transitions when clicking from page to page would all look smooth. Unfortunately I have some pages that are short (and so the browser displays no display bar) and other pages

  • Issue with Condition dependent PO output

    Hi, We're implementing Extended classic version for SRM 5.0. As part of the output determination, we need to determine 2 print outputs for Purchase orders. We have 2 purchase organizations and both of them need to have 2 different smartforms for the

  • Aland Islands missing in coutry table

    Hello, We have to create a customer on Aland Island, but the country AX is missing. Do you know if there is a note or a hint on how to create the country i customizing?    Best Regards    Ann-Sofie Svensson

  • Rounding Profile in IS-Retail

    Hallo Retail Expert, The Scenario is as follow, I have some Articles that I order by vendors only in defined Quantity, for ex.  3, 6, 9, 12 or 5, 10, 15 or 12, 24, 36 Pieces. For this purpose I am using Rounding Profile and I have defined regarding m

  • Error when gathering a distribution

    We are currently running ZFS 3.0.2 and are having an error when trying to distribute a large package with many (over 3000) files. The error is: Gather (name and path of application) stopped with an unknown error. The TED.log file has the same informa