CM21 - How to display only released orders in CM21

Hi,
I want to display only released orders in trasaction CM21. Currently it is displaying both created and released orders.
could you please guide me how to proceed?
BR/
Laxmikant Lande

Hi lax,
          By the way this problem is solved by assigning set for released order to the filter set in selection profile.
That's great. Taking a cue from you i also tried that but could not find that appropriate set name/identification which i may assign to the filter set to get only the released orders by default in CM21. Can you share your experience?
          On CM21 Filter screen, there is no std field to control order status ...
You're right. Actually what i meant was that in the filter screen you get the order number as an input field. If you press f4 you will have the different matchcodes available to choose the order. If you select the order information system as the input help you will arrive at the standard COOIS or COOISPI screen where you can choose the released orders by giving REL as the input in sys status. This will pick up all the released orders.
Regards
Sm.
Edited by: Sm on Sep 2, 2010 12:27 PM

Similar Messages

  • ALV: how to display only subtotals and total rows in the output

    ALV: how to display only subtotals and total rows in the output
    i am getting output
    i am getting subtotals for respective fields
    but i want to display only subtotals and totals rows in the output
    i have tried the
    totals_only   parameter in slis_layout_alv
    but it is not working.

    hi,
    For TOTAL
    For the amount field / quantity field in the field catalog give DO_SUM = 'X'    for WHOLE total
    For SUBTOTAL
    For subtotal you will have to create an internal table sort..Let's say you want to do subtotal for each customer..
    DATA: lt_sort type SLIS_T_SORTINFO_ALV,
    ls_sort type slis_sortinfo_alv.
    CLEAR ls_sort.
    ls_sort-spos = 1.
    ls_sort-fieldname = 'Give the field name that you do the sum'.
    ls_sort-up = 'X'.
    ls_sort-subtot = 'X'.
    APPEND ls_sort TO lt_sort.
    fieldcatalog-do_dum = 'X'.
    for subtotals
    WA_SORT-FIELDNAME = 'ERSDA'.
    WA_SORT-SPOS = '2'.
    WA_SORT-UP = 'X'.
    WA_SORT-SUBTOTAL = 'X'.
    APPEND WA_SORT TO IT_SORT.
    Refer
    http://help.sap.com/saphelp_erp2004/helpdata/en/ee/c8e056d52611d2b468006094192fe3/content.htm
    http://sap.ittoolbox.com/groups/technical-functional/sap-dev/doesnt-function-event-subtotal_text-in-alv-713787
    regards,
    Prabhu
    reward if it is helpful

  • Displaying metadata, how to display ONLY the Date

    I would like to display the Date below each image in Aperture 3. When I select "Date" in the Browser & Viewer Metadata window, the result is a very long string with the Date, the Time and the Time Zone. meaning that most of the time I see nothing because the string is much too long to be displayed...
    How to display ONLY the Date ?
    Thank you.
    Olivier

    om28 wrote:
    I will do that but still... if the Date could be ONLY the Date "without time and time zone", I would be able to display more information.. and it will look nicer.
    I said at the top of my first response above: +Afaik, there is no way within Aperture to change the date format of the date metadata overlay.+
    Send Aperture feedback to Apple via "Aperture→Provide Aperture Feedback"
    In the past I used Expression Media and the config for displaying such info was better.
    Aperture has a strange interface for it (and for other parameters), it does not behave at all like an Apple software (for the GUI), probably an external development team... but I agree it is more complex than iPhoto.
    Aperture is 10x more complex than iPhoto.
    If you want to see a rigid, boxed, "engineer"-style image database interface, take a look at Lightroom 3. It's a great program -- but it's a very different concept of information presentation and interaction.
    Thanks again.

  • How to Display in Hierarcheal Order.

    Hi,
    I have a program that extracts the project related data Excel.
    The program fetches the correct data but i want to displsy it in hierarchial order based on WBS element.
    How can i display it.
    There is a function module CALL FUNCTION 'AIPR_GET_HIERARCHY_TO_WBSELEM' used for this How can i use it in my program.
    pls Help.
    The Abap Code is as follows.
    TABLES: COSP,                   " Primary   CO data by Cost Element
            COSS,                   " Secondary CO data by Cost Element
            COSB,                   " Total Variances/Results Analyses
            PROJ,                          " Project Definition
            PRPS,                          " WBS element
            PRHI,
            AFVC,                          " Network operations
            AFVU,                          " Network user fields
            COBK,                          " CO header
            CEPC,                          " Costcenter Names
            BPGE,                          " CO Awards
            AUFK,                          " Networks
            COOI,                   " Commitments management: Line items
            AFKO,                          " Network Header
            crco,
            crhd,
            JEST.                          " Project Status
    Internal table for projects
    DATA:BEGIN OF ITAB_TEST OCCURS 0,
        PSPID LIKE PROJ-PSPID,
        UP    LIKE PROJ-PSPID,
        STUFE LIKE PRPS-STUFE,
        POSID LIKE PRPS-POSID,
        POST1 LIKE PRPS-POST1,
        OBJNR LIKE PRPS-OBJNR,
        PSPHI LIKE PRPS-PSPHI,
        PRCTR LIKE PRPS-PRCTR,
        FAKKZ LIKE PRPS-FAKKZ,
        PSPNR LIKE PRPS-PSPNR,
        PRART LIKE PRPS-PRART,
        VERNA LIKE PROJ-VERNA,
        END OF ITAB_TEST.
    Internal table for final extract records
    TYPES: BEGIN OF EXTRACTREC,
           COL_01(40) TYPE C,
           COL_02(40) TYPE C,
           COL_03(40) TYPE C,
           COL_04(40) TYPE C,
           COL_05(40) TYPE C,
           COL_06(40) TYPE C,
           COL_07(40) TYPE C,
           COL_08(40) TYPE C,
           COL_09(40) TYPE C,
           COL_10(40) TYPE C,
           COL_11(40) TYPE C,
           COL_12(40) TYPE C,
           COL_13(40) TYPE C,
           COL_14(40) TYPE C,
           COL_15(40) TYPE C,
           COL_16(40) TYPE C,
           COL_17(40) TYPE C,
           COL_18(40) TYPE C,
           COL_19(40) TYPE C,
           COL_20(40) TYPE C,
           COL_21(40) TYPE C,
           COL_22(40) TYPE C,
           COL_23(40) TYPE C,
           COL_24(40) TYPE C,
           COL_25(40) TYPE C,
           COL_26(40) TYPE C,
           COL_27(40) TYPE C,
           X_P20C(14)  TYPE C,   "Auth Cost    (Plan 20 @ Cost)
           X_ITDC(14)  TYPE C,   "ITD Costs
           END   OF EXTRACTREC.
    Accumulators
    DATA : JAN_TOT(14) TYPE C.
    DATA : FEB_TOT(14) TYPE C.
    DATA : MAR_TOT(14) TYPE C.
    DATA : APR_TOT(14) TYPE C.
    DATA : MAY_TOT(14) TYPE C.
    DATA : JUN_TOT(14) TYPE C.
    DATA : JUL_TOT(14) TYPE C.
    DATA : AUG_TOT(14) TYPE C.
    DATA : SEP_TOT(14) TYPE C.
    DATA : OCT_TOT(14) TYPE C.
    DATA : NOV_TOT(14) TYPE C.
    DATA : DEC_TOT(14) TYPE C.
    Miscellaneous
    DATA: X1_PROJ-PRCTR(40) TYPE C.
    DATA: COM_TOT(14) TYPE C.
    DATA: EXTRACTDATA TYPE EXTRACTREC.
    DATA: H_PROJMGR         LIKE PRPS-VERNA,     "project manager
          H_PROJMGRCC       LIKE CRCO-KOSTL.     "PM costcenter
    DATA: ITAB_EXT TYPE EXTRACTREC OCCURS 10 WITH HEADER LINE.
    FIELD-SYMBOLS <MNT> .
    Internal table of wbs line items for summarization
    TYPES: BEGIN OF ZREC_WBS,
           PERIOD        LIKE RFSDO-BILABMON,
           YEAR          LIKE COSS-GJAHR,
           PROJECT       LIKE PRPS-POSID,
           SALES         LIKE BPGE-WTGES,
           PLNDOLLARS    LIKE BPGE-WTGES,
           ACTDOLLARS    LIKE BPGE-WTGES,
           COMMIT        LIKE BPGE-WTGES,
           PLNHOURS      LIKE BPGE-WTGES,
           ACTHOURS      LIKE BPGE-WTGES,
    END OF ZREC_WBS.
    DATA ITAB_WBS TYPE ZREC_WBS OCCURS 10 WITH HEADER LINE.
    Accumulators
    DATA  HOLD_AWARD        LIKE BPGE-WTGES.
    DATA  HOLD_PLAN13_SALES LIKE BPGE-WTGES.
    DATA  HOLD_PLAN13_COST  LIKE BPGE-WTGES.
    DATA  HOLD_PLAN12_SALES LIKE BPGE-WTGES.
    DATA  HOLD_PLAN12_COST  LIKE BPGE-WTGES.
    DATA  HOLD_COMM         LIKE COOI-WTGBTR.
    DATA  ITAB_OBJLIST     LIKE OBJLIST_PS OCCURS 10 WITH HEADER LINE.
    Miscellaneous
    DATA  COUNT_RECORDS TYPE I.
    DATA  PROJ_STATUS(10) TYPE C.
    DATA  NET_STATUS(10)  TYPE C.
    DATA  NETFLAG VALUE 'N'.
    DATA  HOLDDATE(10).
    DATA  HOLDDATE1(10).
    DATA  HOLDPERIOD(10).
    DATA  HOLDAMOUNT(15) TYPE C.
    DATA  JAMIS_END_DATE LIKE SY-DATUM.
    DATA: BEGIN OF PLANDESC1,
          FILLER1(5)                TYPE C VALUE 'Plan ',
          PLANVERSN(3),
          FILLER2(6)                TYPE C VALUE ' Hours',
          END OF PLANDESC1.
    DATA: BEGIN OF PLANDESC2,
          FILLER1(5)                TYPE C VALUE 'Plan ',
          PLANVERSN(3),
          FILLER2(2)                TYPE C VALUE ' $',
          END OF PLANDESC2.
    DATA:  MNT_INDX(20)     TYPE C,
           HLD_INDX(3)      TYPE N,
           YYYY_MM(10)      TYPE C.
    Selection screen
    SELECTION-SCREEN SKIP 3.
    SELECTION-SCREEN BEGIN OF BLOCK XEXTRPRJ WITH FRAME TITLE TEXT-001.
    SELECTION-SCREEN SKIP 2.
    *PARAMETERS: SELPROJ LIKE PROJ-PSPID MATCHCODE OBJECT PRSM ."OBLIGATORY.
    SELECT-OPTIONS: SELPROJ FOR PROJ-PSPID MATCHCODE OBJECT PRSM .
    SELECTION-SCREEN SKIP 1.
    PARAMETERS MONTH(2)  TYPE  N   OBLIGATORY.
    PARAMETERS YEAR(4)   TYPE  N   OBLIGATORY.
    *PARAMETER: SELVERSN LIKE COSS-VERSN DEFAULT '000'.
    SELECT-OPTIONS: PRJTYP FOR PRPS-PRART.     "Project Types (CO,GV,etc.)
    SELECT-OPTIONS: PRFCTR for PROJ-PRCTR.     "Range of Profit centers
    SELECTION-SCREEN END OF BLOCK XEXTRPRJ.
    Start of selection
    START-OF-SELECTION.
    Get Project Definition
      SELECT * FROM PROJ  WHERE PSPID IN SELPROJ
                             AND PRCTR IN PRFCTR.
    Get WBS element
        SELECT * FROM PRPS  WHERE  PRART IN PRJTYP
                 AND PSPHI EQ PROJ-PSPNR
                 AND STUFE GT '1'.  .
          MOVE-CORRESPONDING  PRPS  TO  ITAB_TEST.
          MOVE PROJ-PSPID TO ITAB_TEST-PSPID.
          SELECT SINGLE * FROM PRHI WHERE POSNR EQ PRPS-PSPNR.
            IF SY-SUBRC EQ '0'.
              MOVE PRHI-UP TO ITAB_TEST-UP.
            ENDIF.
            APPEND ITAB_TEST.
            CLEAR ITAB_TEST.
          ENDSELECT.
        ENDSELECT.
    fetch higher wbs levels
      LOOP AT ITAB_TEST.
        SELECT  SINGLE * FROM  PRPS  WHERE  PSPNR EQ ITAB_TEST-UP.
        IF  PRPS-STUFE  NE '2'.
          SELECT SINGLE * FROM PRHI WHERE POSNR EQ PRPS-PSPNR.
          IF SY-SUBRC EQ '0'.
            MOVE PRHI-UP TO ITAB_TEST-UP.
          ENDIF.
          MODIFY ITAB_TEST.
        ENDIF.
      ENDLOOP.
      LOOP AT  ITAB_TEST.
        SELECT  SINGLE  * FROM  PRPS  WHERE  PSPNR EQ ITAB_TEST-UP.
        MOVE PRPS-POSID TO ITAB_TEST-UP.
        MODIFY ITAB_TEST.
      ENDLOOP.
      SORT ITAB_TEST BY  PSPID.
    Get Top level WBS element to determine hierarchy
      SELECT * UP TO 1 ROWS FROM PRPS CLIENT SPECIFIED
         WHERE  MANDT       = SY-MANDT
         AND    PSPHI       = PROJ-PSPNR
         AND    STUFE       = '1'.
      ENDSELECT.
    Get all object numbers of related elements in the hierarchy
      CALL FUNCTION 'AIPR_GET_HIERARCHY_TO_WBSELEM'
           EXPORTING
                I_PR_TOP_OBJECT  = PRPS-OBJNR
                I_WITH_HIERARCHY = 'X'
                I_WITH_NETWORK   = 'X'
                I_WITH_ORDERS    = 'X'
           TABLES
                ET_OBJLIST_PS    = ITAB_OBJLIST
           EXCEPTIONS
                OTHERS           = 1.
    Section 1. Project Data.
    Get Group Head name from Profit Center from level 1
      SELECT  * FROM CEPC
        WHERE KOKRS =  'DSRC'
        AND   DATBI GE SY-DATUM
        AND   PRCTR =  PRPS-PRCTR.
        CHECK CEPC-DATAB  LE SY-DATUM.
      ENDSELECT.
    Load Project Data to internal table with headings
      MOVE 'ProjectDef'      TO ITAB_EXT-COL_01.
      MOVE 'WBS Title'       TO ITAB_EXT-COL_02.
      MOVE 'WBS Element'     TO ITAB_EXT-COL_03.
      MOVE 'TY'              TO ITAB_EXT-COL_04.
      MOVE 'Prft Cntr'       TO ITAB_EXT-COL_05.
      MOVE 'Project open'    TO ITAB_EXT-COL_06.
      MOVE 'Project close'   TO ITAB_EXT-COL_07.
      MOVE 'Network open'    TO ITAB_EXT-COL_08.
      MOVE 'Network close'   TO ITAB_EXT-COL_09.
      MOVE 'Status'          TO ITAB_EXT-COL_10.
      MOVE 'ProjectMgr'      TO ITAB_EXT-COL_11.
      MOVE 'ProjectMgr_CC'   TO ITAB_EXT-COL_12.
      MOVE 'Auth20costs'     TO ITAB_EXT-COL_13.
      MOVE 'ITD Costs '      TO ITAB_EXT-COL_14.
      MOVE 'Jan_costs'       TO ITAB_EXT-COL_15.
      MOVE 'Feb_costs'       TO ITAB_EXT-COL_16.
      MOVE 'Mar_costs'       TO ITAB_EXT-COL_17.
      MOVE 'Apr_costs'       TO ITAB_EXT-COL_18.
      MOVE 'May_costs'       TO ITAB_EXT-COL_19.
      MOVE 'Jun_costs'       TO ITAB_EXT-COL_20.
      MOVE 'Jul_costs'       TO ITAB_EXT-COL_21.
      MOVE 'Aug_costs'       TO ITAB_EXT-COL_22.
      MOVE 'Sep_costs'       TO ITAB_EXT-COL_23.
      MOVE 'Oct_costs'       TO ITAB_EXT-COL_24.
      MOVE 'Nov_costs'       TO ITAB_EXT-COL_25.
      MOVE 'Dec_costs'       TO ITAB_EXT-COL_26.
      MOVE 'Open_commits'    TO ITAB_EXT-COL_27.
      APPEND ITAB_EXT.
      CLEAR  ITAB_EXT.
    Fetching values
      LOOP AT  ITAB_TEST.
    Getting records for every new project
        AT NEW PSPID.
          select  single * from  proj  where pspid  eq itab_test-pspid.
          MOVE PROJ-PSPID TO ITAB_EXT-COL_01.
          MOVE PROJ-POST1         TO ITAB_EXT-COL_02.
          MOVE PROJ-PSPID TO ITAB_EXT-COL_03.
          SELECT SINGLE * FROM PRPS WHERE  PSPHI EQ  PROJ-PSPNR.
          CLEAR EXTRACTDATA-COL_04.
          EXTRACTDATA-COL_04 =  PRPS-PRART.
          MOVE EXTRACTDATA-COL_04    TO ITAB_EXT-COL_04.
    *PROFIT CENTRE  CORRECTION
          IF PROJ-PRCTR(2) = '01'.
            X1_PROJ-PRCTR = PROJ-PRCTR.
            CONCATENATE SPACE PROJ-PRCTR INTO X1_PROJ-PRCTR
              SEPARATED BY SPACE.
            MOVE X1_PROJ-PRCTR TO ITAB_EXT-COL_05.  "Employee's Cost Center
          ELSE.
            MOVE PROJ-PRCTR TO ITAB_EXT-COL_05.     "Employee's Cost Center
          ENDIF.
          PERFORM CONVERT-DATE USING PROJ-PLFAZ.
          MOVE HOLDDATE1          TO ITAB_EXT-COL_06.
          PERFORM CONVERT-DATE USING PROJ-PLSEZ.
          MOVE HOLDDATE1          TO ITAB_EXT-COL_07.
          MOVE '00/00/0000'   TO   ITAB_EXT-COL_08.
          MOVE '00/00/0000'   TO   ITAB_EXT-COL_09.
          perform CHECK-PROJSTATUS.
          move PROJ_STATUS       to ITAB_EXT-COL_10.
          CLEAR EXTRACTDATA-COL_11.
          EXTRACTDATA-COL_11 =  PROJ-VERNA .
          MOVE EXTRACTDATA-COL_11 TO ITAB_EXT-COL_11.
    manager CC
          MOVE PROJ-VERNR+3(5) TO H_PROJMGR.
          SELECT SINGLE * FROM CRHD
          WHERE ARBPL = H_PROJMGR.      "employee number
    Assignment of Work Center to Cost Center
          SELECT * FROM CRCO
            WHERE OBJTY  = CRHD-OBJTY
            AND OBJID  = CRHD-OBJID
            AND LASET  = 1
            AND LANUM = '0001'.
            IF CRCO-ENDDA >  SY-DATUM.
              EXIT.
            ENDIF.
          ENDSELECT.
    insert space if cost center starts with 01
          IF CRCO-KOSTL(2) = '01'.
            H_PROJMGRCC  = CRCO-KOSTL.
            CONCATENATE SPACE H_PROJMGRCC
              INTO H_PROJMGRCC SEPARATED BY SPACE.
          ELSE.
            H_PROJMGRCC  = CRCO-KOSTL.
          ENDIF.
          MOVE H_PROJMGRCC     TO ITAB_EXT-COL_12.
    Award and Authorization (Revenue & Cost)
          SELECT  SINGLE * FROM  PRPS
             WHERE  PSPHI EQ  PROJ-PSPNR
             AND  STUFE EQ 1.
          SELECT * FROM BPGE
             WHERE OBJNR   = PRPS-OBJNR
               AND LEDNR   = '0001'        "Budget / Planning Ledger
               AND TRGKZ   = 'N'           "Object indicator
               AND WRTTP   = '01'          "Value Type
               AND  VERSN = '020' .        "020 = Award
          IF BPGE-VERSN = '020'.         "Plan 20 = RA Authorization
              CASE BPGE-VORGA.
                WHEN 'KSTP'.               "KSTP = Cost level
                  EXTRACTDATA-X_P20C =  BPGE-WTGES.
                  move EXTRACTDATA-X_P20C to  ITAB_EXT-COL_13.
              ENDCASE.
          ENDIF.
          ENDSELECT.                     "BPGE
          APPEND ITAB_EXT.
          CLEAR  ITAB_EXT.
        ENDAT.
        PERFORM GET-WBS-DATA.
      ENDLOOP.
    Dump Out to Excel.
    Call a function for data download to an EXCEL file.
      CALL FUNCTION 'Z_RH_START_EXCEL_DATA_OLE'
           EXPORTING
                DATA_NAME          = 'ZCOSTS.XLS'
                DATA_PATH_FLAG     = 'W'
                DATA_TYPE          = 'DAT'
                DATA_BIN_FILE_SIZE = 'ZCOSTS'
                CHART_TITLE        = 'ZCOSTS'
                CHART_TYPE         = 2
                CATEGORY_TITLE     = 'ZCOSTS'
                VALUE_TITLE        = 'ZCOSTS'
                DATA_XTOP_COR      = 0
                DATA_YTOP_COR      = 0
                DATA_XBOT_COR      = 0
                DATA_YBOT_COR      = 0
                CATEGORY_XTOP_COR  = 0
                CATEGORY_YTOP_COR  = 0
                CATEGORY_XBOT_COR  = 0
                CATEGORY_YBOT_COR  = 0
           TABLES
                DATA_TAB           = ITAB_EXT
           EXCEPTIONS
                NO_BATCH           = 1
                DOWNLOAD_ERROR     = 2
                INVALID_TYPE       = 3
                INTERNAL_ERROR     = 4
                NO_OLE_SUPPORT     = 5
                OLE_FILE_ERROR     = 6
                OLE_ERROR          = 7
                NO_DATA            = 8
                COORDINATE_ERROR   = 9
                OTHERS             = 10.
    Function  modules  used  for  the  program
    *&      Form  CHECK-PROJSTATUS
    FORM CHECK-PROJSTATUS.
      CLEAR PROJ_STATUS.
    Fetch status
      SELECT * FROM JEST                   "use JEST to determine Status
         WHERE OBJNR =  PRPS-OBJNR
           AND INACT EQ SPACE.             "space denotes an active status
    Last one found will be reported
        CASE JEST-STAT.                    "find the system status (Ixxx)
          WHEN 'I0001'.
            PROJ_STATUS = 'CRTD'.          "Created
          WHEN 'I0002'.
            PROJ_STATUS = 'REL'.           "Released
          WHEN 'I0045'.
            PROJ_STATUS = 'TECO'.          "Technically Complete
          WHEN 'I0046'.
            PROJ_STATUS = 'CLSD'.          "Closed
          WHEN 'I0076'.
            PROJ_STATUS = 'DLFL'.          "Deleted Flag Activated
        ENDCASE.
      ENDSELECT.
    ENDFORM.                               " CHECK-PROJSTATUS
    *&      Form  CONVERT-DATE
    FORM CONVERT-DATE USING HOLDDATE.
      MOVE HOLDDATE4(2)    TO HOLDDATE10.
      MOVE '/'              TO HOLDDATE1+2.
      MOVE HOLDDATE6(2)    TO HOLDDATE13.
      MOVE '/'              TO HOLDDATE1+5.
      MOVE HOLDDATE0(4)    TO HOLDDATE16.
    ENDFORM.                               " CONVERT-DATE
    *&      Form  GET-WBS-DATA
    FORM GET-WBS-DATA.
    Fetch Operation within Order for status checking
      SELECT SINGLE * FROM AFVC
         WHERE OBJNR = ITAB_OBJLIST-OBJNR.
    MOVE PROJ-PSPID         TO ITAB_EXT-COL_01.
    MOVE PRPS-POST1         TO ITAB_EXT-COL_02.
    MOVE PRPS-POSID         TO ITAB_EXT-COL_03.
    Fetch WBS elements by hierarchy
      SELECT SINGLE * FROM PRPS
        WHERE OBJNR = ITAB_OBJLIST-OBJNR.
    Check status of WBS element
      PERFORM CHECK-PROJSTATUS.
    If item has been deleted, skip
      IF PROJ_STATUS = 'DLFL'.
         EXIT.
      ENDIF.
    Fetch Authorization
    PERFORM GET-AUTHORIZATION.
    Load extract record.
    MOVE PRPS-STUFE         TO ITAB_EXT-COL_01.
    MOVE PRPS-POSID         TO ITAB_EXT-COL_02.
    MOVE PRPS-POST1         TO ITAB_EXT-COL_03.
    MOVE HOLD_PLAN13_COST   TO ITAB_EXT-COL_04.
    MOVE HOLD_PLAN13_SALES  TO ITAB_EXT-COL_05.
    MOVE HOLD_PLAN12_COST   TO ITAB_EXT-COL_06.
    MOVE HOLD_PLAN12_SALES  TO ITAB_EXT-COL_07.
    MOVE PROJ_STATUS        TO ITAB_EXT-COL_10.
      APPEND ITAB_EXT.
      CLEAR ITAB_EXT.
      CLEAR EXTRACTDATA-COL_04.
      EXTRACTDATA-COL_04 =  PRPS-PRART.
      MOVE EXTRACTDATA-COL_04    TO ITAB_EXT-COL_04.
    *PROFIT CENTRE
      IF PROJ-PRCTR(2) = '01'.
        ETAB-X_CNTR  = PROJ-PRCTR.         "Profit Center
        X1_PROJ-PRCTR = PROJ-PRCTR.
        CONCATENATE SPACE PROJ-PRCTR INTO X1_PROJ-PRCTR SEPARATED BY SPACE
        MOVE X1_PROJ-PRCTR TO ITAB_EXT-COL_05.     "Employee's Cost Center
      ELSE.
        MOVE PROJ-PRCTR TO ITAB_EXT-COL_05.     "Employee's Cost Center
      ENDIF.
      PERFORM CONVERT-DATE USING PROJ-PLFAZ.
      MOVE '00/00/0000'       TO ITAB_EXT-COL_06.
      PERFORM CONVERT-DATE USING PROJ-PLSEZ.
      MOVE '00/00/0000'       TO ITAB_EXT-COL_07.
    Fetch order operations
      SELECT SINGLE * FROM AFVC
          WHERE PROJN = ITAB_TEST-PSPNR.
    Fetch Order Master Data
      SELECT SINGLE * FROM AUFK
        WHERE PSPEL = AFVC-PROJN.        " WBS element(external)
    Fetch Order Header Data for start and end dates
      SELECT SINGLE * FROM AFKO
       WHERE AUFNR = AUFK-AUFNR.         " Network # (external)
    Fetch network user fields for Jamis end date
      CLEAR JAMIS_END_DATE.
      SELECT SINGLE * FROM AFVU WHERE
        AUFPL = AFVC-AUFPL AND
        APLZL = AFVC-APLZL.
      SELECT SINGLE * FROM AFVC
         WHERE OBJNR = ITAB_OBJLIST-OBJNR.
      IF SY-SUBRC = 0.
        JAMIS_END_DATE = AFVU-USR08.
      ENDIF.
      CLEAR EXTRACTDATA-COL_11.
      EXTRACTDATA-COL_11 =  PRPS-VERNA .
      MOVE EXTRACTDATA-COL_11 TO ITAB_EXT-COL_11.
    manager CC
      MOVE PRPS-VERNR+3(5) TO H_PROJMGR.
      SELECT SINGLE * FROM CRHD
      WHERE ARBPL = H_PROJMGR.      "employee number
    Assignment of Work Center to Cost Center
      SELECT * FROM CRCO
        WHERE OBJTY  = CRHD-OBJTY
        AND OBJID  = CRHD-OBJID
        AND LASET  = 1
        AND LANUM = '0001'.
        IF CRCO-ENDDA >  SY-DATUM.
          EXIT.
        ENDIF.
      ENDSELECT.
    Insert space if cost center starts with 01
      IF CRCO-KOSTL(2) = '01'.
        H_PROJMGRCC  = CRCO-KOSTL.
        CONCATENATE SPACE H_PROJMGRCC
          INTO H_PROJMGRCC SEPARATED BY SPACE.
      ELSE.
        H_PROJMGRCC  = CRCO-KOSTL.
      ENDIF.
      MOVE H_PROJMGRCC     TO ITAB_EXT-COL_12.
    Auth 20 costs   for WBS elements
      clear  EXTRACTDATA-X_P20C.
      SELECT * FROM BPGE
           WHERE OBJNR   = PRPS-OBJNR
             AND LEDNR   = '0001'        "Budget / Planning Ledger
             AND TRGKZ   = 'N'           "Object indicator
             AND WRTTP   = '01'          "Value Type
             AND  VERSN = '020' .        "020 = Award
        IF BPGE-VERSN = '020'.         "Plan 20 = RA Authorization
          CASE BPGE-VORGA.
            WHEN 'KSTP'.               "KSTP = Cost level
              EXTRACTDATA-X_P20C =  BPGE-WTGES.
          ENDCASE.
        ENDIF.
      ENDSELECT.
      move EXTRACTDATA-X_P20C to  ITAB_EXT-COL_13.
      PERFORM CONVERT-DATE USING AFKO-GSTRP.
      MOVE HOLDDATE1          TO ITAB_EXT-COL_08.
      IF JAMIS_END_DATE IS INITIAL.
        PERFORM CONVERT-DATE USING AFKO-GLTRP.
      ELSE.
        PERFORM CONVERT-DATE USING JAMIS_END_DATE.
      ENDIF.
      MOVE HOLDDATE1          TO ITAB_EXT-COL_09.
      perform CHECK-PROJSTATUS.
      MOVE PROJ_STATUS        TO ITAB_EXT-COL_10.
      SELECT SINGLE * FROM PRPS
        WHERE OBJNR = ITAB_TEST-OBJNR.
      PERFORM GET-ACTUALDOLLARS.
    ITD  COST  MOVED
      IF EXTRACTDATA-X_ITDC CA '-'.
        SHIFT EXTRACTDATA-X_ITDC RIGHT CIRCULAR.
      ENDIF.
      move EXTRACTDATA-X_ITDC   to  ITAB_EXT-COL_14.
    MONTH  BREAK-UP  FOR  CURRENT  YEAR   COST  MOVED
      IF JAN_TOT CA '-'.
        SHIFT JAN_TOT RIGHT CIRCULAR.
      ENDIF.
      move JAN_TOT  to ITAB_EXT-COL_15.
      IF FEB_TOT CA '-'.
        SHIFT FEB_TOT RIGHT CIRCULAR.
      ENDIF.
      move FEB_TOT  to ITAB_EXT-COL_16.
      IF MAR_TOT CA '-'.
        SHIFT MAR_TOT RIGHT CIRCULAR.
      ENDIF.
      move MAR_TOT  to ITAB_EXT-COL_17.
      IF APR_TOT CA '-'.
        SHIFT APR_TOT RIGHT CIRCULAR.
      ENDIF.
      move APR_TOT  to ITAB_EXT-COL_18.
      IF MAY_TOT CA '-'.
        SHIFT MAY_TOT RIGHT CIRCULAR.
      ENDIF.
      move MAY_TOT  to ITAB_EXT-COL_19.
      IF JUN_TOT CA '-'.
        SHIFT JUN_TOT RIGHT CIRCULAR.
      ENDIF.
      move JUN_TOT  to ITAB_EXT-COL_20.
      IF JUL_TOT CA '-'.
        SHIFT JUL_TOT RIGHT CIRCULAR.
      ENDIF.
      move JUL_TOT  to ITAB_EXT-COL_21.
      IF AUG_TOT  CA '-'.
        SHIFT AUG_TOT  RIGHT CIRCULAR.
      ENDIF.
      move AUG_TOT  to ITAB_EXT-COL_22.
      IF SEP_TOT CA '-'.
        SHIFT SEP_TOT RIGHT CIRCULAR.
      ENDIF.
      move SEP_TOT  to ITAB_EXT-COL_23.
      IF OCT_TOT CA '-'.
        SHIFT OCT_TOT RIGHT CIRCULAR.
      ENDIF.
      move OCT_TOT  to ITAB_EXT-COL_24.
      IF NOV_TOT CA '-'.
        SHIFT NOV_TOT RIGHT CIRCULAR.
      ENDIF.
      move NOV_TOT  to ITAB_EXT-COL_25.
      IF DEC_TOT CA '-'.
        SHIFT DEC_TOT RIGHT CIRCULAR.
      ENDIF.
      move DEC_TOT  to ITAB_EXT-COL_26.
    open commits
      COM_TOT = 0.
      SELECT  * FROM COOI
              WHERE OBJNR =  PRPS-OBJNR
              AND WRTTP = '22'
              AND WTGBTR <> 0.
        COM_TOT = COM_TOT + COOI-WTGBTR .
      ENDSELECT.
      move COM_TOT to ITAB_EXT-COL_27.
      CLEAR :  EXTRACTDATA-X_ITDC,
              JAN_TOT,
              FEB_TOT,
              MAR_TOT,
              APR_TOT,
              MAY_TOT,
              JUN_TOT,
              JUL_TOT,
              AUG_TOT,
              SEP_TOT,
              OCT_TOT,
              NOV_TOT,
              DEC_TOT.
      APPEND ITAB_EXT.
      CLEAR ITAB_EXT.
    ENDFORM.                               " GET-WBS-DATA
    *&      Form  GET-ACTUALDOLLARS
    FORM GET-ACTUALDOLLARS.
    *BREAK-POINT.
    Costs - DPC and legacy load
      SELECT * FROM COSP CLIENT SPECIFIED
                   WHERE  MANDT  = SY-MANDT
                      AND OBJNR  = PRPS-OBJNR
                      AND WRTTP  = '04'
                      AND ( BEKNZ = 'S' OR  BEKNZ = 'H' )
                  AND ( KSTAR GE '0000600001' AND  KSTAR LE '0000601999' ).
        IF YEAR = COSP-GJAHR.
          DO.
            IF SY-INDEX LE MONTH.
              MOVE SY-INDEX TO HLD_INDX.
              MNT_INDX =  'COSP-WKGXXX'.
              REPLACE 'XXX' WITH HLD_INDX INTO MNT_INDX.
              ASSIGN  (MNT_INDX) TO <MNT>.
              EXTRACTDATA-X_ITDC  = EXTRACTDATA-X_ITDC  + <MNT>.
              if sy-index = 01.
                JAN_TOT =  JAN_TOT + <MNT>.
              endif.
              if sy-index = 02.
                FEB_TOT =  FEB_TOT + <MNT>.
              endif.
              if sy-index = 03.
                MAR_TOT =  MAR_TOT + <MNT>.
              endif.
              if sy-index = 04.
                APR_TOT =  APR_TOT + <MNT>.
              endif.
              if sy-index = 05.
                MAY_TOT =  MAY_TOT + <MNT>.
              endif.
              if sy-index = 06.
                JUN_TOT =  JUN_TOT + <MNT>.
              endif.
              if sy-index = 07.
                JUL_TOT =  JUL_TOT + <MNT>.
              endif.
              if sy-index = 08.
                AUG_TOT =  AUG_TOT + <MNT>.
              endif.
              if sy-index = 09.
                SEP_TOT =  SEP_TOT + <MNT>.
              endif.
              if sy-index = 10.
                OCT_TOT =  OCT_TOT + <MNT>.
              endif.
              if sy-index = 11.
                NOV_TOT =  NOV_TOT + <MNT>.
              endif.
              if sy-index = 12.
                DEC_TOT =  DEC_TOT + <MNT>.
              endif.
            ELSE.
              EXIT.
            ENDIF.
          ENDDO.
        ELSEIF YEAR > COSP-GJAHR.
          EXTRACTDATA-X_ITDC = EXTRACTDATA-X_ITDC +
                        COSP-WKG001 + COSP-WKG002 +
                        COSP-WKG003 + COSP-WKG004 +
                        COSP-WKG005 + COSP-WKG006 +
                        COSP-WKG007 + COSP-WKG008 +
                        COSP-WKG009 + COSP-WKG010 +
                        COSP-WKG011 + COSP-WKG012 +
                        COSP-WKG013 + COSP-WKG014 +
                        COSP-WKG015 + COSP-WKG016.
        ELSE.
          EXIT.
        ENDIF.
      ENDSELECT.
    Costs - Shared DPC's
      SELECT * FROM COSS CLIENT SPECIFIED
                   WHERE  MANDT  = SY-MANDT
                      AND OBJNR  = PRPS-OBJNR
                      AND WRTTP  = '04' AND
                      BEKNZ = 'S'.
        IF YEAR = COSS-GJAHR.
          DO.
            IF SY-INDEX LE MONTH.
              MOVE SY-INDEX TO HLD_INDX.
              MNT_INDX =  'COSS-WKGXXX'.
              REPLACE 'XXX' WITH HLD_INDX INTO MNT_INDX.
              ASSIGN  (MNT_INDX) TO <MNT>.
              EXTRACTDATA-X_ITDC  = EXTRACTDATA-X_ITDC  + <MNT>.
              if sy-index = 01.
                JAN_TOT =  JAN_TOT + <MNT>.
              endif.
              if sy-index = 02.
                FEB_TOT =  FEB_TOT + <MNT>.
              endif.
              if sy-index = 03.
                MAR_TOT =  MAR_TOT + <MNT>.
              endif.
              if sy-index = 04.
                APR_TOT =  APR_TOT + <MNT>.
              endif.
              if sy-index = 05.
                MAY_TOT =  MAY_TOT + <MNT>.
              endif.
              if sy-index = 06.
                JUN_TOT =  JUN_TOT + <MNT>.
              endif.
              if sy-index = 07.
                JUL_TOT =  JUL_TOT + <MNT>.
              endif.
              if sy-index = 08.
                AUG_TOT =  AUG_TOT + <MNT>.
              endif.
              if sy-index = 09.
                SEP_TOT =  SEP_TOT + <MNT>.
              endif.
              if sy-index = 10.
                OCT_TOT =  OCT_TOT + <MNT>.
              endif.
              if sy-index = 11.
                NOV_TOT =  NOV_TOT + <MNT>.
              endif.
              if sy-index = 12.
                DEC_TOT =  DEC_TOT + <MNT>.
              endif.
            ELSE.
              EXIT.
            ENDIF.
          ENDDO.
        ELSEIF YEAR > COSS-GJAHR.
          EXTRACTDATA-X_ITDC = EXTRACTDATA-X_ITDC +
                        COSS-WKG001 + COSS-WKG002 +
                        COSS-WKG003 + COSS-WKG004 +
                        COSS-WKG005 + COSS-WKG006 +
                        COSS-WKG007 + COSS-WKG008 +
                        COSS-WKG009 + COSS-WKG010 +
                        COSS-WKG011 + COSS-WKG012 +
                        COSS-WKG013 + COSS-WKG014 +
                        COSS-WKG015 + COSS-WKG016.
        ELSE.
          EXIT.
        ENDIF.
      ENDSELECT.
    ENDFORM.

    >
    S. Rajesh Paul wrote:
    > Hi Experts,
    >
    > I have a requirement to display the sales order in the line item of t-code FBO3, could anybody suggest an userexit or BADI for the same.
    >
    > Thanks in advance.
    >
    > RP.
    I assume, you want to display sales order number in accounting document..... .
    This is not something you can do it through the BADI..
    You will have to change the G/L account field group (if it is already not there). you can then assign sales order number when posting to FI.  In the field group, better choose sales order number and item number as optional fields.
    If you can see the sales order field (may be empty) - you have to enter the sales order number when you post it.
    Good luck

  • How to Display PO Release Strategy in Enjoy Screen

    Dear all,
    I have a PO with a release strategy, which contain several release codes to release the PO (i.e. M1 & V1).
    However, I am only able to display the release code (i.e. M1 & V1) in t-code ME23. I could not do the same in the enjoy screen t-code ME23N for the same PO number.
    In the item level, there should be a tab with release strategy to display the PO release strategy (similar to PR), but it is not appearing.
    Could anyone tell me what is the problem here? I just could not find the tab or menu to view the release strategy of a PO in the enjoy screen. Similar goes to other PO. I could not view it as well. But in the old screen, I could view it.
    Thanks a lot.

    Thanks 4 the reply Rahul.
    I understand that it is only possible to release at header level. What my problem is that I am unable to view the release strategy (which code to release and who to release) for the PO in enjoy screen.
    In my earlier thread replying to Ankur, I am simply describing that I could just select a line item, click on the release strategy button and the release strategy is displayed. A different line item with different value generated a different release strategy of course. Different amount require different set of release strategies, usually more level of approvals.
    So, actually this question is not about where or how I can release a PO, but actually I could not view who is releasing for a PO in ME23N.
    I even simulate it in the development server and still the same thing happen. Is it the same for everyone else? If yes, how to view who is releasing the PO in ME23N? Version of system is 4.7.
    Thanks and appreciate if anyone could help.

  • How to display only the description of a combobox.

    Hi All,
    I have a combobox on a grid.
    The value of it, is the adresses of BP.
    Example :
                                        string sQuery = "SELECT CRD1.Address FROM CRD1 WHERE CRD1.AdresType='S' AND CRD1.CardCode='" + oGrid.DataTable.Columns.Item("U_IFC_PP").Cells.Item(pVal.Row).Value.ToString() + "'";
                                        SAPbobsCOM.Recordset oRec;
                                        oRec = (SAPbobsCOM.Recordset)SBO_Company.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset);
                                        oRec.DoQuery(sQuery);
                                        SAPbouiCOM.ComboBoxColumn oCBB;
                                        oCBB = (SAPbouiCOM.ComboBoxColumn)oGrid.Columns.Item("U_IFC_ADR");
                                        while (!oRec.EoF)
                                            oCBB.ValidValues.Add(oRec.Fields.Item("Address").Value.ToString(), "");//, oRec.Fields.Item("Address").Value.ToString());
                                            oRec.MoveNext();
    When i click on the combobox, it's display the value and the description like this :
    value1 - Adr1
    value2 - Adr2
    i want to display only the description like the field "Ship To" in the folder "Logistics" in the Sales Order form.
    It is possible ?
    And what is the size limit of the parameter oCombobox.ValidValues.Add(ByVal Value As String, _
       ByVal Description As String _)
    Thanks for your response.
    Best Regards.
    Michael

    Hi Michael,
    actually you can't show only the description when you click into it.
    the lenght of the description is usually around 50.
    (but it depends also how long you made the value.)
    the best is to do it so:
    keep the value short with numbers
    and cut the description at 42 (to be on the safe side)
    lg David

  • How to display only selected columns in the table on the tableview

    Hi All,
    I am displaying in the below tableview the data from the SFLIGHTS tables in the tableview using flow logic. It displays all the columns in the database table. How can I set in the code to display only selected columns and not all columns.
    Also, in these columns displayed I want to make the key columns of SFLIGHT as non editable and the rest of the columns in SFLIGHT editiable. Can you please kindly share the code to implement this.
    <%@page language="abap" %>
    <%@extension name="htmlb" prefix="htmlb" %>
    <htmlb:content design="design2003" >
      <htmlb:page>
        <htmlb:form>
          <htmlb:tableView id              = "tv1"
                           visibleRowCount = "10"
                           selectionMode   = "lineEdit"
                           table           = "<%= flights %>"
                           filter = "SERVER"
                           sort = "server"
                           iterator        = "<%= iterator %>" />
        </htmlb:form>
      </htmlb:page>
    </htmlb:content>
    Thanks
    Karen

    Hi,
       Please try this code.
    <!-- To display Table control on BSP page with table internal table it_hist  --!>
              <htmlb:tableView id              = "TV_HIST"
                               headerText      = "Previous History"
                               headerVisible   = "TRUE"
                               footerVisible   = "TRUE"
                               design          = "ALTERNATING"
                               selectionMode   = "LINEEDIT"
                               visibleRowCount = "5"
                               fillUpEmptyRows = "TRUE"
                               table           = "<%= it_hist %>"
                               width           = "500" >
    <!--  to show selected columns give required field name --!>
    <htmlb:tableViewColumns>
      <htmlb:tableViewColumn columnName          = "FIELD1"
                                         title               = "COLUMN1"
                                         horizontalAlignment = "CENTER"
                                         width               = "65" >
                  </htmlb:tableViewColumn>
      <htmlb:tableViewColumn columnName          = "FIELD2"
                                         title               = "COLUMN2"
                                         horizontalAlignment = "CENTER"
                                         width               = "65" >
                  </htmlb:tableViewColumn>
      <htmlb:tableViewColumn columnName          = "FIELD3"
                                         title               = "COLUMN3"
                                         horizontalAlignment = "CENTER"
                                         width               = "65" >
                  </htmlb:tableViewColumn>
      <htmlb:tableViewColumn columnName          = "FIELD4"
                                         title               = "COLUMN4"
                                         horizontalAlignment = "CENTER"
                                         width               = "65" >
                  </htmlb:tableViewColumn>
    <!--  to make column editable set edit property to TRUE --!>
      <htmlb:tableViewColumn columnName          = "FIELD4"
                                         title               = "COLUMN4"
                                         edit = "TRUE"
                                         horizontalAlignment = "CENTER"
                                         width               = "65" >
                  </htmlb:tableViewColumn>
                </htmlb:tableViewColumns>
              </htmlb:tableView>

  • How make display only the amount field in table control(infotype 0008)

    Dear Freinds,
    have to make display only the amount field (Q0008-bet01) on table control in infotype 0008 , could you tell me how to make it display only.
    i have tried the below coding it is not working in PBO & PAI of the user exit
    ZXPADU01 and ZXPADU02. For the table control is there any othe method??
           loop at screen.
               screen-name  = 'WA_P0008-BET01'.
              screen-input = 0.
              screen-output = 1.
              modify screen.
          endloop.
    i have tried like this as well
           loop at screen.
               screen-name  = 'Q0008-BET01'.
              screen-input = 0.
              screen-output = 1.
              modify screen.
          endloop.
    in the both the above methods it is not working. Could any one plese suggest me how to make display only the amount field in infotype 0008.
    regards
    syamla

    Dear Freinds,
    have to make display only the amount field (Q0008-bet01) on table control in infotype 0008 , could you tell me how to make it display only.
    i have tried the below coding it is not working in PBO & PAI of the user exit
    ZXPADU01 and ZXPADU02. For the table control is there any othe method??
           loop at screen.
               screen-name  = 'WA_P0008-BET01'.
              screen-input = 0.
              screen-output = 1.
              modify screen.
          endloop.
    i have tried like this as well
           loop at screen.
               screen-name  = 'Q0008-BET01'.
              screen-input = 0.
              screen-output = 1.
              modify screen.
          endloop.
    in the both the above methods it is not working. Could any one plese suggest me how to make display only the amount field in infotype 0008.
    regards
    syamla

  • How to display only Day value instead of DATE in Bex Report

    Hi Experts,
    We have a Month to date Report, in this report we need to display only day value instead of DATE value,
    Like
    if Date is 14.05.2010 we need to show only  14
    Regards,
    Chandra

    Hi ,
    Thanks for Quick Response
    we does have the option to create the char(calday or ...) value variable replacement with char (calday or ...) info object, we can  replace with Report r variable value only not with info object.
    i hope we can replace the with info object only with formula variable with replacement.
    My BEx Report is Designed like
    Columns
    0Calday
    Rows
    Plant
    Keyfigures
    Actual
    Plan
    Report output Looks like month to date
    0CALDAY            01.06.2010   02.06.2010  03.06.2010
    P1  ACTUAL            10                     8                    4
    P1  PLAN                 15                     6                    2
    P2  ACTUAL              5                   10                     7
    P2  PLAN                  4                      8                    3
    Report should be
    0CALDAY            1    2     3
    P1  ACTUAL      10     8      4
    P1  PLAN           15     6     2
    P2  ACTUAL        5    10    7
    P2  PLAN            4      8     3
    please let me know how can i achive this
    Regards
    Chandra

  • Day View Event List: How to Display Only One Day

    I love Day View in the calendar, but I find it confusing to have the whole week's list of events on the left list column.
    How do I change it so that I display only that day's events?
    Any help would be greatly appreciated! Thank you!

    Hi,
    That is not configurable in the current version.
    This is a user to user forum. By posting here you are not guaranteed someone from Apple will read it. If you'd like Apple to know about this I suggest you send them feedback.
    Best wishes
    John M

  • ALV:   how to display only subtotals lines in theoutput

    hi
    in the alv list output
    if we display subtotals based on 3 feilds out of 10
    we see subtotals (sum) based on the end of each field
    now i want to display only the lines which are displayed as subtotals in the output
    we have parameter
    totals_only(1) type c,        " show only totals
    in the structrure slis_layout_alv
    i have used it but i can see no change in the output

    hai
    data : GT_SORT             TYPE SLIS_T_SORTINFO_ALV,
    ABAP List Viewer
    CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
    EXPORTING
    I_INTERFACE_CHECK = ' '
    I_BYPASSING_BUFFER =
    I_BUFFER_ACTIVE = ' '
    I_CALLBACK_PROGRAM = G_REPID
    I_CALLBACK_PF_STATUS_SET = ' '
    I_CALLBACK_USER_COMMAND = ' '
    I_STRUCTURE_NAME = 'ITAB1'
    IS_LAYOUT =  GS_LAYOUT
    IT_FIELDCAT = GT_FIELDCAT[]
    IT_EXCLUDING =
    IT_SPECIAL_GROUPS =
      IT_SORT = GT_SORT[]
    IT_FILTER =
    IS_SEL_HIDE =
    I_DEFAULT = 'X'
    I_SAVE = ' '
    IS_VARIANT =
      IT_EVENTS = GT_EVENTS[]
    IT_EVENT_EXIT =
      IS_PRINT = GS_PRINT
    IS_REPREP_ID =
    I_SCREEN_START_COLUMN = 0
    I_SCREEN_START_LINE = 0
    I_SCREEN_END_COLUMN = 0
    I_SCREEN_END_LINE = 0
    IMPORTING
    E_EXIT_CAUSED_BY_CALLER =
    ES_EXIT_CAUSED_BY_USER =
    TABLES
    T_OUTTAB = ITAB1
    EXCEPTIONS
    PROGRAM_ERROR = 1
    OTHERS = 2.
    ENDFORM.
    DATA SORTING AND SUBTOTAL
    DATA: GS_SORT TYPE SLIS_SORTINFO_ALV.
    CLEAR GS_SORT.
    GS_SORT-FIELDNAME = 'FIELD1'.
    GS_SORT-SPOS      = 1.
    GS_SORT-UP        = 'X'.
    GS_SORT-SUBTOT    = 'X'.
    APPEND GS_SORT TO GT_SORT.
    CLEAR GS_SORT.
    GS_SORT-FIELDNAME = 'FIELD2'.
    GS_SORT-SPOS      = 2.
    GS_SORT-UP        = 'X'.
    *GS_SORT-SUBTOT    = 'X'.
    APPEND GS_SORT TO GT_SORT.
    ENDFORM.
    regard
    nawa

  • How to display the sales order in the line item in FB03

    Hi Experts,
    I have a requirement to display the sales order in the line item of t-code FBO3, could anybody suggest an userexit or BADI for the same.
    Thanks in advance.
    RP.

    >
    S. Rajesh Paul wrote:
    > Hi Experts,
    >
    > I have a requirement to display the sales order in the line item of t-code FBO3, could anybody suggest an userexit or BADI for the same.
    >
    > Thanks in advance.
    >
    > RP.
    I assume, you want to display sales order number in accounting document..... .
    This is not something you can do it through the BADI..
    You will have to change the G/L account field group (if it is already not there). you can then assign sales order number when posting to FI.  In the field group, better choose sales order number and item number as optional fields.
    If you can see the sales order field (may be empty) - you have to enter the sales order number when you post it.
    Good luck

  • How to display only one record.

    Hi Gurus,
    Here my requirement is i have 2 pages.
    first page having project_number lov,create and tableRN.
    once u select the projectnumber and click on the create button it is navigate to secound page,here enter the data and click on the submit button it ll insert into database table and navigate to fitst page and display the data in tableRN what ever u insert the data(this part is over).
    but the problem is, in tableRN displays all the records(previous records also displayed)
    my requirement is display only one record(click on the submit button at the time of record only).
    Plz help me
    its very urgent.
    Thanks
    Seshu.
    Edited by: its urgent on Jan 3, 2012 10:52 PM

    Seshu,
    Do u want to display the inserted row...
    Regards,
    Gyan
    www.gyanoracleapps.blogspot.com
    www.querenttech.com

  • How to display only last 4 digits of tax number in Vendor Master view MK03

    Dear experts,
    In the Vendor Master view by Purchasing Organization (MK03), is there a way that will allow the user to view only the last four digits of the Vendor tax number?
    For example: Display only **-*-6789 (or blank spaces), instead of 123-45-6789 ?
    Any ideas and insights are much appreciated. Will award points for help.
    -TW

    In your report, just do a substr(ssn,5,4) for your new & improved SSN field to be displayed:
    SELECT First,
    Last,
    SUBSTR(ssn,5,4),
    Phone
    FROM Employees
    Thank you,
    Tony Miller
    Webster, TX

  • How to display only Negative values in the report.....

    Hi,
    I want to display only negative values for one particular column.
    Any suggestions ?
    Thanks,
    Jeetu

    Hi,
    define a condition for all characteristics and for specially the keyfigure. Set it to < 0. That should do the trick.
    regards
    Siggi

