Case Notes:Check for null language parameter is missing
[Case] [case when null] [ids] [invalid parameter] [notes] [parameter] [sql case null] [Text]
- Error-displaying editable & non-editable parts of case notesSymptom In web gui ,Scenario 1: 1. Open a case and go to change mode if you are in display mode 2. Click on Attributes pushbutton 3. Click on Notes 4. Both...
Symptom
The scenario is best explained when working with Dispute case.
The Dispute case has added functionality for External correspondence that should only include the ‘externally visible’ notes. While getting the texts Id’s for the notes, if the languaue is not passed to one of the methods, no text ids are returned. And hence the filtering of the internal notes fails.
Other terms
case, text ids, notes,
Reason and Prerequisites
As the language is an optional parameter, the check for its value,if null, is not done.
Solution
Apply the note, for the release 701 ,please follow the below instructions.
For Release 701 [ Sp1 - SP 3]
Please make the following manual changes before applying the note.
1) Goto transaction SE24 ( class builder)
2) Type ‘CL_SCMG_TEXT_PROF_CUST’ for Object type and click on ‘Change’.
3) Goto to ‘Attribute’ tab and add the following attribute
# Attribute : LANGUAGE_OPTED
Level : Instance Attribute
Visibility : Protected
Modeled only :
Read Only :
Typing : Type
Reference Type : LANGU
Decsription : Sprachenschlé»¶sel
4) Save the class and activate it.
5) Apply the note.