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

Missing line items after clicking on EDIT button while creating the shopping carts

$
0
0


Hi Experts,

 

I am creating Shopping cart. I am at second Roadmap element 'SHOPPING CART'. I am adding line items to Shopping cart.Added 2 lines to Shopping cart then Saved.

 

Then clicked on EDIT button and then added another 2 line items and clicked on Save button.For adding another line items, clicked on EDIT button

 

and noticed that only 2 line items are displayed instead of 4. But all line items are saved in the database. But showing only 2 line items on the same SRM Screen.

 

I have checked the Webdynpro Component for this EDIT button. The component name is FPM_GAF_COMPONENT. There is no custom logic for this EDIT button.

 

Why some items are not showing on SRM Screen after cliking on EDIT button. Is this a standard functionality.?

 

For dispaying all line items, what I need to do..?

 

Please help me. Thanks in Advance.

 

Regards

Nagireddy Alavala

 

 

 


Field labels using OTR text or DE Text ?

$
0
0

How to ascertain whether the a field labels uses OTR text or Data Elements text ?

SIDE PANEL IN FPM OIF

$
0
0

Hello All,

 

I have implemented the side panel in FPM OIF application using CHIP. My requirement is to pass the parameter from CHIP back to FPM OIF. Please help me to achieve this.

 

Regards,

Sagar

after integarating my webdynpro configuration into net weaver portal its asking sap credentials?

$
0
0

Hi Experts,

 

i have implemented  one custom webdynpro component then i have created custom application configuration  for Hress_a_cats_1 standard webdynpro application in FPM_OVP_component.

 

here i am displaying 2 tabs :


tab1 :  in this i am displaying one view/window details


tab2 : here its displaying another view ( logic : i have created on I FRAME Ui element , for this u have property data source , we need to bind the URL for this. Here i need to construct the URL for required application )

 

i am using the standard application " hress_a_ptarq_leavreq_appl" my code as below. from back end  all are working fine.

 

but in portal : while navigating one tab to another (if i click on Tab2 - first instance its asking sap login credentials  ) i need to resolve this.

 

1. Can i use Standard webdynpro application ? or we need to copy to customapplication(ZXX)?

 

2. because of the below code its asking sap credentials ?

 

please can one suggest me on this what would be the issues?

 

"Assign the configuration names to build the URL.


*  e_in_parametrs-name = 'SAP-WD-CONFIGID'.

*

*  e_in_parametrs-value = 'HRESS_AC_PTARQ_LEAVREQ_1'.

*

*  APPEND e_in_parametrs TO is_in_psrsmetrs.

*

*  CLEAR e_in_parametrs.

 

       CALL METHOD cl_wd_utilities=>construct_wd_url

     EXPORTING

       application_name = 'hress_a_ptarq_leavreq_appl'

       in_parameters    = is_in_psrsmetrs

     IMPORTING

       out_absolute_url = w_url.

 

 

*--->Assign to gloabal

   wd_assist->gv_cal_url = w_url.




Hi How to edit the OTR In Webdynpro

$
0
0

How to edit the OTR In Webdynpro

Convert the field in read-only format on selection of radio button in webdynpro

$
0
0

Hi Guys,

 

Am new to webdynpro...Wated your help...

I have a webdynpro form where there are 3 radio buttons. User will fill in information in 1 radio button.The data will flow from table to 2 and 3 radiobutton fields. However user should not be able to edit the fields on selection of 2 and 3 radio button he can only read the data.

 

Awaiting early response.

 

Regards,

Nishigandha

Enhancing Standard Webdynpro POWL component

$
0
0

Dear Expert's,

 

I have a requirement to enhance Standard Webdynpro component EAMS_WDC_JOB, which makes use of POWL component. My requirement is to change few description's and remove couple of standard button's as highlighted below. I went through some link's, but not getting an appropriate solution. Can someone help me to solve the issue ?

 

 

Thanks and Regards,

Gaurav.

Identifying Selected employee in team calendar

$
0
0

Hi all,

 

In the team calendar, I have added a new event to handle a click on the Business Graphics.

Snap 2015-02-17 at 11.45.27.jpg

 

However, when I click on an employee and go into the debug mode, the selected employee is not the one that I clicked on.

Snap 2015-02-17 at 11.46.41.jpg

 

Appreciate if any expert is able to advice how I can pick the correct person?

 

