You are on page 1of 4

FUNCTIONAL SPECIFICATION REPORT BMTC

Functional Specification Document

On

Batch configuration
Version 1.0

1
FUNCTIONAL SPECIFICATION REPORT BMTC

Detailed Functional Description

1.1 Introduction:
Conversion of existing material into batch material which are not having batch and also stock
available on the same material.

1.2 Technical Details:

Input Parameter is Material, Plant, Storage Location

Check Material is Dependent / Non Dependent

1. Check in Open Sales Order


2. Check in Open Purchase Requisition
3. Check in Open Purchase Order
4. Check in Open Vendor Stock

Fields Logic

Check in Open Pass MATNR in VBAP take VBELN & POSNR


Sales Order AGAIN PASS VBELN & POSNR IN TO VBUP
CHECK STATUS GBSTA)
If status is A its mean so is open
A Not yet processed

Check in Open Pass the MATNR ( Material ) , WERKS ( Plant ) ,


Purchase LGORT( Storage Location ) in EBAN table, Extract the purchase
Requisition Requisition ( BANFN ) and status ( STATU ) = N

Check in Open Go to EKET table pass EBELN (Purchasing Doc.) and extract EBELP (Item),
Purchase Order MENGE (Scheduled Qty) and WEMNG (Delivered)

If MENGE (Scheduled Qty) is not equal to WEMNG (Delivered), that means


PO number (EBELN) is opened.
And extract all the EBELN data and stored in a Z table for further
process.
Check in Open Pass MATNR (Total Special Stocks with Vendor) in MSSL to get the QTY
Vendor Stock from SLLAB and vendor number (LIFNR),

Pass Vendor code and Components Provided in ME2O transaction and


get the PO number.

2
FUNCTIONAL SPECIFICATION REPORT BMTC

Do the MIGO for the pending qty which is available in SLLAB and make
the stock ZERO at vendor’s end.

Create a Log Table & Report for Dependent Material.

If Material is Dependent

Close the PR, PO, & SO (through Log table we will know the sales order / Po/ PR Number)
In log table we have check box so user have to check and click on close.

If Material is Non Dependent

Non Dependent material means that type of material which have stock / without stock but there is no any open
PR, PO, SO, Open Vendor Stock

If material is nondependent then we have two situation


(a) Without Stock
(b) With Stock

IF MATERIAL IS WITHOUT STOCK .


Got to material and check Batch Option. (Use BAPI)
(Already we have Input parameter)

IF MATERIAL IS WITH STOCK.


Take Unrestricted stock, Stock in Transit, Quality Stock, Restricted & Block Stock and put in
to a Z-Table with Material, Plant, St. Location)

Make Stock Zero from Material.


Assign Batch.
Again Assign Back Quantity form ZTable

3
FUNCTIONAL SPECIFICATION REPORT BMTC

Title Table Field Logic

LBAST ( Unrestricted use) UMLME After Run the program. If no stock


Existing material without MARD (Stock in Transfer) INSME (Quality and dependency on the material.
batch inspection stock) EINME (Restricted Convert the material into batch. If
use) SPEME ( Blocked Stock) stock is there System will make all
the stock ZERO
Dummy Material With MARD LBAST ( Unrestricted use) UMLME Stock will transfer from Existing
batch activated (Stock in Transfer) INSME (Quality material to New batch configured
inspection stock) EINME (Restricted material.
use) SPEME ( Blocked Stock)
Existing material MARA XCHPF – Batch field Tick the batch active

1.4 Reference:

Input Screen,

 Existing Material Number –


 Dummy material number –
 Dummy material batch -

You might also like