Web Dynpro ABAP: Assigning of Conversion Exits in ALV

Hi,
We are currently developing a generic data display application using ALV technology in Web Dynpro ABAP. "Generic" means that the structure of the data is created dynamically during runtime (using RTTS) and that even the contained data elements are created dynamically without any relation to DDIC. The generation is based on metadata like field name, data type, length, decimals, conversion exit.
Our problem is that we were not able to find a way to assign the conversion exit of a data element ("column") in Web Dynpro ALV. Without this feature, no output conversions will take place since the data elements have no relation to DDIC. In the "classical" ALV, this could be easily done using method SET_EDIT_MASK of class CL_SALV_COLUMN.
Is there a similar method in WebDynpro ALV or at least an alternative approach to assign a conversion exit to a column or cell?
Thanks for your help in advance.
Best Regards,
Sven

Hello Sven Hader,
As you said you are generatiing the metadata like field name, data type, length, decimals, conversion exit dynamically.
Can you please let me know how you are diong this?
Meanwhile, you can try this approach to assign a Conversion exit to ALV Table column attribute dynamically.
DATA:     lv_data                         TYPE  dd04v,
              lv_mode_ext2int          type   ESEBOOLE. "Conversion mode that you are in
  read the data from the database
    CALL FUNCTION 'DDIF_DTEL_GET'
      EXPORTING
        name                = lv_ddobjname
        state               =   iv_object_state
        langu               =   iv_langu
      IMPORTING
        dd04v_wa         =   lv_data
      EXCEPTIONS
        illegal_input       = 1
        OTHERS           = 2.
    CHECK NOT lv_data-convexit IS INITIAL.
    CONCATENATE 'CONVERSION_EXIT_' lv_data-convexit '_INPUT'
      INTO cl_im_imp_ehs_material_erp=>mv_conversion_exit_input.
    CONCATENATE 'CONVERSION_EXIT_' lv_data-convexit '_OUTPUT'
      INTO cl_im_imp_ehs_material_erp=>mv_conversion_exit_output.
  IF lv_mode_ext2int = 'X'.
    ASSIGN cl_im_imp_ehs_material_erp=>mv_conversion_exit_input
        TO <lv_funcname>.
  ELSE.
    ASSIGN cl_im_imp_ehs_material_erp=>mv_conversion_exit_output
        TO <lv_funcname>.
  ENDIF.
(3) call the conversion exit
  CHECK <lv_funcname> IS ASSIGNED.
  TRY.
      CALL FUNCTION <lv_funcname>
        EXPORTING
          input  = iv_value
        IMPORTING
          output = ev_value.
      IF sy-subrc <> 0.
      ENDIF.
    CATCH cx_sy_dyn_call_illegal_func
          cx_sy_dyn_call_illegal_type
          cx_sy_dyn_call_param_missing
          cx_sy_dyn_call_param_not_found.               "#EC NO_HANDLER
  ENDTRY.
Endif.
I hope it should work.
Thanks,
Bharath.K
Edited by: Bharath Komarapalem on Dec 16, 2008 2:47 PM

