Beautify, Change case and Indent your ABAP
Beautify, Change case and Indent your ABAP Read More »
Useful ABAP code example to demonstrate how to display an SAP ALV report which displays alist of PERNR details and then automatically allows the user to email ALV PDF as a document attchement. The code covers the following SAP ABAP report functionality: Email address input selection screen fields Display ALV report using Objects cl_salv_table Add
Email ALV PDF using ABAP report of pernrs then email output as attachment Read More »
When working with SAP queries it is often useful to have a look at the ABAP code it generates. This could be to either use it as a basis for a new report or just to see what is going on. You can also use this information to assign a transaction code to your infoset
View SAP Query ABAP program created Read More »
Access this fairly hidden feature of the standard SAP GUI to instantly download your ABAP code to PDF document file. Not sure why this feature isn’t more accessible but in order to use the PDF functionality follow these simple steps.Step 1Click on the very small icon towards the bottom right-hand corner, unless you have used it before you probably won’t
Download your ABAP code to a PDF file Read More »
Transaction SE39 is useful if you want edit two programs at the same time or if you just want to compare two ABAP objects on one screen. Once you have two objects loaded into the views you can turn compare mode on and it will highlight any differences, which you can step through one at a time. Step 1 – Select
Compare two ABAP objects using SE39 Split screen editor Read More »
*&———————————————————————* *& Report ZDISPLAY_URL *& *&———————————————————————* *& *&———————————————————————* REPORT Zdisplay_url. CALL METHOD CL_ABAP_BROWSER=>SHOW_URL EXPORTING URL = ‘http://www.se80.co.uk’ * TITLE = * SIZE = CL_ABAP_BROWSER=>MEDIUM * MODAL = ABAP_TRUE * PRINTING = ABAP_FALSE * BUTTONS = NAVIGATE_OFF * FORMAT = CL_ABAP_BROWSER=>LANDSCAPE * POSITION = CL_ABAP_BROWSER=>TOPLEFT * CONTAINER = * CONTEXT_MENU = ABAP_FALSE .
Display URL in SAP ABAP report using class method Read More »
The payroll information displayed via transaction PA03 is stored within tables T569V, T549A and T549Q. They can also be retrieved using Function module PA03_PCR_READ Another useful function module could be HR_MX_GET_PAYROLL_PERIOD which retrieves payroll period dates based on the current date, irrespective of what is set in SAP transaction PA03. CALL FUNCTION ‘HR_MX_GET_PAYROLL_PERIOD’ EXPORTING PAYROLL_AREA = ld_abkrs * DATE
Payroll control record PA03 Read More »
Let’s start ABAP programming!! Here is a list of popular ABAP commands including information about what it does and example code of how to use. They are also ordered in such a way that you can implement them one by one and gradually build a working ABAP report and beyond. TYPES – Creates type value that
Teach yourself ABAP programming one command at a time Read More »