Quantcast
Channel: SCN : All Content - Web Dynpro ABAP
Viewing all 3667 articles
Browse latest View live

Values in selection criteria is not getting refreshed and picking the old value only.

$
0
0

Hi Experts,

 

I have developed a Web Dynpro application. It is a Process Chain dashboard actually which shows the live PCs status. The PCs will be displayed based on Functional Area/Domain/Business Area (OTC, POS, FICO etc.)  and Region (Asia, Europe etc.) given on selection scree/ 1st window/input view.

At the time of execution i am able to enter values from the drop-down in both fields and get the expected result.

Then i go and change region/ both region and functional area then also i am able to get the expected result.

if again i am going to change region field it is not allowing me to change . it retains the old value only. at the same time functional area is allowing the change in value and giving the correct output.

Please give some pointers to resolve this issue.

Also let me know if further clarification is required.

 

Thanks and Regards,

Anurag Gaurav


POWL Count and Refresh issue!

$
0
0

Hello,

 

I have scenario to display two different work-list in POWL component in Portal,  both tabs displaying correct worklist as expected.

But the Problem is my second tab always shows count as (0) zero until the user click the second tab.  After that both tabs shows actual counts.

Attaching image for details.

any help/direction would be appreciated, thanks!

 

 

POWL ISSUE.jpg

 

 

Regards

Mani

WDA:Access Node values

$
0
0

Hi All,

 

I would like to access the node values from the last screenshot.Please suggest me how to access the node -  lo_nd_ship_to to get the values.

 

screen3.jpg

screen4.jpg

screen5.jpg

screen6.jpg

Webdynpro Layout Issue in SAP

$
0
0

Hi Techies,

 

When i am trying to create a design in the view controller ,in the layout tab i can't able to see the elements list.For your reference please find the below screen shot.

 

                                       WDR_LYT-1.png

 

Thanks & Regards

Lokesh

Webdypro Select Options

$
0
0

Hi team,

 

I have an issue in webdynpro select-options. I set the field obligatory in

 

Method          WDDOINIT.

 

* add a new field to the selection

   WD_THIS->M_HANDLER->ADD_SELECTION_FIELD( I_ID = 'ZCOUNTRY'

   IT_RESULT = LT_RANGE_TABLE I_READ_ONLY = READ_ONLY

     i_value_help_type        IF_WD_VALUE_HELP_HANDLER=>CO_PREFIX_SEARCHHELP

      i_value_help_id         = 'H_T005_LAND'

     i_obligatory            = 'X'

       ).



But when I am executing on action for search button ( Event Handler   ONACTIONSEARCH).Then it checking the field as mandatory. But after checking I have some code and it also executing that means if the Zcountry displaying error message and also procedding further.If any error message it should stop How to achecive this.Please any one can help.


Event Handler   ONACTIONSEARCH


  rt_count = wd_this->m_handler->get_range_table_of_sel_field( i_id = 'ZCOUNTRY').

   ASSIGN rt_count->* TO <fs_count>.



Thanks and regards,

Umakanth

multiple screen navigation using plugs or road map option

$
0
0

Hi Team,

 

how can i achieve this whether using plugs or road map ui elements in webdynpro abap.

I have tired with roadmap ui but

All 4 buttons are coming in every page Mainpage, next, previous, save project .eventhough i tired with boolean abap-flase and abap_ture options in wddoinit method of every screen.but it won't work,

 

screen.PNG

 

and also tried with plug ins in  2nd and 3rd screen.how can we manage previous and next functionality.kindly throw a light on this.

 

Thank you.

 

Regards,

Kiran

Exit Plugin

$
0
0

Hi guys,

 

We have the next requirement: when our webdynpro is started, we need call another webapplication and show in the same window. I used the exit plugin and it is working. I need pass some values to this site using json or xml format, because authentication must be done automatically, but the only parameter that the fire_plugin_exit has available is the url. I can not pass this values on url for security questions.

I saw that is possible set the cookie of client side using bsp, but how can I set this cookie, and call the another webapplication?

I tried set the cookie of client side in webdynpro on method wdinit before the call another url using exit plugin, but it is not working. Could someone help me? Or give me a suggestion to do this by another way?

 

 

Best regards,

how to use shared buffer concept in webdynpro abap ?

$
0
0

Hi Guys,




            EXPORT IT_ZGOS_R246_SOBJ TO SHARED BUFFER INDX(ST) ID 'ZSD_R246'.