Similar Messages

  • Conversion from SAP R/3 system to web dynpro abap.

    hi,
        Can anybody provide me with information on what all objects can be converted from an SAP R/3 system to a web dynpro ABAP application, nd hw??.

    Hi Girish,
    I don't understand your question completely. Is your question related to the Internet Transaction Server? If it is a Web Dynpro question, I can move this thread to the Web Dynpro forum. What do you think?
    - Henning

  • Closing web browser from a Web Dynpro (ABAP) component in it

    Hi,
    I am opening a Web Dynpro component in IE.
    I have a requirement to close the Internet Explorer window on click of a "Close" Button in Web Dynpro (ABAP) component. I am using EXIT Outbound plug of the Main Window to perform the same.
    In the EXIT plug I am setting "CLOSE_WINDOW" parameter to ABAP_TRUE.
    On click of the "Close" button a pop-up dialog box (with "Yes" and "No" buttons) appears asking me whether I really want to close the IE window.
    If I click on "Yes" button of the dialog box, the IE window gets closed without any issues.
    But when I click on "No" button, the IE window shows up a blank screen. I want the control to come back to the calling Web Dynpro component's screen.
    Appreciate any help/guidance in the above issue.
    Thanks,
    Prasanna

    create an action 'YES','NO', 'CANCEL' in required view.
    copy and paste below code in YES action
    method ONACTIONYES .
      data : l_view_cntr type ref to if_wd_view_controller,
    l_win_cntr type ref to if_wd_window_controller,
    l_window type ref to if_wd_window,
    l_parameter_list type wdr_event_parameter_list,
    l_parameter type wdr_event_parameter,
    l_val type ref to data.
    field-symbols <fs> type any.
    l_view_cntr = wd_this->wd_get_api( ).
    l_win_cntr = l_view_cntr->get_embedding_window_ctlr( ).
    l_parameter-name = 'CLOSE_WINDOW'."'CLOSE_WINDOW'.
    create data l_val type c.
    assign l_val->* to <fs>.
    <fs> = 'X'.
    l_parameter-value = l_val.
    insert l_parameter into table l_parameter_list.
    l_win_cntr->if_wd_view_controller~fire_plug(
    exporting plug_name = 'EXIT_PLUG'
    parameters = l_parameter_list ).
    endmethod.
    goto your window
    create plug EXIT in Window of type EXIT and chect interface checkbox
    create a button - for example - "PUSH BUTTON"
    in pushbutton action
    copy and paste this code
    method ONACTIONEXIT_PLG .
    DATA: API TYPE REF TO IF_WD_COMPONENT,
          WINMAN TYPE REF TO IF_WD_WINDOW_MANAGER,
          WIN TYPE REF TO IF_WD_WINDOW,
          TEXT1 TYPE STRING_TABLE,
          ls_text type string,
          V_API TYPE REF TO IF_WD_VIEW_CONTROLLER.
    API = WD_COMP_CONTROLLER->WD_GET_API( ).
    WINMAN = API->GET_WINDOW_MANAGER( ).
    LS_TEXT = 'Do You Want To Close the Window'.
    INSERT LS_tEXT into table text1.
    win = winman->create_popup_to_confirm(
                                           window_title = 'CONFIRM'
                                           text = text1
                                           button_kind = if_wd_window=>co_buttons_yesnocancel
                                           message_type = if_wd_window=>co_msg_type_question
                                           window_position = if_wd_window=>co_center ).
    V_API = WD_THIS->WD_GET_API( ).
    WIN->SUBSCRIBE_TO_BUTTON_EVENT(
            BUTTON = IF_WD_WINDOW=>CO_BUTTON_YES
            ACTION_NAME = 'YES'
            ACTION_VIEW = V_API
            IS_DEFAULT_BUTTON = ABAP_TRUE ).
    WIN->SUBSCRIBE_TO_BUTTON_EVENT(
            BUTTON = IF_WD_WINDOW=>CO_BUTTON_NO
            ACTION_NAME = 'NO'
            ACTION_VIEW = V_API
            IS_DEFAULT_BUTTON = ABAP_FALSE ).
    WIN->SUBSCRIBE_TO_BUTTON_EVENT(
            BUTTON = IF_WD_WINDOW=>CO_BUTTON_CANCEL
            ACTION_NAME = 'CANCEL'
            ACTION_VIEW = V_API
            IS_DEFAULT_BUTTON = ABAP_FALSE ).
    WIN->OPEN( ).
    endmethod.

  • Shooping cart creation in SRM 7.0 using web dynpro ABAP classes.

    Hi,
    We have recently upgraded to SRM 7.0 from SRM 4.0. We are using customized portal application for the creation of the shopping cart.I am planning to create custom FM which will use the standard Web dynpro ABAP classes to create the shopping cart.
    Could you please guide with the classes that are need to be implemented and the sequence of the classes used in the shopping cart creation.
    I think these are the classes that are used in the standard web dynpro ABAP component.
    CL_FPM_EVENT ->                  Creates an instance of this class based on an event ID.
    CL_BADI_FLT_DATA_TRANS_AND_DB -> Data Handling: Transport and Database.
    CL_EXITHANDLER ->               Class for Ext. Services Within Framework of Exit Technique.
    CL_EX_BBP_DOC_CHANGE_BADI ->     BAdI Class CL_EX_BBP_DOC_CHANGE_BADI.
    CL_BBP_OBJECTS_ACCESS ->         Access Functions for Object Types.
    /SAPSRM/CL_PDO_BO_SC ->          Shopping Cart BO.
    Your expert comments will be appreciated...
    Regards,
    Naresh

    Dear Poster,
    As no response has been provided to the thread in some time I must assume the issue is resolved, if the question is still valid please create a new thread rephrasing the query and providing as much data as possible to promote response from the community.
    Best Regards,
    SDN SRM Moderation Team

  • Possibility of Web dynpro ABAP development for SAP R/3 4.7 Version

    Hi Experts,
         I request for information regarding Web Dynpro ABAP. We have SAP R/3 4.7 as back end. And we are going to implement NetWeaver 2004s - Enterprise Portal 7.0 as front end. We are taking development option as Web Dynpro ABAP. Is it possible to do development in Web Dynpro ABAP where you have SAP R/3 version as 4.7.
    Regards,
    Venkat.

    Hi Heidi ,
    Thank you for your reply. I have assigned points to you. Could you pls give any SAP notes which is giving this information
    Regards,
    Venkat.

  • NW 7.3 + iView from remote source wizard + R3 Web Dynpro ABAP, not working

    Hi,
    I think this forum is my last resort.
    I'm running NetWeaver 7.3 Enterprise Portal and also have an existing ECC6 on backend.
    Our ABAP Programmer has built some WD4A application on ECC, I'd like to made them available
    on EP as ABAP WebDynpro iView.
    From the document, I know the way to create ABAP WD iView is different since 7.3. I have to use "iView from remote source" to do it.
    On EP side, I have made an system alias (test ok) for ECC, assigned permission, provide mapping id/pwd, and test. 
    On ABAP side, all webdynpro app are activated (T-code sicf, /sap/bc/webdynpro, /sap/public/bc/webdynpro...). I can even test WAS by bringing up browser and access some sample ABAP webdynpro .
    However, I cannot success on "iView from remote source" wizard and it always show me "Nothing found. Check your search Criteria.".   Eventhough I use "*" as search criteria.
    Anyone has the similar situation ? I even doubt that it is a placeholder of a feature , not working for now. Anyone made it work on NW 7.3 ?
    More detail:
    My System Alias for ECC:   
          Application Host: myr3.mydomain.com
          SAP Client: 600
          SAP System ID:   DEV
          SAP System Number: 00
          Server Port:  <leave it blank>
          System Type: SAP_R3
          Logon Method:  UIDPW
          User Mapping Type: admin,user
          ICM Host: myr3.mydomain.com:8000
          ICM Protocol: http
          ICM URL prefix: <leave it blank>
          SAP Netweaver AS Description: <leave it blank>
    All other fileds are leave it as default value
    I also assign a group to have "read" and "user" permission to this system
    Also assign Alias to the system.
    I also create a user belong to the group, assign his system mapping an ECC user ID & PWD to it.
    I tested the System alias, it is working (both WEB AS  test, and R3 test)
    Then I try to create an iView on EP, under a PCD folder , new->iview->iview from remote source. A wizard show up. Then I can select the ECC alias just created, and provide * as application search criteria, and then select "WEB DYNPRO ABAP" as the application type. Then "GO"
    as I mentioned, it always show "Nothing Found. Check your search crieteria"
    But I'm sure the web dynpro applications are activated on R3.
    OK, that's it, please help this one. Thanks
    IF YOU DID MAKE IT WORK ON YOUR NW 7.3, PLEASE DROP A LINE HERE SO I KNOW IT IS MY OWN PROBLEM !!!
    Edited by: Wilson KU on Nov 14, 2011 10:42 AM
    Edited by: Wilson KU on Nov 14, 2011 10:46 AM

    Thanks for the reply,
    [About Backend]
    I feel confident about the backend R3 system because I can use the WAS URL to access the sample WD4A application, for example, I can bring up the wd4a application ui in my browser. It is purely browser and R3 stuff, no EP involved.
    http://soeprdev.mydomain.com:8000/sap/bc/webdynpro/bobf/demo_sales_order?sap-client=600&sap-language=ZF
    I also already activate all nodes and sub-nodes (in SICF Services) under /sap/bc/webdynpro as well as /sap/public/bc/webdynpro. (and some other nodes to make icon and include work)
    [About the system object in EP]
    I have done all kind of test on the system object (alias):
    1. In EP System Administration -> Landscape Configuration, I select the system object, click "Test Connection", It shows me a Check mark, and the detail message is SOE_DEV_600 connection
    2. Edit the System object, then click on "Connection Tests" page, I see two lines there, check both and click test, here is the result:
    SAP Web AS Connection:
    : Test Details:
    The test consists of the following steps:
    1. Check the validity of the system ID in the system object
    2. Check if the system can be retrieved
    3. Check if the system object has a valid system alias
    4. Check if an SAP system is defined in the system object
    5. Validate the following parameters: Web AS protocol; Web AS hostname
    6. Checks if the host name of the server can be resolved.
    7. Pings the Web AS Ping service (works only if the service is activated on the Web AS, and only on ABAP Web AS)
    8. Check HTTP/S connectivity to the defined back-end application
    Results
    1. The system ID is valid
    2. System retrieved successfully
    3. Retrieval of the default alias was successful
    4. The system object represents an SAP system
    5. The following parameters are valid: ICM Protocol (http) ICM Host Name (soeprdev.mydomain.com:8000)
    6. The host name (soeprdev.mydomain.com) was resolved successfully
    7. The Web AS ping service http://soeprdev.mydomain.com:8000/sap/bc/ping was pinged successfully
    8. An HTTP/S connection to http://soeprdev.mydomain.com:8000 was obtained successfully.
    Connection Test for Connectors:
    : Test Details:
    The test consists of the following steps:
    1. Retrieve the default alias of the system
    2. Check the connection to the back-end application using the connector defined in this system object
    Results
    Default alias retrieved successfully
    Connection successful

  • Web Dynpro Java to Web Dynpro ABAP

    Hi all,
    I am a web dynpro java developer with more than 3 years of portal development experience.
    I am now put into a project with web dynpro ABAP(ESS/MSS customization).
    Would like to know whether I should start concentrating more on ABAP or SAP HR?
    I dont have any ABAP programming exp except that attended a training few years back.
    And on SAP HR,dont have much exp except that have some knowledge on ESS customization in dynpro java.
    Please let me know where I should start to get myself refreshed before starting my work.
    Any advice/docs are invited.
    Also,please let me know whether there is any NWDI required for ESS/MSS customization in webdynpro ABAP.
    Thanks
    Meena

    Hi Meena,
    As you have good experience of Web Dynpro JAVA.
    I think you just need to comcentrate on ABAP skills.
    You need not concentrate on SAP HR as ur work is technical your functional guys will take care of HR module and will help you.
    For starting i would suggest you to just go through the basics of ABAP like Work areas , internal tables etc.
    Then start doing some WD ABAP hands on.
    My scenario is similar.
    I am a portal and WD JAVA person and this is my first WD ABAP assignment.
    I followed the above approach.
    You will find many concepts similar to WD JAVA as this is just the ABAP flavour of Web Dynpro.
    The below link will help you a lot
    [WD ABAP HELP|http://help.sap.com/saphelp_nw04s/helpdata/en/43/1f6442a3d9e72ce10000000a1550b0/frameset.htm]
    I hope it helps.   

  • Problem with Table display in Adobe Form of Web Dynpro ABAP

    Hi Team,
    I'm trying to display a table in Adobe Print Form (not interactive). The table is bound to the context node in the Web Dynpro ABAP where the cardinality is 0:N. I get a short dump. Don't know what to do here. I'm able to display individual fields from my context successfully. Looks like something is missing when I try to display a table. Any pointers to display a data table in Adobe? Any step by step example you know of where I can find out what I did wrong? Many thanks for your time
    We are on support pack SP06 on 2004S release.
    DUMP INFORMATION:
    Short text                                                               
        Access via 'NULL' object reference not possible.                 
    What happened?                                                           
        Error in the ABAP Application Program  The current ABAP program "CL_WD_ADOBE_SERVICES==========CP" had to be terminated because it has come across a statement that unfortunately cannot be executed.
    An exception occurred that is explained in detail below.                    
    The exception, which is assigned to class 'CX_SY_REF_IS_INITIAL', was not caught in procedure "CREATE_PDF" "(METHOD)", nor was it propagated by a RAISING clause.

    Hi Thomas,
    We upgraded our system(2004S) to SP10 so that we can use the ADOBE form printing in Web Dynpro ABAP but could not apply note 1034425 because of the validity constraints in SNOTE. All the pre-requisite notes are already in the system apart from one note 1029721 which talks about supporting input helps. We don't want to use input helps in our system and cannot upgrade to SP11 because of problems with Business functionality.
    Questions:
    1) Is note 1034425 absolutely dependent on 1029721?
    2) If NOT, can someone please correct the validity so that we can implement using SNOTE.
    3) Would it be OK if we manually apply the changes specified in 1034425 without implementing 1029721?
    4) If all of the above is not applicable, is there any other note which fixes the above mentioned short dump.
    Your help in this matter will greatly help us in using the ADOBE services provided by SAP WDA.
    Thanks much

  • Reading Dynamic Table Values in interactive form (web Dynpro ABAP)

    Hi All,
    I have created a Web Dynpro ABAP application which contains an Interactive Form, That Adobe Interactive Form contains Dynamic table (New rows can be added manually and deleted using a button).
    I am not able to read the Dynamic table values in Web Dynpro u201COn Submitu201D.
    In the Adobe form I have web Dynpro native button (I am using ZCI), while clicking the native button I need to read the dynamic table values.
    How can I resolve this problem.
    Thanks and Regards,
    Boopathi M

    that means, when u add the table instance at runtime, you will also have to add an element to the node that is bound to the table.
    probably addNew() mathos may be useful to you.
    it appends a new record to the record set.
    xfa.sourceSet.dataConnectionName.addNew()
    also when on the exit event of the table field, do the following:
    var i = xfa.parent.index
    $record.rootnodename.tablenodename.data<i>.fieldname = $.rawValue
    xfa.host.messageBox($record.rootnodename.tablenodename.data<i>.fieldname)

  • Web Dynpro ABAP call transaction in the foreground

    In Screen Painter/SAP ALV, we can create a screen where for example if you double click on a sales order field it can take you a VA03 transaction by :
    call transaction VA03 ... and skip first screen.
    I am creating Web Dynpro ABAP application that needs to do the same thing where if we click on the field, it will take to VA03 transaction or other transactions.
    Has anyone done this in Web Dynpro ABAP? I have done some research and determine that we cannot call transaction in the foreground? I hope I am wrong.  Any help/insights will be greatly appreciated.

    Hi Phong,
    WDA is generic client to Netweaver connection based on HTTP/S.
    At this stage on a few clients are supported. WEB dynpro client and Browsers...
    SAPGUI connects to SAP using a different protocol.
    No SAPGUI connection is implied by a WDA client connection.
    Therefore  abap statements that invoke screens and otherwise assume SAPGUI
    is connected are not supported in WDA.   eg call screen, call transaction
    You can either
                         a) build your own WDC to front end calls to BAPIs to get the Sales order data.
                        b) open/ exit to the new WDC for Sales Orders in ERP2005
                              see LORD_MAINTAIN_COMP
                           c) exit to the INTERNAL ITS URL for transaction VA03 
                               eg http://<host>:<port>/sap/bc/gui/sap/its/webgui?~Transaction=VA03
                              but getting the skip first screen may require you to call custom tran ZVA03
                               which calls VA03 to skip first screen setting the PID appropriately.
    Hopefully you opt for option a) or b).
    c) can work... I have used it from BSPs but it not pretty.
    regards
    Phil

  • Ajax/Javascript in Web dynpro ABAP

    Hi,
    I need your help in figuring out what artefacts of web dynpro ABAP could help me resolve a problem.
    In a Web dynpro abap application, we have a button that redirects a user to an external site. Some of our users can go to this site from their computer and some others can't because they are not allowed. I would like to be able to show the button only to the users that have the right to execute this navigation.
    In order to do that, I need to embed some script in my web dynpro application that will test if the URL of this application sends back an HTTP/200.
    With the latest versions of Web Dynpro ABAP, is it possible to embed javascript of ajax? How can it be done?
    If not, what could I use to base the visibility of my button on a validation that has to run on the users's browser?
    Thank you very much for your help!
    Renaud

    Another way it could be done creating a custom ztransaction (abap report) performing a PING to the ip server , reading log txt,  saving if the user is authorized or not , and redirecting to the Abap Web Dynpro.
    Then On wddoinit select zztable for authorization.
    But i don't know if this solution will work for you (ping specific port 80? or other requirements)
    DATA: workdir TYPE string,
          path_log TYPE string,
          parameter TYPE string.
    TYPES: BEGIN OF tylog,
         line(1000),
      END OF tylog.
    DATA: t_log TYPE TABLE OF tylog,
          v_log LIKE LINE OF t_log.
      DATA:  appl_name TYPE string,
                abs_url TYPE string.
    START-OF-SELECTION.
      CALL METHOD cl_gui_frontend_services=>get_sapgui_workdir
        CHANGING
          sapworkdir = workdir.
      CONCATENATE '/C ping google.it >' workdir
      INTO parameter SEPARATED BY space. "example google
      CONCATENATE parameter '\pinglog.txt' INTO parameter.
      CALL METHOD cl_gui_frontend_services=>execute
         EXPORTING
    *    document               =
           application            = 'CMD'
           parameter              = parameter
           synchronous            = 'X'.
      CONCATENATE workdir  '\pinglog.txt' INTO path_log.
      CALL FUNCTION 'GUI_UPLOAD'
        EXPORTING
          filename                      = path_log
          filetype                      = 'ASC'
        TABLES
          data_tab                      = t_log.
      LOOP AT t_log INTO v_log WHERE LINE CS 'Lost = 0'.
        EXIT.
      ENDLOOP.
    if sy-subrc = 0. "ping ok
    zzping-uname = sy-uname.
       zzping-authorized = 'X'.
    else.
      zzping-uname = sy-uname.
      zzping-authorized = ' '.
      endif.
       INSERT ZZPING.
    **construct web dynpro url and call browser
      cl_wd_utilities=>construct_wd_url( EXPORTING application_name = appl_name
                                                                 IMPORTING out_absolute_url = abs_url ).
    CALL FUNCTION 'CALL_BROWSER'
      EXPORTING
        URL                          = abs_url.
    Edited by: alessandro spadoni on Mar 24, 2011 10:09 PM
    Edited by: alessandro spadoni on Mar 24, 2011 10:31 PM

  • Modification of Web Dynpro ABAP ESS application

    Hi,
    I'm familiar with the modification process of ESS Web Dynpro Java applications using NWDI. However I have to adda button a view in the "Create Expense Report" iView which is a Web Dynpro ABAP application from ERP 6 Ehp3. On the click of this button a pdf report should be shown. The Web Dynpro ABAP application is FITE_EXPENSES.
    Can anyone tell me what is the process for modifying ESS WD ABAP code? Do I copy and create a new application and then modify?
    I'm not getting any documentation on this on SDN or SAP Help.
    Regards

    hi,
    ->You dont have to copy and create new application.
    -> You can use Enhancement Framework Technology.
    -> Look out for Blogs by Thomas Weiss. They are very useful.
    -> Easiest way out to create new button would be as :
         -> Put your application in display mode.
         -> There is button for Enhancement in the tool bar (Spiral shaped).
         -> Press that button and create a new enhancement.
        -> Now add any UI Element you want to add.
         -> In Enhancement Framework we do have some Post Exit and Pre Exit Methods.
        -> Some Enhancement Points are already given by Standard SAP.
       -> You can write the logic there and activate the Enhancement.
    Check out this link for basic idea about enhancement.
    http://help.sap.com/saphelp_nw04s/helpdata/en/0e/4d3e42fc94aa04e10000000a1550b0/frameset.htm
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/9cd334f3-0a01-0010-d884-f56120039915
    I hope above links will be helpful.
    Thanx.

  • Attachement Details (GOS) in Web Dynpro (ABAP)

    I posted this question in the Web Dynpro ABAP forum and got no response, so I'm moving it here:
    We are developing a Web Dynpro application to display PO attachment details (PDF file etc).
    In the corresponding R3 application, we use FMs ARCHIVE_GET_CONNECTIONS and ARCHIV_DISPLAY_LIST_2. They work perfectly.
    The Web Dynpro application uses both FMs but one of them returns an error "Screen output without connection to user". This is returned from FM K_KKB_LIST_DISPLAY which is trying to popup a screen.
    So we would like to know if we are going about this correctly or if we should be using different FMs.
    Thanks for any insight you can provide.
    Rob
    Edited by: Rob Burbank on Aug 21, 2008 2:29 PM

    Have you checked the fm  ALINK_DOCUMENTS_DISPLAY
    This is program documentation found in the initial source of function module
    * Description:
    * Display a single document using one of the following ways of
    * communication:
    * - display via CMOD SALIN001
    * - display via ArchiveLink_internal exit
    * - Wingui
    *    - OLE automation
    *    - display URL document via OLE start (only HTTP interface)
    *    - HTML - Control (only HTTP interface)
    *    - separate Browserwindow (only HTTP interface)
    *    - EAI  - Control (only HTTP interface)
    *    - Mix scenario: first get the document on the client PC, second
    *      display local file
    *    - R/3 (printlists)
    * - HTML-GUI
    *    - HTML - Control (only HTTP interface)
    *    - separate Browserwindow (only HTTP interface)
    *    - R/3 (printlists)
    *  - Platinum GUI
    *    - R/3 (printlists)
    *    - not supported for other documents
    PS : CL_GOS* class will not work in WebDynpro, i think these are using control framework.
    May this will help you out.

  • How to display an status Icon in Table UI web dynpro ABAP?

    Hi Experts ,
    How to display an status Icon ( Traffic light ) in Table UI web dynpro ABAP? can somebody tell with a coding example. also I need to update status on condition so whats the best way?
    Thanks in advance.
    Regards,

    Hi Laeeq,
    click on table cntrol n place it on the screen..
    now click on the icon button n place it in the table control area.. a column of icons get created. name it (say) ICON.
    in the PBO..
    loop at internal table and call module in the loop (say) .
    MODULE ICON_DISP.
    now in the module try the foll code :
    module icon_display output.
    check some condition and assign the icon to the variable icon_r
      icon_R = 'ICON_GREEN_LIGHT'.
      CALL FUNCTION 'ICON_CREATE'
        EXPORTING
          name                        = ICON_R
        TEXT                        = ' '
        INFO                        = ' '
        ADD_STDINF                  = 'X'
       IMPORTING
         RESULT                      = ICON
      EXCEPTIONS
        ICON_NOT_FOUND              = 1
        OUTPUTFIELD_TOO_SHORT       = 2
        OTHERS                      = 3
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      endmodule.
    where icon(35) and icon_r(35) type c .
    hope this helps u..
    Regards
    Aparna

  • How to put dynamic search help in web dynpro ABAP.

    Hi,
    I have a table element with two columns in my web dynpro ABAP.Both the columns are F4 helps.
    Based on the value of the first column,the F4 help of second column must change dynamically.Kindly tell me how to do this.
    Thanks & Regards,
    Raji.

    Hi ,
    Use this code to dynamically assign search help and to deactivate search helps.
    data lo_nd_info type if_wd_context_node_info.
    lo_nd_info = lo_nd->get_node_info( ).
    CALL METHOD lo_nd_info->set_attribute_value_help
    EXPORTING
    name = 'ATTR1' " Your attribute Name
    value_help_mode = '121' " Valid value help mode
    value_help = 'Z187442'. " Search help name
    The various possible values that you can pass to value_help_mode are as shown below.
    deactivated 101
    automatic 111
    ddic 121
    ovs 131

