Tuesday, August 13, 2013

TJ01 Business Transactions



CO Objects (3.0F with 4.5B additions as needed)

COBK (doc head) & COEP (line items)


VRGNG
VRGCO
VRGSV
TXT
Transaction
CO activity
Status admin.
Description
ABUD

X
Display in budgeting
ACDC

X
Change date
AEBL

X
Create change document
AMST

X
Change milestone
AOCB

X
Block assembly order
AOCR

X
Unblock assembly order
AREL

X
Change relationship
AZAF


Down payment request
AZBU


Down payment
AZUM


Down payment - transfer postg
BABL

X
Wrap
BABS

X
Close
BFRE

X
Release
BFRZ

X
Revoke status "Released"
BLOC

X
Lock
BTAB

X
Technically complete
BTCL

X
Tech compl revoke created
BTCT

X
Tech compl revoke part rel'd
BUAA

X
Complete back to tech complete
BUAB

X
Revoke status "Closed"
BUNL

X
Unlock
BUTA

X
Revoke technical completion
CC01

X
Inspection request for ECR
CC02

X
Complete ECR inspection
CC03

X
Approve ECR
CC04

X
Withdraw approval for ECR
CC05

X
Convert ECR
CC06

X
Complete ECO
CC07

X
Release ECO
CC08

X
Unlock
CC09

X
Lock change
CC10

X
Refuse change request
CC11

X
Change request incomplete
CC12

X
ECO complete
CC21

X
Object: change possible
CC22

X
Object: change not necessary
CC23

X
Object: change not possible
CC24

X
Object: complete change
CC25

X
Object: release change
CC26

X
Object: errors in change
CC27

X
Object: Error corrected
COFM


CO-FM integration
COIN
X

CO: Interface (FI transactions create this transaction code)
CONF

X
Change configuration data
CORR


Adjustment posting
CORT


Temporary adjusting entry
CPPA
X

ABC process assessment: actual
CPPP
X

ABC process assessment: plan
CPRA
X

ABC resource assessment: act.
CPRP
X

ABC resource assessment: plan
CRAB

X
Terminate control recipe
CRCR

X
Create control recipe
CRFI

X
Set ctrl. recipe to "finished"
CRSN

X
Create subnetwork
CTPD

X
Delete process instructions
CTPG

X
Generate process instructions
EBRC

X
Create electronic batch record
EBRQ

X
Archive insp. lot for PI order
EINB

X
Include master recipe
FIPL

X
Financial budgeting
GLU1


Transfer Ext. system -> FI-GLX
GMPD

X
Undo order approval
GMPG

X
Grant single order approval
HRBV


Preliminary posting in HR
IKOS

X
Estimate expense
ILCR

X
Create inspection lot
ILDL

X
Delete inspection lot
INAK

X
Set object inactive
INAZ

X
Reset object inactive
ISHL


ISH: Hospitals
KABF


Manual entries analysis
KABG
X
X
Automatic results analysis
KABK

X
Settlement assignment
KABM
X
X
Manual results analysis
KABV

X
Maintain settlement rule
KAFD


External data transfer
KAFM
X

Financial data
KALD

X
Create cost estimate
KALZ

X
Reset cost estimate
KAUS
X
X
Calculate scrap
KAVM


Clear down paymnt with PO ref.
KAVO


Clear down payment w/o PO ref.
KAVR


Value added tax finance data
KAZI
X
X
Actual CCtr imputed costs
KAZM


Down pymts re purchase orders
KAZN


Down paym. clearance w/PO ref.
KAZO
X

Down payment
KAZP
X
X
Planned CCtr imputed costs
KAZV


Down payment clearing
KBFC

X
Availability control
KBFR

X
Budget release
KBLO

X
Funds block
KBLZ

X
Payment transfer
KBN0

X
Budget supplement
KBR0

X
Budget return
KBU1

X
Sender of carryover
KBU2

X
Receiver of carryover
KBU3

X
Sender of advance
KBU4

