SymptomIf a purchase requisition is subject to a release strategy, you can store a field selection reference key in the release indicator. This control whether the price may be changed in the purchase requisition, for example.
However, in these purchase requistitions it was possible to change the price anyway with a certain navigation in transaction ME52 (Change Purchase Requisition). Menu path: Requisition - Change - Item overview -
Text overview - Item - Details.
Cause and prerequisitesThe field selection for the release statuses was not edited.
SolutionActivate the marked program code in MM06BF0o in FORM OKCODE_TXP.
form okcode_txp.
titel+2(1) = 'G'.
case sy-dyngr.
when 'UEBB'.
if t168-steu2 eq 'L'.
selfcode = ok-code.
perform ver_pos_banf. "Delete asterisk -> activate
* PERFORM POSITION_BEREITSTELLEN.
clear t-maxind.
clear t-firstind.
clear t-aktind.
clear t-pagind.
perform positions_texte_bearbeiten. "OKCODE_TXP_ALT.
clear dunkel.
perform sel_kennzeichnen.
else.
perform sel_pruefen.
endif.
when 'POSI'.
perform positions_texte_bearbeiten. "OKCODE_TXP_ALT.
when 'STAT'.
perform positions_texte_bearbeiten. "OKCODE_TXP_ALT.
when 'TEXT'.
t-nextind = t-firstind.
t-aktind = t-aktind - t-pagind.
endcase.
endform.
No comments:
Post a Comment