SAP ABAP IMG Activity OLQU_BADI_WA (Business Add-In for Changing Workarea for Stabi InspLot Before Calling QPL1)
Hierarchy
EA-APPL (Software Component) SAP Enterprise Extension PLM, SCM, Financials
   QM-IM (Application Component) Quality Inspection
     QSTABI (Package) Stability Study
IMG Activity
ID OLQU_BADI_WA Business Add-In for Changing Workarea for Stabi InspLot Before Calling QPL1  
Transaction Code S_PLN_16000238   (empty) 
Created on 20020423    
Customizing Attributes OLQU_BADI_WA   Business Add-In for Changing Workarea for Stabi InspLot Before Calling QPL1 
Customizing Activity OLQU_BADI_WA   Business Add-In for Changing Workarea for Stabi InspLot Before Calling QPL1 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name QST02_STABILOT_WA    

Use

The method of this Business Add-In is run directly before an inspection lot for a stability study is created. It can be used to make changes in the transferred inspection lot work area. You can, for example, use this Business Add-In to enter your own inspection lot short text, or to fill in your own customer-specific inspection lot data.

This Business Add-In is filter dependent. You can create an implementation for each inspection type.

A sample implementation and a default implementation exist for this Business Add-In.
If the default implementation is used, the short text of an inspection lot for a stability study is filled with the following data:

  • The package number
  • The short text for the storage condition
  • The key of the stability study

Requirements

The interface of method CHANGE_QALS_WA contains the following parameters:

Importing:

I_QALS Inspection lot record   

I_MHIS Table of testing schedule calls; contains exactly one entry for the current call of the
testing schedule item

I_MPOS Testing schedule item

FLT_VAL Filter value, that is, the current inspection type

Exporting:

E_QALS Changed inspection lot record

E_IMP_ACTIV Flag, that the changed data is to be copied

If you implement a method, you must:

  • Always fill E_QALS with data. When you begin your implementation, you can transfer data from I_QALS to E_QALS using the instruction 'move I_QALS to E_QALS.'
  • Set the export parameter E_IMP_ACTIV to 'X' if you want the changed data to be transferred to inspection lot creation.

The following inspection lot data is already reserved and should NOT be changed:

WARPL       
ABNUM       
WAPOS       
STRAT
PLNTY
PLNNR
PLNAL
WERK
HERKUNFT
ART
MATNR
CHARG
XCHPF
STAT32       

If you do make changes to this data, it can lead to data inconsistencies and errors at inspection lot creation.

The following inspection lot data is also reserved. Be particularly careful when changing this data.

KTEXTLOS
QMATAUTH
KUNNR
LIFNR
HERSTELLER
LOSMENGE
MENGENEINH
LMENGEIST
KTEXTMAT
PASTRTERM
PASTRTERM
ENSTEHDAT
GUELTIGAB

Standard settings

The default implementation of the method CHANGE_QALS_WA is run as the standard.

Activities

Example

SAP delivers a sample implementation for the method of BAdI CHANGE_QALS_WA.
You should use the sample implementation or the default implementation delivered by SAP as the basis for your own, customer-specific impementations.

Business Attributes
ASAP Roadmap ID 257   Create User Exits 
Mandatory / Optional 3   Nonrequired activity 
Critical / Non-Critical 1   Critical 
Country-Dependency A   Valid for all countries 
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on SAP  20020423 
SAP Release Created in 110