You are on page 1of 8

FUNCTIONAL SPECIFICATION DOCUMENT FOR ENHANCEMENT

CLIENT must able to upload the measuring document directly using an excel
sheet for bulk list of measuring point:
INPUT/INITIAL SCREEEN:

1. ENTRY LIST: WHRE WE CAN PUT ENTRY LIST NUMBER, IT WILL SHOW
ACRONYM OF THAT LIST,
2. BROWSE FILE, FROM WHERE USER CAN ATTACH THE FILE
3. DEFAULT VALUE OF MEASU DATE AND TIME, READ BY
Functional Design:

Step 1:

End user should able to upload the measuring document against the measuring point and this template
should be used as standard template across the business and user will make entry in the template and
he can upload this in sap which automatically create measuring document. The frequency of uploading
template this would be once time in per day.

Step 2: define template


Step 3: Create new selection screen for user to upload the document from this screen and create the T-
Code for that jump on that screen.

TABLE FOR TCODE : TSTC

On initial screen there is document number and name on the screen and upload doc option

Step 4: once clicks on execute, in the backend the function module:


MEASUREM_DOCUM_RFC_SINGLE_001.

Pass The Value Of

BAPI_TRANSCTION_COMMIT

FIELD IN TEMPLETE FIELDS IN FUNCTIONAL MODULE


MEASUREMENT_POINT Measuring Point
READING _DATE Reading date
READING _TIME Reading Time
RECORDED_ Reading Recorded_ reading
RECORDED_UNIT Unit of Measurement

STEP 5: Apart from passing the above values, there are few fields in must be checked X by default.

ORIGIN_INDICATOR=X

PREPARE_UPDATE= X

COMMIT_WORK= X

WAIT_AFTER_COMMIT=X

Error handling:

Step 1: If doc gets created in backend display an successful document, So display “successful massage”
step 2 : If there is an error in template the measuring point wrt to equipment then logic should be able
to validate the before passing the value in the above FM

Logic for validation

Pass the equipment number in field if EQUI-EQUNR and get value of EQUI- OBJNR.

Pass value of OBJNR in field IMPTT- MPOBJ AND get the value of IMPTT-POINT.

Validate whether the displayed measuring point in excel wrt the displayed value in field POINT.

If the same then proceed to execute FM, if not throw the error massage “ Wrong measuring point is
maintained”

FUNCTIONAL SPECIFICATION DOCUMENT FOR “REPORT”

Steps writing FD for form


Step1: create the form layout first, number each field present in form

Label 1: logo
DISPLAY OREDR TYPE: PASS THE VALUE OF ORDER NO IN AUFK-AUFNR & get value of AUART (order
Type)

Label 2: order type descr. PASS VALUE OF ORDER NO IN AUFK-AUFNR AND FETCH VALUE OF KTEXT

Pass the order number in field AUFK-AUFNR and get the value of AUFK-AUART (ORDER TYPE).

PASS THE AUART IN T03O-AUART AND FETCH VALUE OF T003O-TXT.

DISPLAY THE THIS IN LABLE 2 IN THE FORM.

LABLE 3: Always show the date

Label 4: pass value of order no AFIH-AUFNR AND GET VALUE OF AFIH-EQUINR. DISPLAY THIS IN LABLE 4.

LABLE 5 : FLOC,

Pass value of order no AFIH-AUFNR AND GET VALUE OF AFIH- ILOAN. Pass the value of ILOAN in IN
ILOA- ILOAN and get value of ILOA-TPLNR. DISPLAY in label 5

Label 6 : Work Center, pass the value of order no in field of AFIH-AUFNR and get value of AFIH-GWERK.

PASS THIS VALUE IN CRHD-OBJID AND GET VALUE OF CRHD-ARBPL.

LABLE: 12 OPERAATION TEXT

PASS ORDER IN AFKO- AUFNR AND GET VALUE OF AFKO-AUFPL.

PASS THE VALUE OF AUFPL IN AFVC-AUFPL AND GET VALUE OF AFVC- LTXA1.