X
Receiver of advance
KBU5

X
Transfer of carryover
KBU6

X
Transfer of advance
KBUD

X
Budgeting
KBUE

X
Budget transfer (receiver)
KBUS

X
Budget transfer (sender)
KBUT

X
Budget transfer (transfer)
KBW1

X
Sender of carryover
KBW2

X
Receiver of carryover
KBW3

X
Sender of advance
KBW4

X
Receiver of advance
KBW5

X
Transfer of carryover
KBW6

X
Transfer of advance
KCOM

X
Funds commitment
KEKB
X

Unit costing (basis)
KEKP


Unit costing (primary)
KEKS


Unit costing (secondary)
KEKZ
X

Unit costing (surcharge)
KEPB

X
Write budget line items
KEPP

X
Write plan line items
KFOR

X
Revenue commitment
KFPI
X
X
Fixed price allocation
KFPP
X
X
Fixed price agreement
KMOB

X
Manual funds reservation
KOAE


Actual settlement (external)
KOAL
KOAO


X


X

Actual settlement of IAA (excluded from VA90 expenses)
Actual settlement
(physical plant settlements - extract to ADABAS) (excluded from VA90 expenses)

KOAP
X
X
Plan settlement
KOAQ

X
Debit from actual settlement
KOAR


Credit from actual settlement
KOAV


Settlement of variance data
KOAW


Settlement of RA data
KOLI
X
X
Collective order delivery
KOR1


Order rec: new order
KOR2


Order rec: amended order
KOR3


Order rec: reversal
KOR4


Order rec: plan amendment
KPAY

X
Payment reservation
KPIV
X
X
Actual cost distrib. cost obj.
KPPB
X

Create plan from ref. object
KPPP


Create plan frm ref. obj. (pr)
KPPS


Create plan frm ref. obj. (sc)
KPPZ
X

Create surcharge from ref.obj.
KPRE

X
Funds commitment
KPUW


Plan revaluation
KRAT


LIS trnsfr: act. stat. key fig
KRES

X
Funds reservation
KRPT


LIS trnsfr: pln stat. key fig.
KSD0


Quotation pricing
KSI0
X

Split actual
KSI1


Split actual (primary)
KSI2


Split actual (secondary)
KSII
X
X
Calculate act. activity price
KSOP
X

Compute prim. target costs
KSOS
X

Compute sec. target costs
KSP0
X

Split plan
KSP1


Split plan (primary)
KSP2


Split plan (secondary)_
KSPA
X

CCtr assessment to CO-PA
KSPB
X

Plan assessment to result
KSPI


Activity price computation (EB, OH, lab allocations create this transaction code)
KSPS


Plan reconciliation
KSTE

X
Unit costing (planning)
KSTP

X
Total cost planning
KSTR

X
Revenue planning (total)
KSWP
X

Calc. primary tgt costs (WIP)
KSWS
X

Calc.secondary tgt costs (WIP)
KVAR
X
X
Calculation of variances
KZPI
X
X
Actual surcharges (periodic)
KZPP
X
X
Planned surcharges (periodic)
KZRI
X
X
Interest calculation (actual)
KZRP
X
X
Interest calculation (plan)
LKZS

X
Set deletion indicator
LVMS

X
Set deletion flag
LVMZ

X
Remove deletion flag
MAAK

X
Activate rent adjustment
MABR

X
Demolish
MAER

X
Determine rent adjustment
MAST

X
Reverse rent adjustment
MAVV

X
Conclude commerc. prov.agrmnt
MBST

X
Include in portfolio
MBSV

X
Intended for portfolio
MCAE

X
Change management agreement
MCAK

X
Activate management agreement
MCAL

X
Create management agreement
MCLO

X
Mark mgt agreemt for deletion
MEAE

X
Change rental unit
MEAN

X
Create rental unit
MELO

X
Delete rental unit
MEZL

X
Del. alloc. RU -> Bldg/Prprty
MEZO

X
Assign RU -> bldng/prprty
MHAK

