SAP PS Module Report, Help needed for the Right Logic.

Hi,
         I have to develop a  PS module Report . This spec of this  report is when you enter , project # , month , date , proj type it should  display all the projects  and only the billing levels  with  different  fiels  like ITD cost, ITD sales, ytd cost,  sales,  awards  etc etc.
Right now  Iam getting the O/P : in the  following manner, There are many fields  I am just showing the desired ones which have to be changed.
Proj,           Title,         award,    ITDsales,         ITD cost ,    ytd sales,   ytd costs,
14148,       New prj       123        --                   ---                    -
14148-B01,  bill1          -
            234           -
                   456                -
14148-B02,  bill2          -
            789          -
                   123                -
14148.001    wbs1        -
         123                     -
                 456
14148.001    wbs2        -
          567                    -
                 890
But   for me  the desired output must be only for  project  and the billing levels. It shouldn’t be for WBS elements  xxxx.001  and xxxx.002.
Desired  output:
Proj,           Title,         award,    ITDsales,   ITD cost ,       ytd sales,      ytd costs,
14148,       New prj       123        --               690                 -
               1346
14148-B01,  bill1          -
         234                -
                   456             -
14148-B02,  bill2          -
         789                -
                  123              -
The ITD costs  and YTD costs must be added   123 + 567 = 690 and
                                                                             456+890 = 1346.
And these values must come   on the project level.
P.S:  I can restrict the values  for wbs elements  , means I can filter them at PRPS table  by giving prps-stufe LE ‘2’.  Then I wont get the wbs level, But I want the values of these to be added up and then show it on the project level.
Please  go through  this code and let me  know where exactly I need to put the right logic  to work in the desired manner.
Thanks   in advance
Dan
Code Below************************
[code]TABLES: PROJ,                "Project Definition
        PRPS,                "WBS Elements
        prhi,
        CEPC,                " Profit Center w/ Group Head info
        BPGE,                "Plans (12, 13, etc.)
        COSP,                "Primary   Cost Element (Bill Sales, DPC)
        COSS,                "Secondary Cost Element (Shrd Sls,Sal,etc)
        COSB,                "Results Analysis Cost Elements (Unbil Sls)
        COOI,                "Commitments management: Line items
        JEST,                "Project Status
        TCJ04,               "Person Responsible for Project
        zpclasses,           "Project classes.
New Added
        CRCO,            " Assignment of Work Center to Cost Center
        CRHD.            " Work Center Header
Record Layout of extracted data
TYPES: BEGIN OF EXDEF,       "Data definition of extract data
       X_BU(2)     TYPE C,   "Business Unit
       X_CNTR(10)  TYPE C,   " Profit Center
       X_PROJ(24)  TYPE C,   "Project def (Prj)
       X_CREP(30)  TYPE C,   "Contract Rep.
       X_BDREP(25) TYPE C,   "BD Rep. name
       X_GRPH(15)  TYPE C,   "Tech Rep employee name
       X_ACTREP(15)  TYPE C,  "Acct Rep employee name
       X_PMGR(15)  TYPE C,   "PM employee name
       X_TTLE(35)  TYPE C,   "Title
       X_CLNT(20)  TYPE C,   "Client
       X_POCN(20)  TYPE C,   "Prime Contract Number
       X_TYPE(13)  TYPE C,   "Order Type Sarnoff
       X_OPEN(10)  TYPE C,   "Open Date
       X_CLOSE(10) TYPE C,   "Close Date
       X_CGT(4)    TYPE C,   "CO, GV, TC
       X_DISTR(2)  TYPE C,   "Distribution Channel
       X_CONTR(6)  TYPE C,   "Percentage contribution
       X_AWRD(14)  TYPE C,   "Award        (Plan 11)
       X_P12R(14)  TYPE C,   "Auth Revenue (Plan 12 @ Rev)
       X_P12C(14)  TYPE C,   "Auth Cost    (Plan 12 @ Cost)
       X_P13R(14)  TYPE C,   "Auth Revenue (Plan 13 @ Rev)
       X_P13C(14)  TYPE C,   "Auth Cost    (Plan 13 @ Cost)
       X_ITDS(14)  TYPE C,   "ITD Sales
       X_ITDC(14)  TYPE C,   "ITD Costs
       X_YTDS(14)  TYPE C,   "YTD Sales
       X_YTDC(14)  TYPE C,   "YTD Costs
       X_MTHS(14)  TYPE C,   "Current Month Sales
       X_MTHC(14)  TYPE C,   "Current Month Costs
       X_ITDB(14)  TYPE C,   "ITD Billed Sales
       X_YTDB(14)  TYPE C,   "YTD Billed Sales
       X_MTHB(14)  TYPE C,   "Current Month Billed Sales
       X_COMM(14)  TYPE C,   "Commitments
       X_STAT(6)   TYPE C,   "Active or Inactive (REL, TECO, or CLSD)
       X_ZPROJCLASS(12),
       X_MTHIC(14) TYPE C,   "Current Month Incremental Costs
       X_YTDIC(14) TYPE C,   "YTD Incremental Costs
       X_ITDIC(14) TYPE C,   "ITD Incremental Costs
       X_ZSCURVE(10) TYPE C, "S-CURVE  Status
New Added
       X_CM_COST(20) TYPE C,
       X_AM_COST(20) TYPE C,
       X_TL_COST(20) TYPE C,
       X_KP_COST(20) TYPE C,
       X_PM_COST(20) TYPE C,
END OF EXDEF.
Data declarations
FIELD-SYMBOLS <MNT> .
DATA: ETAB  TYPE  EXDEF   OCCURS 100  WITH  HEADER LINE.
DATA:  X1_PM_COST(20) TYPE C,
       X1_TL_COST(20) TYPE C,
       X1_AM_COST(20) TYPE C,
       X1_CM_COST(20) TYPE C,
       X1_KP_COST(20) TYPE C.
DATA: KOKRS_FIXED      LIKE PROJ-VKOKR VALUE 'DSRC',  "Controlling Area
      TOTAL_AWARD      LIKE BPGE-WTGES,
      TOTAL_AUTHR12    LIKE BPGE-WTGES,
      TOTAL_AUTHC12    LIKE BPGE-WTGES,
      TOTAL_AUTHR13    LIKE BPGE-WTGES,
      TOTAL_AUTHC13    LIKE BPGE-WTGES,
      TOTAL_ITDSALES   LIKE BPGE-WTGES,
      TOTAL_ITDCOSTS   LIKE BPGE-WTGES,
      TOTAL_ITDICOSTS  LIKE BPGE-WTGES,
      TOTAL_YTDSALES   LIKE BPGE-WTGES,
      TOTAL_YTDCOSTS   LIKE BPGE-WTGES,
      TOTAL_YTDICOSTS  LIKE BPGE-WTGES,
      TOTAL_MTHSALES   LIKE BPGE-WTGES,
      TOTAL_MTHCOSTS   LIKE BPGE-WTGES,
      TOTAL_MTHICOSTS  LIKE BPGE-WTGES,
      TOTAL_ITDBILLED  LIKE BPGE-WTGES,
      TOTAL_YTDBILLED  LIKE BPGE-WTGES,
      TOTAL_MTHBILLED  LIKE BPGE-WTGES,
      TOTAL_COMMITMENT LIKE COOI-WTGBTR,
      HOLD_PRART       LIKE PRPS-PRART,
      COUNT_PROJECTS   TYPE I,
      MNT_INDX(20)     TYPE C,
      HLD_INDX(3)      TYPE N,
      YYYY_MM(10)      TYPE C,
      TEMP-DATE(8)     TYPE C.