LABLE 8: DURATION

PASS ORDER IN AFKO- AUFNR AND GET VALUE OF AFKO-AUFPL.

PASS THE VALUE OF AUFPL IN AFVV-AUFPL AND GET THE VALUE OF AFVV-ARBEI.

LABLE 9: MATERIAL REQUIRED

Pass the order in RESB_AUFNR and get the value of RESB-MATNR (MATERIAL UTILIZED), RESB-BDMNG
(quantity), RESB-MEINS (UOM).

Label 10: SLOC storage location

Pass the order in RESB_AUFNR and get the value of RESB- LGORT

Label 11: created by

Pass order value in AUFK-AUFNR, AND GET VELUE OF AUFK-ERNAM.

Label no. 12: EQUIMENT NUMBER

Pass the order no. in field AFIH-AUFNR and get value of EQUNR (equipment number)

Label 13: notification


Pass the value of Order no in QMEL-AUFNR and get value of Notification No.
FUNCTIONAL DESIGN FOR “INTERFACE” OBJECT (SAP TO THIRD PARTY)
PROXY APPROACH
STEP 1:

MAPPING DOCUMENT:

contain the source fields from DCS/SCADA and receiver fields from SAP defined in this document

step 2: we are taking file from client in .txt

fields Field descry Data type Length

Elect_con Electrical power cons char 8

Comp_RN_HR Compressor running Char 3


hours

Same table we will create on both side on DCS side and SAP side too.

Step 3: after conforming all ok with DCS spoc we will give doc to ABAP and will convert this doc in .XML
format.

Now this will store this one Z table suppose name Z_READING_DOC, ALSO HERE CTEATED ONE
Z_REPORT.

Here it is ALSO IMPORTANT THAT READING COMING FROM THAT DOC ALSO NEED TO DISPLAY IN THE
MEASURING DOC ALSO SO FOR WE NEED TO FIND BAPI / FUNCTION MODULE FOR CREATING
MEASUREMENT DOCUMENTS

(USE GOOGLE FOR SEARCH AND TEST THAT BAPI ON THE SE37) MEASURING_POINT_SINGLE_101

FOR TESTING BAPI JUST TAKE ONE EXAMPLE OF ONE MEASURING POINT PUT ITS VALUE IN BAPI AND
OTHER RELENT VALUE THAT NEED TO MEASURE SO EXCECUTE BAPI. ALSO RUN OTHER FUN. MODULE
BAPI_TRANSCTION _COMMIT.

NOW QUESTION HOW WE WILL GET THE MEASURING POINT :

1. WE HAVE EQUIMENT NO. THAT FOR WE ARE TAKING THIS ABOVE READING

2. NOW PASS THE VALUE OF EQUI-EQUINR, COPY VALUE OF OBJNR

3. PASS THE EVALUE OF OBJNR TO IMPTT- MPOBJ (TABLE FOR MEASURING POINT)

4. GET VALUE OF IMPTT-POINT.

5. PASS THIS VALUE TO MEASURING POINT IN BAPI.


FUNCTIONAL DESIGN FOR “ENHANCEMENT” OBJECT

To perform Condition-based maintenance activities we need to configure


Valuation Code for Measuring Points in order to valuate measuring readings,
hence triggering notifications.
Step 1: In customizing for plant maintenance (measuring point category)mention the catalogue you
want to use for creating the code group.
step 2: go to qs41, create valuation codes for respective code group
step 3: activate the enhancement IMRC0001 in Project management of enhancement t.code SMOD
step 4: Activate its component Exit_saplimr0_001.
step 5: Press ICON “Adopt Sample Code”
step 6: activate ZXMRCU01 program

now chek whether notification is generated or not, by entering valuation code in measuring point.
Note: Notification will be triggered only by valuation code ( i mean codegroup–code) not by
parameter value (characteristic value). For any more details, respond back
1. At the time of release of maintenance order, the spare part quantity need to determine and populate
automatically

2. At time of ORDER conformation, system need to populate some text.

Here we use “User exit”

You might also like