SlideShare a Scribd company logo
1- Clear Item
Get LIFNR AUGBL GJAHR BELNR
li_bsak
from BSAK
where company code = 3300
and budat in s_budat data- 06.09.2013
2- Open Item
Get LIFNR AUGBL GJAHR BELNR
li_bsik
from BSIK where company code = 3300
and budat in s_budat
3- Merge both open item and clear item
li_final[] = li_bsik[].
append lines of li_bsak to li_final.
sort li_final by gjahr belnr.
delete adjuscant duplicate from li_final comparing ghajr belnr.
4- select HKONT AUGDT GJAHR BELNR DMBTR
from BSIS
into table li_bsis
for all entries in li_final
where bukrs = 3300 and
gjahr = li_final-gjahr and
belnr = li_final-belnr and
bschl = 40 and
SHKZG = 'S'.
5- select HKONT AUGDT GJAHR BELNR DMBTR
from BSAS
into table li_bsas
for all entries in li_final
where bukrs = 3300 and
gjahr = li_final-gjahr and
belnr = li_final-belnr and
bschl = 40 and
SHKZG = 'S'.
6- li_final_gl[] = li_bsis[]
append line of li_bsas to li_final_gl.
7- loop at li_final into ls_final
ls_final-lifnr =
endloop.

More Related Content

Viewers also liked

cv seif
cv seifcv seif
RESUME-Nickle, C.M
RESUME-Nickle, C.MRESUME-Nickle, C.M
RESUME-Nickle, C.M
Tina Nickle
 
Tehnoloģijas un sabiedriba 08102013
Tehnoloģijas un sabiedriba 08102013Tehnoloģijas un sabiedriba 08102013
Tehnoloģijas un sabiedriba 08102013Janis Bergs
 
Amerikaanse Revolutie
Amerikaanse RevolutieAmerikaanse Revolutie
Amerikaanse Revolutie
Jennefer Van Loon
 
CSDTestimonials
CSDTestimonialsCSDTestimonials
CSDTestimonials
Renee DeVesty
 
Creative Assignment by PGDABC 2013-14 batch
Creative Assignment by PGDABC 2013-14 batchCreative Assignment by PGDABC 2013-14 batch
Creative Assignment by PGDABC 2013-14 batch
EMDI Institute of Media & Communications
 

Viewers also liked (7)

advanced surface3
advanced surface3advanced surface3
advanced surface3
 
cv seif
cv seifcv seif
cv seif
 
RESUME-Nickle, C.M
RESUME-Nickle, C.MRESUME-Nickle, C.M
RESUME-Nickle, C.M
 
Tehnoloģijas un sabiedriba 08102013
Tehnoloģijas un sabiedriba 08102013Tehnoloģijas un sabiedriba 08102013
Tehnoloģijas un sabiedriba 08102013
 
Amerikaanse Revolutie
Amerikaanse RevolutieAmerikaanse Revolutie
Amerikaanse Revolutie
 
CSDTestimonials
CSDTestimonialsCSDTestimonials
CSDTestimonials
 
Creative Assignment by PGDABC 2013-14 batch
Creative Assignment by PGDABC 2013-14 batchCreative Assignment by PGDABC 2013-14 batch
Creative Assignment by PGDABC 2013-14 batch
 

Vendor

  • 1. 1- Clear Item Get LIFNR AUGBL GJAHR BELNR li_bsak from BSAK where company code = 3300 and budat in s_budat data- 06.09.2013 2- Open Item Get LIFNR AUGBL GJAHR BELNR li_bsik from BSIK where company code = 3300 and budat in s_budat 3- Merge both open item and clear item li_final[] = li_bsik[]. append lines of li_bsak to li_final. sort li_final by gjahr belnr. delete adjuscant duplicate from li_final comparing ghajr belnr. 4- select HKONT AUGDT GJAHR BELNR DMBTR from BSIS into table li_bsis for all entries in li_final where bukrs = 3300 and gjahr = li_final-gjahr and belnr = li_final-belnr and bschl = 40 and SHKZG = 'S'. 5- select HKONT AUGDT GJAHR BELNR DMBTR from BSAS into table li_bsas for all entries in li_final where bukrs = 3300 and gjahr = li_final-gjahr and belnr = li_final-belnr and bschl = 40 and SHKZG = 'S'. 6- li_final_gl[] = li_bsis[] append line of li_bsas to li_final_gl. 7- loop at li_final into ls_final ls_final-lifnr = endloop.