Selection Screen
SELECTION-SCREEN SKIP 3.
SELECTION-SCREEN BEGIN OF BLOCK XEXTRPM WITH FRAME TITLE TEXT-001.
SELECTION-SCREEN SKIP 2.
PARAMETERS MONTH(2)  TYPE  N   OBLIGATORY.
PARAMETERS YEAR(4)   TYPE  N   OBLIGATORY.
SELECT-OPTIONS: EXTRPRJ  FOR PROJ-PSPID.     " Range of Projects
SELECT-OPTIONS: EXTRTYP  FOR PRPS-PRART.  "Project Types (CO,GV,etc.*)
SELECT-OPTIONS: EXTRPCTR FOR PROJ-PRCTR.     " Range of Profit centers
SELECTION-SCREEN SKIP 2.
PARAMETERS: OPT1 RADIOBUTTON GROUP OPTN,
            OPT2 RADIOBUTTON GROUP OPTN DEFAULT 'X'.
select-options : s_pc for proj-zprojclass.   "project class
SELECTION-SCREEN END OF BLOCK XEXTRPM.
Select Tables
START-OF-SELECTION.
write: / 'Sales data (Unshared) extracted on: ', sy-datum.
uline.
  CLEAR:  COUNT_PROJECTS,
          TOTAL_AWARD,
          TOTAL_AUTHR12,
          TOTAL_AUTHC12,
          TOTAL_AUTHR13,
          TOTAL_AUTHC13,
          TOTAL_ITDSALES,
          TOTAL_ITDCOSTS,
          TOTAL_YTDSALES,
          TOTAL_YTDCOSTS,
          TOTAL_MTHSALES,
          TOTAL_MTHCOSTS,
          TOTAL_ITDBILLED,
          TOTAL_YTDBILLED,
          TOTAL_MTHBILLED,
          TOTAL_COMMITMENT,
          ETAB.
PROJ Table                                          Project Definition
  SELECT  * FROM PROJ                   "Project Definition
       WHERE PSPID IN EXTRPRJ AND      " Range of Project Numbers
          PRCTR IN EXTRPCTR and        " Range of Profit center
            zprojclass in s_pc.     "project class
SELECT * FROM PRPS WHERE           "WBS Elements
              PRART IN EXTRTYP         " Range of Proj.Types (CO,GV,TC..
             and PSPHI = PROJ-PSPNR.
    HOLD_PRART   = '  '.               "clears project type
    CLEAR ETAB.
    ETAB-X_PROJ  = PRPS-POSID.
    ETAB-X_BU    = PRPS-PRCTR(2).      "Business Unit
    ETAB-X_PMGR = PROJ-VERNA.          "Project Manager
    IF PRPS-PRCTR(2) = '01'.
     ETAB-X_CNTR  = PRPS-PRCTR.         " Profit Center
     CONCATENATE SPACE PRPS-PRCTR INTO ETAB-X_CNTR SEPARATED BY SPACE.
    ELSE.
      ETAB-X_CNTR  = PRPS-PRCTR.         " Profit Center
    ENDIF.
     ETAB-X_TTLE  = PRPS-POST1.         "Title
    CLEAR  TEMP-DATE.
    TEMP-DATE    = PROJ-PLFAZ.         "Project planned start date
    CONCATENATE  TEMP-DATE4(2)  '/' TEMP-DATE6(2) '/'
                 TEMP-DATE+0(4)  INTO  ETAB-X_OPEN.
    TEMP-DATE    = PROJ-PLSEZ.         "Project planned finish date
    CONCATENATE  TEMP-DATE4(2)  '/' TEMP-DATE6(2) '/'
                 TEMP-DATE+0(4)  INTO  ETAB-X_CLOSE.
Tech Lead
will comment below
    SELECT SINGLE VERNA FROM TCJ04     "Tech Lead name from TCJ04
           INTO  (ETAB-X_GRPH) WHERE  VERNR = PROJ-ZGRPHD.
End Of Tech Lead
Account Manager
    SELECT SINGLE VERNA FROM TCJ04  "Acct Manager from TCJ04
           INTO  (ETAB-X_BDREP) WHERE  VERNR = PROJ-ZBUSDEV.
******End Of Account Manager
Key Personnel
    SELECT SINGLE VERNA FROM TCJ04     "Account Rep name from TCJ04
           INTO  (ETAB-X_ACTREP) WHERE  VERNR = PROJ-ZRESPDIR.
********End of Key Personnel
**Contract Manager
    SELECT SINGLE VERNA FROM TCJ04     "Contract Rep name from TCJ04
           INTO  (ETAB-X_CREP) WHERE  VERNR = PROJ-ZCNTREP.
End of Contract Manager
PRPS Table                            WBS's attached to the Project
   SELECT * FROM PRPS WHERE           "WBS Elements
             PRART IN EXTRTYP         "Range of Proj.Types (CO,GV,TC..
             AND PSPHI = PROJ-PSPNR.
            order by posid stufe.    "Sort by WBS & Level (needed?)
get info from level 1 of the WBS
     IF PRPS-STUFE EQ 1.              "top-level WBS element
        HOLD_PRART  = PRPS-PRART.      "save project type for later
        ETAB-X_STAT = '????'.          "set ? as the default status
get Status for level 1
        SELECT * FROM JEST             "use JEST to determine Status
           WHERE OBJNR =  PRPS-OBJNR
             AND INACT EQ SPACE.       "space denotes an active status
           CASE JEST-STAT.             "find the system status (Ixxx)
                WHEN 'I0001'.
                     ETAB-X_STAT = 'CRTD'.    "Created
                WHEN 'I0002'.
                     ETAB-X_STAT = 'REL'.     "Released
                WHEN 'I0045'.
                     ETAB-X_STAT = 'TECO'.    "Technically Complete
                WHEN 'I0046'.
                     ETAB-X_STAT = 'CLSD'.    "Closed
           ENDCASE.
        ENDSELECT.
Select only active projects (ie; those not with TECO or CLSD)
        IF  OPT2 EQ 'X'
           AND  ( ETAB-X_STAT EQ  'TECO'
              OR  ETAB-X_STAT EQ  'CLSD' ).
               EXIT.
        ENDIF.
*comment Contract Rep and Proj man because we get them from PROJ now
       etab-x_crep   = prps-zzcont.     "Contract Rep.
       etab-x_pmgr   = prps-verna.      "Program Manager Name
        ETAB-X_CLNT   = PRPS-ZZMANDT.    "Client Name
        ETAB-X_CGT    = PRPS-PRART.      "CO, GV, TC, etc
        ETAB-X_DISTR  = PRPS-ZZVTWEG.    "Distrib Channel (ie; GP, etc.)
        ETAB-X_CONTR  = PRPS-USR04.      "Contribution %
        ETAB-X_POCN   = PRPS-ZZPOCN.     "Contract Number
        ETAB-X_TYPE   = PRPS-ZZORDT.     "Order Type Sarnoff