Thanks and Regards

Wai


Updating the BOL

$
0
0

Hi ,

 

 

I am working in the HCM ESS Portal side, and the standard system uses BOL for several process. I havea doubt regarding updating the BOL buffer.

 

 

The actual requirement is, we need to modify some data through an enhancemnt and that we are able to do. But since the data in the BOL buffer is not updated with the current changes, the sytem is not processing to the next level.

 

 

These are details from Genil_Model_Editor.

 

 

Component : HRBENF

 

 

Root Object : PERNR_BEN

 

 

Dependent Object HEALTH_PLANS

Component                      HRBENF

Object                             HEALTH_PLANS

Object Type                     C Dependent Object

Key Structure                   HRESS_S_BEN_HEALTH_KEY

Attribute Structure             RPBEN_OA

Root Object                      PERNR_BEN

 

 

Relations

Aggregation HEALTH_DEP_REL Child Cardinality 0..n

Component                            HRBENF

Relation                                 HEALTH_DEP_REL

Source Object                        HEALTH_PLANS

Card. of Srce Object               C1

Relation Type                         C Aggregation

Card. of the Assigned Object   B 0..n

Assigned Object                     DEPENDENTS

 

 

My requirement is to update the value of an attribute in the Relation HEALTH_DEP_REL.

 

 

Please help me with this. It will be very helpful if you could provide the sample code for this.

 

Thanks

Cloned standard SAP's feeder class but, what method/what param works for our requirement?

$
0
0

Hello,

 

We want to control the work items of PLM WebUI's workflow inbox, hence we cloned the below feeder class into our own custom feeder class and applied our custom changes in its method of HANDLE_SPECIAL_ACTION,

 

/PLMU/CL_WCC_INBOX_PWL_FEEDER  Base Inbox Feeder Class

 

well. But, say user clicked the workflow option on webui's menu, then his/her workflow inbox will contain 5 work items.

 

But, for some reason only just one is valid, hence the rest 4 are obsolete

 

Now, we want to discard these 4 the moment user clicks the workflow option on menu or we want to hide these 4 work items PRIOR to launching of the workflow inbox on UI

 

Pl. let us know how to discard some work items PRIOR to launching of the workflow inbox on UI so that user will see the good valid work items in his/her workflow inbox?

 

Thank you

Webdynpro performance issue for check box selection in ALV list

$
0
0

Hi Guys,

 

In the ALV list I have the check box option. By default in some of the ALV rows the checkbox option is disabled and for some of the rows it is enabled for user selection.

 

But the current problem is when the user marks or unmarks the checkbox option it is taking atleast 2 to 3 secs for the checkbox to be selected or deselected.

 

Please share me any valuable suggestions as to how to improve the performance for the above scenario.

 

Any thoughts wuld be of great help.

FPM Dynamic data

$
0
0

Hi all,

 

We are using FPM for portal. We created a button in portal through FPM by enhancing FPM_OIF_COMPONENT. Now I need to get data from financial and capacity planning page to R# to trigger a mail. While debugging , I can see data coming to class CL_WDR_CONTEXT_ELEMENT attribute 'DYNAMIC_ATTRIBUTES' which is private. I couldn't find a method to read this data to a internal table. I am stuck because of this. I request your help ASAP.

 

Thanks

Subin

feeder class parameter is not showing

$
0
0

Hi all,

 

I am doing some enhancement in the component configuration. I am unable to see the feeder class, feeder class parameters, final flags.

 

Do I need to implement any notes ??

 

 

 

feederclass parameters.JPG

 

In staging server, I am getting like below the moment I copied the component configuration:

 

feederclass parameters1.JPG

 

Please suggest what I need to do.

 

Regards,

Namsheed.

Set property to a Standard SRM webdynpro screen field

$
0
0

Dear Experts,

 

We have a requirement to make a standard Input UI element as a required(*) field in ROS registration form of SRM system.

that is to make the first and last name as mandatory parameter.

 

We tried the following ways but not able to achieve this

 

1. Created an enhancement and deactivated the standard input field, then we created a new custom input field and binded the same attribute from context and set the property as required. The field appears in the screen but the * symbol is not shown.

 

2. Dynamically read the input field ( like the reference of it) and set the property of the field. still no result

 

3. Tried setting the Meta data property but not able to find the standard field in the SPRO setting.

 

