Need logic in Bex report

Hi
I have a QM report. The fields in the report are Notifications and HSE advisor are Info objects and Total number of notifications is a key figure.
The data in the infocube is
<b>Notification--HSE Advisor----Total number of notifications</b>
1500----
1
1500--XYZ--
0
1501--ABC--
1
Now I created a report with this data. with codition Total number of notifications is equal to 1 for notification. My report is dispalyed like below.
<b>Notification--HSE Advisor-----Total number of notifications</b>
1500--Not Assigned--
1
1501--ABC--
1
Now my issue is without removing conition. the report should display data for HSE Advisor. like shown below.
<b>Notification--HSE Advisor-----Total number of notifications</b>
1500--XYZ--
1
1501----
ABC -
1
Can anybody help me with logic, how to solve this issue.
Thanks in advance
Narendra

Hi Pankajm
Thanks for replying.
The data in IC is
<b>Notification--HSE Advisor----Total number of notifications</b>
1500--BLANK -1--
(loaded on 28.09.07)  
1500--XYZ0--
(loaded on 01.10.07)
1501--ABC1--
(loaded on 02.10.07)
Now my report is designed in such way not display the notifications which has Total number of notifiaction is equal to 0. The report will display only The total number of notifications is equal to 1 (using condition in the report)
As per the design the report is dispalyed like shown below
<b>Notification--HSE Advisor----Total number of notifications</b>
1500----
BLANK -
1
1501--ABC--
1
This report will not displayed the record below due to condition.I am missing HSE Advisor data in the report.
<b>Notification--HSE Advisor----Total number of notifications</b>
1500--XYZ--
0
Now my report should display the data like shown below (with out removing condition).
<b>Notification--HSE Advisor----Total number of notifications</b>
1500--XYZ--
1
1501--ABC--
1
Thanks in Advacne
Narendra

