cancel
Showing results for 
Search instead for 
Did you mean: 

SRM - Dump on debug

Former Member
0 Kudos

Hi,

I try to set debug on implementation of badi BBP_CATALOG_TRANSFER but the system return a dump error "ITS_TEMPLATE_NOT_FOUND". How I can set debug on this badi ?

If I try to set breakpoint on BSP I don't have any problem.

Thanks a lot

Francesco

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Fran,

see this thread

You need to put a parameter in the respective service. For finding the service. Go to ST22 and see that dump here you can find out the service name.

Regards,

Smita

Former Member
0 Kudos

Hi Smita,

thanks for your answer.

I have followed your indications and those of link but the system return always the same message of error. Lacks me still some passage?

Thanks

Francesco

Former Member
0 Kudos

Hi Fran,

Write a hardcoded break point in your code. Now in the attribute of service put ~GENERATEDYNDPRO=1. As written in the suggested thread.

I think you are not able to identify the correct service. Once you put the hardcoded breakpoint. the dump will tell you something like problem in the specified service. Now you put the attribute in that service.

This will definately Work.

Follow the steps in the suggested thread.

Regards,

Smita

NB : Pls reward points for helpful answers.

Former Member
0 Kudos

Hi Smita,

the error already return me the service and I have set parameter ~generateDynpro = 1 for this service but the system returne always the same error ITS_TEMPLATE_NOT_FOUND. This is the long text of error:

-

-


Errore run-time ITS_TEMPLATE_NOT_FOUND

Data e ora 28.06.2006 19:46:05

Tsto br.

Templateinterpretation abgebrochen, Template nichtvorhanden.

Causa dell'errore


Der ITS-Service "z_s_bbpcf01" mußte abgebrochen werden weil für das Dynpro mit
der
Nummer 131 im Programm "SAPMSSY3" kein Template gefunden wurde.

Das Template wurde in den folgenden ITS-Services gesucht:
"z_s_bbpcf01"

Bitte beachten Sie daß bei sprachabhängigen Templates die Sprache bei
der Suche berücksichtigt wird.



Analisi errori


Sie können testweise den Service Parameter ~generateDynpro = 1 setzen,
dann wird für diesen Service die HTML-Seite ohne Template generiert und
Sie können zumindest sehen welches Dynpro vom Web AS gesendet wurde.
Bitte vergessen Sie nicht, den Parameter wieder zurück zu setzen.

Punto di inizio dell'errore di run-time


Programma ZCL_IM__EBP_SHOPPING_CART=====CP
Include ZCL_IM__EBP_SHOPPING_CART=====CM001
Riga 9
Tipo modulo (METHOD)
Nome modulo
IF_EX_BBP_CATALOG_TRANSFER~ENRICH_ITEM_DATA

Dett. testo sorgente



Riga Tst.sorg.

1 METHOD if_ex_bbp_catalog_transfer~enrich_item_data.
2
3 * INIZIO - GAP 119
4 DATA: ls_sc_item_data TYPE bbp_pds_sc_item_d.
5 DATA: ls_catalog_content TYPE bbp_ws_oci_item_s.
6 DATA: st_zebp_gap119 TYPE zebp_gap119.
7 DATA: st_bbp_oci_enritem TYPE bbp_oci_enritem.
8
>>>>> CLEAR ls_sc_item_data.

10

11 LOOP AT et_sc_item_data INTO ls_sc_item_data.

12

13 CLEAR ls_catalog_content.

14 READ TABLE catalog_content INTO ls_catalog_content

15 WITH KEY ext_product_id = ls_sc_item_data-catalogitem.

16 IF sy-subrc = 0.

17 ls_sc_item_data-zzebp_ctrl_aut = ls_catalog_content-cust_field1.

18

19 IF sy-tcode = 'BBPCF01' OR sy-tcode = 'BBPCF02' OR

20 sy-tcode = 'BBPCF03' OR sy-tcode = 'ZSEBP_BBPCF01' OR

21 sy-tcode = 'ZSEBP2_BBPCF01' OR sy-tcode = 'ZSEBP3_BBPCF01'.

22 IF sy-ucomm = 'ADDI'.

23 IF ls_catalog_content-cust_field1 NE ' '.

24 st_zebp_gap119-uname = sy-uname.

25 st_zebp_gap119-tcode = sy-tcode.

26 st_zebp_gap119-zzebp_ctrl_aut =

27 ls_catalog_content-cust_field1.

28 st_zebp_gap119-catalogid = ls_sc_item_data-catalogid.

Former Member
0 Kudos

Hi Smita,

I have found the error.In link the parameter indicated is ~GENERATEDYNDPRO=1 but the correct is ~GENERATEDYNPRO=1 (without "D" before "PRO"). Now it's ok.

Many many thanks

Former Member
0 Kudos

Hi Fran,

Ya now you got it. I am sorry for the spelling mistake.

Regards,

Please reward points for helpful ans