Listing 17.5  o/p abap in 21 days

Q] Please see this link
http://venus.imp.mx/hilario/Libros/TeachYrslfAbap4/ch17.htm#LeavinganEvent
Q]     Actually I do not have a system right now  could you  give ,me the output of the listing 17.5  from the link below with :-
i) exit uncommented .
ii)  check uncommented .
iii)     stop uncommented . [pls see warning at first]

Listing 17.5  Effects of exit, check, and stop Within Events
1  report ztx1705 no standard page heading line-count 6(2).
2  *in events before start-of-selection:
3  *   - exit and check have the same behavior. They both leave the event
4  *     and processing continues with the next event or action.
5  *   - stop goes directly to the end-of-selection event
6  *     (don't use stop in initialization or at selection-screen output)
7
8  *in start-of-selection and subsequent events:
9  *   - exit terminates the report and shows the output list
10 *     exception: top-of-page: exit leaves the event
11 *   - check leaves the event and processing continues with the next one.
12 *   - stop goes directly to the end-of-selection event
13
14                                            "execute an:
15 parameters: exit_sos radiobutton group g1, "exit in start-of-selection
16             exit_eos radiobutton group g1, "exit in end-of-selection
17             chck_sos radiobutton group g1, "check in start-of-selection
18             chck_eos radiobutton group g1, "check in end of selection
19             stop_sos radiobutton group g1, "stop in start-of-selection
20             stop_eos radiobutton group g1, "stop in end-of-selection
21             none     radiobutton group g1. "no stop, exit or check
22
23 initialization.
24 *   exit.                          "exits event
25 *   check 1 = 2.                   "exits event
26 *   stop.                          "don't do this
27     chck_sos = 'X'.
28
29 at selection-screen output.
30 *   exit.                          "exits event
31 *   check 1 = 2.                   "exits event
32 *   stop.                          "don't do this
33     message s789(zk) with 'at selection-screen output'.
34
35 at selection-screen on radiobutton group g1.
36 *   exit.                          "exits event
37 *   check 1 = 2.                   "exits event
38 *   stop.                          "goes to end-of-selection
39     message i789(zk) with 'at selection-screen on rbg'.
40
41 at selection-screen.
42 *   exit.                          "exits event
43 *   check 1 = 2.                   "exits event
44 *   stop.                          "goes to end-of-selection
45     message i789(zk) with 'at selection-screen'.
46
47 start-of-selection.
48     write: / 'Top of SOS'.
49     if      exit_sos = 'X'.
50         exit.                      "exits report
51     elseif  chck_sos = 'X'.
52         check 1 = 2.               "exits event
53     elseif  stop_sos = 'X'.
54         stop.                      "goes to end-of-selection
55         endif.
56     write: / 'Bottom of SOS'.
57
58 end-of-selection.
59     write: / 'Top of EOS'.
60     if      exit_eos = 'X'.
61         exit.                      "exits report
62     elseif  chck_eos = 'X'.
63         check 1 = 2.               "exits report
64     elseif  stop_eos = 'X'.
65         stop.                      "exits report
66         endif.
67     write: / 'Bottom of EOS'.
68     write: / '1',
69            / '2',
70            / '3'.
71
72 top-of-page.
73     write: / 'Title'.
74 *   exit.                  "exits event and returns to write statement
75 *   check 'X' = 'Y'.       "exits event and returns to write statement
76 *   stop.                  "goto end-of-selection - don't write after it
77     uline.
78
79 end-of-page.
80     uline.
81 *   exit.                  "exits report
82 *   check 'X' = 'Y'.       "exits event and returns to write statement
83 *   stop.                  "goto end-of-selection - don't write after it
84     write: / 'Footer'.

Similar Messages

  • Drop down list on Interactive Adobe in ABAP Web dynpro application

    Hi Experts,
    How to provide data from R/3 to drop down list on Interactive Adobe in ABAP Webdynpro application.
    Please send any documents on this.
    Your help will be greatly appreciated.
    Regards
    Sridhar V

    http://help.sap.com/saphelp_erp2005/helpdata/en/dd/b0884118aa1709e10000000a155106/frameset.htm
    http://help.sap.com/saphelp_nw70/helpdata/EN/bb/69b441b0133531e10000000a155106/frameset.htm
    https://www.sdn.sap.com/irj/sdn/nw-development?rid=/webcontent/uuid/512040e1-0901-0010-769c-c238c6ca35d9
    http://www.apentia-online.com/UP/Apentia/files/Article/Web_Dynpro.pdf
    http://dpermana.files.wordpress.com/2008/02/how-to-use-webdynpro.doc
    These all links will resolve your problem.
    Regards,
    Yogesh...

  • Drop down list button in the WDP Abap interactive form

    Hi Gurus,
    I wanted to implement the drop down list button in the WDP Abap interactive form. Once the users clicks on the drop down button, an RFC should be called and display the details under the drop down button. Please give me the logic with code. Its very urgent...please help me. Please note that it is in WDP Abap interactive forms. We are using NW2004S, ECC6.0.

    hi david,
    all the UI elements in the adobe form are generally connected to your web-dynpro Context.
    whatever you type in the online adobe form is reflected in the respective context attributes of the dynpro Context of the view where "ur Interactive form UI element is".
    that means you can yourself fill the contents of ur interactive form by working on the get/set methods of the context attributes.
    Likewise you can clear the form by setting all context attributes to blank eg ""
    with regards,
    -Amol Gupta

  • List of Important Tables in ABAP

    Hi,
    Can anyone send me a List of Important Tables in ABAP.
    Thanks & Regards,
    Sai

    Customer related tables with Important fields
    KNA1: Customer Master-General(KUNNR,NAME1,LAND1)
    KNB1: Customer Master(Company Code)(KUNNR,BUKRS,PERNR)
    KNC1: Customer Master Data (Transaction Figures)(KUNNR,BUKRS,GJAHR)
    KNVK: Customer Master Contact Partner(PARNR,KUNNR,NAME1)
    KNVV: Customer Master sales data(KUNNR,VKORG,VTWEG,KDGRP)
    KNBK: Customer Bank Details(KUNNR,BANKS,BANKL,BANKN)
    KNVH: Customer Hierarchy (HITYP,KUNNR,VKORG,VTWEG,SPART)
    KNVP: Customer Master Partner Functions(KUNNR,PARVW,KUNN2)
    KNVS: Customer Shipment data(KUNNR,VSTEL,TRANS)
    KNVI: Customer Tax data(KUNNR,ALAND,TATYP)
    Vendor related
    LFA1--Vendor Master-General (LIFNR,NAME1,ORT01)
    LFB1--Vendor Master(Company Code)(LIFNR,BUKRS,PERNR)
    LFC1--Vendor Master (Transaction Figures)(LIFNR,BUKRS,GJAHR)
    LFM1—-Pur.Orgn. Related Vendor Data (LIFNR,EKORG)
    Material Related
    MARA--Material Master-General (MATNR,MTART,MATKL)
    MARC--Material Master-Plant data(MATNR,WERKS,EKGRP)
    MARD--Material Master- St.Location Data(MATNR,WERKS,LGORT,LABST)
    MAKT--Material Descriptions(MATNR,MATKL,MAKTX)
    MBEW--Material Valuation Data(MATNR,BWTAR)
    MVKE—-Material Master: Sales related Data(MATNR,VKORG,VTWEG)
    Plant related
    T001W-- Plants (WERKS)
    T001L-- Storage Locations (LGORT)
    Sales related
    VBAK: Sales Document(Header Data) (VBELN)
    VBAP: Sales Document(Item Data) (VBELN,POSNR,MATNR,ARKTX,CHARG)
    Enquiry, Quotation, Sales Order are differentiated based on Doc.
    Type(VBTYP field) in VBAK,VBAP Tables( for Enquiry VBTYP = A,
    for Quotation 'B' & for Order it is 'C'.)
    LIKP: Delivery Table (Header Data)(VBELN,LFART,KUNNR,WADAT,INCO1)
    LIPS: Delivery Table (Item Data)(VBELN,POSNR,WERKS,LGORT,MATNR,VGBEL)
    (LIPS-VGBEL = VBAK-VBELN, LIPS-VGPOS = VBAP-POSNR)
    VTTK: Shipment Table (Header Data)(TKNUM)
    VTTP: Shipment Table (Item Data)( TKNUM,TPNUM,VBELN)
    (VTTP-VBELN = LIKP-VBELN)
    VTFA: Shipping Document Flow(TKNUM,VBELV,VBELN)
    VTPA: Shipping Partners data(VBELN,PARVW,KUNNR,PERNR)
    VTTS: Stages in Shipment(TKNUM,TSNUM,TSTYP)
    VTSP: Transport Stage/Shipment Item Allocation(TKNUM,TSNUM,TPNUM)
    VEKP: Handling Unit: Header(Packing)(VENUM,VSTEL)
    VEPO: Handling Unit: Item (Packing)(VENUM,VEPOS,VBELN)
    VBRK: Billing Table(Header Data)(VBELN,FKART,BELNR)
    VBRP: Billing Table(Item Data)(VBELN,POSNR,FKIMG,NETWR,VGBEL,VGPOS)
    (VBRP-AUBEL = VBAK-VBELN, VBRP-VGBEL = LIKP-VBELN)
    Apart from these tables there are lot of other tables which starts with
    ‘V’, but we use the following tables frequently.
    VBUK: All Sales Documents status & Admn. Data(Header)(VBELN,VBTYP)
    VBTYP= ‘C’(Sales Order) VBTYP=’J’(Delivery) VBTYP=’M’(Invoice)
    VBUP: Sales Documents status & Admn. Data(Item)(VBELN,POSNR)
    VBEP: Sales Doc. Schedule Lines Data(VBELN,POSNR,EDATU,WMENG)
    VBKD: To get sales related Business data like Payment terms etc.(VBELN,ZTERM)
    VBFA: sales document flow data(VBELV,VBELN,POSNV,VBTYP)
    VBPA: Partner functions Data(VBELN,PARVW,KUNNR,LIFNR)
    VEDA: Contract Data(VBELN,VPOSN)
    VEDAPO: Contract Data(VBELN,VPOSN)
    regards,
    srinivas
    <b>*reward for useful answers*</b>

  • How to find the list of users  used  transcation from last 2 days plz urgen

    hi friendd
                   i am in need of  knowing the list of users used transcation in last 2 days
    can any one help me . how to find out the list of  users and used trancation in detail or step by step
    thanks in advance .i know that i can see in st03 but i dont find any user list or trancations .
    apart from that so we have any other transcation to see the user in sap abap box
    regards
    raja

    This info has been posted before but here you go (this is an alternative way to Bernhards):
    ST03N, make sure you are in Expert Mode (not Service Engineer)
    Expand Workload
    Expand Total
    Double Click on the day you want to analyse
    You can see transaction details under Transaction Profile -> Standard
    You can see what tx a user has started under User & Settlement Statistics -> User Profile
    If you are not seeing any data then speak to your Basis administrator about what they are doing with the log files.

  • ABAP in 21 days

    Hi can any one send me soft copy of ABAP in 21 days.
    Mail id : [email protected]
    Thanks in advance.
    Regards
    Sasidhar Reddy Matli.

    Dear All,
    this is Krishna Chaitanya..can anyone kindly frwd the same.."ABAP in 21 days" to my mail ID..This would be a grt help for me...Points will be surely rewarded.
    [email protected]
    thanks
    Krishna Chaitanya

  • Can anybody send me abap in 21 days by sams

    Can anybody send me abap in 21 days by sams . my email id is [email protected], its a bit urgent

    Hi,
    You can use these links...
    ABAP in 21 days
    http://www.is-edu.hcmuns.edu.vn/WebLib/Books/Database/0-672-31217-4/index.htm
    http://cma.zdnet.com/book/abap/ch03/ch03.htm
    Regards,
    Padmam.

  • Learn ABAP in 21 days

    can anyone send me the learn ABAP in 21 days?  my email id is [email protected]
    thanks

    Hi ,
    Try following links also,
    http://www.sappoint.com/abap.html (Nice one)
      also
      http://cma.zdnet.com/book/abap/index.htm
    http://www.sapdevelopment.co.uk/
    http://www.sap-img.com/
    http://juliet.stfx.ca/people/fac/infosys/abap.htm
    http://help.sap.com/saphelp_46c/helpdata/en/d3/2e974d35c511d1829f0000e829fbfe/frameset.htm
    http://help.sap.com/saphelp_46c/helpdata/en/d6/0db357494511d182b70000e829fbfe/frameset.htm
    http://www.henrikfrank.dk/abapexamples/SapScript/sapscript.htm
    http://www.sapgenie.com/abap/example_code.htm
    http://www.geocities.com/SiliconValley/Campus/6345/abapindx.htm
    http://help.sap.com/printdocu/core/Print46c/en/Data/Index_en.htm
    http://help.sap.com/saphelp_40b/helpdata/en/4f/991f82446d11d189700000e8322d00/applet.htm
    http://www.sap-img.com/abap-function.htm
    http://www.sapgenie.com/abap/code/abap19.htm
    http://www.sap-img.com/abap/more-than-100-abap-interview-faqs.htm
    http://www.planetsap.com/Tips_and_Tricks.htm
    http://help.sap.com/saphelp_40b/helpdata/ru/d6/0dc169494511d182b70000e829fbfe/applet.htm
    http://www.henrikfrank.dk/abapexamples/SapScript/symbols.htm
    http://www.henrikfrank.dk/abapexamples/index.html
    http://sap.ittoolbox.com/documents/document.asp?i=752
    http://members.aol.com/_ht_a/skarkada/sap/
    http://sappoint.com/abap/
    http://members.tripod.com/abap4/SAP_Functions.html
    http://members.ozemail.com.au/~anmari/sap/index.html
    http://www.planetsap.com/Userexit_List.htm
    http://www.planetsap.com/Tips_and_Tricks.htm
    http://www.kabai.com/abaps/q.htm
    http://www.planetsap.com/Userexit_List.htm
    http://help.sap.com/saphelp_bw21c/helpdata/en/c4/3a8090505211d189550000e829fbbd/frameset.htm
    http://www.sapgenie.com/abap/bapi/example.htm
    http://help.sap.com/saphelp_45b/helpdata/en/65/897415dc4ad111950d0060b03c6b76/content.htm
    http://www.sap-basis-abap.com/index.htm
    http://help.sap.com/saphelp_40b/helpdata/en/fc/eb2c46358411d1829f0000e829fbfe/frameset.htm
    http://help.sap.com/saphelp_46c/helpdata/en/aa/aeb23789e95378e10000009b38f8cf/frameset.htm
    http://www.geocities.com/ResearchTriangle/1635/system.html
    http://www.sapdesignguild.org/resources/MiniSG/3_Managing/3_Functions_Table_Control.htm
    http://help.sap.com/saphelp_45b/helpdata/en/d1/801bdf454211d189710000e8322d00/content.htm
    http://www.sapfans.com/sapfans/repos/saprep.htm
    http://www.planetsap.com/howdo_a.htm
    http://help.sap.com/saphelp_util464/helpdata/en/69/c2516e4ba111d189750000e8322d00/content.htm
    http://www.sapgenie.com/abap/smartforms_detail.htm
    http://www.sap-img.com/abap.htm
    http://help.sap.com/saphelp_46c/helpdata/en/fc/eb2d67358411d1829f0000e829fbfe/content.htm
    http://www.geocities.com/victorav15/sapr3/abap.html
    http://www.henrikfrank.dk/abapexamples/SapScript/sapscript.htm
    http://abap4.tripod.com/Other_Useful_Tips.html
    http://help.sap.com/saphelp_45b/helpdata/en/cf/21ee2b446011d189700000e8322d00/content.htm
    http://www.sap-basis-abap.com/sapmm.htm
    http://sap.ittoolbox.com/nav/t.asp?t=303&p=448&h1=303&h2=322&h3=448
    http://sapfans.com/
    http://cma.zdnet.com/book/abap/ch03/ch03.htm
    http://help.sap.com/saphelp_40b/helpdata/en/4f/991f82446d11d189700000e8322d00/applet.htm
    http://sappoint.com/abap/
    http://www.henrikfrank.dk/abapuk.html
    http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/abapindx.htm
    http://www.sapgenie.com/abap/index.htm
    http://www.sap-img.com/abap.htm
    http://www.sapdevelopment.co.uk/tips/tipshome.htm
    http://help.sap.com/printdocu/core/Print46c/en/Data/Index_en.htm
    http://sap.ittoolbox.com/nav/t.asp?t=322&p=322&h1=322
    http://sap.ittoolbox.com/nav/t.asp?t=448&p=448&h1=448
    http://www.thespot4sap.com/
    http://www.kabai.com/abaps/q.htm
    http://www.geocities.com/mpioud/Abap_programs.html
    http://www.sapgenie.com/abap/tips_and_tricks.htm
    http://www.sapassist.com/code/d.asp?whichpage=1&pagesize=10&i=10&a=c&o=&t=&q=&qt=
    For FAQ:
      http://www.sap-img.com/abap/more-than-100-abap-interview-faqs.htm
    http://www.sapgenie.com/faq/abap.htm
    Do reward points if it is beneficial
    Regards,
    Aparna

  • List of Process Chains via ABAP Class

    Anyone know if there is an ABAP Class that will return a table of the available process chains in the system?  I looked at CL_RSPC_CHAIN, but don't see how to get a list of what is out there.

    This works for me..  I would think you'd be able to do this with a class..  Thanks!  Anyone else know a way to do this with one of the classes?
    Thanks!

  • How to create enhancement SRM document List in Web dyn for ABAP?

    Hi all,
    We are in SRM 7.0.
    I need to develop enhancement SRM list program that display SC, PO, RFX, Confirmation, Contract, Invoice so on.
    For example,
    I know just shopping cart Number,
    But I want all relative document.
    How can I do????
    I  can't find suitable database table  and connection of tables.
    I want to know database table name
    and connection of SRM tables.
    Thanks in advance.
    Chris

    Hi Rodrigo,
    Firstly, list the Standard component under Component Usage of the Component which you are creating in your View.
    Second, In the Custom Component, view, goto context, and try to add the node from the Standard component in to your view.
    NOTE: The second step requires a Node in component controller of the Standard Component.
    Finally, Now in your view, get the data from that and map the data.
    NOTE: To do this, I think you need to call your Standard WDA first and then only your node contains data and it will be passed.
    I hope it is helpful.
    Regards,
    Shashikanth. D

  • How to extract the list of BOM materials through ABAP query?

    Hello Experts
    I want to extract a report from SAP which should contains the following,
    1). Main Material with description
    2). Sub material with description and quantity
    I have tried with the tables MAST, STKO AND STPO but i couldn't able to create the correct ABAP query.
    Could you please advise what are the table i should take to get this report.
    Thanks in advance.
    Regards,
    Raghu

    Hi Raghu
    Check this below link
    how to get  BOM Components using ABAP Code?
    FM to get all Parent material/BOM of the given material
    Let me know if your problem is solved
    Regards
    Pradeep

  • Listing of BAPI's or ABAP support for Solution Manager

    Hi,
      Does anyone know of any BAPI's or ABAP RFCs/API associated with the Solution Manager?
    Thank You,
    Phil

    http://service.sap.com/patches
    --> Entry by Application Group
    --> SAP Technology Components
    --> SAP SOLUTION MANAGER
    --> SAP SOLUTION MANAGER 7.0
    --> Support Package Stacks
    Give your source and destination support package and download them.
    Markus

  • Calendar list does not display all events of the day

    Using calendar on iphone 3GS, I've found that if I select the 'list' option then not all the events in my calendar display. It's a pain to have to keep reverting to 'day' option to double check that I'm not missing any events. Does anyone else have this problem? Is it a bug or is there something I can do to correct it?

    I have exactly the same problem, I expirienced it today the first time, but I actually do not use the list view often. In the list view, I'm missing quite a lot of events, I first thought it went something wrong with exchange sync and tried around about an hour till I found out, that all events are basically on the phone and also shown in day and month view, but not in the list view.
    There seem to be a general problem with the list view, as I found this discussion:
    http://discussions.apple.com/thread.jspa?threadID=2260803
    Greetings
    Bernhard

  • How to get list of user connected to project server by day wise

    HI,
    I need to get a report as how many times user  is connected to the project server in a week.
    I have enabled web analytical reports but its showing only how many times a user is connected to site.I need date also
    Project server 2010 version.
    Can any one help me.
    EX:
    Resource name           Date                 Connected (yes/No)
    Vijay  kumar            1-11-2014             yes
    Vijay  kumar            2-11-2014             yes               
    Vijay  kumar            3-11-2014             no
    Vijay  kumar            4-11-2014             yes
    Vijay  kumar            5-11-2014             yes
    Vijay  kumar            6-11-2014              no
    Vijay  kumar            7-11-2014             yes
    Thank You, Kumar KSV

    What Badal Ratra gave you would be the basis for your query to populate your own table...Project Server does not give you a way to do a daily connect report
    One of the ways I would go about doing this would be to run a nightly query to update a table - fill it in with the necessary data and run your report off that newly created table
    High Level Steps:
    (1) Create a table in the Reporting Database call DailyVisits
    (1a) The table would have Name/Date/Connected columns 
    (1b) You wouldn't need a no answer for connected columns since the answer would always be yes, the result set would ONLY have users who connected for each day.  And really you would only need 2 columns since the "connected" column would always
    be Yes...
    (2) Create a query that would query the published database (msp_resources) for the current day and store the result set in the table DailyVisits
    (3) Put this query in a nightly task to append to the DailyVisits table @ 11:55pm (for example)
    (4) Let the query run and you'll have only the users who connected for that day - the DailyVisits table would represent users who visited every day.  
    As long as the query runs nightly you'll have the information you're looking for - the one caveat is that it will only be starting from the day you start running the query.  
    You could also append the older user (last_connect) information from the resources table from other users to populate the dates but that would only represent a single entry/single last connect date.  This "old" information would represent the
    base for the table.
    hth

  • Hi Can anyone explain how the abaper's first day will be in office

    Hi all,
    Thank you very much to all of you ..
    I have got a job in Texas..
    Can anyone let me know .. how the real time work will be ..
    I mean how the first day will be...
    Wht are the necessary things to be prepared...
    Wht are the topics i need to concentrate on....
    Kindly respond this is the problem of my life...
    Thanks and Regards
    Santosh

    I have to say it really depends on the position you are being hired for.. if it is a brand new implementation, you will have a fairly smooth learning curve.. like what was mentioned in the previous post.. but if they need you to fix something that is broken, the client will expect something right away.. I have been to a place where the Manager logged me in on her user id & just showed a couple of screens & what she expected me to do.. I was literally on my own within an hour, entering their premises..this is not to scare you.. but just that be mentally prepared if you are going to a client that has already been using SAP for a while.. expect fairly knowledgeable colleagues.. if you can show you some result in the first few days, then you automatically win their trust..
    Good Luck,
    ~Suresh

Maybe you are looking for