You are on page 1of 4

2/7/13

Share 1

My Experiments with ABAP: Selection Screen and ALV Grid Report on One Screen
More Next Blog Create Blog Sign In

My Experiments with ABAP


Home Index Links SAP SD SAP MM SAP Basis SAP QM Tutorial Wednesday, August 24, 2011

Selection Screen and ALV Grid Report on One Screen


Popular Posts
Sim ple C ode to consum e W e b se rvice using SAP ABAP Displaying Two ALV Grid on Scre e n SAP ABAP Dynam ic Inte rnal table and Proce ssing 02 De fining R ange Type in ABAP Proce ssing x m l with XSLT transform ation in ABAP Enhance m e nt - Sale s O rde r transactions VA01/VA02/VA03 Using fie ld-sym bol to spe e d up LO O P on inte rnal table C re ating custom page form at for sapscript/sm artform SAP MM Docum e nt Flow, Transaction and Table s First and Last Day of the Month C once pt is base d in fact that you can put se le ction-scre e n on a m odule pool subscre e n are a. For m ore inform ation re ad blog SELEC TO PTIO N in m odule pool. Base d on this ide a de fine a scre e n with subscre e n on the top whe re a se le ction scre e n can be loade d, be low that de fine a custom e r containe r whe re a ALV Grid can be displaye d. In use r-com m and of scre e n re te rive and proce ss data and re fre sh that in ALV Grid. O k , le ts start with program m ing. In this blog I am going to show you how you can put both se le ction scre e n and ALV Grid on sam e scre e n so that use r can se e both the ir input and re port toge the r.

Followers

1. C re ate a re port. 2. De fine scre e n 100 with subscre e n are a SUB200 on top and a custom containe r with nam e C USTO M be low it. 3. Put be low code in scre e n Flow logic tab

Join this site


w ith Google Friend Connect

Members (50) More

POESBFR OTU. RCS EOE UPT MDL sau_10 OUE tts00. CL SBCENsb0 ICUIGs-ei '30 . AL USRE u20 NLDN yrpd 00' POESATRIPT RCS FE NU. CL SBCENsb0. AL USRE u20 MDL ue_omn_10 OUE srcmad00.
4. De fine GUI status ZPF01 with function code BAC K, C ANC , EXIT and O K.

Already a member? Sign in

Recent Comments
I face the sim iliar proble m in T.code - KSH3 can a... - 12/27/2012 - Anony m ous Thank s a lot for e x plaining in such a sim ple m anne ... - 12/20/2012 Anonym ous thank s alot m an.. - 12/11/2012 - An onym ous Thank s for FM O IL_MO NTH_GET_FIR ST_L AST. It inde e d ... - 12/4/2012 - Pawan Ke sari

5. C re ate a GUI Tile ZTITLE01. The n copy-paste following code in re port.

RPR zweot EOT prpr. TBE :mr . ALS aa DT :imr TP TBEO mr , AA _aa YE AL F aa o_utmTP RFT c_u_utmcnanr, bcso YE E O lgicso_otie o_rd TP RFT c_u_l_rd bgi YE E O lgiavgi . SLCINSRE BGNO SRE 30A SBCEN. EETO-CEN EI F CEN 0 S USRE SLC-PIN :smtrFRmr-an. EETOTOS _an O aamtr SLCINSRE EDO SRE 30 EETO-CEN N F CEN 0.

sample-code-abap.blogspot.in/2011/08/selection-screen-and-alv-grid-report-on.html#more

1/4

2/7/13
Hi, Are the re any e x am ple s for ite rative calls.... - 12/1/2012 - An onym ous

My Experiments with ABAP: Selection Screen and ALV Grid Report on One Screen
SATO-EETO . TR-FSLCIN CL SRE 10. AL CEN 0 *----------------------------------&----------------------------------* * Mdl sau_10OTU & oue tts00 UPT *----------------------------------&----------------------------------* MDL sau_10OTU. OUE tts00 UPT STP-TTS'P0'. E FSAU ZF1 STTTEA 'TTE1 . E ILBR ZIL0' PROMcet_rd. EFR raegi EDOUE "sau_10OTU NMDL. tts00 UPT *----------------------------------&----------------------------------* * Mdl ue_omn_10IPT & oue srcmad00 NU *----------------------------------&----------------------------------* MDL ue_omn_10IPT OUE srcmad00 NU. CS s-cm. AE yuom WE 'AK O 'AC O 'XT. HN BC' R CN' R EI' LAET SRE 0. EV O CEN WE 'K. HN O' SLC * EET IT TBEimr NO AL _aa FO mr RM aa WEEmtrI smtr. HR an N _an WE OHR. HN TES EDAE NCS. EDOUE "ue_omn_10IPT NMDL. srcmad00 NU *----------------------------------&----------------------------------* * & Fr cet_rd om raegi *----------------------------------&----------------------------------* * tx et *---------------------------------------------------------------------* FR cet_rd. OM raegi I o_utmI IIIL. F bcso S NTA CET OJC o_utm RAE BET bcso EPRIG XOTN cnanrnm ='UTM. otie_ae CSO' CET OJC o_rd RAE BET bgi EPRIG XOTN iprn =o_utm _aet bcso. CL MTO o_rd>e_al_o_is_ipa AL EHD bgi-sttbefrfrtdsly EPRIG XOTN isrcuenm ='AA _tutr_ae MR' CAGN HNIG i_utb tota =imr. _aa ES. LE CL MTO o_rd>ers_al_ipa. AL EHD bgi-rfehtbedsly EDF NI.
Poste d by Pawan Ke sari