Please advise

Set property to a Standard SRM webdynpro screen field

$
0
0

Dear Experts,

 

We have a requirement to make a standard Input UI element as a required(*) field in ROS registration form of SRM system.

that is to make the first and last name as mandatory parameter.

 

We tried the following ways but not able to achieve this

 

1. Created an enhancement and deactivated the standard input field, then we created a new custom input field and binded the same attribute from context and set the property as required. The field appears in the screen but the * symbol is not shown.

 

2. Dynamically read the input field ( like the reference of it) and set the property of the field. still no result

 

3. Tried setting the Meta data property but not able to find the standard field in the SPRO setting.

 

Please advise


my concern is I am able to download the data in CSV file format in webdynpro but first column is getting blank

$
0
0

Hi Friends ,

 

In my current project we are suppose to download the data from internal table to CSV file format excel(xls and xlsx are not allowed).

 

my concern is I am able to download the data but first column is getting blank .

 

for your information i am adding the sample code .

 

 

  data : str type string,

            xstr type xstring.

  do 3 TIMES.
  CONCATENATE str  'singh2' 'singh2' cl_abap_char_utilities=>newline    INTO str  SEPARATED BY  ','.
  ENDDO.

 

      CALL FUNCTION 'SCMS_STRING_TO_XSTRING'
    EXPORTING
      text  = str
     
    IMPORTING
      buffer = xstr.

  CALL METHOD cl_wd_runtime_services=>attach_file_to_response
    EXPORTING
      i_filename      = 'Dashboard.csv'
      i_content      = xstr
      i_mime_type    = 'TEXT/CSV'
      i_in_new_window = abap_false
      i_inplace      = abap_false.

 

my concern is i am able to download in CSV file but first column is gertting blank.

 

 

output
--------------------------

col1  col2     col3      col4

       singh2   singh2

       singh2   singh2

       singh2   singh2

 

expexcted output

--------------------------

 

col1       col2     col3      col4

singh2   singh2

singh2   singh2

singh2   singh2

 

output should start from column 1 but it is starting from column 2 leaving column1 blank.

 

 

kindly let me know if nay solution is there

 

Thanks,

Harish Singh.

how to reduce text field length in webdynpro

$
0
0

Hi team,

 

how to reduce text field length to 150 char in webdynpro.

screen1.jpg

POP up in webdynpro

$
0
0


Hello Expert,

 

i have a requirement where i want to call pop up once user click on SAVE button created by us and depending on action we proceed further.The problem is we are calling a method in custom class(Not assistance class) once user click on SAVE button.

 

So in that class method if we call POP_UP_TO_CONFIRM,it is giving dump.

 

please suggest.

Thanks

Mahesh

Enable ALV Cell Action on POWL

$
0
0

Hi Experts,

 

I've created a custom Web Dynpro that contains a custom POWL.

 

I need to handle the action on the POWL when the user click on a drop-down field in the POWL.

 

I manage to find that you have to create a configuration for the custom Web Dynpro (that contains the POWL) under the POWL_UI_COMP component and then you set the enableAlvCellAction parameter under the confData section in the configuration. This works like a dream and the  POWL_ALV_CELL_ACTION action now gets triggered in the handle_action method of the POWL Feeder class.

 

I know placed my new configuration in an iView and Portal role, so it can be assigned to the a portal user.

 

When I now access the custom POWL with the portal user, the POWL_ALV_CELL_ACTION action in the feeder class is no longer triggered.

 

Does anyone know why this is happening or what I'm doing wrong?

 

Your assistance would be greatly appreciated.

 

Regards,

Andrew

Checking required fields: delete duplicate messages

$
0
0

Hello, colleagues!

 

I've got a WDA view containing several obligatory fields. I need to highlight the fields which are empty and display an error message during the input check.

 

I use this method:

 

  cl_wd_dynamic_tool=>check_mandatory_attr_on_view(

     EXPORTING view_controller  = wd_this->wd_get_api( )

                          display_messages = abap_true

     IMPORTING messages = lt_msg ).

 

The emplty fields are highlighted, but I've got several identical error messages. The number of messages is equal to the number of highlighted fields.

I can't set the parameter display_messages to false because in this case the fields won't be highlighted.

 

Is there any way to highlight N fields and display only 1 message?


Thanks in advance!

Viewing all 3637 articles
Browse latest View live