Similar Messages

  • Need to populate Y or N based on some logic in Bex Report

    Hi Experts,
    I have a report requirement following are the details:
    1. ENDDA is a characteristics DATE field coming from Info Provider.
    2. Now if ENDDA < Report Run Date we need to populate N in report field
    3. If ENDDA > Report Run Date we need to populate Y in report field.
    would be great if some body can give some insight into the approach to follow and achieve this requirement.
    Regards
    Raj Rai

    Hi
    Now i have created a CKF with two formula variables:
    Var 1 is replacement path variable which is taking ENDDA time characteristics as its reference value.
    Var 2 is SAP Exit formula var bringing in the report run date.
    Issue:
    Var1 date format is MM/DD/YYYY
    Var2 date fromat is MMDDYYYY
    we need to substract these two in order to get the difference in days but for that the date format have to be uniform for both variables. In SAP Exit i tried appending the '/'value b/w MM, DD & YYYY but its showing x when i look at query o/p.
    I checked the code by executing the query in RSRT in debug mode and checked the value of L_S_RANGE which is perfect in 05/24/2011 but the same value in var o/p in showing X at query side.
    Any pointers would be help ful
    Regards
    Raj Rai
    Edited by: Raj Rai on May 24, 2011 10:01 AM

  • Need help on Bex Reporting.

    Hi BW Experts,
    I have developed the report in Bex.
    The data in ODS is specified below.
    Ser_No_____Status____Act_Status_________Date
    000001______Open_______X____________10-SEPT-2009
    000001______InProcess__X____________11-SEPT-2009
    000001______Closed_____X____________12-SEPT-2009
    000001______Pending____A____________13-SEPT-2009
    Currently in my report,i have given the filter as Act_Status =A.So in report, it will display one record.
    But in report layout they are asking to display the date when the service order is closed  with the Current Active Status record alone.
    So i want to display the data in this format.
    Ser_No_____Status____Act_Status_________Closed_Date
    000001______Pending____A________________12-SEPT-2009
    Instead of displaying 13th sept i want to display 12th sept in my report for the field Closed_date.
    Do i need to write any Customer Exit and Populate the data for this field alone.
    Can u please help on this issue. If possible, pls provide a code also.
    Thanks,
    Jelina

    Hi Jelina,
    Its easier to achive this feature manipulating the cube rather going for customer exit using the formula variable.
    enhance the infocube and code for these fields in start routine or characteristic routine.
    if u want to code the requirement in bex only you have to create two variables one for replacement path and other customer exit  both in formula variable mode.
    replacement path variable for service order and customer exit for date.
    only limitation would be you have to show the date in key figures column.
    i can explain you further based on your inputs.
    regards
    joga

  • Need urgent help - Bex report

    Dear All,
    I am writing a query where I have a KF history and total history.
    The chars in rows are Product line and material.
    I have created a KF strut and put Cal yr/quat and fiscal yr in cols and in the KF strut I have History and Total history.
    I need to display History at Fiscal period/yr level and Total history at Cal yr/quarter level.
    I have a hint that may be we can do this by cell referencing, but I have no clue how to do it.
    Please help me urgently.
    Thanks much!
    Sb

    Thanks.
    Actually to be specific, i want to display history KF for every fiscal yr/period that is displayed under a particular Cal yr/quart.
    E.g -
    if for cal yr/quart 1.2004, there is history data only for jan and feb.
    So, in the columns I should see history jan and History feb data at fiscal yr/period level and after these two columns, at Cal ye/quart level I should get a column for Total history i.e total of Jan and feb history.
    Like wise I have to calculate Average history too at cal yr/quart level.
    I have started doing the cell reference but I am not able to get the desired o/p
    pl help

  • Priority High - Need Logic in Hierarchical Report Urgent

    Hi all,
    i want the solution to build a form looks like hierarchical tree structure of employees, like person-supervisor relationship shown in a tree format and tree must looks like horizontal.
    Please provide me any solution in same and reply as soon as possible.
    Thanks
    Amit Garg

    Most Manager Self Service pages show supervisor or position hierarchy relationships in a 'hGrid' - a basic graphical representation. Beyond that, there is no standard Oracle HRMS functionality to show this any more graphically.
    There are, however, a myriad of Oracle partners who provide solutions for more graphical hierarchies. You could try going to solutions.oracle.com, hit 'Search by Solution' and try searching for 'Org Chart'.

  • Need suggestion for designing a BEx report

    Hi,
    I need suggestions for designing a BEx report.
    Iu2019ve a DSO with below structure:
    1. Functional Location u2013 Key
    2. Maintenance Plan u2013 Key
    3. Maintenance Item u2013 Key
    4. Call # - Key
    5. Cycle u2013 Data Field
    6. Planned Date u2013 Data Field
    7. Completion Date u2013 Data Field
    This DSO contains data like:
    Functional -
    Plan --- Item -
    Call# --- Cycle -
    Planned Dt -
    Completion Dt
    Location
    11177 -
         134 -
         20 -
         1 -
    T1 -
         02-Jan-2011 -
         10-Jan-2011
    11177 -
         134 -
         20 -
         2 -
    T2 -
         15-Feb-2011 -
    11177 -
         134 -
         20 -
         3 -
    T1 -
         15-Mar-2011 -
    11177 -
         134 -
         20 -
         4 -
    M1 -
         30-Mar-2011 -
    25000 -
         170 -
         145 -
         1 -
    T1 -
         19-Jan-2011 -
         19-Jan-2011
    25000 -
         134 -
         145 -
         2 -
    T2 -
         20-Feb-2011 -
         25-Feb-2011
    25000 -
         134 -
         145 -
         3 -
    T1 -
         14-Mar-2011 -
    Now Iu2019ve to create a report which will be executed at the end of every month and should display the list of Functional Locations whose Cycles were planned in that particular month, along with the last completed Cycle/Date.
    Thus based upon above data, if I execute report at the end of (say) March then report must display:
    Functional ---     Curr. Cycle --- Planned Date --- Prev. completed Cycle --- Prev Completed Date
    Location
    11177 -
         T1 -
         15-Mar-2011 -
    ---     T1 -
    --     10-Jan-2011
    11177 -
         M1 -
         30-Mar-2011 -
    ---     T1 -
    --     10-Jan-2011
    25000 -
         T1 -
         14-Mar-2011 -
    ---     T2 -
    --     25-Feb-2011
    Any idea how can I display Previous Completed Cycle and Completion Date (i.e. the last two columns)?
    Regards,
    Vikrant.

    hi vikrant,
    You can a Cube at the reporting layer  which gets data from DSO and which has these 2 extra characteristics completion date and previous cycle along with other chars and keyfigures from DSO.
    You can populate these  based on your logic in the field routine.
    Hope it helps.
    Regards
    Dev

  • Need help in migrating SAP Bex Reports to BO

    Hi Experts,
       We have a requirment where we have to transfer bex reports to BO. Now my question is
    whether all the logic performed in Bex Query designer is possible to achive in BO?
    Like Customer Exit codes, Filters, Conditions,Exceptions ,Cell Definitions,Hierarchies,
        Variables (text,charateritisc etc) .
    Please can anyone suggest me on this any sort of document or material is very helpful.
    Thanks & Regards
    Sameer Khan

    Hi,
    Customer exit we can't write in BO,it need to be in Bex side only.
    Filters-we can define any where.
    Variables(char)-we can define any where but i'm not sure about Text variables.
    Please have a look  at the below links
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/008d15dc-f76c-2b10-968a-fafe5a121129
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b0320722-741c-2c10-afab-93b5c0fc7e96
    Thanks

  • Need to add extra field in BEX report

    Hi  Experts ,
    I have a problem in bex report.
    scenario is like this--
    APD will generate the BPS Daily report on Branch, Group, Area, Region and total company levels and then exports  into a flat files stored in appserver
    and i got the requirement to change the layout of the report. The client wants to need the one field extra ie. 'REPORTS RUN DATE '
    and i am stuck here how to add this field in my report ..
    Please help me  ASAP.
    Thanks a lot in advance
    Saurabh

    hi,
    Enhance your APD and in the target add field REPORTS RUN DATE .
    Fill this using ABAP routine which populates the sy-datum in this field.
    regards,
    Arvind.

  • I Need to change Date Format in BEx report

    Hi Experts,
    i Need display with required values with following symbols in BEx report # and Date format change as per client requirement. Without any VB Code.
    Let me know solution for this.
    By
    ANR

    My actual requirement,
    by default date format display in BEx Reports MM/DD/YYYY fomat, but i want change DD/MM/YYYY format without using any VB macro and also instead of displaying "#"  i need display "0" (Zero).
    let me know the solution.
    by
    ANR
    Anybody ....
    Message was edited by: ANR

  • Need for Portal to support BEx Report (Excel based) in BI7.0

    Experts,
    We are on BW 3.5 version and upgrading to BI7.0. We have all the reports so far is Excel Based (no web reporting). Do we need to have portal implemented for our BW report to run after upgrading to BI 7.0? In other words, is Portal mendatory to have to run any BEx Report in BI 7.0 invironment? Thanks.
    NP

    Hello Nimesh,
    No, in BI7.0  BEx Analyzer is still supported. Portal is used only for web reports and if needed these web reports can be exported to excel or pdf. It is not mandaory to have portal to see BEx reports.
    Thanks
    Chandran

  • Bex Reporting Document / Screen shots needed

    Dear Experts
    Cud u pls send some reporting documents / Screen shots of Bex Reporting
    Regards
    Satheesh

    Check your email and <removed> you can also check on the SAP site at Help.sap.com
             --Enjoy SAP

  • BEx Report: How to get Inactive Customers from past 2 years

    Hi Gurus,
    Our requirement is to  develop a BEx report to display inactive customers (Customers who does not have any sales from past 2 years)
    We have a Multi-provider which has Invoice Cubes with all transaction data. the Multi provider does not contain Customer master info object, It Contains only Invoice cubes for Euro and North America.
    Now we need to build a report on top of this Multi provider and achieve the inactive customer logic.
    I request anyone who have worked on this kind of report, please help me with this.
    Please note that we are using BI 7.
    Thanks and Regards,
    Rama.

    Thanks all for you replies,
    Rahul, We have Customer infoobject in the invoice cube, but not the customer master data infoobject itself separately.
    So we have to use the customer infoobject included as part of the invoice cubes.
    there is a similar concept called Slow moving Material.. which can be achieved in a similar way..
    There is an example in Sap help portal on this. Not sure how we can do that for Inactive customers..
    Any more ideas welcome.
    Thanks and appreciate all your efforts to contribute to this..
    Regards,
    Rama.

  • Search instring value of Variable in customer exit of bex report

    Hello experts-
    I have a situation where I need to search the records based on value  of a variable input in selection screen of bex report and according to that i need to show the results in report.
    Ex- if we have a material characteristics on selection screen,or material number has 10 digits(eg 1234567809). so the user will only type 2-3 digit(i.e 12) on selection screen, In this case I want only those records to be displyed, for which material has these 2 digits in it .
    Eg would be:
    1234567809,
    3451267809,
    9807654312.
    Could you please suggest ABAP logic for the above. Properties of variable and how many variable we have to create.
    Regards,
    Yatendra

    Hello Vineet,
    we have tried putting  ' * ' i n place of '=' in drop down screen.
    we have also tried customer exit code, please check below.
       WHEN 'ZSEARCH'.
         data: lv_string type string.
         data: wa_test type ZTEST_TOOLING.
    if I_STEP = 2.
         LOOP AT i_t_var_range INTO loc_var_range
                   WHERE vnam = 'ZTSEARCH'.
              CONCATENATE '' loc_var_range-low '' INTO L_S_RANGE-LOW.
              L_S_RANGE-SIGN = 'I'.
              L_S_RANGE-OPT = 'CP'.
              APPEND L_S_RANGE TO E_T_RANGE.
         ENDLOOP.
      endif.
    In  this code we have created two variables 1st 'ZSEARCH' which is type of 'customer exit' , and the second one 'ZTSEARCH' type of "user entry/ default value" .
    As we need the value provided by user in  ZTSEARCH (user entry), we loop at  i_t_var_range where vnam = 'ZTSEARCH'.
    But i_t_var_range doesn't contain  ZTSEARCH variable.
    Can you please suggest in customer exit code as well as in selection option.
    Thanks
    yatendra

  • Concatenation of Data from 4 infoobjects into a single cell in Bex Report

    Hi,
    I have loaded ODS with the description data. The source system for loading the ODS is the flat file. The ODS data should be a replica of the flat file.
    In the flat file, there is a description field corresponding to a particular ID. This Description is greater than the standard 60 char length. So, I had to split the description while loading the flat file using single line routine in the Transfer Structure.
    So, while loading different  the data, I split the description field data from the flat file into 4 infoobjects and the flat file data was loaded into the ODS.
    Now, from the reporting point of view, I need to display the entire description data from the 4 info-objects into a single cell in the Bex report.
    Please suggest a solution for this.
    <b>****Points will be awarded***</b>

    Hi Vineet,
    Thanks for the response.
    Could you please help me out with the VBA script(code) that needs to be written in the macro.
    Thanks in Advance.
    <i><b>****Points will be awarded****</b></i>
    Regards,
    Hitesh Shetty.

  • How to hide some select-option of Logical Database in report?

    How to hide select-option of  Logical Database in report?eg . In Logical Database 'PNP' , my code is 'GET  PERNR' , excute the report , select-screen is displayed . I want to hide some select-options , such as PNPPERNR-LOW .
    Edited by: rongrong wang  on Mar 26, 2008 9:31 AM

    U need to write code in initialization as
    initialization.
    loop at screen.
    if screen-name = 'PNPPERNR-LOW'.
    screen-active = '0'.
    modify screen.
    endif.
    if screen-name = 'PNPPERNR-HIGH'.
    screen-active = '0'.
    modify screen.
    endif.
    endloop.

