Quantcast
Channel: SCN : Unanswered Discussions - Web Dynpro ABAP
Viewing all 3637 articles
Browse latest View live

Displaying zeros as blanks in list column not working

$
0
0

Hi,

 

I designed an FPM application with a list UIBB. One of the columns of the list has numerical values (NUMC 10), mostly zeros. I am trying to get rid of those zeros by displaying them as blanks, but I don't seem to be able to do that, although I managed this already for QUAN fields on forms. None of the fields in the list are editable.

 

In the method GET_DEFINITION of the list feeder class I added

    APPEND INITIAL LINE TO et_field_description ASSIGNING <s_field_description>.

    <s_field_description>-name          = 'ITEMNO'.
    <s_field_description>-null_as_blank = abap_true.

to remove the zeros, but the result still looks like this:

I also tried enabling the column, but that didn't help either.

 

Any hints are much appreciated. Thank you in advance.

 

Kind regards,

Stefan Müller


example FPM GAF with Final action and confirmation screen

$
0
0

Hello,

 

Since the past week i am working on a FPM GAF application. What i created is a GAF process with 2 GUIBB ( a List and a Form component). What i want to achieve in the GAF process is:

 

  • step 1: select a employee (is working)
  • step 2: fill in a few fields (is working)
  • step 3: review the data ( is working)
  • step 4: submit (with the Final option) (the problem)

 

When i use the Final action, it works fine (receive a FINISH_STEP event). but when i display a success message the previous button is clickable. This isn't what i want to achieve. After a successful roundtrip i want to display a success message and don't want to see / not clickable the button previous.

 

After reading the help and other Internet sources i do think that a confirmation screen (Confirmation Screen - Floorplan Manager for Web Dynpro ABAP - SAP Library ) is what i need. But my problem is that i don't know how to implement it.

 

I hope somebody can help me with some info / sources.

 

Thanks in advance.

 

 

Kind regards,

 

Maarten.

Using Singleton Class during Suspend - Resume functionality

$
0
0

Hi Experts,

 

I have an OVP application from within which the user clicks on a button to be navigated onto a GAF application. I need to share some information in the form of object references & internal tables in between the 2 FPM applications. I had so created a Singleton class & was trying to set my data onto it within my OVP application before Suspending the OVP & navigating onto the GAF. I was expecting to be able to retrieve the earlier data within the GAF. However when I try to retrieve the current instance within the GAF it does keep returning me a new object reference. Please suggest if a singleton class cannot be used in such a scenario.

 

Regards,

Uday

 

Below is the code that I use for the navigation after having set the values onto my Singleton class:

 

DATA: ls_webdynpro_fields TYPE        fpm_s_launch_webdynpro,

           lo_fpm_nav_to         TYPE REF TO if_fpm_navigate_to,

           ls_add_fields           TYPE        apb_lpd_s_add_wd_parameters,

           et_message            TYPE        fpm_t_t100_messages,

           ev_error                  TYPE        boole_d.

 

  lo_fpm_nav_to = lo_fpm->get_navigate_to( iv_instance_sharing = abap_true ).

 

  ls_webdynpro_fields-wd_namespace = 'sap'.

 

  ls_webdynpro_fields-wd_application = 'ZWD_RE_GEN_NEEDS_CONF_3423'.

 

  ls_webdynpro_fields-wd_configuration = 'ZWD_RE_GEN_NEEDS_APPL_CONF_3424'.

 

  ls_webdynpro_fields-system_alias      = 'DUMMY'.

 

  ls_add_fields-navigation_mode    = 'INPLACE'.

 

  ls_add_fields-use_suspend_resume = abap_true.

 

  CALL METHOD lo_fpm_nav_to->launch_webdynpro_abap

    EXPORTING

      is_webdynpro_fields      = ls_webdynpro_fields

      is_additional_parameters = ls_add_fields

    IMPORTING

      et_messages              = et_message

      ev_error                 = ev_error.

Drop Down by Key

$
0
0

Hi,


I have one question regarding Drop down by key.

 

By default when the Drop down by key is in disable mode it is displaying Domain Value not Short Description.

 

How we can enable to display Short description in Drop down by key.

Unable to display dates in the attached format in web dynpro abap. Help me to resolve this.

$
0
0

I need dates to be displayed as attached based on the month . The problem is I cannot make this appear as per the requirement. The dates should be displayed horizontally. (in a single row).

LIST UIBB- Row specific field attribute change

$
0
0

Hi Experts,

 

I am using a List UIBB ( FPM_LIST_UIBB ) in my OIF application to show material data.

Now the requirement is that, for every row on a condition we will have to make all fields (of that particular row) editable/non editable in the list.

 

Is this possible and if so how..?

 

Many thanks in advance.

 

Saikat

Calling SAP GUI Transaction from Web dynpro

$
0
0

Hi Experts,

 

I want to call SAP GUI Transactions like VA02, SE38 etc from Web dynpro App using Event Handler Methods.

 

