AP
AP
Yahoo Messenger: pepenung
Determining Due Date Based on Payment Terms
Posted in Code Template on November 10, 2011
ABAP logic to determine invoice payment due date based on standard payment terms configuration.
Adding Custom Field into Sales Document Maintenance Screen
Posted in Code Template on September 25, 2011
In term of sales document, SAP provides means to add our own data into sales document and so user is able to display and maintain through standard maintenance transaction (e.g. VA01, VA02, and VA03). The fields normally placed under tab ‘Additional Data B’ at header and item level. Following is one of the ways adding custom fields into the screen.
ALV Grid Report Template using Dynpro Custom Container
Posted in Code Template on August 22, 2011
Here’s my ALV grid report template using dynpro custom container.
The template includes
- logic to cater for selection screen’s ALV variant, i.e. setting default variant, showing search help, validation, and apply it into the report
- handling double click event
- define sorting sequence
- changing few common attributes of field catalog
Report Template using SALV
Posted in Code Template on August 18, 2011
Here’s my report template using SALV.
The template includes
- logic to cater for selection screen’s ALV variant, i.e. setting default variant, showing search help, validation, and apply it into the report
- handling double click event
- define sorting sequence
- changing few common attributes of field catalog
Display Resizable Amodal Pop-up Dialog Box
Posted in Code Template on May 11, 2011
Did you ever have a requirement to display resizable pop-up window or amodal pop-up window? Or are you aware that we cannot have a resizable dialog box using normal CALL SCREEN technique? Honestly I’m just aware of it and just found out how ABAP can display a resizable amodal pop-up dialog box just like the F4 search help window (you may notice some F4 windows from SAP transactions are actually amodal instead of modal). Let me try to describe further and create a generic code template for this purpose so you may use it in your program. Any correction and feedback are most welcome.
Display Progress Indicator and Show Remaining Time
Posted in Code Template on April 29, 2011
Report performance is one of common issues identified during realization until production support phase. It is sometime unavoidable to have one report or interface runs very long and need to figure out ways to make things acceptable by the users. There are actually few ways to iron out the situation, one of them is by displaying progress indicator so user knows what to expect and how long they still have to wait until the program give them the report. Better still if program show them the estimated remaining execution time.
At the bottom I include code template I use to display progress indicator with remaining items and time.



