Skip to Content
0
Jun 08, 2009 at 07:34 AM

Maintenance Packages for a Task List

59 Views

Hi Everyone

I have to write code for an RFC with 3 inputs

-> I_PLNNR

-> I_PLNTY

-> IPLNAL

Based on these 3 inputs, I have to get the TaskList details table like

-> Materials

-> PRTs

-> Operations

-> Maintenance Packages.

I managed to get data for Materials, PRTs and Operations;

but not able to get Maintenance Packages.

Maintenance Package's structure is like

=================================

Component----


Component Type

=================================

OPKEY----


>CHAR40

.INCLUDE----


>IBIPMPAC

TCODE----


>TCODE_SPAC

RECORDNAME---->RECORDNAME

KTEXTZYK01----


>KTEXTZYK

KTEXTZYK02----


>KTEXTZYK

.

.

.

KTEXTZYK32----


>KTEXTZYK

=================================

I don't know how and where to get the data for Maintenance Package.

Please guide me to get the data for it and fill the table of above structure.

I also want to know,

what are the significances of OPKEY, TCODE, and RECORDNAME?

And how are they used?

Thanks & Regards

Vivek