Вы находитесь на странице: 1из 7

Siemens Information Systems Ltd.

Project
Name:
Document
Name:

JAL-Cement Division

Document
ID:
Prepared
by:

JP_FS01_PP006_V1.00100608.doc

Version: 1.0

Ajay Agarwal
(ABAP
Consultant)

Contact
No.

Date:

Contact
No.
Contact
No.
Contact
No.

Date:

Reviewed
by:
Approved
by:
Released
by:

Technical Specification for Power Planning of Clinker

Ajay Agarwal
(ABAP
Consultant)

13.06.2008

Date:
Date:

13.06.2008

Revision History
SR.
NO.

VER

DATE

SION
NO.

REVISI

OF

SECTION
NUMBER

DESCRIPTION
OF CHANGE

REASON FOR
CHANGE

CHANGE
MADE BY

REVIEWED
BY

ON

QMS-40418-V1.4
SAP_Product Implementation Procedure

Page 1 of 7

Controlled Document
Copyright - Do Not Duplicate

Siemens Information Systems Ltd.

SAP_ABAP_TECHNICAL SPECIFICATION_ REPORT


1. Program Details
Program name: ZRPP002A
Trial Balance
Title:
Reference Functional Specification:

JP_FS01_PP006_

Version:

1.0

V1.00100608.doc
Deviation from Functional Specification:
DEV
Server Name:
Server IP address:
172.16.4.158
Client:
102
ZPP006
Development
ZPP
Transaction code:
class:
(for this program)
ECDK903602
Authorisation
Transport Request:
Group:
Program type:
( ) Report Interactive ( X ) Report
( ) Standard Modification
( ) Online program
Characteristics
Type:
Technique:
Priority:
Technical
description:

( ) Drill-down
(
( ) Entry files
(
( X ) Creation
( ) Report Painter (
( X ) ABAP Program (
( X ) high-mandatory

) Push buttons ( X ) Sort


) Others: _____________
( ) Change
) Report Writer ( ) ABAP Query
) Info System
( ) medium-recommended ( ) low-optional

Production Planning of Clinker

QMS-40418-V1.4
SAP_Product Implementation Procedure

Page 2 of 7

Controlled Document
Copyright - Do Not Duplicate

Siemens Information Systems Ltd.


2. Design of desired screen (select-options):
Material Code :
Plant :
Date :
Selection Screen
Variable
P_MATNR
P_WERKS
S_DATE

ReferenceField / Type

Selection
Option/Parameter

MARA-MATNR
MKAL-WERKS
MKAL-ADATU

Parameter
Parameter
Select-options

Screen level
Validation /
Comments

Additional details

4. Tables
Name
MARA
MKAL
PLPO
CRHD
KAKO
T247

5. Other Dictionary Objects


Name

Description
General Material Data
Production Versions of Material
Task list - operation/activity
Work Center Header
Capacity Header Segment
Month name and short text

Description

6. Lock entries (Applicable for more then one user)


Lock objects
Description

7. Authorisation
Name

Description

8. Called Programs/ Transactions


Name
Description

QMS-40418-V1.4
SAP_Product Implementation Procedure

Page 3 of 7

Controlled Document
Copyright - Do Not Duplicate

Siemens Information Systems Ltd.


9. Function Modules
Name

Description

HR_99S_INTERVAL_BETWEEN_DATE
S
LAST_DAY_OF_MONTHS
HR_HK_DIFF_BT_2_DATES
OIU_T247_READ

Get days, weeks, months and years between dates


To find Last Day of the Month
HR-HK: Calculate the days, months and years between 2 dates.
Reads month text from table Tt247

10. Include programs


Name

Description

ZRPPY002A_TOP
ZRPPY002A_F01
ZRPP002A_SUB

Include for data declaration


Include for subroutines (forms)
Include for sunroutines.

11. Design of desired report:


Power Planning of Clinker
WORKCENTER
MONTH YEAR

RUN-DAYS

OUTPUT/DAY

OUTPUT/MONTH

SHUT DOWN PERIOD POWER

Output File01 (Which might be downloaded after the listing is through)


File name:
File Type:
Delimiter Info.
Server Name:
Server IP address:
Layout file
Position
Field name
Type Len
Dec
Description

Client:

Additional details:

12. Proposed Data Gathering / Processing Logic


Data Gathering
Processing Logic

For This Material Code check in table MKAL for plant field name WERKS check for
Production version in the field VERID. For each Production Version check for task list
PLTYG = R and Group field PLNNG . From the Table PLPO for each group field and
check for operation number in the field VORNR = 0010 for each group counter check for
object ID ARBID. From table CRHD for this object ID their corresponds a Work Center
ARBPL. For the object id in the table CRHD select the corresponding capacity id from
the field KAPID .From the table KAKO for the corresponding capacity id. calculate the
available capacity in hrs.per day by multiplying finish time (ENDZT) start time (BEGZT)
which is in seconds by capacity utilization (NGRAD) the value of capacity utilization has
been defined in %.The production quantity on that work center which can be produced

