How to identify if modifiers are getting applied

I am trying to define a modifer (Discount List), say Mod2, that needs to be applied only under certain conditions.
I already have another existing modifier (Discount List), say Mod1, which returns the discount% using a Dynamic formula.
The requirement is that the modifier Mod2 should apply only when Mod1 is not getting applied, or is getting applied with a discount% of 0.
My question is how can I define a qualifier for the modifier Mod2?
Is there a way for me to write custom code to see if the modifier Mo1 is getting applied, and with a discount% > 0 ? If so, what tables could I check? I tried setting up a qualifier which calls a custom pl/sql package wherein I retrieved values from qp_preq_lines_tmp, but there is no pertinent information in there.
Any help is appreciated.
Thanks.
Jay.

Hi Gerry,
I wish it was as simple as that !!
The catch is that I dont want to apply Mod2 when Mod1 gets applied with a discount% > 0. I do have lots of scenarios where Mod1 gets applied with a discount% of 0. The Mod1 discount value is derived via a dynamic formula, so it always returns a value, and I dont know how to suppress the application of the modifier if the value returned by the formula is zero. So it will always get applied. Question is, how do I get Mod2 (which by the way is a Freight and Special Charge, not Discount List - sorry for the confusion), to not apply when Mod1 discount% is > 0.

