Restricting a Ratio with a filter on a dynamic value.

In a Report built with the query designer.
I display:
Row Custumer Category  Material   ListPrice   SalesPrice
    1       K1           C1           M1          5               4
    2       K2           C1           M2          6               5
    3       K2           C2           M3          4               3
The Report is based on a multicube composed of 2 cubes.
One Cube is recording ListPrice By Material and Category
The other cube is Recording SalesPrice By Custumer and  Material.
The Category is also an Attribute of the customer.
ListPrice do not vary according to customer.
I managed to Display my listPrice on the same Row of the Sales Price with a constant selection on customer in the ratio ListPrice
But The ListPrice cumulates on the different categories. Indeed for each Material, several ListPrice are recorded depending on the Category so it's aggregating the listPrice and I don't want so. So I could filter on a given Category like C1 or C2. Nevertheless I want to display various categories in the same report. In fact,  Line 1: ListPrice should be filtered on Category C1 and Line 3: ListPrice should be filtered on category C2.
Do you have an idea how I could do ?
Thank you.

Check the cube to see if the 0CALMONTH field is populated.
Check the transformation may be the transformation was not activated correctly. if thats the case then retransport the transformation again.
Use TCode RSRT to debug the query to see if something else is happening
I would also check the query to see if any other filters are present

