cancel
Showing results for 
Search instead for 
Did you mean: 

Error while trying to get F4 help for a field mapped to an info object

Former Member
0 Kudos

Hi,

I am getting the following exception while trying to attach a search help to a drop down list box.The field belongs to a table on the BW server which has an explicit search help attached to it.I am getting the following exception:

An exception occurred. This exception is dealt with in more detail below

. The exception, which is assigned to the class 'CX_BSP_SERVICES_SHLP', was neither

caught nor passed along using a RAISING clause, in the procedure "_ONCREATE" "(METHOD)" . 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: The input help is not suitable.

As I am new to BW server I am unable to find the solution.Please help me out.

Regards

Tejaswini

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Can you post your code that tries to do this, or at least the OnCreate event code?

Former Member
0 Kudos

Hi,

I got the solution to this.

Thanks

Tejaswini

Former Member
0 Kudos

Great to hear!

Former Member
0 Kudos

Hi Craig,

I was actually not using the f4 help of the

IF_BSP_SERVICES class. Now I want to implement this as I have got many fields on my page. But I am getting the above mentioned error while doing this. The Code in OnInitialization() is:

data: dataref1 type ref to data.

data:wa_r8t_prog type ZR8T_S_API_PROG_H.

get reference of wa_r8t_prog-ZR8CPRGTY into dataref1.

try.

call method runtime->ddic_utils->get_simple_helpvalues

exporting

data_object_ref = dataref1

changing

helpvalue_tab = t_vallist.

catch cx_bsp_services.

endtry.

But I have a search help attached to 'ZR8T_S_API_PROG_H-ZR8CPRGTY' field

My 'ZR8T_S_API_PROG_H' structure definition is as follows:

.INCLUDE ZR8T_REBATE_PROG 0 0 Rebate Program

ZR8CPRGID /BIC/OIZR8CPRGID CHAR 32 0 Rebate Program ID

COMP_CODE /BI0/OICOMP_CODE CHAR 4 0 Company Code

ZR8CPRGTY /BIC/OIZR8CPRGTY CHAR 5 0 Program type

Can I get f4 help from search help exits or do I have to use only value tables?

Regards

Tejaswini

Message was edited by: Tejaswini Das

Former Member
0 Kudos

Not sure, have a look at these weblogs:

/people/thomas.jung3/blog/2004/11/01/bsp-value-input-help-popups-version-20-part-1

/people/thomas.jung3/blog/2004/11/01/bsp-value-input-help-popups-version-20-part-2