cancel
Showing results for 
Search instead for 
Did you mean: 

Trigger Supply Function Explicitly

jitendra_it
Active Contributor
0 Kudos

Hello ,

I have a drop down which contains a list of Activities. For Drop down i have used a Supply function to fill values during start of application.

User can add/delete the activities from that drop down.

Now I have to refresh Drop down,  so Can I call Supply Function for that  OR any other way to refresh it

Accepted Solutions (1)

Accepted Solutions (1)

ramakrishnappa
Active Contributor
0 Kudos

Hi Jitendra,

Yes, you can trigger Supply Function explicitly by using method INVALIDATE( ) of interface if_wd_context_node as below


METHOD REFRESH.

data lo_node      type ref to if_wd_context_node.

lo_node = wd_context->get_child_node( name = 'MY_NODE' ).

lo_node->invalidate( )

ENDMETHOD.

Hope this helps you.

Regards,

Rama

Answers (2)

Answers (2)

former_member222068
Active Participant
0 Kudos

Hi Soni,

Invalidate the node, to refresh or re-fill the node.

Thanks & Regards,

Sankar Gelivi

Former Member
0 Kudos

Which drop-down you are using by key or index ??

I don't think you really required supply function to fill data in any drop-down.. And on action of delete/add just repopulate the valueset / itab of drop down.