nuffnang leaderboard

Showing posts with label ABAP. Show all posts
Showing posts with label ABAP. Show all posts

Feb 6, 2015

[SAP] Save into PDF / Convert to PDF

Refer to here.

Summary:
1. At Print Preview, type in 'PDF!' in the command box. 
2. Use program 'RSTXPDFT4'. For more than 99 pages, extra steps are 'PDF convertion in background', then get spool number from SM37, after that go to program 'RSTXPDFT5' to download the PDF. 

Dec 22, 2014

[SAP] Debugging background job, Running or Finished.

A short version first.

Debug Finished Job.
Go to SM37, pointing at the job you want to debug and type JDBG at the command box (where you typed in the Tcode).


Debug Running Job.
This is a little bit tricky, it the job finished too fast you wouldn't be able to debug properly. One workaround is to add "WAIT UP TO 30 SECONDS" in your ABAP code at the point where you want to debug. This can buy you some time to do the following:
Go to SM66, point at the job you want to debug, press the Debugging button or right click -> debugging.


If in normal debugging it won't stop at the break point even you tick the System Debugging & Update Debugging in Settings -> Change Debugger Profiles/ Settings,
You can try the above.

Dec 17, 2014

[Mayusha.in] SAP ABAP – Revert SAP Released Transport Request and Revert Source Code



How To Revert SAP Released Transport Task To Unreleased Status


If you released a task of a transport by mistake and you want to re-open it back you can achieve this if you follow steps described in this short article
  1. Run TCode SE38 
  2. Execute report RDDIT076
  3. In the selection screen enter the name of the task you want to re-open
  4. Execute (press F8)

Dec 2, 2014

How to Export memory to / Import memory from in SAP ABAP and its pitfalls (Or access to global memory by field symbol)

Will come up with a detail post whenever free.

Refer to here and here in the meantime.

Pitfalls, here and here.

Dec 1, 2014

How to use and debug BADI (example ME_PROCESS_PO_CUST in ME21N)

Will come up with a more detail post when free.

Refer to here in the meantime.

Nov 13, 2014

How to use Customer Exit / Enhancement MM06E003 at ME21N ( Document Number Range )

Hi all,
This post is a tutorial for using MM06E003 ( Document Number Range ) exit at ME21N (or other Transaction).

I hope this can help others out.

I will skip 'How to find user exit' in this post, if you need more information, can refer to this thread at SCN.
'List of Exits / Enhancements  for ME21N', refer to this thread at SCN.

1 => We need to create a project in CMOD. Give it a name and a short text.

nuffnang rectangle