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

Restricting entries in select option

$
0
0

Hi,

 

I have created one webdynpro application with select option for material.

How can I restrict user to enter only up to 100 entries in select option at a time?

Thanks!

 

Regards,

Puneet



selected value in DROP down by KEY

$
0
0

Hi Team,

 

Hi  Team i have created one Dropdown by Key

and set the values based on the

 

lr_visa_node_info->set_attribute_value_set( name = 'VISA_TYPE'

     value_set = it_value_set_reports ).

 

and in Dropdown it shows the text it's fine But when i selected the text the input value become 'value'

 

In the below image In dropdown it show the Text but when i selected the value the value becomes 22 means KEY.

 

IMG1.png

 

Thanks

Nishant

Data wrapping

$
0
0

Hi,

       I would like to know if the following scenario is possible.

 

-> I develop a Web Dynpro page and use it for entering some data which will ultimately create the master data.

-> Once I finish entering the data, I need to send the information by email ie. send the webdynpro page as a link to the recipient

-> Is it possible to develop the page in such a way that it will retain the data the user enters and is made available when the recipient opens the link from the email sent

 

thanks

how to set mandatory fields in abap webdynpro

$
0
0

Hi Experts.

how to set mandatory fields in abap webdynpro.

 

I have set of 5 fields in my view. Changed the property of input field. State-> Required .  to all fields.

 

If value is not entered in any of the field, output is as per the expectations.

If value is entered in any one field and click on save, then it is saving without asking to enter value in other required fields..

 

Please suggest.

dropdown in dynamic alv

$
0
0

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

webdynpro abap set cookie while calling an external URL

$
0
0

Hi all,

 

I have a requirement to create a session cookie on the browser in webdynpro abap while calling an external url, making this cookie available for the external url browser session.

 

On the I Component Controller (WDDOINIT) I have used   cl_request = wdr_task=>request. to get the request  and created the client side cookie using  cl_request->SET_COOKIE  after creating it I then call cl_request->get_cookies which shows cookie as added but the cookie not on the browser.. for the external url am using the exit plug..


How can I best resolve this issue ..as set_cookie doesn't seam to work


Thanks


Fairwell

Trying to adapt a Standard Web Dynpro Component

$
0
0

Hi,

 

I want to change the 'Caption_1' of the WDC EHHSS_INC_ROOT_CAUSE from 'Root Causes' to 'Causal Factors'. What I did is that I have created a component configuration and made all the changes there but after this is done I don't see the changes. Please see the screen-shot. Can you help in getting this fixed. Thanks.

 

Capture.PNG

Blank page when user try to access abap wd application

$
0
0

Hi Experts,

 

  When try to access ABAP WD application it is working fine.

  But a specific user is getting blank page when he click on link that should open ABAP WD Application.

  Please suggest.

 

Regards,

Sree


Create Form in New Container

$
0
0

I am completely new to Web Dynpros. I am trying to complete SAP's NET310 course to get more knowledgable in this area.

 

In one of the exercises, it gives the following steps:

 

For both views ceate a form displaying a label and an input field for each context attribute of the node FLIGHTINFO. Use the websynpro Code Wizard to perform this step.

 

1. On the layout of the view INPUT_VIEW, create a form with references to the context attributes CARRID and CONNID. Use the Web Dynpro Code Wizard to create the form.

 

a) Edit the Web Dynpro view and choose the Layout tab

b) Mark the ROOTUIELEMENTCONTAINER UI element in the UI element hierarchy

c) Start the Web Dynpro Code Wizard by clicking the corresponding button in the Web Dynpro Explorer bar. Select the template for generating forms by double clicking on the related item

d) Click the context button, then double click the context node (FLIGHTINFO) in the dialog box

e) Mark the check box labeled "Create Form in new Container"

f) Mark the check box labeled "Create Section Header". Adapt the text, which is displayed as the section header if desired.

 

Ok, so here is what I have done while following these steps:

 

a)

WD1.JPG

b)

WD2.JPG

 

c)

WD3.JPG

 

wd4.JPG

 

d)

 

WD5.JPG

 

 

WD6.JPG

After double clicking on "Flight Info", I get to this screen:

 

 

WD7.JPG

 

e) So this is my problem - I do not see a "check box labeled "Create Form in new Container""

f) I also do not see a "check box labeled "Create Section Header"".

 

Can anybody advise why I am not seeing these settings??? I am a total beginner with Web Dynpros and am just trying to do the exercises to get a basic understanding of how they operate.

 

I appreciate any help offered.

Noel

How set data in table in one row ?

$
0
0

Hello all!
I have tableCapture.JPG here i have three same data in Country and company. I need set data in columns in one row. Like DE 10051 15.04.2016 14:13:02 15:04.2016 14:22:13.
How can i do this?

 

Thx

Mandatory Error Message of the view in Popup window

$
0
0

Dear All,

 

I am able to display the custom error messages in the pop up window by creating a view & window for the popup.

 

My requirement is to display the "Fill in all required fields" error messages in the popup window and when they click on that message then it should take to that field of different view.

 

Regards,

Mustafa

How can I change the file name while using EXPORT functionality of WEB DYNPRO ALV?

$
0
0

Hi Everyone,

 

I have a requirement where I have to change the file name, while exporting ALV to excel sheet.

 

By default file name is 'Export.XLSX', I have to change it.

 

Is it possible?

 

Also, When I am exporting my internal table into Excel, using the below mentioned code, I always get the following warning ''The file format and extension don't match ''.

 

