ABAP code for document count

Question: Hi everyone,

I want to count the number of rejected quotes (SD) in transfer rules using ABAP code. Is it possible with virtual key figures using ABAP? Can anyone give me the ABAP code?

Thanks in advance

Answer:
IF <insert some check on the rejection status>.
RESULT = 1.
ENDIF.

it's as simple as that
Copyright ?2007 - 2008 www.jt77.com