X
Activate fee adjustment
MHER

X
Determine fee adjustment
MHST

X
Cancel fee adjustment
MKAU

X
Purchase
MKFV

X
Intended for purchase
MKON

X
Real estate object assignment
MOAE

X
Change object
MOAL

X
Create object
MOLO

X
Delete object
MSEA

X
Reset acct ass.block generic.
MSEM

X
Reset master data block gener.
MSSA

X
Block acct assignmnt generic.
MSSK

X
Set real est.acct assign.block
MSSM

X
Block master data generically
MTEI

X
RU division declaration
MVAB

X
RU inspection
MVAC

X
Activate rental agrmnt for RU
MVAE

X
Change rental agreement
MVAG

X
Create comm. rental agreement
MVAN

X
Create rental agrmnt for RU
MVAR

X
Cancel inspection for RA
MVAW

X
Create resident.rental agrmnt
MVBA

X
Remove transaction block
MVBS

X
Set transaction block
MVDA

X
Print rental agreement changes
MVDR

X
Print rntl agrmnt: First print
MVFA

X
Change released rental agrmnt
MVFG

X
Rel. comm.rent.agrmnt created
MVFR

X
Release rental agreement
MVFV

X
Rel. provisional comm. agrmnt
MVFW

X
Rel. resident. rental agrmnt
MVKR

X
Cancel sale
MVKS

X
Rent agrmnt: Rev. cancelation
MVKT

X
Repay security deposit
MVKU

X
Cancel rental agreement
MVKV

X
Intended for sale
MVKZ

X
Reverse security depos.repmnt
MVLO

X
Delete rental agreement
MVRK

X
Sell
MWUN

X
Economic ruin
PAPL
X

Sales/profit plan
PCAA


Act.assessm.in PrCtr Acctng
PCAD


Act.alloc. in PrCtr Acctng
PCAP


Profit center acctg - planning
PCPA


Pln.assessm.in PrCtr Acctng
PCPD


Pln.alloc. in PrCtrAcctng
PMM1

X
Postpone notification
PMM2

X
Give notification
PMM3

X
Assign to order
PMM4

X
Conclude notification
PMM5

X
Print notification
PMM6

X
Renotify
PMM7

X
Terminate order allocation
PMM8

X
Set deletion flag
PMM9

X
Remove deletion flag
PMMA

X
Archive notification
PMO1

X
Create equipment
PMO2

X
Install equipment
PMO3

X
Dismantle equipment
PMO4

X
Structure equipment hierarchy
PMO5

X
Explode equipment hierarchy
PMO6

X
Terminate configuration ref
PMOA

X
Change technical object
PMOB

X
Enter PM planing data
PMOC

X
Enter PM processing data
PMS1

X
Goods receipts
PMS2

X
Order assignment
PMS3

X
Delivery note assignment
PMS4

X
Service contract assignment
PMS5

X
Delivery to customer
PMS6

X
Assignment in test condition
PMS7

X
Return to stock
PMS8

X
Goods issues
PMS9

X
Blocked condition
PMSA

X
Delete assignmnt to delivery
PMSB

X
Delete assignmnt to order
PMSC

X
Delete assign. to inspectn lot
PMSD

X
Stock transfer
PMSE

X

PMSU

X
Stock transfer (one-step)
PMT1

X
Deliv. to customer consignment
PMT2

X
Outw movemt fm consigmt custmr
PMT3

X
Deliv to custmr retn packaging
PMT4

X
Outw movemt fm retn pakg custr
PMT5

X
Return fm custr consignment
PMT6

X
Inwd movemt to consgnmt custr
PMT7

X
Return fm custr retn packg
PMT8

X
Inwd movemt to custr retn pckg
PPMA

X
Material assembly
PRC3


FI data transfer to EC-PCA
PRC4


Trans.bal.sheet items to PrCtr
PRC5


Profit center document entry
PSAT

X
Assignment order/WBS
PSCO

X
Acct. assignment order/project
PSCT

