cancel
Showing results for 
Search instead for 
Did you mean: 

PM -order operations - customer-fields

MariaJoãoRocha
Contributor
0 Kudos

Hi SDN,

We used customizing activity 'Define User Fields' (Transaction 'OILJ' ) to define user fields and store them under a field key,.and assigned the key to an operation in a maintenance order

Is it possible to list this client fields in the list operation report (TC IW39/IW49N)? How?

Thanks in advance.

Maria João Rocha

Accepted Solutions (1)

Accepted Solutions (1)

MariaJoãoRocha
Contributor

Hi Narasimhan ,

Thanks for your information.

I've implemented the BADI BADI_EAM_SINGLELEVEL_LIST at test environment, but how can i access the customer fields in AFVGD (include AFVUI) (they are visiible at operation item level, in order detail)? How can we append the output strcuture RIHAVFC (TC IW39 - operation list)?

Best regards,

Maria João Rocha

Former Member
0 Kudos

Maria João Rocha,

There should be two methods associated to this BADI, FILL_ADD_FIELDS and CHANGE_FIELD_CATALOG. You would need to use these methods to populate the contents and change the field catalog, create Field groups. The output structure for the appropriate program(Remeber this BADI is used by all single level list within PM) is passed into the "Fill_add_fields" method.

So basically as first step create a new append Structure for RIHAFVC using transaction se11. Add the custom fields to this append structure based on key ID.So if i have two different key ID and each having 7 fields each i would define 14 new custom fields with the text description that you have named in the config.You will not be able to include the AFVUI structure directly due to the naming conflict that would arise.You could then use the implementation associated to the FILL_ADD_FIELDS method to populate the appropriate fields based on the key. You would need to implement this logic based on the structure that's passed in (RIHAFVC in this case) and use the key to gather the User defined values associated to the operation.

Hope the suggestion helps.

Regards

Narasimhan

Answers (2)

Answers (2)

MariaJoãoRocha
Contributor
0 Kudos

Thanks for your reply Pushpa.

I supose WOC0004 is for fields at maintenance order level.

I need to list the fields at operation level (the fields are at hte include AFVUI of table AFVU.

Can you pelase help?

Best regards,

Maria João Rocha

Former Member
0 Kudos

Mario,

If you are in ECC 6.0 with Enhacement pack level 3 you should be able to use BADI BADI_EAM_SINGLELEVEL_LIST of enhancement spot ES_EAM_LIST_ENHANCEMENTS which will help you to add new fields and populate the content for the same as well for this standard report.

If you are in older versions you will have to copy and make changes to the report to get the same data.

Regards

Narasimhan

Former Member
0 Kudos

Hi,

This was discussed many times u can search the forum ..

Check if the below exit works :

IWOC0004 Change single-level list editing PM/QM/SM ALV settings

Have a look at Enhacement Spots also

regards

pushpa