cancel
Showing results for 
Search instead for 
Did you mean: 

Custom PCR - Param CONTROL_PARAM.ISR_REVIEW has valu false in revew screen

Former Member
0 Kudos

Hi Guys,

I am creating a custom PCR. As is the case with the the road map applications I want to disable all the fields in the review screen. I am trying to use the parameter CONTROL_PARAM.ISR_REVIEW to decide whether I am in the review screen. I have taken a text field and have bound the text field value with this field.

The value of the text field always shows false.

I tried to put this code in the form::ready event in the Adove form scripting as suggested in the ISR cook book. But the field are inptu enabled even in the review screen. Do I need to do anything specifically before this value if popluated correctly?

SCripting I am using ... which does not work for me ... CODE for ISR cook book

******************

Example for a script (FormCalc) of an input field:

-


data.#subform[0].TextField1[1]::ready:form - (FormCalc, client)

-


//Check ISR control parameters for read/write access

if($record.CONTROL_PARAM.ISR_REVIEW == "true" )

then

this.access = "readOnly"

endif

*************************************

Any thoughts

Regards

Raj

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

use the following standard forms and check with there code.

ISR_FORM_SPPD

ISR_FORM_SPSD

ISR_FORM_SPSE

ISR_FORM_SPPS

ISR_FORM_SPPM

most of the code exists here

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Ajay,

This script does not seem to be working fine.

Atleast the script

if($record.CONTROL_PARAM.ISR_REVIEW == "true" )

then

this.access = "readOnly"

endif

always fails.

And above all, after the manager fills the form, the data is not getting saved at all. Like if the manager enter values in the inout fields, when it goes for approval, the approver is not getting any values entered by the maanger. The manager entered values are not getting saved in the notification tables

We are on erp 6.0 SP 11. Not sure if it might be an issue and whether i would be required to raise oss message

raj

Former Member
0 Kudos

Want to know more about the issue...

a) lets assume that your manager enters values in the form

b) do you have review button? does data get displayed there?

c) then when he clicks SEND button, is there a notification number displayed?

d) goto IQS2 and enter notification number and check the form's data...if you dont find data here then,

go to the forms's badi and check the codes.

Former Member
0 Kudos

Thanks for your response... kindly look below the issue thati am facing

a) lets assume that your manager enters values in the form OK

b) do you have review button? does data get displayed there? YES

c) then when he clicks SEND button, is there a notification number displayed?

*****************************************************

YES and there is also a link called

What do you want to do next?

Display and Print Form -


This is a hyper link and is supposed to show what data manager has saved.

When I click on this link, thsi does not show the information saved by the manager, but shows all empty values. Lets assume that the manager views Current position Title and Change the New position Title field. The New psoition Title field is blank here.

I have debugged the ISR_SPECIAL_DATA_TO_POSITION funciton module and the internal table it_special_param which is supposed to contain the new value entered by the manager is nto been popluated in this internal table. The standard SAP provided ones have the manager entered new valeus in this internal table. Not suer if this has anything to do woth binding or anything else* Please advise*

************************************

d) goto IQS2 and enter notification number and check the form's data...if you dont find data here then,

SAME CASE here, the notification is created, but the manager enterd data is not popkuated here

go to the forms's badi and check the codes. Which code do you think will have this logic to popluate the values entered by the manager in Adobe

Former Member
0 Kudos

Hi,

I got the same issue..if you have solution then can you please share...