Age: 53 Joined: 04 Oct 2007 Posts: 1218 Location: Питер
Posted: Thu Jul 26, 2012 2:35 pm Post subject: Search Screen Elements
TABLES: d020s, d021t.
DATA: BEGIN OF lt_output OCCURS 0,
dnum TYPE d020s-dnum,
prog TYPE d020s-prog,
fnam TYPE d021s-fnam,
END OF lt_output.
h_import LIKE d020s,
lt_d020s LIKE d020s OCCURS 0 WITH HEADER LINE,
lt_d022s LIKE d022s OCCURS 0 WITH HEADER LINE,
lt_d021s LIKE d021s OCCURS 0 WITH HEADER LINE,
lt_d023s LIKE d023s OCCURS 0 WITH HEADER LINE.
SELECT-OPTIONS: so_prog FOR d020s-prog,
so_dnum FOR d020s-dnum.
PARAMETERS: p_fldn TYPE d021t-fldn.
SELECT * FROM d020s INTO TABLE lt_d020s
WHERE prog IN so_prog
AND dnum IN so_dnum.
SORT lt_d020s BY prog dnum.
DELETE ADJACENT DUPLICATES FROM lt_d020s COMPARING prog dnum.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
All product names are trademarks of their respective companies. SAPNET.RU websites are in no way affiliated with SAP AG. SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver and any other are registered trademarks of SAP AG. Every effort is made to ensure content integrity. Use information on this site at your own risk.