0000410660

4
SAP Note Header Data Symptom 1. The certificate creation takes a very long time or terminates with runtime error TIMEOUT. 2. The certificate creation for preliminary products is not possible if the explosion of stock transport order is required in the batch where-used list. 3. The list of the batches does not exactly correspond to the list from Transaction MB56. Other Terms QC20, QC21, QC22, quality certificate Reason and Prerequisites Prerequisite: Data for preliminary products is output on the certificate. The bad performance is caused by the batch where-used list being very extensive. The deviating list is caused by different source code. Solution If you have implemented Consulting Note 360871, you can remove it again before the implementation of this note. First, carry out the following changes and copy the program correction afterwards. Remark: After the implementation of this note, the list of the batches for the certificate is reduced so far that only the header entry and the goods issue records are displayed. This has the effect that the structure of the list is as it was before the implementation of the note. However, if you want the list to have the same structure as in the display of the batch where-used list (Transaction MB56), you should initialize parameter IE_GOODS_ISSUE in BAdI QC_QMOCERT_CREATE in an implementation in method EXIT_BATCH_LIST_EXPLODE. 1. Create domain QCTRANSFER with the following fields and activate them afterwards. l Short description: Stock transfers exploded by the batch where-used list l Data type: CHAR l No. characters: 1 l Output length: 1 l Value range: 2. In data element QCTRANSFER, change the following fields and activate it afterwards. l New short text: Stock transfers exploded by batch where-used list l New domain: QCTRANSFER l Field label: ¡ Short Length: 10, Field label: StckTran 410660 - Performance of certif. creation with data from prel.products Version 3 Validity: 17.08.2001 - active Language English Released On 17.08.2001 Release Status Released for Customer Component QM-CA-CG Certificate Creation Priority Correction with medium priority Category Program error | Fix. val. | Short text | ----------------------------------------------------------- = | | No explosion | | X | Transfer postings | | 1 | Transfer postings & stock transport orders| -----------------------------------------------------------

Upload: devendra-patil

Post on 17-May-2017

225 views

Category:

Documents


4 download

TRANSCRIPT

Page 1: 0000410660

SAP Note

Header Data

Symptom

1. The certificate creation takes a very long time or terminates with runtime error TIMEOUT.

2. The certificate creation for preliminary products is not possible if the explosion of stock transport order is required in the batch where-used list.

3. The list of the batches does not exactly correspond to the list from Transaction MB56.

Other Terms

QC20, QC21, QC22, quality certificate

Reason and Prerequisites

Prerequisite: Data for preliminary products is output on the certificate. The bad performance is caused by the batch where-used list being very extensive. The deviating list is caused by different source code.

Solution

If you have implemented Consulting Note 360871, you can remove it again before the implementation of this note. First, carry out the following changes and copy the program correction afterwards. Remark: After the implementation of this note, the list of the batches for the certificate is reduced so far that only the header entry and the goods issue records are displayed. This has the effect that the structure of the list is as it was before the implementation of the note. However, if you want the list to have the same structure as in the display of the batch where-used list (Transaction MB56), you should initialize parameter IE_GOODS_ISSUE in BAdI QC_QMOCERT_CREATE in an implementation in method EXIT_BATCH_LIST_EXPLODE.

1. Create domain QCTRANSFER with the following fields and activate them afterwards.

l Short description: Stock transfers exploded by the batch where-used list

l Data type: CHAR

l No. characters: 1

l Output length: 1

l Value range:

2. In data element QCTRANSFER, change the following fields and activate it afterwards.

l New short text: Stock transfers exploded by batch where-used list

l New domain: QCTRANSFER

l Field label:

¡ Short Length:   10, Field label: StckTran

    410660 - Performance of certif. creation with data from prel.products  

Version   3     Validity: 17.08.2001 - active   Language   English

Released On 17.08.2001

Release Status Released for Customer

Component QM-CA-CG Certificate Creation

Priority Correction with medium priority

Category Program error

  | Fix. val. | Short text |

-----------------------------------------------------------

= |           | No explosion                              |

  | X         | Transfer postings                        |

  | 1         | Transfer postings & stock transport orders|

-----------------------------------------------------------

Page 2: 0000410660

¡ Medium Length:  15, Field label: Stck transf.

¡ Long Length:    20, Field label: Stock transfers

¡ Heading Length: 40, Field label: Exploded stock transfers

3. Create data element QCALSTF with the following fields and activate it afterwards.

l Short text: Explosion level batch where-used list

l Domain: SEU_LEVEL

l Change document: X

l Field label

¡ Short Length:   10, Field label: Expl.level

¡ Medium Length:  15, Field label: Explosion level

¡ Long Length:    20, Field label: Explosion level

¡ Heading Length: 15, Field label: Explosion level

4. Create data element NDSTO with following fields and activate it afterwards.

l Short text: Not exploding stock transfer order

l Domain: CHAR1_X

l Field label

¡ Short Length:   5, Field label: NOSTO