X
Schedule basic dates
PSDE

X
Delete basic dates
PSDL

X
Delete element
PSDP

X
Delete forecast dates
PSE1

X
Set basic start
PSE2

X
Set basic finish
PSEA

X
Unlock assignment
PSEB

X
Unlock budgeting
PSEI

X
Expand structure
PSEM

X
Unlock master data
PSEP

X
Unlock planning
PSET

X
Unlock dates
PSEV

X
Shift basic dates
PSGE

X
Approval
PSIT

X
Schedule actual dates
PSP1

X
Set forecast start
PSP2

X
Set forecast finish
PSPS

X
Lock planning
PSPT

X
Schedule forecast dates
PSPV

X
Shift forecast dates
PSSA

X
Lock assignment
PSSB

X
Lock budgeting
PSSM

X
Lock master data
PSST

X
Lock dates
PSTE

X
Confirm WBS
PSTF

X
Partially release project
PSTS

X
Partially confirm WBS
PSTV

X
StdVal from subnetwork
PSTX

X
Assign PS texts
PSUE

X
Copy basic -> forecast
PSUP

X
Copy forecast -> basic
PSVE

X
Change structure
QC02

X
Create quality certif. profile
QC04

X
Release quality cert. profile
QC06

X
Lock quality certif. profile
QC08

X
Assign quality certif. profile
QC10

X
Quality cert. prof.: deln flag
QM02

X
Choose plan for inspection lot
QM04

X
Create insp. characteristics
QM06

X
Determine sample
QM07

X
Change planned lot quantity
QM08

X
Consider quality level
QM09

X
Lot reset allowed
QM10

X
Set insp. lot to skip lot
QM11

X
Change inspection lot
QM12

X
Print sample drawing instructn
QM14

X
Print inspection instruction
QM15

X
Include in subsys. task list
QM16

X
Start quality inspection
QM17

X
Transmit lot to subsystem
QM18

X
Record inspection results
QM19

X
Record long-term characterist.
QM20

X
Access usage decision
QM21

X
Work list for insp. completion
QM22

X
End inspection - complete
QM23

X
Record defects
QM24

X
Close inspection - short-term
QM26

X
Close inspection - complete
QM27

X
Close partial lot
QM28

X
Cancel inspection - short-term
QM29

X
Create part. lot for insp. lot
QM30

X
Cancel inspection - complete
QM31

X
Reset status 'SPRQ'
QM32

X
Reset short-term ins. closing
QM33

X
Reset insp. closing w/o char.
QM34

X
Reset complete insp. closing
QM35

X
Confirm certificate receipt
QM36

X
Make usage decision
QM38

X
Start inv. pstg after UsageDec
QM40

X
Start inv. pstg bef. UsageDec
QM41

X
Inventory posting required
QM42

X
Complete inventory posting
QM43

X
Transfer results
QM44

X
Change usage decision
QM45

X
Insp.lot/part.lot for certif.
QM46

X
Update statistics
QM47

X
Transfer all results
QM48

X
Update quality level
QM50

X
Update quality info record
QM52

X
Cancel quality level change
QM53

X
Flag cancellation
QM54

X
Cancel inspection lot
QM55

X
Reset cancellation
QM56

X
Lock insp. lot for archiving
QM57

X
Reset archiving lock
QM58

X
Archive inspection lot
QM59

X
Read lot from archive
QM60

X
Delete detailed data for lot
QM62

X
Delete samples for lot
QM64

X
Delete characterist./operation
QM66

X
Delete inspection lot
QM67

X
Lot for process documentation
QM68

X
Revoke usage decision
QM90

X
Follow-up action - variant 1
QM91

X
Follow-up action - variant 2
QM92

X
Follow-up action - variant 3
QM93

X
Follow-up action - variant 4
QM94

X
Follow-up action - variant 5
QM95

X
Follow-up action - variant 6
QM96

X
Follow-up action - variant 7
QM97

X
Follow-up action - variant 8
QM98

