|
Written by Kevin Wilson
|
|
Monday, 05 May 2008 |
|
REPORT ZGUI_DIR. call function 'GUI_CREATE_DIRECTORY' exporting dirname = 'C:\TEST' EXCEPTIONS FAILED = 1 OTHERS = 2. if sy-subrc <> 0. WRITE: / 'Error Code ',SY-SUBRC. endif. |
|
|
Written by Anon.
|
|
Monday, 05 May 2008 |
|
|
|
Read more...
|
|
|
Written by Swarna S
|
|
Wednesday, 27 February 2008 |
A simple ALV - Details of Y/Z objects with lists of users/date/time/description during creation or change of the object. |
|
Last Updated ( Wednesday, 27 February 2008 )
|
|
Read more...
|
|
|
Written by SAPDev
|
|
Monday, 25 February 2008 |
The below code demonstrates how to create a simple report which automatically updates itself every 10 seconds and displays the new results on screen. This is without any intervention from the user. |
|
Read more...
|
|
|
Written by Judit Rakovits
|
|
Wednesday, 02 January 2008 |
|
Requirement: Write a program to load a database table from a UNIX file. |
|
Read more...
|
|
|
Written by Anon.
|
|
Saturday, 29 December 2007 |
|
Requirement: Write a program that lists the Vendors and their Accounting documents. Create extract dataset from KDF logical database. Loop through the dataset to create the required report. Don't list those vendors which has no documents |
|
Read more...
|
|
|
Written by Anon.
|
|
Thursday, 27 December 2007 |
|
Requirement: Read a logical database (you must have data in those tables, now LFA1), fill up an internal table. Sort the data by a given field and then display the internal table. |
|
Read more...
|
|
|
Written by Anon.
|
|
Saturday, 21 July 2007 |
When you're looking at the structure of a table, SAP will let you print the structure, but it won't let you save the structure. This can be annoying. This report outputs the table structure to a list. At this point the user can use the System->List->Save->Local file command to save the list to a file. Output Table Fields to a List |
|
Read more...
|
|
|
Written by Amit Khari
|
|
Thursday, 19 July 2007 |
Upload Data From MS Accsess Into an Internal Table |
|
Read more...
|
|
|
Written by Anon.
|
|
Wednesday, 18 July 2007 |
Converts spool request into PDF document and emails it to recipicant. This program can be run in background or online and a spool request will still be created.
|
|
Read more...
|
|
|
Written by Amit khari
|
|
Tuesday, 17 July 2007 |
ABAP code for uploading an Excel document into an internal table. See code below for structures. The code is based on uploading a simple Excel spreadsheet or for an actual Excel file.
There are also a couple of alternatives which use fucntion modules ‘KCD_EXCEL_OLE_TO_INT_CONVERT’ and ‘ALSM_EXCEL_TO_INTERNAL_TABLE’ but the method below is by far the simplest method to use. |
|
Read more...
|
|
|
Written by Anon.
|
|
Monday, 16 July 2007 |
Instead of checking your Purchase Order History one at a time, you can now mass display or print them with this customized abap report. |
|
Read more...
|
|
|
Written by Anon.
|
|
Friday, 06 July 2007 |
Sometimes it is useful to be able to lock all the users out of a client; for instance, during a client copy (you can also do this with tp locksys, but you have to issue that command from the OS level, and then you can only use DDIC or SAP* to log on). You can use this program to lock out all users except yourself. Of course, access to this type of program should be controlled tightly. |
|
Read more...
|
|
|
Written by Anon.
|
|
Thursday, 05 July 2007 |
When you're looking at the structure of a table, SAP will let you print the structure, but it won't let you save the structure. This can be annoying. This report outputs the table structure to a list. At this point the user can use the System->List->Save->Local file command to save the list to a file. |
|
Read more...
|
|
|
Written by Anon.
|
|
Wednesday, 04 July 2007 |
|
This report displays information for outstanding purchase orders. The report has two parts: one is the standard report, and the other is called from the Project Expense report. Note that both reports output GL Account, cost center, and cost object information (from table EKKN) as a single value on the output line. Actually, each line may have several cost centers and cost object to which the invoices were allocated; however, the user only wanted one (any one) to be listed. |
|
Read more...
|
|