26.12.10

SAP Note 15681 - Displaying planned values on orders

Symptom:

Transaction: KPA3, KPC3, KPD3, KPE3, KPF7
Description: If manual maintenance of planning data is prohibited for
an order (by the order status), the system does not
even display the planned values already entered.

Cause and prerequisites

Program error

Solution
Planned data already entered in the system can be displayed using an
appropriate cost element report in the reporting system.
However, if you want to see the planned data using the display
functions in planning, you have to change the program as follows:
UKSource code corrections
Release 2.1/2.2:

************************************************************************
* Program : LGUMDF13
* FORM routine : FORM ORDER_CHECK_13
* Search argument: erlaubt
************************************************************************
...
FORM ORDER_CHECK_13 USING SUBRC.
DATA: ERROR_OCCURRED.
SUBRC = 0.
MOVE-CORRESPONDING AUFK TO AUFKV.
IF SY-TCODE+3 = '3'. <<< INSERT
RGUMD-VORGANG = SPACE. <<< INSERT
ENDIF. <<< INSERT
CALL FUNCTION 'K_ORDER_CHECK'
EXPORTING
...

Release 3.0:
************************************************************************
* Programm : LGUMDF13
* FORM-Routine : FORM ORDER_CHECK_13
* Aufsetzargument: KPA7
************************************************************************
...
FORM ORDER_CHECK_13 USING SUBRC.

DATA: ERROR_OCCURRED,
VRGNG_13 LIKE RGUMD-VORGANG,
SUBRC_RKPQ LIKE SY-SUBRC.

SUBRC = 0.
* Anzeige-Transaktion?
IF SY-TCODE+3 = '3' OR
SY-TCODE = 'KPA7' OR
SY-TCODE = 'KPD7' OR
SY-TCODE = 'KPF7' OR <<< INSERT
* oder GLX-Transaktion? (s.Hinweis 35625)
SY-TCODE(1) = 'G'.
VRGNG_13 = SPACE.
ELSE.
...

No comments:

Post a Comment