¡ Medium Length: 15, Field label: STO explosion

¡ Long Length:   20, Field label: STO explosion

5. Create table type QC_WERKS_RANGE with following fields and activate it afterwards

l Short text: Range table for plants

l Row type: WERKS_RANG

6. Add the following field to data structure QCDOCINFO and activate it afterwards.

l Component: ALSTF, Component type: QCALSTF

7. Add the following field to data structure DFCHVW and activate it afterwards.

l Component: KZSTO, Component type: NDSTO

8. Add the following field to database table QCVK and activate it afterwards.

l Fields: ALSTF, Key: initial, Init.: initial, Field type: QCALSTF

9. Create function module READ_BUFFER_CHVW in function group CHVW with the following parameters.

l Short text: Reading batch where-used records from buffer for the certificate creation

l New import parameter with parameter name: I_XZUGA, Type specification: Like, Reference type: CHVW-XZUGA, Optional: initial, Pass value: X

l New import parameter with parameter name: I_SHADOW, Type specification: Like, Reference type: CHVWSHADOW, Optional: initial, Pass value: X

l New table parameter with parameter name: T_CHVW, Type specification: Like, Reference type: CHVW, Optional: initial

10. Using Transaction SE18, create BAdI QC_QMOCERT_CREATE with the following fields and generate it afterwards.

l Definition short text: QM certificate: Creation of an outgoing certificate

l Multiple use: space

l Filter dependent: space

l In interface IF_EX_QC_QMOCERT_CREATE, define following method EXIT_BATCH_LIST_EXPLODE with the following fields and activate it afterwards.

           Description: Change of control structure for batch where-used list.            Parameter: I_DOCUMENT_DATA, Type: Importing, Pass value: X, Optional: initial, Typing: Type, Reference type: QCDOCINFO, Description: Copy from QCDOCINFO

Page 3: 0000410660

           Parameter: IE_DFCHVW, Type: Changing, Pass value: initial, Optional: initial, Typing: Type, Reference type: DFCHVW, Description: Copy from DFCHVW.            Parameter: IE_WERKS_RANGE, Type: Changing, Pass value: initial, Optional: initial, Typing: Type, Reference type: QC_WERKS_RANGE, Description: Copy from QC_WERKS_RANGE.            Parameter: IE_GOODS_ISSUE, Type: Changing, Pass value: initial, Optional: initial, Typing: Type, Reference type: QKZ, Description: Batch list only with header component and goods issues

11. Create function module QC10_EXIT_BATCH_LIST_EXPLODE in function group QC10 with the following parameters.

l Short text: Change of control structure for batch where-used list

l New import parameter with parameter name: I_DOCUMENT_DATA, Type specification: Type, Reference type: QCDOCINFO, Optional: initial, Pass value: X

l New changing parameter with parameter name: IE_DFCHVW, Type specification: Type, Reference type: DFCHVW, Optional: initial, Pass value: initial

l New changing parameter with parameter name: IE_WERKS_RANGE, Type specification: Type, Reference type: QC_WERKS_RANGE, Optional: initial, Pass value: initial

           Parameter: IE_GOODS_ISSUE, Type: Changing, Pass value: initial, Optional: initial, Typing: Type, Reference type: QKZ, Description: Batch list only with header component and goods issues

12. In screen 1110 of module pool SAPMQCPA, carry out the following changes.

l Delete check box *QCVKEA-WITHTRANSF

l On the left side, directly under the second table, insert text field *QCVKEA-WITHTRANSF with length 20 and select the dictionary reference.

l On the right side of text field *QCVKEA-WITHTRANSF, insert input field *QCVKEA-WITHTRANSF and select the dictionary reference. In Release 4.6C, change the input field to list box and enlarge it up to the right-hand edge of the table.

l Under text field *QCVKEA-WITHTRANSF, insert text field *QCVKEA-ALSTF with length 20 and select the dictionary reference.

l Under input field *QCVKEA-WITHTRANSF, insert input field *QCVKEA-ALSTF and select the dictionary reference.

13. In the field selection (Transaction SFAW), for module pool SAPMQCPA, screen group 1110 carry out the following change and finally generate the module pool in Transaction SFAW.

l Branch to the modifiable fields and copy field *QCVKEA-WITHTRANSF in *QCVKEA-ALSTF with all influences.

Copy the program correction specified in this note.

Validity

Correction Instructions

Support Packages & Patches

References

Software Component From Rel. To Rel. And Subsequent

SAP_APPL 46A 46B  

46C 46C  

Correction Instructions

Software Component Valid from Valid to Number

SAP_APPL 46A 46B 289521

SAP_APPL 46C 46C 285603

Support Packages

Software Component Release Support Package

SAP_APPL 46B SAPKH46B32

46C SAPKH46C24

Page 4: 0000410660

This document refers to:

SAP Notes

This document is referenced by:

SAP Notes (1)

360871   Values from productn chain w. 2-step stock transfer

360871   Values from productn chain w. 2-step stock transfer