Read this on Mobile Device

+1 Recommend this on Google

Labe ls: Abap O bje cts, ALV List, Module Pool, R e port, Sam ple C ode , SAP ABAP, Se le ction-Scre e n

6 comments:
A nonymous August 25, 2011 at 12:00 AM Hi Pawan , You m aintain an e x ce lle nt blog he re :) I have use d this te chnique be fore to have both the re port and the se le ction scre e n on the sam e page but do you k now how to invok e the 'save ' variants bit which is part of norm al se le ction scre e n without re sorting to e laborate coding he re ? Since the se le ct options go unde r a a subscre e n, the standard save variant part of sap for se le ction scre e n doe s not se e m to k ick in he re ..or is the re a sim ple r way am m issing ? R e ply

Pawan Kesari

August 25, 2011 at 2:03 AM

Ye ah, I agre e be cause this is a m odule pool, you lose advantage of saving variant which is available with re port. R e ply

sample-code-abap.blogspot.in/2011/08/selection-screen-and-alv-grid-report-on.html#more

2/4

2/7/13

My Experiments with ABAP: Selection Screen and ALV Grid Report on One Screen
Pawan Kesari August 25, 2011 at 2:08 AM

I havn't work e d on this variant with m odule pool proble m . W ill de finite ly try to find som e solution, if I could. R e ply

Mahi Se pte m be r 14, 2011 at 5:41 PM Hi, I didn't ge t ALV in output.. W hat should be the proble m ?? W he n I se le ct m ate rial and pre ss e nte r, nothing happe ne d... Ple ase he lp m e out... R e ply

Pawan Kesari

Se pte m be r 14, 2011 at 6:28 PM

Put a bre ak -point on SELEC T state m e nt and se e if it e x e cute s whe n you pre ss e nte r. R e ply

Mahi Se pte m be r 15, 2011 at 10:58 AM ye s, i got data in inte rnal table but it is not displaye d. R e ply

Etryu cmet. ne or omn..

Comment as: Google Account Publish Preview

Links to this post


C re ate a Link

Ne we r Post

Hom e

O lde r Post

Subscribe to: Post C om m e nts (Atom )

Blog Archive
2013 (6) 2012 (6) 2011 (16) De ce m be r (2) Nove m be r (1) O ctobe r (1) Se pte m be r (1) August (5) SAP Q M Notification - Se tting up O utput/Shop floor... Se le ction Scre e n and ALV Grid R e port on O ne Scre e n... FB60 Ente r Ve ndor Invoice - Base Am ount colum n inv... Ex e cuting quick vie w (SQ VI) of anothe r use r SD Table s Acce ss-Pe rform ance Tips (from SAP Note 1...

Search This Blog

Labels

Search

Abap O bje cts (5) ALV List (9) C onfig (9) Customer-exit (1) D ate (3 ) D ynamic (4 ) EDI (6) E nhac ement (2 ) E xc el (2 ) Formatting (2 ) H R A BA P (2 ) MD04 (1) Module Pool (6) OLE

Automation (1) Open Dialog Box (1) P erformanc e (2 ) Quick Reference (43) R e port (12) Rounding Issue (1) Sample Code (51) SAP ABAP (70) SA P

Bas is (3 ) SA P FI (3 ) SA P M ail (2 ) SAP MM (13) SA P N otes (3 ) SA P Q M (2 ) SAP SD (11) Sapscript (9) Screen-exit (1) Se le ction-Scre e n (6) Sm artform s (7) Standard T ext (2 ) Translation (1) Tutorial (10) U pload D ownload (2 ) Utility (5)
VAT (1) Web s ervic e (2 ) xml to ABAP (1) XSLT (1)

sample-code-abap.blogspot.in/2011/08/selection-screen-and-alv-grid-report-on.html#more

3/4

2/7/13
July (3) June (1) April (1) Fe bruary (1) 2010 (11) 2009 (23) 2008 (39)

My Experiments with ABAP: Selection Screen and ALV Grid Report on One Screen

You are m ost we lcom e to use any inform ation available in this blog. Any usage of the inform ation or sam ple code is at your own risk . I do tak e care of accuracy and re le vance of blog be fore publishing. Howe ve r, I do not guarante e that inform ation and code are accurate and bug fre e , the ir can be alte rnate and be tte r way of doing sam e thing so ple ase use inform ation as re fe re nce only. R e le vance of code and instructions can possibly change with tim e , che ck the blog post date be fore using this inform ation. This is m y pe rsonal blog, re com m e ndation and opinions e x pre sse d in this blog are m ine and not of any com pany of any of m y e m ploye r. I do m ode rate com m e nts and publish as soon as I che ck the m . You can post que stions as we ll, which I will try be st to solve . I will anyway publish your que stions in case othe rs re ade rs m ight have answe r. Thank s for com ing he re and re ading the blogs :)

sample-code-abap.blogspot.in/2011/08/selection-screen-and-alv-grid-report-on.html#more

4/4

You might also like