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

Dynamic Pop-up required to select Ship-To

$
0
0

Hi All,

 

I am a novice in Web Dynpro & need your help in below issue.

 

There is this standard Web dynpro component CUST_COCKPIT_COMP.

It has view CUST_COCKPIT_VIEW.

It has an inbound plug CUST_****_IN1 which triggers event handler HANDLECUST_****_IN1.

This inturn calls method   wd_This->Set_All_Data( ). This method inturn calls method wd_This->Fire_Powl( ).

 

Inside this method several selection parameters values are added to a kind of range table lt_selpara_cfs.

Once this table is completely populated FM POWL_ENCODE_SELPARA is called.

 

Just before this FM is called, I wish to achieve the following:

1. Using the Customer number & Sales area details which are available fetch the possible Ship-To values

2. Display all the Ship-To values in a pop-up & ask the user to select the required Ship-To

3, Once selected, that Ship-To value will be returned back & added to the table lt_selpara_cfs & passed to the FM POWL_ENCODE_SELPARA.

 

As per my understanding standard SAP web dynpro can be enhanced by following the steps in this link http://wiki.scn.sap.com/wiki/display/WDABAP/Enhancing+the+WebDynpro+Component+and+Methods

 

1. I am not sure how to create the pop-up & call it. Is it possible to create it dynamically using coding or I need to create custom Web Dynpro application?

2  Also, can I put in the logic to get the Ship-to values at this position itself? As I know Web dynpro has concept of Assistance classes. Can it be done for this Web dynpro & if yes, should it be done?

3. Is there a standard pop-up available which will show all the Ship-to values when Customer number & Sales Area is passed?

 

Please guide. I have not worked on Web Dynpro earlier & I am only aware of high level concepts.


Zebro row affect for cTable

$
0
0

Anyone know how to add the "zebra" affect to a cTable element like you can do with the ALV table (alternate row shading)?

EXCEPTION TEXT IS: NO ADDITINAL TEXT.;ORIGINAL TEXT IS: DOES NOT EXTI WITHIN VARIANT ZHELV_OL_VARIATNT

$
0
0

Hi,

 

I am just getting Dump as EXCEPTION TEXT IS: NO ADDITINAL TEXT.;ORIGINAL TEXT IS: DOES NOT EXTI WITHIN VARIANT ZHELV_OL_VARIATNT and my code is and Please resolve this Problem.

 

lv_variant = wa_cfp-variant_name.

 

    CALL METHOD io_gaf->get_mainsteps

      EXPORTING

        iv_variant_id = lv_variant

      IMPORTING

        et_mainstep   = t_mainstep.

 

*loop at  t_mainstep into wa_mainstep.

*  lv_variant =  wa_mainstep-id

*  if lv_variant1 = 'dependent'.

    READ TABLE t_mainstep INTO wa_mainstep INDEX 2.

    IF sy-subrc EQ 0.

      lv_variant1 = wa_mainstep-id.

      CALL METHOD io_gaf->hide_mainstep

        EXPORTING

          iv_variant_id  = lv_variant

          iv_mainstep_id = lv_variant1.

 

    CALL METHOD io_gaf->enable_mainstep(

       exporting

          iv_variant_id  = lv_variant

          iv_mainstep_id = lv_variant1

          iv_enabled     =  abap_false  ).

 

 

 

    ENDIF.

*ENDLOOP.

******************************************************************

 

**************************************************

*  wd_this->io_gaf = io_gaf.

    IF sy-subrc EQ 0.

      lv_variant = wa_cfp-variant_name.

      CALL METHOD io_gaf->set_variant

        EXPORTING

          iv_variant_id = lv_variant."'ZHELV_ML_VARIANT' .

    ENDIF.

 

Regards,

Sadiq K

Excel Upload in WD4A

$
0
0

Hello WD4A Gurus,

 

I have search a lot about excel upload functionality in WD but didnt get solution.

 

I managed to  upload an excel by learning some tutorial but its showing garbage values in WD table.

 

Could you please make some suggestion or any other way to deal with excels uploads.

 

Thanks

EXCEPTION TEXT IS : NO ADDITIONAL TEXT;ORIGINAL TEXT IS:DOES NOT EXIT WITHIN VARIANT ZHELV_OL_VARIANT

$
0
0

Hi,

 

I hide main step in FPM. I got dump EXT;ORIGINAL TEXT IS:DOES NOT EXIT WITHIN VARIANT ZHELV_OL_VARIANT .Please solve the soluation.

 

lv_variant = wa_cfp-variant_name.

 

    CALL METHOD io_gaf->get_mainsteps

      EXPORTING

        iv_variant_id = lv_variant

      IMPORTING

        et_mainstep   = t_mainstep.

 

*loop at  t_mainstep into wa_mainstep.

*  lv_variant =  wa_mainstep-id

