cancel
Showing results for 
Search instead for 
Did you mean: 

creating a simple HTML template

Former Member
0 Kudos

Hello All,

I have to create a simple HTML template for a screen in SRM for Mass change of a field on contracts. I have ITS service ready and I have created a HTML template with reference to the prorgam and screen. It generated following code. what change do I need to make to make the template displayed. When i run the template it gives me an error 'URL http://XXXXX/sap/bc/gui/sap/its/ysrm_ctr_mass/ call was terminated because the corresponding service is not available'.I have never worked on HTML templates before. Anybody wannna help me, pls?

Here's the generated code:

`include(~service="system", ~language="", ~theme="dm", ~name="TemplateLibraryDHTML.html")`

`SAP_DynproLayerBegin(003,001,028,001)`

`SAP_Label("%#AUTOTEXT001")`

`SAP_DynproLayerEnd()`

`SAP_DynproLayerBegin(003,003,020,001)`

`SAP_Label("YSRMS_CTR_MASS_NEG_AMEND-YYNEG_AMEND_OLD")`

`SAP_DynproLayerEnd()`

`SAP_DynproLayerBegin(030,003,005,001)`

`SAP_InputField("YSRMS_CTR_MASS_NEG_AMEND-YYNEG_AMEND_OLD")`

`SAP_DynproLayerEnd()`

`SAP_DynproLabelLine(003,003,030)`

`SAP_DynproLayerBegin(003,004,020,001)`

`SAP_Label("YSRMS_CTR_MASS_NEG_AMEND-YYNEG_AMEND_NEW")`

`SAP_DynproLayerEnd()`

`SAP_DynproLayerBegin(030,004,005,001)`

`SAP_InputField("YSRMS_CTR_MASS_NEG_AMEND-YYNEG_AMEND_NEW")`

`SAP_DynproLayerEnd()`

`SAP_DynproLabelLine(003,004,030)`

`SAP_DynproLayerBegin(004,006,014,001)`

`SAP_Button("CTR_NEG_AMEND_REJ")`

`SAP_DynproLayerEnd()`

Thanks,

Chandra

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi

Which SRM version are you using ?

Please do the following steps ->

-->Activate the services through SICF - SRM transaction code.

> Go to SICF transaction and activate the whole tree under the node Default host>sap>bc>gui>sap>its.

Right click on any of the services (there you will find option to De-actiave / activate the service)

Related links ->

Note 851940 - Launchpad in BBPSTART has wrong URL for services

Please ensure IACOR service must be running correctly before publishing the HTML Templates using the report - W3_PUBLISH_SERVICES

When you are using the Internal ITS,you need not run the report W3_PUBLISH_SERVICES.(only SIAC_PUBLISH_ALL_INT )

Regards

- Atul

Answers (0)