Hi,
I'm facing some issue in flat file (CSV). I want to create a start routine in transformation.
REQUIREMENT:
In CSV file there are Spare Part Name and its Unit Cost repeat 10 times like Part1&UCost1,Part2&UCost2...................Part10&UCost10
90% Part1&UCost1 to Part5&UCost5 fields are filled it means Part6&UCost6 to Part10&UCost10 are empty.
in other words
10% Part1&UCost1 to Part10&UCost10 fields are filled.
Now I need to create a start routine which looks into PSA if a record contain only 1set of Part1&UCost1 or 2sets of Part1&UCost1 ,Part2&UCost2 or all 10sets of Part1&UCost1.....................Part10&UCost10 then load them to define one set of InfoObjects i.e. Spare Part Name(ZSPR_PART) and its Unit Cost(ZUNIT_CST)
Not having that good knowledge on ABAP. So, help needed in writing a routine.
With Best Regards,
Imran