X
Follow-up action - variant 9
QM99

X
Follow-up action - variant 10
QN40

X
Release task
QN41

X
Complete task
QN42

X
Task successful
QN90

X
Follow-up to notificatn Var 01
QN91

X
Follow-up to notificatn Var 02
QN92

X
Follow-up to notificatn Var 03
QN93

X
Follow-up to notificatn Var 04
QN94

X
Follow-up to notificatn Var 05
QN95

X
Follow-up to notificatn Var 06
QN96

X
Follow-up to notificatn Var 07
QN97

X
Follow-up to notificatn Var 08
QN98

X
Follow-up to notificatn Var 09
QN99

X
Follow-up to notificatn Var 10
QN9A

X
Follow-up to notificatn Var 11
QN9B

X
Follow-up to notificatn Var 12
RFBU

X
FI: Postings
RFBV


FI prelim. posting of invoices
RFIG

X
FI: Memo postings
RFLC


FI-LC: Business area consolid.
RFRK


CO -> FI reconcil. posting
RFST

X
FI: Statistical postings
RGG0


FI-GLX Actual postings (GB11)
RGG1


FI-GLX Plan postings (GB11)
RGL0


FI-GLX Actual postings (GB01)
RGL1


FI-GLX Plan postings (GB01)
RKAL


Set up reconciliation ledger
RKIB
X
X
Actual periodic repostings
RKIL
X
X
Actual inverse activity alloc.
RKIU
X
X
Actual assessment (Physical Plant assessments create these CO transactions)
RKIV
X
X
Actual distribution (Physical Plant Distributions create these CO transactions)
RKL
RKLN

X
X
Actual activity allocation (CATS can create these CO transactions)
Revaluation with Actual Price ( Excluded from VA90 expenses in 4.5B)

RKN
X

Actual non-alloc. activities
RKP1
X
X
Planning primary costs
RKP2
X

Planning activities
RKP3
X
X
Planning activity input
RKP4
X
X
Planning stat. key figures
RKP5
X
X
Planning revenues
RKP6
X

Planning activity-dep. costs
RKP7
X

Planning act.-dep. act. input
RKP8
X

Planning order costs
RKP9
X

Planning act.-dep. order costs
RKPB
X
X
Planned periodic reposting
RKPL
X
X
Planned inverse activity alloc
RKPQ


Manual cost planning
RKPU
X
X
Planned assessment
RKPV
X
X
Planned distribution
RKPW
X

Secondary order cost planning
RKPX
X

Sec.act.-dep.order cost planng
RKPZ
X

Planning: surcharge credits
RKRF


CO -> FI reconcil. posting
RKS
X
X
Enter statistical key figures
RKU1
X
X
Repost costs (KB11 transfer cost overruns create these activity types)
RKU2
X
X
Repost revenue
RKU3
X
X
Repost CO line items
RKWD


Alloc. of non-meas. activities
RMAF

X
Release operation
RMAP

X
Update routing
RMBA

X
Material purchase requisition (requisitions)
RMBE

X
Material purchase order (po)
RMBL

X
Material debit/credit
RMDR

X
Print order
RMEA

X
Assign
RMEB

X
Remove assignment
RMEP

X
Schedule
RMEZ

X
Remove dispatching
RMKA

X
Check capacity
RMKE

X
Determine costs
RMKF

X
Release component
RMKL

X
Delete component
RMLV

X
WMS: mat. provisn prodn order
RMM1


Settlement to material ledger
RMM2


Material ledger initialization
RMML

X
Material layer (LIFO)
RMNS

X
Reread master data
RMPR

X
Change in material price
RMRP

X
Incoming invoice (my CP documents have this transaction type)
RMRU

X
Confirm
RMSQ

X
Delete sequence
RMTD

X
Partial printing
RMTF

X
Partially release order
RMTM

X
Schedule order
RMUP

X
Reschedule
RMVA

X
Change
RMVC

X
Maintain operation number
RMVF

X
Check PRT availability
RMVL

