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

WebDynpro for ABAP: NET310 issue

$
0
0

Hi Gurus,

 

Currently I'm reading the ebook NET310 and following the exercises at the end of each chapter. But I can see that they have designed the exercises in such a way that we have to make use of the in-built Classes or Methods specifically written for this ebook

(e.g. CL_NET310_FLIGHTMODEL=>READ_FLIGHTS(). But in my ECC 6.0 these classes/methods are not available. Can you please advise how to proceed?

 

 

Thanks,

Sarif


Display Standard WDA IView in a Customer IView

$
0
0

Hallo all,

 

ist possible to display standard WDA Iview in a cutomer Iview only using wd component configuration? if yes please schow me how can do this?

 

thank you all

How to solve web dynpro login issue

$
0
0

Hi experts,

   I am new to web dynpro. I developed a web dynpro. When I tested it, it opened a browser for login, but I was unable to login. It is showing some warnings. I have enclosed its snapshot. Please help to solve this issues, tell me how to solve all these warnings.

 

 

 

sso logon.png

 

 

 

 

 

 

Thanks in advance.

How can I access Parent_View's data in Child_View and again other way?

$
0
0

Hello

 

I have cretaed Parent_WDC, w/ Parent_View, it has a button

 

Also created Child_WDC, w/ Child_view

 

By using the below tutorial i am calling Child_View as a POPUP from Parent_View of Parent_WDC, well.

 

http://www.****************/Tutorials/WebDynproABAP/Popup/Index2.htm

 

Now, i want to have visibility of context/nodes of Parent_View in Child_View.

I need to do some validations in WDDOINIT, MODIFYVIEW of Child_View, but for that i need Parent_View's data / context

 

For example, Parent_View's node has a value of 3, i need to pass this 3 to Child's_View's node, here on the Child_View user enters 2, so, i need to add them as 2+3 = 5, finally i need to send the result as 5 to Parent_View's node


Pls. note all the context i defined at COMPONENTCONTROLLER of Parent_WDC

 

Pls. let me know how can i access Parent_View's data in child_view

 

Thank you

How to close the browser window from action in NW7 SP11 in web dynpro

$
0
0

Hi Experts.

 

I want to close the browser window throgh a button action on view. I followed many approaches but not working.

 

I gone throgh many thread in scn regarding ' How to close browser in web dynpro'. But in some cases a Blank window is appearing on action and in some cases error comes '  Parameters of exit plugs and suspened plugs must be of type STRING or TIHTTPNV  '.

 

error.JPG

With the below code Blank window browser is appearing :

 

I have declared a window out bound plug 'EXIT' type 'EXIT with interface 'checked'.

 

DATA: l_ref_MAIN_WINDOW TYPE REF TO IG_MAIN_WINDOW .
l_ref_MAIN_WINDOW =   wd_This->Get_Main_Window_Ctr( ).
  l_ref_MAIN_WINDOW->Fire_Exit_Plg(
).

 

 

 

Can any one tell me how to close the window browser in NW7 Service pack 11.

Issue in creating a dynamic tab with dynamic table in tabstrip ?

$
0
0

Hi Guys,

 

I have a requirement to create a dynamic tab in tab strip with a dynamic table in it.

 

Though i am managing to create the dynamic tab and dynamic table,

The position of the table is the one i am unable to control.

The table is even appearing beyond the tab strip.

 

Please help to solve the issue.

My code which is generating the Dynamic tab and table is as below. This is written in modify view hook method.

 

 

  data:  lo_tab      type ref to CL_WD_TAB,

           lo_table    TYPE REF TO CL_WD_table,

           lo_container TYPE REF TO cl_wd_uielement_container,

           lv_string type string,

           it_zf005 type zftt005,

           lo_text      TYPE REF TO cl_wd_caption.

 

      lo_tab = cl_wd_tab=>new_tab(  ).

      lo_text = cl_wd_caption=>new_caption( text = 'Test' ).

      lo_tab->set_header( the_header = lo_text ).

      lo_tab->register_to_view( i_view = view ).

 

**define a table

     lv_string = 'COR'.

     lo_container ?= view->get_root_element( ).

     lo_table = cl_wd_dynamic_tool=>create_table_from_node( ui_parent = lo_container

                                                             table_id =  lv_string

                                                                 node = lo_nd_mpr_table ).

 

     lo_tab->set_content( the_content = lo_table ).

     lo_el_tabstrip->add_tab( exporting the_tab = lo_tab ).

Get URL Only from WD Component Application

$
0
0

Hallo,

 

is there any method or FM to get the URL of a WD Application only from WD Component Aplication or WD Component Configuration?

 

Thank you all

How to create User Work List in WEBDYNPRO?

$
0
0

Hi All,

 

We have a requirement to create user worklist(SAP Inbox) in SAP ABAP webdynpro. How can we proceed with this requirement in best way. Any suggestions with examples are welcomed.

 

 

Thanks,

Vimal Sharma


Error when importing HTML file to Web Dynpro MIME Repository

$
0
0


Hi Web Dynro Experts,

 

I'm working on SAP SRM 7 EHP 2.

 

I'm trying to Import a HTML file to a Web Dynpro applications but I'm getting a message saying "Operation is not allowed (M_TEXT_P)".

 

My steps are as follow:

  1. Select Create->Mime Object->Import from the Web Dynpro application
  2. Select my HTML file and complete the description
  3. Default setting are Doc Class = Text Object and Mime Type = text/html

 

Any thoughts on what is causing the error?

 

Your assistance would be appreciated.

 

Regards,

Andrew

Custom timeout page in SICF

$
0
0

Hello experts,

 

My current requirement is to implement a customer-specific error page for timeouts.

The SICF allows two possibilities, either to redirect to another URL or to create an explicit page:

Untitled.png

The requirement here is to create an explicit error page, but only for the timeouts. The SICF treats both the short dumps and the timeouts as application errors.

 

I've tried to different possibilities:

 

     1. I've redirected the error to another URL, where I've tested the system tags (like <%=MESSAGE%>) and, in case of timeouts, redirected to another page (something with a message "You're application was idle for too long.." and a big "Refresh" button), or for regular errors, redirected to the standard error page from SAP.

     This solution seems to work fine, but I didn't found a way to also enabled the F5 functionality (Refresh), as it will reload the current, timeout, page.

 

 

     2. On the other hand, if I create an explicit page directly in the SICF, I found that it is not possible to insert JavaScript functionality, so you cannot really switch between pages... even though it works with HTML+CSS. The explicit page would be a much better solution, as it also enables F5.

     I tried a work-around by creating an iFrame with the same size as the screen, and inside this iFrame, embed the solution from the first point (1.). The problem here is, for my version of IE, I have to press "Enable content" otherwise it will treat the iFrame as a security breach. Also, I cannot set the system domain as a trusted site, because afterwards I will have to do the same for every users.

 

 

If somebody has another idea, please feel free to share it!

Getting Blank Column While Downloading Excel

$
0
0

Hello ,

 

I am downloading excel file using  class~method

 

CL_WD_RUNTIME_SERVICES=>ATTACH_FILE_TO_RESPONSE

 

but I am getting a blank column at first position(A). All the data are correctly downloaded starting from Column B.

 

Steps I have done :

 

1. Get data from App server using Open dataset and populate internal table

2. Convert internal table into string

3. convert string into xstring

4. call the above method

 

Please let me know where I am doing wrong.

 

Thanks

service /sap/public/bc/webdynpro/viewdesigner not found in SICF

$
0
0

Dear Abapers,

 

I get an error while trying to access a webdynpro view. It asks to activate the service /sap/public/bc/webdynpro/viewdesignerin SICF transaction. But I am not able to find this service there. Please help.


I am using a trial system.


Buttons in FPM OIF

$
0
0

Hi all

 

We are working on EHP6 and EP 7.3 .

I want to create some tabs on my webdynpro applcaition .

I am using OIF component .

 

the problem is i want to add a few new buttons in the toolbar and based on the button selected various operations need to be performed.
How can i do this ?

 

note : I hjave created the applciation cinfiguration and comoent configuration successfully.

in CC i can see an option to add button to toolbar but how to link it to my event and add icons to this button

 

Please suggest

 

regards

Vaibhav

Value Help field disabled after update to 7.4

$
0
0

Hi Experts,

 

one field of my own WDA Customer Value Help is disabled, since upodate to Netweaver 7.4 is done.

Anyone a solution or idea for this?

 

vh.PNG


Nothing special just some customer fields and the SAnz is not set, which should control this.


vh2.PNG


SAP says it's a consulting issue? :-(


Best regards

Volker

All the changed record in webdynpro alv

$
0
0


Hi Experts,

     I have a requirement to get all the changed records in alv (on press of an enter), I have used the alv events which gives me only the selected record index But i need to get all the records a user has changed before pressing enter key.

 

I tried the context log, but it gives me log only of my component's context. It doesnt give the changes done in alv.

 

Please help

 

Thanks & Regards,

Tashi


Checkbox in alv

$
0
0

Hi Friends,

      Iam using checkbox in webdynpro alv table ,my requirement is among the table only one record  checkbox is selected.please let me know friends

 

thanks in advance.

Text symbols in Webdynpro ABAP

$
0
0


Hi guys,

 

   I want to add a view in a standard Webdynpro Component which does'nt have an assistance class. Since it's standard I am not able to enhance and add an assistance class. I want to provide translation to a few dynamic text.How can I do that ?

 

Regards

Lavanya

How to get the changed row index in webdynpro alv ?

$
0
0

Dear Experts,

I have a ALV table in that one of the two col's are from date and to date. So I'm defaulting those two values based on my data base values.

 

Suppose in row 2 of the below snapshot, the  from date = 25.01.2014 and to date = 26.01.2014. So here my logic is todate = from date + 2(2days validity). But it should should also accept date <= 26.01.2014.

 

Pls help me out how to read the selected/changed row of alv table ?. I'm writing the code in ON_CELL_ACTION .

 

For Ex : If date is changed in 2nd row, i should read only 2nd row of the table.

 

 

Capture.JPG


Thanks

Santhosh

Navigation Linked to "Link To Action"

$
0
0

Dear all,

   I am currently facing an issue. The requirement here is I am displaying a list in list UIBB. One of column in this list is hyper-link "Link-to-action", if user clicks on any value in this column. I have to open another form UIBB which will have the details. This detail screen has to replace the first screen.

Request you all to help me out with this scenario.

How to enhance the standard FPM application

$
0
0

Hi Experts,

 

 

How to enhance the standard FPM application ?

Please suggest me any document or thread so that i can understand the process.

 

Regards,

Prakhar

Viewing all 3637 articles
Browse latest View live


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