how to use shared buffer concept in webdynpro abap ?

$
0
0

Hi ,

 

in sap abap sahred buffer we are  using the below statements .

 

EXPORT  internal table TO SHARED BUFFER INDX(ST) ID  ' idname'.



i  want same thing in webdynpro abap  how to do   if it is possible if possible how ?

please give the solution how to solve this .

Webdynpro abap- navigation to context node

$
0
0

Hello all,

 

I am a new user for Webdynpro - abap. I was trying to set a default value to a input field. I am using WDDOINIT method for navigation to context node FLIGHTINFO. But i am not getting the exact idea behind the navigation at code level. Also not clear about get element at lead selection for context node FLIGHTINFO.

 

Please provide inputs in this case.

 

Thanks,

Yogesh

Populate alv Display Field value into Input of webdynpro selection screen

$
0
0

Dear Friends,

 

 

I have a Requirement , When User double click on One field of ALV grid dsiplay , The same field value need to be populate into my webdynpro Selection screen Input.

 

Here I am calling my Custom Webdynpro(Transaction Code) Component using Call Transaction.

 

 

 

Regartds,

Ankamma.

How to install the SAPlink plugins

$
0
0

Hi,

 

i executed the program ZSAPLINK and imported the file NUGG_WD_TIMESTAMP_VALUE_HELP_DEC2008.nugg ,but its showing

"There is no installed SAPlink plugin for object type TABL

There is no installed SAPlink plugin for object type TABL

There is no installed SAPlink plugin for object type TTYP

There is no installed SAPlink plugin for object type TTYP

There is no installed SAPlink plugin for object type WDYN

There is no installed SAPlink plugin for object type WDYN

There is no installed SAPlink plugin for object type WDYN

There is no installed SAPlink plugin for object type WDYN".

 

Can anyone help me to solve this?

 

Ganesh

Can we display a tab or link only for specific set of user/customers

$
0
0

Hello Experts,

 

Can anyone please let me know - if we can display a tab or a navigation link only for specific set of users/employees/customers in Webdynpro.

 

1. I have created a new view/link in existing Webdynpro - now i want to restrict its access only to specific set users/employees/customers.

 

Any inputs?

 

 

Thanks,

KR.

Slow horizontal scrolling for Table element.

$
0
0

I am curious to  why the scrolling is so slow for my simple webdynpro table. For testing, I am  just running a small table with only  20 entries with 6 columns and writing some simple code to bind output to table.

 

When I try to scroll down quickly to row 5(5 scroll clicks on mouse) , the scroll bar displays  '5 out of 20' instantly but the scroll doesn't take effect for about 0.5 seconds.  After 0.5 seconds,  the changes are instant , meaning,  it doesn't show the natural progression of the scroll.


To explain further, If I had 100 entry table and scrolled quickly to row 50, after 0.5 seconds, I would be in row 50 instantly without any scrolling motion.. This seems quiet useless for users  because they wont be able to see most the data between 0 to 50.

 

I know is not the WEBGUI. at fault here. I can run vendor/customer list ( FBl1N  )with hundreds of entries  and scrolling is pretty fast on the output table.

 

We just updated to our ECC and netwearver  this year to the latest enhancement pack for netweaver.

 

anybody have any idea on what I could be causing the issue? I feel like this is just related to webdynpro functionality .

thanks

Assistance Class on a standard Webdynpro - is it possible ?

$
0
0

Dear All,

I have often use Assistance Classes on my WD.

But this time I would like to use a custom Assistance Class on a standard Webdynpro.

Is that possible ?

 

I've tried to use the enhancement framework, but it was not possible neither.

 

Maybe it is not possible at all.

 

I 've thought about some alternatives nevertheless.

For example: creating a custom attribute on my standard component controller, where this custom attribute would be TYPE REF to my custom class.

It would work similar to an assistance class.... well, kind of.

;o)

 

What do you think ?

 

Kind Regards

 

/Ricardo Quintas


How Floor plan Manager (FPM) and Business Object Processing Framework (BOPF) Intergration (FBI)

$
0
0

Hi all,

   I was assigned to a project as a web dynpro ABAP consultant. The project deals with the transport management, SAP TM. In that i came across a Floor plan Manager (FPM) and Business Object Processing Framework (BOPF) Intergration (FBI) . Please help me in knowing how there is a link between FPM and BOPF

 

Thanks & Regards,

bang

