cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI to get Tech.Obj details based on Characteristic

sandeepdattaraju
Participant
0 Kudos
1,967

Dear all,

I need a BAPI to get all the Func. Loc and Equipment data for some characteristic defined.

This characteristic with the class, is already assigned to the tech. obj.

I need a report where I can get all the names/numbers of tech.obj. for some characteristic value = YES.

Kindly help.

Thanks,

Sandeep

View Entire Topic
jogeswararao_kavala
Active Contributor
0 Kudos
  • In case you've already checked this and is not suitable for your task then the following TWO Function modules will do your job.
    • BAPI_OBJCL_GETCLASSES
    • ALM_ME_CLASS_CHAR_GETDETAIL
  • These two FMs will give you all data you require for your requirement. In fact I already documented this with code attached. see this post: ALV Report on Equipment vs Class vs Characteristics and Values
  • Your query (Title) is centered at the Selection screen. Once the program is developed, you can design your Selection parameters as per your requirement.
  • I think this information will serve your purpose.

Good luck

KJogeswaraRao

sandeepdattaraju
Participant
0 Kudos

Dear Sir,

Thanks a lot for your answer.

But the FMs you mentioned, I think I have to input the Equip. number to get the class/characteristic details. But I need the opposite one. Or I am not understanding it clearly.

Kindly help.

Thanks,

Sandeep

jogeswararao_kavala
Active Contributor
0 Kudos
  • You are right. And I know the issue.
  • In the scenario where we do not have direct FMs that do our job these FMs do an indirect job at the cost of Response time.
  • See the Selection-screen of a program developed with these FMs.

  • In your case you will have Characteristic and Value also in the Selection screen. And you will not fill Equipment number.
  • The program will start working by collecting Equipments matching to Planner group.
  • In addition or inplace of Planner Group you can haveany other Selection criterion which would reduce the list of Equipments and reduce the load on program.
  • Then it will start using these FMs to collect all classification data for these Equipments
  • And at the end the program will delete all records which do not fit into the Characteristic and value of the Selection screen.
  • So, as I mentioned this will be time consuming report, because the report will have to first work on many undesired equipments and at the end it will delete all rows which do not fit into the requirement by Characteristic and Value fields .
  • Tthis report might run endlessly for large databases of Equipments.
  • An expert ABAPer through debugging can make this program work more efficiently.
  • All above comments are valid when we do not fill Equipment number into he input screen.
  • I'll let you know if I come across any FM of that sort required by you.

  • In my view for this requirement the best available is through IE05 through Class and Valuation button
  • You should look at report CL24N where you get Equipment numbers and theirs Characteristic values by inputting the Class

Good luck

KJogeswaraRao