cancel
Showing results for 
Search instead for 
Did you mean: 

Find source code for web page

Former Member
0 Kudos

How do I find and edit the source code for a web page. I need to make a field mandatory in SRM shopping cart. I expect this to be simple if I could find code. I have many years with old R/3 ABAP but no experience editing web pages in any context (at work or home) and none of Java. I have NWDS but not yet tried using it.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Thanks, Olivier. That may help me in future and shows me where I can edit some of the HTML code (though I've no experience yet of even reading HTML or Javascript, let alone editing it!).

The web page I'm trying to edit has a URL of https://....../sap/bc/gui/sap/its/bbpstart which fits your example but the templates under service BBPSTART seem to bear no resemblance to the screen I need. The code under services BBPSC01 and BBPSC02 looks more relevant but still doesn't refer to the screen input field that I'm looking to edit.

Doing View Source on the web-page dumps the (very lengthy) generated code. Extracted from the header of that code-dump is...

This page was created by the SAP Integrated ITS, WebAS: SRA, workprocess: 0

Template: bbpsc02/99/saplbbp_sc_ui_its_2000.html

Does that point me to the actual editable source?

(I am using SE80 in the SRA system.)

-


I wrote the above on 3rd Jan but was unable to post it.

Since then I have found template SAPLBBP_SC_UI_ITS 2000 in service BBPSC01 does bear a resemblance to the displayed page code but as a scanty framework. The generated code has vastly more lines. I can't yet see how the template becomes the web page and where all the addditional lines of code come from and are edited.

Former Member
0 Kudos

Brian,

I think that, with internal ITS, it may be very difficult to do your own modifications...

It seems that the next release of SRM is now based on webdynpro and no more ITS which is, in my opinion, a very bad and outdated solution.

Regards,

Olivier

Former Member
0 Kudos

Thanks, Olivier, for an astoundingly rapid response; and a useful one even though it offers little hope.

I had, in my ignorance of these newer aspects of SAP, assumed that it would be a simple matter of setting a flag somewhere to make a field mandatory on a web-page input.

Are you saying that I should tell my client to forget it as it just would not be cost-effective? Or is it actually a simple job if only I could find the source code?

Former Member
0 Kudos

Hello Brian,

Sorry but as I don't work on the programming side (I'm a basis guy), I'm not qualified enough to give you a definitive answer.

It seems to me that if you can get your modification on the HTML template found in SE80, it should be possible.

If you have to modify the ITS handler then I would say to forget about it...

Good luck !

Olivier

Former Member
0 Kudos

Hello Brian,

My answer is based on SRM 5.0 which uses the internal ITS of NW 7.0.

Find the URL of the web page you're interested in.

For exemple the start page is http://myhost:port/sap/bc/gui/its/bbpstart

Go in transaction SE80, Select "Internet Service" and choose BBPSTART in the selection list.

In the displayed tree, navigate to HTML templates.

Your web pages are here !

Hope this helps.

Olivier