cancel
Showing results for 
Search instead for 
Did you mean: 

Making a Input Field read only in a template

Former Member
0 Kudos

Hi ,

I working on a profession user transaction . An internet service was created out of it without mixed mode.

<b>Doubt 1</b>

There dint seem to be any default templated available. Hence i created a template for the initial screen.

The initial template parameter is also set to the template that has been created.

Is this procedure correct ?

There is some missing link here i assume.

The error i am getting is

Interpreter Failed

The Internet Transaction Server failed to generate the response for current request.

<b>

Doubt 2</b>

There is a field `SAP_InputField("DYNP_RHPP-OTYPE1")`

How do i make it read-only in the HTML Template

Please help.

Thanks and Regards

Bharathwaj

Accepted Solutions (1)

Accepted Solutions (1)

athavanraja
Active Contributor
0 Kudos

1. Looks like template for some screens are missing. try passing ~generatedynpro = 1 for the service and see whether it works

(also make sure that the template is published succesfully)

2. is WAS 6.40 i can see a tag for this

`SAP_TemplateNonEditableField("id"

<!,fieldLabel="">

<!,fieldLabelWidth="">

<!,type="SAP_WEBGUI">

<!,value="">

<!,size="">

<!,inspectionText="">

<!,width="">

<!,paddingTop=0>)`

Regards

Raja

is your previous question answered.

Former Member
0 Kudos

Hi Raja,

When we set the parameter it is working fine. But in this case i need some modifications in the screen. So i cant use this option.. How can i generate the base template and use it.. ?

I am not able to check your second answer as i am not able to make ITS take my template.. !

About my previous post, I am pretty much confused.. ! There is no clear distinction of what to use when.. some satisfy some needs and some the other.. !

How about sticking to WebTransactions using HTML business.. !

Will my requirements be acheived if i stick to that model..

Thanks a lot for u r help.

Bharath,

Answers (0)