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

Home arrow Tips and Tricks arrow ABAP Reports
ABAP Reports
Checking for background processing PDF Print E-mail
User Rating: / 1
Written by Kevin Wilson   
Thursday, 08 February 2007

If you want to see if the user is running the program in the foreground:

sy-subty = 4.    “Call type for submit

otherwise it is a background submit.

 

* EXAMPLE:  Display the GUI status if run in foreground otherwise don’t

if sy-subty = 4.     

  set pf-status 'GH'.

endif.               

 

 
List of ways to transport variants PDF Print E-mail
User Rating: / 0
Written by Kevin Wilson   
Thursday, 08 February 2007

There are at least three ways that I know of that you can transport a variant for a program.

  • When you first transport a program, all elements of a program are transported along with the source code.  This includes any variants that have been created at this time
  • After the first time a program has been transported, there are two ways to move a variant.  The first method is to manually add an entry to the transport for the variant you want to move.  The format of the entry is LIMU VARX xxxxxxxxName_of_the_variant where xxxxxxxx is the program name.
  • The last method is the easiest, in that you do not have to remember any arcane codes.  Go to the ABAP editor, and go to the variant screen.  Under the Utilities menu is Transport Variant.  This allows you to choose the variants to transport, and the transport to put them in.
 
Where in IMG is a table configured? PDF Print E-mail
User Rating: / 0
Written by Kevin Wilson   
Thursday, 08 February 2007
This works for some SAP customizing tables but not all...
  • Use SM31, enter the table name.
  • Click on Customizing.
  • Enter an IMG project, or click w/o proj button.
  • Click enter. Gives you IMG path(s) which lead to updating given table.
 
Maintaining Trailing spaces when downloading to PC PDF Print E-mail
User Rating: / 0
Written by Kevin Wilson   
Thursday, 08 February 2007

Before calling DOWNLOAD, GUI_DOWNLOAD or WS_DOWNLOAD, do a perform SET_TRAIL_BLANKS(saplgrap) using 'X'. To set the length of each record including your blanks add this code: perform SET_FIXLEN(saplgrap) using '0' '100'

 
Calling a Transaction in ABAP PDF Print E-mail
User Rating: / 2
Written by Kevin Wilson   
Thursday, 08 February 2007

Set parameter ID ‘AUN’ field vbak-vbeln.  "Sales order parameter ID

Call transaction ‘VA03’ and skip first screen.

 
Executing a PC program from ABAP PDF Print E-mail
User Rating: / 0
Written by Kevin Wilson   
Thursday, 08 February 2007
Fire up Internet Explorer with a file you downloaded to your PC.
Read more...
 
Report Headings PDF Print E-mail
User Rating: / 0
Written by Kevin Wilson   
Wednesday, 07 February 2007
top-of-page.   
  perform top.

form top.                                                       
uline.                                                        
 write: / sy-vline no-gap,                                     
          (79) text-001 color col_heading intensified,         
          80 sy-vline,                                         
        / sy-vline no-gap,                                     
          (79) text-002 color col_heading intensified off,     
          80 sy-vline,                                         
        / sy-vline no-gap,                                     
          (79) text-003 color col_heading intensified off,     
          80 sy-vline.                                         
 uline.                                                        
endform.
Last Updated ( Monday, 12 February 2007 )
 
List of good ABAP reports PDF Print E-mail
User Rating: / 0
Written by Kevin Wilson   
Wednesday, 07 February 2007

A comprehensive list of useful ABAP reports with descriptions of their use.

 

Last Updated ( Wednesday, 07 February 2007 )
Read more...
 
Hiding ABAP Source Code PDF Print E-mail
User Rating: / 1
Written by Anon.   
Wednesday, 31 January 2007

Please note, this tip does not appear to work in versions of SAP >= 4.6. It is very easy to hide your source code in ABAP. Simply enter *@#@@[SAP] on the very first line of your program. This text should be the only text on the line. There is no easy way to get your source code back, so make sure you make a backup and save it to a local drive!

 
Printing Blank Lines PDF Print E-mail
User Rating: / 0
Written by Anon.   
Wednesday, 31 January 2007
Use the command SET BLANK LINES ON. After that, blank lines should be printed.
Last Updated ( Wednesday, 31 January 2007 )
 
Performance Tuning PDF Print E-mail
User Rating: / 1
Written by Henrik Frank   
Monday, 29 January 2007
  • For all entries
  • Nested selects
  • Select using JOINS
  • Use the selection criteria
  • Use the aggregated functions
  • Select with view
  • Select with index support
  • Select … Into table
  • Select with selection list
  • Key access to multiple lines
  • Copying internal tables
  • Modifying a set of lines
  • Deleting a sequence of lines
  • Linear search vs. binary
  • Comparison of internal tables
  • Modify selected components
  • Appending two internal tables
  • Deleting a set of lines
  • Tools available in SAP to pin-point a performance problem
  • Optimizing the load of the database
Read more...
 
Drill Down Reports PDF Print E-mail
User Rating: / 0
Written by Kevin Wilson   
Friday, 26 January 2007

STEP ONE - ADD THESE LINES OF CODE IN THE DECLARATION AREA

**** DECLARATION
DATA: BEGIN OF items OCCURS 100,
         id type sy-tabix,
         parent_id type sy-tabix,
         text(1000),
         symbol,
      END OF items,
      tabix_stack LIKE sy-tabix OCCURS 10 WITH HEADER LINE,
      items_show LIKE items OCCURS 100 WITH HEADER LINE.

DATA: parent_stack LIKE sy-tabix OCCURS 10 WITH HEADER LINE,
      t_parent     LIKE sy-tabix,
      current      LIKE sy-tabix.
INCLUDE <symbol>.
INCLUDE ZTREE_REPORT_INCLUDES.

Read more...
 
Selecting a particluar view in BDC PDF Print E-mail
User Rating: / 0
Written by Anon.   
Thursday, 25 January 2007
If you want to change a particular view of a material using BDC and you record a BDC, it hardcodes the view number as 1, 2 and so on... But if for another material the same view is in different location, the BDC fails... Is there a way to use the BDC in to select a particular view? E.g. You want to select the 'Foreign trade data' view.
Read more...
 
Three approaches to define data objects PDF Print E-mail
User Rating: / 1
Written by Anon.   
Sunday, 21 January 2007
Read more...
 
The Syntax of ABAP/4 Programs PDF Print E-mail
User Rating: / 12
Written by Anon.   
Sunday, 21 January 2007
Read more...
 
<< Start < Prev 1 2 3 4 5 6 Next > End >>

Results 61 - 75 of 82

Google Search

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