Course Overview 2 PS Structures l PROJECTS n

  • Slides: 16
Download presentation
Course Overview 2. PS Structures l PROJECTS n Project Definition, WBS Elements l NETWORKS

Course Overview 2. PS Structures l PROJECTS n Project Definition, WBS Elements l NETWORKS n Network Header, Activities and Sub-Operations n Relationships & Milestones n Texts n Components n Screen Sequence Control & Function Processing l ASSEMBLY ORDER PROCESSING ã SAP AG 1999 filename (author) / 1

Course Overview 2. PS Structures (. . . contd) l STRUCTURE PLANNING l PROJECT

Course Overview 2. PS Structures (. . . contd) l STRUCTURE PLANNING l PROJECT PLANNING BOARD l GENERAL TOPICS ã n Object Number Derivation n Status Management n General debugging tips SAP AG 1999 filename (author) / 2

PS Structures Master Data in PS: Project definition Work breakdown structure Network Process- oriented

PS Structures Master Data in PS: Project definition Work breakdown structure Network Process- oriented organization Responsibility- oriented organization 1: N Costs, revenues, payments, Costs, payments Basic dates, Dates, Budget Ressources Basic dates Organizational units ã SAP AG 1999 filename (author) / 3

PS Structures Organisational Structures in SAP Views Organizational units Company Cost accounting External logistics

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) Plants Inventory management Storage locations/Batches/Special stocks ã SAP AG 1999 filename (author) / 4

PS Structures - Projects Programs: l SAPLCJWB Dialog programs for operative WBS (screen flow

PS Structures - Projects Programs: l SAPLCJWB Dialog programs for operative WBS (screen flow logic) l SAPLCJDW DB Interface (Dialog tables operative WBS) l SAPLCJSS Dialog programs for standard WBS (screen flow logic) l SAPLCJSD DB Interface (Dialog tables standard WBS) l SAPLCJWI Integration: SD/PSP/Networks l SAPLCJPN Preparation of project number (MHG) l Common Form Routines: n CJDW & CJSD FCJDWxxx n CJWB & CJSS FCJWBxxx l Programs only in CJDW, CJSD ã SAP AG 1999 filename (author) / 5 LCJDWxxx, LCJSDxxx

PS Structures - Projects Tables: ã SAP AG 1999 filename (author) / 6

PS Structures - Projects Tables: ã SAP AG 1999 filename (author) / 6

PS Structures - Projects Edit Masks: A D E V P -0000 -X-X -000000.

PS Structures - Projects Edit Masks: A D E V P -0000 -X-X -000000. 00. X -0000 -X-X /XXXXX-000 -00 /0000 -X-X P/0095 -2 -3 -4 -5 Table PRPS PSPNR 00008042 00008043 00008044 00008052 ã POSID P 00951 P 00952345 SAP AG 1999 filename (author) / 7 (OPSK/OPSJ) EDITION ELEVATOR Project edition for IDES Edition ELEVATOR EDITION IT project POSID POST 1 V 3 A 00000 V 3 BETA 00100 V 3 A 00100 V/3 A V/3 BETA-001 V/3 A -001 Table PRPS POSID POST 1 D 000001 B D 0000010002 B D 0000010112 B D-000001. 00. 01. B D-000001. 00. 02. B D-000001. 12. B

PS Structures - Projects DB Table Relationships for Projects PROJ Mandt Pspnr Objnr. .

PS Structures - Projects DB Table Relationships for Projects PROJ Mandt Pspnr Objnr. . . Project Definition = „PD“ + PSPNR (8) PRPS Mandt Pspnr Objnr Psphi WBS Element = „PR“ + PSPNR (8) PRHI Mandt ã Posnr Psphi. . . SAP AG 1999 filename (author) / 8 Project Hierarchy STATUS TABLES OBJNR JSTO JEST JCDO JCDS ONR 00 ONRPD ONRPR

PS Structures - Networks Programs: Dialog: l l l SAPLCOKO Network header SAPLCOVG Activity

PS Structures - Networks Programs: Dialog: l l l SAPLCOKO Network header SAPLCOVG Activity overview list SAPLCONW Activity detail screen SAPLCOMK Material overview list SAPLCOMD Material detail screen Buffer tables: l l l SAPLCOBH Network header & activity SAPLCOB 1 Network header & activity (split) SAPLCOBO Activity & sequence SAPLCOBP Activity & sequence (split) SAPLNWBT Milestones SAPLCOBC Components Central functions: l l l ã SAPLCOZF Scheduling/Cost calculation/PReq/. . . SAPLCOSD Copying standard structures -> operative SAPLCOSF External call: Function modules: Buffer + DB Tables SAPLCOVB Update function module: Dialog after commit SAPLCOZR Release SAPLCOZA Availibility check SAP AG 1999 filename (author) / 9

PS Structures - Networks Tables: Object Database Table Standard network header Operative network header

PS Structures - Networks Tables: Object Database Table 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 PLKO AUFK + AFKO (= CAUFV) PLPO AFVC AFVU AFVV (same as activity) AFPO AFFL AFAB MLST RESB EBAN/EBKN RSDBS NPTXD, TTXCP Change documents CDHDR, CDPOS ã SAP AG 1999 filename (author) / 10 Structure CAUFVD AFVGD AFPOD AFFLD AFABD MLSTD RESBD EBAN/EBKN

PS Structures - Networks Important DB Fields for Networks Network (DB Table CAUFV, Structure

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, ONR 00 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) ã SAP AG 1999 filename (author) / 11 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, ONR 00

PS Structures - Networks Important DB Fields for Networks Network Relationships (DB Table AFAB,

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 / FF For Function Modules see Function Group NWDB Network Milestones (DB Table MLST, Structure MLSTD) MLST_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 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 LSTXDFDB

PS Structures - Status Management See Program LCOKOSTA or BS 23 for internal status

PS Structures - Status Management See Program LCOKOSTA or BS 23 for internal status OBJNR = NP+AUFNR(10) JEST Description Form Routine / Function Module 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 Comment Program LCOKOSTA BS 13 / BS 23

PS Structures - Creating Structures Assembley Order Processing Customising Sales Order Table / View

PS Structures - Creating Structures Assembley Order Processing Customising Sales Order Table / View Description V_T 461 P Strategy group V_T 461 S V_T 459 A V_T 459 K Strategy Requirement type KMPN Requirement class Table Description V_TVEPZ_V Assign Requirement Types to Transaction Program Description LV 07 A 005 SD check for assembly relevance CO_61_ORDER_EDIT Interface to SD CO_61_ORDER_POST Saving SD Interface information Important: Condition Type EK 02 for calculated costs (PWERT) ã SAP AG 1999 filename (author) / 14

PS Structures - Screen Flow Screen Sequence Control VFBS Table Function Subroutine T 185

PS Structures - Screen Flow Screen Sequence Control VFBS Table Function Subroutine T 185 F T 185 V T 185 D TC 02 TC 33 TCO 05 Function Code Definition Paths between processing locations / following screens Processing location Dialogue FCode permissibility Allocation of FCode to operation to be checked CUA Status T 185 F_LESEN T 185 V_LESEN Important variables AGIDV BLDGR PANEL OK_CODE ã Program Screen Group Screen Number Function Code SAP AG 1999 filename (author) / 15 FUNCTION_PROCESSING EVENT_PROCESSING CO_TA_TCO 05_READ

PS Structures - General Tips Derivation of Plant from Company Code Table Field Description

PS Structures - General Tips Derivation of Plant from Company Code Table Field Description T 001 W T 001 K T 001 WERKS BWKEY BUKRS Plant Valuation Area Company Code OX 18 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