I was able to achieve this but the transaction code is opening in Internet Explorer just like WD Application. I do not want this type of Navigation but instead i need to navigate to Transactions Just as in SAP GUI...

 

How to achieve this functionality?

Custom Theme for WDA in Portal

$
0
0

Hello All

 

I realized that custom themes are possible for standalone WDAs not integrated in portal, however,

I'm not entirely sure if there are any workarounds to enforce custom themes for WDA applications

integrated into Portal, please advise.

 

Thanks

Stuart.


Setting "Visible Row Count" of LIST UIBB at Runtime

$
0
0

HI All,

 

I am working on List UIBB. I am able to set the "visible row count" at the general settings level.

But I would like to change the "Visible Row Count" at the run time based on table entries.

 

I have searched and understood that GET_DEFAULT_CONFIG has to be called. Even though I have implemented the method, the method is not getting called. This is the only method where I can get the LAYOUT reference.

 

Please let me know how can I achieve this.

 

Regards,

Yugesh A

Open SAPGUI (workflow shortcut)

$
0
0

Hi all , i have a problem with the following URL :

 

http://<server>:<port>/sap/public/bc/workflow/shortcut?sysid=<SID>&client=<client_number>&langu=<language_code>&transaction=<transaction_code>

 

In this case, i'm able to open a new SAPGUI session with a particular transaction but i can't understand how to pass input parameters to it.

 

For example, if i want to open MM02 with material :

 

http://<server>:<port>/sap/public/bc/workflow/shortcut?sysid=<SID>&client=<client_number>&langu=<language_code>&transaction=<transaction_code>&RMMG1-MATNR=<materiale>

 

but it does not work......

 

How can i do to solve this problem?

 

Thanks in advance.

Regards.

Dario.

Pop-up Window

$
0
0

Hi,

        Just wondering if it possible to open a pop-up window instead of a page when we click on a tab associated with a Web Dynpro component. Kindly let us know.

 

thanks.

Not able to run web dynpro project?

$
0
0

hello sir,

i am new baby to web dynpro(just experimenting with it ) .

i activated all essential service required  for web dynpro but i am not able to get the page on browser

i do not know what is the problem but address which web dynpro generates is

http://server:0/sap/bc/webdynpro/sap/ztre

which to me seem not a valid address because port 0 is reserved

Scroll not consistent

$
0
0

Hello All,

 

We have a webdynpro application which  use FPM_GAF_COMPONENT for road map navigation.

 

One of the view in the application has a large form and Hence a vertical scroll bar appears in the runtime while execution of the application.

 

The form mentioned above has many UI elements and some of them have actions associated to them.

 

The issue is whenever there is an action in any of the UI elements in the form view, the vertical scroll bar - scrolls up and sets it self to certain position and the position is also not consistent.

 

There is no dynamic code in the form  and  I had also checked by removing focus from message area property in application configuration but that too did not help.

 

Please let me know if there is something that I am missing.

 

Awating Response,

 

Uvendu Bala

Get Table Cell row and column index 'On Click' of a cell by a user in the generated table

$
0
0

Hi Experts,

 

I need some help in getting a Table Cell reference ie: row and column index 'On Click' of a cell by a user in the generated table.

The UI Table and it's context is generated dynamically and I need a populate a value in the table cell which a user clicks on.

 

I need to fill in a value in only 1 table cell which user clicks in the generated table. User selects a cell and then clicks a button in header, from this button event I am trying fill a value 'A' in the cell user clicked.

 

Please suggest as I new to WD area dealing with dynamic table context and UI generation.

 

Thanks in advance.

 

Regards,

Gaurav

Programmatically changing/setting sort/filter in FPM ATS LIST

$
0
0

Hi,

i am implementing a list based on FPM_LIST_UIBB_ATS.

Filter and sort work just fine, but i would like to set the filter from my feeder class or via some other interface.

 

Do you know if this is possibile?

I yes how?

 

Thanks in advance and best regards

Wolf


Dump on ESS Time Sheet Calendar?

$
0
0

Hi All,

 

We are using Standard ESS ("hress_a_cats_1") Calender  in webdynpro applications , Its giving dump while select some data and if we move forward

or back in calender its giving Dump.

 

 

Can any one please suggest me how to resolve this issue or any SAP Notes are available for this dump.

 

Dump Description :

 