X
Delete operation
RMVM

X
Check material availability
RMVP

X
Change routing
RMVR

X
Confirm operation
RMVS

X
Release PRT for use
RMVT

X
Lock PRT from use
RMVU

X
Use production resources/tools
RMWA

X
Goods Movement
RMWE

X
Goods receipt for purch. order
RMWF

X
Goods receipt for prodn. order
RMWI

X
Inventory difference
RMWL

X
Goods issue delivery
RMWQ


Goods movement for usage dec.
SD00


Billing document
SDDN

X
Create delivery
SDEF

X
Activate final billing doc.
SDES

X
Revoke "Fully billed"
SDGI

X
Post goods issue
SDIN

X
Create billing document
SDOR

X
Create sales document
SDQU

X
Create quotation
SDRQ

X
Create inquiry
SPAB

X
Close standard WBS
SPFR

X
Release standard WBS
 

Monday, August 12, 2013

PS Database Tables Involved

OBJECTIVE OF THE DOCUMENT

The modules involved in logistics in SAP are tightly integrated between each other and works seamlessly in an organization. The module which aligns centrally to all the logistics modules in the planning, execution and management of capacities, resources and costs is Project System popularly called as PS. In the light of this, it is very much important for consultants to know various elements of the project and how these elements are related to each other. Knowing the project structure and its elements along with the database tables will help the consultants to devise customized reports for various scenarios suiting to individual projects.

This document contains
  • Database tables for each of the project elements
  • Connecting link between various database tables
This document does not contain
  • Detailed information about the elements of project though it is precisely mentioned for the purpose of understanding
  • Costing related data as my knowledge level is very less in this area
  • Detailed information about the module as such and the processes involved
  • Transaction codes for all the project elements. However it is included wherever possible.
This document explains the logic only around the functionalities enabled in PS system, but not in any other modules like PP or PM. Even in those modules some of these tables may be used, but the logic mentioned here explains the usage, logic and joins between these tables only in the perspective of PS.

ELEMENTS OF PROJECT AND THEIR TABLES

A project is initiated with the intention of creating a unique purpose; it can be a product a service or combination of both.

In order to manage the project, the project is subdivided into various small deliverables called WBS elements or Work Breakdown Structures. Each such deliverables can be used to plan costs and revenues, resources and capacities.

In some cases, the projects are

PROJECT

Project is at the highest level and WBS elements are networks are subordinates of the project. The costs are revenues at the network or WBS level will finally accrue as the cost and revenue of the project.

The database table which contains the relevant information about the project is PROJ. In this table the field PROJ-PSPNR represents the project number. There is also another field PROJ-OBJNR is an important field as this field serves as the foreign key for making any queries at the project level. This is the key field for finding the status of the project. The method to find out the status of the project is dealt in the later part of the document.

WBS ELEMENTS
A project can have many WBS elements assigned to it. The details pertaining to the WBS elements are available at the database table PRPS. The table has the field PRPS-PSPNR has the WBS element number. The project related to the WBS element can be obtained from the field PRPS-PSPHI. Hence using this field all the WBS elements assigned a project can be easily found in any custom report. The table PRPS also has got another field called PRPS-OBJNR which is the linking field to any other tables containing various information related to the WBS element. This field is the key field for finding the status of the WBS element. The method to find the status of WBS element using this field is dealt in the later part of this document.

A project can also contain various networks. Networks contain lot of activities which are linked to each other by means of different relationship types. The duration which each activity takes and lead time or lag time between two activities are also available in the network. Some of these activities are also earmarked as Milestones in the project and based on the Milestone completion; revenue generation can be initiates in Sales and Distribution by means of an invoice creation for the relevant Milestone using Milestone billing functionality. In a network enabled business scenario, all the details of the project like Schedule, cost, capacity and reservations will flow from network to the higher level structures like WBS element and project. Various features of the network and their underlying database tables are discussed below here.

NETWORK HEADER

