Hi All!
I have to create a report (SQ01) for the price condition VBRP-WAVWR, VBRP-NETWR, VBAP-NETWR, VBAP-WAVWR and KONV-KBETR. I created a InfoSet (SQ02) with table join between VBRK, VBRP, VBPA, PA0002, VBAK and VBAP (I use different fields from this tables). I created 2 Additional fields AD_Z004 and DS_KA00 like KONV-KBETR and coding selection for this fields is:
SELECT SINGLE KBETR FROM KONV INTO DS_KA00
WHERE KNUMV EQ VBAK-KNUMV AND
KPOSN EQ VBAP-POSNR AND
KSCHL EQ 'KA00' AND
STUNR EQ '101' AND
ZAEHK EQ '01'.
SELECT SINGLE KBETR FROM KONV INTO AD_Z004
WHERE KNUMV EQ VBAK-KNUMV AND
KPOSN EQ VBAP-POSNR AND
KSCHL EQ 'Z004' AND
STUNR EQ '015' AND
ZAEHK EQ '01'.
When I run the report this additional fields don't have any value. I set a BREAK before this code and the system is ignoring the code.
What am I doing wrong?
All the help will be appreciated. Thank you.