LOOP AT lt_comp_dtls INTO ls_comp_dtls.

           CONCATENATE  ls_comp_dtls-pernr

                        ls_comp_dtls-name

                        ls_comp_dtls-div_desc

                        ls_comp_dtls-div1_desc

                        ls_comp_dtls-org

                        ls_comp_dtls-cost_c

                        ls_comp_dtls-job_ttl

                        ls_comp_dtls-ch_nch

                        ls_comp_dtls-mandt_assigned

                        ls_comp_dtls-mandt_due

                        ls_comp_dtls-mandt_complete

                        ls_comp_dtls-duelt30days

                        ls_comp_dtls-duege30days

                        ls_comp_dtls-emp_email

                        ls_comp_dtls-sup_name

                        ls_comp_dtls-sup_email

                        ls_comp_dtls-pers_admin

                        cl_abap_char_utilities=>newline INTO lv_text1

                        SEPARATED BY cl_abap_char_utilities=>horizontal_tab.

           CONCATENATE  lv_text_full lv_text lv_text1 INTO lv_text_full.

 

CALL FUNCTION 'SDOK_MIMETYPE_GET'

           EXPORTING

             extension = '.XLS'

           IMPORTING

             mimetype  = lv_mime.



CALL FUNCTION 'SCMS_STRING_TO_XSTRING'

           EXPORTING

             text   = lv_text_full

           IMPORTING

             buffer = lv_xtext.


CALL METHOD cl_wd_runtime_services=>attach_file_to_response

           EXPORTING

*           i_filename      = 'Download.xls'

             i_filename      = lv_filename

             i_content       = lv_xtext

             i_mime_type     = lv_mime_str "'EXCEL'

             i_in_new_window = abap_false

             i_inplace       = abap_false.

 

Please provide your valuable suggestions on this.

 

Thanks,

Faraz Khan

web dynpro app - google chrome as default browser

$
0
0

Hi,

 

I am trying to launch google chrome browser as default while testing my WD app thorough SE80 tran.

Previous posts suggested defining the chrome as default OS browser,

but SAP does not reffering to it and launches IE instead.

So far during debugging I noticed system checks refering to the browser, as javabeans and html.

One of the tests refer to ActiveX, and after changing the return parameter from X to initial,

Chrome (as my default browser) launched.

'C_GUI_SUPPORT' and other system functions are involved during the process,but I didnt find a way

to change user parameters or other settings so activeX eill be disabled,

or bypassing the IE and launching chrome.

 

Someone can assist please?

Error while creating a overwrite method in class

$
0
0

Hello,

 

I am trying to create an overwrite method in the class CL_SWF_POWL_DETAILS_WD_ASSIST. While activating the method I am getting below error.

Type "LCL_YWF07_SWF_IMPLN" is unknown.

Please give your expert advice.

 

Thanks

document download error from BDS

$
0
0

Hi,

 

I am using BDS to download/upload documents into SAP using webdynpro abap. I am able to successfuly upload docs but I cannot download it .

 

To open the documents I am using method cl_bds_document=>display. This method is working fine if I run it directly but gives me and "unknown error" of termination type  "ERROR_MESSAGE_STATE" ( see it using ST11) which I dont understand.

 

Same method has worked for me in other client environment in WebDynpro environment but i dont has access to that system to compare result.

 

The one thing i found it when I execute the method directly, the function module GUI_HAS_ACTIVEX returns X while when I run it from WD ABAP, it comes as blank. I even tried to create an iview of my application and test it from portal but no success.

 

If I use OAOR transaction, I can see my documents are getting uploaded successfully and I can open it also. I tried various file types but no success.

 

Please help.. I just cant understand how to fix it....

 

Regards

Vishal Kapoor


How can I change Text in DropDownByKey

$
0
0

Hello,

 

how can I change the Text in Dropdown List Box . I want programming this abap in a view method.

 

Thanks

Kerim

Getting dump error in form and process(Web dynpro Abap)

$
0
0

Hi All,

 

We are getting the below error message on loading webdynpro standard application for hiring process through the HR portal.We are not able to see the form for hiring an employee when we executed from portal.

Appreciate your help if any pointers to resolve the issue.

 

500 SAP Internal Server Error

ERROR: Syntax error in program CL_HRASR00_FPM_FEEDER=========CP . (termination: RABAX_STATE)

 

Actually we are trying to hire an employee from ESS/MSS and HR professional portal.For that we have used standard configuration in ECC backend syatem and in ECC system we have created custom process and form for this action.

In ECC system also we getting the dump error .

 

The below are the run time error details showing in ST22.


runtime error.PNG



runtime_error_form.PNG

The configuration for standard hiring process in lpd_cust for hrpao actions for US Hirng is mentioned below:

NameSpace: sap


Application :ASR_PROCESS_EXECUTE_OVP


System Alias: SAP_ECC_HumanResources


Configuration :ASR_PROCESS_EXECUTE_OVP_CFG


I also checked for gateway services, Services had been activated..




Please do needful..Awaiting for your help.



Regards,

Keerthana  SR



























Opening a Webdynpro application from BSP application

$
0
0

Hi Experts,

 

I have a BSP application I created a button in the BSP application on clicking this button I'm opening a Webdynpro application the WDA application opening But the problem when I'm trying to save the data it is not saving on the first attempt. But on then second time I'm calling this WDA its working fine and  data is saving. and this thing is happening one time only of every day first attempt and then after this working fine.

 

and even i'm putting breakpoint first time it is not triggering and after closing this application and again opening the debugger is getting triggered then after data is saved.

 

 

Kindly help me on this issue.

 

 

Regards

Mohammed Sajid.

Not able to Create Leave Request - Only Brazil Users

$
0
0

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.

 

Capture.JPG

 

Regards,

Sree

How to add checkbox to the alv in webdynpro

$
0
0

     Hi ,

          how to add checkbox to alv in webdynpro .

 

 

 

 

Thanks,

Raghunadh.

Viewing all 3667 articles
Browse latest View live


Latest Images

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