How to controle the output of a key figure based on an attribute

As part of following up on a select range of materials during their launch period a report is needed, where the key figures are controlled by a specific attribute.
The attribute is called End Launch Control Date and it holds the specific day where the product goes from launch to replenishment. When the product goes into repleneshment it is no longer relevant to follow up on.
The follow up list contains around 80 materials (SKU's) and the challenge is that they have different End Launch Control Dates.
So, I would like to design a report that does the following:
1) When drill on material, the key figures only show values before the End Launch Control Date for the specific material. After this date, the key figure should state either zero or blank cells.
2) The key figures should not be controlled by a specific date in the prompt, because the End Launch Control date is different for each material.
Does anyone have experience in constructing this functionality?

Hi,
you could maybe do this with using formula variables and and IF statement in the keyfigure you want to be blank after a certain date
basically you want/need to compare a date (which date would that be, one in the columns or smth?) with the end launch control date and if this date is bigger then this leave KF 0.
so you need to create a formula using two formula variables (of type replacement path and being replaced by the 2 dates) and compare these two in the formula. Then you use the outcome of this (which should be 0 or 1) in a new formula with the keyfigure (statement true * KF ) + (statement false * KF). This will give a value when comparison is ok and 0 when it is not ok.
This description might be not complete and bit short but I dont have the time to fully look it up, please let me know if you didnt understand the idea behind it.
Regards
C.

