on 06-25-2008 4:39 PM
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
Did you try to publish the service?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.