Init context node during runtime
Hi together,
i have a question concerning initialization of a context node during runtime.
I designed my context like
Parent
Child1 Child2 Child3
The parent node is the only one where the attribute boldInitialization Lead Selectionbold s marked.
But now, its not possible to bind data to the child nodes, because they not existing during runtime.
Now my question. Which method is the best to init these child nodes when data are ready for them?
Regards,
Anton
Hi Abhi,
problem is, that the supply function are executed at the first time the context nodes are used. In my web dynpro application ist that during initializing the view.
So the supply functions are called at a moment where no data are available for them, because the tree view, to which they are binded, is also loaded at init method.
So in the supply methods are no data bind to the nodes and the application didn`t create them.
And when i want to fill data to the nodes they didn`t exist.
Regards,
Anton
Similar Messages
-
Element addition to context node at runtime.
Hi all,
I have a class array object in which all data comes at runtime.
I created a node in context.
i have to add the element to node. i ahve used that node as a datasource to table UI.
EmpWrapper e[] = null;
e = tmp1.Get(wdContext.currentContextElement().getDIVISION());
// i am getting all data in e[]
if (e.length != 0)
for (int i=0;i<= e.length;i++){
//how to add the e data to node EMP in contextHi Shefali,
Here is the link to create dynamic context nodes and its attributes.
https://www.sdn.sap.com/irj/sdn/downloaditem?rid=/library/uuid/b3f6e990-0201-0010-c087-c865f2c738b3
Regards,
Abhimanyu L -
Hi all,
Can anyone please tell me as to when we go for creating a New Context Node.
Regards,
VijayWhere to create new context nodes in the component workbench should be clear. The Wizard on view generation or the wizard after right click on context nodes.
Creating new entries in the context nodes during runtime can be done everywhere. I experienced problems doing it in DO_HANDLE_DATA. -
Using Search Help with ALV and Dynamic context node
The topic subject already describes my situation.
I have to create, populate and remove context nodes at runtime, and bind them to an ALV, to let user display the data or modify the data. The nodes I create are always typed with a table name, but the table name is of course, dynamic.
This is all working: what's not working is help for entries inside the ALV; since the table has foreign keys and domains with check tables or fixed values, I expected that search helps were detected and managed by the framework.
Instead, no help search is displayed except the input help based on data-type of the one "Date" input fields.
I think I have to work on the dynamic node creation, and not on the ALV itself, since the latter only takes the node/attributes information, but i could be wrong. I tried with both the two following codings:
CALL METHOD lo_nd_info_root->add_new_child_node
EXPORTING
static_element_type = vs_tabname
name = 'SAMPLE_NODE_NAME'
* is_mandatory = abap_false
* is_mandatory_selection = abap_false
is_multiple = abap_true
is_multiple_selection = abap_false
* is_singleton = abap_false
is_initialize_lead_selection = abap_false
is_static = abap_false
RECEIVING
child_node_info = lo_nd_info_data .
cl_wd_dynamic_tool=>create_nodeinfo_from_struct(
parent_info = lo_nd_info_root
node_name = 'SAMPLE_NODE_NAME'
structure_name = vs_tabname
is_multiple = abap_true ).
The result is the same...is there any way to let the ALV know what search helps it has to use, and doesn't force me to manually build a VALUE_SET to be bound on the single attributes? There are many tables, with many fields, and maintaining this solution would be very costly.I have checked with method GET_ATTRIBUTE_VALUEHELP_TYPE of interface IF_WD_CONTEXT_NODE_INFO, on an attribute which i know to have a search help (Foreign key of a check table).
The method returns 'N', that is the constant IF_WD_VALUE_HELP_HANDLER~CO_VH_TYPE_NO_HELP. So, the framework was not able to find a suitable search help.
Using method GET_ATTRIBUTE_VALUE_HELP of the same interface, on the same attribute, returns me '111', which is constant C_VALUE_HELP_MODE-AUTOMATIC.
Therefore, the WD framework knows it has to automatically detect a value help, but fails to find one.
Also, this means in my opinion that the ALV and the dynamic external mapping are not the culprits: since node creation, no help is detected for any attribute but the date. Honestly, I don't have a clue on what's happening. -
Hi all,
how can I delete a dynamically created context node by runtime?
I want to delete the node completly not just invalidate its elements list. Moreover I want to delete a certain node so the method reset() for the context is not useful here.
Thanks in advance for all answers,
Regards,
TorbenHi Val,
Thanks for the update.
Regarding the reset method: I am trying to use the reset() method before I am recreating my dynamic context but I when I recreate my dynamic context I receive an error: "Cannot add element with duplicate ID "addText0" as if it still exists. Any idea why it's not being destryoed?
Message was edited by:
Roy Cohen -
I want the read the value of a field,'LCSTATUS' belonging to context node 'BTADMINH' in the GET_I method of the field, 'ZZFLD000008' belonging to context node,'ZBTACTIVITYH'.
In the context node class of context node 'ZBTACTIVITYH',I have created an instance attribute,GR_OWNER type ref to context class.
I get the following error in the line - lv_act_status = Lr_entity->if_bol_bo_property_access~GET_PROPERTY_AS_STRING( 'LCSTATUS' ).
'An exception (CX_CRM_CIC_PARAMETER_ERROR) occurred Message no. TPDA430'
I have used the below code.
method GET_I_ZZFLD000008.
DATA: current TYPE REF TO if_bol_bo_property_access,
lv_act_status TYPE string.
DATA:lr_entity TYPE REF TO cl_crm_bol_entity,
lr_current TYPE REF TO if_bol_bo_property_access,
lr_parent TYPE REF TO cl_crm_bol_entity.
rv_disabled = 'TRUE'.
if iterator is bound.
current = iterator->get_current( ).
else.
current = collection_wrapper->get_current( ).
endif.
CHECK gr_owner IS BOUND.
lr_entity ?= gr_owner->btadminh->collection_wrapper->get_current( ).
CHECK lr_entity IS BOUND.
lv_act_status = Lr_entity->if_bol_bo_property_access~GET_PROPERTY_AS_STRING( 'LCSTATUS' ). "error states that lcstatus can't be used here.
TRY.
IF current->is_property_readonly(
'ZZFLD000008' ) = abap_false. "#EC NOTEXT
rv_disabled = 'FALSE'.
ENDIF.
CATCH cx_sy_ref_is_initial cx_sy_move_cast_error
cx_crm_genil_model_error.
RETURN.
ENDTRY.
endmethod.Hi,
LCSTATUS is not an attribute of the BTADMINH structure. It is read using the relation to the status object
BTADMINH-> BTHeaderStatusSet-> BTStatusHCurrent-> ACT_STATUS.
Try reading the ACT_STATUS of object BTStatus as given below.
data: coll type ref to if_bol_entity_col.
data: entity type ref to cl_crm_bol_entity,
lv_act_status TYPE string.
entity ?= current. "BTADMINH entity.
coll = entity->get_related_entities(
iv_relation_name = 'BTHeaderStatusSet' ). "#EC NOTEXT
current = coll->get_current( ).
entity ?= current.
coll = entity->get_related_entities(
iv_relation_name = 'BTStatusHCurrent' ). "#EC NOTEXT
current = coll->get_current( ).
try.
lv_act_status = current->if_bol_bo_property_access~GET_PROPERTY_AS_STRING( 'ACT_STATUS' ).
catch cx_crm_cic_parameter_error.
endtry.
Regards JP -
How to map nodes to an embedded Component during runtime?
Hi,
I embed a Component (<i>BasisComponent</i>) in a new created Component (<i>MyComponent</i>) to use some funcionality from it. Therefor, I have to map some ValueNodes from <i>MyComponent</i> to <i>BasisComponent</i> during designtime to transfer the data. I thought, I could use External-Context-Mapping for that. That means I've created a ValueNode in <i>BasisComponent</i>'s InterfaceController and declared it for ExternalContextMapping (let's call it <i>ExtNode</i>.
Because I want to use this basis functionality from different embedding Components (<i>MyComponent1, MyComponent2</i>, etc.), I can't declare the structure of <i>BasisComponents ExtNode</i> yet, it's just an empty ValueNode.
Now, I want to map from my using Components their different ValueNodes to <i>BasisComponents ExtNode</i>.
How to do that? Or is there another possibility to put different value-nodes from different components to the same Node in my <i>BasisComponent</i>? Can this be done during designtime? I believe it can be definitively done during runtime....
kr, achimAchim,
Let me use your example and explain what in fact will work when you are creating attributes/nodes only at design time.
Let us define context in BasicComponent as:
- MyRoot (0..n, selection 0..1, singleton)
|-MyInt (int)
|-MyString (string)
Say, ComponentA has the following context structure:
- rootNode (0..n, selection 0..1, singleton)
|-attA (int)
|-attB (string)
|-attX (string)
--attC
Then you can easly map rootNode of ComponentA to MyRoot of BasicComponent, attA -> MyInt, attB -> MyString, attX left is not used for mapping.
=============
Same is true for ComponentB with
- RootOfBNode (0..n, selection 0..1, singleton)
|-attIgnored (date)
|-attA_INT (int)
|-attB_STR (string)
|-attY (string)
--attZ
ComponentB.RootOfBNode -> CU of BasicComponent.MyRoot, attA_INT -> MyInt, attB_STR -> MyString, attY and attIgnored are not used for mapping.
=============
However, if context of ComponentA is defined as
- rootNode (<b>0..1</b>, selection 0..1, singleton)
|-attA (int)
|-attB (string)
|-attX (string)
--attC
...then you are out of luck -- wrong cardinality of node.
Moreover, this case also fails
- rootNode (0..n, selection 0..1, singleton)
|-attA (string)
|-attB (string)
|-attX (string)
--attC
Here all attributes are strings so mappings will be incomplete. To fix this you need at least fake attribute in rootNode.
And mostly important fact: if you can't map nodes in designer due to mismatch context structures the any dynamic (at run-time) mapping will fail as well in majority of cases.
Valery Silaev
SaM Solutions
http://www.sam-solutions.net -
Dynamic reverse context node mapping at runtime
Hi!
I have an application which uses another embedded component containing a ALV table which shows the data of a transparent table.
Everything works fine if i'm working with a static table with static attributes and map the context node of the application to the node in the embedded component. The context node in the embedded component is reversed mapped and gets its data from the application's context node.
Now i want to do it dynamically. Inside the application the user should choose the name of a table and I'm using RTTI functions to get it's technical informations. At runtime i'm adding dynamically attributes (i.e. fieldname, type, length) to a static context node called 'DATA'.
The ALV component of the embedded component is mapped to an interface context node named 'DATA' which uses reverse mapping to receive data from the applications context node 'DATA'.
What I need to know is how to create the mapping between application context node and interface context node of the embedded component at runtime after i have created the attributes of the node dynamically. Is that basically possible?
I've already tried to map the both nodes statically to see if the dynamically created attributes are mapped automatically then. The mapping seems to be fine at node level, but doesn't work for the later dynamically added attributes.
Could someone point me to informations if dynamic mapping context nodes is basically possible and how to do it?
Regards
Ralf-J.Hi Lars!
Thanks for the link! The problem isn't to fill the context node dynamically. That's already working using RTTI etc.
It seems to me that the interface context node of the ALV in the embedded component doesn't recognize the dynamically added attributes. As i wrote the binding on node level (DATA->DATA), which i'm doing at design time, is working as expected, but the added attributes are only shown in the context node of the using component but not in the embedded.
I'm still thinking there must be a way to do a binding at runtime. On the other hand the comment of Glenn in the thread you've pointed me to, seems to suggest that the ALV itself might have problems with dynamically appended attributes.
Regards
Ralf-J. -
How to switch ON/OFF Unassigned Hierarchy Nodes during Query Runtime?
We have a GL Account Hierarchy based on an FSV that we use in BW reports.
All our reports are web reports accessible via BW Portal.
This hierarchy has an Unassigned Node also that we have suppressed (switched off) for display via Hierarchy Attributes Settings.
When you check the Suppress Unassigned Node box the unassigned nodes do not show on the report.
This has been working fine so far until we have this one requirement where user would like to see unassigned GL Accounts also.
We would like to check/uncheck this flag (Supress Unassigned Node) during the query run time.
Is there a way to control showing/hiding of unassigned node of a hierarchy during query runtime?Hi Ram,
If you have set hierarchy attribute as display unassigned node, then you can simply select the root as filter in order not to display the unassignd node.
However if you have set hierarchy attribute as suppress unassigned node, then you can't choose the unassigned node by the filter.
So if users want both, you need to set hierarchy attribute as display unassigned node. You cannot really change this setting at runtime by user.
Regards,
Patricia -
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,
SamHii.. 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 -
Adding dynamic attributes to static context node
Hi All,
I have defined a context node LINES with several attributes. This is done staticly during developmenttime.
During run-time node LINES is extended with several attributes dynamicly. See below:
10 HEADER_GUID ->
11 DETAIL_GUID ->
12 EXTERNAL_ID ->
13 OBJECT_TYPE ->
14 IN_OUT_PLAN ->
15 TRAFFIC_LIGHT_1 ->
16 TRAFFIC_LIGHT_2 ->
17 TRAFFIC_LIGHT_3 ->
18 TRAFFIC_LIGHT_4 ->
19 _LOCATION \TYPE=STRING ->
20 _ZZTOPGROUPING \TYPE=STRING ->
21 _STATUS \TYPE=STRING ->
22 _100000200 \TYPE=STRING ->
19..22 are added dynamicly.
I have an internal table that matches de new context. This <fs_tb_tree_new> I want to bind like:
*&- bind table
lr_node->bind_table( new_items = <fs_tb_tree_new>
set_initial_elements = abap_true ).
In <fs_tb_tree_new> the dynamicly added attrbutes contains values e.g. (the static attributes also have values via <fs_tb_tree_new>):
_LOCATION _ZZTOPGROUPING _STATUS _100000200
5 Africa 0002 Reporting Entity 0.000
6 Russia, CIS 0003 Identify 0.000
An ALV presents the values of the attribute. But.... only the values of the static part are presented, not the dynamic attributes added during runtime.
Please advise what I forget or do wrong .
Thanks in advance.
JohnI solved the issue:
If you use a combination of static attributes added with dynanic attributes (during runtime) for dynamic ALV, I advise to create a new node and bind the values to this new created node:
Cheers, John
wd_this->extend_context( EXPORTING im_struc_descr = lr_cl_abap_structdescr
IMPORTING ex_node = lr_node_alv ).
Method:
*&- Create new dynamic context LINES_DYN
Node for alv-table
lr_node_info = wd_context->get_node_info( ).
CALL METHOD lr_node_info->add_new_child_node
EXPORTING
name = 'LINES_NEW'
static_element_rtti = im_struc_descr
is_static = abap_true
is_multiple = abap_true
is_multiple_selection = abap_false
RECEIVING
child_node_info = lr_subnode_info.
lr_node = lr_subnode_info->get_parent( ).
lr_node = wd_context->get_child_node( 'LINES_NEW' ).
ex_node = lr_node.
*&- bind table for alv
lr_node_alv->bind_table( new_items = <fs_tb_tree_new>
set_initial_elements = abap_true ). -
Data storage in a context node and in a context attribute.
Hi All,
I want to know how exactly the data is stored in context node (internal table) and in context attribute (single value) in memory during the runtime.
Regards,
Yugesh AHi Andrea,
Sorry I got it wrong , for lr_comp you will have to take reference from controller IMPL class.
DATA:
lr_entity TYPE REF TO cl_crm_bol_entity,
lr_comp TYPE REF TO ( component controller IMPL class),
lv_ref_guid TYPE crmt_object_guid,
lr_collection TYPE REF TO cl_crm_bol_bo_col,
lr_bdc type ref to if_crm_ui_data_context,
comp_controller type cl_bsp_wd_component_controller.
lr_comp ?= me->comp_controller.
IF lr_comp IS BOUND.
TRY.
lr_entity ?= lr_comp->ZTYPED_CONTEXT->ZBTCUSTOMERH->collection_wrapper->get_current( ).
lv_ref_guid = lr_entity->get_property_as_string( iv_attr_name = 'REF_GUID' ).
CATCH cx_sy_ref_is_initial.
ENDTRY.
ENDIF.
Hope it helps.
Regards,
Manjeet Singh. -
How to read the context node of used component?
Hi,
I have component called : SRQM_INCIDENT_H. This component has used component - BTSTATUS.
Now, I need to read the context node of the BTSTATUS/UserStatus in GET Methods of Context node in SRQM_INCIDENT_H.
Can you plese help me out.
Thanks,
SandeepThe component usages can be accessed from the component controller
You should however assure that the context node is present in comp controlelr of the used component.View context nodes cannot be accessed.
if not ,then you need to goto the component BTSTATUS ,add the context node explicitly to comp controller,and do correct bindings to the view context node.
Once you add the context node to the com controller,yo also need to expose it.
go to runtime repository->component_interface->interface_controller->context->right click and select ADD CONTEXT NODE, and add you newly creatde context ndoe of comp contorller here.
Now you cann access it using the code below in your comp SRQM_INCIDENT_H
data:lr_comp_controller type ref to <ur comp controller class>lr_comp_controller ?= me->comp_controller.
lr_comp_usage ?= lr_comp_controller->get_component_usage( iv_usage_name = '<name of the comp usage as in runtime repository' ).
CHECK lr_comp_usage IS NOT INITIAL.
lr_cnode ?= lr_comp_usage->get_context_node( iv_cnode_name = '<the required context node name>' ).
Suvidha -
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 -
How to populate a context node on the basis of the values in another node?
Hi,
I have a Webdynpro application which has to run on Portal as well as BlackBerry.
In this application I have a scenario where I need to have a sub node inside a node but as Blackberry doesn't support sub nodes with Singleton value false, I have to use another node for storing the values which earlier wre present in the sub node.
The actual scenario here is that we have two tables A & B. For each row of table A we have a no of rows in table B. This can be easily accomplished for Web Browser but we need to do this for Blackberry.
My question here is that how can i populate the data in table B at runtime using the concept of onLeadSelect. I am not able to fully undersans this concept.
According to my approach I have two a while loop which generates data for table A and inside this while loop I have another while which generates data for table B corresponding to each iteration of the outer while loop. I create the node elements for the rows of the table B and store them in a list and then store this list in a HashMap corresponding to a key formed by combining the values of all the elements of the row of table A.
Now I am not able to understand how can I display this data into table on user slecting a particular row.
Please guide ASAP.
It wille quite useful if you can provide me with some code snippets for the same.
Thanks in advance!
ManishHi Manish,
In WebDynpro u can use the onLeadSelect event of table A and do all the processing in that method.Like u can use this method to fill ur context node,which will be the source node for table B. So this way u need not to use any hash map.Fill the source node of table B with data corresponding to ur selected data of table A.
I hope this solution wud help u in solving ur problem.
Reena
Maybe you are looking for
-
Cube with different reports data
Hi We have 3 different Reports based on a Multi which has only one Infocube. We have new design policy that any New different report that needs to be created should be based only on this Multi and all data should be loaded only into this only infocub
-
Get wrong bookmark levels when converting Word to PDF using Acrobat 7.0
I am using MS Word 2003, Windows XP and Adobe Acrobat 7.0. When converting a DOC to PDF, all features are perfect except the bookmarks are located at the wrong level, i.e., the first chapter "Introduction" is the first level, which is desired; but th
-
hi, i want to embed a pdf as part of a jsf page. any suggestions how to do this?
-
Problem in Shipping point det'n
Hai, I have 15 shipping points for a single plant. when am doing shipping point determination, I have entered the combination of ship cond + load grp + delplant = proposed ship point/Manual ship point ( 1-11) I would like to enter all the ship points
-
Is there any way to change user in a shell (SU command) and then change this users password (PASSWD) and then back again (EXIT) from inside of a C-program. The passwd-part is solved. The problem is that one can only change password for the current us