cancel
Showing results for 
Search instead for 
Did you mean: 

Custom attribute value disappears on enter and not saving

former_member228349
Participant
0 Kudos

hi,

Facing an issue with the enhancement in the PRDHS,   when I added the model node ->Base entity

it had existing attribute zzserial_no.  I added it in the view configuration and generated the setter and getter methods

when I tested it in ui..  It is not updating the values/  and the value resets to null on enter or any event.

is there any work around..  I even tried to add new value node and tried to push value at the run time..

when I debugged the getter method..  the DREF is getting filled with null and no value is getting set

can anyone guide

thanks

Dhinesh

Accepted Solutions (1)

Accepted Solutions (1)

RaviTejaGuptha
Active Participant
0 Kudos

Hi Dhinesh,

When you press enter whether 'SET' method of that attribute is getting trigerred?

Check what value is getting set and let us know...

Regards,

Ravi

former_member228349
Participant
0 Kudos

hi

thanks for the response.

the getter and setter methods are getting triggerred but.. unfortunately it saves null value

its not picking up the value entered in ui..

thanks

Dhinesh

RaviTejaGuptha
Active Participant
0 Kudos

Hi Dhinesh,

May be you need to check whether it is coming from HTML page or not.

You can debug this method CL_HTTP_REQUEST~IF_HTTP_ENTITY~GET_FORM_FIELDS_CS.

For more details you can check this post

http://scn.sap.com/thread/3687130

Regards,

Ravi

former_member228349
Participant
0 Kudos

hi ravi,

thank you for the input.

I checked the set_s_struct is passing value to the setter method,

the dataref is getting null value and the value is set thru set property method

but again the dataref returns null value and is updated in the ui again resetting the value in the field.

thanks

dhinesh

issue solved... thanks for the help.. i am giving full points...

Answers (0)