*  if lv_variant1 = 'dependent'.

    READ TABLE t_mainstep INTO wa_mainstep INDEX 2.

    IF sy-subrc EQ 0.

      lv_variant1 = wa_mainstep-id.

      CALL METHOD io_gaf->hide_mainstep

        EXPORTING

          iv_variant_id  = lv_variant

          iv_mainstep_id = lv_variant1.

        ENDIF.

*ENDLOOP.

******************************************************************

 

**************************************************

*  wd_this->io_gaf = io_gaf.

    IF sy-subrc EQ 0.

      lv_variant = wa_cfp-variant_name.

      CALL METHOD io_gaf->set_variant

        EXPORTING

          iv_variant_id = lv_variant."'ZHELV_ML_VARIANT' .

    ENDIF.

Regards,

Ramkumar

ALV Column Fixed width based on the contents

$
0
0

Dear Experts,

 

I have list of columns in my ALV table in which based on the size of the column value in need to adjust the column width.

Like Fit to contents option in Table in MS Word...

 

I tried with the Set_width method to set the column width based on the size of the column value but my Column Heading label is getting truncated but the size of the column got reduced as expected.

 

How to achieve tis?

Kindly let me know any suggestions.

 

Warm Regards,

Nallasivam B.

Annoying scroll bar in web dynpro

$
0
0

web_dynpro_scroll_bar.png

When scrolling in tables this is very annoying that we cant see the actual rows till we release the mouse.. is there any way to fix this beside giving "-1" in the "RowCount" property because when using trees for example the table jumps to the first row when expending a node. and its not very user friendly when the screen size is changing according the the row count when using trees....

How to write Web Dynpro Technical document/Spec

$
0
0

Hi Experts,

 

I have developed a web Dynpro application . Now need to write a Technical document/Spec  in details.

 

Can anyone provide me a template of Technical document/ Spec of  WD application .

 

I have seen some post in scn but it was not  clear & proper.

 

 

Thanks


How to skip multiple screens in ITS URL request?

$
0
0

Hello Experts,

 

I have to change Cost Center Group information using T-Code:KSH2. The T-code asks Controlling Area and Cost Center Group name in the successive screens.

 

I can pass value for controlling area parameter (First Screen) by constructing ITS URL and it skips first screen. But I can’t pass value to Cost center group parameter which is in second screen.

 

Please suggest, how do we pre-fill values for both screens and display the cost center group information?

 

My ITS URL:

http://... sap/its/webgui/?sap-language=EN&~transaction=KSH2&%20SVALD-VALUE=MCA&%20GRPDYNP-NAME_COALL=TEST_CCTR&~OKCODE=/00

 

Output:

ITS URL - Skip Multipke Screens.png

 

Thanks,

Rajan.

How to find feeder class for guibb, Which is used In standard FPM application

$
0
0


Dear Experts,

 

I want to enhance List UIBB Feeder class, Which is used in one standard FPM application configuration.

But if i go to that configuration and if i check attributes of that GUIBB, the option EDIT feeder is not in editable, So how i need to know corresponding feeder class used for that GUIBB.

Enable/Disable button on ALV cell

$
0
0

Hi All,

 

 

Field1Field2Field3
Plant11000938394Button1
Plant21000938395Button2
Plant31000938396Button3

 

I'm displaying data in Web Dynpro Abap, ALV in above show way. I want to Enable/Disable or hide/unhide buttons on the Field3 based on some conditions. I'm new to Web Dynpro, could anyone help me on how can i achieve this in Web Dynpro ALV. I searched online but couldn't find anything related to this.

 

Thanks in Advance.

Hiding a Tab Dynamically in FPM

$
0
0

Hi,

 

Can you please let me know how to hide the tab dynamically in FPM. I tried to implement the interface IF_FPM_TABBED_CONF_EXIT in the SAP standard webdynpro, but I get a error " Web Dynpro comp./intf. "IF_FPM_TABBED_CONF_EXIT already exists". Even though I get this message I am not able to find the interface IF_FPM_TABBED_CONF_EXIT in the implemented list of interface.

 

Regards,

Arun


POWL not showing last searched data

$
0
0

Hi All,

 

we are using Recruiter work Center POWL application in our project. In recent time whenever I try to open the application, it does not show the last refreshed data. ideally it should show the last saved data which is default functionality on POWL. Instead it is coming blank and ALV shows "table does not contains visible columns". but if I click on some other link and then again click back the previous link it shows the last save/refreshed data.

 

I have already run standard report POWL_D01 but still it is not working.

 

Could you suggest why this is happening?

 

Thanks & Regards,

Arvind Patel

How to Display message in next line rather then horizontal within fixed width size in Web dynpro

$
0
0

Hi experts,

 