The database table AUFK contains the network header related information. Some of the important fields available in this table are listed one by one as follows.

The field AUFK-AUFNR represents the network number created in the system.

The field AUFK-OBJNR is a field which will be used as a foreign key in case this table needs to be linked with some other table.

The field AUFK-PSPEL represents the WBS element which is linked to the network at the header level. However if the business scenario involves activities within the network, this field may not be of much use as each activity can have different WBS elements of the same project. This field assumes importance if the networks are used without activities.

In case of assembly processing, where a network is created from a sales order using standard project elements the fields AUFK-KDAUF and AUFK-KDPOS represents the sales order number and line item respectively which triggered the network. These fields are seen in the network header in the fields Sales Order Number and Sales Order Item in the Assignments tab.

There is also another table CAUFV which is similar to AUFK but CAUFV has some other additional information related to costing etc. The table CAUFV is very important because this table is the central table using which all the other network related tables are accessed. Some of the important fields in this table are discussed below.

The field CAUFV-AUFNR represents the network number which is same as AUFK-AUFNR.

The field CAUFV-AUFPL represents the connecting link between all the related tables. The field which is read as “Routing number of Operations in the Order” is the main field to be used for any join using this table.

NETWORK ACTIVITIES

The details pertaining to network activities can be obtained from the table AFVC. When a network number is known it should be passed as CAUFV-AUFNR and the resultant CAUFV-AUFPL and CAUFV-BEDID should be obtained.

Now the value of CAUFV-AUFPL should be passed as AFVC-AUFPL and AFVC-BEDID respectively. The resultant list gives the list of all the activities of the network.

Various fields and their importance are provided in detail below.

The field AFVC-VORNR refers to the activity number of the activity in the network. This number can serve as the foreign key in many of the tables associated with the network activities. However there are also other fields which can serve as foreign keys in different tables.

The field AFVC-APLZL refers to the counter number of the activity. This is an important field when the network relationships are to be found out.

There are various fields related to control key of the activity, activity description, plant, work center, calculation type etc which can be seen using this logic and hence those fields are not discussed in detail here.

The data pertaining to planned cost for primary cost activities can also be found in this table in the fields AFVC-PRKST for the planned cost and AFVC- SAKTO for the cost element against which the cost is planned.

There is also another table AFVCP where AFVCP-AUFPL = CAUFV-AUFPL using which the WBS element assigned to each of the activities can be found out.

NETWORK RELATIONSHIP

The details pertaining to the relationship of the network activities can be seen from the table AFAB. In this table following are the fields which are very important.

The field AFAB-AUFPL_VOR represents the CAUFV-AUFPL of the network where the preceding activity is located.

The field AFAB-APLZL_VOR represents the preceding activity counter number of the network. This value is same as the value of the field AFVC-APLZL
 
The field AFAB-AUFPL_NCH represents the network number of the succeeding activity.

The field AFAB-APLZL_NCH represents the counter number of the network which is same as the value of the field AFVC-APLZL.

If the relationship of all the activities are within a single network without involvement of any other sub network like a task list or maintenance order etc, then the field values will be same for both AFAB-AUFPL_VOR and AFAB-AUFPL_NCH. In such a scenario the value of the fields AFAB-AUFPL_VOR and AFAB-AUFPL_NCH will be same. In a case where the activities of one network are related to activities of some other network, then these fields will have different value. Hence if the relationship of activities in a network needs to be found, then it is necessary to give the condition that CAUFV-AUFPL should be in either AFAB-AUFPL_VOR or (not and) in the field AFAB-AUFPL_NCH.

NETWORK MILESTONES

Some of the network activities can be maintained as milestones and the list of milestones can be obtained from the database table MLST. In order to get the information of all the milestones of the network the table CAUFV and MLST can be used.

The field CAUFV-AUFPL can be given as an input in MLST-AUFPL and the resultant list provides the list of milestones of the network.

The field MLST_ZAEHL is the Milestone number. This field can be used to get information about milestones from different database tables. For all those purposes, this field can be used as the foreign key.

