Skip to Content
0
Former Member
Mar 01, 2011 at 11:43 AM

DATA is not coming in internal table in RFC

126 Views

Hi,

I have made a RFC in source code from import parameters only two fields are pass vaue remaining all fileds are optional and the required import parameter VKORG and ERDATE i am passing properly but still the data is not coming in internal table

*********source code

SELECT AVBELN AERDAT AAUART AVKORG AVKBUR AKNUMV ABSTNK ABSTDK A~KUNNR

BPOSNR BMATNR BMATKL BARKTX BNETPR BKWMENG

CETENR CEDATU C~BMENG

D~GBSTA

into corresponding fields of table it_itab from

VBAK AS A INNER JOIN VBAP AS B ON AVBELN = BVBELN

INNER JOIN VBEP AS C ON AVBELN = CVBELN AND BPOSNR = CPOSNR

INNER JOIN VBUP AS D ON AVBELN = DVBELN AND BPOSNR = DPOSNR

where A~VKORG EQ VKORG

AND A~VKBUR EQ VKBUR

AND A~ERDAT IN it_range_ERDAT

AND A~KUNNR IN it_range_KUNNR

AND A~AUART EQ AUART

AND B~MATNR IN it_range_MATNR

AND C~EDATU IN it_range_EDATU

AND D~GBSTA NE 'C'.

I have check the entry in the data base table record is present there but still it is not coming what can be the problem

here i am passing VKORG and it_range_ERDAT remaining fileds are optional

************************

regards,

zafar

Edited by: zafar_karnalkar on Mar 1, 2011 12:44 PM

Edited by: zafar_karnalkar on Mar 1, 2011 12:44 PM