Maybe you are looking for

  • Program will close automatically when i write a e-mail for few second. And error message will pop out

    Once i reply/write a e-mail, the thunderbird program will pop up a error message as below and we can restart or close thunderbird program. Please help how to fix this problem. AdapterDeviceID: 0x0046 AdapterVendorID: 0x8086 Add-ons: en-GB%40dictionar

  • BLOB content download link on apex report

    Hi Guys, I have a simple form where user can attach file and save the records. I iterate through wwv_flow_files and get the file and save it to a custom table which has BLOB column. On another report page i display uploaded file details. What i need

  • Enabled itunes match now itunes wont import music

    Recently enabled iTunes on my computer, now iTunes 10 won't import any music, which is annoying as a lot of my music still needs to be imported, and I don't mean to the cloud i mean to the actual sofware. Has anyone had the same problem, any way to f

  • AD Radius 802.1x Login Window Connection Problems

    Mac Mini/10.10.1 I'm using two profile manager profiles for testing: 1. AD Certificate     Installs certificate for AD Certificate Authority.      Requests Machine Certificate from CA 2. Network Settings      Network Payload:           Interface WIFI

  • Duplicate songs under 'Artists' category

    I do not know how this happened with my iPod, but after one of the last times I synced my iPod, some songs under the artist tab were duplicated. I have tried to fix the issue in many different ways. I went to the songs and manually changed the inform