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.
No comments:
Post a Comment