WDA Error : An instance of popup view already exists in the application

$
0
0

Dear Experts,

I have used a popup in my WDA application which gets opened on the click of the button. Whenever the application is launched for the first time and when I click on the button to display the pop up I get the error "An instance of popup view already exists in the application"; when I close the application, relaunch it once again and click on the button to open the popup, it works fine. What would be the reason for this behaviour?

My piece of code is as follows,

try.

      lo_api_component = wd_comp_controller->wd_get_api( ).

      lo_window_manager = lo_api_component->get_window_manager( ).

 

                    CALL METHOD lo_window_manager->CREATE_WINDOW

                      EXPORTING

                        WINDOW_NAME       =  'POP_UP_QOH'

                        TITLE             = 'Stock Overview'

                        BUTTON_KIND       = IF_WD_WINDOW=>CO_BUTTONS_OK

  •                        MESSAGE_TYPE      = IF_WD_WINDOW=>CO_MSG_TYPE_NONE

  •                        CLOSE_IN_ANY_CASE = ABAP_TRUE

                      RECEIVING

                        WINDOW            = LO_WINDOW

                        .

                    CALL METHOD LO_WINDOW->OPEN

                        .

             CATCH CX_WDR_RT_EXCEPTION.

 

ENDTRY.

 

Kindly please help to resolve the issue.

Warm Regards,

Kanthimathi

Dynamic Trays should visible based on data in view

$
0
0

Hi Team,

 

I have requirement to display the dynamic trays(entire node with attributes in one tray).

example

Suppose upgrade project we have spdd spau uccheck.so we have 3 phases..so 3 trays should come.

Based on the project type,phases will decided.but based on phases number ..tray will come automatically.

 

 

how to achieve dynmic trays.Pleae give suggestions.

 

Regards,

kiran

How can I change ERR_MESSAGE

$
0
0

Hello

 

I would like to modify a Standard warning text in

 

WD_COMP_CONTROLLER->IG_COMPONENETNCONTROLLER~MESSAGE_MANAGER->R_RENDER_MESSAGES

 

Which method schould I use in WDDOMODIFYVIEW?

 

Regards

Kerim

Help extracting WDA table into Excel

$
0
0

Hi WDA mates,

 

I need to create a button to extract table data into a excel (xls) spreadsheet.

How do I get the exactly cells configuration from the table into the xls? Also I need to get the header into the excel file.

 

Here is the table I need to extract. This is the standard WDA component GRFN_SURVEY_RESPONSE (survey_response view).

Screenshot_1.png

Here is my code.

 

method onactionexport_to_excel .

 

   data lo_nd_questions type ref to if_wd_context_node.

   data lo_el_questions type ref to if_wd_context_element.

   data lt_questions type wd_this->elements_questions.

   data ls_questions type wd_this->element_questions.

   data text   type string.

   data xtext  type xstring.

   data lv_mime type  mimetypes-type.

 

* navigate from <CONTEXT> to <SFLIGHT> via lead selection

   lo_nd_questions = wd_context->get_child_node( name = wd_this->wdctx_questions ).

* get all declared attributes

   lo_nd_questions->get_static_attributes_table(

     importing

       table = lt_questions ).

 

   loop at lt_questions into ls_questions.

     concatenate text ls_questions-text

                 ls_questions-comments

                 ls_questions-zcomments_rev

 

                 cl_abap_char_utilities=>newline

                 "cl_abap_char_utilities=>cr_lf

                 into text. "separated by cl_abap_char_utilities=>horizontal_tab.

   endloop.

 

   call function 'SDOK_MIMETYPE_GET'

     exporting

       extension = '.XLS'

     importing

       mimetype  = lv_mime.

 

   call function 'SCMS_STRING_TO_XSTRING'

     exporting

       text     = text

       encoding = '4103'

     importing

       buffer   = xtext.

 

   concatenate  cl_abap_char_utilities=>byte_order_mark_little  xtext into  xtext in byte mode.

 

   call method cl_wd_runtime_services=>attach_file_to_response

     exporting

       i_filename      = 'Download.xls'

*     i_filename      = lv_filename

       i_content       = xtext

       i_mime_type     = 'EXCEL'

       i_in_new_window = abap_false

       i_inplace       = abap_false.

 

 

endmethod.

 

Here is what I'm getting into the xls:

Screenshot_2.png

 

Thank you

Viewing all 3667 articles
Browse latest View live


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