Shared Top Border

Enterprise Resource
Planning Portal

 

Advertise | Founder BLOG

ERPGenie.COM ABAP Tips and Tricks Database

THE ultimate
ERP website

 

Forums | Vote for us |

Google    Other Search Options

Login

Login to view more content!!!





Lost Password?
No account yet? Register

Registered Access

Poll

What area of ABAP are you interested in?
 
Home arrow Sample Code arrow ABAP Reports arrow Placing checkboxes in reports
Placing checkboxes in reports PDF Print E-mail
User Rating: / 0
PoorBest 
Written by Kevin Wilson   
Sunday, 11 February 2007

To put a delete button on the screen (Fcode = DELETE) with a checkbox on each line.

at user-command.                                                   

  case sy-ucomm.                                                    

    when 'DELETE'.                                                 

        do counter times.                                          

            read line sy-index.                                    

            if sy-lisel(1) = 'X'.  “Holds line content and sy-lisel(1) will be X when checked

                select single * from ……                

            endif.                                                 

        enddo.                                                      

        perform write_report.                                      

        sy-lsind = 0.                                              

  endcase.                                                         

 

form write_report.                               

  select * from ….           

      write: / pick as checkbox,                

               ……                   

      hide: …….           

  endselect.                                    

  counter = sy-dbcnt + 7.    “Cater for header lines

endform. " WRITE_REPORT                         

 

start-of-selection.      

  set pf-status 'STD'.   

  perform write_report.  


Related Items:

Last Updated ( Monday, 12 February 2007 )
 
< Prev   Next >

Google Search

Statistics

Contribution Activity
Utilities: 39
Tips and Tricks: 337
Sample Code: 170
Total Contributions: 561

Member Activity
Members: 6341 since 2/1/2007!
New: 1 since yesterday!
Visitors: 1238875

Newest Members

Welcome our newest members:

Google Ads

Shared Bottom Border

Contact Us | Polls | Add URL | Contribute | Privacy | Terms | Feedback

Discussion Forum | BLOG | Consultants: Post your resume | Companies: Advertise on ERPGenie.COM | Post Job
Financials Consultant | Consultant Review | Gallia Consulting | Supply Chain Project | SAP Financials Forum
GenieHoldings.COM, Inc. | Genie Press | WorkflowGenie | ESAGenie | ERPTopSites | ABAP Tips and Tricks | SAP Solutions Database

EDIGenie | Searching Survivor