|
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. |
|
|
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.
|
|
|
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.
|
|
|
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'
|
|
|
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. |
|
|
Written by Kevin Wilson
|
|
Thursday, 08 February 2007 |
|
Fire up Internet Explorer with a file you downloaded to your PC. |
|
Read more...
|
|
|
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 )
|
|
|
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...
|
|
|
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! |
|
|
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 )
|
|
|
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...
|
|
|
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...
|
|
|
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...
|
|
|
Written by Anon.
|
|
Sunday, 21 January 2007 |
|
|
|
Read more...
|
|
|
Written by Anon.
|
|
Sunday, 21 January 2007 |
|
|
|
Read more...
|
|