debugSAP
How to debug SAP ABAP code and troubleshoot the problem.
Thursday, September 29, 2011
Archive IDOC's having error status
IDOC are used to pass data from One system to other system . once IDOC process successfully it will get Archive because they not in used. Some time some IDOC's when into error they can not process due to data issues.. Such case we can change IDOC Status in 68. It will become process. And Archive program will archive them.
How to see structure with /
In SE11 used to display data dictionary objects. Some time we have structure with / which not get display when enter structure name in table text input. This will normally get display with search help Input Output Text.
Saturday, August 13, 2011
How to debug Outbound IDOC
In some cases investigation with IDOC is very difficult outbound process.
Example : Modification of Segment Data.,
There are steps to check this process.
1. Check function module in SM37 with name of message type example '*ORDSP*'.
2. Check Segment Where used list in SE11 transaction.
3. Always used Update debugging because normally IDOC are process in Update Task.
4. Normally funcation module used to process IDOC will have routine to fill segment. Better to search routine in function module to put break point.
Example : Modification of Segment Data.,
There are steps to check this process.
1. Check function module in SM37 with name of message type example '*ORDSP*'.
2. Check Segment Where used list in SE11 transaction.
3. Always used Update debugging because normally IDOC are process in Update Task.
4. Normally funcation module used to process IDOC will have routine to fill segment. Better to search routine in function module to put break point.
Thursday, August 11, 2011
Flag used in program to background flag
in SAP we have system variables are used to check program is running in background .SY-BATCH . But this flag is blank suppose program is running in update task.
Monday, August 1, 2011
SE11 APPEND NEW FIELDS IN SAP TABLES
Some time due to business critical requirement standard SAP tables get changed. New fields append into transparent tables. Since table already has records new column value will be NULL by default.for existing records.
While using SQL statement with new fields if we want to check initial value use IS NULL option.
While using SQL statement with new fields if we want to check initial value use IS NULL option.