Vous êtes sur la page 1sur 16

Course Overview 2.

PS Structures
 PROJECTS


Project Definition, WBS Elements

 NETWORKS
    

Network Header, Activities and Sub-Operations Relationships & Milestones Texts Components Screen Sequence Control & Function Processing

 ASSEMBLY ORDER PROCESSING


SAP AG 1999 filename (author) / 1

Course Overview 2. PS Structures


(...contd)

 STRUCTURE PLANNING  PROJECT PLANNING BOARD  GENERAL TOPICS


  

Object Number Derivation Status Management General debugging tips

SAP AG 1999 filename (author) / 2

PS Structures
Master Data in PS: Project definition
Work breakdown structure
Responsibility- oriented organization

Network
Process- oriented organization

1:N

Costs, revenues, payments, Basic dates, Budget


Basic dates Organizational units
SAP AG 1999 filename (author) / 3

Costs, payments Dates, Ressources

PS Structures
Organisational Structures in SAP

Views

Organizational units
Company

Cost accounting External logistics Accounting

Controlling areas Sales organizations Purchasing organizations

Company codes

Valuation areas Internal logistics (MRP/Production) Inventory management


SAP AG 1999 filename (author) / 4

Plants Storage locations/Batches/Special stocks

PS Structures - Projects Programs:


 SAPLCJWB  SAPLCJDW  SAPLCJSS  SAPLCJSD  SAPLCJWI  SAPLCJPN
Dialog programs for operative WBS (screen flow logic) DB Interface (Dialog tables operative WBS) Dialog programs for standard WBS (screen flow logic) DB Interface (Dialog tables standard WBS) Integration: SD/PSP/Networks Preparation of project number (MHG)

 Common Form Routines:


 

CJDW & CJSD CJWB & CJSS

FCJDWxxx FCJWBxxx

 Programs only in CJDW, CJSD


SAP AG 1999 filename (author) / 5

LCJDWxxx, LCJSDxxx

PS Structures - Projects Tables:


Object
Standard Proj. Def. Standard WBS Operative Proj. Def. Operative WBS Assignment WBS/Text PS-Text Milestones Milestone Texts Version: WBS Element Version: Proj. DeF: Operative WBS (Position in hierarchy) Operative WBS (Position in hierarchy) Change documents header

Table
PROJS PRPSS PROJ PRPS PRTX PSTX MLST MLTX VSPRPS_CN VSPROJ_CN PRHI PRHIS CDHDR, CDPOS

SAP AG 1999 filename (author) / 6

PS Structures - Projects Edit Masks:


A D E V P -0000-X-X-X-X -000000.00.00.X -0000-X-X-X-X /XXXXX-000-00 /0000-X-X-X-X P/0095-2-3-4-5 Table PRPS PSPNR POSID
00008042 00008043 00008044 00008052 P0095 P00951 P00952 P00952345

(OPSK/OPSJ)
EDITION ELEVATOR Project edition for IDES Edition ELEVATOR EDITION IT project POSID
V 3A00000 V3BETA00100 V 3A00100

POST1
V/3A V/3BETA-001 V/3A -001

Table PRPS POSID

POST1

D0000010001B D-000001.00.01.B D0000010002B D-000001.00.02.B D0000010112B D-000001.01.12.B

SAP AG 1999 filename (author) / 7

PS Structures - Projects DB Table Relationships for Projects


PROJ
Mandt Pspnr Objnr ...

Project Definition

= PD + PSPNR (8)

STATUS TABLES JSTO JEST JCDO JCDS ONR00 ONRPD ONRPR

PRPS
Mandt Pspnr Objnr Psphi

WBS Element

OBJNR

= PR + PSPNR (8)

PRHI
Mandt Posnr Psphi ...

Project Hierarchy

SAP AG 1999 filename (author) / 8

PS Structures - Networks Programs:


Dialog:
     SAPLCOKO SAPLCOVG SAPLCONW SAPLCOMK SAPLCOMD Network header Activity overview list Activity detail screen Material overview list Material detail screen

Buffer tables:
      SAPLCOBH SAPLCOB1 SAPLCOBO SAPLCOBP SAPLNWBT SAPLCOBC Network header & activity Network header & activity (split) Activity & sequence Activity & sequence (split) Milestones Components

Central functions:
      SAPLCOZF SAPLCOSD SAPLCOSF SAPLCOVB SAPLCOZR SAPLCOZA Scheduling/Cost calculation/PReq/... Copying standard structures -> operative External call: Function modules: Buffer + DB Tables Update function module: Dialog after commit Release Availibility check

SAP AG 1999 filename (author) / 9

PS Structures - Networks Tables:


Object
Standard network header Operative network header Standard network activity Operative network activity User fields Quantity/Dates/Values Elements Order Items Sequences (unimportant for networks) AOB Milestones Components Purchase requisitions Index RESB/EBAN (plant stock) Index RESB/EBAN /special stock) PSTexte Change documents

