WD_CONTEXT AND IF_WD_CONTEXT_NODE

Hi folks,
           Am very new to Abap objects and working on webdynpro.I have a very basic question what is wd_context and if_wd_context_node.Please let me know what is the use of them.
Regards,
Vamshi.

Hi Vamshi,
IF_WD_CONTEXT_NODE is the reference interface of Context node, which is having so many methods for context node and attribute operations like  BIND_ELEMENTS, BIND_STRUCTURE, GET_ATTRIBUTE etc.
The WD_CONTEXT attribute is a reference to the root node of the context of the controller.
See the below code, it will differentiate the two concepts.
method INVALIDATE_TABLE_NODE . 
data: TABLE_NODE type ref to IF_WD_CONTEXT_NODE.
TABLE_NODE = WD_CONTEXT->GET_CHILD_NODE( 'MY_TABLE_NODE' ).
TABLE_NODE->INVALIDATE( ).
endmethod.
Regards,
Simi A M

Similar Messages

  • Declaring and accessing custom global attributes of component controller

    Hi,
    I want to declare some global attributes for Component Controller and initialize them in WdDoInit() method.
    I have declared them under Component Controller --> Attributes tab --> after wd_context and wd_this (say G_MESSAGE).
    However,  when I am trying to set them in wdDoInit() method, I get compilation error saying G_MYMESSAGE is unknown and its not defined using data statement.
    How do I access these attributes?
    Thanks and regards,
    Amey

    Hello Amey,
    You need to access the variable by "wd_this->g_mymessage"
    Since wd_this attribute in each controller refers to interface of local controller. you could read the description of that attribute in attribute tab.
    Regards
    Anurag Chopra

  • Wd_this, wd_contex

    Dear Folks,
    I am very new to wd abap, ple give the difference of
    WD_THIS
    WD_CONTEXT
    WD_COMP_CONTROLLER attributes.
    Thanks & Regards,
    sri

    Reference Variable WD_CONTEXT
    WD_CONTEXT
    Attribute WD_CONTEXT is a reference to the controller context. Regardless of the edited
    controller, it is always a reference variable of the type IF_WD_CONTEXT_NODE [page 859].
    You can use WD_CONTEXT and the interface methods to edit the content of a context node
    in your controller method.
    Example:
    The controller context contains the node MY_TABLE_NODE. You can use the method
    INVALIDATE_TABLE_NODE to invalidate the values of the node elements.
    method INVALIDATE_TABLE_NODE .
    data: TABLE_NODE type ref to IF_WD_CONTEXT_NODE.
    TABLE_NODE = WD_CONTEXT->GET_CHILD_NODE( 'MY_TABLE_NODE' ).
    TABLE_NODE->INVALIDATE( ).
    endmethod.
    Each controller contains a local interface which can be accessed in the controller.
    The controller attribute WD_THIS is a reference to this local interface. Depending on the
    controller, a reference variable is of the following type:
    ● IF_COMPONENTCONTROLLER
    &#9679; IF_<MY_CUSTOM_CONTROLLER>
    &#9679; IF_<MY_VIEW>
    &#9679; IF_<MY_WINDOW>
    Attribute WD_COMP_CONTROLLER of the View Controller
    In most cases, it is useful to declare the usage of the component controller for a view
    controller. The development environment has therefore predefined this step. In addition, each
    view controller already contains the attribute WD_COMP_CONTROLLER, which is a
    reference variable of the type IG_COMPONENTCONTROLLER. In each view controller, you
    can use the attribute WD_COMP_CONTROLLER to access all publicly accessible methods of
    the component-global generated interface of the corresponding component controller.

  • Webdynpro help required..!

    Hi Gurus,
    I am new to webdynpro and learning the same through sample exercises available..
    I am familiar with abap oops..
    Could some one provide me with links where i can get to know the oops coding wrt to webdynpro.
    For Eg: 
    node_node_alv = wd_context->get_child_node( name = if_input_view=>wdctx_node_alv )
    In the above case get_child_node refers to what.?
    Best Regards,
    Navin fernandes

    Hi Navin,
    Each controller method automatically recognizes the reference to the root node of its associated context. This reference is called WD_CONTEXT and is always of the type IF_WD_CONTEXT_NODE. The  GET_CHILD_NODE method now enables the generation of a reference to the required subnodes. Try going through this [pdf|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/60730016-dbba-2a10-8f96-9754a865b814]to get a clear idea about how you can work with context nodes & attributes.
    Say suppose in your context you have a context node by name SFLIGHT then in order to get its reference you say as:
    wd_node = wd_context->get_child_node( name = 'SFLIGHT' ).
    Or else you can make use of the corresponding constant created in the interface and say as:
    wd_node = wd_context->get_child_node( name = if_input_view=>wdctx_sflight ).
    Please note that in the above case my views name is input_view because of which I have got the if_input_view=>wdctx_sflight. If my views name were MAIN then it would have been like if_main=>wdctx_sflight.
    Regards,
    Uday

  • I am trying to save a DMS File through File upload UI element to CV01n Transactions....It works fine for .TXT file but other files it is not downloading coorectly and file is getting damaged

    Hi, I am downloading DMS file using following code and the file contents are getting damaged and cannot be retieved back. I am also getting hard time to open a DMS file in seperate browser.
    Can anybody please help me.
      TYPES : BEGIN OF ty_ts_raw_line,
    *                 line TYPE sdokcntbin ,
                line(2550) TYPE x,
               END OF ty_ts_raw_line.
      DATA: ls_documentdata TYPE bapi_doc_draw2,
            lv_doctype TYPE   bapi_doc_aux-doctype,
            lv_docnumber TYPE bapi_doc_aux-docnumber,
            lv_documentpart TYPE bapi_doc_aux-docpart,
            lv_documentversion TYPE bapi_doc_aux-docversion,
            ls_return TYPE bapiret2,
            gt_bapi_doc_files2 TYPE TABLE OF bapi_doc_files2,
            gs_bapi_doc_files2 LIKE LINE OF gt_bapi_doc_files2,
            lo_nd_nd_cost_rate TYPE REF TO if_wd_context_node,
            lt_nd_cost_rate TYPE wd_this->elements_nd_cost_rate,
            ls_nd_cost_rate TYPE wd_this->element_nd_cost_rate,
            lv_string TYPE string,
            lv_temp TYPE string,
            lv_input_file_name TYPE string,
            lv_size TYPE i ,
            lt_bindata TYPE STANDARD TABLE OF ty_ts_raw_line,"  STANDARD TABLE  OF zst_ts_raw_line,
            ls_bindata TYPE  sdokcntbin,
            ls_drao TYPE drao,
            lt_drao TYPE TABLE OF drao,
            lt_files TYPE cvapi_tbl_doc_files,
            ls_files TYPE cvapi_doc_file,
            ls_api_ctrl TYPE cvapi_api_control,
            ls_message TYPE messages,
            lv_dappl TYPE draw-dappl,
            lv_filename TYPE char200,
            lv_filename_draw_filep TYPE draw-filep,
            lv_doc_succ TYPE c,
            lv_tabix TYPE sy-tabix,
            lv_char_tabix(5) TYPE c,
    * get message manager
            lo_api_controller     TYPE REF TO if_wd_controller,
            lo_message_manager    TYPE REF TO if_wd_message_manager,
            lv_text TYPE string,
            lt_tabix TYPE STANDARD TABLE OF sytabix,
            lv_api_ctrl TYPE cvapi_api_control VALUE 'CV01N',
            lv_documentnumber TYPE draw-doknr,
            lt_drat TYPE TABLE OF dms_db_drat,
            ls_drat TYPE dms_db_drat.
      CONSTANTS: lc_cst(3) TYPE c VALUE 'CST',
                 lc_000(3) TYPE c VALUE '000',
                 lc_00(2) TYPE c VALUE '00',
                 lc_zng_test(8) TYPE c VALUE  'ZNG-TEST',
                 lc_desc(11)  TYPE c VALUE 'Cost Rate',
                 lc_test(4)  TYPE c VALUE 'Test',
    *             lc_file_path(31) TYPE c VALUE 'C:\FAKEPATH\COST_RATE_TABLE.TXT',
                 lc_x TYPE c VALUE 'X',
                 lc_blank TYPE c VALUE '',
                 lc_nd(2) TYPE c VALUE '&1'.
      FIELD-SYMBOLS <ls_wd_assist_mt_input> LIKE LINE OF wd_assist->mt_input.
      lo_api_controller ?= wd_this->wd_get_api( ).
      CALL METHOD lo_api_controller->get_message_manager
        RECEIVING
          message_manager = lo_message_manager.
    * navigate from <CONTEXT> to <ND_COST_RATE> via lead selection
      lo_nd_nd_cost_rate = wd_context->get_child_node( name = wd_this->wdctx_nd_cost_rate ).
    * @TODO handle non existant child
      IF lo_nd_nd_cost_rate IS NOT INITIAL.
        lo_nd_nd_cost_rate->get_static_attributes_table( IMPORTING table = lt_nd_cost_rate ).
      ENDIF.
      ls_documentdata-documenttype = lc_cst.
      ls_documentdata-documentnumber = lc_cst.
      ls_documentdata-documentversion = lc_00.
      ls_documentdata-documentpart  = lc_000.
      ls_documentdata-description  = lc_desc.
    *  ls_documentdata-
    *  ls_drat-dktxt = lc_desc.
    *  append ls_drat to lt_drat.
    *  clear ls_drat.
    *  lv_api_ctrl = 'CV01N'.
      LOOP AT lt_nd_cost_rate INTO ls_nd_cost_rate WHERE row_index IS NOT INITIAL.
        lv_tabix = sy-tabix.
    *           CALL FUNCTION 'CVAPI_DOC_CREATE'
    *         EXPORTING
    *           ps_draw              = ls_documentdata " wa_documentfiles
    *           ps_api_control       = lv_api_ctrl
    *         IMPORTING
    *           psx_message          = ls_message
    *           pfx_doknr            = lv_documentnumber.
    **         TABLES
    **           pt_drat_x            = it_drat.
        CALL FUNCTION 'BAPI_DOCUMENT_CREATE2'
          EXPORTING
            documentdata    = ls_documentdata
            defaultclass    = 'X'
          IMPORTING
            documenttype    = lv_doctype
            documentnumber  = lv_docnumber
            documentpart    = lv_documentpart
            documentversion = lv_documentversion
            return          = ls_return.
        IF ls_return-type CA 'EA'.
          ROLLBACK WORK.
        ELSE.
          COMMIT WORK.
        ENDIF.
        LOOP AT wd_assist->mt_input ASSIGNING <ls_wd_assist_mt_input> WHERE row_index = ls_nd_cost_rate-row_index.
          CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
            EXPORTING
              buffer        = <ls_wd_assist_mt_input>-file_data
            IMPORTING
              output_length = lv_size
            TABLES
              binary_tab    = lt_bindata.
          lv_filename_draw_filep = <ls_wd_assist_mt_input>-filename.
          WHILE lv_filename_draw_filep CA '\'.
            SPLIT lv_filename_draw_filep AT '\'
            INTO lv_temp lv_filename_draw_filep.
          ENDWHILE.
          LOOP AT lt_bindata INTO ls_bindata.
            CLEAR ls_drao.
            ls_drao-orblk = ls_bindata-line.
            ls_drao-orln = lv_size.
            ls_drao-dokar = lv_doctype.
            ls_drao-doknr = lv_docnumber.
            ls_drao-dokvr = lv_documentversion.
            ls_drao-doktl = lv_documentpart.
            ls_drao-appnr = '1'.
            APPEND ls_drao TO lt_drao.
            CLEAR ls_drao.
          ENDLOOP.
          CONDENSE lv_input_file_name.
    *      lv_input_file_name = 'Test.txt'.
          CALL FUNCTION 'CV120_DOC_GET_APPL'
            EXPORTING
              pf_file   = lv_filename_draw_filep
            IMPORTING
              pfx_dappl = lv_dappl.
          ls_files-appnr = '1'.
          ls_files-dappl = lv_dappl.
          ls_files-filename = lv_filename_draw_filep.
          ls_files-updateflag = 'I'.
          ls_files-langu = sy-langu.
          ls_files-storage_cat = 'SAP-SYSTEM'.
          ls_files-description = lv_filename_draw_filep..
          APPEND ls_files TO lt_files.
          CLEAR ls_files.
          ls_api_ctrl-tcode = 'CV01N'.
          CALL FUNCTION 'CVAPI_DOC_CHECKIN'
            EXPORTING
              pf_dokar           = lv_doctype
              pf_doknr           = lv_docnumber
              pf_dokvr           = lv_documentversion
              pf_doktl           = lv_documentpart
              ps_api_control     = ls_api_ctrl
              pf_content_provide = 'TBL'
              pf_http_dest       = 'SAPHTTPA'
              pf_ftp_dest        = 'SAPFTPA'
            IMPORTING
              psx_message        = ls_message
            TABLES
              pt_files_x         = lt_files
              pt_content         = lt_drao.
          IF ls_message-msg_type CA 'EA'.
            lv_doc_succ = lc_blank.
          ELSE.
            COMMIT WORK.
            lv_doc_succ = lc_x.
            CLEAR lv_text .
            lv_text = <ls_wd_assist_mt_input>-comments.
          ENDIF.
          CLEAR: ls_api_ctrl,ls_message,lt_files[],lt_drao[].
        ENDLOOP.
        IF lv_doc_succ = lc_x.
          ls_nd_cost_rate-dokar = lv_doctype.
          ls_nd_cost_rate-doknr = lv_docnumber.
          ls_nd_cost_rate-doktl = lv_documentpart.
          ls_nd_cost_rate-dokvr = lv_documentversion.
          ls_nd_cost_rate-comments = lv_text.
          MODIFY lt_nd_cost_rate FROM ls_nd_cost_rate INDEX lv_tabix TRANSPORTING dokar doknr doktl dokvr comments.
        ELSE.
          APPEND lv_tabix TO lt_tabix.
        ENDIF.
        CLEAR ls_nd_cost_rate.
      ENDLOOP.
    I am also having hardtime to show DMS file on browser.

    Hi I've done DMS Creation like below code. Just check it .
          LS_DOC-DOCUMENTTYPE    = LW_DMS_APP-DOCUMENTTYPE.
          LS_DOC-DOCUMENTVERSION = LW_DMS_APP-DOCUMENTVERSION.
          LS_DOC-DOCUMENTPART    = LW_DMS_APP-DOCUMENTPART.
          LS_DOC-STATUSEXTERN    = LW_DMS_APP-STATUSEXTERN.
          LS_DOC-LABORATORY      = '  '.
    CONCATENATE WD_THIS->LW_REQ-BUKRS LS_DMS-REQ_NO LS_DMS-CR_YR INTO LW_OBJKEY SEPARATED BY '\'.
          LW_DRAD-OBJECTKEY = LW_OBJKEY.
          LW_DRAD-OBJECTTYPE = 'ZAPR_REQ'.
          APPEND LW_DRAD TO LT_DRAD.
          LW_DRAT-LANGUAGE = SY-LANGU.
          LW_DRAT-DESCRIPTION = LS_STRIPPEDNAME.
          APPEND LW_DRAT TO LT_DRAT.
          CALL FUNCTION 'BAPI_DOCUMENT_CREATE2'
            EXPORTING
              DOCUMENTDATA         = LS_DOC
            IMPORTING
              DOCUMENTTYPE         = LF_DOCTYPE
              DOCUMENTNUMBER       = LF_DOCNUMBER
              DOCUMENTPART         = LF_DOCPART
              DOCUMENTVERSION      = LF_DOCVERSION
              RETURN               = LS_RETURN
            TABLES
              DOCUMENTDESCRIPTIONS = LT_DRAT
              OBJECTLINKS          = LT_DRAD.
    *--------Creating DMS Document Using BAPI-----------------*
          IF LS_RETURN-TYPE NA 'EA'.
            CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
              EXPORTING
                WAIT = 'X'.
          LS_DRAW-DOKAR = LW_DMS_APP-DOCUMENTTYPE.
          LS_DRAW-DOKVR = LW_DMS_APP-DOCUMENTVERSION.
          LS_DRAW-DOKTL = LW_DMS_APP-DOCUMENTPART.
          LS_DRAW-DWNAM = SY-UNAME.
          LS_DRAW-DOKST = LW_DMS_APP-STATUSEXTERN.
          LV_STORAGE_CAT = LW_DMS_APP-STORAGECATEGORY.
          LS_API_CONTROL-TCODE = 'CV01N'.
          IF LF_DOCNUMBER IS NOT INITIAL.
            CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
              EXPORTING
                BUFFER        = LS_DMS_FILE-FILE_CTGRY
              IMPORTING
                OUTPUT_LENGTH = LV_SIZE
              TABLES
                BINARY_TAB    = LT_BINDATA.
            LOOP AT LT_BINDATA INTO LS_BINDATA.
              CLEAR LS_DRAO.
              LS_DRAO-ORBLK = LS_BINDATA-LINE.
              LS_DRAO-ORLN  = LV_SIZE.
              LS_DRAO-DOKAR = LS_DRAW-DOKAR.
              LS_DRAO-DOKNR = LF_DOCNUMBER.
              LS_DRAO-DOKVR = LS_DRAW-DOKVR.
              LS_DRAO-DOKTL = LS_DRAW-DOKTL.
              LS_DRAO-APPNR = '1'.
              APPEND LS_DRAO TO LT_DRAO.
            ENDLOOP.
            CALL FUNCTION 'CV120_DOC_GET_APPL'
              EXPORTING
                PF_FILE   = LS_STRIPPEDNAME
              IMPORTING
                PFX_DAPPL = LS_FILES-DAPPL.
            LS_DRAW-FILEP = LS_STRIPPEDNAME.
            LS_DRAW-DAPPL = LS_FILES-DAPPL.
            LS_FILES-APPNR = '1'.
            LS_FILES-FILENAME = LS_STRIPPEDNAME.
            LS_FILES-UPDATEFLAG = 'I'.
            LS_FILES-LANGU = SY-LANGU.
            LS_FILES-STORAGE_CAT = LW_DMS_APP-STORAGECATEGORY. "'ZDMS_DI'.
            LS_FILES-DESCRIPTION = LS_STRIPPEDNAME.
            APPEND LS_FILES TO LT_FILES.
            CALL FUNCTION 'CVAPI_DOC_CHECKIN'
              EXPORTING
                PF_DOKAR           = LS_DRAW-DOKAR
                PF_DOKNR           = LF_DOCNUMBER
                PF_DOKVR           = LS_DRAW-DOKVR
                PF_DOKTL           = LS_DRAW-DOKTL
                PS_API_CONTROL     = LS_API_CONTROL
                PF_CONTENT_PROVIDE = 'TBL'
              IMPORTING
                PSX_MESSAGE        = LS_MESSAGE
              TABLES
                PT_FILES_X         = LT_FILES
                PT_CONTENT         = LT_DRAO.
            IF NOT LS_MESSAGE-MSG_TYPE CA 'EA' AND
                   LF_DOCNUMBER IS NOT INITIAL.
              CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
           ENDIF.
    Regards,
    Jack.  

  • How to extract data from an interactive adobe form and update SAP database

    Hi ,
    I want to create an Interactive Adobe Form with two text fields and a submit button.On click of submit data entered in the text fields should be stored in a ZTable.
    Please let me know the procedure for doing this in ABAP.
    Thanks,
    Prasuna.

    Hi ,
    pls have a look at the link below...
    [http://www.adobe.com/devnet/livecycle/articles/lc_designer_schema_tip.pdf]
    if u r using abap web dynpro application for calling the adobe form than on the CLICK Action of the button give the code :
    zdept is the interface name ..
    method ONACTIONCLICK .
      data:
        Node_Adobe       type ref to If_Wd_Context_Node,
        Node_Zdept       type ref to If_Wd_Context_Node,
        Elem_Zdept       type ref to If_Wd_Context_Element,
        Stru_Zdept       type If_Main_View=>Element_Zdept .
      data wa_zdept type zdept.
    * navigate from <CONTEXT> to <ADOBE> via lead selection
      Node_Adobe = wd_Context->get_Child_Node( Name = IF_MAIN_VIEW=>wdctx_Adobe ).
    * navigate from <ADOBE> to <ZDEPT> via lead selection
      Node_Zdept = Node_Adobe->get_Child_Node( Name = IF_MAIN_VIEW=>wdctx_Zdept ).
    * get element via lead selection
      Elem_Zdept = Node_Zdept->get_Element(  ).
    * get all declared attributes
      Elem_Zdept->get_Static_Attributes(
        importing
          Static_Attributes = Stru_Zdept ).
      wa_zdept-DEPTNO = Stru_Zdept-deptno.
      wa_zdept-DNAME = Stru_Zdept-dname.
      wa_zdept-LOC   = Stru_Zdept-loc.
      insert into zdept values wa_zdept.
    endmethod.
    Hope this helps  !!!
    best of luck !!
    Regards
    Ravi

  • How to read a table and transfer the data into an internal table?

    Hello,
    I try to read all the data from a table (all attribute values from a node) and to write these data into an internal table. Any idea how to do this?
    Thanks for any help.

    Hi,
    Check this code.
    Here i creates context one node i.e  flights and attributes are from SFLIGHT table.
    DATA: lo_nd_flights TYPE REF TO if_wd_context_node,
            lo_el_flights TYPE REF TO if_wd_context_element,
            ls_flights TYPE if_main=>element_flights,
            it_flights type if_main=>elements_flights.
    navigate from <CONTEXT> to <FLIGHTS> via lead selection
      lo_nd_flights = wd_context->get_child_node( 'FLIGHTS' ).
    CALL METHOD LO_ND_FLIGHTS->GET_STATIC_ATTRIBUTES_TABLE
      IMPORTING
        TABLE  = it_flights.
    now the table data will be in internal table it_flights.

  • Usage of update-bapi and getdetail-bapi within one view

    Hello,
    i'm a student and i'm new to webdynpro and abap. Im trying to get data through a bapi into some screens and want to update some of these inputfields back through an update-bapi.
    I get all the needed data by a getdetails-bapi  and can show the data within binded inputfields, but how could i get the infos about which field was changed and how could i implement an update through the update-bapi?
    It is possible, that a view with two inputfileds gets the data through the getdetails-bapi and after a change in this fields there will be an update through a update-bapi, after pushing a button?
    Could you give me an example code, or could you explane me a way for implementing these?
    Thanks for your help!
    John

    Hi John,
    changes made at Contexts are stored in a table WDR_CONTEXT_CHANGE_LIST. So you can retrieve the old and new values from the table.
    Please follow the below steps :
    1. Create a context node (Ex:Changes) with dict.str wdr_context_change.
    2. Then create one subnode under Changes ex(details) with two attributes old_value and new_value with the type of string.
    3. Then write the below code at any button action.
    DATA: l_ref_componentcontroller TYPE REF TO ig_componentcontroller .
        DATA: l_changes                 TYPE        wdr_context_change_list,
              l_subnode                 type ref to if_wd_context_node,
              l_subnodedata             type if_USERLOG=>element_details.
        field-symbols: <change> type wdr_context_change,
                       <new>    type data,
                       <old>    type data.
        l_ref_componentcontroller =   wd_this->get_componentcontroller_ctr( ).
        l_changes = l_ref_componentcontroller->get_changes( ).
        data: l_node type ref to if_wd_context_node.
        l_node = wd_context->get_child_node( 'CHANGES' ).
        l_node->bind_table( l_changes ).
        loop at l_changes assigning <change>.
          if <change>-old_value is not initial and <change>-new_value is not initial.
            l_subnode = l_node->get_child_node( index = sy-tabix name = 'DETAILS' ).
            assign <change>-new_value->* to <new>.
            assign <change>-old_value->* to <old>.
    *        l_subnodedata-new_value_string = cl_wdr_conversion_utils=>to_string( value = <new> ).
    *        l_subnodedata-old_value_string = cl_wdr_conversion_utils=>to_string( value = <old> ).
             l_subnodedata-new_value_string = <new>.
            l_subnodedata-old_value_string = <old>.
    *        l_subnodedata-new_value_string = 'AC'.
    *        l_subnodedata-old_value_string = 'CD'.
            l_subnode->bind_structure( l_subnodedata ).
           endif.
          endloop.
    So now your context has the changed records.
    Thanks.

  • Dynamic creation of context nodes and ui elements

    Hi,
    I have created context nodes dynamically. And i also want to create UI elements dynamically wherein i want to bind the attribute from the context node to it. For example i want to create a drop down by index and bind one of the attributes in the context nodes that i have earlier created dynamically to it.  I do not know how to get the path to the attribute as i get IF_WD_CONTEXTNODE_INFO when i say get_child_node(). And the IF_WD_CONTEXTNODE_INFO does not have any method where in i can get IF_WD_CONTEXT_NODE from where i can get the path by get_meta_path( )
    Here is the code. The problem is to get the path which is the i/p to cl_wd_dropdown_by_idx=>new_dropdown_by_idx( ) method.
    DATA:
            lo_root_ui_elmnt              TYPE REF TO cl_wd_uielement_container,
            lo_drpdwn_by_idx              TYPE REF TO cl_wd_dropdown_by_idx,
            lo_txt_vw                     TYPE REF TO cl_wd_text_view,
            lo_qstn_node                  TYPE REF TO if_wd_context_node,
            lo_optn_node_info             TYPE REF TO if_wd_context_node_info,
            lv_optn_data_source_name      TYPE string,
            lt_child_nodes                TYPE wdr_context_child_map,
            lo_qstn_el                    TYPE REF TO if_wd_context_element,
            lo_optn_el                    TYPE REF TO if_wd_context_element,
            lv_text                       TYPE string,
            lo_qstn_node_info             TYPE REF TO if_wd_context_node_info.
      FIELD-SYMBOLS:
    *                 <ls_qstn>    LIKE LINE OF wd_this->mt_questions.
                    <ls_child_node>         LIKE LINE OF lt_child_nodes.
      lo_root_ui_elmnt ?= io_view->get_root_element( ).
      lt_child_nodes = wd_context->get_child_nodes( ).
    LOOP AT lt_child_nodes ASSIGNING <ls_child_node>.
       lo_qstn_node = <ls_child_node>-node.
        lo_qstn_el = lo_qstn_node->get_element( index = 1 ).
        lo_qstn_el->get_attribute(
              EXPORTING
                name = 'QUESTION_TEXT'
               IMPORTING
                 value = lv_text ).
        lo_txt_vw =   cl_wd_text_view=>new_text_view( view = io_view ).
        lo_txt_vw->set_text( value = lv_text  ).
        lo_qstn_node_info = lo_qstn_node->get_node_info( ).
        lo_optn_node_info = lo_qstn_node_info->get_child_node( 'OPTIONS' ).
    *    lv_optn_data_source_name = lo_optn_node_info->get_meta_path( withoutcontroller = abap_true ).
    *    CONCATENATE lv_optn_data_source_name '.' 'OPTION_TEXT' INTO lv_optn_data_source_name.
        lo_drpdwn_by_idx = cl_wd_dropdown_by_idx=>new_dropdown_by_idx(
                              bind_texts = lv_optn_data_source_name
                              view       = io_view ).
        lo_root_ui_elmnt->add_child( lo_txt_vw ).
        lo_root_ui_elmnt->add_child( lo_drpdwn_by_idx ).
      ENDLOOP.
    Regards,
    Madhura Lobo
    Edited by: Suhas Saha on Aug 2, 2011 11:04 AM

    Hi Madhura,
    Please check this thread and find Baskaran answer...
    create new child-node in supply-function
    Re: Creating Dynamic Node and Table
    Cheers,
    Kris.

  • How to create and use a node globally  as well as internal table

    HI,
    Kindly let me know how can I create a node & internal table globally and which I can use them in various methods in view and controller as well, if u can provide an example it could be very help full.
    my requirment is uploading a multiple files in wdp ABAP for this I just followd the link below
    http://wiki.sdn.sap.com/wiki/display/WDABAP/UploadandDownloadfilesinWebdynproABAP
    which for single upload and for making this for multiple upload I need a node could be usefull globally or a IT please check my code below
    DATA lo_nd_n_upload TYPE REF TO if_wd_context_node.
        DATA lo_el_n_upload TYPE REF TO if_wd_context_element.
        DATA ls_n_upload TYPE wd_this->element_n_upload.
        DATA lo_nd_n_file_download TYPE REF TO if_wd_context_node.
        DATA lt_n_file_download TYPE wd_this->elements_n_file_download.
        data ls_file_upload TYPE ZFILE_UPLOAD1.
       ZFILE_UPLOAD_1 = wd_componentcontroller->Elements_ZFILE_UPLOAD_1.
         t_file_upload = ig_componentcontroller->ITAB1.
       t_file_upload = wd_this->zfile_upload1.
       navigate from <CONTEXT> to <N_FILE_DOWNLOAD> via lead selection
         lo_nd_n_file_download = wd_context->get_child_node( name = wd_this->wdctx_n_file_download ).
      navigate from <CONTEXT> to <N_UPLOAD> via lead selection
        lo_nd_n_upload = wd_context->get_child_node( name = wd_this->wdctx_n_upload ).
      get element via lead selection
        lo_el_n_upload = lo_nd_n_upload->get_element( ).
      @TODO handle not set lead selection
        IF lo_el_n_upload IS not INITIAL.
      get all declared attributes
        lo_el_n_upload->get_static_attributes(
          IMPORTING
            static_attributes = ls_n_upload ).
    ls_n_upload will contain the File name file type and file contents *
       ls_n_upload-file_size = xstrlen( ls_n_upload-file_content ).
       ls_file_upload-FILE_NAME = ls_n_upload-FILE_NAME.
       ls_file_upload-FILE_TYPE = ls_n_upload-FILE_TYPE.
       ls_file_upload-FILE_SIZE = ls_n_upload-FILE_SIZE.
       ls_file_upload-FILE_CONTENTS = ls_n_upload-FILE_CONTENT.
       append ls_file_upload to t_file_upload.
       clear ls_file_upload.
    lo_nd_n_file_download->bind_table( new_items = t_file_upload set_initial_elements = abap_true ). 
    ENDIF.
    so here I would like use t_file_upload(node or IT ) to use globaly which can keep the previous data and I can add the existing data and in another method I would like to submit the data in t_file_upload to table
    Regards
    raj

    Hi Chandra,
    Resloved, I createa table type in SE11 by giving my table name as a line type and I used that as a Global IT in view "attributes" tab and I made the my code as follows its working now
        DATA lo_nd_n_upload TYPE REF TO if_wd_context_node.
        DATA lo_el_n_upload TYPE REF TO if_wd_context_element.
        DATA ls_n_upload TYPE wd_this->element_n_upload.
        DATA lo_nd_n_file_download TYPE REF TO if_wd_context_node.
        DATA lt_n_file_download TYPE wd_this->elements_n_file_download.
        data ls_file_upload TYPE ZFILE_UPLOAD1.
        data t_file_upload TYPE standard table of ZFILE_UPLOAD1.
       navigate from <CONTEXT> to <N_FILE_DOWNLOAD> via lead selection
         lo_nd_n_file_download = wd_context->get_child_node( name = wd_this->wdctx_n_file_download ).
      navigate from <CONTEXT> to <N_UPLOAD> via lead selection
        lo_nd_n_upload = wd_context->get_child_node( name = wd_this->wdctx_n_upload ).
      get element via lead selection
        lo_el_n_upload = lo_nd_n_upload->get_element( ).
      @TODO handle not set lead selection
        IF lo_el_n_upload IS not INITIAL.
      get all declared attributes
        lo_el_n_upload->get_static_attributes(
          IMPORTING
            static_attributes = ls_n_upload ).
    ls_n_upload will contain the File name file type and file contents *
       ls_n_upload-file_size = xstrlen( ls_n_upload-file_content ).
       ls_file_upload-FILE_NAME = ls_n_upload-FILE_NAME.
       ls_file_upload-FILE_TYPE = ls_n_upload-FILE_TYPE.
       ls_file_upload-FILE_SIZE = ls_n_upload-FILE_SIZE.
       ls_file_upload-FILE_CONTENTS = ls_n_upload-FILE_CONTENT.
       append ls_file_upload to ME->wd_this->gt_file_upload .
       clear ls_file_upload.
    lo_nd_n_file_download->bind_table( ME->wd_this->gt_file_upload ).
       endif.
    thanks for the support.
    Regards
    Raj

  • Upload and display Word Document in WD application

    Hello,
    I have a WD ABAP appl. where the user wants to upload an Word / Excel file (from its own local drive).
    The document shall be saved in SAP and it shall also be possible to display the document later in the WD application.
    I implemented the UI element upload in the view, to determine the path of the document.
    For the display implemented the UI element Office control.
    1. When i browse the document, the properties data, filename and mime type are filled into the bound context elements of the upload UI.
    2. The property datasource of the UI office control I bound to the same context element, that is also bound to the property data of the upload UI.
    The office control opens a word document, but the document is empty.
    Is it possible that the document is not uploaded correct?
    In another application I did an upload for a PDF doc.. There I implemented the following coding as action of the button 'Upload'.
    data lo_nd_pdf type ref to if_wd_context_node.
    data lo_el_pdf type ref to if_wd_context_element.
    data ls_pdf type wd_this->element_pdf.
    data lv_pdf like ls_pdf-pdf.
    navigate from <CONTEXT> to <PDF> via lead selection
    lo_nd_pdf = wd_context->get_child_node( name = wd_this->wdctx_pdf ).
    get element via lead selection
    lo_el_pdf = lo_nd_pdf->get_element( ).
    get single attribute
    lo_el_pdf->get_attribute(
    exporting
    name = `PDF`
    importing
    value = lv_pdf ).
    Get a reference to the from processing class.
    data: l_fp type ref to if_fp.
    l_fp = cl_fp=>get_reference( ).
    Get a reference to the PDF Object class.
    data: l_pdfobj type ref to if_fp_pdf_object.
    l_pdfobj = l_fp->create_pdf_object( ).
    set the pdf in the PDF Object
    l_pdfobj->set_document( pdfdata = lv_pdf ).
    set the PDF Object to extract data the Form data.
    l_pdfobj->set_extractdata( ).
    execute call to ADS
    l_pdfobj->execute( ).
    get the PDF Form data
    data: pdf_form_data type xstring.
    l_pdfobj->get_data(
    importing
    formdata = pdf_form_data ).
    convert the xstring from data to string so it can be processed using the iXML classes
    data: converter type ref to cl_abap_conv_in_ce,
    formxml type string.
    converter = cl_abap_conv_in_ce=>create( input = pdf_form_data ).
    converter->read(
    importing
    data = formxml ).
    pull in the iXML type group.
    type-pools: ixml.
    get a reference to iXML object
    data:l_ixml type ref to if_ixml.
    l_ixml = cl_ixml=>create( ).
    get iStream object from StreamFactory
    data: streamfactory type ref to if_ixml_stream_factory,
    istream type ref to if_ixml_istream.
    streamfactory = l_ixml->create_stream_factory( ).
    istream = streamfactory->create_istream_string( formxml ).
    create an XML document class that will be used to process the XML
    data: document type ref to if_ixml_document.
    document = l_ixml->create_document( ).
    create the parser class
    data: parser type ref to if_ixml_parser.
    parser = l_ixml->create_parser( stream_factory = streamfactory
    istream = istream
    document = document ).
    parse the XML
    parser->parse( ).
    define XML Node type object
    data: node type ref to if_ixml_node,
    attributes type ref to if_ixml_named_node_map.
    get the psi sales data Node and value.
    data ls_psi_sales type wd_this->element_psi_sales.
    data: lt_dfies type table of dfies,
    ls_defies type dfies.
    call function 'DDIF_NAMETAB_GET'
    exporting
    tabname = 'ZCM_PSI_SALES'
    ALL_TYPES = ' '
    LFIELDNAME = ' '
    GROUP_NAMES = ' '
    UCLEN =
    IMPORTING
    X030L_WA =
    DTELINFO_WA =
    TTYPINFO_WA =
    DDOBJTYPE =
    DFIES_WA =
    LINES_DESCR =
    tables
    X031L_TAB =
    dfies_tab = lt_dfies
    exceptions
    not_found = 1
    others = 2
    if sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    endif.
    data: lv_fieldname type string.
    field-symbols <fs_field> type any.
    loop at lt_dfies into ls_defies.
    lv_fieldname = ls_defies-fieldname.
    node = document->find_from_name( name = lv_fieldname ).
    assign component lv_fieldname
    of structure ls_psi_sales
    to <fs_field>.
    if <fs_field> is assigned.
    <fs_field> = node->get_value( ).
    endif.
    endloop.
    WRITE DATA INTO CONTEXT
    data lo_nd_psi_sales type ref to if_wd_context_node.
    data lo_el_psi_sales type ref to if_wd_context_element.
    navigate from <CONTEXT> to <PSI_SALES> via lead selection
    lo_nd_psi_sales = wd_context->get_child_node( name = wd_this->wdctx_psi_sales ).
    get element via lead selection
    lo_el_psi_sales = lo_nd_psi_sales->get_element( ).
    set all declared attributes
    lo_el_psi_sales->set_static_attributes(
    exporting
    static_attributes = ls_psi_sales ).
    Do I need such a code also to upload a word doc?
    Which interface / class exists for word documents? (for PDF upload there is the interface IF_FP)
    How can I save a document in SAP? (as MIME Object?  with which method?)
    I hope someone can help me!?
    BR

    You can use the fileupload and filedownload uielements.
    Check these links:
    [File Upload|http://help.sap.com/saphelp_nw70ehp1/helpdata/en/b3/be7941601b1d09e10000000a155106/content.htm]
    [File Download|http://help.sap.com/saphelp_nw70ehp1/helpdata/en/09/a5884121a41c09e10000000a155106/content.htm]
    When you upload a file and save in SAP, are you saving it as xstring.
    If yes follow these steps for filedownload.
    Follow these steps for file download:
    1 Create FileDownload uielement in your View
    2.Create an Attribute of type xstring.
    3.Bind this attribute to the data property of your Filedownload uielement.
    4. during fileuplaod as you are saving the document in xstring format, fetch the same from your database table and pass the value to filedownload i.e set the attribute bound to data property of filedownload uielement with the xstring content.

  • At new and At last Concept

    Hi All,
    Is their any Possibilities to use AT LAST and AT NEW Concepts in WebDynpro ABAP.
    Plz Give me the solution with an Example
    Regards,
    Vimalraj

    Hi  Vimalraj,
    yes you can use at new and at last as you would use in normal abap....
    lets say i have a context node called: TABLE_NODE
    and this node has two attributes, name: field1 and field2.... field1 is of type char and field2 is of type p.
    table_node
    >field1
    >field2
    and a context node called : TOTAL with an attribute "VALUE".  value is of type p.
    total
    >value
    now i am interested in doing the sum for field2 and display that sum on my view....the ui element which is bound to my node "total"  attribute "value".  And also i am only interested in the sum of field value "A"...pls see code below.
    so here is the code:
    DATA lo_nd_table_node TYPE REF TO if_wd_context_node.
      DATA lo_el_table_node TYPE REF TO if_wd_context_element.
      DATA ls_table_node TYPE wd_this->element_table_node.
      DATA lt_table_node TYPE wd_this->elements_table_node.
    navigate from <CONTEXT> to <TABLE_NODE> via lead selection
      lo_nd_table_node = wd_context->get_child_node( name = wd_this->wdctx_table_node ).
      lo_nd_table_node->get_static_attributes_table(
      IMPORTING
      table = lt_table_node ).
      ls_table_node-field1 = 'A'.
      ls_table_node-field2 = '1.0'.
      APPEND ls_table_node TO lt_table_node.
      ls_table_node-field1 = 'A'.
      ls_table_node-field2 = '2.0'.
      APPEND ls_table_node TO lt_table_node.
      ls_table_node-field1 = 'B'.
      ls_table_node-field2 = '5.0'.
      APPEND ls_table_node TO lt_table_node.
      ls_table_node-field1 = 'B'.
      ls_table_node-field2 = '2.0'.
      APPEND ls_table_node TO lt_table_node.
      DATA lo_nd_total TYPE REF TO if_wd_context_node.
      DATA lo_el_total TYPE REF TO if_wd_context_element.
      DATA ls_total TYPE wd_this->element_total.
      DATA lv_value LIKE ls_total-value.
    navigate from <CONTEXT> to <TOTAL> via lead selection
      lo_nd_total = wd_context->get_child_node( name = wd_this->wdctx_total ).
    get element via lead selection
      lo_el_total = lo_nd_total->get_element(  ).
    get single attribute
      lo_el_total->get_attribute(
        EXPORTING
          name =  `VALUE`
        IMPORTING
          value = lv_value ).
      LOOP AT lt_table_node INTO ls_table_node.
        AT NEW field1.
          SUM.
          IF ls_table_node-field1 = 'A'.
            lv_value = ls_table_node-field2.   "at this point lv_value will be 3...
          ENDIF.
        ENDAT.
        lo_nd_table_node->bind_table( lt_table_node ).
      ENDLOOP.
    get single attribute
      lo_el_total->set_attribute(
        EXPORTING
          name =  `VALUE`
          value = lv_value ).
    that is all....similarly we can use at last.....
    hope this helps...
    J.
    Edited by: J Are on Feb 22, 2009 6:49 PM

  • I have a table with info and would like to select an item from that table

    Hi
    I have a table with info (course info that I searched for) and would like to select an item from that table to use for further use in my application.
    It must work more or less like the tree structure where I can use an On Action select.
    In other words; let say I am looking for all courses with "Advisor" it its descriptin / name, I want to click on one of the names and use it lets say to book people on.
    Could some please assist me with this.
    Regards
    Debbie

    Hi
    The datasource for my table is the node searchcatalog.  Under this node there is an attribute calles description where the items found are displayed.
    I changed my code as follow:
    data: ls_table type wd_This->Elements_searchcatalog,
          lr_element type ref to if_wd_context_element.
      DATA lo_nd_searchcatalog TYPE REF TO if_wd_context_node.
      DATA lo_el_searchcatalog TYPE REF TO if_wd_context_element.
      DATA ls_searchcatalog TYPE wd_this->element_searchcatalog.
    navigate from <CONTEXT> to <SEARCHCATALOG> via lead selection
      lo_nd_searchcatalog = wd_context->get_child_node( name = wd_this->wdctx_searchcatalog ).
    @TODO handle not set lead selection
      IF lo_nd_searchcatalog IS INITIAL.
      ENDIF.
    get element via lead selection
      lo_el_searchcatalog = lo_nd_searchcatalog->get_element(  ).
    @TODO handle not set lead selection
      IF lo_el_searchcatalog IS INITIAL.
      ENDIF.
    get all declared attributes
      lo_el_searchcatalog->get_static_attributes(
        IMPORTING
          static_attributes = ls_searchcatalog ).
    lo_nd_searchcatalog->get_lead_selection->( exporting index = wdevent->index importing
    element = lr_element ).
    lr_element->get_static_attributes->( importing static_attributes = ls_table ).
    wd_context->set_attribute( exporting name = 'SELECTED' value = ls_table-description ).
    When I try to activate it errors with: List elements that take up more than one line is not allowed.  This error at the sentence: lo_el_searchcatalog->get_static_attributes(
    If you cannot assist me further I will understand.  Thank you.

  • Get and Set data in context

    Hello Everyone,
    I am new to Webdynpro ABAP world. I have got a requirement where I need to get data from a value node "Document" created by me and Assign the values to three different nodes during runtime on Action of a Button. My context structure is as follows. Please help me by giving some code for my requirement. I would appreciate your help.
    Context Structure----
    Context
    ---DocumentHeader(Model Node)
    ---AccountGL(Model Node)
    ---AccountPayable(Model Node)
    ---CurrencyAmount(Model Node)
    ---Document(Value Node)
    AMT_DOCCUR(Value Attribute)
    Costcenter(Value Attribute)
    GL_Account(Value Attribute)
    Header_Txt(Value Attribute)
    Ref_Doc_No(Value Attribute)
    Vendor_No(Value Attribute)
    The "Document" node is bound to a Table in "Main_Document" view and the document table is filled with data during runtime. I want to get the values of the attributes from Document node and assign them to other Model nodes that are bound to a BAPI.
    Please help me with some code to acheive this requirement. I would appreciate your help.
    I hope you can understand my requirement. Please do let me know if my explanation is not clear and I will try to explain in more detail.
    Regards,
    Gopal.

    ---AccountGL(Model Node) - table lt_accountgl should be   bound to this.
    ---AccountPayable(Model Node)- lt_account_payaable
    ---CurrencyAmount(Model Node)-lt_cuurency_amt
    As per your code, read the above nodes and bind the tables to respective nodes.
    method ONACTIONPOSTDOCUMENT .
      DATA lo_nd_document TYPE REF TO if_wd_context_node.
      DATA lt_documents TYPE wd_this->elements_document.
      DATA lo_nd_accountgl TYPE REF TO if_wd_context_node.
    *   navigate from <CONTEXT> to <DOCUMENT> via lead selection
      lo_nd_document = wd_context->get_child_node( name = wd_this->wdctx_document ).
      lo_nd_accountgl = wd_context->get_child_node( name = wd_this->wdctx_accountgl ).---acountGL node
    * get the contents of  the document node in an internal table
      lo_nd_document->get_static_attributes_table(  importing table = lt_documents ).
      Data: ls_documentheader type BAPIACHE09,
            lt_accountpayable type table of BAPIACAP09,
            ls_accountpayable type BAPIACAP09,
            lt_accountGL type table of BAPIACGL09,
            ls_accountGL type BAPIACGL09,
            lt_currencyamount type table of BAPIACCR09,
            ls_currencyamount type BAPIACCR09.
      loop at lt_documents into ls_documents.
    * header data
        ls_documentheader-HEADER_TXT = ls_documents-HEADER_TXT.
        ls_documentheader-Ref_Doc_No = ls_documents-Ref_Doc_No.
    * accounts payable data
        ls_accountpayable-vendor_no = ls_documents-vendor_no.
        append ls_accountpayable to lt_accountpayable.
    * account GL data
        ls_accountGL-GL_Account = ls_documents-GL_Account.
        ls_accountGL-Costcenter = ls_documents-Costcenter.
        append ls_accountGL to lt_accountGL.
    lo_nd_accountgl->bind_table( lt_accountgl ).  -----------Similarly do for other 2 nodes.
    Currency items
        ls_currencyamount-AMT_DOCCUR = ls_documents-feildname
        append ls_currencyamount to lt_currencyamount.
        clear append ls_currencyamount.
        ls_currencyamount-AMT_DOCCUR = ls_documents-feildname * -1.
        append ls_currencyamount to lt_currencyamount.
        DATA lo_COMPONENTCONTROLLER TYPE REF TO IG_COMPONENTCONTROLLER .
        lo_COMPONENTCONTROLLER =   wd_this->get_componentcontroller_ctr( ).
        lo_componentcontroller->execute_bapi_acc_document_post(
        DATA lo_COMPONENTCONTROLLER TYPE REF TO IG_COMPONENTCONTROLLER .
        lo_COMPONENTCONTROLLER =   wd_this->get_componentcontroller_ctr( ).
        lo_componentcontroller->execute_bapi_transaction_commi(
    Refresh all the tables before the next recoed
        refresh: lt_accountpayable,lt_accountpayable.
        clear:ls_documentheader,ls_accountpayable,ls_accountpayable.
      endloop.
    endmethod
    Edited by: Lekha on Sep 2, 2009 2:34 PM

  • How to display text in colour and arrange radiobuttons in sequence

    Hi all,
    according to my requirement  the screen should be appear like this Rate Caregory in green colour
    under this Select Action should be displayed in blue colour
    under this three radiobuttons should be displayed like this sequence
    copy  Massupload  Automated Rate Processing if copy radiobutton is selected remaining should be disabled.
    but for me the radiobuttons are displaying one by one i have to display it in the above sequence manner.
    kindly send me the steps how to achieve this functionality.
    Thanks & Regards,
    Naveen

    data nodeinf type ref to if_wd_context_node_info.
    data node type ref to if_wd_context_node.
    node = wd_context->get_child_node( 'ZRADIO' ). "ZRADIO is the node name
    nodeinf = node->get_node_info( ).
    data lt_vs type table of WDR_CONTEXT_ATTR_VALUE.
    data ls_vs type WDR_CONTEXT_ATTR_VALUE.
    ls_vs-text = 'Copy'.
    ls_vs-value = '1'.
    append ls_vs to lt_vs.
    You dont need to write this code. just give '1' in the key to select porperty of the radio button.'
    and create on label also for each radio button. three labels for three radio buttons.
    and as you said if i create an attribute name flag type wdy_boolean and if i bind it readonly property of all radiobuttons.suppose if i select copy radiobutton remaining two will be disabled.
    actually it will disable all the three radio buttons.
    but in anycase your requirement is that user should not be able to select the other radio buttons once he has selected one.
    that requirement will be fulfilled by this.
    thanks
    sarbjeet singh

Maybe you are looking for

  • How do I get my data back on the phone after upgrade?

    Say I'm replacing my phone with a 3GS, how does iTunes tie the data it has to the phone, is it by the phone # on the SIM card? I want to make sure all my data, apps etc. gets back on the phone, what process do I need to follow?

  • Sale Order additional data B.

    Hi, I have created 2 z fields in sale order additional data b at item level. but when user is entering any data in that field,same data is getting displayed for all line items. how to control that for particular item for which user has entered. Data

  • [SOLVED] Long prompt delay after issuing a command

    I use VirtualBox to run archlinux. When I issue a command, like ls in a directory with many files, the long outcome on the screen ends relatively fast (2-5 sec) but the command prompt is only available after 20-30 sec. In the meantime, processor is s

  • How to truncate the Table Subpartition ??

    Hi, I have 3 tables on my Oracle 10g database. They are interrelated as 1 --> 2 ---> 3, Table 1 & 2 are composite partiitoned with Partition By Rage and Sub Pratition by list. Now i have to truncate few listed subpartitions i.e Say If Subpartition (

  • 17.1 pencil tool: Is old "option/alt" function still available.

    Ok, the pencil tool has changed. That's great, but what if you really liked the the way it worked before? If I just want to "smooth" out a line a little, I used to hold "option" while tracing the line. AI would reduce the number of anchor point, whil