Similar Messages

  • Complex request with range filter and boolean search

    Hi
    I need a build and maintain complex requests to Oracle Endeca Server. These requests could include different types of attributes: string, datetime, int.
    For string attributes I have created a search interface and use boolean search. For datetime attributes I use a range filter. Separately it works as I expected, but it fails with combined search with range filter and boolean search in a single request. As I see from results range filter is completely ignored. What could be wrong with following request?
    <?xml version="1.0" ?>
    <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
    <S:Body>
    <ns3:Request xmlns:ns2="http://www.endeca.com/MDEX/lql_parser/types" xmlns:ns3="http://www.endeca.com/MDEX/conversation/1/0">
    <ns3:State/>
    <ns3:Operator xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ns3:RecordFilterOperator">
    <ns3:RecordFilter Name="OnlyData">AND(NOT(mdex-property_Key),NOT(mdex-dimension_Key),NOT(mdex-config_Key),NOT(mdex-precedenceRule_Key),NOT(system-group_Key),NOT(system-group-membership_Key))</ns3:RecordFilter>
    </ns3:Operator>
    <ns3:Operator xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ns3:SortOperator" Direction="Descending" Key="string_prop" OwnerId="Records"/>
    <ns3:Operator xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ns3:RangeFilterOperator">
    <ns3:RangeFilter AttributeName="dateTime_prop">
    <ns3:LowerBound Inclusive="true">2012-07-24T19:47:01Z</ns3:LowerBound>
    </ns3:RangeFilter>
    </ns3:Operator>
    <ns3:Operator xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ns3:SearchOperator">
    <ns3:SearchFilter SnippetLength="20" EnableSnippeting="true" Mode="Boolean" Key="orderSearch">multiple_prop : one</ns3:SearchFilter>
    </ns3:Operator>
    <ns3:ContentElementConfig xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ns3:RecordListConfig" HandlerFunction="RecordListHandler" HandlerNamespace="http://www.endeca.com/MDEX/conversation/1/0" Id="Records">
    <ns3:RecordsPerPage>3</ns3:RecordsPerPage>
    </ns3:ContentElementConfig>
    </ns3:Request>
    </S:Body>
    </S:Envelope>
    If my approach is incorrect could you provide me a a better way to handle such requests?
    Regards,
    Eugene.

    Hi Eugene,
    As you know, this issue has been discussed further, so I am posting here the summary of the findings, with the hope that this summary will benefit the Endeca Server user community at large.
    * Boolean search only works with range filters for the AND operator. The documentation link above confirms this.
    *Because of this restriction, you need to build another query that would achieve the same result. Both options are equally good and would achieve the results you need. Two suggestions that we've received were:
    - Option 1. You could perform the key restriction of the search via a restrictive search interface rather than using the boolean match mode. This would involve creating a search interface for each field and then querying against the search interface for the field in question:
    <Operator xmlns="http://www.endeca.com/MDEX/lql_parser/types" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="SearchOperator">
    <SearchFilter SnippetLength="20" EnableSnippeting="true" Mode="All" Key="orderSearch_for_field_multiple_prop">one</SearchFilter>
    </Operator>
    For this option, you would have to create a search interface for each attribute, using the Config Web Service. Here is the topic about loading config documents into the Endeca Server:http://docs.oracle.com/cd/E29805_01/server.230/es_dev/toc.htm#Loading%20configuration%20documents
    - Option 2
    * You could implement the range filter through EQL row expression syntax instead and pass it in via the DataSourceFilterOperator, which acts as a prefilter on all other query logic, using the Conversation Web Service. Thus you might include:
    <Operator xmlns="http://www.endeca.com/MDEX/lql_parser/types" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="DataSourceFilterOperator">
    <DataSourceFilterString>dateTime_prop <= TO_DATETIME('2012-07-24T19:47:01Z')</DataSourceFilterString>
    </Operator>
    For this option, using the DataSourceFilter does not require you to model the rest of the query in EQL. It will perform slightly better than the filter in option 1 because of the order in which record set intersections are computed, but the difference is likely to be very small.
    Finally, if this addresses your question, please mark this question as answered, so that others can benefit from it on the forum. Big thanks to Endeca Server development team (you know who you are!), for helping to find solutions for this request.
    Julia
    Edited by: JuliaM on Aug 30, 2012 2:05 PM
    Edited by: JuliaM on Aug 30, 2012 2:06 PM

  • Issue with parameter/filter - trying to display null rows

    This is how my data looks in the database
    Order_ID -----   Vendor
    ID123             NULL
    ID234             ABC
    ID456             NULL
    ID001             CDE
    I want to create an SSRS report with a filter for vendors
     *All Vendors should be checked off by default
     *Users should be able to select multiple vendors
    So I started by creating the VendorDataSet, the query looks like
    SELECT VendorName
    FROM Vendor
    WHERE Active = 1
    *This query will return all active vendors stored in my vendor table
      Then, I created my parameter @prmVendor and it looks like:
     -Data Type: Text
    -Allow blank value("")
    -Allow multiples values
    Available Values:
    -Dataset: Vendor
    -Value field: vendor_name
    -Label field: vendor_name
    The main query of the report looks like
    Select Order_ID, Vendor
    FROM Order
    LEFT JOIN Vendors
    ON Order.VendorID = Vendor.ID
    WHERE Vendor IN (@prmVendor)
    So at this point it does what is supposed to do except - that when I run the query with all the vendors selected,
    the query will only return the ones with vendors populated.
    Order_ID -----   Vendor
    ID234             ABC
    ID001             CDE
    I've tried adding the following to my VendorDataSet:
    SELECT VendorName
    FROM Vendor
    WHERE Active = 1
    UNION ALL
    SELECT '' -- I've also tried SELECT NULL
     But when I run the report and look at the list of vendor displayed - it won't show the empty row in the vendor drop down filter
    thus, my main query will ignore the orders with no vendors.
     Any ideas on how to fix this issue?
    -Alan

    So I changed my VendorDataSet to look like this:
    ;WITH cteVendors AS (
    SELECT VendorName
    FROM Vendor
    WHERE Active = 1
    UNION ALL
    SELECT ''
    SELECT (CASE WHEN Vendor IS NULL THEN '' ELSE Vendor END) AS VendorName
    FROM cteVendors
    This allowed me to show an empty box in my drop down filter see link for
    image
    Is there a way to make some changes to my main query so this works? so if the user was to select the blank box the query will return something like :
    Order_ID -----   Vendor
      ID123             NULL
       ID456             NULL
    -Alan

  • I can isolate a bookmark with the filter, but how can I "find" a bookmark in the hierarchy of the ShowAllBookmarks window?

    I want to find a bookmark in its location in the hierarchy of bookmarks, but all I can do with the filter is isolate a bookmark[s]; either using the filter of the bookmarks sidebar, or in the ShowAllBookmarks window. For instance, I know I have a certain bookmark, but I want to move it into a new "folder" and rename it, perhaps; for this I need to be able to *see* it in the hierarchy, as in the Finder of a Mac, when the filter turns up a file, then "Show Original" of "Open Enclosing Folder."

    I'm just trying to understand how to use these add-ons, having just added them on, to borrow a phrase, but have now found a comment re Go Parent Folder, "This extension does not seem to work in MacOS X. " <http://forums.mozillazine.org/viewtopic.php?t=659690>. Sadly [altho I really like Snow Leopard] I'm running OS X.6.7. Nonetheless a contextual menu mousing down on a "found" bookmark indeed does give the working option of "Go to Parent Folder" from the found list of the ShowAllBookmarks window, *or* the that of the sidebar window. Bravo!!
    Just a question again, how would I have learned this had I not bothered the entire forum, and taken cor-el's time/effort?

  • Error while using a VIEW with a FILTER - 0x80131904

    Dear Colleagues,
    I've a list and I want to use a view with a filter on a specific field.
    [Attribution] is egal to [Me]
    My Sharepoint 2013 keeps providing this error when I open the view filtered :
    Exception from HRESULT: 0x80131904
    Correlation ID:fc8650d8-5f52-4ceb-b819-0f784ec0318f
    ULS shows the following :
    01/07/2014 17:44:58.41 w3wp.exe (0x21C0) 0x2AF4 SharePoint Foundation Logging Correlation Data xmnv Medium Name=Request (GET:http://vspar-spfw-01:80/Lists/Conduite%20Changement/Requtes%20Attribues%20%20Moi.aspx) 3d46579c-63c3-4dc9-bb9a-e7155e8da45a
    01/07/2014 17:44:58.42 w3wp.exe (0x21C0) 0x2AF4 SharePoint Foundation Logging Correlation Data xmnv Medium Site=/ 3d46579c-63c3-4dc9-bb9a-e7155e8da45a
    01/07/2014 17:44:58.42 w3wp.exe (0x21C0) 0x2AF4 SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (PostResolveRequestCacheHandler). Temps d’exécution=13,5726747393873 3d46579c-63c3-4dc9-bb9a-e7155e8da45a
    01/07/2014 17:44:58.48 w3wp.exe (0x21C0) 0x2AF4 SharePoint Foundation Database d0d6 High System.Data.SqlClient.SqlException: Conversion failed when converting the nvarchar value 'Benjamin RIOU' to data type int. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) at System.Data.SqlClient.SqlDataReader.HasMoreRows() at System.Data.SqlClient.SqlDataReader.ReadInternal(Boolean setTimeout) at Microsoft.SharePoint.SPSqlClient.ExecuteQueryInternal(Boolean retryfordeadlock) at Microsoft.SharePoint.SPSqlClient.ExecuteQuery(Boolean retryfordead... 3d46579c-63c3-4dc9-bb9a-e7155e8da45a
    01/07/2014 17:44:58.48* w3wp.exe (0x21C0) 0x2AF4 SharePoint Foundation Database d0d6 High ...lock) 3d46579c-63c3-4dc9-bb9a-e7155e8da45a
    01/07/2014 17:44:58.48 w3wp.exe (0x21C0) 0x2AF4 SharePoint Foundation General xxpm High Unable to execute query: Error 0x80131904 3d46579c-63c3-4dc9-bb9a-e7155e8da45a
    01/07/2014 17:44:58.48 w3wp.exe (0x21C0) 0x2AF4 SharePoint Foundation General 8e2s Medium Unknown SPRequest error occurred. More information: 0x80131904 3d46579c-63c3-4dc9-bb9a-e7155e8da45a
    01/07/2014 17:44:58.48 w3wp.exe (0x21C0) 0x2AF4 SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (EnsureListItemsData). Temps d’exécution=12,6535635115636 3d46579c-63c3-4dc9-bb9a-e7155e8da45a
    01/07/2014 17:44:58.48 w3wp.exe (0x21C0) 0x2AF4 SharePoint Foundation Web Parts 89a1 High Error while executing web part: Microsoft.SharePoint.SPException: Exception from HRESULT: 0x80131904 ---> System.Runtime.InteropServices.COMException (0x80131904): Exception from HRESULT: 0x80131904 at Microsoft.SharePoint.Library.SPRequestInternalClass.GetListItemDataWithCallback2(IListItemSqlClient pSqlClient, String bstrUrl, String bstrListName, String bstrViewName, String bstrViewXml, SAFEARRAYFLAGS fSafeArrayFlags, ISP2DSafeArrayWriter pSACallback, ISPDataCallback pPagingCallback, ISPDataCallback pPagingPrevCallback, ISPDataCallback pFilterLinkCallback, ISPDataCallback pSchemaCallback, ISPDataCallback pRowCountCallback, Boolean& pbMaximalView) at Microsoft.SharePoint.Library.SPRequest.GetListItemDataWithCallback2(IListItemSqlClient pSqlClient, String bstrUrl, String bstrListNa... 3d46579c-63c3-4dc9-bb9a-e7155e8da45a
    01/07/2014 17:44:58.48* w3wp.exe (0x21C0) 0x2AF4 SharePoint Foundation Web Parts 89a1 High ...me, String bstrViewName, String bstrViewXml, SAFEARRAYFLAGS fSafeArrayFlags, ISP2DSafeArrayWriter pSACallback, ISPDataCallback pPagingCallback, ISPDataCallback pPagingPrevCallback, ISPDataCallback pFilterLinkCallback, ISPDataCallback pSchemaCallback, ISPDataCallback pRowCountCallback, Boolean& pbMaximalView) --- End of inner exception stack trace --- at Microsoft.SharePoint.SPGlobal.HandleComException(COMException comEx) at Microsoft.SharePoint.Library.SPRequest.GetListItemDataWithCallback2(IListItemSqlClient pSqlClient, String bstrUrl, String bstrListName, String bstrViewName, String bstrViewXml, SAFEARRAYFLAGS fSafeArrayFlags, ISP2DSafeArrayWriter pSACallback, ISPDataCallback pPagingCallback, ISPDataCallback pPagingPrevCallback, ISPDataCallback pFilterLinkCallback, ISPDataCal... 3d46579c-63c3-4dc9-bb9a-e7155e8da45a
    01/07/2014 17:44:58.48* w3wp.exe (0x21C0) 0x2AF4 SharePoint Foundation Web Parts 89a1 High ...lback pSchemaCallback, ISPDataCallback pRowCountCallback, Boolean& pbMaximalView) at Microsoft.SharePoint.SPListItemCollection.EnsureListItemsData() at Microsoft.SharePoint.SPListItemCollection.get_Count() at Microsoft.SharePoint.WebControls.SPDataSourceView.ExecuteSelect(DataSourceSelectArguments selectArguments, String aggregateString, Boolean wantReturn, BaseXsltListWebPart webpart, SPListItem& listItem, SPListItemCollection& listItems, String[]& fieldList) at Microsoft.SharePoint.WebControls.SingleDataSource.GetXPathNavigatorInternal() at Microsoft.SharePoint.WebControls.SingleDataSource.GetXPathNavigator() at Microsoft.SharePoint.WebPartPages.DataFormWebPart.PrepareAndPerformTransform(Boolean bDeferExecuteTransform) 3d46579c-63c3-4dc9-bb9a-e7155e8da45a
    01/07/2014 17:44:58.48 w3wp.exe (0x21C0) 0x2AF4 SharePoint Foundation Web Parts 89a2 High InnerException 1: System.Runtime.InteropServices.COMException (0x80131904): Exception from HRESULT: 0x80131904 at Microsoft.SharePoint.Library.SPRequestInternalClass.GetListItemDataWithCallback2(IListItemSqlClient pSqlClient, String bstrUrl, String bstrListName, String bstrViewName, String bstrViewXml, SAFEARRAYFLAGS fSafeArrayFlags, ISP2DSafeArrayWriter pSACallback, ISPDataCallback pPagingCallback, ISPDataCallback pPagingPrevCallback, ISPDataCallback pFilterLinkCallback, ISPDataCallback pSchemaCallback, ISPDataCallback pRowCountCallback, Boolean& pbMaximalView) at Microsoft.SharePoint.Library.SPRequest.GetListItemDataWithCallback2(IListItemSqlClient pSqlClient, String bstrUrl, String bstrListName, String bstrViewName, String bstrViewXml, SAFEARRAYFLAGS fSafeArrayFlags, ISP2DSafeAr... 3d46579c-63c3-4dc9-bb9a-e7155e8da45a
    01/07/2014 17:44:58.48* w3wp.exe (0x21C0) 0x2AF4 SharePoint Foundation Web Parts 89a2 High ...rayWriter pSACallback, ISPDataCallback pPagingCallback, ISPDataCallback pPagingPrevCallback, ISPDataCallback pFilterLinkCallback, ISPDataCallback pSchemaCallback, ISPDataCallback pRowCountCallback, Boolean& pbMaximalView) 3d46579c-63c3-4dc9-bb9a-e7155e8da45a
    01/07/2014 17:44:58.50 w3wp.exe (0x21C0) 0x2AF4 SharePoint Foundation Monitoring b4ly Medium Leaving Monitored Scope (Request (GET:http://vspar-spfw-01:80/Lists/Conduite%20Changement/Requtes%20Attribues%20%20Moi.aspx)). Temps d’exécution=95,5520883240747 3d46579c-63c3-4dc9-bb9a-e7155e8da45a
    The filtered field is a list of choices with no multiples values.
    I'm pretty sure the issue is located here :
    01/07/2014 17:44:58.48 w3wp.exe (0x21C0) 0x2AF4 SharePoint Foundation Database d0d6 High System.Data.SqlClient.SqlException: Conversion failed when converting the nvarchar value 'Benjamin RIOU' to data type int. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) at System.Data.SqlClient.SqlDataReader.HasMoreRows() at System.Data.SqlClient.SqlDataReader.ReadInternal(Boolean setTimeout) at Microsoft.SharePoint.SPSqlClient.ExecuteQueryInternal(Boolean retryfordeadlock) at Microsoft.SharePoint.SPSqlClient.ExecuteQuery(Boolean retryfordead... 3d46579c-63c3-4dc9-bb9a-e7155e8da45a
    What can I do ?
    Thanks
    Best regards  / Ben

    Hi Ben,
    How did you design the filter on the view?
     This error usually occurred when people use SQL T-SQL. Here are two similar posts , please check whether they are useful for you:
    http://social.technet.microsoft.com/Forums/en-US/e1ba76f9-855f-4087-91a7-c3e492e59be4/conversion-failed-when-converting-the-nvarchar-value-xxxxxx-to-data-type-int?forum=transactsql
    http://social.technet.microsoft.com/Forums/en-US/1d0ab5f9-2ea6-4399-abbf-0c23b456e0f4/conversion-failed-when-converting-the-nvarchar-value-bottle-to-data-type-int?forum=transactsql
    Please create a new list, and create a new view, then add a filter on the view, compare the result.
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • None of fact sources are compatible with detail filter

    Hello
    We have 2 facts and 7 dimensions defined in physical layer and below are the relationships between them
    D1, D2, D3, D4, D5 are conformed dimensions and all joined to F1 and F2
    D6 is joined to F1
    D7 is joined to F2.
    In BMM layer, I combined two facts(F1 and F2 ) into one fact with two logical sources. And even set the aggregation content level for LTS of F1 to "total level of D7" and
    LTS of F2 to "total level of D6".
    Whenever I create a report with D6 attributes and D7 attributes without any filter D6 or D7 attribute filters., the report is generating fine. But if the report is using any of the D6 or D7 attributes in filter, I am getting the error *"None of fact sources are compatible with detail filter... "*
    Am I missing something. Can someone please help how to resolve this.
    BTW..We are on version 11.1.1.5
    Thanks,

    I am confused here..could you please explain why do you have to set the "Total" Level to Dimension D7 for F1 and "Total" Level for Dimension D6 on F2?
    Lets talk about F1 first:
    In your case F1 is joined to D1 through D6. Then in the logical layer, on the fact, have you set the levels for the dimensions D1 through D6 to all Detail or lowest level (ROW_WID/KEY)? (Assuming no hierarchies and all are at detail level)
    Similarly check the levels on the fact F2. My guess is that it is something to do with your logical level settings. Make sure the logical level are set correctly on the correct dimensions.
    Hope this helps.

  • Issue with a filter

    I am having a really hard time applying the filter "Brush Strokes -> Angled Strokes" to a colored box, whether it's just a selection or a rectangular box.
    I did this once and it worked (i.e. The box kept the same color and the correct filter was applied to it), but now I am trying to do it with a different box, whenever I access the Filter Gallery with the box selected, the color remains flat, even with the filter in question highlighted. I've tried everything I can think of, but it just seems like a weird glitch.. First time it worked, now it doesn't. Any idea what could be causing this?
    Thanks a lot in advance.

    New shapes on new layers don't have any layer styles for me.  I don't recall running across an option for applying layer styles to new shapes. 
    Is it possible you're drawing pixels on the same layer?  Layer styles are applied equally to whatever's on the entire layer.
    As far as I know, new layer styles use whatever defaults you explicitly set for them.  There are buttons such as the one shown below for setting your own default.
    The [ ] Use Global Light feature is a bit special in that it uses one global angle for all layer styles (change any one and they all change) - the idea being that things look better when the shadows and highlights all imply the light is coming from the same direction.
    Can you describe a specific case where the default you set isn't being used?  I'll be happy to try to reproduce it.
    -Noel

  • All items are not visible even with no filter

    I have a custom list and am not able to run a search the list, through the "all items" view, even with no filter set.  The list is also set to only view 50 items at a time, but I am not able to view the next batch of items.  The search
    will give no results even when the list contains the item with that specific information.

    Hi,
    1) I understand you are not able to view the 'All Items' in the list.
    Can you check the total number of items that list contains.
    Go to Site Actions-->View All site content see the number of items beside the list name( right side)
    I suspect the list might be reached the threshold value.
    2) If the number of Items are less than the threshold value then I would suggest you do a  test by creating another view by providing only the view name (Don't use any sort, Filter, Groupby ...etc) and just keep the default settings and let me
    know if you are able to see the items using the newly created view.
    ****************************************************************************************** Please remember to mark your question as answered &Vote helpful, if this solves/helps your problem.
    s p kumar

  • Can we restrict a formula with other characteristics?

    Hello all,
    I am using a structure in rows in my query designer. I have a formula in that structure now I a want to restrict that formula with particular fund ranges.
    Also one option that I am thinking is can I create the same formula in the key figures section ( but the formula has characteristics in it and i tried but it does not let me) has anyone done that.
    Can we do any of that or is there any other way of doing it.
    Thanks in advance,
    Raj

    Bhanu, Stefen,
    This what my query looks like ...i have a KYF structure in cloumns which has 4-5 restricted key figures.
    Then i have manually created a new structure in rows, because the client requirement is very very specific, most of the lines in my rows structure are like nodes of hierarchy and sometimes that node is restricted more by some char. now when i get at the bottom 5 lines i need to create a formula (revnuesexpensetrasnfers) and restrict that by fund ranges. and this object should be added to another selection (hierarchy node) which evetually will get what client wants.
    So how can I do it can you tell
    Thanks,Raj

  • How to know if implementation with a filter value exist for a BAdI in code?

    Hi all,
    Scenario:
    I created a BAdI. There will be a button on the UI to call its implementation(s); while if there is no implementation with specified filter value, this button needs to be hidden. Thus I need to know if the implementation exist before calling it.
    Question:
    In the ABAP code, how to get whether implementation with specified filter value exists for a BAdI?
    If it's possible, please help provide code.
    Thanks and regards,
    Said

    Problem solved:
    data: r_badi type ref to YOUR_BADI,
              badi_impl_num type i.
      get badi r_badi
        filters
          flt_name = fit_val.
      badi_impl_num = cl_badi_query=>number_of_implementations( badi = r_badi ).
      if badi_impl_num > 0.
        "there are badi implementation(s)
      endif.

  • Can you take a photo on an iPad 2 with a filter or do you have to add one after?

    Can you take a photo with a filter or can you only add it after?

    I guess you could tape a filter over the camera lens.
     Cheers, Tom

  • Content iView With out filter not displaying folder content

    Hi!
    I´m creating a ContentiView with out filter and pointing it to a document Folder, when the user access the iView this message appears:
    http://oneworld.neoris.net:50000/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fDemaBanorte!2fDemoBanorteRol!2fHome!2fBanortePage!2fContentiViewWOFilter/documents/BanorteDocuments
    The folder you are looking for has no displayable content.
    You can try one of the following:
    Access the folder using the Navigation user interface.
    Access the folder as a Web folder. Your operating system and browser dictate whether or not this will work.
    And when I click on "Access the folder using the Navigation user interface." then I can see the folder structure and its contents really nice.
    is there a way to configure the iView that allways display the content this way with out the user clicking on the "Access the folder using the Navigation user interface." option. ?
    Thanx in advanced!
    Gerardo J

    Hi,
    I resolved the problem using a KM Navigation iView, this iView has the functionality I was looking for and this displays the folders and then the content of the folders if we click on the folder. with the edit etc etc functionality.
    kind Regards,
    Gerardo J

  • ' delete an app. All apps wiggle incl. the one in questions. However the app I want to delete does not show the x button. I reseted, also restrictions are on with on for apps delete. Suggestions?

    ' delete an app. All apps wiggle incl. the one in questions. However the app I want to delete does not show the x button. I reseted, also restrictions are on with on for apps delete. Suggestions?

    mardemar wrote:
    ... - the only one without an x delete button.
    What is the name of this App and where did you get it...?

  • Problem with Extract Filter

    I have Problem with Extract Filter which was working OK until recently.
    Now, when I choose the filter the screen does not come up as the extract screen as it should and no other action can be taken except to press escape which returns me to normal. working.    Looks as if the extraction function has been sleected but does not show?
    I am trying to use the  extract on a layer.  Have tried to use it on a selection also.
    Anyone suggest a solution please?
    Bill

    Without a way to reset the tool, the only possibility seems to be to reset your preferences as described in the FAQ.
    http://forums.adobe.com/thread/375776?tstart=0
    You either have to physically delete (or rename) the preference files or, if using the Alt, Ctrl, and Shift method, be sure that you get a confirmation dialog.
    This resets all settings in Photoshop to factory defaults.
    (A complete uninstall/re-install will not affect the preferences and a corrupt file there may be causing the problem.)

  • How can I restrict a vendor with certain value limit?

    Hi Gururs,
    How can I restrict a vendor with certain value limit?.
    Scenario is like this
    If my company was decided to purchase goods from a particular vendor upto Rs.1000, if cross the rs.1000 limit don't allow the Posting the PO and get the Message as warning/error.
    Give the configuration setting's and T.codes
    Thanks and regards
    G.N.Rao

    Hi
    Go to T.Code oms4 and then select the material status BP (Blocked for purchasing)
    Click on Details
    In that under Purchasing select the option A= Warning or B=Error
    Click on Save
    Thus by doing this no further purchasing function for that material can be done. So the PO can not be issued
    So as and when the value limit reaches see that purchasing option is blocked
    So no further PO are generated in the future
    I hope this helps you out
    If found useful reward accordingly
    Thanks
    pavan

Maybe you are looking for

  • Problem with jsp tag in jsf file c:import

    <!-- <c:import url="#{backing_Home.whichMenu}"/>--> <jsp:include page="#{backing_Home.whichMenu}"/> I am trying to use a JSF variable in jsp tag I am getting error like this javax.servlet.jsp.JspTagException: /#{backing_Home.whichMenu}     at org.apa

  • Excel columns out of order

    Hello, I have an alv grid that shows some information and when i have to export that information to an excel file, in that file the columns doesn't appear in the same order than in the alv. Do you know what does it happen? Thanks

  • Very urgent need to install 9.2.0.5 on IBM pSeries!!

    Hi All, This is very urgent requirement for me that I need to install 9.2.0.5 on IBM pSeries AIX V5.3 LPAR configured with HACMP.Is there any precution need to make before installation? and what is "LPAR configured with HACMP". I mean if you describe

  • Auto-delete old podcasts in iTunes 12

    In iTunes 12, how can I set things up so that it will auto-delete old podcasts

  • Photoshop running painfully slow!

    need some help, I just built a brand new computer, and it should be cap[able of running all the adobe apps. However when it comes to photoshop, it basically dies. I am trying to render out a raw video but won't open the menu settings to get it going.