cancel
Showing results for 
Search instead for 
Did you mean: 

Short dump in BBP_CUF_BADI

Former Member
0 Kudos

Hi All,

We are in SRM 5.5. The requirement is to add some custom fields in the shopping cart screen as a separate tab.

I did the following

1) Created a function group ZM02

2) Created 2 FMs Z_PUT_DATA and Z_GET_DATA. FM Z_PUT_DATA has two import parameters, REPID and DYNNR.

3) Created a screen SAPLZM02 1000 in the function group ZM02. The screen is called using a CALL SCREEN statement in FM Z_PUT_DATA

4) Created a internet service ZSCREEN with HTML template SAPLZM02 of type "Generate HTML from screen" with the following attributes. "Program name" - SAPLZM02 (Screen name). "Screen number" - 1000. "Generating style" - Classic.

5) Created a HTML template ZSC_1000 of type "HTML template name" in the internet service BBPSC01. The following is changed in the include

`include(~service="ZSCREEN", ~language="", ~theme="99", ~name="SAPLZM02.html");`

6) Implemented the BADI BBP_CUF_BADI with the FM call Z_PUT_DATA in the method PUT_DATA. FM Z_GET_DATA is called in the method GET_DATA

Now when I test the service BBPSC01, it is giving me the following short dump

Short text

Template interpretation failed. Template does not exist.

What happened?

The ITS service "bbpsc01" failed since not template could be found for

the screen with the number 1000 in the program "SAPLZM02".

The template was searched in the following ITS services:

"bbpsc01"

Note that for language-dependent templates the language is included

in the search.

What can you do?

Call transaction SE80 and choose the Internet service "bbpsc01". Check

if the template exists.

If the template exists in the service, publish the entire service

to the SITE INTERNAL.

I don't know what went wrong. Can someone help me out in proceeding further.

Thanks & Regards,

SRS

Accepted Solutions (0)

Answers (1)

Answers (1)

imthiaz_ahmed
Active Contributor
0 Kudos

Did you try to publish the service?

Former Member
0 Kudos

Yes. I published the ZSCREEN as well as BBPSC01 service.