You are on page 1of 3

SFG Sample Report:

Input:

Input:

Plant (WERKS): 1110 to 1120 (Mandatory)

Batch Number(CHARG): 0001000244 to (optional)

Material(MATNR): 1000063 (optional)

Out Put:

Product: pass QPRN-MATNR to MAKT-MATNR and fetch MAKT-MAKTX

Condition 1: If only plant has given input pass input to QPRN-WERKS fetch QPRN-MATNR,QPRN-
CHARG
Condition 2: If WERKS and CHARG is given pass input to QPRN-WERKS,QPRS-CHARG and get QPRN-
MATNR
Condition 3: If WERKS, CHARG and MATNR pass input to QPRN-WERKS,QPRN-CHARG,QPRN-MATNR
if QPRN-CHARG exist then fetch QPRN-MATNR.
Condition 4: If WERKS, MATNR has given pass input to QPRS-MATNR if QPRN-CHARG exist fetch
QPRN-MATNR.

Batch: pass Product (MATNR) to QPRN-MATNR and fetch QPRN-CHARG.


Mfg. Date: Pass QPRN-CHARG to MCH1-CHARG fetch MACH1- HSDAT
Exp. Date: Pass QPRN-CHARG to MCH1-CHARG fetch MACH1- VFDAT
Blend/Bulk sample Qty: Pass MATNR, CHARG to QALS-MATNR.QALS-CHARG filter QLAS-HERKUNFT
with 03 and get QALS-PRUEFLOS,QALS-AUFNR Pass QALS-PRUEFLOS to QAPP-PRUEFLOS if data exist
then pass QALS-AUFNR to AFKO-AUFNR and get AFKO-AUFPL, pass AFKO-AUFPL to AFVC-AUFPL and
filter AFVC- PHSEQ with Z1 and get AFVC- PLNKN, pass QALS-PRUEFLOS,AFVC-PLNKN to QAPP-
PRUEFLOS,QAPP- VORGLFNR get QAPP-PHYNR, Pass QAPP-PHYNR to QPRS-PHYNR and fetch values
of QPRS- MENGE.
Given by date & time: Pass QAPP-PHYNR to QPRS-PHYNR fetch concatenate values of QPRS-
AENDT, QPRS- AENZT.
Received by date& time: Pass QAPP-PHYNR to QPRS-PHYNR get QPRS- OBJNR, Pass QPRS-OBJNR to
JCDS- OBJNR and filter JCDS- CHIND with ‘U’ and fetch concatenate values of JCDS- UDATE,JCDS-
UTIME.

Compressed Tablets / filled Capsules sample Qty: Pass MATNR, CHARG to QALS-MATNR.QALS-
CHARG filter QLAS-HERKUNFT with 03 and get QALS-PRUEFLOS,QALS-AUFNR Pass QALS-PRUEFLOS
to QAPP-PRUEFLOS if data exist then pass QALS-AUFNR to AFKO-AUFNR and get AFKO-AUFPL, pass
AFKO-AUFPL to AFVC-AUFPL and filter AFVC- PHSEQ with Z2 and get AFVC- PLNKN, pass QALS-
PRUEFLOS,AFVC-PLNKN to QAPP-PRUEFLOS,QAPP- VORGLFNR get QAPP-PHYNR, Pass QAPP-PHYNR
to QPRS-PHYNR and fetch values of QPRS- MENGE.
Given by date & time: Pass QAPP-PHYNR to QPRS-PHYNR fetch concatenate values of QPRS-
AENDT, QPRS- AENZT.
Received by date& time: Pass QAPP-PHYNR to QPRS-PHYNR get QPRS- OBJNR, Pass QPRS-OBJNR to
JCDS- OBJNR and filter JCDS- CHIND with ‘U’ and fetch concatenate values of JCDS- UDATE,JCDS-
UTIME.

Coated Tablets sample Qty: Pass MATNR, CHARG to QALS-MATNR.QALS-CHARG filter QLAS-
HERKUNFT with 03 and get QALS-PRUEFLOS,QALS-AUFNR Pass QALS-PRUEFLOS to QAPP-PRUEFLOS
if data exist then pass QALS-AUFNR to AFKO-AUFNR and get AFKO-AUFPL, pass AFKO-AUFPL to
AFVC-AUFPL and filter AFVC- PHSEQ with Z3 and get AFVC- PLNKN, pass QALS-PRUEFLOS,AFVC-
PLNKN to QAPP-PRUEFLOS,QAPP- VORGLFNR get QAPP-PHYNR, Pass QAPP-PHYNR to QPRS-PHYNR
and fetch values of QPRS- MENGE.
Given by date & time: Pass QAPP-PHYNR to QPRS-PHYNR fetch concatenate values of QPRS-
AENDT, QPRS- AENZT.
Received by date& time: Pass QAPP-PHYNR to QPRS-PHYNR get QPRS- OBJNR, Pass QPRS-OBJNR to
JCDS- OBJNR and filter JCDS- CHIND with ‘U’ and fetch concatenate values of JCDS- UDATE,JCDS-
UTIME.

Other sample Qty: Pass MATNR, CHARG to QALS-MATNR, QALS-CHARG filter QLAS-HERKUNFT with
03 and get QALS-AUFNR pass QALS-AUFNR to QPRN-AUFNR get QPRN- PN_NR , Pass QPRN-PN_NR
to QPRS- PN_NR filter QPRS- PRART with 22 and fetch QPRS-MENGE.
Given by date & time: Pass MATNR, CHARG to QALS-MATNR, QALS-CHARG filter QLAS-HERKUNFT
with 03 and get QALS-AUFNR pass QALS-AUFNR to QPRN-AUFNR get QPRN- PN_NR , Pass QPRN-
PN_NR to QPRS- PN_NR filter QPRS- PRART with 22 and fetch concatenate values of QPRS- AENDT,
QPRS- AENZT.

Received by date& time: Pass MATNR, CHARG to QALS-MATNR, QALS-CHARG filter QLAS-
HERKUNFT with 03 and get QALS-AUFNR pass QALS-AUFNR to QPRN-AUFNR get QPRN- PN_NR ,
Pass QPRN-PN_NR to QPRS- PN_NR filter QPRS- PRART with 22 and get QPRS- OBJNR, Pass QPRS-
OBJNR to JCDS- OBJNR and filter JCDS- CHIND with ‘U’ and fetch concatenate values of JCDS-
UDATE,JCDS- UTIME.

Test Data:

Inspection Lot Number = 30000000879


Material Number = 14000065
Batch = 0002000367

Please refer attached report format.

SFG Sample report


format.xlsx

You might also like