Monday, February 28, 2011

Correspondence history - CORRHIST

Friday, February 11, 2011

Editor Lock

Editor Lock prevents other people to modify your program. Somehow, there are cases where you forget to remove it. What happened if other people want to modify your program in the future, but you are no longer involved in that system?

I found 2 blogs provide solution that is quite useful:
  1. ABAP Program to Lock/Unlock the ABAP Editor Lock Field 
  2. SAP ABAP Program EDITOR LOCK/UNLOCK 
Both of them are doing the same thing. Ultimately, you just have to update the record in table TRDIR, set the field EDTX = 'X' if you want to lock it, and set it SPACE if you want to unlock it. 

Thursday, February 10, 2011

Print Immediately is Blank?

Most of the time we rely on print parameter to make some decisions in form printing, one of the odd scenario that you have to be careful when you are developing application form is when you have a choose print parameter dialog screen as per following (EA60):

If you set "Output After Last Document" (LAST_DOC_ACT), FM 'EFG_PRINT' will clear the value of field TDIMMED and TDFINAL. (source code: line 516 to line 519). Thus, no matter how hard you set "Print Immediately" in the following screen:

C-ITCPO-TDIMMED and C-ITCPO-TDFINAL will always be blank in application form.

Friday, December 3, 2010

SLG_ISU

Mass Processing Application Log

Tuesday, August 24, 2010

EA13

Reversal of Print Document and Poss. Billing Document (Single Reversal)

EA10

Create Bills (Mass Creation)

Monday, July 19, 2010

System Debugging

System Debuggin is used to debug a system program. Debugger will skip this program if System Debugging is not turned on even though you had set the session breakpoint.
How to check the program is system program or not? Go to -> Attribute, Look for Program Status field, "S" represent System Program.



How to turn on System Debugging?
  1. Enter "/hs" instead of "/h" in Command Field.
  2. Go to System -> Utilities -> Debug System.
  3. In debugging session, before reaching the system program, go to Setting -> Display/Change Debugger Settings, and change the debugger setting
  4. In debugging session, before reaching the system program, go to Setting -> System Debugging On/Off.