Skip to Content
0
Aug 03, 2009 at 10:28 AM

Logic required For Handling Unit Flag Calucation in report

43 Views

Hi Experts,

I have one issue as below.

I need to calcuate and update the flag status in internal tableI (it_vepo). The internal table consits of 3 fields internal Handling unit number (VENUM) , material ( MATNR) & FLAG.

The flag is of type Char(5).

Requirement:

More than one material can be assigned to one Handling Unit(venum). The flag will show if a Handling Unit has one material connected or several ones.

Table from where we need to calcuate the the flag:

SAP Table:VEPO

Technical field: Internal Handling Unit Number(venum), Material Number(matnr).

Calucation Rule:

u2022 If Internal Handling Unit Number has one material connected ->needed to show u201CMONOu201D

u2022 If Internal Handling Unit Number has more than one material connected->needed to show u201CMULTI.

u2022 If Internal Handling Unit Number has no one material connected -Material Number is in blank (not informed)- >

display blank

Hope its clear now.

Thanks,

Sunil kairam.