Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

CSS in HTML Template ....

aayushaggarwal
Active Participant
0 Likes
842

Hi experts,

Can you please tell me how to embed CSS file in the HTML Template ??

Below is my Template Code:

`SAP_TopInclude()`

<html>

  <head>

    `SAP_PageTitle()`

    `SAP_Stylesheet()`

    `SAP_JavaScript()`

  </head>

  <body `SAP_BodyAttributes()` onload="`SAP_OnloadJavaScript()`">

    `SAP_TemplateHeader()`

    `SAP_BodyContentBegin()`

    `SAP_FormBegin()`

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

      `SAP_Label("L1")`

      `SAP_DynproLayerEnd()`

      `SAP_DynproLayerBegin(015,003,009,001)`

      `SAP_Label("L2")`

      `SAP_DynproLayerEnd()`

      `SAP_DynproLayerBegin(026,003,009,001)`

      `SAP_Label("L3")`

      `SAP_DynproLayerEnd()`

      `SAP_DynproLayerBegin(037,003,008,001)`

      `SAP_Label("L4")`

      `SAP_DynproLayerEnd()`

      `SAP_DynproLayerBegin(002,004,045,005)`

      `SAP_TableControl("%#C_101")`

      `SAP_DynproLayerEnd()`

      `SAP_DynproLayerBegin(002,004,001,001)`

      `SAP_InputField("WA_MSEG-RB1")`

      `SAP_DynproLayerEnd()`

      `SAP_DynproLayerBegin(002,009,009,001)`

      `SAP_Button("B2")`

      `SAP_DynproLayerEnd()`

      `SAP_DynproLayerBegin(012,009,015,001)`

      `SAP_Button("B1")`

      `SAP_DynproLayerEnd()`

      `SAP_DynproLayerBegin(044,009,001,001)`

      `SAP_Button("B4")`

      `SAP_DynproLayerEnd()`

      `SAP_DynproLayerBegin(046,009,001,001)`

      `SAP_Button("B3")`

      `SAP_DynproLayerEnd()`

    `SAP_FormEnd()`

    `SAP_BodyContentEnd()`

  </body>

</html>

Regards,

Aayush Aggarwal

4 REPLIES 4
Read only

Former Member
0 Likes
706

Hi,

SAP Standard Stylesheet is included by

    `SAP_Stylesheet()`

I've found an old SAP Business HTML cookbook on SAP Design Guild, but maybe you can find a newer one there.

Regards,

Klaus

Read only

aayushaggarwal
Active Participant
0 Likes
706

Thank You ....

I'll check it !

Read only

aayushaggarwal
Active Participant
0 Likes
706

Hi Klaus,

The link you provided was useful but it didn't solve my query, kindly provide a solution.

Regards,

Aayush Aggarwal

Read only

0 Likes
706

Hi Aayush Aggarwal,

here is another link that may be helpful.

Regards,

Klaus

,