Skip to Content
0
Former Member
Aug 10, 2007 at 07:48 AM

Urgent

35 Views

Hi All,

Can someone please explain me what this piece of code is doing,

CLEAR NUM_OP.

IF RESB-BAUST = '0'.

NUM_OP = resb-posnr.

ELSE.

SELECT SINGLE POSNR INTO (NUM_OP)

FROM *RESB

WHERE AUFST EQ RESB-BAUST

AND AUFWG EQ RESB-BAUWG

AND MATNR EQ RESB-BAUGR.

ENDIF.

I find this in one query. Await your responses.

Vivek