Quantcast
Channel: SCN : All Content - ABAP Development
Viewing all articles
Browse latest Browse all 8332

How to clear SAP Memory set using SET PARAMETER

$
0
0

Hi,

 

I know this is a repetitive question in SCN. But I couldn't resolve the issue using the solution already provided here.

 

I have an ALV output, in which one field is for Process Order, which is shown as hyperlink.

When you click on any process order, it should call COR3 with the selected Process order.

 

My problem is always the first process order is getting displayed always.

i.e. I select order O1 and it goes to COR3 to display O1. If I come back and select O2, it goes to COR3 to display O1 again.

 

I am using the following code for this requirement.

          v_aufnr = wa_final1-proc_order.

          SET PARAMETER ID 'ANR' FIELD v_aufnr.

          CALL TRANSACTION 'COR3' AND SKIP FIRST SCREEN.

          CLEAR v_aufnr.

          SET PARAMETER ID 'ANR' FIELD v_aufnr.

 

Still it is not working.

 

Any help will be greatly appreciated.

 

Regards,

Shail.


Viewing all articles
Browse latest Browse all 8332

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>