Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Issue with BAPI_WRF_MATGRP_CHANGE static variables

Former Member
0 Likes
690

Hi,

When I am executing the bapi BAPI_WRF_MATGRP_CHANGE  in testrun mode to assign articles to hierarchy,in some of the cases error message(article already assigned to node) is not getting displayed.In debug mode i found that there is one static parameter p_hierid which retains the old values for the next run of bapi also.

How to clear the static variables here.

Please help me to solve this.

Thanks

Madhavi

Hi,

When I am executing the bapi BAPI_WRF_MATGRP_CHANGE  in testrun mode to assign articles to hierarchy,in some of the cases error message(article already assigned to node) is not getting displayed.In debug mode i found that there is one static parameter p_hierid which retains the old values for the next run of bapi also.

How to clear the static variables here.

Please help me to solve this.

Thanks

Madhavi

1 REPLY 1
Read only

deependra_shekhawat3
Contributor
0 Likes
541

Hi Madhvi,

Where you are get static variable ? is it in BAPI ?

could you please explain little bit more?

Deependra