cancel
Showing results for 
Search instead for 
Did you mean: 

dynamic context supply-function

Former Member
0 Kudos

Hi,

I try to create a dynamic context and add a supply-function to the context node.


rootnode_info->add_new_child_node
( 
name = lv_nd_name 
is_multiple = abap_true 
SUPPLY_METHOD = 'DEL_LEADING_ZEROS' 
). 

But the "DEL_LEADING_ZERO" method is never called by the framework.

There is another parameter "called supply" object maybe this is needed too.

But if I create the node in this step I canu2019t give the creation process the result of the creation processu2026

Please suggest me how to proceed further.

Thanks.

Accepted Solutions (1)

Accepted Solutions (1)

uday_gubbala2
Active Contributor
0 Kudos

Hi,

You cannot create methods (normal/supply function) dynamically. You can however only dynamically map the action(s) to be performed to methods created during the design time.

Regards,

Uday

Former Member
0 Kudos

Hi,

thanks for your response.

I solved my problem by using the WDDOAFTERACTION method... to delete the leading zeros.

Regards

Answers (0)