cancel
Showing results for 
Search instead for 
Did you mean: 

Any examples of Tabstrip and MVC

former_member82844
Participant
0 Kudos

Does anyone know of an example that uses a TABSTRIP while using MVC of the BSP?

Glenn

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Answers (3)

Answers (3)

former_member82844
Participant
0 Kudos

I guess I was asking the wrong questions, What I really needed was PHTMLB tabstrip but I was able to find information on it as well as work with HTMLB tab strip. It also turns out that the BSP I am modifying cannot handle the phtmlb events correctly so I am going to use the htmlb tabstrip as it is working just fine.

former_member182426
Active Contributor
0 Kudos

hi,

give your email id, i will send some document.

Regards,

Shankar.

former_member188685
Active Contributor
0 Kudos

There is not much difference when compared to page with flow logic, you can see the example in the application SBSPEXT_HTMLB , page Tabstrip.bsp

check it once.

former_member82844
Participant
0 Kudos

If I am using a View, I need to capture the events (on the page it was using oninputprocessing). I am having problem trying to figure out how to do this in the controller.

I f I do nothing, I get the following error when I click on a tab:

The following error text was processed in the system N11 : Access via 'NULL' object reference not possible.

The error occurred on the application server s143p1_N11_00 and in the work process 5 .

The termination type was: RABAX_STATE

The ABAP call stack was:

Method: ONINPUTPROCESSING of program CLO22R5DRKUH6KTFVM1M8DS47Y7BUCP

Method: %_ONINPUTPROCESSING of program CL_O22R5DRKUH6KTFVM1M8DS47Y7BUCP

Method: DO_REQUEST of program CL_BSP_PAGE===================CP

Method: ON_REQUEST of program CL_BSP_RUNTIME================CP

Method: IF_HTTP_EXTENSION~HANDLE_REQUEST of program CL_HTTP_EXT_BSP===============CP

Method: EXECUTE_REQUEST_FROM_MEMORY of program CL_HTTP_SERVER================CP

Function: HTTP_DISPATCH_REQUEST of program SAPLHTTP_RUNTIME

Module: %_HTTP_START of program SAPMHTTP

former_member188685
Active Contributor
0 Kudos

in case of controller you need to use DO_HANDLE_EVENT for events handling, and DO_REQUEST for navigation.

so where are you doing..? make sure your application is stateful. and see..if possible post your code here used in the above methods.

former_member184111
Active Contributor
0 Kudos

Hi Glenn,

You are trying to access an element that has not been created or instantiated .

You can get the details of dump in ST22 it should will tell you the object that is null.

Probably the statment CREATE OBJECT is missing somewhere in your code...

Regards,

Anubhav.