The field MLST- MLSTN provides the Milestone usage.

If the MS is confirmed then the confirmation number can be obtained from the field MLST- RUECK.

The table also has information related to Trend analysis, Progress analysis, Milestone functions etc which can be analyzed in detail. As the key fields are already mentioned, it should be easy to get all the other necessary details used this table.

NETWORK MILESTONE CONFIRMATION DETAILS

The status of the confirmed milestones of a network can be found from the table AFRU. Some of the important fields in this table are discussed below.

The field AFRU-AUFPL represents the link with all the other tables of the network where this field equals to the field CAUFV-AUFPL or AFVC-AUFPL or MLST-AUFPL. Using this table AFRU can be accessed.

The field AFRU-VORNR represents the activity number whose milestone is confirmed

The field AFRU-APLZL represents the counter number of the activity in the network. This is nothing but the AFVC-APLZL number.

The field AFRU- RUECK represents the confirmation number. This field is available both in AFRU and also in MLST. However MLST gives the information that the milestone is confirmed but AFRU also says whether the confirmation is a final confirmation or not in the field AFRU- AUERU.

Once this information is known, any other confirmation related information can be extracted either from the table MLST or from AFRU based on requirement.

NETWORK MATERIAL COMPONENTS

The details pertaining to material components and their assigned transactions can be seen in the tables RESB, AFWD and AFWI.
 
Some key fields of the table RESB are first explained.

The field RESB- AUFNR represents the network number which triggered the reservation. As this table is the central table for reservation happening from various other transactions like sales order, planned order etc, different fields will be updated during different transactions. If the reservation is triggered through the network, then this field will be filled. For items which do not create reservations from material components, this table is not valid.

The field RESB- RSNUM represents the reservation number and this can be used to find out all the reservation related data.

There are other important fields like requirement quantity and requirement date which can be easily found once this key field is known.

Similarly the tables AFWD and AFWI deals with the material movements associated with the confirmation of milestones. Because of my limited knowledge on these tables, I am just mentioning these tables and leave the rest for exploration.

STATUS OF THE PROJECT ELEMENTS

There are two tables related to the status of any transaction provided the transaction is enabled for statuses using a status profile. They are JCDS and JEST. There are also two other tables TJ02 and TJ30 and these tables are also discussed here.

Any transaction with the status profiles enabled will get updated in tables which will definitely have a field called OBJNR. For example the tables relevant for project, WBS element and network namely PROJ, PRPS and AUFK have this field OBJNR. This field forms the basis for finding out the correct status.

In other modules transactions include sales order, production order, planned order, maintenance order, task list etc will also have the object number. In sales order object number will be available for both sales order header and item. Accordingly the statuses can be seen both at sales order header and at item level. Similarly each transaction has its own structure and their respective object number.

The table JCDS shows the change history of the status. The relevant object number OBJNR should be given as the input here and the output should be received.

Here the field JCDS- STAT represents the status. Any status with the prefix E is the user status and the one with the prefix I is the system status.

In order to get the correct system, the value from this field should be passed on into the field TJ02-ISTAT to get the system status.

For user status the field TJ30- ESTAT should be filled with the value of the field JCDS-STAT to know the actual user status. However my knowledge in this table is very limited and there seems to be some more logic involved to find out the correct status. That part is left for exploration. I will update this logic later if I can find this.

The table JEST shows the current status of the object. The same logic should be used as explained earlier.

The fool proof logic for status identification still needs to be explored.

PROJECT VERSIONS

The database table pertaining to the version of the project elements follows the syntax VS<DATABASE TABLE OF THE OBJECT>_CN. Using this logic the project versions of all the objects can be found out without any problem.

CONCLUSION

This document still can be evolved by providing information on the logic for getting the information pertaining to actual costs, actual revenues etc. As of now, I am in the process of trying to standardize the logic for getting these elements and the same will be updated whenever it is ready. For now, let us all make use of this document and enjoy the world of PS ing in SAP.