Close Sidebar close
Sapignite
  • SAP
  • Coding Challenges
  • Download
  • SAP Ignite Products

Subscribe & Follow

All product names on this web site are trademarks of the companies that own them. Sapignite.com is not affiliated with SAP AG in any way. SAP AG is the registered trademark holder of SAP, SAP R/3, mySAP, ABAP, xApps, NetWeaver, and other proprietary terms. The technical information on this site is verified to the greatest extent possible, however, any information found on this site is used at the site visitor's own risk. Sapignite.com reserves the right to correct any errors or omissions in any portion of this site at any time without obligation.

  • SAP
  • Coding Challenges
  • Download
  • SAP Ignite Products
Sapignite
Sapignite
    featured SAP Webdynpro for ABAP

    Let’s beautify webdynpro for ABAP Application

    July 10, 2017

    This Article talks about tips and tricks to enhance the look and feel of webdynpro for ABAP Application.

     

    In my last article discussing about SAP UI’s revolutionary journey

    http://sapignite.com/sap-revolutionary-journey-history-gui-version-latest/

    The final stage was “Webdynpro for ABAP” and when I say the developed application is like below:

    Its beautiful but I know not many of us are still happy with it J .Well If you compare it with the other available web based applications its true.

    SAP is all about business process not about beauty and it’s proven that to make your business run better you need strong reliable business solution rather than beauty (Well it does need to keep your male employees to spend more hours in office!!)

    Let’s come to the point “How to give better look and feel to your application”

    Point1:

    If you are not happy with default alignment of fields or toolbar style use the webdynpro application

    http://<URL:port>/sap/bc/webdynpro/sap/wd_global_setting?sap-language=EN

    Point 2:

    Try to use the icons with buttons and fields wherever necessary:

    Use the below Webdynpro component to see the list of all the icons/web icons etc..

    WDR_TEST_WEB_ICONS

    Or try :

    http://<url:Port>/sap/bc/webdynpro/sap/wdr_test_web_icons?sap-language=EN

    Example : Use the ” ~Workcenter/3People” in Image source attribute of any UI Element to show it on view.

    Point3:

    When It comes to make a dynamic screen. Where you need to change the alignment of visibility of UI elements dynamically based on condition.

    Use the Dynamic generation of the Elements using below classes: (In method WDMODIFYVIEW)

    Sample code: (To make Input field)

    “Create Input field

    CALL METHOD cl_wd_input_field=>new_input_field
    EXPORTING

    bind_value             = iv_bind_path

    id                         = inp_id
    input_prompt           = is_attributes-input_prompt
    read_only              = is_attributes-is_read_only
    visible                = is_attributes-visibility
    width                  = lv_width
    RECEIVING
    control                = lr_input.

    “Create Layout Information ( if you not sure what all the layout information needed , Create a temp webdynpro application add same ui element to view and see what all the attribute sections are showing up for that UI elements ( like matrix data , matrix head data , etc.. )

      lr_matrix_data = cl_wd_matrix_data=>new_matrix_data( lr_input ).
    lr_input->set_layout_data( lr_matrix_data ).

    “Add this Element to respective place ( ir_container might be the transpernet container or a group where you want to add UI Element)

      CALL METHOD ir_container->add_child
    EXPORTING
    the_child = lr_input.

    Point4 :

    Use of “SAP Interactive Forms by Adobe for forms that are printed or used online or offline”. Integrate it with your webdynpro for abap application.That will give a better look and feel plus its recommended by SAP.

    Point5 :

    Use of UI elements wisely. Other than buttons , input fields and tables we have other UI elements too.

    SO don’t just limit yourself with only above UI elements.

    Use of UI elements like button rows , Horizontal gutter , ToggleButton, Transparent Container ,image etc.. will give a nice make up to your application.

    Check the below document to make sure that makeup is not over make-up J.

    http://www.sapdesignguild.org/resources/Accessibility_Guideline_WebDynpro_external_Version.pdf

    Point6:

    When it comes to develop Rich Internet Application (Animation, Videos, Flash etc…)

    Use Adobe Flash or Microsoft Silverlight in Web Dynpro Islands or Web Client UIF Islands.

    Coding standard for webdynpro for abapSAP Wd4A example codingsap WD4A tips and trickssap webdynpro for abap examplesap webdynpro for abap UI exampletips and tricks for webdynpro for abapWebdynpro for abap UI tips
    raju borda
    Raju is working with Technical areas like SAP ABAP, PI , Web design, JAVA , PBT, robotics as architect also functional areas like SCM , QM, MM , insurance . When he is not Doing above geeky things you might find him travelling , Cooking , dancing or drinking with friends :-) .
    • What’s new in SAP ?

    • SAP’s revolutionary journey and history of User interface / GUI

    You Might Also Like

    Have you ever seen standard SAP ABAP code like these

    August 3, 2017

    Trying your hand with EXE file using SAP ABAP

    July 31, 2017

    SAP Coding Challenge – IV

    July 8, 2017

    No Comments

    Leave a Reply Cancel Reply

Sign up for some exciting content

Recent Posts

  • How to prepare for SAP IBP Certification
  • What is SAP Leonardo ?
  • RoadMap UI Tutorial webdynpro for ABAP
  • Offline Adobe forms in WebDynPro for ABAP
  • MVC Architecture for Webdynpro for ABAP

Categories

  • ABAP
  • Android
  • Coding Challenges
  • Enhancement
  • featured
  • Interviews
  • Learning Hub
  • PI ( Process integration )
  • SAP
  • SAP HANA
  • Uncategorized
  • Webdynpro for ABAP
  • Webdynpro For ABAP