cancel
Showing results for 
Search instead for 
Did you mean: 

Extending Vendor Ui with custom fields And values getting refreshed

Former Member
0 Kudos

HI MDG Guru's...

I am working on  EHP6 vendor enhancements. I have added required custom fields to the vendor UI However the data entered in custom fields is getting refreshed/cleared as soon as any navigation action is performed.

below is the URl which i followed to add the fields to the data model and UI.

http://scn.sap.com/docs/DOC-29042

Entered the values for custom fields

click on details

Values getting cleared

Any idea on what should be the corrective action for this ? Or do we have any existing SAP notes for this issue. Please suggest.

Ragards,

Charita.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Charita,

You can check once if corresponding fields, to store input values of custom fields, are also added in underlying database.

If fields are added, then you need to make sure that data is being saved in those fields when you click save button on UI.

Also when you click "Details" button, you need to ensure that you have entered the code to retrieve the values of custom fields from data base and populate on UI.

May be any one or multiple issues mentioned above are causing the issue. You can check once.

Regards,

Ankush

Former Member
0 Kudos

HI Ankush,

Thanks for the reply.

I have already added the corresponding fields to the database ,And i have done SMT maping as well.

But inorder to check if the fields are being stored to those fields or not i should first be able to save the data, I will not able to save it because as soon as i perform any action values are getting cleared.

Only if values persist i can check if the values are getting stored in Backend or not. So the issue is why the values are geting cleared ,And what am i suppose to do for not to make them clear.

Regards,

Charita.

Former Member
0 Kudos

Hi,

Another possible reason could be that in the code you have written, variables to store the value of these custom fields are being cleared when you click on some other tab on UI. You can check once to be sure.

Thanks and Regards,

Ankush

Former Member
0 Kudos

HI Ankush,

There isnt any code so far .. there is only configuration that is required to add the fields to the UI i.e. Extending data model, SMT Mapping.

Thanks.

Charita.

Former Member
0 Kudos

Hi Charita,

Is your issue resolved. If so how did you solve it. Please let me know the procedure.

Thanks in Advance.

Regards,

M.Ramana Murthy

Former Member
0 Kudos

HI Ramana,

Yes the above mentioned problem got resolved. I was not using data elements in data model instead i was using direct elements like char40 which caused the issue. I converted them to data elements and issue solved.hope it is helful.

Thanks.

Charita.

Former Member
0 Kudos

Hi Charita,

Thanks for your reply. My issue is resolved.

Regards,

M.Ramana Murthy    

former_member844576
Discoverer
0 Kudos

Hi Ramana,

I am facing the same issue . Can you tell how is this issue resolved.

Thanks & Regards