cancel
Showing results for 
Search instead for 
Did you mean: 

Prevent saving User view of MD04 after CALL TRANSACTION 'MD04'

Former Member
0 Kudos

Hello,

i am USING CALL TRANSACTION 'MD04' in a Report.

Somehow md04 acts different from the direct normal start from the SAP GUI.

Normally md04 always shows all current requests, planorders s.o.

When jumping into md04 via CALL TRANSACTION, it somehow creates a User_Session specific view of the current md04. So when reentering md04 via CALL TRANSACTION it keeps showing the planning situation from the first call. Info Message MD451 appears.

Is there any Parameter that you might give with bdctab to let md04 act as if you are starting it directly and prevents any saving of the md04…

Any help appreciated.

Thanks!

Accepted Solutions (1)

Accepted Solutions (1)

Caetano
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello

The system behavior is explained on the following note:

303441MD04: No automatic refresh when changing material

The note provides the following explanation:


Within the requirements/stock list (Transaction MD04), you change to a material which you have already displayed. The data is not imported automatically again. The system displays the data from the first call of this material.
In the status bar, the system displays message MD451 ('The list was created at XX:XX hours') and in the title, it displays the time of the last import of the material.

It also suggests the modification below, that can be implemented to prevent this system behavior:


This note contains a modification with which you can change the system behavior described above.

The size of the list (that is, the number of the lines) is used as indicator for the decision whether the requirements/stock list is read from the buffer or set up again.

Using the modification you can set up to which number of lines data should be imported again.

For this, a constant 'GC_MAXLINES' exists in program 'MM61RTOP'. This is delivered with value '0' in the R/3 Support Package. With this value the system behaves as described above.

If you, for example, enter value '200' here, then up to a number of 200 lines, the data is read from the database again. From a number of 201 lines the data is read from the internal buffer, if available.

BR
Caetano

Answers (0)