4.12.10

SAP Note 20223 - No picking message in VL04 .

Symptom

Deliveries exist that were created in a collective run and do not have a picking message (NAST record with application V4), although picking status VBUK-KOSTK = A is set.

Cause and prerequisites

Unknown.

Solution
The affected deliveries can be found with the following test program:

REPORT ZZNAST .
TABLES: NAST, VBUK, VBUP.
SELECT * FROM VBUK WHERE ( KOSTK = 'A' OR KOSTK = 'B' ).
IF VBUK-LVSTK NE SPACE.
SELECT * FROM VBUP WHERE VBELN = VBUK-VBELN AND
( KOSTA = 'A' OR KOSTA = 'B' ) AND
( LVSTA = SPACE ) .
ENDSELECT.

CHECK SY-SUBRC = 0.
ENDIF.
SELECT * FROM NAST
WHERE KAPPL = 'V4'
AND OBJKY = VBUK-VBELN.
EXIT.
ENDSELECT.

IF SY-SUBRC NE 0.
WRITE:/ VBUK.
ENDIF.
ENDSELECT.

The deliveries that appear in the list will not have a picking message. The messages will be generated once you save the delivery in the change transaction (VL02).

In addition, add the following line in program FV50XF0B, form routine BELEG_SICHERN:

* 9. die Nachrichten umbenannt
* 10. die Lieferungen gesperrt beim Hinzufuegen
*--------------------------------------------------------------------

LOOP AT XLIKP.
LIKP = XLIKP. "<-- New line
KOPF_TABIX = SY-TABIX.
TEMP_VBELN = XLIKP-VBELN.

Lastly, install the corrections described in note nos. 11166 and 11869.

No comments:

Post a Comment