I have developed a web dynpro application. I have also declare a message area. Its working fine. But when the message appears on the screen it comes with sliding scrolls. This sliding scrolls is not of browser but this sliding scrolls is of Message area.

 

I want to display mesaage vertically down  as I don't have horizontal space in device . Please see the screen shot then it will be easier to understand.

 

I have set WIDTH 200px . I can't increase the width as with space is limited in hardware device.

 

message.JPG

I want that message should appears on next line within the limited width ???

 

 

The property what I had set please have a look

 

msg_property.JPG

Width I can not Increase due to limited with of device. but message should display on next line.

 

Please help me out . Its urgent.

ALV in wedynpro abap

$
0
0

Hi All

 

I have alv output of 10 records(when no inputs are given).I am having company code as input.If i had given a company code as input only that particular company code records should get as alv output.

 

Thanks

Vamsi


Can you Insert a Ref Operation Set to a Standard Routing

$
0
0

Hi Guys,

 

During the production manufacturing phase we quite often have to update the routing with additional operations.

Today this is done manually and can be time consuming plus typo errors can occur.

 

I've create my Ref operation set which I would like to assign to the released production order which already has the standard routing.


TCODE CO02 --> operation overview --> select operation line -->edit --> insert Ref. operation set


Error message:

Ref. operation set 50000012 is not valid according to the selection conditions

Message no. CO892

 

Diagnosis

The selected reference operation set 50000012 is not valid on 22.12.2014.

System Response

If default values have been maintained in Customizing, an operation is generated automatically.

Procedure

Check why the reference operation set does not meet the selection conditions:

  1. 1. Is it valid on 22.12.2014? -->Key date is valid
  2. 2. Is lot size  within its validity area? -->Lot size is valid
  3. 3. Is the selection ID for routing selection (Customizing: order type- dependent parameters) of a type that allows reference operation sets to be selected? --> Can you reference both types of routing for a single order type in TCODE OPL8?
  4. 4. If the reference operation set has a change number, is it valid for production on 22.12.2014? --> Key date is valid

 

Has anybody managed to get this to work before or have you an alternative method to record variances without having to manually create each step?

 

 

Regards

Paul

How to Set the default Language(English) for webdynpro?

$
0
0

When i insert the elements on UI through "ROOTUIELEMENTCONTAINER" and right click " Insert element".It shows in different language such as        Element einfUgen.So i want to set English language. Please refer attached Screenshot.

Kindly help me out.

Generate Event when a file is selected using FileUpload UI element

$
0
0

Hello All,

 

I have two requirements with respect to FileUpload UI element in webdynpro abap.

 

1. when click on browser button of FileUpload UI element and select the file, display a message if the selected file is other than word, pdf, ppt & excel. Is there any way that we can have an event or some other way to see if the selected file is not expected one and display message. This should happen only after a file is selected.

 

2. Since requirement is to Upload multiple file, i have created a link using LinkToAction UI element which will create FileUpload UI element dynamically and bind it to context node. I have done this way:

 

a. first create context node "File_Upload" with 4 attributes file_name, file_type, file_size & file_content. (Cardinality 1:1)

b. second created FileUpload UI element and bind its property

    file name with file_name attribute

    data source with file_content

    mime type with file_type.

 

Above steps are working fine in case of single file uploading. So to have multiple file upload i have chosen the dynamic creation of FileUplaod UI element. To do so:

 

c. created link using LinkToAction UI element which when click will dynamically create FileUpload UI element.

d. when above link is created the dynamically created UI element is bind to above context.

 

But when i read file details from File_Upload context, only one file is shown which was selected for the First FileUpload UI element.

 

so how can i solve selection of multiple file Upload issue.

 

Thanks

Regards

How to find the field for which the F4 help is triggered

$
0
0

Hello Folks,

 

I am using the same WebDynpro Component for providing the value help for different fields in the FPM Forms.

 

I need to identify the field name for which the F4 help is triggered. I am using the standard WDA component 'IWD_VALUE_HELP' in my WDA component.

keep session data when opening a new window

$
0
0

Hi all,

 

In one of my developpements in WDA I open a new external window (in another browser), in which another WDA is displayed. In quality and production environment, I have a technical architecture with several application servers, managed by a SAP web dispatcher. My problem is that in those environement, the user get the login screen when opening the new external window.

 

It looks like the session is not saved and not used by the new external window. I have been told by the admin guy to make my WD application "stateful", but I can't find how to do it by program, and I don't know if this has to be done by customizing somewhere else (for example in the SICF transaction).

 

If this has to be done by program, I have found the method CL_HTTP_SERVER->SET_SESSION_STATEFUL, but I can't find how to get the instance of the class CL_HTTP_SERVER.

 

If anybody has encountered the same problem, or has a lead to investigate, thanks a lot!

Viewing all 3637 articles
Browse latest View live


Latest Images

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