Award and Authorization (Revenue & Cost)
        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 = '011'         "011 = Award
                OR VERSN = '012'         "012 = Billing Authorization
                OR VERSN = '013' ).      "013 = RA Authorization
                                         "010 = Funding Authorization
Award                                                        Plan 11
          IF BPGE-VERSN = '011'.         "Plan 11 = Award
            CASE BPGE-VORGA.
              WHEN 'KSTP'.               "KSTP = Cost level
                ETAB-X_AWRD = ETAB-X_AWRD + BPGE-WTGES.
            ENDCASE.
          ENDIF.
    IF prps-stufe eq '2'.
Authorization (Revenue & Cost plan 12)                       Plan 12
          IF BPGE-VERSN = '012'.         "Plan 12 = RA Authorization
            CASE BPGE-VORGA.
              WHEN 'KSTR'.               "KSTR = Revenue level
                ETAB-X_P12R = ETAB-X_P12R - BPGE-WTGES.
              WHEN 'KSTP'.               "KSTP = Cost level
                ETAB-X_P12C = ETAB-X_P12C + BPGE-WTGES.
            ENDCASE.
          ENDIF.
Authorization (Revenue & Cost plan 13)                       Plan 13
          IF BPGE-VERSN = '013'.         "Plan 13 = RA Authorization
            CASE BPGE-VORGA.
              WHEN 'KSTR'.               "KSTR = Revenue level
                ETAB-X_P13R = ETAB-X_P13R - BPGE-WTGES.
              WHEN 'KSTP'.               "KSTP = Cost level
                ETAB-X_P13C = ETAB-X_P13C + BPGE-WTGES.
            ENDCASE.
          ENDIF.
    endif.
        ENDSELECT.                     "BPGE
  ENDIF.      "end of if prps-stufe eq 1. top-level WBS element
