Changing fields during the creation of an 03 Inspection lot

During the creation of quality inspection you want to change fields

If you want to change certain fields during the creation of an inspection lot there are various exits possible. In this specific case I would like to point out the Exit QPL10001, in which the QALS content can be changed during the creation of an inspection lot.

In some cases it is neccessary to suppliment data this can also be done using this exit.

i.e. Add the WBS element from the production order on creation using CO01 where the productiuon order is released immediately.

In this case the following coding could be usefull in the include ZXQPLU02:

....
 data: l_feld(40)    TYPE c.
 FIELD-SYMBOLS:  <PS_PSP_PNR>.
    IF SY-TCODE = 'CO01'.  
       l_feld = '(SAPLCOKO1)caufvd-projn'.
       e_qals = i_qals.  
       ASSIGN (l_feld) TO <PS_PSP_PNR>.
       IF sy-subrc IS INITIAL.
          e_qals-PS_PSP_PNR = <PS_PSP_PNR>.
       ENDIF.
     E_ACTIVE = 'x'.
    ENDIF.
.....

This is example coding you might have to make correspondent adjustments.

Hope that this information is usefull.

Labels

qm_im_topic qm_im_topic Delete
qpl10001 qpl10001 Delete
qm_faq_topic qm_faq_topic Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.