cancel
Showing results for 
Search instead for 
Did you mean: 

FITE_VC_RECEIPTS - SAP ESS

Former Member
0 Kudos

Hi All

Receipt amount field should be u201Cdisplayu201D only if the u201CService Provideru201D field is American Express. any idea to achieve this much appreciated. is it advisable to input this kind of code in standard webdynpro delivered by SAP.

Thanks

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Dear Indira,

To dynamically change the read-only property for field RECEIPTS_REC_AMOUNT_EDITOR, you will need to change

the context attribute that is bound to it.

The context attribute I'm referring to is here

RECEIPTS-TABLE_FIELD_CONTROL-INPUTAMN

See this image to better understand what I'm saying

[http://imageshack.us/photo/my-images/41/20110929091528.jpg/]

All you need to do is, according to your validations, set this flag ON/OFF on your method.

Hope this helps.

Kind Regards

/Ricardo Quintas

Former Member
0 Kudos

Hi Ricardo

Thanks for your quick respones.

These are standard webdynpros delivered by SAP , edit mode or cltl +F4 , ehancment, it was asking for access key.

Can we add code to webdynpros standard delivered SAP?

Thanks

Former Member
0 Kudos

Dear Indira

When running the WD, have you tried to CTRL+Click on the desired field already ?

It will show you a pop-up with extra technical details.

In this popup you can usually find where exactly is this field created

- what VIEW

- what WD

- etc....

Kind Regards

/Ricardo Quintas

Former Member
0 Kudos

FITE_EXPENSES webdynpro application Calling below two webdynpro components

Component = FITE_VC_RECEIPTS

View = RECEIPTS_VIEW

Field = RECEIPTS_REC_AMOUNT_EDITOR

Component = FITE_UI_RECEIPT_DETAILS

View = DETAILS_VIEW

Field = PAYOUT

Based on value of PAYOUT, Can i set RECEIPTS_REC_AMOUNT_EDITOR read only?

Thanks

Former Member
0 Kudos

Dear Indira,

You have 2 options for this:

1) if you want this change available for all and defined at design-time then you will need to change/create a new Personalization/Condifuration for this WD. And there you can hide you UI element from the layout

2) if on the other hand you want this change to happen when certain conditions are met, in other words, decided at run-time, then you will need to enhance your WD.

On that enhancement you will then need to add new code on the method WDDOMODIFYVIEW of your view. This code will then validate your conditions and set the property Visible to '01' (non-visible) to the specified UI elements you want to hide.

There's plenty examples on SDN on how to code for this method WDDOMODIFYVIEW.

Kind Regards

/Ricardo Quintas

Former Member
0 Kudos

Hi

i am trying to locate field Service Provider in context for value " american express" , i need to write set receipt amount read only.

any help in this regard is much appreciated.