Ansicht
Dokumentation

MM06E009 - Relevant texts for "Texts exist" indicator

MM06E009 - Relevant texts for "Texts exist" indicator

ABAP Short Reference   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.
SAP E-Book

As of Release 4.5A, the existence of item texts is indicated by an icon on the item overview screen in all purchasing documents. This draws the buyer's attention to any additional information that may be available. Enhancement MM06E009 allows you to specify the texts for which the icon is to appear.

Example
A customer uses the material master PO text in purchase orders merely to describe a material more precisely, whereas important additional information for the buyer is contained in a special internal comment. In this case, the existence of the material master PO text would not be relevant to the icon.

In the standard system, the icon appears when the buyer enters new text or a text has been adopted from a preceding document.

The internal table UTHEAD in the interface of the function module EXIT_SAPMM06E_022 contains all text IDs for which an item text (of the item being processed) exists. You can use parameter CH_TEXTFLAG to determine whether one of these texts is relevant to the icon.

In the following program example, a customer table ZTEXTS is read (with the key "client", "text object", "text ID", "user name"). This table contains the user-specific stipulation whether or not a certain text type is relevant:


CLEAR CH_TEXTFLAG.
LOOP AT UTHEAD.
SELECT SINGLE * FROM ZTEXTS WHERE TDOBJECT = UTHEAD-TDOBJECT
AND TDID = UTHEAD-TDID
AND UNAME = SY-UNAME.
CHECK SY-SUBRC EQ 0.
CH_TEXTFLAG = 'X'.
EXIT.
ENDLOOP.






SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.

Length: 1696 Date: 20240426 Time: 161146     sap01-206 ( 37 ms )