COSP Table (External Postings)                     Awards
COSP Table (External Postings)                     Billed Sales
COSP Table (External Postings)                     DPC's & Legacy Load
        SELECT * FROM COSP
           WHERE OBJNR = PRPS-OBJNR    AND
                 GJAHR LE YEAR
         AND (
             ( kstar = '0000400999'   and        "old CE for Award $
               ( KSTAR BETWEEN '0000400990' AND '0000400999' AND
                 VERSN = '011'              AND    "11 = Award
                 WRTTP = '01' )                    "01 = Planned
          OR ( ( KSTAR BETWEEN '0000400001' AND '0000400989' OR
                 KSTAR BETWEEN '0000999001' AND '0000999003' ) AND
                 WRTTP = '04' )                    "04 = Actuals
          OR ( ( KSTAR BETWEEN '0000998001' AND '0000998010' OR
                 KSTAR BETWEEN '0000600001' AND '0000601999' ) AND
                 WRTTP = '04' )                    "04 = Actuals
*------- Awards
       if cosp-kstar = '0000400999' and          "old 400999 = Awards
         IF COSP-KSTAR BETWEEN '0000400990' AND '0000400999' AND
            COSP-VERSN = '011'              AND    "11 = Award
            COSP-WRTTP = '01'.                     "01 = Planned
           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>.
                    ETAB-X_AWRD = ETAB-X_AWRD + <MNT>.
                 ELSE.
                    EXIT.
                 ENDIF.
             ENDDO.
           ELSEIF YEAR > COSP-GJAHR.
               ETAB-X_AWRD = ETAB-X_AWRD +
                             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.
         ENDIF.
*------- Billed Sales
         IF ( COSP-KSTAR BETWEEN '0000400001' AND '0000400989' OR
              COSP-KSTAR BETWEEN '0000999001' AND '0000999003' ) AND
              COSP-WRTTP = '04'.
                                 "0000999001 = ITD Sales
                                 "0000999003 = ITD Billed Revenue
            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>.
                  ETAB-X_ITDB = ETAB-X_ITDB - <MNT>.
                  ETAB-X_YTDB = ETAB-X_YTDB - <MNT>.
                  IF SY-INDEX = MONTH.
                     ETAB-X_MTHB = ETAB-X_MTHB - <MNT>.
                  ENDIF.
               ELSE.
                  EXIT.
               ENDIF.
              ENDDO.
            ELSEIF YEAR > COSP-GJAHR.
              ETAB-X_ITDB = ETAB-X_ITDB -
                         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.
         ENDIF.
*------- DPC's & Legacy Load
         IF ( COSP-KSTAR BETWEEN '0000998001' AND '0000998010' OR
              COSP-KSTAR BETWEEN '0000600001' AND '0000601999' ) AND
              COSP-WRTTP = '04'.
           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>.
                    ETAB-X_ITDC  = ETAB-X_ITDC  + <MNT>.
                    ETAB-X_YTDC  = ETAB-X_YTDC  + <MNT>.
                    IF SY-INDEX = MONTH.
                       ETAB-X_MTHC  = ETAB-X_MTHC  + <MNT>.
                    ENDIF.
                 ELSE.
                    EXIT.
                 ENDIF.
             ENDDO.
           ELSEIF YEAR > COSP-GJAHR.
               ETAB-X_ITDC = ETAB-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.
         ENDIF.
       ENDSELECT.
COOI Table (Commitments)              commitments for the WBS elements
       SELECT  * FROM COOI
         WHERE OBJNR =  PRPS-OBJNR.
           ETAB-X_COMM = ETAB-X_COMM + COOI-WTGBTR.
       ENDSELECT.
COSS Table (External Postings)                    G&A on Commitments
COSS Table (External Postings)                    Shared Billed Sales
COSS Table (External Postings)                    Shared DPC's
COSS Table (External Postings)                    Salary,ESE,OH, & G&A
       SELECT  *   FROM  COSS
         WHERE
          ( OBJNR =  PRPS-OBJNR AND
            WRTTP =  '22' )                         "G&A on Commitments
                OR
          ( OBJNR =  PRPS-OBJNR AND
            GJAHR LE YEAR       AND
            WRTTP = '04'        AND                 "04 = Actuals
               (                                   "Shared Billed Sales
                 (   KSTAR BETWEEN '0000400001' AND '0000400989' OR
                     KSTAR BETWEEN '0000999001' AND '0000999003' )
                 OR                                "Shared DPC's
                 (   KSTAR BETWEEN '0000600001' AND '0000601999' )
                 OR                                "Salary,ESE,OH, & G&A
                 ( ( KSTAR BETWEEN '0000001000' AND '0000001999'  OR
                     KSTAR BETWEEN '0000002100' AND '0000002199'  OR
                     KSTAR BETWEEN '0000002500' AND '0000002599'  OR
                     KSTAR BETWEEN '0000002800' AND '0000002899' ) )
              and  parob not like 'PR%' ) "commented out on 4/19/2000
*------- G&A on Commitments    (NOTE: data is always as of the RUN date)
         IF  COSS-WRTTP = '22'.
               ETAB-X_COMM = ETAB-X_COMM +
                             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.
         ENDIF.
*------- Shared Billed Sales
         IF ( COSS-KSTAR BETWEEN '0000400001' AND '0000400989' OR
              COSS-KSTAR BETWEEN '0000999001' AND '0000999003' ) AND
              COSS-WRTTP = '04'.
           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>.
                    ETAB-X_ITDB = ETAB-X_ITDB - <MNT>.
                    ETAB-X_YTDB = ETAB-X_YTDB - <MNT>.
                    IF SY-INDEX = MONTH.
                       ETAB-X_MTHB = ETAB-X_MTHB - <MNT>.
                    ENDIF.
                 ELSE.
                    EXIT.
                 ENDIF.
             ENDDO.
           ELSEIF YEAR > COSS-GJAHR.
             ETAB-X_ITDB = ETAB-X_ITDB -
                           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.
         ENDIF.
*------- Shared DPC's
         IF COSS-KSTAR BETWEEN '0000600001' AND '0000601999' AND
            COSS-WRTTP = '04'.
           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>.
                    ETAB-X_ITDC  = ETAB-X_ITDC  + <MNT>.
                    ETAB-X_YTDC  = ETAB-X_YTDC  + <MNT>.
                    IF SY-INDEX = MONTH.
                       ETAB-X_MTHC  = ETAB-X_MTHC  + <MNT>.
                   ENDIF.
                 ELSE.
                    EXIT.
                 ENDIF.
             ENDDO.
           ELSEIF YEAR > COSS-GJAHR.
               ETAB-X_ITDC = ETAB-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.
         ENDIF.
*------- Salary,ESE,OH,& G&A
         IF ( COSS-KSTAR BETWEEN '0000001000' AND '0000001999'  OR
              COSS-KSTAR BETWEEN '0000002100' AND '0000002199'  OR
              COSS-KSTAR BETWEEN '0000002500' AND '0000002599'  OR
              COSS-KSTAR BETWEEN '0000002800' AND '0000002899' ) AND
              COSS-WRTTP = '04'.
           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>.
                  ETAB-X_ITDC = ETAB-X_ITDC + <MNT>.
                  ETAB-X_YTDC = ETAB-X_YTDC + <MNT>.
                  IF SY-INDEX = MONTH.
                      ETAB-X_MTHC = ETAB-X_MTHC + <MNT>.
                  ENDIF.
               ELSE.
                  EXIT.
               ENDIF.
             ENDDO.
           ELSEIF YEAR > COSS-GJAHR.
             ETAB-X_ITDC = ETAB-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.
         ENDIF.
        ENDSELECT.
COSB Table (Results from running RA)                    Unbilled Sales
        SELECT * FROM COSB
           WHERE OBJNR = PRPS-OBJNR
             AND KSTAR BETWEEN '0000003004' AND '0000003005'
                               "0000003004 = Unbilled Revenue
                               "0000003005 = Unearned Revenue
             AND GJAHR LE YEAR
             AND WRTTP = '32'.                    "32 = Results Analysis
           IF YEAR = COSB-GJAHR.
             DO.
                 IF SY-INDEX LE MONTH.
                    MOVE SY-INDEX TO HLD_INDX.
                    MNT_INDX =  'COSB-WKGXXX'.
                    REPLACE 'XXX' WITH HLD_INDX INTO MNT_INDX.
                    ASSIGN  (MNT_INDX) TO <MNT>.
                    ETAB-X_ITDS = ETAB-X_ITDS - <MNT>.
                    ETAB-X_YTDS = ETAB-X_YTDS - <MNT>.
                    IF SY-INDEX = MONTH.
                       ETAB-X_MTHS = ETAB-X_MTHS - <MNT>.
                    ENDIF.
                 ELSE.
                    EXIT.
                 ENDIF.
             ENDDO.
           ELSEIF YEAR > COSB-GJAHR.
             ETAB-X_ITDS = ETAB-X_ITDS -
                           COSB-WKG001 - COSB-WKG002 -
                           COSB-WKG003 - COSB-WKG004 -
                           COSB-WKG005 - COSB-WKG006 -
                           COSB-WKG007 - COSB-WKG008 -
                           COSB-WKG009 - COSB-WKG010 -
                           COSB-WKG011 - COSB-WKG012 -
                           COSB-WKG013 - COSB-WKG014 -
                           COSB-WKG015 - COSB-WKG016.
           ELSE.
              EXIT.
           ENDIF.
        ENDSELECT.
  ENDSELECT.               "End of WBS records (from PRPS) for project
Get Total Sales by adding Billed Sales to Unbilled Sales.
   ETAB-X_ITDS  =  ETAB-X_ITDS  +  ETAB-X_ITDB.
   ETAB-X_YTDS  =  ETAB-X_YTDS  +  ETAB-X_YTDB.
   ETAB-X_MTHS  =  ETAB-X_MTHS  +  ETAB-X_MTHB.
   IF  HOLD_PRART IN EXTRTYP.   "Matches the user requested project type
     IF  OPT1 EQ 'X' OR         "All projects
       ( OPT2 EQ 'X' AND        "Only active projects
         ETAB-X_STAT NE  'TECO' AND
         ETAB-X_STAT NE  'CLSD' ).
           TOTAL_AWARD      = TOTAL_AWARD      + ETAB-X_AWRD.
           TOTAL_AUTHR12    =   TOTAL_AUTHR12    + ETAB-X_P12R .
          TOTAL_AUTHC12    = TOTAL_AUTHC12    + ETAB-X_P12C.
           TOTAL_AUTHR13    = TOTAL_AUTHR13    + ETAB-X_P13R.
           TOTAL_AUTHC13    = TOTAL_AUTHC13    + ETAB-X_P13C.
           TOTAL_ITDSALES   = TOTAL_ITDSALES   + ETAB-X_ITDS.
           TOTAL_ITDCOSTS   = TOTAL_ITDCOSTS   + ETAB-X_ITDC.
           TOTAL_YTDSALES   = TOTAL_YTDSALES   + ETAB-X_YTDS.
           TOTAL_YTDCOSTS   = TOTAL_YTDCOSTS   + ETAB-X_YTDC.
           TOTAL_MTHSALES   = TOTAL_MTHSALES   + ETAB-X_MTHS.
           TOTAL_MTHCOSTS   = TOTAL_MTHCOSTS   + ETAB-X_MTHC.
           TOTAL_ITDBILLED  = TOTAL_ITDBILLED  + ETAB-X_ITDB.
           TOTAL_YTDBILLED  = TOTAL_YTDBILLED  + ETAB-X_YTDB.
           TOTAL_MTHBILLED  = TOTAL_MTHBILLED  + ETAB-X_MTHB.
           TOTAL_COMMITMENT = TOTAL_COMMITMENT + ETAB-X_COMM.
           PERFORM SHIFT_SIGN.
           APPEND  ETAB.              "Write data to internal table
           CLEAR   ETAB.
           COUNT_PROJECTS = COUNT_PROJECTS + 1. "Count # of Projects
     ENDIF.
   ENDIF.
   ENDSELECT.
ENDSELECT.                          "End of Projects from PROJ table
  PERFORM GRAND_TOTALS.
  SORT  ETAB  BY  X_BU X_PROJ.
  ETAB-X_BU    = 'BU'.
  ETAB-X_CNTR  = 'PrftCntr'.
  ETAB-X_PROJ  = 'Proj'.
  ETAB-X_CREP  = 'Contract Mgr'.
  ETAB-X_BDREP = 'Account Mgr'.
  ETAB-X_GRPH  = 'Technical Lead'.
  ETAB-X_ACTREP = 'Key Person1'.
  ETAB-X_PMGR  = 'Program Mgr'.
  ETAB-X_TTLE  = 'Title'.
  ETAB-X_CLNT  = 'Client'.
  ETAB-X_POCN  = 'Contract #'.
  ETAB-X_TYPE  = 'Type'.
  ETAB-X_OPEN  = 'Open'.
  ETAB-X_CLOSE = 'Close'.
  ETAB-X_CGT   = 'CGT'.
  ETAB-X_DISTR = 'DC'.
  ETAB-X_CONTR = 'Contr%'.
  ETAB-X_AWRD  = 'Award'.
  ETAB-X_P12R  = 'Auth12 Sales'.
  ETAB-X_P12C  = 'Auth12 Cost'.
  ETAB-X_P13R  = 'Auth13 Sales'.
  ETAB-X_P13C  = 'Auth13 Cost'.
  ETAB-X_ITDS  = 'ITD Sales'.
  ETAB-X_ITDC  = 'ITD Costs'.
  ETAB-X_YTDS  = 'YTD Sales'.
  ETAB-X_YTDC  = 'YTD Costs'.
  ETAB-X_MTHS  = 'Mth Sales'.
  ETAB-X_MTHC  = 'Mth Costs'.
  ETAB-X_ITDB  = 'ITD Billed'.
  ETAB-X_YTDB  = 'YTD Billed'.
  ETAB-X_MTHB  = 'Mth Billed'.
  ETAB-X_COMM  = 'Commitments'.
  ETAB-X_STAT  = 'Status'.
  INSERT ETAB  INDEX 1.    "Write a report header line to internal table
  CLEAR  ETAB.
CALL FUNCTION 'Z_RH_START_EXCEL_DATA_OLE'
    EXPORTING
       data_name = 'C:\WINNT\Profiles\cbraswell\Desktop\TestTemp.xlt'
         DATA_NAME          = 'ZSales.XLS'
         DATA_PATH_FLAG     = 'W'
         DATA_TYPE          = 'DAT'
         DATA_BIN_FILE_SIZE = 'ZSales'
         CHART_TITLE        = 'ZSales'
         CHART_TYPE         = 2
         CATEGORY_TITLE     = 'ZSales'
         VALUE_TITLE        = 'ZSales'
         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           =    ETAB
     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.
Negative # sign in the front of number for downloading to Excel
FORM  SHIFT_SIGN.
  IF ETAB-X_AWRD CA '-'.    SHIFT ETAB-X_AWRD RIGHT CIRCULAR.     ENDIF.
  IF ETAB-X_P12R CA '-'.    SHIFT ETAB-X_P12R RIGHT CIRCULAR.     ENDIF.
  IF ETAB-X_P12C CA '-'.    SHIFT ETAB-X_P12C RIGHT CIRCULAR.     ENDIF.
  IF ETAB-X_P13R CA '-'.    SHIFT ETAB-X_P13R RIGHT CIRCULAR.     ENDIF.
  IF ETAB-X_P13C CA '-'.    SHIFT ETAB-X_P13C RIGHT CIRCULAR.     ENDIF.
  IF ETAB-X_ITDS CA '-'.    SHIFT ETAB-X_ITDS RIGHT CIRCULAR.     ENDIF.
  IF ETAB-X_ITDIC CA '-'.   SHIFT ETAB-X_ITDIC RIGHT CIRCULAR.    ENDIF.
  IF ETAB-X_ITDC CA '-'.    SHIFT ETAB-X_ITDC RIGHT CIRCULAR.     ENDIF.
  IF ETAB-X_YTDS CA '-'.    SHIFT ETAB-X_YTDS RIGHT CIRCULAR.     ENDIF.
  IF ETAB-X_YTDC CA '-'.    SHIFT ETAB-X_YTDC RIGHT CIRCULAR.     ENDIF.
  IF ETAB-X_YTDIC CA '-'.   SHIFT ETAB-X_YTDIC RIGHT CIRCULAR.    ENDIF.
  IF ETAB-X_MTHS CA '-'.    SHIFT ETAB-X_MTHS RIGHT CIRCULAR.     ENDIF.
  IF ETAB-X_MTHC CA '-'.    SHIFT ETAB-X_MTHC RIGHT CIRCULAR.     ENDIF.
  IF ETAB-X_MTHIC CA '-'.   SHIFT ETAB-X_MTHIC RIGHT CIRCULAR.    ENDIF.
  IF ETAB-X_ITDB CA '-'.    SHIFT ETAB-X_ITDB RIGHT CIRCULAR.     ENDIF.
  IF ETAB-X_YTDB CA '-'.    SHIFT ETAB-X_YTDB RIGHT CIRCULAR.     ENDIF.
  IF ETAB-X_MTHB CA '-'.    SHIFT ETAB-X_MTHB RIGHT CIRCULAR.     ENDIF.
  IF ETAB-X_COMM CA '-'.    SHIFT ETAB-X_COMM RIGHT CIRCULAR.     ENDIF.
ENDFORM.
FORM  GRAND_TOTALS.
SKIP 1.    .
WRITE: / '----
WRITE: / 'System ID                  = ', SY-SYSID,
       / 'Client                     = ', SY-MANDT,
       / 'User                       = ', SY-UNAME,
       / 'Date of data extract       = ', SY-DATUM ,
       / 'Number of Projects          =           ',   COUNT_PROJECTS,
       / 'total Award      (Plan 11)  = ', TOTAL_AWARD,
       / 'total Auth Sales

Hi all,
    Iam really waiting for someone to see and  get the logic right  for this code.Iam completely stuck up.  i need ur help
Thanks

Similar Messages

  • Help needed for THE decision

    Hi everyone ☺
    I’m finally planning to start recording what I play, and after some hours of wandering on the web I found some interesting possibilities. Now what I need is to decide which one is more suitable for my needs, and here comes the moment for apple discussions
    Basically, I will record my own music one track/instrument at a time (I’m still not able to play more than one…and I dont’ want to spend 2.000$ to buy a 24-ins device just to record drum tracks), I’d like to have a software with built-in effects for guitar/bass/voice, integrated soundtrack possibilities (to play with video recordings), mixing options for both stereo and surround mixing, and I don’t want any card to be placed into my mac. Well, and obviously the sound quality must be pro-like…as anyone probably wants.
    So, here’s what I came up with:
    a) getting logic pro studio 8 and apogee duet
    b) getting pro tools m-powered and mbox 2
    c) getting one of the two softwares and a Monster iStudioLink Instrument cable and plug instruments directly into the mac
    Now, the questions are:
    if I can plug an instrument directly into my mac and control all parameters via one of the two softwares, what do tools like duet and mbox2 serve for?
    In the case this tools are useful [ ☺ ], why ☺ … and which is the couple software/hardware that can best suit my needs?
    I assume that every software has a proprietary file extension in which audio tracks are saved, so that it should be impossible to record an audio track with one software and edit it with another that has different functions/plugins (ex. from logic to pro tools, from pro tools to cakewalk sonar which I have on a pc etc.). Am I right, or is there any “standard”, non compressed high quality file type in which track can be saved and exported to be edited with different softwares?
    I know that from this post it may easily seem that I’m a hopeless digital idiot, but I swear the situation is not really that bad so no need for the kind of explanations with drawings like the ones you find in the “for dummies” guides lol so every experts’ advice will be greatly appreciated
    Neptune

    Thank you Bee Jay and Pancenter for the lighting-fast and useful answers
    now I am aware that an interface IS NEEDED lol (that means they are not produced without a reasons, are they?). I know Pro Tools is the industry standard but I don't like anyone/anything to tie me to their choices/interests (so that's why I was asking about Pro Tools, knowing that there's some sort of "hardware threat"). What I look for is just quality and if I understood what you both mean, as far as this aspect is concerned, Logic and Pro Tools are substantially comparable...isn't it? On the interfaces side, I already checked the Saffire ones (they seem quite good, and cross-platform use is definitely a plus), I will check the others mentioned and will let you know In fact, I didn't consider the "platform problem" but, as I wrote, I also own a PC with an Audigy 2 soundcard (midi/analog/optical/digital inputs/outputs and firewire port...not Madonna's private studio, but not as sad as Mac's little hole) and Sonar 6 Producer Edition, so that has been a really good point to ponder. And now, in the middle of this software/hardware battle...any personal suggestions based on tests/personal experience?

  • Please urgent help needed for the following

    Hi Everybody!
    I desperately need help as soon as possible.
    Following is the partial code for the driver program which will use the Employee class Objects(Employee is declared abstract). If you want to see whole code you can take a look at my last two or three posts in this forum.
    1-     Now data input by the user in the specific field( name, rate ) should be displayed in the �List� at the top of the frame after pressing �Enter� key. Can anyone help me to achieve this functionality. While doing this keep in mind the capacity of Array
    2-     I also need �rate� textfield to enabled initially & become disable when �raise� (for trigerring calculating raise in weekly pay) is checked. On this �increased� textbox will become �enabled� which was disabled initially.
    3-     The stuff which may have the problems is followed by �*******************�.
    // here is how I declared handlers
    ActionEventHandler handler = new ActionEventHandler();
    ItemEventHandler listener = new ItemEventHandler();
    // here is the declaration of awt components which are going to be placed on Frame.
    public class ActionEventHandler implements ActionListener
    public void actionPerformed(ActionEvent event)
    //if(event.getSource() == enterButton)
    for (int i = 0 ; i < empArray.length; i++)
    if(event.getSource() == enterButton)
    empData.add(nameField.getText());
    /*else if(event.getSource() == hoursField)
    calcWeeklyPay();
    if(event.getSource() == clearButton)
    nameField.setText("");
    hoursField.setText("");
    rateField.setText("");
    increaseField.setText("");
    }//else if
    }//ActionEventHandler
    public class ItemEventHandler implements ItemListener
    public void itemStateChanged(ItemEvent event)
    //if(event.getSource() == enterButton)
    if(hEmployee.getState())
    createHourly();
    }//if
    /*else
    sEmployee.setState(true);
    createSalaried();
    }//else*/
    else if(raiseSal.getState())
    increaseField.setEnabled(true);
    rateField.setEnabled(false);
    }//itemStateChanged
    }//ItemEventHandler
    public void createHourly()
    nameField.requestFocus();
    //String name = nameField.getText();
    double payRate = Double.parseDouble(rateField.getText());
    double hours = Double.parseDouble(hoursField.getText());
    empArray[empCreated] = new HourlyEmployee(nameField.getText(), payRate, hours);
    currentEmp = empCreated;
    empCreated++;
    //empData.add(emp.toString());
    enterButton.setLabel("add");
    }//createHourly
    /* public void createSalaried()
    nameField.requestFocus();
    //String name = nameField.getText();
    double payRate = Double.parseDouble(rateField.getText());
    double hours = Double.parseDouble(hoursField.getText());
    empArray[empCreated] = new HourlyEmployee(nameField.getText(), payRate, hours);
    currentEmp = empCreated;
    empCreated++;
    enterButton = new Button("add");
    }//createSalaried*/
    looking forward your kindness

    Visit YAT-Yet Another Thread this is a discussion using the Sun book Core Java 2
    and one part in that book uses an example with Employee class of which I assume you are stealing your class-name from. Anyway, that thread is in the Java forums.

  • Help needed for the JVMTI

    I am a new guy for jvmti, I am trying to use jvmti to trace the behaviour of the program. I have several questions:
    1. When I catch the step events, I can get the current location of the code, is it possible to map it into source code or byte code?
    2. If I want to be informed when the thread call sleep(), notify(), suspend(), resume(), what should I do?
    3. By the event-JVMTI_EVENT_MONITOR_CONTENDED_ENTERED, I can easily know when the threads call the primitive "entermonitor" ,however, how can I know when the thread call "exitmonitor"?
    4. I am also interested in the context switch of the threads. I can keep checking the step events to get the information. However, it is too costly. Is there any other more suitable way to do that?
    Thanks!

    Hi
    1) I don't think u can fill the data in the infocube with  out disturbing the data in the infocube , my better approach to fill the historical data for the infocube is
    i)Take the back up of the data in another infocube and run the full load.
    ii)Don't add the Enhanced fields in the infocube , just create the DS  for that enhanced with some primary field in the infocube and then create another infoprovider which has enhanced field and primary field in that infoprovider and on the multiprovider on the top of the infocube(old which has data ) and infoprovider ( which has enhanced field and primary field) and now create the creaete the report on the top of the multiprovider.
    Hope u understoodl
    3)U have to check which process type is taking long time(let say that DTP is taking long time , then u have to check whether there exists any complex routine , if yes optimize the code ) . This way u have to check for each and every process step which is taking long time.
    4) Can u explain 4th question with an example data.
    Hope u got it,
    Thanx & Regads,
    RaviChandra

  • Urgent Help Need for the beginner

    When trying to bind a object to ldap i am getting the following exception.
    javax.naming.NameNotFoundException: [LDAP: error code 32 - No Such Object]; rema
    ining name 'cn=aString'
    The source code is as follows,the same exception comes even when i try to do a search on the ldap.
    Am i missing out anything?
    package com.retail.ldap;
    import java.util.*;
    import javax.naming.*;
    import javax.naming.directory.*;
    import javax.naming.ldap.*;
    public class GateWay {
    public GateWay() {
         super();
    public static void main(java.lang.String[] args) {
    Hashtable env = new Hashtable();
    env.put(Context.INITIAL_CONTEXT_FACTORY,"com.sun.jndi.ldap.LdapCtxFactory");
    env.put(Context.PROVIDER_URL, "ldap://localhost:389");
    env.put(Context.SECURITY_AUTHENTICATION,"simple");
    System.out.println("1");
    try{
    DirContext ctx = new InitialDirContext(env);
    System.out.println(ctx);
    System.out.println("2");
    String s=new String();
    ctx.bind("cn=aString", s);
    System.out.println("3");
    catch(Exception e){System.out.println(e);}

    Hi,
    Try to specify the correct distinguished name to bind method. The distinguished name (the fully qualified name) of an object in Directory is concatenation of its relative name ( in your case "cn=aString" ) and the distinguished name of its container ( "cn=Users,dc=domain1,dc=softvision,dc=ro -- this is my case ). So pass as parameter to bind method a string like: "cn=AString,cn=theContainer,dc=yourDomain,dc=yourCompany,dc=com"
    Regards,
    Cosmin Petra

  • Need help finding the right logic board.

    So after months of work, I've come to the conclusion that I've fried it. So I'm pursuit of getting running, I was wondering if anyone could help me find the right logic board. Well, here are my original stats:
    iMac G3 Blondi Blue
    Tray Loading
    233 MHz
    32 MB RAM
    6 GB HD
    Here a few photos. I think it's one of the very first ones:
    http://webideas.com/images/imac/imacback_bberrysm.jpg
    http://img.mercadolibre.com.pe/jm/img?s=MPE&f=1363553_8198.jpg&v=P
    I deeply apreciate the help! Thanks!

    Never mind. I have found one. Thanks!

  • Help needed for Report Generator in B1 2005

    Hi,
    I have upgraded to B1 2005 and I would like to know where I can find Help files for the report generator (used to customize invoices ...). In particular, I would like to know where I can find information about the system functions available e.g. currentpage().
    Thanks in advance for your help!
    JP

    Use this link.
    <a href="https://websmp102.sap-ag.de/form/sapnet?_FRAME=OBJECT&_HIER_KEY=701100035871000437965&_SCENARIO=01100035870000000183&">https://websmp102.sap-ag.de/form/sapnet?_FRAME=OBJECT&_HIER_KEY=701100035871000437965&_SCENARIO=01100035870000000183&</a>
    In Customization section you can find a document based on PLD

  • I have installed Adobe Acrobat XI on citrix (server 2008, x64) and need to suppress repair option in Help menu for the users via registry.

    i have installed Adobe Acrobat XI on citrix (server 2008, x64) and need to suppress repair option in Help menu for the users via registry. Have tried Disable_repair dword key in HKLM\software\Wow6432Node\Adobe\AdobeAcrobat\11.0\Installer and it does not work. please help.

    Look in the ETK Preference Reference here:  Installer settings

  • I cannot sync my iphone to my macbook since the highest software upgrade on it is 10.5.8.  I cannot upgrade to the min. software necessary to upgrade to the itunes version that I need for the iphone 5!  Please help!

    I cannot sync my iphone to my macbook since the highest software upgrade on it is 10.5.8.  I cannot upgrade to the min. software necessary to upgrade to the itunes version that I need for the iphone 5!  Please help! 

    The iPhone 5 requires iTunes 10.7 or later and iTunes 10.7 requires OS X Snow Leopard (10.6.8). If your profile is correct it looks like you need to update your OS X on you Mac. You can contact Apple and purchase the software from them.

  • Reporting annoying issues for the entire Microsoft website (MSDN, forums, all)

    Is there any place where I can report bugs with how the Microsoft web sites behave? I can only find forums and "Microsoft Answers" categories about single products that Microsoft makes, but nothing about the infrastructure itself.
    For about two weeks now, I am required to log into my account every few hours whenever I access any Microsoft website. This includes MSDN help content, forums, or other resources. I need to login after opening the website through F1 help in Visual Studio
    as well as accessing a microsoft.com link from anywhere else like a web search or a direct link from web or an application.
    Auto-complete does not work either. My browser (Firefox) does save the password, but it never fills it into the form. Other people have already noticed that
    Microsoft applies some dirty tricks here. And even if the login is remembers for a moment, it's slow as hell. It takes a second or two to load the login.live.com page (which is not what I wanted to see), then it sits there for some more seconds before going
    anywhere. Other login services like Google or StackOverflow manage to log me in all within one second and most of the time I don't even see it.
    And then there's still that insecure SSL-to-non-SSL-submit warning that only occurs in other browsers then IE. Has anybody cared about that in the last couple years?! I'm not getting it now, probably because I'm not logged in anymore. It all slowly falls
    apart, piece by piece. Next step is probably losing my data or not loading it at all.
    THIS – IS – ANNOYING! And it really makes me feel like I don't want to use Microsoft products anymore (because even good desktop applications are connected to that silly website). I have opened a
    Microsoft Connect ticket for a part of this issue (it's grown bigger since then), but this ticket is totally ignored. If microsoft.com went down, they'd certainly care within minutes or hours. This bug is not even regarded in
    weeks!
    So do I have to write a postal letter to the president of the whole company or do they have support staff for that?! Do they have anybody who is capable of maintaining their website? It's really frustrating how Microsoft has a web presence that is worse
    than what our first-year trainees come up with. It's full of bugs and this is currently only the most relevant one. Do they even care about how the world sees them? Or is Microsoft currently preparing (and even failing) to move out of business?

    The brandings are fun. Here's this same thread in a bunch of flavors:
    https://social.technet.microsoft.com/Forums/en-US/cf19ed78-267b-4313-9c49-bd3027f0eb8e/reporting-annoying-issues-for-the-entire-microsoft-website-msdn-forums-all?forum=whatforum
    https://social.msdn.microsoft.com/Forums/en-US/cf19ed78-267b-4313-9c49-bd3027f0eb8e/reporting-annoying-issues-for-the-entire-microsoft-website-msdn-forums-all?forum=whatforum
    https://social.microsoft.com/Forums/en-US/cf19ed78-267b-4313-9c49-bd3027f0eb8e/reporting-annoying-issues-for-the-entire-microsoft-website-msdn-forums-all?forum=whatforum
    https://social.technet.microsoft.com/Forums/sqlserver/en-US/cf19ed78-267b-4313-9c49-bd3027f0eb8e/reporting-annoying-issues-for-the-entire-microsoft-website-msdn-forums-all?forum=whatforum
    https://social.msdn.microsoft.com/Forums/vstudio/en-US/cf19ed78-267b-4313-9c49-bd3027f0eb8e/reporting-annoying-issues-for-the-entire-microsoft-website-msdn-forums-all?forum=whatforum
    https://social.technet.microsoft.com/Forums/exchange/en-US/cf19ed78-267b-4313-9c49-bd3027f0eb8e/reporting-annoying-issues-for-the-entire-microsoft-website-msdn-forums-all?forum=whatforum
    Don't retire TechNet! -
    (Don't give up yet - 13,085+ strong and growing)

  • How do we create user defined Task in OM & Which report we run for the Task

    Hi
    How do we create user defined Task in OM & Which report we run for the Task.
    Regards
    Rajesh

    You can create tasks using PFCT or path: Human resources> Organizational management> Expert mode> Task catalog in Easy access.
    Check this link may be useful for you: http://help.sap.com/saphelp_40b/helpdata/pt/fb/135d89457311d189440000e829fbbd/content.htm

  • Help needed for writing query

    help needed for writing query
    i have the following tables(with data) as mentioned below
    FK*-foregin key (SUBJECTS)
    FK**-foregin key (COMBINATION)
    1)SUBJECTS(table name)     
    SUB_ID(NUMBER) SUB_CODE(VARCHAR2) SUB_NAME (VARCHAR2)
    2           02           Computer Science
    3           03           Physics
    4           04           Chemistry
    5           05           Mathematics
    7           07           Commerce
    8           08           Computer Applications
    9           09           Biology
    2)COMBINATION
    COMB_ID(NUMBER) COMB_NAME(VARCHAR2) SUB_ID1(NUMBER(FK*)) SUB_ID2(NUMBER(FK*)) SUB_ID3(NUMBER(FK*)) SUBJ_ID4(NUMBER(FK*))
    383           S1      9           4           2           3
    384           S2      4           2           5           3
    ---------I actually designed the ABOVE table also like this
    3) a)COMBINATION
    COMB_ID(NUMBER) COMB_NAME(VARCHAR2)
    383           S1
    384           S2
    b)COMBINATION_DET
    COMBDET_ID(NUMBER) COMB_ID(FK**) SUB_ID(FK*)
    1               383          9
    2               383          4
    3               383          2
    4               383          3
    5               384          4
    6               384          2          
    7               384          5
    8               384          3
    Business rule: a combination consists of a maximum of 4 subjects (must contain)
    and the user is less relevant to a COMB_NAME(name of combinations) but user need
    the subjects contained in combinations
    i need the following output
    COMB_ID COMB_NAME SUBJECT1 SUBJECT2      SUBJECT3      SUBJECT4
    383     S1     Biology Chemistry      Computer Science Physics
    384     S2     Chemistry Computer Science Mathematics Physics
    or even this is enough(what i actually needed)
    COMB_ID     subjects
    383           Biology,Chemistry,Computer Science,Physics
    384           Chemistry,Computer Science,Mathematics,Physics
    you can use any of the COMBINATION table(either (2) or (3))
    and i want to know
    1)which design is good in this case
    (i think SUB_ID1,SUB_ID2,SUB_ID3,SUB_ID4 is not a
    good method to link with same table but if 4 subjects only(and must) comes
    detail table is not neccessary )
    now i am achieving the result by program-coding in C# after getting the rows from oracle
    i am using oracle 9i (also ODP.NET)
    i want to know how can i get the result in the stored procedure itsef.
    2)how it could be designed in any other way.
    any help/suggestion is welcome
    thanks for your time --Pradeesh

    Well I forgot the table-alias, here now with:
    SELECT C.COMB_ID
    , C.COMB_NAME
    , (SELECT SUB_NAME
    FROM SUBJECTS
    WHERE SUB_ID = C.SUB_ID1) AS SUBJECT_NAME1
    , (SELECT SUB_NAME
    FROM SUBJECTS
    WHERE SUB_ID = C.SUB_ID2) AS SUBJECT_NAME2
    , (SELECT SUB_NAME
    FROM SUBJECTS
    WHERE SUB_ID = C.SUB_ID3) AS SUBJECT_NAME3
    , (SELECT SUB_NAME
    FROM SUBJECTS
    WHERE SUB_ID = C.SUB_ID4) AS SUBJECT_NAME4
    FROM COMBINATION C;
    As you need exactly 4 subjects, the columns-solution is just fine I would say.

  • Hi have just purchased iphone 4s . my itunes on my mac is currently 10.4 . 10.5 is needed for the new iphone but when i download it and click on install the itunes about still says 10.4 . have tried to update through itunes but it says there is no softwar

    hi have just purchased iphone 4s . my itunes on my mac is currently 10.4 . 10.5 is needed for the new iphone but when i download it and click on install the itunes about still says 10.4 . have tried to update through itunes but it says there is no software available for me . please help . mr frustrated

    If your computer is running an OS X prior to Snow Leopard 10.6,
    the answer (if it is an Intel-based Mac; not old PowerPC model)
    would be to buy the retail Snow Leopard 10.6 DVD from Apple
    for about $20, and install it. Then update that to 10.6.8 by using
    the installed Snow Leopard online to get Combo Update v1.1 for
    Snow Leopard 10.6.8. After that is installed & updated, run the
    system's Software Update again, to see what else is available to
    that system.
    Later systems can then be looked into at Mac App Store, once
    the computer is running Snow Leopard 10.6.8.
    And if your computer is a Power PC (G4/G5, etc) and has no
    Core2Duo kind of CPU -- See "About this Mac" in apple menu
    to disclose the general info about your Mac. Also you can see
    even more by clicking on "More Info" when looking in there...
    If it isn't an Intel-based Mac, it can't run a system past 10.5.8.
    Hopefully this helps.
    Good luck & happy computing!

  • Color management help needed for adobe CS5 and Epson printer 1400-Prints coming out too dark with re

    Color management help needed for adobe CS5 and Epson printer 1400-Prints coming out too dark with reddish cast and loss of detail
    System: Windows 7
    Adobe CS5
    Printer: Epson Stylus Photo 1400
    Paper: Inkjet matte presentation paper with slight luster
    Installed latest patch for Adobe CS5
    Epson driver up to date
    After reading solutions online and trying them for my settings for 2 days I am still unable to print what I am seeing on my screen in Adobe CS5. I calibrated my monitor, but am not sure once calibration is saved if I somehow use this setting in Photoshop’s color management.
    The files I am printing are photographs of dogs with lots of detail  I digitally painted with my Wacom tablet in Photoshop CS5 and then printed with Epson Stylus 1400 on inkjet paper 20lb with slight luster.
    My Printed images lose a lot of the detail & come out way to dark with a reddish cast and loss of detail when I used these settings in the printing window:
    Color Handling: Photoshop manages color, Color management -ICM, OFF no color adjustment.
    When I change to these settings in printer window: Color Handling:  Printer manages color.  Color management- Color Controls, 1.8 Gamma and choose Epson Standard it prints lighter, but with reddish cast and very little detail and this is the best setting I have used so far.
    Based on what I have read on line, I think the issue is mainly to do with what controls are set in the Photoshop Color Settings window and the Epson Printer preferences. I have screen images attached of these windows and would appreciate knowing what you recommend I enter for each choice.
    Also I am confused as to what ICM color management system to use with this printer and CS5:
    What is the best ICM to use with PS CS5 & the Epson 1400 printer? Should I use the same ICM for both?
    Do I embed the ICM I choose into the new files I create? 
    Do I view all files in the CS5 workspace in this default ICM?
    Do I set my monitor setting to the same ICM?
    If new file opens in CS5 workspace and it has a different embedded profile than my workspace, do I convert it?
    Do I set my printer, Monitor and PS CS5 color settings to the same ICM?
    Is using the same ICM for all devices what is called a consistent workflow?
    I appreciate any and all advice that can be sent my way on this complicated issue. Thank you in advance for your time and kind help.

    It may be possible to figure out by watching a Dr.Brown video on the subject of color printing. Adobe tv
    I hope this may help...............

  • File missing (file\BCD error code 0Xc0000034 help need for work!

    file missing (file\BCD  error code 0Xc0000034 help need for work!    what can i do?
    have an p 2000 notebook pc

     Hi bobkunkle, welcome to the HP Forums. I understand you cannot boot passed the error you are receiving.
    What is the model or product number of your notebook? What version of Windows is installed?
    Guide to finding your product number
    Which Windows operating system am I running?
    TwoPointOh
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the bottom to say “Thanks” for helping!

Maybe you are looking for