Maybe you are looking for

  • Text wrap not working properly CS4

    Despite trying numerous times over last few days, reviewing multiple tutorials to make sure I know what I'm doing, I simply cannot get the text wrap options to work properly. In SOME instances (not all ... why?!?) I can select text wrap, but when I t

  • How can I check for the existence of an XML file in Illustrator Javascript??

    I'm writing a Javascript to run at startup. I want to check for the existence of XML files and process them, if they are available. How can I check for their existence?

  • Best practice for viewing short home videos on AppleTV?

    Please help me find a simple way to view short home videos taken on a digital video camera, photo camera or cell phone on my Apple TV. I've been using AppleTV to showcase my photos for a couple months now, but all the short little videos I take along

  • How to check File size of a Text file.

    How to check File size of a Text file. please explain me. I am new in LabVIEW. and dont have much idea on this...; Prashant Soni LabVIEW Engineer Solved! Go to Solution.

  • 11I - PO DOCUMENT APPROVAL MANAGER FAIL 시의 기능 개선 사항.

    제품 : MFG_PO 작성날짜 : 2004-11-29 11I - PO DOCUMENT APPROVAL MANAGER FAIL 시의 기능 개선 사항. ==================================================== PURPOSE PO Document Approval Manager Fail 시의 기능 개선 사항에 대한 검토. Explanation PO 를 승인하였으나 Status 가 In-Processs 인 경우가 발