cancel
Showing results for 
Search instead for 
Did you mean: 

CRM_BSP_FRAME search help problem

naimkhans_babi
Active Participant
0 Kudos

Dear firends

I m having a problem with populating the search help for the Product profile wich has appliation CRMM_BSP_ACCOUNT_FS, I have created a search help with user exit Z_BP_GET_ADDRESS_EXIT, here i am accessing the address numbers, I have usesd this exit in Transaction EEWB ZBP_Product_Profile..under the (TASK) CRM_BUPA_PCUITD for the portal,, where this search work in SAP GUI...(i have attached this fumction module for BP transaction also) correctly and have no trouble. where it is not working in portal.. please tell me the what could be the problem is i ll be really thankful to you...

I m giving you the search help code also...

FUNCTION Z_BP_GET_ADDRESS_EXIT.

*"----


""Local Interface:

*" TABLES

*" SHLP_TAB TYPE SHLP_DESCT

*" RECORD_TAB STRUCTURE SEAHLPRES

*" CHANGING

*" VALUE(SHLP) TYPE SHLP_DESCR

*" VALUE(CALLCONTROL) TYPE DDSHF4CTRL

*"----


IF CALLCONTROL-STEP = 'SELECT'.

DATA: PARA TYPE tpara-paramid VALUE 'BPA',

PARTNER TYPE BU_PARTNER,

ADDRESS TYPE BU_ADDSC,

T_ADD_NO TYPE STANDARD TABLE OF BAPIBUS1006_ADDRESSES_INT,

LINE TYPE SEAHLPRES,

ADD_NO_LINE TYPE BAPIBUS1006_ADDRESSES_INT.

GET PARAMETER ID PARA FIELD PARTNER.

  • MOVE '0000000061' TO PARTNER.

DATA: ES_BUT000 TYPE BUS000___I,

ES_BUT000_OLD TYPE BUS000___I,

ET_partner TYPE TABLE OF BAPIBUS1006_KEY.

CALL FUNCTION 'BUPA_ADDRESSES_GET'

EXPORTING

IV_PARTNER = PARTNER

  • IV_PARTNER_GUID =

  • IV_ADDRESS_TYPE =

  • IV_OPERATION =

  • IV_VALID_DATE = SY-DATLO

  • IMPORTING

  • EV_STANDARD_ADDRNUMBER =

  • EV_STANDARD_ADDRGUID =

  • EV_STANDARD_USED_INSTEAD =

TABLES

ET_ADDRESSES = T_ADD_NO

  • ET_ADDRESSES_ALL =

  • ET_RETURN =

.

LOOP AT T_ADD_NO INTO ADD_NO_LINE.

CALL FUNCTION 'BUA_ADDRESS_DESCRIPTION_GET'

EXPORTING

I_PARTNER = PARTNER

  • I_PARTNERGUID =

  • I_OPERATION =

I_ADDRNUMBER = ADD_NO_LINE-ADDRNUMBER

  • I_ADDRGUID =

  • I_BUT000 =

  • I_XMEMORY = ' '

  • I_XWA = ' '

  • I_VALDT = '00000000'

  • I_VALDT_SEL = '00000000'

  • I_VALDT_SEL_NAMES = SY-DATLO

IMPORTING

  • E_DESCRIPTION =

E_DESCRIPTION_STREET = ADDRESS

  • E_XSTANDARD =

  • E_XFIX =

  • E_DESCRIPTION_LONG =

  • E_ADDRNUMBER =

  • E_DESCRIP_STREET_WITH_NAME =

  • EXCEPTIONS

  • NO_ADDRESS_FOUND = 1

  • WRONG_PARAMETERS = 2

  • INTERNAL_ERROR = 3

  • DATE_INVALID = 4

  • OTHERS = 5

.

IF SY-SUBRC <> 0.

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

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

ENDIF.

CONCATENATE ADD_NO_LINE-ADDRNUMBER ADDRESS INTO LINE-STRING.

INSERT LINE INTO TABLE RECORD_TAB.

ENDLOOP.

CALLCONTROL-STEP = 'DISP'.

ENDIF.

ENDFUNCTION.

thanking you..

regards,

Naim

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Naim,

Kindly look into the links below.

http://help.sap.com/saphelp_crm50/helpdata/en/43/cbb41ac4370cd5e10000000a1553f7/frameset.htm

Check Prerequisite and 'Adding new fields to Business Transactions. If that does not solve the problem, kindly open up an OSS message with the component CRM-BF-EEW.

Regards,

James

Answers (1)

Answers (1)

Former Member
0 Kudos

Naim,

You can also check on notes 754461 (crm 4.0) release, and 929845 for crm 5.0 release.

James