August 12, 2012

BTE - Business Transaction Events

BTE can add additional custom functionality to the FI area.

Useful link - http://wiki.sdn.sap.com/wiki/display/ABAP/BTE+-+Business+Transaction+Event

More info can found in transaction SPRO. Use menu path below.

Financial Accounting (New) -> Financial Accounting Global Settings (New) -> Tools -> Customer Enhancement. Select Documentation on Business Transaction Events.

August 8, 2012

How to use Database Indexes in ABAP

In SE11, use menu path Goto->Indexes. Then select the relevant index and get the "DB index name".


Use the select statement as below.


  SELECT docnum sndprn docnum AS docnum1 
    INTO CORRESPONDING FIELDS OF TABLE i_edidc
    FROM edidc
   WHERE mestyp 'REMADV'  AND
         status '53'      AND 
         credat IN s_credat AND 
         docnum IN s_docnum
         %_hints oracle 'INDEX("EDIDC" "EDIDC~4")'.

July 19, 2012

Sales Order to Delivery Split Analysis


·         SAP Note 546668
·         SAP Note 399912

July 18, 2012

Output Type (Message Type) Processing for Developers


All information of output types (NACE configurations) are maintained in maintenance view VN_T685B.

Message Type entry for documents such as orders are in table NAST.


Function Modules NAST manipulation
  • RV_MESSAGE_DELETE
  • RV_MESSAGE_DIALOG
  • RV_MESSAGE_PREVIEW
  • RV_MESSAGE_PRINT_SINGLE
  • RV_MESSAGE_PROCESSING_VB 
  • RV_MESSAGE_READ 
  • RV_MESSAGE_SELECT 
  • RV_MESSAGE_SELECT_SINGLE 
  • RV_MESSAGE_SET_PROCESS_STATE 
  • RV_MESSAGE_UPDATE 
  • RV_MESSAGE_UPDATE_SINGLE

Assign T-Code to QuickView (SQVI)


1.    Go to the system you want the QuickView to run (usually a production system) and create the QuickView.
2.    After creating the QuickView go to QuickView->Additional Functions->Generate Program
3.    Then go to QuickView->Additional Functions->Display Report Name
4.    Copy the report name and go to your development system and create a t-code for the report program name and transport to the production system.

Convert QuickView (SQVI) to SAP Query


1.    Goto the system you want the QuickView to run (usually a production system) and created the QuickView.

2.    After creating the QuickView click the “SAP Query” button in the QuickView: Initial Screen.

3.    In the SAP Query screen goto Query->Convert QuickView…

4.    If the “Convert QuickView” option is disabled goto Environment->Query Areas and select “Standard Area” and it will enable the convert option.

5.    Assign a SAP Query name and an InfoSet name.