cancel
Showing results for 
Search instead for 
Did you mean: 

Refresh of PA30 after Batch Input in Dynamic Action (T588Z, BDC)

timo_ehl3
Participant
0 Kudos

Hi out there,

1. i did dynamic action after change in field trfgr in IT 0008.

2. In called Report/Form i submitted a new report

3 In Called Report i first deque current PERNR and than i update it0008 LGART (Payment)

So far, so good.

But after comming back (leaving save event) to main screen of PA30 (the screen where to choose IT) and clicking DISPLAY

IT 0008, the changes in LGART are not visible.

When i click the EDIT Icon by choosing IT0008 the update, did before, appears.

So the problem is...i first have to leave transaction an then starting again.

Is there any commit/buffer problem?

I already try to play again a bdc map, to simulate upper steps (calling IT0008 in edit mode) in background. But still the same effect.

ANY IDEA?

Accepted Solutions (0)

Answers (1)

Answers (1)

ted_dinh
Active Contributor
0 Kudos

In the program you called to update infotype, add statement LEAVE TO CURRENT TRANSACTION at the end. This will refresh memory so your change can be seen right after (w/o having to exit transaction and come back).

Rgds.

timo_ehl3
Participant
0 Kudos

Hi,

i just tried your hint. Very Good. The refresh problem is solved!

But unfortunately not usefull in Dynamic Actions T588Z. Because the step by step processing is stopped after this command.

This question is not answered yet

ted_dinh
Active Contributor
0 Kudos

What other steps you'll need to do in dynamic actions after wage type is updated in IT0008 ? If it's just going back into

IT0008, you could try to issue command 'LEAVE TO CURRENT TRANSACTION AND SKIP FIRST SCREEN).

timo_ehl3
Participant
0 Kudos

Hi,

there are more then one dynamic action for it0008 and the corresponding field.

After changing data in this field probably one action is:

1. Update Wagetype (My Report)

2. Printing via Report 1

3. Sendig Mail via Report 2

4. Update ITXXXX via Report3

...

...and so on

If I use the command LEAVE TRANSACTION the dynamic action 2,3,4 is not processed. Without LEAVE TRANSACTION it works fine...but without refresh