Similar Messages

  • [Flex 4.5.1] How does Button's fontSize property gets applied to labelDisplay?

    How does Button's fontSize property gets applied to labelDisplay when lableDisplay's fontSize is not explicitly set. I just tested it it works but I don't know how. I looked through the ButtonBase class but I don't see any code applying the fontSize to the labelDisplay nor I see code in the Label to get parent's fontSize property if not set. Could someone explain to me how this works? I would be very grateful! Thanks !

    Ok I found it, thanks for the heads up. I pretty much get the idea of how things work now
    Could you please take a look at one more probably very simple to you question. I had to customize a button to be able to have 2 lables in it with different fontSize and topPadding in this case. I kinda copied some of the code from ButtonBase + added the styles and some code I needed to make it work.
    Here it is:
    package
        import flash.events.Event;
        import spark.components.Button;
        import spark.components.Label;
        [Style(name="numberFontSize", type="Number", format="Length", inherit="yes", minValue="1.0", maxValue="720.0")]
        [Style(name="numberPaddingTop", type="Number", format="Length", inherit="no", minValue="0.0", maxValue="1000.0")]
        public class DialPadButton extends Button
            public function DialPadButton()
                super();
            private var _numberContent:*;
            [SkinPart(required="false")]
            public var numberLabelDisplay:Label;
            [Bindable("numberContentChange")]
            public function get numberContent():Object
                return _numberContent;
            public function set numberContent(value:Object):void
                _numberContent = value;
                if (numberLabelDisplay)
                    numberLabelDisplay.text = label;
                dispatchEvent(new Event("numberContentChange"));
            public function set numberLabel(value:String):void
                numberContent = value;
            public function get numberLabel():String         
                return (numberContent != null) ? numberContent.toString() : "";
            override protected function partAdded(partName:String, instance:Object):void
                super.partAdded(partName, instance);
                if (instance == numberLabelDisplay)
                    if (_numberContent !== undefined)
                        numberLabelDisplay.text = numberLabel;
                    if(getStyle("numberFontSize"))
                        numberLabelDisplay.setStyle("fontSize", getStyle("numberFontSize"));
                    if(getStyle("numberPaddingTop") || getStyle("numberPaddingTop") == 0)
                        numberLabelDisplay.setStyle("paddingTop", getStyle("numberPaddingTop"));
            override public function styleChanged(styleProp:String):void
                if (!styleProp ||
                    styleProp == "styleName" ||
                    styleProp == "numberFontSize" ||
                    styleProp == "numberPaddingTop")
                    if (numberLabelDisplay){
                        if(getStyle("numberFontSize"))
                            numberLabelDisplay.setStyle("fontSize", getStyle("numberFontSize"));
                        if(getStyle("numberPaddingTop"))
                            numberLabelDisplay.setStyle("paddingTop", getStyle("numberPaddingTop"));
                super.styleChanged(styleProp);
    So here are the questions:
    1) If I am not going to use the styles in css then maybe I should better declare them as variables ?
    2) I don't really understand how does the button gets updated and redrawn when I set Styles or properties like that cause there is nowhere a call to invalidate the display list (at least I couldn't find in the Button and ButtonBase classes) as I read in the Flex docs: Overriding the styleChanged() method
    UPDATE: I forgot that setStyle calls invalidateDisplayList... and I just figured out that when the lable sets the text on the TextBase it calls the invalidates. I answered this one myself
    3) I don't understand why do I have this code (copied from the buttonBase):
    if (!styleProp ||
        styleProp == "styleName" ||
        styleProp == "numberFontSize" ||
        styleProp == "numberPaddingTop")
    instead of just the code below:
    if (styleProp == "numberFontSize" ||
       styleProp == "numberPaddingTop")
    5) I am also not sure why I had to use content and label (again copied from the ButtonBase) when they are basicly the same thing
    Currently with this Custom Component I've made, I am able to put 2 lables in the skin. One is the default. And the other one takes the default values I put on the label itself + uses the two styles numberFontSize and numberTopPadding to change that default values in case they need to be altered.
    Although this works, I am not sure if I did it the best way or why does it work as you can say from my 5 questions
    I hope you or someone who understands this have the time to answer them for me and anyone who reads this Thanks
    Message was edited by: FM_Flame

  • How to identify which server are connected in a switch?

    Hi,
    Many servers are connected to a switch?
    How to identify what server are connected to which port remotely?
    Thanks!
    Samuel

    Hi Sam,
    just issue the command show ip arp , it will display some thing like this for know the MAC address & the VLAN number.
    Protocol Address Age (min) Hardware Addr Type Interface
    Internet 10.2.1.18 9 0800.6913.710e ARPA Vlan2
    to know on which port it is connected, just issue the command as mentioned below
    sh mac-address-table address 0800.6913.710e
    Mac Address Table
    Vlan Mac Address Type Ports
    2 0800.6913.710e DYNAMIC Po1
    hpe this will help you to identify your servers.
    rate this post.

  • How to identify Which ports are using in RAC setup?

    Hi,
    how to identify Which ports are using in RAC setup?
    Thnaks,

    [Viewing Port Numbers and Access URLS|http://download.oracle.com/docs/cd/B19306_01/install.102/b14205/ports.htm#sthref1208]

  • How to identify what queries are embeded in workbook in bi 7?

    Hi all,
    How to identify what are all the queries are used in the workbook in Bi 7?
    can anyone help me on this!!
    Thanks
    pooja

    Hi,
    Please check the table RSRWORKBOOK. Enter the name of the work book, it will give you the GENUID of the query. Pass these values to table RSRREPDIR. You will get the names of the queries.
    - Jaimin

  • ?? About how many downloads the apps are getting

    If anyone can help, it would be appreciated. Either first hand knowledge or information you have heard or read would be fine.
    I am doing market research and wonder how many application/game downloads are really occuring in the App Store/iTunes for iPhones/iPod Touch devices. I know how many total downloads they have (200 million), but any only concerned with Paid Apps/Games. So if anyone can answer these questions or share some light, thanks
    1) How many of the 200 million downloads are from paid apps
    2) Does anyone know how many paid downloads it takes to take the #1 spot daily, #10 spot, #25 spot, and #50 spot
    3) How many apps/games have you paid for, and how many free ones have you downloaded.
    Thanks again.

    jdawson1960
    Your posting is clearly outside the stated purpose of these forums and your user account is being blocked on that account.
    This is a Java forum, not a market research site.
    db

  • How to identify SQL_PROFILES that are not being used?

    In dba_hist_sqlstat table were found 26 Sql_Profiles, some of them are not used.
    Questions:
    - Is there any way to identify which one are not used?
    I tried verifying DBA_SQL_PROFILES but this does not help to much.
    - Analyzing one by one, Is the only way to find why they are not used?
    Thanks,
    Deyanira

    Hello;
    You should be able to Join the views DBA_USERS and DBA_PROFILES to see whats in use. ( or not in use )
    select distinct
      profile
    from
      dba_profiles
    where
      profile not in ( select profile from dba_users )  On the second question I would ask the DBA.
    Best Regards
    mseberg
    Dan is correct. I have misread the question. Sorry about that.
    Edited by: mseberg on Jun 28, 2012 3:06 PM

  • How can I prevent filter from getting applies to .html page?

    Hi,
    I have a MyFaces filter that I don't want applied to pages ending in ".html". However, upon visiting the "/myapp/index.html" page of my application, I get an internal server error, and the stack trace indicates that the filter is being invoked. How can I prevent such a filter from being applied to ".html" pages? The stack trace and the web.xml file are below.
    Thanks, - Dave
    Error I get when visiting index.html page
    ####<Oct 30, 2008 8:46:44 AM MDT> <Error> <HTTP> <rhonti> <nps-supp-gui-ms-1> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1225378004500> <BEA-101020> <[weblogic.servlet.internal.WebAppServletContext@4f2189 - appName: 'nps_history_gui', name: 'nps_history_gui.war', context-path: '/nps_history_gui'] Servlet failed with Exception
    java.lang.IllegalStateException: ExtensionsFilter not correctly configured. JSF mapping missing. JSF pages not covered. Please see: http://myfaces.apache.org/tomahawk/extensionsFilter.html
    at org.apache.myfaces.renderkit.html.util.AddResourceFactory.throwExtensionsFilterMissing(AddResourceFactory.java:389)
    at org.apache.myfaces.renderkit.html.util.AddResourceFactory.checkEnvironment(AddResourceFactory.java:349)
    at org.apache.myfaces.renderkit.html.util.AddResourceFactory.getInstance(AddResourceFactory.java:279)
    at org.apache.myfaces.webapp.filter.TomahawkFacesContextWrapper.<init>(TomahawkFacesContextWrapper.java:115)
    at org.apache.myfaces.webapp.filter.TomahawkFacesContextFactory.getFacesContext(TomahawkFacesContextFactory.java:85)
    at javax.faces.webapp.FacesServlet.prepareFacesContext(FacesServlet.java:307)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:141)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
    at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:525)
    at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:261)
    at com.myco.nps.im.plugin.NPSIMIntercepter.doFilter(NPSIMIntercepter.java:101)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
    at com.myco.nps_history.filters.NoCachingFilter.doFilter(NoCachingFilter.java:30)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3229)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2002)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1908)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1362)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
    =================Begin web.xml=======================
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" version="2.4">
    <display-name>
    nps_history_gui</display-name>
    <filter>
    <filter-name>extensionsFilter</filter-name>
    <filter-class>org.apache.myfaces.webapp.filter.ExtensionsFilter</filter-class>
    <init-param>
    <description>Set the size limit for uploaded files.
    Format: 10 - 10 bytes
    10k - 10 KB
    10m - 10 MB
    1g - 1 GB</description>
    <param-name>uploadMaxFileSize</param-name>
    <param-value>100m</param-value>
    </init-param>
    <init-param>
    <description>Set the threshold size - files
    below this limit are stored in memory, files above
    this limit are stored on disk.
    Format: 10 - 10 bytes
    10k - 10 KB
    10m - 10 MB
    1g - 1 GB</description>
    <param-name>uploadThresholdSize</param-name>
    <param-value>100k</param-value>
    </init-param>
    </filter>
    <filter>
    <filter-name>No Caching Filter</filter-name>
    <filter-class>com.myco.nps_history.filters.NoCachingFilter</filter-class>
    </filter>
    <filter>
    <filter-name>SSOFilter</filter-name>
    <filter-class>com.myco.nps.im.plugin.NPSIMIntercepter</filter-class>
    <init-param>
    <param-name>filter_conf_file</param-name>
    <param-value>/export/third-party/etsbea/application_conf/wls_9.2.2/nps_history_gui_conf/nps_im_plugIn.properties</param-value>
    </init-param>
    </filter>
    <filter-mapping>
    <filter-name>extensionsFilter</filter-name>
    <url-pattern>*.jsf</url-pattern>
    </filter-mapping>
    <filter-mapping>
    <filter-name>extensionsFilter</filter-name>
    <url-pattern>/faces/*</url-pattern>
    </filter-mapping>
    <filter-mapping>
    <filter-name>No Caching Filter</filter-name>
    <url-pattern>/*</url-pattern>
    </filter-mapping>
    <filter-mapping>
    <filter-name>SSOFilter</filter-name>
    <url-pattern>/*</url-pattern>
    </filter-mapping>
    <servlet>
    <servlet-name>Faces Servlet</servlet-name>
    <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet>
    <description>Sets properties of History UI app</description>
    <display-name>HistoryInitServlet</display-name>
    <servlet-name>HistoryInitServlet</servlet-name>
    <servlet-class>com.myco.nps_history.servlets.HistoryInitServlet</servlet-class>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet-mapping>
    <servlet-name>Faces Servlet</servlet-name>
    <url-pattern>*.jsf</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>HistoryInitServlet</servlet-name>
    <url-pattern>/HistoryInitServlet</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>HistoryInitServlet</servlet-name>
    <url-pattern>/refresh</url-pattern>
    </servlet-mapping>
    <welcome-file-list>
    <welcome-file>index.html</welcome-file>
    <welcome-file>index.htm</welcome-file>
    <welcome-file>index.jsp</welcome-file>
    <welcome-file>default.html</welcome-file>
    <welcome-file>default.htm</welcome-file>
    <welcome-file>default.jsp</welcome-file>
    </welcome-file-list>
    </web-app>
    ==================End web.xml=======================

    I got that error when using the request URL /myapp/ or /myapp/index.html.
    Regarding,
    At any way, you should map the ExtensionsFilter on the FacesServlet rather than on any url-pattern. Could you elaborate on what you mean? Maybe with an example?
    Thanks, - Dave

  • Deduplication: how to identify which files are "in-policy" (and which are not)?

    Dear experts,
    in eventlog I find the following information for one of my deduplicated volumes:
    Volume: F: (\\?\Volume{9794e270-fb08-487e-979b-8a08fa9ca311}\)
    Error code: 0x0
    Error message:
    Savings rate: 24
    Saved space: 853327714684
    Volume used space: 2681869406208
    Volume free space: 66771247104
    Optimized file count: 1199618
    In-policy file count: 1188049
    Job processed space (bytes): 0
    Job elapsed time (seconds): 2
    Job throughput (MB/second): 0
    Some things look strange to me: 
    - The savings rate is only 24% which looks odd because I get about 40% on other file shares with similar characteristics.
    - The "Optimized file count" is higher than the "in-policy" file count.
    - The volume has about 3.5 million files but only 1.1 million files are "in-policy".
    My understanding of "in-policy" files is that all files are in-policy which are older than 3 days (if not configured different, which is not the case) and which are not contained in an excluded folder (nothing configured here) and which have no
    excluded file extension (nothing configured here apart from the default). Right?
    I'm sure that only a small fraction of the files on this volume are younger than three days, so something seems to be wrong there, but I have no idea how to find the cause of the problem.
    Is there any way to identify the files (full path) which are considered to be not "in-policy"?
    How can I find out if the optimization process really looks at all files - and doesn't skip a million?
    Thanks!
    Regards
    Christoph

    Mandy, thanks for your feedback! I've read these technet articels, but I couldn't learn something really helpfull related to my problem there. To make investigation of the problem easier I did the following:
    - created a brand new empty volume (x:) on the same server
    - enabled data deduplication on that volume with a minimal file age of 0 days
    - copied about 2GB of data from the problem-volume in 15450 files to this new volume
    - started "Start-DedupJob x: -Type Optimization -Memory 50"
    After a few seconds that job completed and I got the following result:
    Volume: X: (\\?\Volume{d1ba9ed8-28f1-44d1-9535-fe603d6a70c6}\)
    Error code: 0x0
    Error message:
    Savings rate: 0
    Saved space: 12360718
    Volume used space: 3091664896
    Volume free space: 7610097664
    Optimized file count: 153
    In-policy file count: 153
    Job processed space (bytes): 46095214
    Job elapsed time (seconds): 9
    Job throughput (MB/second): 4.88
    The question is: why are only 153 files in-policy?
    All files (of more than 15000) are of course "older than 0 days", there are no excluded folders configured, there are no excluded extensions configured, no file has one of the default excluded extensions and more than 1000 files are bigger than 100kB
    (minimal size for deduplication is 32kB). So what makes only 153 files qualify for deduplication?
    My impression is that there are further undocumented requirements which have to be met by a file to qualify for deduplication. But if there's no detailed log of an optimization run available how to find out what's going on?
    (Or is something going wrong on my server?)
    Kind Regards
    Christoph

  • How to hide columns that are getting added dynamically to UI Element 'Table

    In SRM 7.0 while displaying a RFx, click on "responses and awards" button.
    In the response comparision tab once the user selects response number and clicks on "compare all responses".
    Item details table is displayed with fields item number,internal number,item description,........,Price etc.
    Requirement is  to hide the price column from the table.
    The UI element type is 'Table'.
    But the catch is there is no column price visible at layout design level.
    This field is getting added dynamically at run time.
    When i right click and see the 'more field help' at the front end i get the field id as 'GRP_1_COL_3_TXTV'.
    lo_table ?= view->get_element( id = 'ITEMS_TABLE' ).
    lo_column = lo_table->get_column( id = 'GRP_1_COL_3_TXTV').
    ASSERT lo_column IS NOT INITIAL.
    lo_column->set_visible( EXPORTING value = '01' ).
    I had written the above code in the pre-exit of WDDOMODIFYVIEW.
    But i am getting dump as assertion failed.it says no column by name 'GRP_1_COL_3_TXTV'.
    Please help me inhow to hide fields or buttons getting generated dynmically.
    Regards,
    Venkat Raghavan.

    Hi Anitha,
    What i understood from your question is,you want to control the table from your inputs.I have a one question for you what do you want to show defaultly i.e when you run the application what you want to show,either no table or table with some values.
    Any how i am giving solution in this way.
    If both inputs are given proper table output is displayed
    Write your below logic in the WDDOMODIFYVIEW )
    Here i am assuming that you already have a table element in the view.
    Get the values entered in the input fields and compare those 2 values ,if the condition is satisfied then bind the values which you want to show in the table to the context node.
    but if only 1 input is given a column is empty in the output table so i want to hide this column dynamically at runtime based on my inputs
    You are telling that you know the empty column.If so get the view element reference and use the REMOVE_COLUMN to remove the column.
    data:lr_table type ref to cl_wd_table,
           lr_column type ref to L_WD_TABLE_COLUMN.
    lr_table ?= view->get_element( 'TABLE1' ).
    CALL METHOD LR_TABLE->REMOVE_COLUMN
        EXPORTING
          ID          = 'TABLE1_color'
         INDEX      =
        RECEIVING
          THE_COLUMN = lr_column.
    i want to hide some empty rows also at runtime based on inputs.
    Removing the rows is very simple.if you know the key fields data of internal table from your input fields then do in this way.
    delete itab from wa where key1= "12" and key2="abd".
    Now bind the internal table to context node.
    LO_ND_hcm->BIND_TABLE(
          NEW_ITEMS            = it_final
          SET_INITIAL_ELEMENTS = ABAP_TRUE ).

  • How to identify the modified rows in ALV grid in OO

    Hello All,
    I have strange problem and i don't know how to solve it?
    I have ALV grid and in that ALV grid i have two buttons 'CONT' and 'ALLOC', when the user press 'ALLOC' button i will give a popup to make the user to enter some value.
    After entering the value i will do some calicualtions and i will distribute the amount in the fields of ALV grid and i should update the ALVGRID.
    Normally we can use CALL METHOD ME->REFRESH_TABLE_DISPLAY.( I have already checked by using this method and it worked fine)
    Here is the way my program look like
    ALVTREE1
    ALVTREE2
                 |----
    ALVGRID
    The problem is when i press the other button CONT i am unable to know what values exist in ALVGRID.
    How can i find these distributed amount in ALV?
    I hope i am clear while explaining problem.
    Here is  the required code:
      method handle_user_command.
        data: lt_fields       type table of sval,
              ls_field        type sval,
              ls_fieldcatalog type lvc_s_fcat,
              ls_merkpl       type zvhf_merkpl,
              lv_month(2)     type n ,
              lv_year(4)      type n ,
              lv_spmon        type zvhf_allocation-spmon,
              lv_value        type p.
        field-symbols: <fs> type any,
                       <ls_merkpl> type zvhf_merkpl.
        case  e_ucomm.
          when 'CNT'.
            call method gcl_gui_alv_grid->check_changed_data.
            call method dailogbox_container->set_visible
              exporting
                visible = space.
            call method gcl_gui_alv_tree2->frontend_update.
            call method gcl_gui_alv_tree2->update_calculations.
            clear: gt_merkpl.
          when 'ALCT'.
    Popup to get the values enterd by the user
            ls_field-tabname   = 'DD02V'.
            ls_field-fieldname = 'DDTEXT'.
            append ls_field to lt_fields.
            call function 'POPUP_GET_VALUES'
              exporting
                popup_title     = 'Enter value'
                start_column    = '1'
                start_row       = '1'
              tables
                fields          = lt_fields
              exceptions
                error_in_fields = 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.
            elseif sy-subrc = 0.
              read table lt_fields into ls_field index 1.
              if sy-subrc = 0.
                gv_value = ls_field-value.
    Read the table zvhf_allocation with nodekey  in order to get percentages
                select * from zvhf_allocation into table gt_allocation
                                   where dvkbur = gs_node_info-nodename.
    Read gt_merkpl in order to get existing line in ALV grid
                loop at  gt_merkpl into ls_merkpl.
    *Read FCAT inorder to find the field and move proprtinate value
                  loop at gt_fieldcatlog3 into ls_fieldcatalog.
    *Split is required to match ZVHF_ALLOCATION-SPMON  with screen text and to proprtinate the value
                    split ls_fieldcatalog-scrtext_l at '.' into
                          lv_month lv_year.
                    concatenate lv_year lv_month into lv_spmon.
    Check whether an entry exist or not in ZVHF_allocation
                    read table gt_allocation into gs_allocation
                                              with key spmon = lv_spmon binary search.
    *If an entry exist proprtinate the value as enterd in table
                    if sy-subrc = 0.
                      lv_value  = gv_value * gs_allocation-prozent.
                      lv_value = lv_value / 100.
                      perform assign_value using     ls_fieldcatalog-fieldname lv_value
                                           changing  ls_merkpl.
                      modify gt_merkpl from ls_merkpl.
                    endif.
                  endloop.
                 CALL METHOD gcl_gui_alv_grid->frontend_update.
                  call method gcl_gui_alv_grid->refresh_table_display
                    exceptions
                      finished = 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.
                endloop.
              endif.
            endif.
        endcase.
      endmethod.                    "handle_user_command
    If you have any further questions please let me know.
    Regards,
    Lisa

    Hello Vijay,
    Thanks for you reply,
    The event data_changed is not working because i called method refresh_table_display. So the event changed will not be raised after i press button CONT
    If i didn't call this method then i can see the value enterd by the user in ALV grid.
    So, do you have an more ideas.
    Regards,
    Lisa

  • How to identify reports that are using a specific universe object?

    Any idea how to use BO Auditor or Metadata Manager to identify webi reports that are using a specific universe object or universe prompt in the report SQL?

    Hi Samuel,
    In case you are using BOXIR2 you can do this by editing the crystalenterprise.webi.xml file.
    Replace the CrystalEnterprise.Webi.xml file (Take a backup) with the edited one.                                                                               
    Path where you can find this file- Tomcat/webapps/businessobjects/enterprise115/desktoplaunch/WEB-INF/classes/META-INF/CrystalEnterprise.Webapps/ePortfolio/plugins                                                                               
    Paste the Custom Documentation folder in Tomcat\webapps\businessobjects\enterprise115\desktoplaunch\ 
    May I know your email Id so that I can send you the edited crystalenterprise.webi.xml file.
    Regards,
    Sarbhjeet Kaur

  • How to identify programs modified in Production without transport request?

    Hi Gurus,
    I have the following doubt regarding how to do the following:
    We have our Production environment closed to do changes, but a couple of times we are opening the environment to enable our Developers to make some specific changes, but.....we want to be sure that any other program has been changed.
    How can we know if a program (Z program) has been modified directly, not by a transport request?
    Thanks in advance guys for your help.

    Hi,
    Using Tcode: SE38, display the program, go through the menu path Utilities->Version Management.Here you can see the active version, compare with the earlier versions, remote compare with other systems like Dev System, QA System etc, who modified latestly, transport request number if any, date details etc.
    Hope this helps.
    Thanks,
    Srinivas

  • How to identify what columns are being suppressed

    Hi,
    I have a database that may be masking some columns via a VPD. I'd like to identify the policies and the columns that are masking it. I have checked ALL_POLICIES (and DBA_POLICIES) but (I think) it doesnt show the columns that are being masked. What system tables should I be looking at for this detail. I couldn't locate this information in the Oracle documentation. Thanks.
    Harold.

    Hi,
    Query DBA_SEC_RELEVANT_COLS
    Salman

  • How to identify fields which are fast approaching the size limits

    Hi All,
    Is there an easy (or any) way of identifying Database fields whose field sizes are close to the limits.
    Example: I have field called SEQ_NUM, size of the field is 3 and currently latest value in the filed is 995, soon it will be a 1000.
    Thanks
    Raghu

    Hi, Raghu,
    Assuming your statistics are up to date, you can start with the information in the data dictionary view user_tab_columns (or all_tab_columns, or dba_tab_columns).
    The column high_value is a RAW representing the highest value. There's a conversion function in the supplied package utl_raw.
    The column data_precision is the maximum number of digits, and data_scale is the number of them to the right of the decimal point
    SELECT     table_name
    ,     column_name
    ,     utl_raw.cast_to_number (high_value)     AS actual_high
    ,     POWER (10, data_precision - data_scale)     AS possible_high
    FROM     user_tab_columns
    WHERE     data_type     = 'NUMBER'
    AND      ( utl_raw.cast_to_number (high_value)          -- actual_high
          / POWER (10, data_precision - data_scale)     -- possible_high
          ) > .95      -- or whatever
    ;I'm sure there are lots of special cases (large negative numbers, for example) that this will not catch.

Maybe you are looking for

  • Macbook Pro won't connect to the Internet anymore.

    I am posting on behalf of a friend. She has a MacBook Pro 13" Early 2011 model. She can connect to Wifi and Ethernet cables fine, But when it comes to using the internet it won't work. She tried Safari, Firefox and Chrome, and other software that use

  • Need Help !  Can't see songs after importing from CD, but shows in explorer

    I import CD and songs show up in library in explorer, but won't show in itunes or on ipod. I reinstalled intunes over and over with new version and even original cd.

  • Z10 crashes after trying to update OS

    Hi Guys, So after 'successfully' updating my OS to the 10.1... My phone would not connect to my network and was only available on WiFi, also the blackberry hub totally disappeared showing just a black screen when I try to access it. I tried restoring

  • Setting up Gmail in mail

    Hi, This might sound dum but I've been trying to set up my work, ebay, ect. e-mail accounts and there on gmail i was wonding is there a way to set it up on mail and if so what is the Account Description (Pop, ect.) and would the Incoming mail Server

  • How do I get information back on my iphone3gs?

    I recently had my new iPhone 3GS sent away and replaced for a new phone as parts went faulty in the previous. I have now had this phone for 2months and it wasn't until today I decided to put on music on my new iPhone. However, when I plugged my iPhon