ABAP Webdynpro Initial setup

HI,
I am doing an ABAP Webdynpro application. Everything is doing fine but not able to see the output. I think some initial setup is required to connect the server or to see the output. Can anybody tell me the setup details.
plz help...............

http://help.sap.com/saphelp_nw04s/helpdata/en/43/e86de5008b4d9ae10000000a155369/content.htm
This will help
give points if useful

Similar Messages

  • Error in CTC for BI Initial Setup for ABAP

    Hi,
    I have freshly installed BIJAVA 7.0 system and now i wanted to connect
    with BW ABAP7.0 system which has been system copied from Qualtiy system.
    While running the CTC template for BI Initial Setup for ABAP i am
    getting following error :
    " Validate Client : BW is already configured for different client. CTC
    can be run only for that client. If BW has to be configured for the
    client entered in 'Client' input field, perform Client copy using
    transaction SCCL before running CTC template. "
    I have used Java UME option during installation.Will it create any
    problem.
    Regard's
    Goldy

    Hi,
    Hope you would have done all the post precessing after system copy.
    Please check what are the entry maintained in the table mentioned below.
    RSPOR_T_PORTAL
    Change the entry in the above table in SM30 in backend  and also check the settings in the portal
    System Administration -> System Landscape-> SAP_BW
    Thanks
    Rishi Abrol

  • How to create a view to display Multiple lines of Text using ABAP WebDynpro

    Hi,
    I need to create a static view page in ABAP WebDynpro that displays Static text data in multiple paragraphs. I tried to use textview, formatted text, text edit controls by binding the textcontrol to a text object that is created in so10, but the output I am getting is only one line and the character count is limited to 60 to 65 characters.
    I would like to know which control needs to be used in ABAP Webdynpro to get multiple lines displayed with text formatting like Paragraph, Indenting and Size.....
    Thanks for your time!
    Madhavi.

    Find the sample codes:
      data sapscript_lines     type tlinetab.
      data sapscript_lines1     type tlinetab.
      data sapscript_tline     type tline.
      data sapscript_head      type thead.
      data text                type string.
      data formatted_text type ref to cl_wd_formatted_text.
      call function 'DOCU_GET'
        EXPORTING
          id                = 'TX'
          langu             = 'D' "Germany language
          object            = 'WDR_TEST_HELP_EXP1'
        IMPORTING
          head              = sapscript_head
        TABLES
          line              = sapscript_lines
        EXCEPTIONS
          no_docu_on_screen = 1
          no_docu_self_def  = 2
          no_docu_temp      = 3
          ret_code          = 4
          others            = 5.
      if sy-subrc <> 0.
        text = space.
      endif.
      formatted_text = cl_wd_formatted_text=>create_from_sapscript(
        sapscript_head  = sapscript_head
        sapscript_lines = sapscript_lines
      " set it into the context
      if Not ( formatted_text is initial ).
        wd_context->set_attribute(
        name  = 'FORMATTED'
        value = formatted_text->m_xml_text ).
      endif.
    clear sapscript_head.
    clear sapscript_lines.
    *Get the text created by SO10
    CALL FUNCTION 'READ_TEXT_INLINE'
      EXPORTING
        ID                    = 'ST'
        INLINE_COUNT          = 1
        LANGUAGE              = 'E' "English language
        NAME                  = '85XX_FOOTER'
        OBJECT                = 'TEXT'
      LOCAL_CAT             = ' '
    IMPORTING
       HEADER                = sapscript_head
      TABLES
        INLINES               = sapscript_lines1
        LINES                 = sapscript_lines
    EXCEPTIONS
      ID                    = 1
      LANGUAGE              = 2
      NAME                  = 3
      NOT_FOUND             = 4
      OBJECT                = 5
      REFERENCE_CHECK       = 6
      OTHERS                = 7
      formatted_text = cl_wd_formatted_text=>create_from_sapscript(
        sapscript_head  = sapscript_head
        sapscript_lines = sapscript_lines
      " set it into the context
      if Not ( formatted_text is initial ).
        wd_context->set_attribute(
        name  = 'FORMATTED1'
        value = formatted_text->m_xml_text ).
      endif.

  • ABAP Webdynpro as callable object to connect MDM Server

    Hi All
    if we want create MDM workflows in portal thru GP then we need to create the callable object initially which will integrate the MDM system thru MDM Apis
    suppose if we choose the option of taking the ABAP webdynpro as callable object then what is the development efforts/Steps to involve for creating the callable objects.
    i hope that we can use the ABAP wendynpro thru MDM ABAP APIs where we can integrate MDM data in ABAP webdynpro application.
    can you please list out what is the Aims from enduser level  and development level.
    Please more details on this??
    Regards
    Suresh babu

    Hi All
    if we want create MDM workflows in portal thru GP then we need to create the callable object initially which will integrate the MDM system thru MDM Apis
    suppose if we choose the option of taking the ABAP webdynpro as callable object then what is the development efforts/Steps to involve for creating the callable objects.
    i hope that we can use the ABAP wendynpro thru MDM ABAP APIs where we can integrate MDM data in ABAP webdynpro application.
    can you please list out what is the Aims from enduser level  and development level.
    Please more details on this??
    Regards
    Suresh babu

  • Error occured while showing adobe form in abap webdynpro application

    Dear SAP-Masters ,
    This is the mail regarding the error occured while showing adobe form in abap webdynpro application .
    When i run the adobe form seperately it works fine but with abap web dynpro , i'll get following error .
    Pls tell me how to resolve this problem .
    The following error text was processed in the system D35 : WebDynpro Exception:
    The error occurred on the application server DV35_D35_00 and in the work process 2 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Method: UPDATE_PDF of program CL_WD_ADOBE_SERVICES==========CP
    Method: CREATE_PDF of program CL_WD_ADOBE_SERVICES==========CP
    Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/LADOBE==================CP
    Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/LADOBE==================CP
    Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/L8STANDARD==============CP
    Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/L8STANDARD==============CP
    Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/L7STANDARD==============CP
    Method: CONV_VIEW_INTO_VE_ADAPTER_TREE of program CL_WDR_INTERNAL_WINDOW_ADAPTERCP
    Method: SET_CONTENT_BY_WINDOW of program CL_WDR_INTERNAL_WINDOW_ADAPTERCP
    Method: RENDER_WINDOWS of program CL_WDR_CLIENT_SSR=============CP

    Hi Arjun ,
                Thanx for ur reply ,
                i got following results in ST22 dump analysis :
    '  An exception occurred that was not caught ' .
            and
    Source Code Extract
    Line
    SourceCde
    79
    x_xml = get_wd_context_as_xml( data_source = data_source ).
    80
    m_pdf_object->set_data( formdata = x_xml ).
    81
    catch cx_fp_exception into lr_fpexc.
    82
    raise exception type cx_wd_general
    83
    exporting
    84
    previous = lr_fpexc.
    85
    endtry.
    86
    if fillable = abap_true.
    87
           if m_version is initial.
    88
             m_version = m_pdf_object->get_version_info( ).
    89
           endif.
    90
           if version < ''.
    91
             set_usage_rights( m_pdf_object ).
    92
           endif.
    93
    endif.
    94
    endif.
    95
    endif.
    96
    97
    only call the ads if requested
    98
    if execute_ads_call = abap_true.
    99
    try.
    100
          set document
    101
    m_pdf_object->set_document( pdfdata = pdf ).
    102
    103
          execute, call ADS
    104
    m_pdf_object->execute( ).
    105
    106
          get result
    107
    m_pdf_object->get_document( importing pdfdata = pdf ).
    108
    catch cx_fp_exception into lr_fpexc.
    >>>>>
    raise exception type cx_wd_general
    110
    exporting
    111
    previous = lr_fpexc.
    112
    endtry.
    113
    endif.
    114
    115
    endmethod. 
    and
    Error analysis
    An exception occurred which is explained in detail below.
    The exception, which is assigned to class 'CX_WD_GENERAL', was not caught and
    therefore caused a runtime error.
    The reason for the exception is:
    WebDynpro Exception:
    The occurrence of the exception is closely related to the occurrence of
    a previous exception "CX_FP_RUNTIME_SYSTEM", which was raised in the program
    "CL_FP_PDF_OBJECT==============CP",
    specifically in line 255 of the (include) program
    "CL_FP_PDF_OBJECT==============CM02Y".
    The cause of the exception was:
    ADS: com.adobe.ProcessingException: PDF is not interactive.  Data can only be
    |    imported into interactive forms.(201501).

  • How to create popup in ABAP webdynpro.

    Hi,
    I found lot of examples to create a popup/ model window for java webdynpro.
    Could anyone give a pointer to an example which explains how to create popup in ABAP webdynpro??
    Kind Regards
    Shahul

    Hi Thomas:
    It worked fine the 1st time. Second time when the user clicks on the button to open up the popup it dumps.
    Here is the code in the action for popup:
    data: l_cmp_api type ref to if_wd_Component,
            l_window_manager type ref to if_wd_window_manager,
            l_api type ref to if_wd_View_controller,
            l_text type string_table.
      l_cmp_api = wd_comp_controller->wd_get_api( ).
      l_window_manager = l_cmp_api->get_window_manager( ).
      if wd_this->m_popup is initial.
        wd_this->m_popup = l_window_manager->create_window(
                 window_name = 'DOCQSOW'
                 button_kind = if_wd_window=>co_buttons_ok
                 message_type = if_wd_window=>co_msg_type_none ).
               component_usage_name = 'DOCQUERY_USAGE_1'
        l_api = wd_this->wd_get_api( ).
        wd_this->m_popup->subscribe_to_button_event(
              button = if_wd_window=>co_button_ok
              button_text = 'Transfer'
              action_name = 'POPUP_CLOSED'
              action_view = l_api  ) .
        wd_this->m_popup->SET_REMOVE_ON_CLOSE( abap_true ).
       endif.
      wd_this->m_popup->open( ).
    Second time when the popup tries to open, I get the following error:
    Method: RENDER_WINDOW of program CL_WDR_WINDOW_RENDERER========CP
    Method: RENDER_WINDOW of program CL_WDR_CLIENT_SSR=============CP
    Method: RENDER_POPUP_WINDOWS of program CL_WDR_CLIENT_SSR=============CP
    Method: RENDER_WINDOWS of program CL_WDR_CLIENT_SSR=============CP
    Method: IF_WDR_RESPONSE_RENDERER~RENDER_VIEWS of program CL_WDR_CLIENT_SSR=============CP
    Method: IF_WDR_RESPONSE_RENDERER~RENDER_USER_INTERFACE_UPDATES of program CL_WDR_CLIENT_SSR=============CP
    Method: IF_WDR_CLIENT~SEND_RESPONSE of program CL_WDR_CLIENT_ABSTRACT_HTTP===CP
    Method: IF_WDR_CLIENT~SEND_RESPONSE of program CL_WDR_CLIENT_SSR=============CP
    Method: EXECUTE of program CL_WDR_MAIN_TASK==============CP
    Method: IF_HTTP_EXTENSION~HANDLE_REQUEST of program CL_WDR_MAIN_TASK==============CP
    Is there a way to destroy the instance of the m_popup?
    Any help is appreciated!
    Thanks

  • Problem in retriving workitem id from uwl in abap webdynpro

    Hello,
    Curently, I've a problem similar with this post : Problem in retriving workitem id from uwl in abap webdynpro
    But unfortunatelly there is no answer :/
    I've followed this tutorial : http://wiki.sdn.sap.com/wiki/display/WDABAP/IntegratingWebDynproABAPapplicationswithUWLforworkflowin+Portal
    And I have a problem in my WD Abap. The WI_ID field is empty (initial).
    Here is my XML :
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE UWLConfiguration PUBLIC '-//SAP//UWL1.0//EN' 'uwl_configuration.dtd'
      >
    <UWLConfiguration version="1.0">
         <ItemTypes>
              <ItemType name="uwl.task.webflow.TS90000087.ED1CLNT100" connector="WebFlowConnector" defaultView="DefaultView" defaultAction="launchWebDynPro" executionMode="default">
                <ItemTypeCriteria systemId="ED1CLNT100" externalType="TS90000087" connector="WebFlowConnector"/>
                <Actions>
                   <Action name="launchWebDynPro" groupAction="" handler="SAPWebDynproABAPLauncher" returnToDetailViewAllowed="yes" launchInNewWindow="yes" launchNewWindowFeatures="resizable=yes,scrollbars=yes,status=yes,toolbar=no,menubar=no,location=no,directories=no">
                     <Properties>
                        <Property name="WebDynproApplication" value="zps_pnpi"/>
                        <Property name="newWindowFeatures" value="resizable=yes,scrollbars=yes,status=yes,toolbar=no,menubar=no,location=no,directories=no"/>
                        <Property name="DynamicParameter" value="WI_ID1=${item.externalId}"/>
                        <Property name="openInNewWindow" value="yes"/>
                        <Property name="WebDynproNamespace" value="sap"/>
                        <Property name="System" value="ED1CLNT100"/>
                        <Property name="display_order_priority" value="5"/>
                     </Properties>
                     <Descriptions default=""/>
                   </Action>
                </Actions>
              </ItemType>
         </ItemTypes>
    </UWLConfiguration>
    Here are the parameter defined in my application :
    WI_ID     000000000000     SWW_WIID
    WI_ID1     ${item.externalId}     STRING
    And, i've made the test with both the WI_ID and the WI_ID1 in the XML but everytime, no value at all.
    Could you please help me ? It's been three days I'm looking for a solution to get my Workitem ID in my Webdynpro ...

    In fact, it's quite strange, I added the menu and toolbar display and I can see that my url contains the data ...
    http://<begin_of_the_url>DynamicParameter=System%3DED1CLNT100%26wi_id%3D000000629442%26WI_ID%3D000000629442%26WI_ID1%3D000000629442<end_of_the_url>
    So ... how is it possible ?
    And the next question, how can I get the full url so I can parse it myself ?

  • PI 7.1 initial setup problem

    Hi,
    While installing PI 7.1 I started the Netweaver initial setup. At step 338 i got an error message as follows:
    "Error: ABAP technical system 'PI7 on nwpi71' not found"
    Any idea how to I can solve this problem.

    Just a quick question... Can you proceed past this step or does your install stop completely if this is not fulfilled?
    The reason I ask is that this should either be done automatically by the install or if not then once the install is finished you have the oppotunity to create the technical and business systems as post config steps...
    RZ70 is the transaction that you use to register the technical system

  • TABLE DATA in PDF FORM  Through ABAP WEBDYNPRO

    Hi Friends,
    I have to Populate  SAP TABLE like MARA,VBRK table into PDF form throught ABAP Webdynpro.
    Can you send STEP by STEP Example Doc.
    Thanks In Advance.
    Gautam.

    Hi,
    To display the Table in the Adobe Form you must create a WebDynpro Context.
    In WebDynpro Context, in the main node create another node like A1 with cardinality 0..n and in this node create attributes FIELD1 and FIELD2 and so on.
    Now goto method and in that method using code wizard read the node A1.
    And use the below code snippet sample in your program, i.e. code this under respective method of the webdynpro.
    *Declare the TYPES
    TYPES : BEGIN OF TY_TABLE,
    FIELD1 TYPE SOMETYPE,
    FIELD2 TYPE SOMETYPE,
    END OF TY_TABLE.
    *Define Internal Table and work area.
    DATA : IT_TABLE TYPE STANDARD TABLE OF TY_TABLE INITIAL SIZE 0.
    SELECT FIELD1 FIELD2 FROM TABLENAME INTO TABLE IT_TABLE.
    lr_node_info->bind_table( IT_TABLE ).
    And now goto Layout and give the TemplateSource and after that it asks for the interface name fill on that and select the relevant context. Now the LiveCycle Designer opens. There goto DataView pallette, there you can see the context of the webdynpro, now you simply drag and drop that table, a table is being created in the Layout Designer.
    Regards
    Pradeep Goli

  • Display Smartform Pdf output in ABAP Webdynpro application

    Hello,
    there is a solution for displaying Smartform output in Java Webdynpro application in this forum. Since i want to start an project in ABAP Webdynpro i need a solution for this technology since i don't want to recreate all the paperwork again using Adobe. Is there any solution available?
    Thanks
    Udo Ahle

    Hello,
    this is the solution which i was able to implement using the hints given by Heidi and Thomas. Thank you for the support. With this solution it is possible to reuse oldstyle sapscripts and smartforms in todays environment.  Here is the sample code which solves the problem:
    In WDA you define for example a pushbutton to start the display of the PDF.
    In the onaction method you implement:
    method ONACTIONSHOW_PDF .
      data LX_pdf type xstring.
    * get PDF from existing sapscript or smatform
      call function 'Y_PDF_GET' destination '46c'
        IMPORTING
          ex_PDF = LX_PDF.
    * append the pdf to the response
      cl_wd_runtime_services=>attach_file_to_response(
        i_filename  = 'Hello.PDF'
        i_content   = lx_pdf
        i_mime_type = 'application/pdf'
        i_in_new_window = 'X'
        i_inplace       = 'X' ).
    endmethod.
    The function 'Y_PDF_GET' is implemented as follows:
    FUNCTION Y_PDF_GET .
    *"*"Local interface:
    *"  EXPORTING
    *"     VALUE(EX_PDF) TYPE  XSTRING
    *"  TABLES
    *"      ET_OTF STRUCTURE  ITCOO OPTIONAL
      data: lf_filesize type i,
            lt_otf type table of ITCOO,
            lt_lines type table of tline,
            tline type tline.
    * start sapscript or smatforms and return
      perform make_otf.
      CALL FUNCTION 'READ_OTF_FROM_MEMORY'
        TABLES
          OTF                = lt_otf
       EXCEPTIONS
         MEMORY_EMPTY       = 1
         OTHERS             = 2
      et_otf[] = lt_otf.
      CALL FUNCTION 'CONVERT_OTF'
       EXPORTING
         FORMAT                      = 'PDF'
    *   MAX_LINEWIDTH               = 132
    *   ARCHIVE_INDEX               = ' '
       IMPORTING
         BIN_FILESIZE                = lf_filesize
        TABLES
          OTF                         = lt_otf
          LINES                       = lt_lines
       EXCEPTIONS
         ERR_MAX_LINEWIDTH           = 1
         ERR_FORMAT                  = 2
         ERR_CONV_NOT_POSSIBLE       = 3
         OTHERS                      = 4
      IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    * convert tline to xstring as needed in
    * in web dynpro            
      field-symbols <X>.
      data: st(268) type c.
      data l1 type i.
      data len type i.
      data maxline type i value 134.
      l1 = 0.
      loop AT lt_lines INTO tline.
        clear st.
        st+l1(maxline) = tline.
        len = maxline + l1.
        l1 = maxline - strlen( tline ).
        ASSIGN st TO <x> TYPE 'X'.
        CONCATENATE ex_pdf <x>(len) INTO ex_pdf.
      endloop.
    ENDFUNCTION.
    The make_otf for sapscript is the following:
    * the next attribute enables the otf output.
    * no other output will be generated
    <b>options-TDGETOTF = 'X'</b>
      CALL FUNCTION 'OPEN_FORM'
           EXPORTING
    *         APPLICATION        = 'TX'
    *         ARCHIVE_INDEX      = ARCHIVE_INDEX
             ARCHIVE_PARAMS     = ARCHIVE_PARAMS
                DEVICE             = DEVICE
                DIALOG             = ' '
                FORM               = FORM
                LANGUAGE           = language
               OPTIONS            = OPTIONS
    *     IMPORTING
    *          LANGUAGE           =
    *          NEW_ARCHIVE_PARAMS =
    *          RESULT             =
           EXCEPTIONS
                CANCELED           = 1
                DEVICE             = 2
                FORM               = 3
                OPTIONS            = 4
                UNCLOSED           = 5
                OTHERS             = 6.
    *... make some write forms
      data lT_OTF     type table of     ITCOO.
    * get the otf data
      CALL FUNCTION 'CLOSE_FORM'
    *     IMPORTING
    *          RESULT   = result
           TABLES
               OTFDATA  = lt_otf
           EXCEPTIONS
                UNOPENED = 1
                OTHERS   = 2.
    * put otf into memory for later usage
      if not lt_otf is initial.
        CALL FUNCTION 'SAVE_OTF_TO_MEMORY'
    * EXPORTING
    *   MEMORY_KEY       = 'DEF_OTF_MEMORY_KEY'
          TABLES
            OTF              = lt_otf.
      endif.
    For Smartforms technology it is possible to implement the same concept.

  • ABAP WebDynpro, Interactive Form, and Repeating Subforms

    Hi Everyone,
    I have a very simple Interactive Form called from ABAP WebDynpro. 
    Main_View Context:
    Node u2013 FORM.
         Cardinality 1..1
         Selection 0..1
         Initialization Lead Selection u2013 X
    Node u2013 SPFLI
         Dictionary Structure - SPFLI
         Cardinality 0..n
         Selection 0..1
         Initialization Lead Selection u2013 X
    Attributes from SPFLI u2013 CARRID and CONNID
    View contains an Interactive Form and a u201CSaveu201D button.
    Form = Z_TABLE_TEST_FORM, Interface = Z_TABLE_TEST_INT u2013 created through forward navigation in Layout so uses XML interface.
    Button u201CSaveu201D has the following code:
    METHOD onactionsave.
      DATA lo_nd_form     TYPE REF TO if_wd_context_node.
      DATA lo_nd_spfli    TYPE REF TO if_wd_context_node.
      DATA lo_el_spfli    TYPE REF TO if_wd_context_element.
      DATA ls_spfli       TYPE wd_this->element_spfli.
      DATA ls_element_set TYPE wdr_context_element_set.
      lo_nd_form = wd_context->get_child_node( name = wd_this->wdctx_form ).
      lo_nd_spfli = lo_nd_form->get_child_node( name = wd_this->wdctx_spfli ).
      ls_element_set = lo_nd_spfli->get_elements(  ).
      IF lo_nd_spfli IS NOT INITIAL.
        lo_el_spfli = lo_nd_spfli->get_element(  ).
        IF lo_el_spfli IS NOT INITIAL.
          lo_el_spfli->get_static_attributes(
            IMPORTING
              static_attributes = ls_spfli ).
        ENDIF.
      ENDIF.
    ENDMETHOD.
    On the Interactive Form, u201CPage1u201D is a main page.  u201CTableParentu201D is a SubForm, flowed layout, in accessibility tab set to u201CTableu201D, and is bound to u201C$record.SPFLIu201D.
    u201CDATAu201D is a SubForm under "TableParent", Positioned layout, in accessibility tab set to u201CBody Rowu201D, and is bound to u201CDATA[*]u201D.
    Carrid and Connid are both Text Fields bound to Carrid and Connid, under "DATA".
    I also added the Insert/Remove/Reposition buttons, but deleted the two reposition buttons.
    The idea was to be able to add 4-5 Carrid/Connid pairs.
    When running this, as configured above, then none of the data entered in the form makes it through to the Elements.  If the context is changed to make the Cardinality 1..n, then a single Element is added u2013 but not the remainder.
    What needs to be done to get this to work?
    Many thanks
    Jack

    Hi Reema,
    None.  For all other fields, they are bound to the context, so the transfer is automatic.
    These repeating fields are also bound to the context, but it appears that an element needs to be created for every repeating form.  How can this be done from the form?
    Cheers
    Jack

  • Workflow to UWL to ABAP WebDynpro ( Binding not happening)

    Hi All,
    I have created Workflow which need to be executed from UWL.
    The workitem in UWL will call a ABAP Web Dynpro application for approval Process.
    I have registered the my Task in SWFVISU and Maintained the necessary settings (Even Re-registered the new task in UWL ).
    When I click the workitem in UWL it successfully calls the ABAP webDynpro application.
    But the Parameter WORKITEM id is not transfered from workflow to Web Dynpro Application.
    I have created a parameter WORKITEMID in the Workflow and populating it at runtime. But the same is not being passed to WebDynpro Import Parameter.
    I see that WORKITEMID is initial at runtime while debugging in WebDynpro Application.
    Can you please help me to bind the WORKITEMID from Workflow to WeBsynpro or from UWL to WebDynpro??
    Thanks
    Praveen

    Hi,
    You have bind the work item id to the task?
    You have added the work item id parameter in SWFVISU?
    Can you show us the UWL XML code for your task?
    Regards,
    Karri

  • ABAP WebDynpro Fields Set Invisible Status

    Hi All,
            I am new to this ABAP WebDynpro programming, i have requirement, based on IF conditions i need to set my fields In-Visible and Visible mode,
    ex:
    IF XXXXXX
    THEN FIELD VISIBLE
    ELSE XXXXXX
    FIELD IN-VISIBLE
    ENDIF.
    Thanks in Advance.
    Thanks and Regards,
    Abhi.

    Hi Jagadish,
                     Thanks for your prompt response, based on your instructions i did like below
    I created F_Visible in Context with type WDY_BOOLEAN and i given default value to X, then i bind this value to my input fields, after the using WebDynpro Code wizrd i called F_Visible attribute, the below one is my code, please correct me if any thing wrong.
    IF(Condition)
       DATA lo_el_context TYPE REF TO if_wd_context_element.
       DATA ls_context TYPE wd_this->Element_context.
       DATA lv_f_visible TYPE wd_this->Element_context-f_visible.
    get element via lead selection
       lo_el_context = wd_context->get_element( ).
    @TODO handle not set lead selection
       IF lo_el_context IS INITIAL.
       ENDIF.
    @TODO fill attribute
    lv_f_visible = 1.
    set single attribute
       lo_el_context->set_attribute(
         name =  `F_VISIBLE`
         value = lv_f_visible ).
    xxxxxxxx
    ELSE
    lv_f_visible = 'X'.
        set single attribute
        lo_el_context->set_attribute(
          name =  `F_VISIBLE`
          value = lv_f_visible ).
    when i was testing my applicaiton i am getting   Access via 'NULL' object reference not possible.
    could you please help on this setting if i did any thing wrong.
    Thanks in Advance.
    Thanks and Regards,
    Abhi Ram.
    Edited by: Abhiram on Oct 30, 2009 3:18 PM

  • Set color alv output cell abap webdynpro

    Hi Guys ,
    i wanted to set the color of some cells in alv output to red in ABAP WebDynpro.
    i am using the salv_wd_table.
    any piece of code is appreciated.
    thanks,
    Bobby.

    Bobby,
    If let's say you are build a ALV table to output 'SFLIGHT' table, and you want PLANETYPE '747-400' to be displayed in green, and PLANETYPE '146-200' displayed in red.
    Also, let's just say, you already had a context node 'SFLIGHT_NODE' that is mapped to the external node 'DATA' of your ALV.
    Now:
    1.  you need to modify the context node 'SFLIGHT_NODE' to add an attribute -- say 'CELL_COLOR' of type 'WDY_UIE_LIBRARY_ENUM_TYPE' -- to the SFLIGHT_NODE (note, you need to delete 'DICTIONARY structure' that is bind to the 'SFLIGHT_NODE' node, otherwise, you will not be able to create addition attributes)
    After, you will have something like this for your context node .
      CONTEXT
        --> SFLIGHT_NODE  
    > CARRID
    > CONNID
    > FLDATE
    > PRICE
    > PLANETYPE
    > <and any other attributes you had pulled from SFLIGHT)
    > CELL_COLOR (TYPE WDY_UIE_LIBRARY_ENUM_TYPE)
    2.  In your supply function to the 'SFLIGHT_NODE', you now need to supply the data to this newly added attribute:
    METHOD supply_sflight_node .
    ** data declaration
      DATA:
        itab_sflight_node            TYPE if_componentcontroller=>elements_sflight_node,
        stru_sflight_node            LIKE LINE OF itab_sflight_node.
    ** read sflight data
      SELECT * FROM sflight INTO CORRESPONDING FIELDS OF TABLE itab_sflight_node.
    ** populate the 'CELL_COLOR' field
      LOOP AT itab_sflight_node INTO stru_sflight_node .
        IF stru_sflight_node-planetype = '747-400'.
          stru_sflight_node-cell_color = CL_WD_TABLE_COLUMN=>E_CELL_DESIGN-GOODVALUE_DARK .
         ELSEIF stru_sflight_node-planetype = '146-200'.
          stru_sflight_node-cell_color = CL_WD_TABLE_COLUMN=>E_CELL_DESIGN-BADVALUE_DARK .  
        ELSE.
          stru_sflight_node-cell_color = CL_WD_TABLE_COLUMN=>E_CELL_DESIGN-STANDARD .
        ENDIF.
        modify itab_sflight_node from stru_sflight_node.
      ENDLOOP.
    ** bind all the elements
      node->bind_table(
        new_items =  itab_sflight_node
        set_initial_elements = abap_true ).
    ENDMETHOD.
    3. Now, you need to obtain the configuration model of the ALV and config it before display.  (say you have an method does this 'init_alv_table_settings', and it is called from your view's wddoinit() method)
    METHOD init_alv_table_settings .
      DATA: l_ref_cmp_usage TYPE REF TO if_wd_component_usage.
      l_ref_cmp_usage =   wd_this->wd_cpuse_alv_table( ).
      IF l_ref_cmp_usage->has_active_component( ) IS INITIAL.
        l_ref_cmp_usage->create_component( ).
      ENDIF.
      DATA: l_ref_interfacecontroller TYPE REF TO iwci_salv_wd_table .
      l_ref_interfacecontroller =   wd_this->wd_cpifc_alv_table( ).
      DATA:
      node_sflight_node                   TYPE REF TO if_wd_context_node .
      node_sflight_node = wd_context->get_child_node( name = if_flights_view=>wdctx_sflight_node ).
      CALL METHOD l_ref_interfacecontroller->set_data
        EXPORTING
          r_node_data = node_sflight_node.
    **  get ConfigurationModel from ALV Component
      DATA:    lr_table TYPE REF TO cl_salv_wd_config_table.
      lr_table = l_ref_interfacecontroller->get_model( ).
    ** change the color of the cell
      DATA: lr_column_settings TYPE REF TO if_salv_wd_column_settings.
      DATA: lr_column TYPE REF TO cl_salv_wd_column.
      lr_column_settings ?= lr_table.
      lr_column = lr_column_settings->get_column( 'PLANETYPE' ).
      DATA: lr_input_field TYPE REF TO cl_salv_wd_uie_input_field.
      CREATE OBJECT lr_input_field EXPORTING value_fieldname = 'PLANETYPE'.
      lr_column->set_cell_editor( lr_input_field ).
      lr_column->set_cell_design_fieldname( value = 'CELL_COLOR' ).
    ENDMETHOD.
    Compile and activate your code.
    Regards,
    Tina Yang
    Message was edited by: Tina Yang

  • Initial Setup Problem - Starting the SLD Registration process

    Hi,
    we are installing our PI development system. During initial configuration with "NWA --> Configuration Management --> Scenarios --> Configuration Wizard --> Netweaver initial setup" the wizard stands still at Step 68 (of 561) "Starting the SLD Registration process".
    We have restarted the system but after starting again the wizard it stands still again.
    Same problem on our PI quality assurance system.
    PI 7.11 on Windows 2008 R2 with MSSQL 2008 R2.
    Steps of installation:
    1) Installation of PI 7.11
    2) Postworks ABAP (License, TMS, Profiles, rz04, ...)
    3) Kernelupdate to 106
    4) Updates SPS7 ABAP
    5) Updates SPS7 JAVA
    6) Run NWA Initial Setup with J2EE_ADMIN
    Could someone help?
    Thanks
    Regards
    Thomas Mühl

    Then possibly the password was set wrong somewhere (since the "-" character is not blocked). Its advisable to check all service users passwords, to prevent other issues like this one to occur. Please check the OSS note "999962 - PI 7.10: Change passwords of PI service users" for more information on this.

Maybe you are looking for

  • Transferring iTunes from One Computer to Another

    I have a laptop (Thinkpad, Windows 2000) issued through work that has my iTunes program and all my songs loaded onto it. I'm leaving this current job and have to turn in my laptop. I understand how to transfer all my songs to removable media, I've al

  • Not syncing after converting videos for ipod

    SOS...I have an elGato eyetv on my mac and I have a few videos captured from it (eyetv) that i intend to put on my iPhone. I read the iPhone manual re videos (chapter 6 ipod) and follewed the instruction on converting so I did the " Converting Videos

  • Connect to HTTPS site

    Hi experts, May I know if there is any tutorial on connecting to a password protected https site with JSSE? The example in the Sun tutorial is too simple. Thanks.

  • Auto increment number field

    Hello, I would like to have a number field to be auto increment. Ho can I do that in Oracle must I use some code for it or can I make the field auto increment by itself. Thanks

  • Album sort processing made easy...... please???

    How can I have my albums sort like when the "songs" tab is selected i.e.( all together) .... under the albums tab all my albums are divided into each song on that album......... = A mess. If all my albums are neatly stacked under songs how can I copy