cancel
Showing results for 
Search instead for 
Did you mean: 

Enhancing Logic in Web Dynpro

Former Member
0 Kudos

Hi Experts,

                  I have a requirement to Change the address entered by employee on the portal to Upper Case. I am unable to find the Method of a component where i need to write my logic. Shown below is the requirement.

When Employee Enters the Data and Press Save the address entered automatically needs to be changed to upper case.

When Right Click for Technical Help. I found the details Shown below.

I try to debug the Component FPM_FORM_UIBB. The break point stops in Method "FLUSH". It is trying to pass the feeder class and the data form the screen in mt_changelog. I tried to keep break point in Feeder Class "CL_HRESS_PER_DETAIL" it didn't stop. Not sure where the system is getting the data from the screen into mt_changelog. I can change the code to make it into upper case if i know it. Please help.


"  if MV_UPDATE_CHANGELOG_CALLED = abap_false.

     update_changelog( ).

   endif.

* changelog update was called once in the eventloop --> reset

   MV_UPDATE_CHANGELOG_CALLED = abap_false.

   ms_feeder-feeder->flush( exporting  IT_CHANGE_LOG = mt_changelog

                                       IS_DATA       = MR_DATA

                          )."

Thanks,

Vishnu

Accepted Solutions (0)

Answers (1)

Answers (1)

ramakrishnappa
Active Contributor
0 Kudos

Hi Vishnu,

You need to enhance the view and use the POST EXIT of method WDDOMODIFYVIEW( ) to translate the address into upper case.

  • Find out the relevant node of address and read the data
  • Translate the address into upper case
  • Bind the data back to context node

Regards,

Rama