Maybe you are looking for

  • There is a mismatch between order type and GL accountu201D.

    Hello Can any one help me to know why I am getting this error message. Here  I am giving the steps carried out. Step1. Using transaction code: FB60 I have posted a vendor invoice to a Machinery account GL account against a internal order. Step2. A do

  • Down Payment Clearing push button not showing in MIRO

    Dear SAP Guru, I already activated "LOG_MMFI_P2P" using SFW5. Now we are getting Down Payment option in ME21N but we are not getting down payment push button in MIRO. We are doing in that way: First we created PO. We do not provide any down payment i

  • How to embed reports in an email using Scheduler

    Hi all, I am using the "schedule" option in a webi report to deliver a report through email in pdf format. However, our end users want the report data to be embedded in an email rather than as an attachment. We are using BO XI 3.1. I tried searching

  • ME31L/ME32L, ME31K/ME32K badi/user exits at item level

    hi all, i need to check tax jurisdiction code per item of scheduling agreement and contract. coz i need to prompt an error message "tax jurisidation code at line XX is blank" if no tax jurisdiction code is specified. can you help me what badi or user

  • Air Update Problem

    Hi everyone, i just wanted to update an AIR Application for a client. But when the update framework (i'm using the ApplicationUpdaterUI) has downloaded the AIR file and wants to install it, it says that the AIR file is damaged. When i'm installing th