cancel
Showing results for 
Search instead for 
Did you mean: 

Function Module 'ISU_FINDER'

Former Member
0 Kudos

Regarding the FM 'ISU_FINDER', I have a one query.

CALL FUNCTION 'ISU_FINDER'

EXPORTING

X_OBJTYPE = 'CONNOBJ'

X_FINDPAR =

  • X_FREE_EXPR =

  • X_MAXROWS =

  • X_MAXROWS_EXTENDED =

  • IMPORTING

  • Y_INCOMPLETE =

  • Y_PARTNERSEARCH_INCOMPLETE =

  • Y_FINDPAR =

TABLES

YT_RESULT = FT_RESULT

  • YT_TRACE =

  • EXCEPTIONS

  • INSUFFICIENT_SELECTION = 1

  • OBJTYPE_NOT_SUPPORTED = 2

  • ADDITIONAL_SELECTION_NEEDED = 3

  • OTHERS = 4

.

IF SY-SUBRC <> 0.

  • MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO

  • WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.

ENDIF.

Please tell me what data/data type I need to pass in the X_FINDPAR field. I am running the function module for an ISU business partner , therefore I have declared X_OBJTYPE = 'CONNOBJ'.

Also tell me what will be the type of the output.

Thanks...

Accepted Solutions (0)

Answers (3)

Answers (3)

i807822
Advisor
Advisor
0 Kudos

I will try to give an example on how to use the ISU_FINDER. The object type

passed will determine what you will be looking for.

The structure EFINDPAR is a search parameter for the IS-U specific Data Finder.

You fill in what you need to search for.

In our case, we supply c_bupart.

  • get business partner address number

call function 'ISU_DB_PARTNER_SINGLE'

exporting

x_partner = lv_bupart

importing

y_but000 = ls_but000

exceptions

partner_not_found = 1

partner_in_role_not_found = 2

internal_error = 3

others = 4.

ls_efindpar-c_bupart = lv_bupart.

  • get all contracts for the supplied business partner

call function 'ISU_FINDER'

exporting

x_objtype = 'ISUCONTRCT' *Look in Include IEOBJTYP eg.

*co_objtype_contract

x_findpar = ls_efindpar

tables

yt_result = lt_result

exceptions

insufficient_selection = 1

objtype_not_supported = 2

additional_selection_needed = 3

others = 4.

lt_result is of type standard table of efindres. In here you should have a list of,

in our case, all contracts related to this partner.

I hope this helps.

Thanks Nick.

Former Member
0 Kudos

Hi Pradipta,

1. X_OBJTYPE : - This is for the object that you want to search ( not the object that you want to use as the input selection parameter).

2. X_FINDPAR : - There are absolutely no restrictions for the data to be passed inside this structure.Whatever passed is simply used as the selection paramter.

It is not clear from your query whether you are searching using a Connection Object or a Business Partner, otherwise I would have given you the parameters to be filled.

Let me know if you need any further help.

Regards,

Rishi.

Former Member
0 Kudos

Pradipta,

FM ISU_FINDER does not exist in SAP R/3 5.0

What SAP system / version are you running?