Database Table
PLKO AUFK + AFKO (= CAUFV) PLPO AFVC AFVU AFVV (same as activity) AFPO AFFL AFAB MLST RESB EBAN/EBKN RSDB RSDBS NPTXD, TTXCP CDHDR, CDPOS

Structure
CAUFVD AFVGD AFVGD AFVGD AFPOD AFFLD AFABD MLSTD RESBD EBAN/EBKN

SAP AG 1999 filename (author) / 10

PS Structures - Networks Important DB Fields for Networks


Network (DB Table CAUFV, Structure CAUFVD)
AUFNR PLNNR AUFPL RSNUM AUART STATS OBJNR NP+AUFNR(10) LOEKZ PROFID PRONR PSPEL / PROJN VBELN / VBELP Network number Standard network number when created via standard network Internal network number - unique per network Reservation number - 1 reservation per network Order type - always 20 for networks Status profile - only in dialogue, see also JSTO-STSMA used in JSTO,JEST,JCDO,JCDS,ONROR,ONR00 Deletion flag Network profile Project definition assignment WBS element assignment Sales order/item assignment

Network Activity/Element (DB Tables AFVC/AFVU/AFVV, Structure AFVGD)


AUFPL APLZL PLNNR VORNR SUMNR RUECK OBJNR NV+AUFPL(10)+APLZL(8) Internal network number Internal activity counter - unique per activity Standard network number when created via standard network External activity number Superior activity internal number Confirmation number - 1 confirmation number per activity used in JSTO,JEST,JCDO,JCDS,ONROV,ONR00

SAP AG 1999 filename (author) / 11

PS Structures - Networks Important DB Fields for Networks


Network Relationships (DB Table AFAB, Structure AFABD)
AUFPL_VOR APLZL_VOR AUFPL_NCH APLZL_NCH AOBAR MIMAX Internal network number of predecessor Internal activity number of predecessor Internal network number of follower Internal activity number of follower Relationship type: SF / SS / FS / FF

For Function Modules see Function Group NWDB

Network Milestones (DB Table MLST, Structure MLSTD)


MLST_ZAEHL ZAEHL AUFPL / APLZL / PSPNR Internal network number of predecessor Internal activity number of predecessor Object assignment

For Function Modules see Function Group NWDB

Network Texts (DB Table STXH / STXL, Structure MLSTD)


TDOBJECT TDNAME TDID TDSPRAS Object type - eg AUFK or Text key - similar to OBJNR (MANDT+AUFNR / MANDT+AUFPL+APLZL ) Language key LSTXDFDB

Text lines read with function module: READ_TEXTLINES For PS-Text Function Modules see Function Group NWDB

Subnetworks (DB Table VALLC)


Read from database in CO_BH_SUBNET_PRE_READ

SAP AG 1999 filename (author) / 12

PS Structures - Status Status Management


See Program LCOKOSTA or BS23 for internal status OBJNR = NP+AUFNR(10)

JEST

Description

Form Routine / Function Module

Comment
Program LCOKOSTA BS13 / BS23

System status used in PS Change/check status for a business act. STATUS_CHANGE_FOR_ACTIVITY Set a status STATUS_CHANGE_INTERN Check if a status is currently set STATUS_CHECK

SAP AG 1999 filename (author) / 13

PS Structures - Creating Structures Assembley Order Processing


Customising Sales Order Table / View
V_T461P V_T461S V_T459A V_T459K

Description
Strategy group Strategy Requirement type KMPN Requirement class

Table
V_TVEPZ_V

Description
Assign Requirement Types to Transaction

Program
LV07A005 CO_61_ORDER_EDIT CO_61_ORDER_POST Important:

Description
SD check for assembly relevance Interface to SD Saving SD Interface information

Condition Type EK02 for calculated costs (PWERT)

SAP AG 1999 filename (author) / 14

PS Structures - Screen Flow Screen Sequence Control


Table
T185F T185 T185V T185D TC02 TC33 TCO05

VFBS
Subroutine
T185F_LESEN T185_LESEN T185V_LESEN FUNCTION_PROCESSING EVENT_PROCESSING CO_TA_TCO05_READ

Function
Function Code Definition Paths between processing locations / following screens Processing location Dialogue FCode permissibility Allocation of FCode to operation to be checked CUA Status

Important variables
AGIDV BLDGR PANEL OK_CODE Program Screen Group Screen Number Function Code

SAP AG 1999 filename (author) / 15

PS Structures - General Tips


Derivation of Plant from Company Code
Table
T001W T001K T001

OX18

Field
WERKS BWKEY BUKRS

Description
Plant Valuation Area Company Code

Settlement Rules
All function modules called for creating / deleting / changing / saving settlement rules begin with K_SETTLEMENT, eg: K_SETTLEMENT_RULE_CHECK In the network, CK_F_SINGLE_SETTLE_MODIFY is used.

SAP AG 1999 filename (author) / 16

Vous aimerez peut-être aussi