5.1.11

SAP Note 17112 - How do you recognize a quantitative characteristic

Symptom:

You want to see in a report whether a characteristic is qualitative or quantitative. How do you recognize this when using table QAMV ?

Solution
Include the following lines into your program:

TABLES QMKST.

....
MOVE QAMV-STEUERKZ TO QMKST.
IF QMKST-QUANTITAT IS INITIAL.
* qualitatives Merkmal
ELSE.
* quantitatives Merkmal
ENDIF.
IF QMKST-MESSWERTE IS INITIAL.
* qualitative Erfassung
ELSE.
* quantitative Erfassung
ENDIF.

No comments:

Post a Comment