how to retreive data from structure MDEZ in T.code CO09
As per our requirement 2 new columns are needed in a customize report .i.e
- u201Cinc. lot dateu201D
- u201Cavailable inc. lotu201D
u201Cinc. lot dateu201D:to get the values for inc.lot.date
From second screen of CO09(program: SAPLATP4 and screen number: 400) pick first date where MRP element is u201CPOitemu201D, u201CShpgNtu201D or u201CPrdOrdu201D.
u201Cavailable inc. lotu201D: to get the values for available inc.lot
Pick u201CCum. ATP QTyu201D from the same row.
These data are stored in structure MDEZ. Actually I want dat00 and MNG04 based on field DELB0. If DELB0 filed is POitem or Prdord or ShpgNt then only I should retrieve the dat00 and MNG04. IF there are more than one POitem in MRP element then we should pick the first POitems' mrp date and *** ATP qty .Can you please help me out how to get these data from the structure MDEZ.
input parameters to get the values are material number and plant.