Similar Messages

  • How to add the required characterists and key figures to drill down report?

    hi,
    i am creating a drill down report using t.code FKI4. however i noticed that some of the characteristics and key figures required by me is not listed in the report catalog. how can i add the required characteristis and key figures to the report catalog?

    Hi Inna,
    Based on my research, a drilldown report is a layout design that at first hides complexity and enables the user to toggle conditionally hidden report items to control how much detail data they want to see. Drilldown reports are used to change the report
    layout interactively. So it wouldn’t affect the rows displayed in the outmost group. Though some rows are hidden when the report is initially run, it will still count them. This is by design.
    Furthermore, if I understand correctly, you also expect the outmost group is a dynamic group depends on the drilldown action, right? As per my understanding, this function still cannot be achieved at this moment.
    Thanks for your understanding.
    Regards,
    Katherine Xiong
    If you have any feedback on our support, please click
    here.
    Katherine Xiong
    TechNet Community Support

  • How to influence the text display of key figures in the interarctive DP

    Hello all,
    Does anyone know if there is a possibility (BADI, etc.) to change the text display of key figures (not characteristics!) in a planning book/data view?
    I know that you can define a free text in the data view but still, this is only one fixed text and it cannot be changed.
    Reason for the request: We would like to use the same key figure (and hence, indicate 2 different texts) for two different purposes (in different selections) without having to create a new data view.
    Kind regards,
    Klemens

    if you dont want a new data view and might even go to the extent of creating a user exit for this ... here is an idea
    - just create auxillary KF ( or use spare Temp KF depending on what you want to do with the data in the view) for each of these KF with the text
    lets say you have KF1 and KF2 - create KF1A and KF2A
    Make sure KF1A = KF1 and KF2a = KF2
    Now depending on user you can display KF 1 and KF2 or KF1a and KF2a depending on the user by using macros USER() and ROW_VISIBLE(0)

  • How to control the output fields in ALV

    Hi Pals,
    I have a Z program which outputs around 400 characters length. It is working fine when we run in foreground(online).. But i have the problem with the length of the output of the report when i run in BACKGROUND mode. That is, only 255 characters are being displayed.
    So, i have decided to supress some of the unwanted output fields being diplayed, so that the total output length becomes 255 characters.
    How can i handle this situation in the ALV's?
    Someone please send me some sample code.
    Thanks in advance,
    Ram.

    Hi
       Better create the Layout Variants with the desired columns.
    ALV is providing that functionality.
    Use
    CALL FUNCTION 'REUSE_ALV_VARIANT_F4'
        EXPORTING
          is_variant = alv_variant
          i_save     = 'A'
        IMPORTING
          es_variant = alv_variant
        EXCEPTIONS
          not_found  = 2.
    Regards,
    Kumar

  • How to control the output types in PO MESSAGES

    Hi Friends,
    As per the requirement I need to control the message in Standard PO(ME22N). Scenario is like below.
    1.     I am modifying some field value in PO and saving it. Then clicking on MESSAGES tab. Now I am seeing some output types are adding in EDIT mode.
    2.     Requirement is , when ever user changed one particular filed(Order acknowledgement ) and saved it, then he doesnu2019t want to see the message in EDIT mode.
    Could you please suggest me the way? Any user exit is there to reach this? Please do the needful.
    Thanks,
    Kumar

    hi,
    its may be useful for u.
    In the release strategy,if the indicator changeablity is 1 the system will not allow you to take repeat out put.
    Solution is that you have to change the release indicator changeability to 6(SPRO>MM>Purchasing>Purchase order>Define release procedure for purchase order>Release indicator>Changeability).
    Another option is that in the message output of the PO in further data change despatch time to 3 and take a repeat out put.
    Also check,
    SPRO > MM > PO > Release Procedure for PO > Release indicator > Changeability of Purchasing Document During/After Release as 2 for Release ID - G and save
    And then Create go to chage mode of PO and repeat the messages
    Regards,
    venkat m

  • Changing the formula to a key figure on a query

    Hello All,
    I do not have access to BEx. I would please like to know how to change the formula to a key figure "Total $" in a QD Promo Analysis query (technical name - N03_Q_D_N03_SD_502_0003). Will transaction RSRT take me to the query and eventually the formula so I can change it? If so please give me guidance as this is the first time I go into transaction RSRT. If there is another way please also give guidance.
    Thank you and kind regards
    Keith Kibuuka

    Hi Vishvesh,
    Thank you for your response. Maybe access to BEx was the wrong word - I do have access although I was trying to avoid configuring the SAP logon to add this particular client onto because I have not done this before. My boss has helped me and I have now have "access".
    Therefore from the query designer can you please guide me on how to change the formula to a key figure on a query? Input from all people is also be very much appreciated.
    Thank you and kind regards,
    Keith

  • Calculated Key Figures based on Attributes

    Hi
    In one of our queries we need to create a calculated key figure based on an attribute. Any suggestions on the best way to do this?
    I have looked at a Virtual Key Figure, but because our Cube name contains underscores (_) it shortdumps. Is there a way around this?
    Thanks in advance.
    Chami Herath

    Hi,
    what do you mean with calculated key figure based on an attribute? Is your attribute a characteristic in the cube or is it just a attribute of a characteristic? Let me know more details.
    regards
    Siggi

  • How to download the output of two reports in WebTemplate into excel sheet?

    How to download the output of webtemplate which consists of two reports in one  Web Template into same Excel sheet?

    hi sunil,
    here is the HTML code for 'export to excel'
    <!-- Display Export Excel--->
    <td class="SAPBEXNavLine"> <SAP_BW_TEXT program="SAPLRRSV" key="T72">" src="Mime/BEx/Icons/S_X_XLS.gif" border=0 ></td>
    you can also use BEx download scheduler to download the precalculated webtemplate report to excel sheet.
    Check the link below.
    https://websmp104.sap-ag.de/~form/sapnet?_FRAME=CONTAINER&_OBJECT=011000358700000401962004E
    i think this will help u
    regards,
    sindhu.

  • How to control the printer selection popup in SAP SCRIPT .

    Hi all,
    I have written a print program which is calling 5 different layouts forms and printing all the shipping related documents such as packing list, delivery note, shipping label etc . The print program is
    attached to a single output type ZEDM. 
    The issue is that for printing every document a pop-up comes for the printer selection and i want
    only one pop-up and all the document should be printed.
    Can anyone tell how to control the pop-ups.
    Thanks and Regards,
    Syed

    Hi,
    Open the form with dialog once. and then other forms pass ' ' to dialog parameter in OPEN_FORM .
    Open the form for printing
      Capture the return code
      Capture messages
    Other froms
    Open the form for printing
      Capture the return code
      Capture messages
    Whenever you have a new form use START_FORM
      CALL FUNCTION 'OPEN_FORM'
        EXPORTING
          device                      = 'PRINTER'
          dialog                      = 'X'
          form                        = p_fname
          language                    = sy-langu
          OPTIONS                     = p_itcpo
        EXCEPTIONS
          canceled                    = 1
          device                      = 2
          form                        = 3
          OPTIONS                     = 4
          unclosed                    = 5
          mail_options                = 6
          archive_error               = 7
          invalid_fax_number          = 8
          more_params_needed_in_batch = 9
          spool_error                 = 10
          codepage                    = 11
          OTHERS                      = 12.
      IF sy-subrc <> 0.
        w_retcode = 1.
        PERFORM protocol_update.
      ENDIF.
      CALL FUNCTION 'OPEN_FORM'
        EXPORTING
          device                      = 'PRINTER'
          dialog                      = ' '
          form                        = p_fname
          language                    = sy-langu
          OPTIONS                     = p_itcpo
        EXCEPTIONS
          canceled                    = 1
          device                      = 2
          form                        = 3
          OPTIONS                     = 4
          unclosed                    = 5
          mail_options                = 6
          archive_error               = 7
          invalid_fax_number          = 8
          more_params_needed_in_batch = 9
          spool_error                 = 10
          codepage                    = 11
          OTHERS                      = 12.
      IF sy-subrc <> 0.
        w_retcode = 1.
        PERFORM protocol_update.
      ENDIF.
    CALL FUNCTION 'START_FORM'
        EXPORTING
          form      = w_fname
          language  = sy-langu
          startpage = 'PAGE'
          program   = sy-repid.
    Regards
    Krishna

  • Challenge: Controlling the output stream of includes within iterative tags

    Problem:
    How can you control the output stream of an iterative tag that is making an include on each iteration (either by using the jsp include tag or by a custom tag that does an pageContext.include(). Example of the first of such a case could be:
    <wf:iterator name="...">
    <div>
    <jsp:include page="test.jsp" flush="true"/>
    </div>
    <wf:iterator>
    I now want to see the following output:
    <div>
    ..content of jsp file 1
    </div>
    <div>
    ...content of jsp file 2
    </div>
    etc....
    However what I AM seeing is that the jsp content is flushed to the output stream before the divs like this:
    ...content of jsp file 1
    ...content of jsp file 2
    <div>
    </div>
    <div>
    </div>
    See!? How is that and what can I do to control the output stream??
    Thanks
    Alf Johannessen
    Ariol

    This is a stab in the dark, but have you tried writing your div tags out using the JSP directive:
    out.println("<div>");
    or
    <%="<div>"%>
    It looks like a bug in the iterator. I'd suggest you try setting flush to be false, but I know that's not supported yet (unless you've updated your libraries) ...

  • Does anyone know how to convert the output from the standard report to xml?

    Does anyone know how to convert the output from the standard SAP report to xml?

    since it a standard report which you cannot modify you can only do the following.
    submit report exporting list to memory
    then
    list from memory and then
    use the returned itab along with CALL TRNSFORMATION key word to convert to xml.
    but this only going to place the whole list content (including data and formating lines,etc) into a xml element and not the actual data alone in the list .

  • How to store the output of a analog to digital converter into an 2D array

    Hi
    I am doing my M.Tech Thesis in Image reconstruction and I am using labview for simulation and I want to know how to store the output of a analog to digital converter into an 2D labview array.

    nitinkajay wrote:
    I want to know how to store the output of a analog to digital converter into an 2D labview array.
    How exactly are you performing 'Analog to Digital'???
    Grabbing image using camera OR performing data acquisition using DAQ card OR some other way????
    I am not allergic to Kudos, in fact I love Kudos.
     Make your LabVIEW experience more CONVENIENT.

  • How to download the output of a report along with column header

    Hi,
    Could someone please tell me on how to download the output of a report along with column header to .txt format. A download option needs to be given to the user using physical and logical file names .The report basically contains header details and item details and requirement is to download the same format into an .txt format.

    Hello,
    Try this FM:
    Data: being of itab occurs 0,
    matnr like mara-matnr,
    maktx like makt-maktx,
    end of itab.
    data:begin of fld_tab occurs 0,
    fld_name(20),
    end of fld_tab.
    fld_tab = 'Material'.
    append fld_tab.
    fld_tab = 'Material Desc'.
    append fld_tab.
    CALL FUNCTION 'WS_DOWNLOAD'
       EXPORTING
            BIN_FILESIZE            = ' '
            CODEPAGE                = ' '
             FILENAME                = 'C:\1.txt '
             FILETYPE                = 'DAT'
            MODE                    = ' '
            WK1_N_FORMAT            = ' '
            WK1_N_SIZE              = ' '
            WK1_T_FORMAT            = ' '
            WK1_T_SIZE              = ' '
            COL_SELECT              = ' '
            COL_SELECTMASK          = ' '
            NO_AUTH_CHECK           = ' '
       IMPORTING
            FILELENGTH              =
         TABLES
              DATA_TAB                = itab
              FIELDNAMES              = fld_tab
       EXCEPTIONS
            FILE_OPEN_ERROR         = 1
            FILE_WRITE_ERROR        = 2
            INVALID_FILESIZE        = 3
            INVALID_TYPE            = 4
            NO_BATCH                = 5
            UNKNOWN_ERROR           = 6
            INVALID_TABLE_WIDTH     = 7
            GUI_REFUSE_FILETRANSFER = 8
            CUSTOMER_ERROR          = 9
            OTHERS                  = 10
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Regards,
    Naimesh

  • How to use the Output clause for the updated statment

    How to use the output clause for the below update stament,
    DECLARE @MyTableVar table(
        sname int NOT NULL)
    update A set stat ='USED' 
    from (select top 1 * from #A 
    where stat='AVAILABLE' order by sno)A
    Output inserted.sname
    INTO @MyTableVar;
    SELECT sname
    FROM @MyTableVar;
    Here am getting one error incorrect syntax near Output
    i want to return the updated value from output clause

    see
    http://blogs.msdn.com/b/sqltips/archive/2005/06/13/output-clause.aspx
    Please Mark This As Answer if it solved your issue
    Please Vote This As Helpful if it helps to solve your issue
    Visakh
    My Wiki User Page
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • How to change the output as text format in Apps R12.1.3

    Hi All,
    Currently iam trying to modify the Java Concurrent Program (FDExtractAndFormatting) in Batch Payment Process. This Program is generated in text format in 11i APPS. Now we are upgrading to R12.1.3. In R12.1.3 output is coming as PDF format. Here my requirement is how to change the output as text format in R12.1.3 also.
    Please do the needful and suggest me.
    Regards,
    Jagadeesh

    1. It is seeded java concurrent program. Some attributes are missing from 11i to R12. In 11i it is a text format.So i have to investgate on how to retrive those attributes in R12. What is the concurrent program name?
    Have you tried to change the output and submit the request?
    2. Once all are attributes are coming in PDF format. Client wants to open same output in text format as it is 11i (In R12 it is generated in PDF format).If the above does not help, please log a SR.
    Thanks,
    Hussein

Maybe you are looking for