on 10-27-2011 1:20 PM
Hi experts ,
i m facing serious problem , i get dump when i try to add componant usage in my dynpro , just after enter SALV_WD_TABLE and save it as my componnat usage in the "used component " tab strip .
i have got this dump .
Short text
Zugriff über 'NULL' Objektreferenz nicht möglich.
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 "HAS_CONTEXT_INPUT_ELEMENTS" "(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:
Es wurde versucht mit einer 'NULL' Objektreferenz (zeigt auf 'nichts')
auf eine Komponente zuzugreifen.
Eine Objektreferenz muß auf ein Objekt (eine Instanz einer Klasse)
zeigen, bevor man sie zum Zugriff auf Komponenten nutzen kann.
Entweder die Referenz wurde noch nie gesetzt, oder sie wurde mit
einer CLEAR Anweisung auf 'NULL' gesetzt.
Missing RAISING Clause in Interface
Program CL_WDY_MD_CONTROLLER==========CP
Include CL_WDY_MD_CONTROLLER==========CM02G
Row 1
Module type (METHOD)
Module Name HAS_CONTEXT_INPUT_ELEMENTS
Line SourceCde
1 method HAS_CONTEXT_INPUT_ELEMENTS.
2 data node type ref to if_wdy_md_context_node.
3 data child_nodes type ref to cl_object_map.
4 data child_node type ref to if_wdy_md_context_node.
5 field-symbols: .
21 try.
Can any one tell me what's wrong ?
I get the dump before doing the maping , it's just when i declare my component use as in "used component" tab in my dynpro
I have also try to test some standard sap webdynpro demo ALV such as webdynpro " SALV_WD_DEMO_TABLE_SIMPLE" that use "SALV_WD_TABLE" as used component ,
I get this dump in my internet explorer browser :
"
L'appel de l'URL http://cmgsap37.sap.logica.com:8010/sap/bc/webdynpro/sap/salv_wd_demo_table_simple a été interrompu en raison d'une erreur.
Note
Le message d'erreur suivant a été traité dans le système I37 : Le membre SALV_WD_DEMO_TABLE_SIMPLE contient des erreurs de syntaxe
L'erreur s'est produite sur le serveur d'application cmgsap37_I37_10 et dans le processus de travail 0 .
Le type d'interruption est le suivant : RABAX_STATE
La hiérarchie des appels ABAP est la suivante :
Method: CONSTRUCTOR of program SAPLWDR_RUNTIME_REPOSITORY
Method: CONSTRUCTOR of program SAPLWDR_RUNTIME_REPOSITORY
Method: CONSTRUCTOR of program SAPLWDR_RUNTIME_REPOSITORY
Function: WDR_GET_REPOSITORY of program SAPLWDR_RUNTIME_REPOSITORY
Method: IF_WDR_UCF_RUNTIME_CALLBACK~PRELOAD_APPLICATION of program CL_WDR_MAIN_TASK==============CP
Method: HANDLE_REQUEST of program CL_WDR_UCF====================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
Module: %_HTTP_START of program SAPMHTTP
"
Could you halp me
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
The component interface of SALV_WD_TABLE has a context node DATA which has to be mapped to a context node in the using component. So if you are using ALV component in your component, and embedded the interface view of ALV component in your window, you need to create an external mapping between a context node in your component and DATA node of used ALV component. To do this, expand component usages under your component, select the interface controller, drag a context node from your component controller on to DATA node of interface controller.
Hope this helps!
Best Regards,
Srilatha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.