Tuesday, December 29, 2009

FRICEW


FRICEW is the primary skill sets of ABAPER:
  • F => Forms
    1. Smart Forms
    2. SAP Script
    3. Adobe Interactive Forms
    4. Print Workbench
  • R => Reports
    1. Basic List
    2. ALV ( SAP List Viewer )
    3. Crystal Report
  • I => Interfaces
    1. ALE( Application Link Enabling )
    2. BAPI( Business Application Programming Interface )
    3. CPI-C( Common Program Interface Communication )
    4. EDI( Electronic Data Interchange )
    5. HTTP ( HyperText Transfer Protocol )
    6. LU 6.2( Logical Unit Type 6.2 )
    7. RFC( Remote Function Call )
    8. OLE( Object Linking and Embedding )
    9. SMTP( Simple Mail Transfer Protocol )
    10. SOAP( Simple Object Access Protocol )
    11. TCP/IP( Transmission Control Protocol/ Internet Protocol )
    12. XML( eXtensible Markup Language)
  • C => Conversions
    1. LSMW( Legacy System Migration Workbench )
    2. BDC( Batch Data Communication )
    3. Call Transaction
    4. EMIGALL (IS-U Migration Workbench)
  • E => Enhancements
    1. Classic Enhancement Concept
      • Customer Exits
      • Enhancement Management
      • Program Exit
      • Menu Exit
    2. New Enhancement Concept
      • Enhancement Point
      • Enhancement Section
      • Screen Exit
      • Classic BAdI
      • New BAdI
  • W => SAP Business Workflow

Monday, December 28, 2009

LINES vs DESCRIBE


1. LINES
· LINES( itab ) => return number of rows of an itab in TYPE i .
· DESCRIBE TABLE itab [LINES lin] [OCCURS n] [KIND knd].
- [LINES lin] => lin TYPE i, contains number of filled lines in itab.
- [OCCURS n] => n TYPE i, contains initial size of the table.
- [KIND knd] => knd TYPE c, contains the table type of itab.
o ‘T’ = Standard Table
o ‘S’ = Sorted Table
o ‘H’ = Hashed Table
· DESCRIBE TABLE itab.
- SY-TFILL TYPE i, contains number of filled lines in itab.

Monday, December 21, 2009

ISU_FINDER

CALL FUNCTION 'ISU_FINDER'
EXPORTING
x_objtype =
x_findpar =
* X_FREE_EXPR =
* X_MAXROWS =
* X_MAXROWS_EXTENDED =
* IMPORTING
* Y_INCOMPLETE =
* Y_PARTNERSEARCH_INCOMPLETE =
* Y_FINDPAR =
* Y_FREE_EXPR =
tables
yt_result =
* YT_TRACE =
* EXCEPTIONS
* INSUFFICIENT_SELECTION = 1
* OBJTYPE_NOT_SUPPORTED = 2
* ADDITIONAL_SELECTION_NEEDED = 3
* OTHERS = 4
.
*------------------------------------------

* EXPLANATION:

*------------------------------------------

1. X_OBJTYPE => You can either pass constant or hard coded value as per following table.


No.

Description

Constants

Values

1

Business Partner

co_objtype_bpartner

'ISUPARTNER'

2

Contract Account

co_objtype_account

'ISUACCOUNT'

3

Contract

co_objtype_econtract

'ISUCONTRCT'

4

Budget Billing Plan

co_objtype_budbilplan

'BUDBILPLAN'

5

Installation

co_objtype_instln

'INSTLN'

6

Premise

co_objtype_premise

'PREMISES'

7

Connection Object

co_objtype_connobj

'CONNOBJ'

8

Device Location

co_objtype_devloc

'DEVLOC'

9

Device

co_objtype_device

'DEVICE'

10

Print Document

co_objtype_printdoc

'PRINTDOC'

11

Service Order

co_objtype_smorder

'ISUSMORDER'

12

Service Notification

co_objtype_smnotif

'ISUSMNOTIF'

2. X_FINDPAR => Search criteria in the structure of EFINDPAR.

3. X_FREE_EXPR => Free Expression Search Criteria. For instance, when you are getting the installation, you don’t want the installation for electricity division, so you can add an entry specifying table name = ‘EVER’ and then criteria is SPARTE NE ‘01’.

4. X_MAXROWS => [Open for Discussion]

5. X_MAXROWS_EXTENDED => [Open for Discussion]

6. Y_INCOMPLETE => [Open for Discussion]

7. Y_PARTNERSEARCH_INCOMPLETE => [Open for Discussion]

8. Y_FINDPAR => Equal to X_FINDPAR

9. Y_FREE_EXPR => Equal to X_FREE_EXPR

10.YT_RESULT => Search Result. For instance, you are looking for connection object, this internal table will return list of connection object found.

11.YT_TRACE => Search tree returned. For instance, you provide contract account number, and looking for connection object, so the search tree will contain list of ISUACCOUNT -> ISUCONTRCT -> INSTLN -> PREMISES -> CONNOBJ.

*------------------------------------------

* NOTE:

*------------------------------------------

1. Normally X_OBJTYPE, X_FINDPAR, and YT_RESULT should be sufficient.

2. You can use ISU_FINDER to search items as below:

· Business Partner -> Contract account

· Contract Account -> Contracts

· Contract Account -> Print Document

· Contracts -> Installation

· Installation -> Device

· Installation -> Premise

· Premise -> Connection object

· Budget billing -> Contract

· Device Location -> Connection object

· Device Location -> Device

· Connection object -> Service Order

· Connection object -> Service Notification

3. For instance, you have contract account number ‘999999999999’ and you are looking for all the contracts under this contract account number. You can pass ls_efindpar-a_vkont = ‘999999999999’ and export ls_efindpar to X_FINDPAR, X_OBJTYPE = 'ISUCONTRCT', you will get the result from YT_RESULT.