Saturday, December 17, 2011

TAW review season 1

Hello Guys, hope you are doing well this coming holiday season.

I would like to let you know that I will be posting some topic with regards to TAW reviewer in this coming days. TAW reviewer helped me a lot in passing my ABAP certification as well as helps me in my day to day ABAP job.

If you have any suggestions or topic that want to discuss I would be happy to cover them up!

Until next time. Please don't forget to check out my posts soon.

Happy Holidays everyone!

(For a complete copy of TAW reviewers, please email me at awesome_nope@yahoo.com)

Monday, November 28, 2011

Adding standard ALV toolbar button in OOP

Below are the simple steps in adding a standard ALV button using OOP.

1. Create a class that will handle the TOOLBAR event and insert the code for the particular button













2. Include the event in your main program:

 SET HANDLER obj_EH_ALV_FORECAST->HANDLE_TOOLBAR FOR grid1.

Monday, September 26, 2011

Translating your SAP text

Have you ever encountered language translation problem or any SAP related problem with regards to language? In this topic, we are going to address that issue of yours. Just follow the below simple steps:

1. In your ABAP editor or any editor that you are currently on as long as it has a toolbar above and you can find this path:

 GOTO-> TRANSLATION.

then put the corresponding language you may want to translate. On the example below we are going to translate german to english:



then locate the program by double clicking it then you will see the text that you might need to translate in order to show in your SAP application when you run:



In our case, we will double click FBAS row then just change the text that you may want to translate then SAVE!



And that's it!

Wednesday, September 14, 2011

Converting a SAPSCRIPT to PDF

Below are some of the things that you need to do in order for the sapscript to be converted into a pdf file. (We need to convert the spool instead of otf)

1. Make sure to move values to the ff. fields of OPTIONS parameter of FM OPEN_FORM: