Hi ,
The table data is displaying fine using SALV_WD_TABLE.
I have a requirement that when user clicks on export to excel.
it should be downloaded by password protected.
Kindly Help.
Regards,
Rajendra.
Hi ,
The table data is displaying fine using SALV_WD_TABLE.
I have a requirement that when user clicks on export to excel.
it should be downloaded by password protected.
Kindly Help.
Regards,
Rajendra.
Hi folks,
I have an requirement in web dynpro in which
when I enter "4" in a text box and hit a button.
4 action to link (hyperlinks) must be created below.
Please see the below image.
My logic:
I have already read the text box value in lv_attribute = 4.
DO lv_attribute TIMES.
*Create the hyperlink
ENDDO.
******************************************************************************
PS: I dont know how to create hyperlink
Can any one help me please.
The class documentation for CL_WD_FORMATTED_TEXT lists the character and paragraph formats that the class supports. By using these supported formats in a standard text object, you can programmatically call static method CREATE_FROM_SAPSCRIPT to convert the standard text directly into formatted text for display via UI Element FormattedTextView. For example,
DATA lo_ftv TYPE REF TO cl_wd_formatted_text.
lo_ftv = cl_wd_formatted_text=>create_from_sapscript(
sapscript_head = (thead_structure)
sapscript_lines = (tlines_table)
).
I'm not able to find a standard SAPscript Style that corresponds to this set of supported formats though. I kind of would have expected one to be provided by SAP since the set of supported character and paragraph formats is spelled out explicitly by the class documentation.
I know I can create a custom SAPscript Style, but is anyone aware of a delivered style that corresponds to the CL_WD_FORMATTED_TEXT supported formats?
Cheers,
Amy
Hello Experts,
I have a work request to get Portal UME information from SAP ABAP program. The Portal runs on NW 7.4 and ECC on EHP7. Would be grateful to know If it could be done.
Thanks in advance!
-Kevin
Hi Experts,
In Development system, we are checking the trip approval mails in SOST transaction.
The approval or rejection links are not working properly.
Some extra prefix is present to the actual link:
"saphtmlp://htmlviewer.sap.com/KDCbtlkb7T3X0800awT6Cm/%20https://ACTUAL_LINK"
The highlighted part is the extra prefix to the link.
when we try to open the link, "Address not Valid" error is shown in the browser.
But when we forward the same trip approval mail to the mail inbox
or
Download the mail into local drive(any format) and try to open the approval or rejection links, its working fine(no prefix is present in the downloaded file).
I tried searching for similar posts here in SCN, but couldn't find any solution.
Kindly suggest solution for the above problem. Any pointers will be helpful.
Thanks and Regards,
Srinivas
Hi experts,
Now to get data from Node 3.
------Node 1 (Cardinality [0...N])
------Node 2 (Cardinality [1...1])
------Node 3 (Cardinality [0...N])
Hi Experts,
In our portal side when we are executing the ESS component we are facing the error UNCAUGHT_EXPECTION CX_POWL_FATAL_EXECEPTION.How can i rectify this problem.Could you please help me for this issue.This is the Severe issue for us.In below source code i have mentioned where the error has get with symbol ( _______> ).
SOURCE DODE:
result = cl_powl_util=>ms_display_alvdialog_as_popup.
read configuration setting for POWL FOCUS
CALL METHOD me->read_config_property
EXPORTING
i_property = 'POWL_DEFAULT_FOCUS'
i_type =
IMPORTING
result = mv_powl_focus.
switch POWL delta rendering on (if requested in corresponding URL parameter)
mr_table_helper->set_powl_delta_rend_state( i_powl_delta_rend ).
m_refresh_srv_group = i_srv_group.
l_applid = i_applid.
IF m_applid IS INITIAL AND
l_applid IS INITIAL.
try to get application ID from configuration
me->read_config_property(
EXPORTING i_property = 'POWL_APPLICATION_ID'
IMPORTING result = l_applid
).
IF l_applid IS INITIAL.
we expect a valid application ID!(Here it is showing )
*----
> RAISE EXCEPTION TYPE cx_powl_fatal_exception*
EXPORTING
textid = 'APPLID_ILLEGAL'.
ENDIF.
ENDIF.
" clear latest switched query
CLEAR ms_new_query.
check if we have to do a full (re-)initialization
IF l_applid IS NOT INITIAL AND
m_applid <> l_applid.
m_applid = l_applid.
l_do_full_init = 'X'.
ELSE.
l_do_full_init = space.
ENDIF.
check if we can exit here since the WD session data is still valid
Hi,
I have created one dynamic alv in webdynpro abap.
Now I have to put drop down in some of its columns.
Can anyone help in creating drop down in dynamic alv column?
If the alv is static we can create an attribute of type WDR_CONTEXT_ATTR_VALUE_LIST inside the alv node. and populate it with required values but here the alv is dynamic and so the context node.
So how can we achieve the same functionality for dynamic alv.
Regard's,
Puneet
Hi Gurus,
I am new in Web Dyna, while creating my first application I am getting following errors. Please guide what I should do to resolve this issue.
The following error text was processed in the system DEV: Access via 'NULL' object reference not possible.
The error occurred on the application server crmsys_DEV_00 and in the work process 0 .
The termination type was: RABAX_STATE
The ABAP call stack was:
Method: IF_WDR_CONTEXT_MENU_HANDLER~CONTEXT_MENU_CALLED of program CL_WDR_INTERNAL_WINDOW_ADAPTERCP
Method: IF_WDR_CONTEXT_MENU_HANDLER~CONTEXT_MENU_CALLED of program CL_WDR_INTERNAL_WINDOW_ADAPTERCP
Method: IF_WDR_ADAPTER_EVENT_HANDLER~HANDLE_EVENT of program CL_WDR_CONTEXT_MENU_HANDLER===CP
Method: IF_WDR_CLIENT~GET_CLIENT_UPDATES of program CL_WDR_CLIENT_SSR=============CP
Method: EXECUTE of program CL_WDR_MAIN_TASK==============CP
Method: IF_HTTP_EXTENSION~HANDLE_REQUEST of program CL_WDR_MAIN_TASK==============CP
Method: EXECUTE_REQUEST_FROM_MEMORY of program CL_HTTP_SERVER================CP
Function: HTTP_DISPATCH_REQUEST of program SAPLHTTP_RUNTIME
Module: %_HTTP_START of program SAPMHTTP
Hi i am new to webdynpro and created a sample webdynpro application, but when i try to execute it i am getting the following error :
Access via 'NULL' object reference not possible.
the full description of the error is :
The following error text was processed in the system EC6 : Access via 'NULL' object reference not possible.
The error occurred on the application server and in the work process 0 .
The termination type was: RABAX_STATE
The ABAP call stack was:
Method: IF_WDR_CONTEXT_MENU_HANDLER~CONTEXT_MENU_CALLED of program CL_WDR_INTERNAL_WINDOW_ADAPTERCP
Method: IF_WDR_CONTEXT_MENU_HANDLER~CONTEXT_MENU_CALLED of program CL_WDR_INTERNAL_WINDOW_ADAPTERCP
Method: IF_WDR_ADAPTER_EVENT_HANDLER~HANDLE_EVENT of program CL_WDR_CONTEXT_MENU_HANDLER===CP
Method: IF_WDR_CLIENT~GET_CLIENT_UPDATES of program CL_WDR_CLIENT_SSR=============CP
Method: EXECUTE of program CL_WDR_MAIN_TASK==============CP
Method: IF_HTTP_EXTENSION~HANDLE_REQUEST of program CL_WDR_MAIN_TASK==============CP
Method: EXECUTE_REQUEST_FROM_MEMORY of program CL_HTTP_SERVER================CP
Function: HTTP_DISPATCH_REQUEST of program SAPLHTTP_RUNTIME
Module: %_HTTP_START of program SAPMHTTP
What can I do?
If the termination type was RABAX_STATE, then you can find more information on the cause of the termination in the system EC6 in transaction ST22.
If the termination type was ABORT_MESSAGE_STATE, then you can find more information on the cause of the termination on the application server visuinfobi_EC6_24 in transaction SM21.
If the termination type was ERROR_MESSAGE_STATE, then you can search for more information in the trace file for the work process 0 in transaction ST11 on the application server visuinfobi_EC6_24 . In some situations, you may also need to analyze the trace files of other work processes.
If you do not yet have a user ID, contact your system administrator.
Error code: ICF-IE-http -c: 800 -u: SAPUSER -l: E -s: EC6 -i: visuinfobi_EC6_24 -w: 0 -d: 20150421 -t: 220051 -v: RABAX_STATE -e: OBJECTS_OBJREF_NOT_ASSIGNED
HTTP 500 - Internal Server Error
Your SAP Internet Communication Framework Team
Ladies and Gents
I have a custom infotype which is recording sickness information and is linked to a PA2001 by a many to one relationship.
The custom infotype contains text fields which are to be saved as long texts and be viewable in PA20/PA30 alongside each record. When the first infotype is saved the text is available but on all subsequent saves custom infotype is persisted but in PA20/PA30 although the button to view the text is available the text is not.
When saving the infotype the field ITXEX is set to'X'. and I'm passing a pskey based on my infotype to the method cl_hrpa_text_cluster=>update.
Is it an issue that all of the custom infotypes will have the same PERNR, BEGDA and ENDDA?
Any suggestions very welcome!
Thanks in advance.
Jon
We've got a FileUpload UI element that is used to just get the fully qualified path to a file browsed out to by the user. A button next to the UI then pulls the file name out and stores the value in a context element.
We recently upgraded our user community browser's to IE 11 and in some circumstances now the pushing of this button is popping up a blank IE window with a URL something like the following:
Desktops with Windows 8 and IE 11 work as before without issue.
Desktops with Windows 7 and IE 11 now have issues.
Having trouble finding anything on the web to help us.
We have a Webdynpro ABAP application running in the Portal. The FileUpload UI element used in this application is not working in IE11. After browsing a file and clicking on the Upload button, a blank page is opened and the popup which has the FileUpload UI element is hanging.
We are on EHP7 for SAP ERP 6.0. SAP_BASIS release 7.4 SP7 and SAP_UI release 7.4 SP8
How can this issue be resolved? Appreciate your help. Thanks.
Issue with About My Team (MSS).
User raised a following complaint:
Trying to book a training course for my maintainers.
When trying to book a training course on behalf of my maintainers in the 'About my team' tab in prospect I receive an error message '500 SAP internal serve error'.
Steps to replicate error: About My Team> Click menu button beside team member> About Me(on behalf of)> Book training course.
Please guide me in resolving the issue. The issue is user specific.
Hi All,
When I try to change the selection criteria of my POWL list, I still get the same old results even if the results don't apply to my current selection criteria. Even clicking Refresh doesn't change anything. I tried putting a break-point on IF_POWL_FEEDER~GET_OBJECTS of my feeder class but it doesn't stop on my break-point. Would any of you have an idea as to what I should check/change?
Thanks in advance!
Hi Experts,
When user click on "Create Leave Request", he is getting following error. Please help in resolving the issue.
Employees in Brazil (personnel area EX10) have vacation loaded in IT2006 but receive an error in Prospect stating "Technical Exception not available, No Valid Target content area found" when they try to submit a leave request.
Regards,
Sree
Dear Experts,
I have files (any type of file ... example .PDF, .DOCX, .XLS, .JPEG etc.,) stored in SRM AL11, my requirement is to fetch file names and
display in ALV Table using Web Dynpro ABAP.
I have created a custom web dynpro component with ALV Table, fetched file names from AL11 and displayed them in ALV table. When i click on
the file name it has to download/open the respective file.
I have tried using standard function modules and classes and methods but i am not able to download/open the file.
I have used cl_gui_frontend_services=>gui_download, its not working.
I have used FM 'ARCHIVFILE_SERVER_TO_CLIENT'its not working.
I have used cl_wd_runtime_services=>attach_file_to_response, its downloading as text file i.e., I tried to download either a .PDF file or .DOCX file or select any type of file, its converting it into text file and downloading, the file content will be some special characters etc.,.
Can you suggest any FM/Class methods/ any procedure to download/open file from SRM AL11 using web dynpro ABAP.
SAP leave request approval in Web Dynpro ABAP to overcome payroll lock issue
Overview:
The generic solution has Webdynpro as a front-end for the end users to access the system.Back-end leave processes are supported by standard ESS function modules and workflows.The solution can be customized based on the Countries and also for the various systems which it needs to integrate.With the use of the proposed system, Leaves can be submitted and approved without any concern of the payroll lock and processing.
1. Leave Overview : Refer figure 1
2. Leave Submission : Refer figure 2
3. Leave Approval : Refer figure 3
CALL FUNCTION 'PT_ARQ_REQLIST_GET'
EXPORTING
im_pernr = lv_pernr “approver pernr
im_command = ‘SHOW_WORKLIST’
im_modus = ‘A’
IMPORTING
ex_request_list = it_ex_request_list_hpernr
TABLES
ex_messages = lt_messages
ex_commands = lt_commands.
4. Leave Rejection : Refer figure 3
5. Leave Cancellation : Refer figure 4
6. Leave Forward : Refer figure 3
7. Holiday Calendar : Refer figure 5
Key Advantages
Hi Everyone,
Can someone tell me How to display image in webdynpro which is in binary format.