Professional Documents
Culture Documents
Input:
Input:
Out Put:
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.
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: