Skip to Content
author's profile photo Former Member
Former Member

Table View + Exception !

Hello Friends,

I am trying to give a good look and formate to my HelpValuesTable which I am getting after calling a BAPI BAPI_HELPVALUES_GET. The problem is that when I execute the following code, it gives me Exception!

<%

TYPE-POOLS: shlp .

DATA ls_shlp TYPE shlp_descr_t.

data: myreturn type BAPIRETURN.

data: des_Table type standard table of BAPIF4E with default key,

wa_myTab like line of des_Table.

data: val_Table type standard table of BAPIF4C with default key,

wa_myTab1 like line of val_Table.

data: help_Table type standard table of BAPIF4D with default key,

wa_myTab2 like line of help_Table.

data: help type BAPISHLP.

CALL FUNCTION 'F4IF_GET_SHLP_DESCR'

EXPORTING

shlpname = 'BP_BUPAG'

IMPORTING

shlp = ls_shlp .

help-SHLPNAME = 'BUPAP' .

help-SHLPTYPE = 'SH' .

CALL FUNCTION 'BAPI_HELPVALUES_GET'

EXPORTING

OBJTYPE = 'BUS1006'

OBJNAME = 'BusinessPartner'

METHOD = 'GetList'

PARAMETER = 'BUSINESSPARTNER'

  • FIELD = 'BPARTNER'

EXPLICIT_SHLP = help

MAX_OF_ROWS = 20

  • DESCRIPTIONONLY = ' '

IMPORTING

RETURN = myreturn

TABLES

  • SELECTION_FOR_HELPVALUES =

HELPVALUES = help_Table

VALUES_FOR_FIELD = val_Table

DESCRIPTION_FOR_HELPVALUES = des_Table

.

%>

<htmlb:content>

<htmlb:page title = "BSP Extension: HTMLB / Element: tableView">

<htmlb:form>

<htmlb:tableView id = "tv1"

table = "<%= wa_myTab2-VALUES %>" >

</htmlb:tableView>

</htmlb:form>

</htmlb:page>

</htmlb:content>

Any idea, why I am encounter an exception!

"500 SAP Internal Error!"

Dont know why I am getting this internal exception

Many thanks

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Dec 01, 2004 at 06:32 PM

    It's difficult to find out the problem with the code you sent. It may be related to the environment also or you may have not activated the Service.

    First set up your Browser to display actual error instead of user friendly error.

    From the Browser menu Navigate as follows

    Tools -> Internet Options -> Advanced (Tab)

    In the list Under Browsing Uncheck the following lines

    Show friendly HTTP error messages

    Show friendly URLs

    ---

    After the above setting execute the BSP and you will fine specific error messages. Even after that if you couldn't find the solution post the error message.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.