Remove context node function
Hi
I know the use of remove context node function. Even I have gone through couple of weblogs that are available on the sdn. But I would like to know.........whether remove context node function is mandatory in any case ?? I believe even we can directly map the source and target fields which are in different contexts. If it is the case ......if we can do it without remove context node function.......what is the importance of remove context node function ?? Is there any performance issue ......to use this node function ??
thanks
kumar
Hi palnati
<i>if we can do it without remove context node</i>
---> Yes you can avoid remove context. This can be done by changing the context of source field to one parent above. This will collect all the source values in same context.
for example, consider following mapping
Amount -
> (removeContext)--> sum--
> target field
will be same as
Amount(change context to parent of parent)-->sum-----> target field.
Hope this helps.
Regards
Similar Messages
-
Hi!
I have 2 views and I navigate forth and back. On the second view I am creating a context node dynamically in method HANDLEFROM_INPUT_VIEW. Everything works fine for the first time. However, if I go back from the second view to the first one and then again navigate to the second view, the system attempts to create the new node with the same name like the existing one and I get a short dump (an exception cx_wd_context=>child_already_exist).
I tried to delete the existing node by using the below code, which I placed in methods WDDOINIT, HANDLEFROM_INPUT_VIEW (before creating the node), ONACTIONBACK and WDDOINIT, but it didn't help. What can I do?
DATA: lr_info TYPE REF TO if_wd_context_node_info.
* delete existing node (if there is one)
TRY.
lr_info = wd_context->get_node_info( ).
lr_info = lr_info->get_child_node( 'DB_TABLE' ).
lr_info = lr_info->get_parent( ).
lr_info->remove_child_node( 'DB_TABLE' ).
CATCH cx_root.
ENDTRY.
Thanks in advance!
KR,
IgorHi, Lekha,
I tried with no success. I debugged it and saw a strange result. Here is the new code:
TRY.
lr_node = me->wd_context->get_child_node( 'DB_TABLE' ).
lr_node->invalidate( ).
lr_info = me->wd_context->get_node_info( ).
lr_info = lr_info->get_child_node( 'DB_TABLE' ). "test to see is there such node
lr_info = lr_info->get_parent( ).
lr_info->remove_child_node( 'DB_TABLE' ).
CATCH cx_root INTO lr_error.
l_error_text = lr_error->get_text( ).
ENDTRY.
lr_info object seems consistent in debugger, lr_info->get_child_node( 'DB_TABLE' ). returns a valid object, but later the statement lr_info->remove_child_node( 'DB_TABLE' ). fires exception which says: Static Node ZTEST_COMPONENT#OUTPUT_VIEW.CONTEXT Cannot Be Deleted. But I am trying to remove 'DB_TABLE'. Why am I getting message as if I was trying to delete the entire context?
KR,
Igor -
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 Gurus,
I have a requirement like below desc, Is UDF required for this?!! or Can we manage with Node Functions?!!!
Source File: ( File )
a) PO_TYPE
b) Style1
c) Style2
Note: Style1 leads to Headernode and Style2 leads to ChildNode, Style1 and Style 2 are interconnected.
Target File: ( Idoc )
a) Header Node ( EHDRNDE)
b) Child NOde ( CHLDNDE)
And my question is.... I have to populate Header Node and Child Node in target side on certain conditions of the source file. they are;
I) Whenver a different style1 comes in file...I have to create a Headernode for that in target file. Style1 can contain number of Style2 nodes with the same node. like
Ex:
i) Style1 -
Style2a, Style2b, Style2c
ii) Style1 ....... Style2aa, Style2ab.
For this above requirement, I have to create corresponding target nodes for Header ( Style1 ) and as well as for Child ( Style2)
for ex1: it should be one Header node in target and 3 corresponding child nodes
for ex2 : It should be One Header Node and 2 child nodes
For this requirement...can we use node functions....if it is...could you please help me.
....Stallin
Edited by: stallin xavier on May 1, 2008 4:18 AMHi,
You can do it by using node function as well as UDF also.
1) If your sequence is sorted and always come in sorted order only e.g. 1st come only style1 node and child node and then come all nodes from style 2 then u can use node function.
2) for parent node use collpse context then remove context.
3) for child node 1st differntiat according to your condition and then use split by value(value change)
4) If occurance of style1 node and style2 node is not fixed then you don't have any option you have to write UDF.
I think this will help you.
Regards,
Rohit.
Reward points if helpful -
Node Functions in XI, I am new to XI
Hi ,
i am new to XI, i need some documentation regarding Node Functions.
Regards,
kumarHi,
.SplitByValue:
The SplitByValue() function is the counterpart to removeContexts(): Instead of deleting a context, you can insert a context change in the source value queue. You then receive this element for each inserted context change instead of a top node element. However, for this to be possible, the top node source field must be assigned a top node target field and minOccurs must be >0. You can insert a context change in the queue after each value, after each change to the value, or after each tag without a value.
2.RemoveContexts:
You use removeContexts () to delete all the top contexts for an element. This removes all top hierarchy levels, so that all elements of the target queue are assigned to a root element of the source queue.
Advanced user-defined functions can import either just one context into the input arrays, or complete queues. Make your selection by selecting or deselecting the Save Entire Queue in Cache checkbox in the function editor.
3.CreateIf:
CreateIf node function is used to create a node if true value is passed to it otherwise suppress it.
4.collapseContext
To remove the context in between the value and transfer only one value at a time
5.: useOneAsMany
First Input:
The value which is needed to be repeated.
Second Input:
It defines how many times the first input should be repeated.
Third Input:
It define when the context should be changed (on the basis of the required output
Please go through the given link hope it will be helpful to you.
/people/sravya.talanki2/blog/2005/12/08/message-mapping-simplified-150-part-ii
http://help.sap.com/saphelp_nw04/helpdata/en/79/2835b7848c458bb42cf8de0bcc1ace/frameset.htm
Message Mapping Simplified Part II
/people/sravya.talanki2/blog/2005/12/08/message-mapping-simplified-150-part-ii
Replication of Nodes Using the Graphical Mapping Tool
/people/claus.wallacher/blog/2006/04/17/replication-of-nodes-using-the-graphical-mapping-tool
Message Splitting Using the Graphical Mapping Tool
/people/claus.wallacher/blog/2006/06/29/message-splitting-using-the-graphical-mapping-tool
Refer these links for more information on Node function:
http://help.sap.com/saphelp_nw04/helpdata/en/ee/bf9640dc522f28e10000000a1550b0/frameset.htm
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/6658bd90-0201-0010-fbb6-afe25fb398d3
/people/claus.wallacher/blog/2006/04/17/replication-of-nodes-using-the-graphical-mapping-tool
Check this weblog where claus have mentioned with examples:
/people/claus.wallacher/blog/2006/04/17/replication-of-nodes-using-the-graphical-mapping-tool
/people/claus.wallacher/blog/2006/06/29/message-splitting-using-the-graphical-mapping-tool
/people/claus.wallacher/blog/2006/08/15/duplicating-subtrees-and-numbering-them-using-the-graphical-mapping-tool
Also check this weblogs:
/people/sravya.talanki2/blog/2005/08/16/message-mapping-simplified--part-i
/people/sravya.talanki2/blog/2005/12/08/message-mapping-simplified-150-part-ii
Split by value -
http://help.sap.com/saphelp_nw04/helpdata/en/21/3bb8c495125e4eb5969f0377885fe0/content.htm
For value mapping check this video presentation and weblog:
/people/sreekanth.babu2/blog/2005/02/23/value-mapping-replication
/people/community.user/blog/2007/01/08/valuemapping-using-the-graphical-mapping-tool
https://www.sdn.sap.com/irj/sdn/docs?rid=/webcontent/uuid/110ff05d-0501-0010-a19d-958247c9f798#xi [original link is broken]
/people/claus.wallacher/blog/2006/04/17/replication-of-nodes-using-the-graphical-mapping-tool
Function formatByExample:
/people/sundararamaprasad.subbaraman/blog/2006/02/21/real-example-for-formatbyexample
Split by value, remove context and collapse context:
/people/sravya.talanki2/blog/2005/12/08/message-mapping-simplified-150-part-ii
Please reward points if it helps
Thanks
Vikranth -
Node functions in real time scenario
can any one tell me where node functions used in realtime explain with examples?
thanx®ards
narenHey,
1. remove context:
You use removeContexts () to delete all the top contexts for an element. This removes all top hierarchy levels, so that all elements of the target queue are assigned to a root element of the source queue.
Advanced user-defined functions can import either just one context into the input arrays, or complete queues. Make your selection by selecting or deselecting the Save Entire Queue in Cache checkbox in the function editor.
2. split by value:
The SplitByValue() function is the counterpart to removeContexts(): Instead of deleting a context, you can insert a context change in the source value queue. You then receive this element for each inserted context change instead of a top node element. However, for this to be possible, the top node source field must be assigned a top node target field and minOccurs must be >0. You can insert a context change in the queue after each value, after each change to the value, or after each tag without a value.
3. collapse context:
Using collapseContexts() puts the first values of all contexts into a context. Empty contexts are replaced with an empty string:
This can be useful if an upper-level node is to be created each time a lower-level node exists, for example. The function is useful in combination with the SplitByValue function.
4. Use one as many
You require the function useOneAsMany() if a field that only occurs once needs to be replicated as often as another field occurs in the outbound message so that the fields can be written to the target structure in pairs as a record.
http://help.sap.com/saphelp_nw04/helpdata/en/2c/2d8c4024d26e1de10000000a1550b0/frameset.htm
5. Map with default
6.copyValue
You use CopyValue() for a frequently occurring element to copy the value of a position in the source structure and assign it to a target field. The value is copied each time the target field occurs in the target structure. However, it is copied a maximum of maxOccurs times
7.createIf
You use createIf() to create a tag in the target structure depending on a condition.
8.exists
You use this function to determine whether a particular source field exists in the XML instance to be processed. If it does, exists() returns the value true, otherwise it returns the value false.
9.Use
You use this function if you need to synchronize two queues of equal length with reference to their context change. The mapping runtime takes the values from the first queue, and the context change from the second queue. If the two inbound queues do not have the same number of values, the mapping runtime triggers an exception.
Link for Node function.
/people/claus.wallacher/blog/2006/04/17/replication-of-nodes-using-the-graphical-mapping-tool
Example:
removeContext:
We use remove context to remove the context of a queue
A ->removeContext-> A
B B
C C
here each line under an alphabet denotes context change.
One thing about context change is it will not show you null values coming in input.
A ->removeContext-> A
C
C
in above example -- represents only context change no value in this place(null).
Collapscontext :
It works very much same way of removecontext but it also considers null values and gives [] for null values (if Context of Field is on its Preceeding parent otherwice it will work as remove context)
A ->CollapsContext-> A
[] (Blank value)
C C
One more chane is if there are multiple values in a context then it will only select first value from that queue
A ->CollapsContext-> A
D B
B C
C
As you can see in above example A & D falls under one context hence D is Removed
Split ByValue :
Used to Change the Context of Input
it has three options in it
1)each value
2)value change
3)emptyValue
The link given by Rohit is Self Explanatry for this .
FormateByExample :
it changes the Context of input1 as per the Context of Second input but the number of values in both the input must be same .
eg.
Input1 Input2 ->FormateByExample-> Out
A P A
B Q B
C R C
As you can see Context of input1 is Changed as per input 2
Sorry Guest Seems To Be Some Problem With Formating
Give me you Email ID Will Send You in Proper Formate
reward points if useful.
regards,
Milan -
node functions in xi
.SplitByValue:
The SplitByValue() function is the counterpart to removeContexts(): Instead of deleting a context, you can insert a context change in the source value queue. You then receive this element for each inserted context change instead of a top node element. However, for this to be possible, the top node source field must be assigned a top node target field and minOccurs must be >0. You can insert a context change in the queue after each value, after each change to the value, or after each tag without a value.
2.RemoveContexts:
You use removeContexts () to delete all the top contexts for an element. This removes all top hierarchy levels, so that all elements of the target queue are assigned to a root element of the source queue.
Advanced user-defined functions can import either just one context into the input arrays, or complete queues. Make your selection by selecting or deselecting the Save Entire Queue in Cache checkbox in the function editor.
3.CreateIf:
CreateIf node function is used to create a node if true value is passed to it otherwise suppress it.
4.collapseContext
To remove the context in between the value and transfer only one value at a time
5.: useOneAsMany
First Input:
The value which is needed to be repeated.
Second Input:
It defines how many times the first input should be repeated.
Third Input:
It define when the context should be changed (on the basis of the required output
Please go through the given link hope it will be helpful to you.
/people/sravya.talanki2/blog/2005/12/08/message-mapping-simplified-150-part-ii
http://help.sap.com/saphelp_nw04/helpdata/en/79/2835b7848c458bb42cf8de0bcc1ace/frameset.htm
Message Mapping Simplified Part II
/people/sravya.talanki2/blog/2005/12/08/message-mapping-simplified-150-part-ii
Replication of Nodes Using the Graphical Mapping Tool
/people/claus.wallacher/blog/2006/04/17/replication-of-nodes-using-the-graphical-mapping-tool
Message Splitting Using the Graphical Mapping Tool
/people/claus.wallacher/blog/2006/06/29/message-splitting-using-the-graphical-mapping-tool
Refer these links for more information on Node function:
http://help.sap.com/saphelp_nw04/helpdata/en/ee/bf9640dc522f28e10000000a1550b0/frameset.htm
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/6658bd90-0201-0010-fbb6-afe25fb398d3
/people/claus.wallacher/blog/2006/04/17/replication-of-nodes-using-the-graphical-mapping-tool
Check this weblog where claus have mentioned with examples:
/people/claus.wallacher/blog/2006/04/17/replication-of-nodes-using-the-graphical-mapping-tool
/people/claus.wallacher/blog/2006/06/29/message-splitting-using-the-graphical-mapping-tool
/people/claus.wallacher/blog/2006/08/15/duplicating-subtrees-and-numbering-them-using-the-graphical-mapping-tool
Also check this weblogs:
/people/sravya.talanki2/blog/2005/08/16/message-mapping-simplified--part-i
/people/sravya.talanki2/blog/2005/12/08/message-mapping-simplified-150-part-ii
Split by value -
http://help.sap.com/saphelp_nw04/helpdata/en/21/3bb8c495125e4eb5969f0377885fe0/content.htm
For value mapping check this video presentation and weblog:
/people/sreekanth.babu2/blog/2005/02/23/value-mapping-replication
/people/community.user/blog/2007/01/08/valuemapping-using-the-graphical-mapping-tool
https://www.sdn.sap.com/irj/sdn/docs?rid=/webcontent/uuid/110ff05d-0501-0010-a19d-958247c9f798#xi [original link is broken]
/people/claus.wallacher/blog/2006/04/17/replication-of-nodes-using-the-graphical-mapping-tool
Function formatByExample:
/people/sundararamaprasad.subbaraman/blog/2006/02/21/real-example-for-formatbyexample
Split by value, remove context and collapse context:
/people/sravya.talanki2/blog/2005/12/08/message-mapping-simplified-150-part-ii -
Hi
Can anyone send the link that tells with the examples about the node functions in SAP PI
Thanks
RPa) Remove Contexts: - remove all higher level contents of the source level message in order to map with the target message field. So you can get the node contexts removal.
b) Split by value: - Insert Context change for an element split by value is some as counter part of remove context. Here instead of delivering the context you can insert a context change in the source value queue.
c) Collapse contexts: - Copies first values of the all contexts to one context empty context are replaced by empty string.
d) Copy Value: - How many ever times I occur I am copied just once". This is not a node function but I am explaining it as it is used very frequently in real-time. Let us take an instance of material group, which can occur as many times as the item node. But since we are mapping it to the header in the target node I just want to copy the first occurrence of material group and map it to the header node. CopyValue exactly does that.
e) Create if: - It will create a target node or element based on some condition.
f) Exists: - Function to determine whether a particular source field exists in instance to be processed. If it does it gives true or else false.
g) Use one as many: if a field that only occurs once needs to be replicated as often as another field occurs in the outbound message so that the fields can be written to the target structure in pairs as a record.
h) Replace value: - Replace the value I with the value that you desired in the dialogue for function properties.
i) Sort: - Sorts all values of the multiply occurring inbound field with in the existing or set context.
Regards...
Saathi -
hi every one
can any one of you help me with the removecontext function as it is used only when the reciever fields cardinality is 0-1
and not sure wether mapping will generate this particular field
if so please confirm and please can you give ur inputs regarding the remove context any how it is used for suppressing the reciever's field .and one more basic querie can any one brief me about what does actually context means i will be very thankfull to your reply
thanks and regards
sandeepHi,
You use removeContexts () to delete all the top contexts for an element. This removes all top hierarchy levels, so that all elements of the target queue are assigned to a root element of the source queue.
Advanced user-defined functions can import either just one context into the input arrays, or complete queues. Make your selection by selecting or deselecting the Save Entire Queue in Cache checkbox in the function editor.
Working with Contexts or Queues in User defined function
Information in Cache Implications
Context Advanced functions that only import one context do not have an identifiable context change. You can of course insert a context change into the results list.
Queue Since one or more entire queues are imported in this case, this option is more memory-intensive and is not suitable for very large messages.
For more node function refer below link:
/people/sravya.talanki2/blog/2005/12/08/message-mapping-simplified-150-part-ii
http://help.sap.com/saphelp_nw04/helpdata/en/79/2835b7848c458bb42cf8de0bcc1ace/frameset.htm
Thnx
Chirag -
Advance UDF --- Remove Context
Hi all
I want to use RemoveContext function in UDF ...as this will be based on few conditiond.
Hence i can not use the standard removeContext node function..
can any one tell me the code for doing the same..
Sheetalyou can have a remove context functionality outside the UDF itself.
Right click the source field and change the context from the parent node to the top(root) node to remove all contexts.
Note: you can indeed ADD context etc in a UDF - http://help.sap.com/saphelp_nw04/helpdata/en/b1/83a09f668320419dbe00a741e0fe6a/content.htm -
Error on enhancing context node of component CRMCMP_CAWB
Hi Experts,
I am trying to enhance the context node SEARCHQUERY of view creditwbsearchview component CRMCMP_CAWB. While doing the generated context node class is having 1 error.
This is also causing dump. Can you all please help me how to remove this error. This is bit urgent.Might need to raise OSS, cause error is in the standard class.
Regards,
Sumeet -
Error "Lead selection not set for context node"
Hi everyone,
I've got a Tree control in WebDynpro ABAP and I've implemented an "expand all" button.
Here's the coding:
METHOD expand_node_rec.
DATA lo_el_child TYPE REF TO if_wd_context_element.
DATA lo_node_children TYPE wdr_context_child_map.
DATA wa_lo_node_children LIKE LINE OF lo_node_children.
DATA lo_nd_child TYPE REF TO if_wd_context_node.
DATA lo_kschl TYPE klschl.
DATA lv_has_children TYPE boolean.
lo_el_child = node->get_element( ).
lo_node_children = node->get_child_nodes( ).
node->get_attribute( EXPORTING name = 'KSCHL' IMPORTING value = lo_kschl ).
node->get_attribute( EXPORTING name = 'HAS_CHILDREN' IMPORTING value = lv_has_children ).
IF lv_has_children = abap_true.
node->set_attribute( name = 'IS_EXPANDED' value = abap_true ).
ENDIF.
LOOP AT lo_node_children INTO wa_lo_node_children.
lo_nd_child = wa_lo_node_children-node.
me->expand_node_rec( node = lo_nd_child ).
ENDLOOP.
ENDMETHOD.
However I'm getting the error above: "Lead selection not set for context node".
Any suggestions?
Edited by: DEVELOPMENT THEMIS on Jul 7, 2011 6:34 PMhi developement Themis,
I think u didn't diclare "node" as context node. So declare it as a context node before using as a context node..as below
DATA node TYPE REF TO if_wd_context_node.
or u can use "lo_nd_child " as ur context node in ur program in place of "node"
then I think this error will be removed.
thanks,
simadri -
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 -
How to populate the context nodes based on an event
Hi All,
I am having a basic problem. I have created a new Webdynpro Abap application. Here, in the main view, i have define a text view as well as a table. I have created context nodes A and B in component controller. The attributes under A are A1 and the attributes of B are B1,B2, and B3. I have also created an action button C in the same view. These have been mapped to the context nodes in the main view. A1 is mapped to the text view and B1, B2 and B3 are mapped to the table.
My requirement is as follows. When user Clicks on execute, i want to use the value A1 from the text view in a function module and return the values to B1, B2 and B3. B1, B2 and B3 are multiple values mind you.
I have successfully executed the function module within the WDONACTIONC method. How to i accomplish this Basic Task. Please Help
Best Regards
MazinHi Mazin,
Step 3 is as follows...
Say you have a context node, you have to bind this node with table UI element, now this node must contain some context attribute which you have to bind with your columns of table. now say name of context node is cn_table. now what you have to do is get data from FM in the internal table..........
now move data by using move corresponding or by looping depending on requirement to an internal table which has fields with the same name as that of name of your attributes... this is imp to display the data...... now you can bind this internal table with context node using code below.......
data lo_nd_cn_table type ref to if_wd_context_node.
data lo_el_cn_table type ref to if_wd_context_element.
data ls_cn_table type wd_this->element_cn_table.
data it_table type wd_this->elements_cn_table.
data wa_table type wd_this->element_cn_table.
data it type standard table of t005t.
data wa type t005t.
** navigate from <CONTEXT> to <CN_TABLE> via lead selection
select * from t005t into TABLE it.
loop at it into wa.
wa_table-ca_one = wa-land1.
wa_table-ca_two = wa-landx.
wa_table-ca_three = wa-natio.
wa_table-ca_enable = abap_true.
append wa_table to it_table.
endloop.
lo_nd_cn_table = wd_context->get_child_node( name =
wd_this->wdctx_cn_table ).
* get element via lead selection
lo_el_cn_table = lo_nd_cn_table->get_element( ).
lo_nd_cn_table->bind_table( it_table ).
ca-one, ca_two, ca_three and ca_enable are name of my context attribute......
regards
Pranav
Edited by: Pranav Nagpal on Dec 22, 2008 10:08 AM -
Dynamic creation of context nodes and ui elements
Hi,
I have created context nodes dynamically. And i also want to create UI elements dynamically wherein i want to bind the attribute from the context node to it. For example i want to create a drop down by index and bind one of the attributes in the context nodes that i have earlier created dynamically to it. I do not know how to get the path to the attribute as i get IF_WD_CONTEXTNODE_INFO when i say get_child_node(). And the IF_WD_CONTEXTNODE_INFO does not have any method where in i can get IF_WD_CONTEXT_NODE from where i can get the path by get_meta_path( )
Here is the code. The problem is to get the path which is the i/p to cl_wd_dropdown_by_idx=>new_dropdown_by_idx( ) method.
DATA:
lo_root_ui_elmnt TYPE REF TO cl_wd_uielement_container,
lo_drpdwn_by_idx TYPE REF TO cl_wd_dropdown_by_idx,
lo_txt_vw TYPE REF TO cl_wd_text_view,
lo_qstn_node TYPE REF TO if_wd_context_node,
lo_optn_node_info TYPE REF TO if_wd_context_node_info,
lv_optn_data_source_name TYPE string,
lt_child_nodes TYPE wdr_context_child_map,
lo_qstn_el TYPE REF TO if_wd_context_element,
lo_optn_el TYPE REF TO if_wd_context_element,
lv_text TYPE string,
lo_qstn_node_info TYPE REF TO if_wd_context_node_info.
FIELD-SYMBOLS:
* <ls_qstn> LIKE LINE OF wd_this->mt_questions.
<ls_child_node> LIKE LINE OF lt_child_nodes.
lo_root_ui_elmnt ?= io_view->get_root_element( ).
lt_child_nodes = wd_context->get_child_nodes( ).
LOOP AT lt_child_nodes ASSIGNING <ls_child_node>.
lo_qstn_node = <ls_child_node>-node.
lo_qstn_el = lo_qstn_node->get_element( index = 1 ).
lo_qstn_el->get_attribute(
EXPORTING
name = 'QUESTION_TEXT'
IMPORTING
value = lv_text ).
lo_txt_vw = cl_wd_text_view=>new_text_view( view = io_view ).
lo_txt_vw->set_text( value = lv_text ).
lo_qstn_node_info = lo_qstn_node->get_node_info( ).
lo_optn_node_info = lo_qstn_node_info->get_child_node( 'OPTIONS' ).
* lv_optn_data_source_name = lo_optn_node_info->get_meta_path( withoutcontroller = abap_true ).
* CONCATENATE lv_optn_data_source_name '.' 'OPTION_TEXT' INTO lv_optn_data_source_name.
lo_drpdwn_by_idx = cl_wd_dropdown_by_idx=>new_dropdown_by_idx(
bind_texts = lv_optn_data_source_name
view = io_view ).
lo_root_ui_elmnt->add_child( lo_txt_vw ).
lo_root_ui_elmnt->add_child( lo_drpdwn_by_idx ).
ENDLOOP.
Regards,
Madhura Lobo
Edited by: Suhas Saha on Aug 2, 2011 11:04 AMHi Madhura,
Please check this thread and find Baskaran answer...
create new child-node in supply-function
Re: Creating Dynamic Node and Table
Cheers,
Kris.
Maybe you are looking for
-
Removing admin password form Access 2003 database front end and back end
We have a legacy database that has been passed down from the original creator, who is no longer with the organization. It was created in Access 2003. It has a front end and a back end. The original admin password can not be located and we are in the
-
Problem in the isNumeric rule in the Alpha Numeric Rule Library
The rule isNumeric present in AlphaNumericLibrary is an out of box rule. I have found that this rule returns '0' for all types of inputs (numeric/alphanumeric/alphabetic). On further investigation I found that the "append" does not work and is just r
-
After reading the docs on the IPSLA ED, I decided to write the following applet just to see if I understand how to use it. ip sla responder ip sla enable reaction-alerts ip sla 1 udp-jitter 210.210.210.1 16384 num-packets 100 interval 20 request-da
-
Can't we use GUI_UPLOAD and scshedule in background
Hi, I have a program which uploads a comma delimted text file and updates custom table. .It works fine in when I run online but when I schedule it background it fails. I used GUI_UPLOAD to upload the text file. FORM file_upload. CALL FUNCTION 'GUI_
-
Security issue with Syndication?
I'm using the Syndication package to retrieve MediaRSS XML feeds - using FeedLoadTrait. I've got an error while loading a remote feed when the SWF is published online (on another domain). I've tried many feeds URLs from various domains, and even if t