10-06-2008 12:57 PM
hello all,
when i try this fuba, i become every time a shortdump, tough all of the import parameters are optional.
when i search the is_adress with "Berlin" and IV_MC_NAME1 with "Schmidt" , i become a shortdump with following message:
##########
Error analysis
An exception occurred. This exception is dealt with in more detail below
. The exception, which is assigned to the class 'CX_SY_DYN_CALL_PARAM_MISSING',
was neither
caught nor passed along using a RAISING clause, in the procedure
"BUA_GET_ADDRESS_FROM_ATTRIBUTE" "(FUNCTION)"
.
Since the caller of the procedure could not have expected this exception
to occur, the running program was terminated.
The reason for the exception is:
When calling the function module "ADDR_PERSONAL_SEARCH_V2", one of the
parameters
needed according to the interface description was not specified.
This parameter was "IV_NATION".
#############
in SM21:
13:36:32 DIA 001 010 KAUTZC SE37 AB0 Run-time error "CALL_FUNCTION_PARM_MISSING" occurred
#############
the environment is:
ECC5, with SPAM-Level :
SAP_BASIS 640 0022 SAPKB64022 SAP Basis Component Basis Support Pkg.
SAP_ABA 640 0022 SAPKA64022 Cross-Application Component Appl. Interface SP
ST-PI 2005_1_640 0007 SAPKITLQH7 SAP Solution Tools Plug-In Component Supp. Pkg.
PI_BASIS 2005_1_640 0016 SAPKIPYJ6G Basis Plug-In (PI_BASIS) 2005_1_640 Component Supp. Pkg.
SAP_BW 350 0021 SAPKW35021 SAP_BW 350 Component Supp. Pkg.
SAP_HR 500 0038 SAPKE50038 Human Resources HR Support Package
SAP_APPL 500 0018 SAPKH50018 Logistics and Accounting APPL Support Package
PI 2004_1_500 0016 SAPKIPZI6G PI 2003_1_470 : Add-On Delta Upgrade Component Supp. Pkg.
thanks, all
christoph
10-06-2008 1:08 PM
You will need to capture the EXCEPTIONS. That way you won' t get the dump.
And apparently, you need to pass parameter IV_NATION
Edited by: Maen Anachronos on Oct 6, 2008 2:09 PM
10-06-2008 1:22 PM
hello maen,
exception on this fuba does not exist.
the real name of this fuba in import parameters is "iv_nation_vers" - it is optional.
in environment ECC6 works correctly.
Thanks.
christoph
10-06-2008 1:25 PM
function addr_personal_search_v2.
*"----------------------------------------------------------------------
*"*"Local Interface:
*" IMPORTING
*" VALUE(SEARCH_IN_ALL_GROUPS) LIKE SZAD_FIELD-FLAG DEFAULT SPACE
*" VALUE(SEARCH_FOR) LIKE ADDR2_FIND STRUCTURE ADDR2_FIND DEFAULT
*" SPACE
*" VALUE(SEARCH_IN_ALL_VERSIONS) LIKE SZAD_FIELD-FLAG DEFAULT
*" SPACE
*" VALUE(UP_TO_ROWS) LIKE SY-DBCNT OPTIONAL
*" REFERENCE(IV_NATION) TYPE ADRC-NATION DEFAULT SPACE
*" EXPORTING
*" VALUE(ADDRESSES_FOUND_COUNT) LIKE SY-TABIX
*" VALUE(RETURNCODE) LIKE SZAD_FIELD-RETURNCODE
*" TABLES
*" PERSON_GROUPS STRUCTURE ADPGROUPS OPTIONAL
*" SEARCH_RESULT STRUCTURE V_ADRP_CP2 OPTIONAL
*" ERROR_TABLE STRUCTURE ADDR_ERROR OPTIONAL
*" ADRV_TAB STRUCTURE ADRV OPTIONAL
*" ADRVP_TAB STRUCTURE ADRVP OPTIONAL
*" EXCEPTIONS
*" PARAMETER_ERROR
*" INTERNAL_ERROR
This is the definition in my system (ECC6).
Maybe you should look for an OSS note.
10-06-2008 9:45 PM