Need to display cancled BPA infor in iProcurement search -Urgent

Hi All,
I heard that,If the BPA/BPA line has expired/cancled , it will not show up in the item details on the search in iProcurement.
But as per our requiremnt, if the BPA or BPA line has expired/cancled we need to display item information, like Shopping category , Supplier sirte, Internal item number and Price(which will display left side of the search result).
I observed that, when we cancled the BPA line(item) the data is geting purged from icx_cat_items_ctx_hdrs_tlp.
There is a query in ShoppingVOBuilder.java, which is pulling the item information form icx_cat_items_ctx_hdrs_tlp.
we got approval to modify the seeded ShoppingVOBuilder.java file.
is there any solution to display the item information if blanket or blanket line is expired ..
Thanks
--Harry                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

You can extend the VO and add a union query and your union query should contain all the items on expired blanket po lines(can get these records from mtl_system_items_b and po_liines_all tables).
Regards
Sunny

Similar Messages

  • What cables do I need to connect my 2013 macbook pro to my HD tv? I know I need mini display to HDMI, but male? female HDMI??? and also, do I need a separate cable for sound?

    what cables do I need to connect my 2013 macbook pro to my HD tv? I know I need mini display to HDMI, but male? female HDMI??? and also, do I need a separate cable for sound?

    Actually you need a Thunderbolt to HDMI adapter. It will carry both audio and video.
    This one will work: Mini DisplayPort | Thunderbolt® to HDMI® Adapter w/ Audio Support

  • I need to display a Report which contain -- del QTY  and  INV QTY   in one

    Hi ALL,
    I need to display a Report which contain
    <b>Customer  , Material , Order No, Delivery No, Billing No , Order Qty , Dev Qty, Bill Qty , Invoiced Qty  and There Values  in One Line  .</b>
    How can I Display, When I am executing the report against the Delivery Number Bill Qty and Invoiced Qty is showing Hash ( # ).
    Do I need to right any Routines for this, if I am correct,  where I have to write that code and what is the code ,
    What are the Consolidation  routines ?????
    I am working on BI 7.
    Regards ,
    Shaik
    Message was edited by:
            shaik

    Frst check in backend, which all cubes have got data for each of three..
    Corresponding you can go ahead with Multi/Infoset..
    Look for reference no in all three cubes and pick one order and track tht by reference no in all cubes,
    Hope it helps..
    Thanks for points assigned

  • ALV-Need to display total in top/first line!!!

    Hi,
      i have 3 numerical fields in my ALV output. I need to display the total in top/first line in output and download the same in excel into local system.if possible send me the sample code to how to do it.
    Regards,
    Nandha.

    TABLES : BSEG , BKPF.
    TABLES: SSCRFIELDS.
    TABLES: ITCPO.
    DATA :FLAG TYPE I, MAINTAIN TYPE I,
          FLAG1 TYPE I,
          FLAG2 TYPE I,
          FLAG3 TYPE I.
    DATA :BEGIN OF ITAB_BKPF OCCURS 0,
          BUKRS LIKE BKPF-BUKRS,
          GJAHR LIKE BKPF-GJAHR,
          BELNR LIKE BKPF-BELNR,
          BLART LIKE BKPF-BLART,
          BUDAT LIKE BKPF-BUDAT,
    END OF ITAB_BKPF.
    DATA :BEGIN OF ITAB_BSEG OCCURS 0,
          BUKRS LIKE BSEG-BUKRS,
          GJAHR LIKE BSEG-GJAHR,
          BELNR LIKE BSEG-BELNR,
          BUZEI LIKE BSEG-BUZEI,
          BSCHL LIKE BSEG-BSCHL,
          HKONT LIKE BSEG-HKONT,
          DMBTR LIKE BSEG-DMBTR,
          MWSKZ LIKE BSEG-MWSKZ,
          ZUONR LIKE BSEG-ZUONR,
          KOSTL LIKE BSEG-KOSTL,
          FISTL LIKE BSEG-FISTL,
          FIPOS LIKE BSEG-FIPOS,
          SGTXT LIKE BSEG-SGTXT,
    END OF ITAB_BSEG.
    DATA BEGIN OF ITAB_BKPF_BSEG OCCURS 0.
      INCLUDE STRUCTURE ZBKPF_BSEG.
    DATA END OF ITAB_BKPF_BSEG.
    *DATA ITAB_BKPF_BSEG LIKE TABLE OF ZITAB_BKPF_BSEG WITH HEADER LINE.
    DATA i_print LIKE TABLE OF ITCPO WITH HEADER LINE.
    TYPE-POOLS : SLIS , kkblo.
    DATA:TEXT2(30) VALUE 'Voucher Print',
         GS_LAYOUT TYPE SLIS_LAYOUT_ALV,
         CT_FIELDCAT TYPE SLIS_T_FIELDCAT_ALV,
         IT_SORT TYPE SLIS_T_SORTINFO_ALV,
         WA_SORT TYPE SLIS_SORTINFO_ALV,
         WA_SUBT LIKE SLIS_EV_SUBTOTAL_TEXT,
         WA_I_EVENT TYPE SLIS_ALV_EVENT,
         TEMP_CAT TYPE SLIS_FIELDCAT_ALV
    DATA : TEXT2538(16) VALUE 'Voucher Printing'.
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
    PARAMETERS : P_BUKRS LIKE BKPF-BUKRS OBLIGATORY.
    "Company code
    SELECT-OPTIONS : S_BELNR FOR BKPF-BELNR MODIF ID M01.
    "Accounting Doc No
    PARAMETERS: P_GJAHR LIKE BKPF-GJAHR MODIF ID M02.
    "Fiscal year
    SELECT-OPTIONS:  S_BLART FOR BKPF-BLART MODIF ID M03,
                                              "Document type
                     S_BUDAT FOR BKPF-BUDAT MODIF ID M04.
    "Posting date
    SELECTION-SCREEN END OF BLOCK B1.
    START-OF-SELECTION.
      IF S_BELNR IS NOT INITIAL.
        FLAG = 1.
      ENDIF.
      IF S_BLART IS NOT INITIAL.
        FLAG1 = 1.
      ENDIF.
      IF P_GJAHR IS NOT INITIAL.
        FLAG2 = 1.
      ENDIF.
      IF S_BUDAT IS NOT INITIAL.
        FLAG3 = 1.
      ENDIF.
      SELECT
          BUKRS
          GJAHR
          BELNR
        INTO CORRESPONDING FIELDS OF TABLE ITAB_BKPF
        FROM BKPF
        WHERE BUKRS EQ P_BUKRS
      IF SY-SUBRC NE 0.
        MESSAGE E000(ZPROJ).
      ENDIF.
      IF FLAG NE 0.
        DELETE ITAB_BKPF WHERE
        NOT ( BELNR IN S_BELNR AND GJAHR EQ P_GJAHR )
      ENDIF.
      IF FLAG1 NE 0.
        DELETE ITAB_BKPF WHERE
        NOT ( BLART IN S_BLART AND BUDAT IN S_BUDAT )
      ENDIF.
      IF FLAG2 NE 0.
        DELETE ITAB_BKPF WHERE
        NOT ( GJAHR EQ P_GJAHR )
      ENDIF.
      IF FLAG3 NE 0.
        DELETE ITAB_BKPF WHERE
        NOT ( BUDAT IN S_BUDAT )
      ENDIF.
      SELECT
            BUKRS
            GJAHR
            BELNR
            BUZEI
            BSCHL
            HKONT
            DMBTR
            MWSKZ
            ZUONR
            KOSTL
            FISTL
            FIPOS
            SGTXT
         FROM BSEG
         INTO TABLE ITAB_BSEG
         FOR ALL ENTRIES IN ITAB_BKPF
           WHERE
              BUKRS EQ P_BUKRS AND
              BELNR EQ ITAB_BKPF-BELNR AND
              GJAHR EQ ITAB_BKPF-GJAHR
      LOOP AT ITAB_BKPF.
        LOOP AT ITAB_BSEG WHERE BUKRS EQ ITAB_BKPF-BUKRS AND
                              BELNR EQ ITAB_BKPF-BELNR AND
                              GJAHR EQ ITAB_BKPF-GJAHR.
          MOVE-CORRESPONDING ITAB_BSEG TO ITAB_BKPF_BSEG.
    *    MOVE-CORRESPONDING ITAB_BKPF TO ITAB_BKPF_BSEG.
          APPEND ITAB_BKPF_BSEG.
        ENDLOOP.
      ENDLOOP.
    LOOP AT ITAB_BKPF_BSEG.
      ITAB_BKPF_BSEG-ZMENG = ITAB_BKPF_BSEG-DMBTR.
      MODIFY ITAB_BKPF_BSEG TRANSPORTING zmeng.
    ENDLOOP.
      PERFORM CHANGE_CATALOG.
      PERFORM ALV_DISPLAY.
    FORM CHANGE_CATALOG .
      CLEAR TEMP_CAT.
      TEMP_CAT-FIELDNAME  = 'BUKRS'.
      TEMP_CAT-SELTEXT_L = 'Company Code'.
      TEMP_CAT-TABNAME = 'ITAB_BKPF_BSEG'.
      TEMP_CAT-DDICTXT = 'L'.
      TEMP_CAT-OUTPUTLEN = 30.
      TEMP_CAT-HOTSPOT = 'X'.
      APPEND TEMP_CAT TO CT_FIELDCAT.
      CLEAR TEMP_CAT.
      TEMP_CAT-FIELDNAME  = 'BELNR'.
      TEMP_CAT-SELTEXT_L = 'Document No.'.
      TEMP_CAT-TABNAME = 'ITAB_BKPF_BSEG'.
      TEMP_CAT-DDICTXT = 'L'.
      TEMP_CAT-HOTSPOT = 'X'.
      APPEND TEMP_CAT TO CT_FIELDCAT.
      CLEAR TEMP_CAT.
      TEMP_CAT-FIELDNAME  = 'GJAHR'.
      TEMP_CAT-SELTEXT_L = 'Fiscal Year'.
      TEMP_CAT-TABNAME = 'ITAB_BKPF_BSEG'.
      TEMP_CAT-DDICTXT = 'L'.
      TEMP_CAT-OUTPUTLEN = 15.
      TEMP_CAT-HOTSPOT = 'X'.
      APPEND TEMP_CAT TO CT_FIELDCAT.
      CLEAR TEMP_CAT.
      TEMP_CAT-FIELDNAME  = 'BUZEI'.
      TEMP_CAT-SELTEXT_L = 'Item'.
      TEMP_CAT-TABNAME = 'ITAB_BKPF_BSEG'.
      TEMP_CAT-DDICTXT = 'L'.
      TEMP_CAT-OUTPUTLEN = 5.
      APPEND TEMP_CAT TO CT_FIELDCAT.
      CLEAR TEMP_CAT.
      TEMP_CAT-FIELDNAME  = 'BSCHL'.
      TEMP_CAT-SELTEXT_L = 'Posting Key'.
      TEMP_CAT-TABNAME = 'ITAB_BKPF_BSEG'.
      TEMP_CAT-DDICTXT = 'L'.
      TEMP_CAT-OUTPUTLEN = 15.
      APPEND TEMP_CAT TO CT_FIELDCAT.
      CLEAR TEMP_CAT.
      TEMP_CAT-FIELDNAME  = 'HKONT'.
      TEMP_CAT-SELTEXT_L = 'Account'.
      TEMP_CAT-TABNAME = 'ITAB_BKPF_BSEG'.
      TEMP_CAT-DDICTXT = 'L'.
      TEMP_CAT-OUTPUTLEN = 15.
      APPEND TEMP_CAT TO CT_FIELDCAT.
      CLEAR TEMP_CAT.
      TEMP_CAT-FIELDNAME  = 'DMBTR'.
      TEMP_CAT-SELTEXT_L = 'Amount'.
      TEMP_CAT-TABNAME = 'ITAB_BKPF_BSEG'.
      TEMP_CAT-DDICTXT = 'L'.
      TEMP_CAT-OUTPUTLEN = 15.
      TEMP_CAT-DO_SUM = 'X'.
      APPEND TEMP_CAT TO CT_FIELDCAT.
      CLEAR TEMP_CAT.
      TEMP_CAT-FIELDNAME  = 'MWSKZ'.
      TEMP_CAT-SELTEXT_L = 'Tax'.
      TEMP_CAT-TABNAME = 'ITAB_BKPF_BSEG'.
      TEMP_CAT-DDICTXT = 'L'.
      TEMP_CAT-OUTPUTLEN = 15.
      APPEND TEMP_CAT TO CT_FIELDCAT.
      CLEAR TEMP_CAT.
      TEMP_CAT-FIELDNAME  = 'ZUONR'.
      TEMP_CAT-SELTEXT_L = 'Assignment'.
      TEMP_CAT-TABNAME = 'ITAB_BKPF_BSEG'.
      TEMP_CAT-DDICTXT = 'L'.
      TEMP_CAT-OUTPUTLEN = 15.
      APPEND TEMP_CAT TO CT_FIELDCAT.
      CLEAR TEMP_CAT.
      TEMP_CAT-FIELDNAME  = 'KOSTL'.
      TEMP_CAT-SELTEXT_L = 'Cost Center'.
      TEMP_CAT-TABNAME = 'ITAB_BKPF_BSEG'.
      TEMP_CAT-DDICTXT = 'L'.
      TEMP_CAT-OUTPUTLEN = 15.
      APPEND TEMP_CAT TO CT_FIELDCAT.
      CLEAR TEMP_CAT.
      TEMP_CAT-FIELDNAME  = 'FISTL'.
      TEMP_CAT-SELTEXT_L = 'Fund Center'.
      TEMP_CAT-TABNAME = 'ITAB_BKPF_BSEG'.
      TEMP_CAT-DDICTXT = 'L'.
      TEMP_CAT-OUTPUTLEN = 15.
      APPEND TEMP_CAT TO CT_FIELDCAT.
      CLEAR TEMP_CAT.
      TEMP_CAT-FIELDNAME  = 'FIPOS'.
      TEMP_CAT-SELTEXT_L = 'Commitment Item'.
      TEMP_CAT-TABNAME = 'ITAB_BKPF_BSEG'.
      TEMP_CAT-DDICTXT = 'L'.
      TEMP_CAT-OUTPUTLEN = 15.
      APPEND TEMP_CAT TO CT_FIELDCAT.
      CLEAR TEMP_CAT.
      TEMP_CAT-FIELDNAME  = 'SGTXT'.
      TEMP_CAT-SELTEXT_L = 'Text'.
      TEMP_CAT-TABNAME = 'ITAB_BKPF_BSEG'.
      TEMP_CAT-DDICTXT = 'L'.
      TEMP_CAT-OUTPUTLEN = 15.
      APPEND TEMP_CAT TO CT_FIELDCAT.
      GS_LAYOUT-ZEBRA = 'X'.
    <b>GS_LAYOUT-TOTALS_BEFORE_ITEMS = 'X'.</b>
    data : text like slis_ev_subtotal_text value 'total'.
    gs_layout-subtotals_text = text.
    *gs_layout-totals_only = 'X'.
      CLEAR WA_SORT.
      WA_SORT-FIELDNAME = 'BUKRS'.
      WA_SORT-SPOS      = 1.
      WA_SORT-UP = 'X'.
    *wa_sort-group = '*'.
      APPEND WA_SORT TO IT_SORT.
      CLEAR WA_SORT.
      WA_SORT-FIELDNAME = 'BELNR'.
      WA_SORT-SPOS      = 2.
      WA_SORT-SUBTOT = 'X'.
      WA_SORT-UP = 'X'.
      APPEND WA_SORT TO IT_SORT.
      CLEAR WA_SORT.
      WA_SORT-FIELDNAME = 'GJAHR'.
      WA_SORT-SPOS      = 3.
      WA_SORT-SUBTOT = 'X'.
      WA_SORT-UP = 'X'.
      APPEND WA_SORT TO IT_SORT.
      CLEAR WA_SORT.
      WA_SORT-FIELDNAME = 'DMBTR'.
      WA_SORT-SPOS      = 4.
      APPEND WA_SORT TO IT_SORT.
      gs_layout-subtotals_text = 'total'.
    ENDFORM.
    FORM ALV_DISPLAY.
      CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
       EXPORTING
    *   I_INTERFACE_CHECK              = ' '
    *   I_BYPASSING_BUFFER             =
    *   I_BUFFER_ACTIVE                = ' '
         I_CALLBACK_PROGRAM             = SY-REPID
    *   I_CALLBACK_PF_STATUS_SET       = ' '
        I_CALLBACK_USER_COMMAND        = 'USER_COMMAND'
    *   I_STRUCTURE_NAME               =
         IS_LAYOUT                      = GS_LAYOUT
         IT_FIELDCAT                    = CT_FIELDCAT
    *   IT_EXCLUDING                   =
    *   IT_SPECIAL_GROUPS              =
         IT_SORT                        = IT_SORT[]
    *   IT_FILTER                      =
    *   IS_SEL_HIDE                    =
    *   I_DEFAULT                      = 'X'
         I_SAVE                         = 'A'
    *   IS_VARIANT                     =
    *   IT_EVENTS                      =
    *   IT_EVENT_EXIT                  =
    *   IS_PRINT                       =
    *   IS_REPREP_ID                   =
    *   I_SCREEN_START_COLUMN          = 0
    *   I_SCREEN_START_LINE         0   = 0
    *   I_SCREEN_END_COLUMN            = 0
    *   I_SCREEN_END_LINE              = 0
    *   IR_SALV_LIST_ADAPTER           =
    *   IT_EXCEPT_QINFO                =
    *   I_SUPPRESS_EMPTY_DATA          = ABAP_FALSE
    * IMPORTING
    *   E_EXIT_CAUSED_BY_CALLER        =
    *   ES_EXIT_CAUSED_BY_USER         =
        TABLES
          T_OUTTAB                       = ITAB_BKPF_BSEG
    * EXCEPTIONS
    *   PROGRAM_ERROR                  = 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.
    ENDFORM.                    "ALV_DISPLAY
    *i_calLback_user_command = 'USER_COMMAND'.
    FORM USER_COMMAND
      USING UCOMM LIKE SY-UCOMM
      SELFIELD TYPE SLIS_SELFIELD.
      DATA wa LIKE LINE OF ITAB_BKPF_BSEG.
      DATA itab LIKE TABLE OF ITAB_BKPF_BSEG WITH HEADER LINE.
      READ TABLE ITAB_BKPF_BSEG index SELFIELD-TABINDEX INTO wa.
      APPEND ITAB_BKPF_BSEG TO ITAB.
        ENDLOOP.
    CALL FUNCTION '/1BCDWB/SF00000204'
    * EXPORTING
    *   ARCHIVE_INDEX              =
    *   ARCHIVE_INDEX_TAB          =
    *   ARCHIVE_PARAMETERS         =
    *   CONTROL_PARAMETERS         = i_ctrl
    *   MAIL_APPL_OBJ              =
    *   MAIL_RECIPIENT             =
    *   MAIL_SENDER                =
    *   OUTPUT_OPTIONS             = i_print
    *   USER_SETTINGS              = 'X'
    * IMPORTING
    *   DOCUMENT_OUTPUT_INFO       =
    *   JOB_OUTPUT_INFO            =
    *   JOB_OUTPUT_OPTIONS         =
      TABLES
        ITAB_BKPF_BSEG             = ITAB
    * EXCEPTIONS
    *   FORMATTING_ERROR           = 1
    *   INTERNAL_ERROR             = 2
    *   SEND_ERROR                 = 3
    *   USER_CANCELED              = 4
    *   OTHERS                     = 5
    IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    ENDFORM.                    "user_command

  • Need to display a value before the header based on a user parameter.

    I have a select on the user parameter list of values.
    SELECT DISTINCT GROUP_ROWID, STR_GROUP_NAME
    FROM TBL_COMPANY_GROUP;
    I select the option hide the first column in order to show only a list of values and not the row_ids.
    I need to display the str_group_name within the header as a title. I insert a field in the header and in source select the name of the parameter p_groupid but the only thing that I get is the row_id value not the name. I use the row_id to pass it on my queries but I need the name value in the header. Any ideas? Please help.
    Thanks.

    create a parameter called p_header.
    in the after parameter form trigger
    select str_group_name into :p_header
    from tbl_company_group
    where group_id = :p_groupid;Have the header field source be p_header.

  • SQL Report--NEED to display HYPERLINK

    Hi. I need to display a hyperlink for one of the columns in a SQL Report. Here are my columns url, name, type.
    I want the name column to be hyperlinks to the corresponding entry in the url column.
    Here's the sql that I was trying to get to work based on what someone else helped me with:
    select type, ''&#0124; &#0124;name&#0124; &#0124;''web
    from interop.links
    Here is the results when I run the report:
    <#''.LABEL#>
    <#''.FIELD#>
    <#''.FIELD#>
    <#''.FIELD#>
    <#''.FIELD#>
    <#''.FIELD#> ...etc, etc.
    Does anyone have suggestions for what I am doing wrong or another solution? I really need to figure out how to do this. Thanks!
    Michelle
    null

    Hi,
    Here is what I understand from your question.
    You have 3 columns
    URL
    NAME
    TYPE
    Say you have url=> www[dot]oracle[dot]com
    name=>Uncle Larry is always right
    you want name to have a href which points to
    the value in column url
    so you need
    select url as the_url,''&#0124; &#0124;name&#0124; &#0124;'' as the_name,type from the table
    null

  • I am programming a DVD-Rom in DVD Studio Pro 4 and need to display and open pdf files, any suggestions?

    I am programming a DVD-Rom in DVD Studio Pro 4 and need to display and open pdf files, any suggestions?

    http://documentation.apple.com/en/dvdstudiopro/usermanual/index.html#chapter=22% 26section=9%26tasks=true

  • How to enhance table control in DMS. Need to display doknr more than 25 cha

    Hi there.
    In transaction IL03 - document tab - I need to display a doknr which is longer than 25 characters.
    I search for exit/enhancement for DMS - saplcv140/control SUB_DOC, but cant find anything.
    If it is not possible to enhance this field, i would like to add a new field (more than 25 char) and fill in the long doknr.
    The documents that are attached contains both an internal docnumber(from the external system) and an external docnumber (functional location type of number). It is very important to show external documentno in the table control.
    Actually in the table DRAW the external dok number is in the field MRK_FILEP. Can this field somehow get in the tablecontrol?
    Anybody has experience with docno longer than 25 characters? Or how to enhance tablecontrol sub_doc (screen 0204) in fuction group CV140.
    Br,
    Liselotte.

    The BAdI CRM_BADI_RF_Q1O_SEARCH is for enhancing OneOrder based searches. Not for business partners.
    The BAdI CRM_BUPA_IL_SEARCH is the way to go. I just checked in our system.
    In the method SEARCH_CRITERIA_INITIAL check if your field is supplied in IS_PARAMETERS. If yes return CV_IS_NOT_INITIAL = 'X'.
    Then in SEARCH_PARTNERS you delete the entries from table CT_PARTNER_KEYS according to your parameter.
    However this is not very performant. If you have a search with criteria only of your own for the BAdI SAP coding will first select everything and then you filter out.
    Anyway, it is much faster to implement than a new search...
    cheers Carsten
    Edited by: Carsten Kasper on Nov 18, 2008 7:44 PM

  • Conv. based on the month - Need to display the output in quarterly basis.

    Hi Gurus,
    I need to display the output quarterly based on the month.
    For example,
    If the year is 2012 and month is between
    01 to 03 i need to display it as 2012Q1
    likewise 04 to 06 as 2012q2
    and 07 to 09 as 2012q3
    and 10 to 12 as 2012q4.
    Please help me by providing sample codes. Please help yourself by writing the code and get back when you have a specific question.
    Thanks!
    Regards,
    Manoj
    Edited by: kishan P on Mar 2, 2012 3:14 PM

    Hi Vinod
    To get the last 13 months in webi report .follow below approach
    Assuming you have calendar Month object in the report.
    convert your selected date into M/d/yy format . let's say you selected 12/18/13 , your variable should be 12/1/13
    variable :
    Selected Month =ToDate(FormatDate(useresponse("Date");"Mmm yyyy");"Mmm yyyy")
    Flag for month     =ToDate([CalMonth];"Mmm yyyy")<=[Selected Month]
    Report filter          =[Flag for month]+Previous(Self)
    select the table you want to filter
    add filter -> Report filter between 1 to 13.
    Hope this will help.

  • Need to display COlumn headers dynamically in ALG Grid

    Hello,
    I need to display column headers dynamically in alv grid Display with its corresponding value.
    Column headers should be picked from a field in Final Internal table and its corresponding field will also need to pick from the same table.
    T_final... Suppose Field STCTS - (To pick coulmn headers)
                                      CCNGN - (To pick appropriate value for that column)
    Can anybody explain me how i can pass these values to ALV Grid using
    CALL METHOD CL_ALV_TABLE_CREATE=>CREATE_DYNAMIC_TABLE
      EXPORTING
        IT_FIELDCATALOG           = Y_I_FCAT
      IMPORTING
        EP_TABLE                  = DY_TABLE.
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
               WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Any suggestions will be appreciated....
    Regards,
    Kittu

    Hi,
    Go thru this link, and the code of Mr.Dev Parbutteea
    Re: Probelm with Using Field Symbol in FM
    thanks
    Mahesh

  • Need to display a percentage sign '%' in the query field

    hi all
    I know that this might be very simple..
    but it has bugged me for a while now..
    i need to display ''%" in a particular field alongwith the number in the query for
    1. when field is having a percentage calc of two KF.
    2. when field is a mixed containing amount type KF & i need to display it only for certain records not all .
    Please help me.
    best regards,
    ramesh

    1 - if you are using a percentage function in a CKF/Formula, it should by default come with a % sign in your report.
    2 - You can't mix and match (have '%' only for some rows) unless you want to use some vb macro or table interface class to do it.
    For any number that is a percentage but doesn't appear with %, you can always create another CKF ( = 100 % ckf_minus_perc ), or a variant of it and that should get you the same value with a % sign.

  • Error message need to display on other screen

    Hi All,
    I have implemented the enhancement implimentation for one perticular transaction code and i am valdating the one field in the one sub screen and i am displaying the error message. but its displaying in that subcreen. 
    But my requirment is i need to display that message in another sub screen.
    can any body tell me how it is possible to do the validations on one screen and displaying the error message in another screen.
    Thanks.

    HI,
    Is that subscreen is under tabstrip.....then you can use the sy-ucomm ....
    Thanks,
    Shailaja Ainala.

  • Need to display seqno along with his superior number

    Hi friends,
    I have a table adm_menus
    It's DDL is
      CREATE TABLE "ADM_MENUS"
       (     "MENU_ID" NUMBER,
         "MENU_NAME" VARCHAR2(60 BYTE),
         "PARENT_MENU_ID" NUMBER,
         "SEQ_NO" NUMBER,
    "DISP_SEQ_NO" VARCHAR2(250 BYTE),
         "MENU_ACTION_TYPE" VARCHAR2(60 BYTE),
         "MENU_ACTION" VARCHAR2(2000 BYTE),
         "MENU_PARAMETER" VARCHAR2(2000 BYTE),
         "INACTIVE_DATE" DATE,
         "CREATED_BY" NUMBER(15,0),
         "CREATION_DATE" DATE,
         "LAST_UPDATED_BY" NUMBER(15,0),
         "LAST_UPDATE_DATE" DATE
       )DML is
    Insert into ADM_MENUS (MENU_ID,MENU_NAME,PARENT_MENU_ID,SEQ_NO,DISP_SEQ_NO,MENU_ACTION_TYPE,MENU_ACTION,MENU_PARAMETER,INACTIVE_DATE,CREATED_BY,CREATION_DATE,LAST_UPDATED_BY,LAST_UPDATE_DATE)
    values (19,'TRANSACTION',null,10,'10',null,null,null,to_date('12-10-11','DD-MM-RR'),-1,to_date('12-10-11','DD-MM-RR'),-1,to_date('12-10-11','DD-MM-RR'));
    Insert into ADM_MENUS (MENU_ID,MENU_NAME,PARENT_MENU_ID,SEQ_NO,DISP_SEQ_NO,MENU_ACTION_TYPE,MENU_ACTION,MENU_PARAMETER,INACTIVE_DATE,CREATED_BY,CREATION_DATE,LAST_UPDATED_BY,LAST_UPDATE_DATE)
    values (18,'TRANSACTION',19,10,'10',null,null,null,to_date('12-10-11','DD-MM-RR'),-1,to_date('12-10-11','DD-MM-RR'),-1,to_date('12-10-11','DD-MM-RR'));
    Insert into ADM_MENUS (MENU_ID,MENU_NAME,PARENT_MENU_ID,SEQ_NO,DISP_SEQ_NO,MENU_ACTION_TYPE,MENU_ACTION,MENU_PARAMETER,INACTIVE_DATE,CREATED_BY,CREATION_DATE,LAST_UPDATED_BY,LAST_UPDATE_DATE)
    values (20,'Report1',18,30,'3010',null,null,null,to_date('12-10-11','DD-MM-RR'),-1,to_date('12-10-11','DD-MM-RR'),-1,to_date('12-10-11','DD-MM-RR'));My scenario in the sense is i need to display the results for the disp_seq_no column like
    Since from the above DML statement i have three rows, For my explanation im taking four columns
    menu_id------->parent_menu_id-------------->seq_no------------>Disp_seq_no
    19                 null                      10                
    18                 19                        10                
    20                 18                        30For the above rows i need to display the rows for the column disp_seq_no as
    For the first row from the above result the parent_menu_id is null(so, in my case he is the parent and there is no any superior to him, so his disp_seq_no has to be '010'(i.e his seq_no with *'0' infront of it*.)
    For the second and third row i need like
    menu_id------->parent_menu_id------------->seq_no------------>Disp_seq_no
    19                 null                      10                010
    18                 19                        10                010010 
    20                 18                        30                010030For the second row, he has the parent menu id as '19', so i need his disp_seq_no like (his parents seq_no and his own Seq_no(but i need '0' infront of each and every seq number)) like
    010010
    For the third row, he has the parent menu id as '18', so the disp_seq_no has to be 010030
    How i can able to achieve it friends.
    Brgds,
    Mini

    /* Formatted on 10/12/2011 9:57:19 AM (QP5 v5.149.1003.31008) */
    WITH ADM_MENUS
            AS (SELECT 19 menu_id, NULL parent_menu_id, 10 seq_no FROM DUAL
                UNION
                SELECT 18, 19, 10 FROM DUAL
                UNION
                SELECT 20, 18, 30 FROM DUAL)
        SELECT menu_id,
               parent_menu_id,
               seq_no,
               CASE CONNECT_BY_ISLEAF
                  WHEN 0
                  THEN
                     REPLACE (SYS_CONNECT_BY_PATH (seq_no, ','), ',', '0')
                  ELSE
                     SUBSTR (REPLACE (SYS_CONNECT_BY_PATH (seq_no, ','), ',', '0'),
                             LENGTH (SYS_CONNECT_BY_PATH (seq_no, ',')) - 5)
               END
                  disp_seq_no
          FROM ADM_MENUS
    START WITH parent_menu_id IS NULL
    CONNECT BY PRIOR menu_id = parent_menu_id
    19          10     010
    18     19     10     010010
    20     18     30     010030

  • Help needed in list item...need to display employee of a selected dept

    Hi All,
    I am very beginner in D2K technology.I am using 10g Forms.
    Could you please help me...
    I have created a list item which contains dept_id=10,20,30....
    My requirement is when i will change the value of dept_id(select dept_id=20),the employees belong to that dept will display(need to display 5 employees of dept 20).
    I hav created two block--block2 and block3
    In block2,there is a list item
    In block3,there is a display item and i changed the properties number of record displayed to 10 of the block.
    I atteched a trigger when-list-changed and the code is :
    select last_name into :block3.item14 from employees where department_id=:block2.item4;
    But It is not working.....
    Thanks in Advance,
    Tapan.
    Edited by: user630863 on Aug 8, 2010 9:20 PM
    Edited by: user630863 on Aug 8, 2010 9:55 PM

    okk..well still i don't know the purpose of the form on which you are working why not the database block for emp?..but the requirement you are asking can be done through following code...
    Trigger - WHEN-LIST-CHANGED
    DECLARE
      CURSOR F_Cur IS
        SELECT ename
        FROM emp
        WHERE deptno = :list_item_name;
    BEGIN
      GO_BLOCK('BLOCK3');
      FIRST_RECORD;
      CLEAR_BLOCK;
      FOR G_CUR IN F_CUR LOOP
        :block3.item_name:=G_CUR.ename;
        NEXT_RECORD;
      END LOOP;
      FIRST_RECORD;
    END;
    Note: in the BLOCK3 there should be one item navigable by cursor. I mean if block3 is having only one item which is name item and it is display item then GO_BLOCK built-in will not work. So, you will need to create one more in block3 or make that name item as text item and set update_allowed to NO from the items' property.
    -Ammad

  • HCM Absence  types- need to display in different languages in the same country based on user language preference

    Hi
    We are implementing in Belgium where we need to have absence in both dutch and French for the different user sets. Is there anyway to set up one absence type but have the different translations for the different user groups.  There was a document ID 1619320.1 that referred to the fact that if the absences were created  by a seedfile then they would be translated. Has anyone come across this issue whereyou need to display the same absence type for more than one language in the same country and how did you do this or did you have to set up separate absence types in the different languages which I do not want to do
    thanks

    Hi Parker
    If you are using Captivate 4 multi languages is a
    posibility..
    Set a User Variable to pass the language you want to a Flash
    SWF whic is embeded (This can play and hold multiple audio tracks).
    For example Captivate 4 will pass "french" to the embeded flash SWF
    which will play the "french" track.
    OR
    you could just use branching ;)
    Cheers.. Aquil0

Maybe you are looking for