Note
  • The following error occurred in system NP3 : Could not find attribute MARKER
  • The error occurred on application server bdln2678_NP3_00 and in work process. 47
  • The termination type was: RABAX_STATE
  • The ABAP call stack was:
    Method: IF_WD_CONTEXT_NODE_INFO~GET_ATTRIBUTE of program CL_WDR_CONTEXT_NODE_INFO======CP
    Method: IF_WD_CONTEXT_ELEMENT~SET_ATTRIBUTE of program CL_WDR_CONTEXT_ELEMENT========CP
    Method: UPDATE_TSDATA_FROM_UI of program /1BCWDY/TO2BSBWCK6S1EGND0YS6==CP
    Method: IF_COMPONENTCONTROLLER~UPDATE_TSDATA_FROM_UI of program /1BCWDY/TO2BSBWCK6S1EGND0YS6==CP
    Method: PROCESS_COMMAND of program /1BCWDY/TO2BSBWCK6S1EGND0YS6==CP
    Method: IF_COMPONENTCONTROLLER~PROCESS_COMMAND of program /1BCWDY/TO2BSBWCK6S1EGND0YS6==CP
    Method: ONACTIONSTARTDATECHANGED of program /1BCWDY/TO2BSBWCK6S1EGND0YS6==CP
    Method: IF_WDR_VIEW_DELEGATE~WD_INVOKE_EVENT_HANDLER of program /1BCWDY/TO2BSBWCK6S1EGND0YS6==CP
    Method: INVOKE_EVENTHANDLER of program CL_WDR_DELEGATING_VIEW========CP
    Method: IF_WDR_ACTION~FIRE of program CL_WDR_ACTION=================CP

------------------------------------------------------------------------------------

 

Dump analysis :

 

Category               ABAP Programming Error

Runtime Errors         UNCAUGHT_EXCEPTION

Except.                CX_WD_CONTEXT

ABAP Program           CL_WDR_CONTEXT_NODE_INFO======CP

Application Component  BC-WD-ABA-RUN

Date and Time          02.02.2015 04:48:24

 

 

 

 

 

 

Short text

     An exception occurred that was not caught.

 

 

 

 

 

 

What happened?

     The exception 'CX_WD_CONTEXT' was raised, but it was not caught anywhere along

     the call hierarchy.

 

 

     Since exceptions represent error situations and this error was not

     adequately responded to, the running ABAP program

      'CL_WDR_CONTEXT_NODE_INFO======CP' has to be

     terminated.

 

 

 

 

 

 

What can you do?

     Note down which actions and inputs caused the error.

 

 

 

 

     To process the problem further, contact you SAP system

     administrator.

 

 

     Using Transaction ST22 for ABAP Dump Analysis, you can look

     at and manage termination messages, and you can also

     keep them for a long time.

 

 

 

 

 

 

Error analysis

     An exception occurred which is explained in detail below.

     The exception, which is assigned to class 'CX_WD_CONTEXT', was not caught and

     therefore caused a runtime error.

Launch transaction from FPM_OIF_COMPONENT (without launchpad)

$
0
0

Hi,

 

We are using FPM_OIF_COMPONENT for a web dynpro application in ECC 6.0. The application is triggered via a Z* parameter transaction code, set up with STARTMODE = BROWSER. Due to the older SAP version, we are running IE 11 in compability mode.

 

To launch standard SAP transactions from the application, we have tried to use IF_FPM_NAVIGATE_TO-LAUNCH_TRANSACTION. However, when calling this method, nothing happens (and no error messages are returned from the method).

 

Is it possible to launch a transaction from a web dynpro application without launchpad in this environment? If so, what is required (set up of SYSTEM_ALIAS, determination of GUI type WIN_GUI / WEB_GUI, etc.)?

 

All help/feedback is highly appreciated.

 

Regards,

 

Mari V.

Input help on ALV filters (dynpro ABAP)

$
0
0

Hi,

 

Do anyone know if it is possible to add input help on filter boxes in the ALV filters in dynpro ABAP ?

 

DFS - Windows Internet Explorer provided by Danisco_2015-02-02_15-31-43.png

 

So, like on the line in the actual alv grid we see an input help option, I would like to have input help on the box above (Boxed in red), which is a filter line (added by pressing the default filter option on the ALV).

 

Regards,

-Tony

Defaulting Values into Select-Options field in SAP T-code View in WebDynpro ABAP

$
0
0

Hello Experts,

                      I have the requirement below to call the SAP T-code through Webdynpro and default the values . I am able to call the T-code and i was able to pass the value into the Control area but I am unable to pass the values into the Cost center field  .  Please find the code shown below. Thanks!! in advance.

 

CONCATENATE 'http://XXXXXX.edu:8000/sap/bc/gui/sap/its/webgui?~transaction=KSB1'

   '%20SVALD-VALUE=' gc_control

';KOSTL-SIGN =' gc_sign

';KOSTL-OPTION=' gc_option

';KOSTL-LOW=' gc_kostl

';KOSTL-HIGH=' gc_kostl

INTO URL.

 

*  call the url which we created above

 

   LO_WINDOW_MANAGER->CREATE_EXTERNAL_WINDOW(

   EXPORTING

   URL = URL

   RECEIVING

   WINDOW = LO_WINDOW ).

 

   LO_WINDOW->OPEN( ).

 

01.png

02.png

Thanks,

Vishnu

How to Pass Select-Options as URL parameters in Webdynpro ABAP

$
0
0

Hi Experts,

                 Is there any that we can pass Select-Options as URL parameters in Webdynpro ABAP? When i Pass the value as Paramter-Low Or Paramter-High , I am not able to see them.

Thanks,

Vishnu.

Viewing all 3637 articles
Browse latest View live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>