In webdynpro application, when I click on print button, Right side text in page is getting truncated. I am using method if_wd_application~print_page of Class CL_WDR_CLIENT_APPLICATION. Please help.
Right text getting truncated while printing web dynpro application page
Setting text and icon in the a WD table cell
Hi,
I need to set a dynamic text and icon in the samecell. I found the two options below:
1. Link to Action - it works and I can emphasize text but I don't want it to be underlined. Is there a way to disable it ?
2. Caption - also works but there is no option to emphasize the text. Is there a way to emphasize it ?
in addition at the begining the cell was from type TextView but i didnt find any way to add ICON to it, is there a way to add icon and text at the same textview table cell ?
Please let me know if I can solve one of the problems.
Best regards,
Ami
standard WEB dynpro . Configuration by role
Hello:
Can I customize a standard web dynpro by role?..I need to hide some fields in a standard wen dynpro. I know you can do this by user but I need it by role (all users with a determinate rol).
How?
Thanks
Logon issue in Production environment (WebDynpro)
Hi people.
I have an issue i cant solve.
I have made a webdynpro and succesfully transported to PRODUCTION,
My problem is that the application logon appears everytime i put a valid user.
( In Development and QAS Environment works perfectly, in logon i put a valid user and the aplication appears)
What could be the problem ??
Thanks
Problem with ALV F4 Field Help
Hi.
I have a field attached to an ALV, using simple domain field allowed values. Drop down is working, but it isn't returning the selected value to the field. Any ideas on what may be wrong?
Thanks,
Heather
how to set a custom icon on alv column and how to enable link to action property for that icon?
Hi experts,
i am displaying the material details using standard alv(salv_wd_table), each material no is set as link to action so when i click on material no it will load the details window in the same window, but now i have the requirement to add the one new column just beside to matnr column and i have to add the window image to this column on each row , when i click this icon it will have to load the details window in a new browser.
so please clarify me how to add this icon on alv column , and how to set this icon as link to action and how to provide this link to action method?
Thanks in advance.
screen shot attached .
Does SAP Support http forward function?
Dear Experts,
Our requirement is below:
In Webdynpro App A call another webdynrpo App B, and some parameters need to be transferred. We don't want use url parameters because they are explicit. Our solution is building a icf service and use handler to redirect the url and set the parameters in httpheader. The code in handler like beolw:
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
method IF_HTTP_EXTENSION~HANDLE_REQUEST.
DATA f_fields TYPE tihttpnvp.
DATA lv_type TYPE string.
data: lv_tmp type string.
FIELD-SYMBOLS <wa_field_clid> LIKELINEOF f_fields.
*Get URL Parameters from Application A
server->request->get_form_fields(
CHANGING
fields = f_fields ).
READTABLE f_fields ASSIGNING<wa_field_clid> WITHKEY name = 'zatype'.
IF sy-subrc = 0.
lv_type = <wa_field_clid>-value.
ELSE.
server->response->set_status( code = 500 reason = 'No Content Guid' ).
RETURN.
ENDIF.
*Set the Parameters into httpheader
server->response->IF_HTTP_ENTITY~SET_HEADER_FIELD( name = 'zatype'VALUE = lv_type ).
*redirect url to Application B
server->response->REDIRECT( URL = 'http://svsrmd01.csvw.com:8000/sap/bc/webdynpro/sap/zdarcy_test_url2' PERMANENTLY = '1' ).
endmethod.
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
But now in Application B we still cannot get parameter from the httpheader. It seems that in response->REDIRECT function http header has been refreshed. Is there any way we can reach our requiremnt(like forward function in java)? Many thanks.
Values in selection criteria is not getting refreshed and picking the old value only.
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
Mozilla as default browser for webdynpro-abap forms-reg
Hello Friends,
We are working on following system environment.
Server OS-HP-Unix
Database-Oracle 10.0.2.4
SAP Version: ECC6.0.EHP4,ABAP_701-0006,Basis_701-0007.
We needed to set mozilla as default browser for webdynpro forms for OS Windows 10(Users’s OS).
We have done the following steps
- We have enhanced the Class:CL_GUI_FRONTEND_SERVICES and Method:CHECK_GUI_SUPPORT.The screen shot attached below.
- We have set default program in control panel as mozilla.
- Webdynpro apllications are opening in Mozilla then.
- But Netweaver Credintials are asking for applications to open every time whenever generating forms in browser as attached screen shot below.
- But some of the forms opening directly without asking netweaver credentials the reason is one user(xxxx) credentials has been set in SICF transaction in the following path: default_hostàsapàbcàwebdynproàsapà”zweb_form”àlogon data(If we set User Credentials,That user is being treated as Sy-uname for that componet.It is serious problem for coding point of view for that component).
- For those forms in which SAP-WM has not been set in SICF, we are giving Netweaver credentials and forms are opening but if we close the forms and if we regenerate the forms again it is asking Netweaver Credentials.
Note:We have also configured Single Sign On and also have below mentioned parameters in RZ10 transaction.
Login/create_sso2_ticket------------------- 2
Login/accept_sso2_ticket------------------- 1
Kindly let me know how to open the forms in Mozilla Firefox without asking credentials whenever we generate forms.
Regards,
Ramesh Patnaik.
Mozilla firefox as default browser for webdynpro forms-reg
Hello Friends,
We are working on following system environment.
Server OS-HP-Unix
Database-Oracle 10.0.2.4
SAP Version: ECC6.0.EHP4,ABAP_701-0006,Basis_701-0007.
We needed to set mozilla as default browser for webdynpro forms for OS Windows 10(Users’s OS).
We have done the following steps
1.We have enhanced the Class:CL_GUI_FRONTEND_SERVICES and Method:CHECK_GUI_SUPPORT.The screen shot attached below.
2.We have set default program in control panel as mozilla.
3.Webdynpro apllications are opening in Mozilla then.
4.But Netweaver Credintials are asking for applications to open every time whenever generating forms in browser as attached screen shot below.
5.But some of the forms opening directly without asking netweaver credentials the reason is one user(SAP-WM) credentials has been set in SICF transaction in the following path: default_host-->sap--->bc--->webdynpro--->sap--->”zweb_form”-->logon data(If we set User Credentials,That user is being treated as Sy-uname for that componet.It is serious problem for coding point of view for that component).
6.For those forms in which SAP-WM has not been set in SICF, we are giving Netweaver credentials and forms are opening but if we close the forms and if we regenerate the forms again it is asking Netweaver Credentials.
Note:We have also configured Single Sign On and also have below mentioned parameters in RZ10 transaction.
Login/create_sso2_ticket------------------- 2
Login/accept_sso2_ticket------------------- 1
Kindly let me know how to open the forms in Mozilla Firefox without asking credentials whenever we generate forms.
Regards,
Ramesh Patnaik.
Error on ICF service node
Hello experts,
I have few Webdynpro Application which was working fine in portal and now we have put SAP ERP Enhan.Pk.4 SP. And when i am trying to run my application its showing some kind of error
WebDynpro Exception: ICF service node "/sap/bc/webdynpro/SAP/XXX" does not exist.
I have checked the ICF service in SICF to activate my service but i noticed that my WD Application name is not there in the specific path.
Can you please help me how can i resolve this error.
Thanks,
-Satya
Change button text after user selection in pop up - ALV Webdynpro.
Hi,
I have 2 windows. Window1 has ALV table with one of its fields having user name in the form of buttons. Once this button is clicked there will be a pop up (from Window 2) with list of user names. The user can choose any user name. Once he chooses the user name from Window 2, the same name must appear as button text in Window 1. As of now I get the index of the line which the user clicked in Window 1 and also the pop up with the user name list in Window 2. But the button text does not change.
I do not know how to achieve the change of button text for the index i have. Please help.
How to expand some ALV hierarchy levels during runtime at webdynpro abap
Hi,
I know that by using "if_salv_wd_table_hierarchy~set_expanded( abap_true )" method, I can expand all hierarchy levels of alv grid at webdynpro abap. But I have 3 hierarchy levels and want to expand only 2 of them by default.
Is it possible?
Thanks in advance,
MERAL
ALV Hierarchy Tree - Expand all levels by default
Hi users,
I am trying to expand all levels of an ALV Hierarchy tree in WDABAP using the method SET_EXPANDED of interface IF_SALV_WD_TABLE_HIERARCHY on the click of a button but it is expanding only first level of hierarchy and not the 2nd and 3rd . Is there any other change or property set that I need to do to achieve the same ?
Regards,
Rishabh
Dropdown Icon is not alligned in ABAP Webdynpro view in Chrome/Firefox browser
Hello All,
The dropdown Icon is not aligned in ABAP WebDynpro view in Chrome/Firefox browser, however it works fine in Internet explorer. Please find the screenshots from both browser attached.
Request you to kindly provide inputs on how to resolve the above mentioned issue.
Thanks in advance.
Regards,
Srikanta
Drodown from Chrome Browser
Dropdown from Internet Explorer
Dropdown icon in chrome not aligned in abap webdynpro
Hello All,
The drop down Icons in ABAP web dynpro view, are not aligned in chrome/firefox browser. However it is fine in internet explorer. Please find the screenshot from both browser attached.
Can you please help us how to overcome this issue?
Thanks in advance.
Srikanta Mandal
Excel download throwing Time out error
Hi Experts,
We have followed SCN Document 46001 for downloading table data to excel in WebDynPro.
Download/Write contents in .xlsx file in SAP Web Dynpro
It is working fine in case of small amount of data (Say 1000 records with 44 columns) where as when I am trying to download the
table with 10000 odd records with 44 columns it is throwing as 500 Connection time out error.
When we check it is taking time at below statement.
cl_fdt_xl_spreadsheet=>if_fdt_doc_spreadsheet~create_document(
EXPORTING
itab = lref_data
iv_call_type = 1
columns = lt_column
RECEIVING
xdocument = lv_xstring ).
Please advice how can I rectify this issue.
ALV field grouping within the context of another field
In SALV_WD_TABLE, I'd like to group cells having the same value, but only within the context of the value of another cell. To explain what I'm trying to achieve, please see the images below.
The table on the left (Raw Data) shows the data without any groupings. The table in the middle (Desired) is what I'd like the groupings to be-- I'd like value "ABC" to merge only within the context of grouped "Record ID" values. The table on the right (Actual) is what I'm able to achieve using the IF_SALV_WD_SORT methods-- I can group field VALUE, but it groups all "ABC" values together rather than within the context of the "Record ID" value.
DATA lo_model TYPE REF TO cl_salv_wd_config_table.
DATA lo_field TYPE REF TO cl_salv_wd_field.
lo_model = wd_this->wd_cpifc_alv_table( )->get_model( ).
lo_field = lo_model->if_salv_wd_field_settings~get_field( 'RECORD_ID' ).
lo_field->if_salv_wd_sort~create_sort_rule( sort_position = 1 ).
lo_field->if_salv_wd_sort~set_grouping_allowed( ).
lo_field = lo_model->if_salv_wd_field_settings~get_field( 'VALUE' ).
lo_field->if_salv_wd_sort~create_sort_rule( sort_position = 2).
lo_field->if_salv_wd_sort~set_grouping_allowed( ).
Does anyone know if it's possible to achieve this sort of contextual field grouping in SALV_WD_TABLE?
Cheers,
Amy
CL_POWL_QUERY_Accessor=======CP program termination
Hi Experts,
We are getting lot of dumps in ST22 with runtime errors : DBIF_RTAB_SQL_ERROR
Exception is CX_SY_EXPIMP_DB_SQL_ERROR
Termination Program is CL_POWL_QUERY_Accessor=======CP.
when I check in the log it is showing that the termination is occurred in ABAP Program CL_POWL_QUERY_Accessor====CP in 'SET_CACHED_SELCRIT' method.
This program is a standard SAP program with respect to POWL Configurations.
Can anyone please thorw some light on how to resolve this runtime error.
I tried to check relevant SAP notes but no luck.
Please suggest how to proceed on this.
Thanks,
Raghav
Login via URL Parameter not possible after EHP6 upgrade
Hi All,
There is a problem when we are trying to login to webdynpro application via URL parameters SAP-USER and SAP-PASSWORD.
Getting the error "Logon with URL parameter not possible; logon cookie is missing" Error no. ICF_SYSTEM_LOGIN402
We understand the security risk but still we need this feature to be activated.
Regards,
Manish