QMS-40418-V1.4
SAP_Product Implementation Procedure

Page 4 of 7

Controlled Document
Copyright - Do Not Duplicate

Siemens Information Systems Ltd.


per day will be calculated for operation 0010(VORNR) by multiplying the base quantity
(BMSCH)in table PLPO / run hrs (VGW02) * available capacity in hrs per day .
Check : When for mulitple entries for Production version , ensure that calculation for
same work center does not take place if defined more than once in the Group field.
Available capacity in Hrs = (Finish Time - Start time)* (Capacity Utilisation/100)
Output / Day = Base Qty / RunHrs * Available Capacity
Output / month = Output / Day * Run Days in Month
Total Output / month = Output/ Month of all Work centers
STEP 1: The input material MATNR and the plant WERKS to be put in table MAST and
STLNR and STLAL to be taken. The value of STLAL to be taken for 02 only for input
material only. For components other than the input material STLAL would be the one that
is there.
STEP 2: The value of STLNR and STLAL to be put in table STAS and pick the relevant
STLKN.
STEP 3: With the relevant STLKN and the STLNR put the values in table STPO and get
the values of the Component IDNRK and the Quantity MENGE.
STEP 4 : Take all the values of IDNRK and put in MATNR in table MARA and select the
materials with material type that is MTART =1200
This cycle has to be repeated from the header material and all the components in the
BOM So that we get only those materials which are of material type =1200 and their
relative Quantity.
STEP 5: The input material i.e. MATNR for the Input Plant i.e. WERKS with PLNTY= R to
be put in table MAPL and get the values of PLNNR and ZAEHL. Check for each PLNNR
if the Deletion Indicator LOEKZ is there. If yes, Ignore that PLNNR.
Note: For Multiple entries in ZAEHL, each entry of ZAEHL to be taken one at a time for
calculation.
STEP 6: Put this PLNNR and ZAEHL in table PLPO and get the value of ARBID, base
qty BMSCH and the power consumption VGW01.
STEP 7: Put the value of ARBID in OBJID in table CRHD and get the respective value of
OBJTY and OBJID.
STEP 8: Put this value of OBJID and OBJTY in OBJID_HO and OBJTY_HO in table
CRHS respectively and get the relative value of OBJID_HY and OBJTY_HY.
STEP 9: For the Values of OBJID_HY and OBJTY_HY in table CRHS, get all the
relevant values of OBJID_HO and OBJTY_HO.

QMS-40418-V1.4
SAP_Product Implementation Procedure

Page 5 of 7

Controlled Document
Copyright - Do Not Duplicate

Siemens Information Systems Ltd.


STEP 10: Step 5 Step 6 to be done for all the components segregated in Step 4 to
match the value of ARBID to OBJID_HO for each OBJID_HY.
STEP 11: Power Calculation For The POWER for 1 ton of Clinker :
For each OBJID_HY of the header material that is input material :

P1( For Each OBJID_HO in each OBJID_HY) = VGW01( Step 6)/ BMSCH ( Step 6) *
MENGE ( Step 3)
P2 ( For Each OBJID_HO in each OBJID_HY) = VGW01( Step 6)/ BMSCH ( Step 6) *
MENGE ( Step 3)
P3 ( For Each OBJID_HO in each OBJID_HY) = VGW01( Step 6)/ BMSCH ( Step 6) *
MENGE ( Step 3)
P = P1+P2+P3
This value of Power P is for all months. However , for the Input period for Monsoon
Months Power P(Monsoon) = P+ Power Factor input for Monsoon Months in the
input Screen
Power For Shutdown Period P ( Shutdown )= P+ Power Factor input For Shutdown
in the input Screen
Shutdown Period is one in which we the work Center has Shutdown Order.
Check all Orders between Basic Start (GSTRP) & basic Finish (GLTRP) in table AFKO.
Put all these Orders in Table AUFK & select orders with Order type (AUART) = MO04
with their respective Object No.(OBJNR). Put the Object Number (OBJNR) in table JEST
and select orders of status Released(I0002) Put these released orders in table AFIH &
check orders with System Condition (ANLZU) = 0. For these orders get the respective
Equipments (EQUNR) from same table & shut down time for each Equipment from the
table AFKO. For EQUNR Get ILOAN from table EQUZ. Put ILOAN in ILOA & get
PPSID (Work Center Id). In table CRHD we can get ARBPL Work center ID.Calculate the
shutdown time for those specific Work centers in no. of days.
Check : The Work center code in Operation must be same for which shutdown time has
to be calculated.
Run Days in a month = No. of days in a month -1 - Shutdown Time
Shut Down Period = Shutdown time in days

13. Issues:

QMS-40418-V1.4
SAP_Product Implementation Procedure

Page 6 of 7

Controlled Document
Copyright - Do Not Duplicate

Siemens Information Systems Ltd.

QMS-40418-V1.4
SAP_Product Implementation Procedure

Page 7 of 7

Controlled Document
Copyright - Do Not Duplicate

Вам также может понравиться