cancel
Showing results for 
Search instead for 
Did you mean: 

Function Module to get Cost Center from Maintenance Order

former_member245085
Participant
0 Kudos

Hello Experts,

I need to get Equipment 's Cost Centre from Maintenance Order, is there any Function Module ?

Eg: If create a Maintenance order against the Equipment/Functinal Location , I want get the Cost centre in the Equipment/Functinal Location Organization Tab when I input the Maintenance Order

Please advice

Thanks Gurus

Accepted Solutions (1)

Accepted Solutions (1)

jogeswararao_kavala
Active Contributor
0 Kudos

BAPI_ALM_ORDER_GET_DETAIL


This is the FM perhaps you are looking for. Try it with Tcode SE37. Input (Import) the Order number. You will get the cost center in COSTCENTER field of the Output (Export) structure ES_HEADER.



Jogeswara Rao K

former_member245085
Participant
0 Kudos

Thanks Jogeswara

former_member245085
Participant
0 Kudos

Dear Jogeswara,

I need a another advice,

when saving the Maintenance Order, I want to default the cost centre in Account Assignment tab of External service PR along with Order Number.

( Currently only order number is filled and cost centre is blank in the PR Account Assignment tab)

I check the exit COZF0001 but cost centre not captured in the structure, do you know any other Exit? to default the cost centre in PR when saving Maintenance Order?

Thanks for helping

Ashok M

jogeswararao_kavala
Active Contributor
0 Kudos

Ashok,

Regarding this I have no idea. You may try a fresh thread in this space referencing to related technical spaces

  • ABAP Switching, Enhancing, and Adapting Standard Programs
  • ABAP Development

Jogeswara Rao K

Answers (0)