Context node is empty after upload a pdf

Hi all,
I met a problem:
I did a pdf-upload web dynpro application and when I upload a pdf file into this.
the pdf is shown correctly,but, I just found the node which is bounded with the interactive form is empty.
I search the sdn and found this method:
WDInteractiveFormHelper.transferPDFDataIntoContext.
I put this in my upload action like this:
WDInteractiveFormHelper.transferPDFDataIntoContext(wdContext.currentContextElement().getData(),wdContext.nodePerson());
But after redeploy it,
It has no effect. The node is still empty.
I am confused.  Is there any other solution about this?
Thank you!
Best Regards
delma

Hi Delma,
Have you checked the mapping of the Context Binary Attribute to which PDFSource is mapped for IF is proper?
If you are using 2 views, one for upload and other for Display, then map the PDFSOURCE beetween these 2 views.
For getting the binary data, try with the code below:
               byte[] arrFileBuf = new byte[wdContext.currentContextElement().getPdfSource().length];
               arrFileBuf = wdContext.currentContextElement().getPdfSource();
ArrFileBuf will contain the binary data (your PDF).
Hope this helps!!
Regards,
Arafat

Similar Messages

  • Folio empty after uploaded to folio producer?

    I have created my folio in indesign CS6, then signed in and uploaded this folio to the Folio Producer. Once I go to the DPS Folio Producer: Organizer section and open my folio to view the contents it is empty. I have tried doing this numerous times and is exmpty each time.
    I have watched tutorials and read instructions and I believe I am doing all the correct steps but nothing is working.
    HELP PLEASE!

    I got this offline, assisting directly.

  • Table error - Context Path Cannot Be Resolved (Last Node Is Empty)

    Hi All,
    I am dynamically building up a context node called PoList which is used to hold the contents of a table.
    My BAPI is called and a routine transfers the contents of the BAPI context node across into the POList context node. This is rendered correctly on the screen. There is a routine which filters the results based on a vendor. The code works fine when some records are found but when no records are found, I get the error "Context Path POLIST.EBELN Cannot Be Resolved (Last Node Is Empty) ".
    The cardinality of the PoList node is 0..N. This should mean that 0 records is valid.
    The ABAP which fills the context is pasted below :
    data:
        Node_Z_Bapi_Po_Combined             type ref to If_Wd_Context_Node,
        Node_Changing_Po                    type ref to If_Wd_Context_Node,
        Node_T_Header                       type ref to If_Wd_Context_Node,
        Elem_T_Header                       type ref to If_Wd_Context_Element,
        itab_C_T_Header    type If_Componentcontroller=>Elements_Polist,
       stru_C_T_Header    like line of itab_C_T_Header,
        Stru_T_Header                       type If_Componentcontroller=>Element_T_Header .
      data:
        Node_Polist                         type ref to If_Wd_Context_Node,
        Elem_Polist                         type ref to If_Wd_Context_Element,
        Stru_Polist                         type If_Componentcontroller=>Element_Polist.
      data:
    lri_Element    type ref to if_Wd_Context_Element,
    loa_Elements   type Wdr_Context_Element_Set.
    navigate from <CONTEXT> to <Z_BAPI_PO_COMBINED> via lead selection
      Node_Z_Bapi_Po_Combined = wd_Context->get_Child_Node( Name = IF_COMPONENTCONTROLLER=>wdctx_Z_Bapi_Po_Combined ).
    navigate from <Z_BAPI_PO_COMBINED> to <CHANGING_PO> via lead selection
      Node_Changing_Po = Node_Z_Bapi_Po_Combined->get_Child_Node( Name = IF_COMPONENTCONTROLLER=>wdctx_Changing_Po ).
    navigate from <CHANGING_PO> to <T_HEADER> via lead selection
      Node_T_Header = Node_Changing_Po->get_Child_Node( Name = IF_COMPONENTCONTROLLER=>wdctx_T_Header ).
    navigate from <CONTEXT> to <POLIST> via lead selection
      Node_Polist = wd_Context->get_Child_Node( Name = IF_COMPONENTCONTROLLER=>wdctx_Polist ).
      loa_Elements = node_T_Header->get_Elements( ).
      loop at loa_Elements[] into lri_Element.
        lri_Element->get_Static_Attributes(
          importing Static_Attributes = stru_C_T_Header ).
    Get the vendor number
        if i_lifnr is initial.
          insert  stru_C_T_Header into table itab_C_T_Header[].
        elseif i_lifnr = stru_c_t_header-lifnr.
          insert stru_C_T_Header into table itab_C_T_Header[].
        endif.
      endloop.
      data : W_LINES TYPE I.
      describe table itab_c_t_header lines w_lines.
      if w_lines eq 0.
        node_Polist->set_lead_selection_index( 0 ).
        CALL METHOD NODE_POLIST->INVALIDATE.
      else.
        node_Polist->bind_Table( itab_C_T_Header ).
        clear itab_C_T_Header[].
      endif.
    I would have though that invalidating the node would blank the context node and mean that the table is empty but instead I get an error.
    Please help.
    Richard

    Hi Richard,
    The problem here is that some UI element tries to bind against a node where the parent node is empty. You have to make sure that the last but one node has at least 1 element, otherwise you should hide the UI element (visibility = NONE).
    If the lead selection were empty, the corresponding error message would tell you this, but it explicitely says: "Last Node is Empty", and you can trust it.
    One possibility to have at least one element in the node is to change the cardinality to 1..n. If you have a supply function for this node, you have to make sure that there is at least 1 element (bind empty structure to the node), otherwise the framework creates the first element for you.
    Ciao, Regina

  • After creating a pdf can I change the size of the font when uploading in acrobat and what version?

    After creating a pdf can I change the size of the font when uploading in acrobat and what version?

    What do you mean by "uploading in Acrobat"?
    (Note that if you change the size of text, it won't reflow, so you end up with a mess. Answer is, probably not useful)

  • Error in getting reference to a context node.

    Hi,
         I am getting NULL Object reference error while try to get reference to a context node of a window.
    Here is Error message. Please give some suggestions.
    The following error text was processed in the system NSP : Access via 'NULL' object reference not possible.
    The error occurred on the application server Sundar_NSP_00 and in the work process 0 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Method: HANDLEDEFAULT of program /1BCWDY/0NMKGBOSP2TIV65B1I11==CP
    Method: HANDLEDEFAULT of program /1BCWDY/0NMKGBOSP2TIV65B1I11==CP
    Method: IF_WDR_VIEW_DELEGATE~WD_INVOKE_EVENT_HANDLER of program /1BCWDY/0NMKGBOSP2TIV65B1I11==CP
    Method: INVOKE_EVENTHANDLER of program CL_WDR_DELEGATING_IF_VIEW=====CP
    Method: DISPLAY_TOPLEVEL_COMPONENT of program CL_WDR_CLIENT_COMPONENT=======CP
    Method: INIT of program CL_WDR_CLIENT_APPLICATION=====CP
    Method: EXECUTE of program CL_WDR_MAIN_TASK==============CP
    Method: IF_HTTP_EXTENSION~HANDLE_REQUEST of program CL_WDR_MAIN_TASK==============CP
    Method: EXECUTE_REQUEST of program CL_HTTP_SERVER================CP
    Function: HTTP_DISPATCH_REQUEST of program SAPLHTTP_RUNTIME
    Cheers,
    Sam

    Hii.. Here is the short dump.
    Runtime Errors         OBJECTS_OBJREF_NOT_ASSIGNED_NO
    Exception              CX_SY_REF_IS_INITIAL
    Date and Time          07.04.2007 16:43:21
    Short text
    Access via 'NULL' object reference not possible.
    What happened?
    Error in the ABAP Application Program
    The current ABAP program "/1BCWDY/0NMKGBOSP2TIV65B1I11==CP" had to be
    terminated because it has
    come across a statement that unfortunately cannot be executed.
    What can you do?
    Note down which actions and inputs caused the error.
    To process the problem further, contact you SAP system
    administrator.
    Using Transaction ST22 for ABAP Dump Analysis, you can look
    at and manage termination messages, and you can also
    keep them for a long time.
    Error analysis
    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 "HANDLEDEFAULT" "(METHOD)", nor was it propagated by a RAISING
    clause.
    Since the caller of the procedure could not have anticipated that the
    exception would occur, the current program is terminated.
    The reason for the exception is:
    You attempted to use a 'NULL' object reference (points to 'nothing')
    access a component.
    An object reference must point to an object (an instance of a class)
    before it can be used to access components.
    Either the reference was never set or it was set to 'NULL' using the
    CLEAR statement.
    How to correct the error
    Probably the only way to eliminate the error is to correct the program.
    If the error occures in a non-modified SAP program, you may be able to
    find an interim solution in an SAP Note.
    If you have access to SAP Notes, carry out a search with the following
    keywords:
    "OBJECTS_OBJREF_NOT_ASSIGNED_NO" "CX_SY_REF_IS_INITIAL"
    "/1BCWDY/0NMKGBOSP2TIV65B1I11==CP" or "/1BCWDY/B_0NMLUIVDHGPOBAS29YIF"
    "HANDLEDEFAULT"
    If you cannot solve the problem yourself and want to send an error
    notification to SAP, include the following information:
    1. The description of the current problem (short dump)
    To save the description, choose "System->List->Save->Local File
    (Unconverted)".
    2. Corresponding system log
    Display the system log by calling transaction SM21.
    Restrict the time interval to 10 minutes before and five minutes
    after the short dump. Then choose "System->List->Save->Local File
    (Unconverted)".
    3. If the problem occurs in a problem of your own or a modified SAP
    program: The source code of the program
    In the editor, choose "Utilities->More
    Utilities->Upload/Download->Download".
    4. Details about the conditions under which the error occurred or which
    actions and input led to the error.
    The exception must either be prevented, caught within proedure
    "HANDLEDEFAULT" "(METHOD)", or its possible occurrence must be declared in the
    RAISING clause of the procedure.
    To prevent the exception, note the following:
    System environment
    SAP-Release 700
    Application server... "Sundar"
    Network address...... "10.10.0.10"
    Operating system..... "Windows NT"
    Release.............. "5.1"
    Hardware type........ "2x Intel 80686"
    Character length.... 8 Bits
    Pointer length....... 32 Bits
    Work process number.. 0
    Shortdump setting.... "full"
    Database server... "SUNDAR"
    Database type..... "ADABAS D"
    Database name..... "NSP"
    Database user ID.. "SAPNSP"
    Char.set.... "English_United State"
    SAP kernel....... 700
    created (date)... "Jan 29 2007 00:33:09"
    create on........ "NT 5.0 2195 Service Pack 4 x86 MS VC++ 13.10"
    Database version. "SQLDBC 7.6.0.036 CL 140088 "
    Patch level. 95
    Patch text.. " "
    Database............. "MaxDB 7.6, MaxDB 7.7"
    SAP database version. 700
    Operating system..... "Windows NT 5.0, Windows NT 5.1, Windows NT 5.2"
    Memory consumption
    Roll.... 8112
    EM...... 3135888
    Heap.... 0
    Page.... 0
    MM Used. 2645808
    MM Free. 488520
    User and Transaction
    Client.............. 000
    User................ "BCUSER"
    Language Key........ "E"
    Transaction......... " "
    Program............. "/1BCWDY/0NMKGBOSP2TIV65B1I11==CP"
    Screen.............. "SAPMHTTP 0010"
    Screen Line......... 2
    Information on Caller ofr "HTTP" Connection:
    Plug-in Type.......... "HTTP"
    Caller IP............. "127.0.0.1"
    Caller Port........... 8000
    Universal Resource Id. "/sap/bc/webdynpro/sap/zexp_parameter_app/"
    Information on where terminated
    Termination occurred in the ABAP program "/1BCWDY/0NMKGBOSP2TIV65B1I11==CP" -
    in "HANDLEDEFAULT".
    The main program was "SAPMHTTP ".
    In the source code you have the termination point in line 309
    of the (Include) program "/1BCWDY/B_0NMLUIVDHGPOBAS29YIF".
    Termination occurred in a Web Dynpro application
    Web Dynpro Component          ZEXP_PARAMETER_APP
    Web Dynpro Controller         ZEXP_PARAMETER_APP
    The termination is caused because exception "CX_SY_REF_IS_INITIAL" occurred in
    procedure "HANDLEDEFAULT" "(METHOD)", but it was neither handled locally nor
    declared
    in the RAISING clause of its signature.
    The procedure is in program "/1BCWDY/0NMKGBOSP2TIV65B1I11==CP "; its source
    code begins in line
    301 of the (Include program "/1BCWDY/B_0NMLUIVDHGPOBAS29YIF ".
    Source Code Extract
    Line
    SourceCde
    279
    endmethod.
    280
    281
    282
    general methods
    283
    284
    285
    method WDDOEXIT . "#EC NEEDED
    286
    endmethod.
    287
    288
    method WDDOINIT . "#EC NEEDED
    289
    endmethod.
    290
    291
    method WDDOONCLOSE . "#EC NEEDED
    292
    endmethod.
    293
    294
    method WDDOONOPEN . "#EC NEEDED
    295
    endmethod.
    296
    297
    298
    event handlers
    299
    300
    301
    METHOD handledefault .
    302
    DATA lr_node TYPE REF TO if_wd_context_node.
    303
    DATA ls_content TYPE if_zexp_parameter_app=>element_content.
    304
    305
    Assign Parameter values
    306
    ls_content-first_name = first_name.
    307
    ls_content-last_name = last_name.
    308
    Get reference to context node 'CONTEXT'
    >>>>>
    lr_node->get_child_node( 'CONTENT' ).
    310
    Bind element
    311
    lr_node->bind_element( new_item = ls_content ).
    312
    313
    ENDMETHOD.
    314
    315
    endclass.
    316
    Contents of system fields
    Name
    Val.
    SY-SUBRC
    0
    SY-INDEX
    1
    SY-TABIX
    0
    SY-DBCNT
    2
    SY-FDPOS
    21
    SY-LSIND
    0
    SY-PAGNO
    0
    SY-LINNO
    1
    SY-COLNO
    1
    SY-PFKEY
    SY-UCOMM
    SY-TITLE
    HTTP Control
    SY-MSGTY
    SY-MSGID
    SY-MSGNO
    000
    SY-MSGV1
    SY-MSGV2
    SY-MSGV3
    SY-MSGV4
    SY-MODNO
    0
    SY-DATUM
    20070407
    SY-UZEIT
    164321
    SY-XPROG
    SSO2GETPARAM
    SY-XFORM
    GET_PARAMETER
    Active Calls/Events
    No.   Ty.          Program                             Include                             Line
    Name
    11 METHOD       /1BCWDY/0NMKGBOSP2TIV65B1I11==CP    /1BCWDY/B_0NMLUIVDHGPOBAS29YIF        309
    CL_ZEXP_PARAMETER_APP_CTR=>HANDLEDEFAULT
    Web Dynpro Component          ZEXP_PARAMETER_APP
    Web Dynpro Controller         ZEXP_PARAMETER_APP
    10 METHOD       /1BCWDY/0NMKGBOSP2TIV65B1I11==CP    /1BCWDY/B_0NMLUIVDHGPOBAS29YIF        246
    CLF_ZEXP_PARAMETER_APP_CTR=>HANDLEDEFAULT
    Web Dynpro Component          ZEXP_PARAMETER_APP
    Web Dynpro Controller         ZEXP_PARAMETER_APP
    9 METHOD       /1BCWDY/0NMKGBOSP2TIV65B1I11==CP    /1BCWDY/B_0NMLUIVDHGPOBAS29YIF        193
    CLF_ZEXP_PARAMETER_APP_CTR=>IF_WDR_VIEW_DELEGATE~WD_INVOKE_EVENT_HANDLER
    Web Dynpro Component          ZEXP_PARAMETER_APP
    Web Dynpro Controller         ZEXP_PARAMETER_APP
    8 METHOD       CL_WDR_DELEGATING_IF_VIEW=====CP    CL_WDR_DELEGATING_IF_VIEW=====CM006     3
    CL_WDR_DELEGATING_IF_VIEW=>INVOKE_EVENTHANDLER
    7 METHOD       CL_WDR_CLIENT_COMPONENT=======CP    CL_WDR_CLIENT_COMPONENT=======CM004    56
    CL_WDR_CLIENT_COMPONENT=>DISPLAY_TOPLEVEL_COMPONENT
    6 METHOD       CL_WDR_CLIENT_APPLICATION=====CP    CL_WDR_CLIENT_APPLICATION=====CM00L    30
    CL_WDR_CLIENT_APPLICATION=>INIT
    5 METHOD       CL_WDR_MAIN_TASK==============CP    CL_WDR_MAIN_TASK==============CM00I    40
    CL_WDR_MAIN_TASK=>EXECUTE
    4 METHOD       CL_WDR_MAIN_TASK==============CP    CL_WDR_MAIN_TASK==============CM00J    69
    CL_WDR_MAIN_TASK=>IF_HTTP_EXTENSION~HANDLE_REQUEST
    3 METHOD       CL_HTTP_SERVER================CP    CL_HTTP_SERVER================CM00I   524
    CL_HTTP_SERVER=>EXECUTE_REQUEST
    2 FUNCTION     SAPLHTTP_RUNTIME                    LHTTP_RUNTIMEU02                      929
    HTTP_DISPATCH_REQUEST
    1 MODULE (PBO) SAPMHTTP                            SAPMHTTP                               13
    %_HTTP_START
    Chosen variables
    Name
    Val.
    No.      11 Ty.          METHOD
    Name  CL_ZEXP_PARAMETER_APP_CTR=>HANDLEDEFAULT
    FIRST_NAME
    first_name
    6677756666
    69234FE1D5
    LAST_NAME
    last_name
    667756666
    C134FE1D5
    WDEVENT
    |
    | 0000F000 |
    | F0000000 |
    | SYST-REPID |
    | /1BCWDY/0NMKGBOSP2TIV65B1I11==CP |
    | 2344545234444445535453343433334522222222 |
    | F123749F0EDB72F3024966521911DD3000000000 |
    | LS_CONTENT-FIRST_NAME |
    | first_name |
    | 6677756666 |
    | 69234FE1D5 |
    | LS_CONTENT-LAST_NAME |
    | last_name |
    | 667756666 |
    | C134FE1D5 |
    | %_DUMMY$$ |
    |  |
    | 2222 |
    | 0000 |
    | %_SPACE |
    |  |
    | 2 |
    | 0 |
    | LS_CONTENT |
    | ë#######ê####### |
    | E0000100E0000100 |
    | B0004300A0005300 |
    | No.      10 Ty.          METHOD |
    | Name  CLF_ZEXP_PARAMETER_APP_CTR=>HANDLEDEFAULT |
    | EVENT |
    |
    0000F000
    F0000000
    RESULT
    |
    | F0000000 |
    | F0000000 |
    | EVENT->PARAMETERS |
    | Table IT_628[3x16] |
    | DATA=PARAMETERS
    Table reference: 361
    TABH+  0(20) = 38CAA53BD87CAE3B000000006901000074020000
    TABH+ 20(20) = 0300000010000000FFFFFFFF04520100A0030000
    TABH+ 40( 8) = 10000000A4288401
    store        = 0x38CAA53B
    ext1         = 0xD87CAE3B
    shmId        = 0     (0x00000000)
    id           = 361   (0x69010000)
    label        = 628   (0x74020000)
    fill         = 3     (0x03000000)
    leng         = 16    (0x10000000)
    loop         = -1    (0xFFFFFFFF)
    xtyp         = TYPE#000006
    occu         = 16    (0x10000000)
    access       = 4     (ItAccessHashed)
    idxKind      = 0     (ItIndexNone)
    uniKind      = 1     (ItUnique)
    keyKind      = 1     (default)
    cmpMode      = 4     (cmpSingleEq)
    occu0        = 1
    groupCntl    = 0
    rfc          = 0
    unShareable  = 0
    mightBeShared = 1
    sharedWithShmTab = 0
    isShmLockId  = 0
    gcKind       = 0
    isUsed       = 1
    isCtfyAble   = 1
    >>>>> Shareable Table Header Data <<<<<
    tabi         = 0x28C9A53B
    pgHook       = 0x00000000
    idxPtr       = 0x78CAA53B
    shmTabhSet   = 0x00000000
    id           = 212   (0xD4000000)
    refCount     = 1     (0x01000000)
    tstRefCount  = 0     (0x00000000)
    lineAdmin    = 16    (0x10000000)
    lineAlloc    = 16    (0x10000000)
    shmVersId    = 0     (0x00000000)
    shmRefCount  = 2     (0x02000000)
    >>>>> 1st level extension part <<<<<
    regHook      = 0xA87BAE3B
    collHook     = 0x00000000
    ext2         = 0x00000000
    >>>>> 2nd level extension part <<<<<
    tabhBack     = Not allocated
    delta_head   = Not allocated
    pb_func      = Not allocated
    pb_handle    = Not allocated
    <CUR_PARAM>
    +###Ô     ##ß#######
    2000D000D0001000
    B0004900F0000000
    SY-SUBRC
    0
    0000
    0000
    %_VIASELSCR
    0
    4
    SY
    0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.1.
    0000000000000000000000000000000000000000000010000000000000000000000000000000100000000000000000
    1000000000003000000000000000000000000000200050001000000010000000000000000000000000000000000000
    %_EXCP
    |
    | F0000000 |
    | F0000000 |
    | SPACE |
    |  |
    | 2 |
    | 0 |
    | SY-REPID |
    | /1BCWDY/0NMKGBOSP2TIV65B1I11==CP |
    | 2344545234444445535453343433334522222222 |
    | F123749F0EDB72F3024966521911DD3000000000 |
    | <CUR_PARAM>-VALUE |
    | 0.0.0.0.0.0.0.1.  |
    | D0001000 |
    | F0000000 |
    | LAST_NAME |
    | last_name |
    | 667756666 |
    | C134FE1D5 |
    | ME->F_APPL_CLASS |
    |
    A0005000
    E0001000
    FIRST_NAME
    first_name
    6677756666
    69234FE1D5
    WDEVENT
    |
    | 0000F000 |
    | F0000000 |
    | No.       9 Ty.          METHOD |
    | Name  CLF_ZEXP_PARAMETER_APP_CTR=>IF_WDR_VIEW_DELEGATE~WD_INVOKE_EVENT_HANDLER |
    | HANDLER_NAME |
    | HANDLEDEFAULT |
    | 4444444444545 |
    | 81E4C545615C4 |
    | EVENT |
    |
    0000F000
    F0000000
    PARAMETERS
    Table[initial]
    RESULT
    |
    | F0000000 |
    | F0000000 |
    | WDEVENT |
    |
    0000F000
    F0000000
    ABAP_TRUE
    X
    5
    8
    ME->F_SYS64738
    2
    0
    %_PRINT
    000                                                                                0 ##
    2222333222222222222222222222222222222222222222222222222222222222222222222222222222222222223200
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    %_EXCP
    |
    | F0000000 |
    | F0000000 |
    | CX_WD_BAD_STATE=>USAGE_AFTER_DO_EXIT |
    | 9E034D3F19DCAB3FE10000000A1550A8 |
    | 34333434334444344333333334333343 |
    | 95034436194312365100000001155018 |
    | ME |
    |
    B0004000
    5000A000
    No.       8 Ty.          METHOD
    Name  CL_WDR_DELEGATING_IF_VIEW=>INVOKE_EVENTHANDLER
    NAME
    HANDLEDEFAULT
    4444444444545
    81E4C545615C4
    EVENT
    0000F000
    F0000000
    RET
    |
    | F0000000 |
    | F0000000 |
    | SYST-REPID |
    | CL_WDR_DELEGATING_IF_VIEW=====CP |
    | 4455455444444544454455445333334522222222 |
    | 3CF742F45C57149E7F96F6957DDDDD3000000000 |
    | SY-REPID |
    | CL_WDR_DELEGATING_IF_VIEW=====CP |
    | 4455455444444544454455445333334522222222 |
    | 3CF742F45C57149E7F96F6957DDDDD3000000000 |
    | %_SPACE |
    |  |
    | 2 |
    | 0 |
    | %_DUMMY$$ |
    |  |
    | 2222 |
    | 0000 |
    | No.       7 Ty.          METHOD |
    | Name  CL_WDR_CLIENT_COMPONENT=>DISPLAY_TOPLEVEL_COMPONENT |
    | WINDOW_ID |
    | $$ROOT_VIEW_AREA |
    | 2254455544554544 |
    | 442FF4F6957F1251 |
    | PARAMETERS |
    | Table IT_264[3x16] |
    | CLASS=CL_WDR_CLIENT_APPLICATIONMETHOD=INITDATA=PARAMETERS |
    | Table reference: 172 |
    | TABH+  0(20) = 38CAA53B0000000000000000AC00000008010000 |
    | TABH+ 20(20) = 0300000010000000FFFFFFFF04AE0000F8090000 |
    | TABH+ 40( 8) = 10000000A4288401 |
    | store        = 0x38CAA53B |
    | ext1         = 0x00000000 |
    | shmId        = 0     (0x00000000) |
    | id           = 172   (0xAC000000) |
    | label        = 264   (0x08010000) |
    | fill         = 3     (0x03000000) |
    | leng         = 16    (0x10000000) |
    | loop         = -1    (0xFFFFFFFF) |
    | xtyp         = TYPE#000035 |
    | occu         = 16    (0x10000000) |
    | access       = 4     (ItAccessHashed) |
    | idxKind      = 0     (ItIndexNone) |
    | uniKind      = 1     (ItUnique) |
    | keyKind      = 1     (default) |
    | cmpMode      = 4     (cmpSingleEq) |
    | occu0        = 1 |
    | groupCntl    = 0 |
    | rfc          = 0 |
    | unShareable  = 0 |
    | mightBeShared = 1 |
    | sharedWithShmTab = 0 |
    | isShmLockId  = 0 |
    | gcKind       = 0 |
    | isUsed       = 1 |
    | isCtfyAble   = 1 |
    | >>>>> Shareable Table Header Data <<<<< |
    | tabi         = 0x28C9A53B |
    | pgHook       = 0x00000000 |
    | idxPtr       = 0x78CAA53B |
    | shmTabhSet   = 0x00000000 |
    | id           = 212   (0xD4000000) |
    | refCount     = 1     (0x01000000) |
    | tstRefCount  = 0     (0x00000000) |
    | lineAdmin    = 16    (0x10000000) |
    | lineAlloc    = 16    (0x10000000) |
    | shmVersId    = 0     (0x00000000) |
    | shmRefCount  = 2     (0x02000000) |
    | >>>>> 1st level extension part <<<<< |
    | regHook      = Not allocated |
    | collHook     = Not allocated |
    | ext2         = Not allocated |
    | >>>>> 2nd level extension part <<<<< |
    | tabhBack     = Not allocated |
    | delta_head   = Not allocated |
    | pb_func      = Not allocated |
    | pb_handle    = Not allocated |
    | STARTUP_PLUG |
    | )###Æ     ##.###Ñ     ##1X## |
    | 2000C0002000D0003500 |
    | 90006900E00019001800 |
    | INTERFACE_VIEW_INFO |
    |
    F0000000
    3000C000
    <VIEW_MANAGER>-VIEW_MANAGER
    |
    | C0003000 |
    | B0004000 |
    | %_DUMMY$$ |
    |  |
    | 2222 |
    | 0000 |
    | L_DELEGATING_IF_VIEW |
    |
    B0004000
    90006000
    SY-REPID
    CL_WDR_CLIENT_COMPONENT=======CP
    4455455444445544454444533333334522222222
    3CF742F3C95E4F3FD0FE5E4DDDDDDD3000000000
    %_PRINT
    000                                                                                0 ##
    2222333222222222222222222222222222222222222222222222222222222222222222222222222222222222223200
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    STARTUP_PLUG-PLUG_NAME
    DEFAULT
    4444545
    45615C4
    L_EVENT_HANDLER
    )###Æ     ##/###Р    ##CL_WDY_MD_CTLR_EVENT_HANDLER  ######0###ï#######ï#######ï#######ï#######)###Æ     
    2000C0002000D0004455455445454554544554444445220000003000E0000000E0000000E0000000E00000002000C0
    90006900F00009003CF749FD4F34C2F565E4F81E4C52000010000000F0000000F0000000F0000000F0000000900069
    L_CUSTOM_EVENT
    0000F000
    F0000000
    SYST-REPID
    CL_WDR_CLIENT_COMPONENT=======CP
    4455455444445544454444533333334522222222
    3CF742F3C95E4F3FD0FE5E4DDDDDDD3000000000
    L_EVENT_HANDLER-CMPNAME
    HANDLEDEFAULT
    4444444444545
    81E4C545615C4
    No.       6 Ty.          METHOD
    Name  CL_WDR_CLIENT_APPLICATION=>INIT
    %_DUMMY$$
    2222
    0000
    %_EXCP
    |
    | F0000000 |
    | F0000000 |
    | SY-REPID |
    | CL_WDR_CLIENT_APPLICATION=====CP |
    | 4455455444445545544445444333334522222222 |
    | 3CF742F3C95E4F100C93149FEDDDDD3000000000 |
    | SY-XFORM |
    | GET_PARAMETER |
    | 445554544454522222222222222222 |
    | 754F0121D545200000000000000000 |
    | L_STARTUP_VIEW |
    |
    F0000000
    3000C000
    %_SPACE
    2
    0
    ME
    |
    | D0002000 |
    | F0000000 |
    | PARAMETERS |
    | Table IT_264[3x16] |
    | SY-XPROG |
    | SSO2GETPARAM |
    | 5543445545442222222222222222222222222222 |
    | 33F27540121D0000000000000000000000000000 |
    | CL_WDR_CLIENT_CONSTANTS=>ROOT_WINDOW_VIEW_AREA_NAME |
    | $$ROOT_VIEW_AREA |
    | 2254455544554544 |
    | 442FF4F6957F1251 |
    | No.       5 Ty.          METHOD |
    | Name  CL_WDR_MAIN_TASK=>EXECUTE |
    | SY-REPID |
    | CL_WDR_MAIN_TASK==============CP |
    | 4455455444455454333333333333334522222222 |
    | 3CF742FD19EF413BDDDDDDDDDDDDDD3000000000 |
    | L_APPLICATION_NAME |
    | ZEXP_PARAMETER_APP |
    | 5455554544454554552222222222222222222222 |
    | A580F0121D5452F1000000000000000000000000 |
    | SY-MSGID |
    |  |
    | 22222222222222222222 |
    | 00000000000000000000 |
    | WDR_TASK=>RESPONSE |
    |
    F0000000
    A0005000
    SYST-REPID
    CL_WDR_MAIN_TASK==============CP
    4455455444455454333333333333334522222222
    3CF742FD19EF413BDDDDDDDDDDDDDD3000000000
    SY-MSGNO
    000
    333
    000
    SPACE
    2
    0
    WDR_TASK=>APPLICATION_NAME
    ZEXP_PARAMETER_APP
    545555454445455455
    A580F0121D5452F100
    WDR_TASK=>CLIENT_WINDOW
    |
    | F0000000 |
    | 0000F000 |
    | WDR_TASK=>APPLICATION |
    |
    D0002000
    F0000000
    %_DUMMY$$
    2222
    0000
    ME->APPLICATIONS
    Table IT_251[1x8]
    DATA=APPLICATIONS |
    | Table reference: 167 |
    | TABH+  0(20) = F8B8A53B0000000000000000A7000000FB000000 |
    | TABH+ 20(20) = 0100000008000000FFFFFFFF042C0000B8040000 |
    | TABH+ 40( 8) = 10000000C1288001 |
    | store        = 0xF8B8A53B |
    | ext1         = 0x00000000 |
    | shmId        = 0     (0x00000000) |
    | id           = 167   (0xA7000000) |
    | label        = 251   (0xFB000000) |
    | fill         = 1     (0x01000000) |
    | leng         = 8     (0x08000000) |
    | loop         = -1    (0xFFFFFFFF) |
    | xtyp         = TYPE#000011 |
    | occu         = 16    (0x10000000) |
    | access       = 1     (ItAccessStandard) |
    | idxKind      = 0     (ItIndexNone) |
    | uniKind      = 2     (ItUniqueNon) |
    | keyKind      = 1     (default) |
    | cmpMode      = 4     (cmpSingleEq) |
    | occu0        = 1 |
    | groupCntl    = 0 |
    | rfc          = 0 |
    | unShareable  = 0 |
    | mightBeShared = 0 |
    | sharedWithShmTab = 0 |
    | isShmLockId  = 0 |
    | gcKind       = 0 |
    | isUsed       = 1 |
    | isCtfyAble   = 1 |
    | >>>>> Shareable Table Header Data <<<<< |
    | tabi         = 0x68B8A53B |
    | pgHook       = 0x00000000 |
    | idxPtr       = 0x00000000 |
    | shmTabhSet   = 0x00000000 |
    | id           = 208   (0xD0000000) |
    | refCount     = 0     (0x00000000) |
    | tstRefCount  = 0     (0x00000000) |
    | lineAdmin    = 16    (0x10000000) |
    | lineAlloc    = 16    (0x10000000) |
    | shmVersId    = 0     (0x00000000) |
    | shmRefCount  = 1     (0x01000000) |
    | >>>>> 1st level extension part <<<<< |
    | regHook      = Not allocated |
    | collHook     = Not allocated |
    | ext2         = Not allocated |
    | >>>>> 2nd level extension part <<<<< |
    | tabhBack     = Not allocated |
    | delta_head   = Not allocated |
    | pb_func      = Not allocated |
    | pb_handle    = Not allocated |
    | SYST |
    | 0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.1.  |
    | 0000000000000000000000000000000000000000000010000000000000000000000000000000100000000000000000 |
    | 1000000000003000000000000000000000000000200050001000000010000000000000000000000000000000000000 |
    | WDR_TASK=>APPLICATION->IS_SUSPENDED |
    |  |
    | 2 |
    | 0 |
    | ABAP_TRUE |
    | X |
    | 5 |
    | 8 |
    | WDR_TASK=>APPLICATION->APPLICATION_WINDOW->VIEW_MANAGER->IF_WDR_VIEW_MANAGER~WINDOW_INFO |
    |
    F0000000
    3000C000
    L_APPL_STATE_CHANGE
    |
    | F0000000 |
    | F0000000 |
    | No.       4 Ty.          METHOD |
    | Name  CL_WDR_MAIN_TASK=>IF_HTTP_EXTENSION~HANDLE_REQUEST |
    | SERVER |
    |
    F0000000
    D0002000
    WDR_TASK=>APPLICATION
    |
    | D0002000 |
    | F0000000 |
    | ME |
    |
    F0000000
    90006000
    WDR_TASK=>CLIENT_WINDOW
    |
    | F0000000 |
    | 0000F000 |
    | LR_UCF |
    |
    F0000000
    80007000
    WDR_TASK=>CLIENT_WINDOW->CLIENT
    |
    | E0001000 |
    | A0005000 |
    | WDR_TASK=>CLIENT_WINDOW->REC_PLUGIN_MANAGER |
    |
    E0001000
    3000C000
    RSJOBINFO
    00000000000000                                  ####
    222222222222222222222222222222223333333333333322222222222222222222222222222222220000
    000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    WDR_TASK=>CLIENT_WINDOW->CLIENT_INFO_OBJECT
    |
    | F0000000 |
    | 0000F000 |
    | %_SPACE |
    |  |
    | 2 |
    | 0 |
    | ME->APPL_STATISTICS+12(8) |
    |  |
    | WDR_TASK=>APPLICATION_NAME |
    | ZEXP_PARAMETER_APP |
    | 545555454445455455 |
    | A580F0121D5452F100 |
    | No.       3 Ty.          METHOD |
    | Name  CL_HTTP_SERVER=>EXECUTE_REQUEST |
    | SERVER |
    |
    F0000000
    D0002000
    SERVTBL
    Table IT_210[6x2336]
    FUNCTION=HTTP_DISPATCH_REQUESTDATA=SERVTBL
    Table reference: 1
    TABH+  0(20) = 38F1A53B000000000000000001000000D2000000
    TABH+ 20(20) = 0600000020090000180000000401000020070000
    TABH+ 40( 8) = 04000000C1308001
    store        = 0x38F1A53B
    ext1         = 0x00000000
    shmId        = 0     (0x00000000)
    id           = 1     (0x01000000)
    label        = 210   (0xD2000000)
    fill         = 6     (0x06000000)
    leng         = 2336  (0x20090000)
    loop         = 24    (0x18000000)
    xtyp         = TYPE#000022
    occu         = 4     (0x04000000)
    access       = 1     (ItAccessStandard)
    idxKind      = 0     (ItIndexNone)
    uniKind      = 2     (ItUniqueNon)
    keyKind      = 1     (default)
    cmpMode      = 8     (cmpManyEq)
    occu0        = 1
    groupCntl    = 0
    rfc          = 0
    unShareable  = 0
    mightBeShared = 0
    sharedWithShmTab = 0
    isShmLockId  = 0
    gcKind       = 0
    isUsed       = 1
    isCtfyAble   = 1
    >>>>> Shareable Table Header Data <<<<<
    tabi         = 0xF801973B
    pgHook       = 0x08AF903B
    idxPtr       = 0x00000000
    shmTabhSet   = 0x00000000
    id           = 190   (0xBE000000)
    refCount     = 0     (0x00000000)
    tstRefCount  = 0     (0x00000000)
    lineAdmin    = 8     (0x08000000)
    lineAlloc    = 8     (0x08000000)
    shmVersId    = 0     (0x00000000)
    shmRefCount  = 1     (0x01000000)
    >>>>> 1st level extension part <<<<<
    regHook      = Not allocated
    collHook     = Not allocated
    ext2         = Not allocated
    >>>>> 2nd level extension part <<<<<
    tabhBack     = Not allocated
    delta_head   = Not allocated
    pb_func      = Not allocated
    pb_handle    = Not allocated
    FIRSTALIAS
    2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    URLSUFFIX
    FLOW_RC
    0
    0000
    0000
    TIMEOUT
    000000
    333333
    000000
    SEND_PAGE_RC
    0
    0000
    0000
    RUNTIME_MEMORY
    ########Æ###)###Û#######
    00000000C0002000D00000002222222222222222222222222222222222222222222222222222222222222222222222
    0000000060009000B00040000000000000000000000000000000000000000000000000000000000000000000000000
    CL_HTTP_SERVER=>C_STATISTIC_STATE
    0
    0000
    0000
    %_PRINT
    000                                                                                0 ##
    2222333222222222222222222222222222222222222222222222222222222222222222222222222222222222223200
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    SECURE_INSERT
    0
    0000
    0000
    IHTTP_OPCODE_CLOSE_INTERVAL
    1
    2
    %_DUMMY$$
    2222
    0000
    SYST
    0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.1.
    0000000000000000000000000000000000000000000010000000000000000000000000000000100000000000000000
    1000000000003000000000000000000000000000200050001000000010000000000000000000000000000000000000
    STIME
    187269
    8D00
    5B20
    SY-XFORM
    GET_PARAMETER
    445554544454522222222222222222
    754F0121D545200000000000000000
    IHTTP_OPCODE_OPEN_INTERVAL
    1
    1
    SCREEN
    2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    SERVER_OBJ->M_CONNECTION_ERROR
    ï###########ï#######
    E00000000000E0000000
    F00000000000F0000000
    SY
    0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.1.
    0000000000000000000000000000000000000000000010000000000000000000000000000000100000000000000000
    1000000000003000000000000000000000000000200050001000000010000000000000000000000000000000000000
    L_EXCEPTION
    |
    | F0000000 |
    | F0000000 |
    | %_SPACE |
    |  |
    | 2 |
    | 0 |
    | CL_HTTP_SERVER=>IF_HTTP_SERVER~STATEFUL |
    | 1 |
    | 0000 |
    | 1000 |
    | OPCODE_GET_SAP_CPIC_RC |
    | # |
    | 0 |
    | 1 |
    | L_EXCEPTION->M_CONNECTION_ERROR |
    | ??? |
    | ?????? |
    | ?????? |
    | ICF_ACTIVE |
    | X |
    | 5 |
    | 8 |
    | No.       2 Ty.          FUNCTION |
    | Name  HTTP_DISPATCH_REQUEST |
    | CLIENT_NAME |
    |  |
    | DOCUMENT_IN |
    |  |
    | VIRTUAL_HOST |
    | 0 |
    | 0000 |
    | 0000 |
    | DOCUMENT_OUT |
    |  |
    | PF_TASK_PLUGIN |
    | # |
    | 0 |
    | A |
    | PF_ACTION_BATCH_JOB |
    | 2 |
    | 0000 |
    | 2000 |
    | ERROR_STATE |
    | 0 |
    | 0000 |
    | 0000 |
    | PF_OPCODE_APP_STAT_CLOSE |
    | # |
    | 0 |
    | B |
    | L_RM_FROM_BUFFER |
    |  |
    | 2 |
    | 0 |
    | INITPASSWORD |
    |  |
    | 22222222 |
    | 00000000 |
    | C_STATISTIC_STATE |
    | 0 |
    | 0000 |
    | 0000 |
    | SY-XFORM |
    | GET_PARAMETER |
    | 445554544454522222222222222222 |
    | 754F0121D545200000000000000000 |
    | PF_CLIINFO |
    | # |
    | 0 |
    | E |
    | PF_OPCODE_OPEN_INTERVAL |
    | # |
    | 1 |
    | 1 |
    | SPACE |
    |  |
    | 2 |
    | 0 |
    | C_SERVER |
    |
    F0000000
    D0002000
    SERVTBL
    Table IT_210[6x2336]
    FIRSTALIAS
    2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    URLSUFFIX
    FLOW_RC
    0
    0000
    0000
    TIMEOUT
    000000
    333333
    000000
    SEND_PAGE_RC
    0
    0000
    0000
    L_RUNTIME_MEMORY
    ########Æ###)###Û#######
    00000000C0002000D00000002222222222222222222222222222222222222222222222222222222222222222222222
    0000000060009000B00040000000000000000000000000000000000000000000000000000000000000000000000000
    %_DUMMY$$
    2222
    0000
    %_PRINT
    000                                                                                0 ##
    2222333222222222222222222222222222222222222222222222222222222222222222222222222222222222223200
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    PF_OPCODE_CLOSE_INTERVAL
    1
    2
    NODENAME
    No.       1 Ty.          MODULE (PBO)
    Name  %_HTTP_START
    SY-REPID
    SAPMHTTP
    5454455522222222222222222222222222222222
    310D844000000000000000000000000000000000
    SYST-REPID
    SAPMHTTP
    5454455522222222222222222222222222222222
    310D844000000000000000000000000000000000
    %_ARCHIVE
    2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    %_DUMMY$$
    2222
    0000
    %_SPACE
    2
    0
    Internal notes
    The termination was triggered in function "method_call_iref"
    of the SAP kernel, in line 2207 of the module
    "//bas/700_REL/src/krn/runt/abmethod.c#8".
    The internal operation just processed is "METH".
    Internal mode was started at 20070407164321.
    Active Calls in SAP Kernel
    Lines of C Stack in Kernel (Structure Differs on Each Platform)
    SAP (R) - R/3(TM) Callstack, Version 1.0
    Copyright (C) SAP AG. All rights reserved.
    Callstack without Exce

  • Why we need to conver Context  Node data into XML file----Export to Excel

    Hi All,
    Let me clarify my dought........today i have gone through the concept of  "Exporting Context Data Using the Webdynpro Binary cache" in SAP Online Help.
    From the SAP Online Help pdf document, i have found that, the context node data has been converted first in to XML file,after that file had been stored in the web dynpor binary cache...bla....bla.........
    Here my qtn is why they had converted context node data into XML file. With out doing that can not we export context node data to excel file..?
    Regards
    Seshu
    Edited by: Sesshanna D on Dec 19, 2007 7:25 AM

    Hi Sesshanna,
    it is not neccessary to do that but xml has the advantage, that it can be easily transformed into every output format that might occur in later project stages.
    If it's simply about blowing out some Excel, I suggest using an OSS library such as jexcelAPI or Jakarta POI and building the Excel how you need it.
    regards,
    Christian

  • How to upload the pdf file to the next view?....urgent

    Hi Experts,
    I need to upload the pdf file( a interactive form ) using the fileupload element in the A_view and the pdf file can be displayed in the b_view.
    But I don't know how to complete the function?
    Action:
    0.  Create a adobe form (c_form)in the R/3 using sfp with a inputfield.
    1.  Create a adobe interactive form (A_interactive_form)in the view(display_view) of the WDA for abap.
    2.  Create a context attribute(upload) in the display_view.
    3.  Bind the c_form to the A_interactive_form, so that the data can be transfered to the c_form.
    4.  Bind the "pdfSourth" property to context attribute "upload" in the A_interactive_form.
    4.  Type code in the WDA for abap for setting data("old") to the context.
    5.  Active the WDA and run the WDA.
    6.  In the IE, the interactive form is displayed with the value "old" in the field. Save the pdf form as "test.pdf" and close the IE.
    7.  Open the test.pdf, and type the inputfield "new" in the form, and save the test.pdf.
    8.  Create a context node(Pdfsourth) in the component controller, and create a attribute("upload") that type is xstring in the Pdfsourth.
    9.  Create a view(C_view), mapping the context node(Pdfsourth) in the component controller.
    10. Create a fileupload element in the C_view, and the "data" property is binded the "upload" attribute in the context node(Pdfsourth).
    11. Create a button(Display_form) and create the action with the outplug for upload the pdf file(test.pdf).
    12. Change the window and set the C_view as default view, and set the Navigation link from the C_view to B_view.
    13. Type code in the wddoinit method in the display_view for transfering the test.pdf file.
    method WDDOINIT .
    DATA lo_componentcontroller TYPE REF TO ig_componentcontroller .
    DATA upload                 TYPE        xstring.
    lo_componentcontroller =   wd_this->get_componentcontroller_ctr( ).
      lo_componentcontroller->getupload(
        IMPORTING
          upload = upload                         " xstring
      DATA lo_nd_pdfsourch TYPE REF TO if_wd_context_node.
      DATA lo_el_pdfsourch TYPE REF TO if_wd_context_element.
      DATA ls_pdfsourch TYPE wd_this->element_pdfsourch.
    navigate from <CONTEXT> to <PDFSOURCH> via lead selection
      lo_nd_pdfsourch = wd_context->get_child_node( name = wd_this->wdctx_pdfsourch ).
    get element via lead selection
      lo_el_pdfsourch = lo_nd_pdfsourch->get_element(  ).
    get single attribute
      lo_el_pdfsourch->set_attribute(
        EXPORTING
          name =  `UPLOAD`
          value = upload ).
    endmethod.
    15. Active the WDA and run the WDA.
    In the fileupload of the C_view, I select the test.pdf from my local machine. and click the button(Display_form), the display_view is displayed with the A_interactive_form.
    But in the A_interactive_form, the value "old" is in the field in the form rather than "new".
    I hope to display the test.pdf in the A_interactive_form. I don't know how to change my code or configuration?
    Do you give some example or some hint for this problem ?
    Thanks & Regards,
    Tao

    Now, The problem has been solved.Thanks a lot.

  • How to populate context node of component controller

    Dear People,
    Is there any way i could access my custom context node of component controller in the context node class of my custom controller.
    I am navigating from one component to another, Upon initial launch everything is working fine, however if i go to home page and come back. the assignment block is coming empty.
    In WD_USAGE_INITIALIZE i m binding my custom controllers context node with the component controller's context node of the other component and it works fine when i load the UI. however if i go to home page and come back. the assignment block is coming empty.
    Following code is in method of DO_VIEW_INIT_ON_ACTIVATION of the other componenet.
    METHOD do_view_init_on_activation.
      DATA:   lv_btstatus_parent TYPE REF TO cl_crm_bol_entity,
            lv_comp_ctrl      TYPE REF TO cl_btstatus_bspwdcomponen_impl.
      CONSTANTS:
            lc_us_header      TYPE crmt_relation_name VALUE 'BTStatusHUserAll',
            lc_us_item        TYPE crmt_relation_name VALUE 'BTStatusIUserAll'.
      lv_comp_ctrl ?= me->comp_controller.
    check if relationname has been passed from outside
        gc_relation_name = lv_comp_ctrl->get_relation_name( ).
      IF gc_relation_name IS INITIAL.
      check type of parent to determine relationname
        *lv_btstatus_parent ?= lv_comp_ctrl->typed_context->btstatusparent->collection_wrapper->get_current( ).*
       check lv_btstatus_parent is bound.
        CASE lv_btstatus_parent->get_name( ).
            WHEN 'BTStatusH'.
              gc_relation_name = lc_us_header.
            WHEN 'BTStatusI'.
              gc_relation_name = lc_us_item.
        ENDCASE.
      ENDIF.
    CALL METHOD super->do_view_init_on_activation.
    ENDMETHOD.
    Here lv_btstatus_parent is bound during initial launch, however after navigating back to the same page, its blank leading to exception.
    any suggestions would be helpful.
    regards,
    pradeep

    solved myself

  • Problem with invalidating a context node

    Hi,
    Please see the code below:
    String s = wdContext.currentSubitemsElement().getBase_Quantity();
    wdComponentAPI.getMessageManager().reportWarning(s);
    wdContext.nodeSubitems().invalidate();
    String s1 = wdContext.currentSubitemsElement().getBase_Quantity();
    wdComponentAPI.getMessageManager().reportWarning(s1);
    For some reason, the context is not cleared after the invalidate command. Any ideas for this?
    Thanks in advance,
    Aviad

    Hi Aviad,
    Let me guess the origins of problem:
    1. As far as you mentioned <b>Sub</b>items node, there should be a parent node, say Items.
    2. Subitems node has either supplying relation role or supply function, Items has no supply function.
    3. Then, if you invalidate Subitems, supply function is called or supplying relation is used to populate content. When you do contenxt reset, then all controller nodes get invalidated including Items. Hence Subitems has no parent and displayed as empty.
    If all the above is true, then you may either to invalidate Items node or make Subitems node with no supplier (i.e. manually bind content instead).
    Context reset works here, but, it's a bit "brute force" approach.
    Valery Silaev
    EPAM Systems
    http://www.netweaverteam.com/

  • How to use attributes from different context nodes in one view?

    I am VERY new to the concept of CRM and currently working on creating an alternate version of the BP_HEAD_SEARCH. With help from SAPPRESSs book 'SAP CRM Web Client' i was ble to create my own simple Z-component.
    However after going back and forth the book and the forum (including this [article|https://wiki.sdn.sap.com/wiki/display/CRM/Howtoaddanexistingfieldtoasearchpageofadifferent+component]) i was not able to find a solution to my problem. My current search uses BuilHeaderAdvancedSearch as context node for searching. But the search should also be able to use attributes from BuilActivity, which is directly related to BuilHeader. I can't seem to find a way to get attributes from BuilActivity into the search window of my component without having to change SAP-Standard.
    Is this really the only way? Please advise on possible code and insertion point.

    Any suggestions?

  • Is it possible to use two context nodes in a single table view?

    Hi all,
    I have a window context node which is mapped to a dictionary structure. I have created a second node which contains some texts. I've mapped both nodes with the context  of a view. In this view I have created a table which shows lines of the first node (the one mapped to a dictionary structure). What I want is to show some text from the second node in a column of the table.
    Both of the nodes are populated upon initialization of the window. And they have a 1:1 mapping. (i.e the first line of the second node has some text for the first line of the first node ) . When the table is displayed what I get is the first line of the second node for all the lines of the first node. How can I change that? How can I make the second (text) node show the relevant text of the relevant line?

    HI
    You can make it work by using the logic of populating the node itself with modified values.
    i.e. during the population of the first node populate the text with the text from the second node by looping through its elements
    one by one.
    node 1  -- during its population or may be after its population loop though its elements and modify the value of text
    with the proper value taken from the corresponding value of text from the corresponding element of node 2.
    thanks
    sarbjeet singh

  • Error while generating the context node

    Hi ,
    Requirement is to add the marketing attribute field under the Account details overview Page. As the field was not available in the context node i have added a new context node in the Account details. I used the wizard and added the context node BuilmktattributeRel so as i can add "Attribute set" under the BP overview page."
    Now after adding the context node and while executing i am unable to see the overview view page, i am getting an error :
    1. Component GET_ATTRIBUTE does not exist
    2. Determination of BOL attributes failed
    Also i am unable to regenrate the GET_I_method. If i want to delete the Zcontextnode, i am unable to do so.
    Kindly help me with the technical approach to add the context node in the overview page.
    Thanks in advance,
    Sunil

    One thread would have been sufficient.
    Error while generating the context node

  • How to bind UI Element with Context Node Attribute Element

    Hi,
    I'm building my view dynamically in the wdDoModifyView method.
    Is it possible to bind a "TextView" element to a specific element of an attribute node?
    Scenario:
    Node_Employees
    |
    +- Attribute_Code
    |
    +- Attribute_Name
    Node Contents:
    Employees
    |
    +- Code: 1, Name: Employee 1
    |
    +- Code: 2, Name: Employee 2
    |
    +- Code: 3, Name: Employee 3
    I need to do something like binding a TextView UI element to the "Name" attribute of the element #2, what would result to show "Employee 2" on my view.
    How can I do this?
    Thanks in advance,
    Geraldo.

    Hi Saravanan,
    First I populate the context node and it won't change during view's lifecycle.  After that, I build my view and bind the TextView UI elements to the node context attributes elements.
    If the node has 10 elements, I will build 10 TextView UI elements and bind them to each attribute element.
    Regards,
    Geraldo Brígido.

  • Read Context  Node/Attribute option in webdynpro code wizard not available

    Hi Expets,
    I am new to webdynpro Abap, i have developed a small application to set default values for two fields. i want to use code wizard to implement the code. When i click on code wizard icon  in application tool bar, i have found lot of option like Method call in current controller, method call in used controller, Instantiate used component ... etc. But i didn't find the option Read Context Node/Attribute. Do i need to do any settings to get that. Kindly suggest. Your help will be greatly appreciated.
    Venkat

    Hi,
    Check the NW release,
    I checked with NW 7.02 - 2 tabs were available.
    with NW 7 - only 1 tab was available which you mentioned.
    Additional tab (Context ) might have been added after NW release 7.0.
    Regards
    Manas Dua

  • How to validate the contents of excel file after uploading it.

    hi Experts,
                     we have a requirement in which we need to create business transactions with the data in the excel file after it was uploaded. we are creating this transactions(BP,LEAD..) in webui -marketing professional role-external lists. what i have to do is, after uploading the data from excel file, i need to check for the mandatory fields in the data ,if anything is missing then i need to display the error message to the user. i am new to this webclinet frame work. please help me in achieving this functioanlity.any code snippet would be very helpful.
    THANKS IN ADVANCE.

    Hi ,
    Try with the below code.
    in the upload class  ihn attributes declare
    go_messages 
    level  static   
    visibility public
    Associated Type CL_CRM_GENIL_GLOBAL_MESS_CONT.
    in the event for upload
      lo_core     = cl_crm_bol_core=>get_instance( ).
      go_messages  = lo_core->get_global_message_cont( ).
      go_messages->reset( ).
      REFRESH : t_return.
    create a function module to validate the mandatory fields.
    loop at i_table
    call a function module
    endloop.
    In function module validate the mandatory fields if empty fill a error message and append to internal table.
    loop at t_return INTO st_return WITH KEY type = 'E'.
    CALL METHOD go_messages->add_message
            EXPORTING
              iv_msg_type          = st_return-type
              iv_msg_id              = st_return-id
              iv_msg_number     = st_return-number
              iv_msg_v1             = st_return-message_v1
              iv_msg_v2             = st_return-message_v2
              iv_msg_v3             = st_return-message_v3
              iv_msg_v4            = st_return-message_v4
              iv_show_only_once = abap_true.
    endloop.
    Regards,
    Gangadhar.S

Maybe you are looking for

  • BT Infinity Ipad and Iphone problems

    Help please, got fibre installed yesterday and almost everything is perfect, my PC is fine, my wifes Ipad also fine, however; my Iphone and Ipad simply won't do anything. I thought it might be a safari problem so reset the data etc etc, It could acce

  • Copy pictures from my iMac to my ipad

    How do I copy pictures from iphoto to my ipad.  I do NOT want to sync, only copy certain pictures from various events to my ipad. 

  • Different keyboard show up and freeze iPad

    I went to Japanese FNN news site and three different key board  show up and freeze my iPad in two to three days.

  • Mapping objects in the bean

    I have an issue with mapping the bean values to fxml. Any hints on how to resolve this issue would be appreciated. Basically I have a split pane on the screen. The left half displays the list of users in a table. When the admin clicks on a user recor

  • RRI : Target query opens in background

    Hi all ! I've set up an RRI with a query as a receiver. It works correctly except that when the target query opens, it doesn't remain in foreground. The sender comes back in foreground and I've to go to "Window" menu of Excel to switch back to the re