cancel
Showing results for 
Search instead for 
Did you mean: 

Conditions on Planning Layout

Former Member
0 Kudos

I have a template where quantity and price are inputed against material. The requirement is that every time the user enters the layout (s)he should only see those quantities for which price is not yet entered or zero. For example:

Day 1:

Mat1 20 $1 <-- User Entry

Mat2 10 <-- User Entry

Mat3 25 <-- User Entry

On day 2, when the user opens this template he should only see

Mat2 10

Mat3 25

Is this possible?

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

I will try to take a shot at it.

1. Create an exit type function under the same level as the layout. In the exit function go through the records read in XTH_DATA and take the records which have material price into another internal table (global to FM) and delete the same from XTH_DATA.

2. Create another exit function in this add the records stored in the internal table back to XTH_DATA.

3. In the planning folder attach the first function on layout display and the second on save.

try it out.

thanks

Former Member
0 Kudos

Any takers for this topic?!?