cancel
Showing results for 
Search instead for 
Did you mean: 

Enhancing a web dynpro for hr-travel

Former Member
0 Kudos

HI,

I am trying to enhance FITE_VC_GENERAL_DATA for HR Travel Portal.

I want to add another field to the existing screen. I have done that, but though I have unchecked the "read only" button for the UI element, it is coming as read only on the portal.

Please guide me if i am missing any other settings to be checked.

i have

1. enhanced the existing structure to add the field at the end.

2. i have included that field in local context and i have mapped the same to context controller.

I can see the field on the portal, but its read only though i have not set it. Please help.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello,

I guess this is getting read only from any method of the component which may be setting the complete structure read only.

Can you please provide us some more info on this like where excatly you have add your new attribute and what are the properties you have set.

Thanks

Pradeep

Former Member
0 Kudos

Client wants to maintain the class of travel as well. eg. first class, business class, economy etc.

So, I created a data element PTRV_WEB_GENERAL_DATA_EXT-CLASS (Class is created by me, so would not be visible to you).

Now, I have saved all the values in domain value range of class.

I added this element to the context GENERAL_DATA of view GENERAL_DATA_VIEW.

Then I mapped this to the context controller.

This is the only things that i have done and not coded anything.

Value of the element is GENERAL_DATA_VIEW.GENERAL_DATA.CLASS

and layout data: matrix data.

I have not changed anything else.

I have just added the label for this field, which i dont have any issue with.

Former Member
0 Kudos

Hello,

I would request you to kindly check details of your context node property once again if mistakenly you have checked the check box of read-only in the context attribute properties. Also review your properties of the Input-field in the view if there you have marked the read only property checked.

As you have explained what you have done there is nothing worng in that and nothing much to do. The field should not be read only until and unless you made that so.

Thanks

Pradeep

Former Member
0 Kudos

Thanks a lot Pradeep for quick response. We still could not figure out why the field is coming as read-only. But we overwrote that attribute in Post-Exit method and the field is editable now.

But there is a new problem now.

When I enter the value in the field and click on review, the value entered in the field is cleared. Hence, I am not able to see the data or store or save it. I have only mapped the local context to context controller. Should I be mapping it somewhere else as well? Please guide.

Former Member
0 Kudos

HI,

If you have not done much change in your enhancement I would suggest you to delete your enhancement once and add the field from new enhancement may be that would work.

The field is getting blank because I guess the field is not getting saved anywhere and when you are clicking in the review button its taking you to next component and the context is no more available for that field.

For saving the value for this application you have to append the structure which are using in the SAVE FM for this screen.

Thanks

Pradeep

Former Member
0 Kudos

We have done a similar excersise and enhanced the standard component "FITE_VC_GENERAL_DATA*. It works fine in developement. Now when we trying to transport this to quality, we see that the enhancement component is capturing nearly 700 standard object and hence taking 6 hours to get released. I am afraid it would take time to transport as well.

Was wondering if we could transport only the enhancement part with out transporting the entire component.

Appreciate immediate reply.

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

You've already posted this same question to several other existing threads. This is NOT allowed according to the SCN Forum Rules of Engagement. If you have a question, post it as a new Forum thread once. I'm locking these threads because of this abuse.