cancel
Showing results for 
Search instead for 
Did you mean: 

Maintenance Packages for a Task List

vivek_goenka
Explorer
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi

refer Tables

like

MPLA

MPOS

Regards.

Sujit

vivek_goenka
Explorer
0 Kudos

Hi Sujit

Thanks for your reply.

I have already looked into those tables and many more.

I couldn't find any table from which I could get the data and populate the above mentioned structure for Maintenance Package.

Moreover, I also want to know why there are exactly 32 fields for KTEXTZYK, ranging from KTEXTZYK01 to KTEXTZYK32.

As soon as you find something, please let me know.

Thanks & Regards

Vivek