‎2009 Aug 20 6:58 AM
Hi all
for cheque entries i have developed a code
Is there any more Mandatory condition in given below part of code
{ select * from bseg into table ibseg
where belnr = REGUH-VBLNR
and SHKZG = 'S'. }
reguh-vblnr Has only one record for vblnr and it is picking more
tahn one records from bseg (belnr and shkzg = 'S')
{ select * from bsik into table ibsik
for all entries in ibseg
where belnr = ibseg-REBZG. )
please rectify or give me info (conditions)
Thanks
‎2009 Aug 20 7:01 AM
Hi,
Try passing company code & fiscal year also in BSEG.
Regards,
Amit
‎2009 Aug 20 7:07 AM
ravi,
there can be same document number for different company code and different fiscal year
so you have include BUKRS (company code) and GJAHR(fiscal year) in your query.
goto se11->BSEG table. check the fields there.
‎2009 Aug 27 5:39 AM