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

Refresh tab ME22n

Former Member
0 Likes
908

Hi,

I'm search for a solution to force the transaction me22n to reload data for the tab 'Confirmation'.

The main problem:

If a new item is posted by the user alle the entries in the confirmations tab of pos 0010 should be copied to the new position.

I used the badi ME_PROCESS_PO_CUST and in the method post i do a call for the FM

....

CALL FUNCTION 'ME_CONFIRMATION_UPDATE' "ekes updaten
       EXPORTING
         i_ebeln = l_headerdata-ebeln
       TABLES
         xekes   = lt_ekes.

....



Everything works fine exeept the refresh of the Confirmations tab. The old data is showen. If you call me22n again you will see everything is fine.

But i need to refresh the tab after the user enters the new item and the system copies the confirmation.


Best regards,

Nikolaus


1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
703

So as is found no better solution, i call a z programm in the badi in the post method with 'leave to transaction'. in the ZProgramm i call me22n again. The badis does the errorchecking and so ill get my detailscreen refreshed!

Hi,

I'm search for a solution to force the transaction me22n to reload data for the tab 'Confirmation'.

The main problem:

If a new item is posted by the user alle the entries in the confirmations tab of pos 0010 should be copied to the new position.

I used the badi ME_PROCESS_PO_CUST and in the method post i do a call for the FM

....

CALL FUNCTION 'ME_CONFIRMATION_UPDATE' "ekes updaten
       EXPORTING
         i_ebeln = l_headerdata-ebeln
       TABLES
         xekes   = lt_ekes.

....



Everything works fine exeept the refresh of the Confirmations tab. The old data is showen. If you call me22n again you will see everything is fine.

But i need to refresh the tab after the user enters the new item and the system copies the confirmation.


Best regards,

Nikolaus


1 REPLY 1
Read only

Former Member
0 Likes
704

So as is found no better solution, i call a z programm in the badi in the post method with 'leave to transaction'. in the ZProgramm i call me22n again. The badis does the errorchecking and so ill get my detailscreen refreshed!