Skip to Content
0
Former Member
Jan 22, 2008 at 09:22 AM

how to get check info from PAYR

35 Views

Hi experts..

i am developing a report . i need to get the CHECK info from Table PAYR.

i already retrived processed item data from REGUP. now

i need to get the check info from PAYR for vendor id which are in PAYR.

IF NOT i_REGUP1[] IS INITIAL.

SELECT zbukr rzawe chect laufd lifnr vblnr gjahr

zaldt prius znme1 zpfac zregi

FROM payr INTO TABLE i_payr

FOR ALL ENTRIES IN i_REGUP1

WHERE zbukr = i_REGUP1-Zbukr AND

laufd = i_regup1-laufd and

LAUFI = i_regup1-laufi and

lifnr = i_REGUP1-lifnr AND

vblnr = i_REGUP1-VBLNR AND

gjahr = i_REGUP1-gjahr.

ENDIF.

but here iam getting multiple records for vendor

please tell me how can i get unique check no for the vendor

please help me .

thanks in advance.

regards

niru