cancel
Showing results for 
Search instead for 
Did you mean: 
Subscribe

Hi all,

I would like insert a Search Help on a field containing a UZEIT type, I try to set Input Help Mode "Automatic" in Dictionary search help appear "CLOCK" but it doesn't work, into the web dynpro It doesn't appear, then I try to set Input Help Mode "Dictionary Search Help" and fill relative field with elemenatary search help "SRM_F4_UZEIT", it appears but if I click on it I have a dump...

Are you able to help me???

Thanks

GN

0 Likes
View Entire Topic
Former Member
0 Likes

Hi Thomas,

is any update availabe on http://code.google.com/p/abap-sdn-examples-tpj/downloads/list ?

It seems that the nugget "NUGG_WD_TIMESTAMP_VALUE_HELP.nugg" has the old version.

Best regards

Andreas

thomas_jung
Developer Advocate
Developer Advocate
0 Likes

I didn't get any errors when I tried importing it into one of my systems. However just to be safe, I went ahead and uploaded a new NUGGET that did not include the component interfaces.

kmoore007
Active Contributor
0 Likes

Hey Thomas,

How can I get the 12 hour mode to be the default mode instead of the 24 hour mode. I have tried several things with no success.

thomas_jung
Developer Advocate
Developer Advocate
0 Likes

In the component controller method WDDOINIT of Z_TIME_VALUE_HELP I have the following logic:

stru_internal_node-hour_mode_24 = abap_true.
  stru_internal_node-am_pm_visible = cl_wdl_core=>if_wdl_core~visibility_none.

This sets the mode to 24 hour mode.

If you change the default to 12 hours (by reversing these values), then you will also need to fire the logic from the method INITIALIZE_AM_PM. This is currently a method in the View, but you will need to move it to the Component Controller to change modes on initialization.

kmoore007
Active Contributor
0 Likes

Thomas,

I tried your suggestions, but it still defaults to 24hr time. And for some reason, if I set a break-point in the Help_View, the program will not stop. Weird. So I can't actually debug the help view.

thomas_jung
Developer Advocate
Developer Advocate
0 Likes

I'm not exactly sure how I can help you. I've suggested an approach, but I can't see what code you actually applied. I'm not sure why you wouldn't be able to debug either. Can you debug in other applications?

kmoore007
Active Contributor
0 Likes

Thomas,

Nevermind. I misunderstood your PDF instructions and had created my own HELP_VIEW view in my own web dynpro component. It was never being called, of course. That explains why I couldn't debug it.

Thanks.

Kenneth