cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI for Damage Codes

Former Member
0 Kudos

HI Experts,

I am new to plant maintenance, need your help to get to know the BAPI names for DAMAGE CODES.

Any help will be highly appreciated.

Thanks

Shanky

Accepted Solutions (1)

Accepted Solutions (1)

jogeswararao_kavala
Active Contributor

Hello Shashank,


Use Function Module QIRF_SEND_CATALOG_DATA2.


Test through SE37  by giving

1. Code Group in field I_CATALOG

2. Catalog Type in filed I_CATALOG_TYPE  (This value is C for your case as you need Damage  codes)


See this example


Input screen


Execute

Output screen


so you have all the 23 Codes and their Code Texts in the table T_QAICATAB (picture attached).




Best of Luck

KJogeswaraRao

Former Member
0 Kudos

Hi Rao,

Thanks a lot for the help.

I have doubt regarding the I_CATALOG value. What are possible inputs for this.

I tried to pass only language and getting around 2293 records.

Please let me know the possible values in I_CATALOG.

Thanks

Shashank

jogeswararao_kavala
Active Contributor
0 Kudos

I_CATALOG is Code Group value. The Tcode to verify this is QS41, See this QS41 codes screen, where Catalog 'C' and Code Group 'ACWE12'  are seen at the top.

jogeswararao_kavala
Active Contributor
0 Kudos

Also, if you want to see all the Code Groups for catalog C, then put * in the Code Group field of QS41 initial screen as shown here.

Then you will get list of all Code Groups of catalog C (Damage) like this

Here by selecting any Code Group line and D'Clicking on the Codes folder on the left you will be able to see the Codes inside this particular Code Group.

Former Member
0 Kudos

Hi,

Its working in ECC now.
I am facing other issue now, when i make a call of this RFC in MII this shows me the below error :

  • [ERROR] Unable to make RFC call Exception: [No Authorization for Function]

IS there any configuration setting needs to be done for this BAPI ?  I can access other BAPI in MII.

Thanks

Shashank

jogeswararao_kavala
Active Contributor
0 Kudos

Looks like BASIS people can help. Not very conversant with this issue. Even you can try ABAP space.

Best of Luck

KJogeswaraRao

Former Member
0 Kudos

Thanks for the help.

You know the BAPI name for all the equipment lists ?


Please share the way how can i check the equipment available in the system.

Thanks

Shashank

jogeswararao_kavala
Active Contributor
0 Kudos

Hello Shashank,

The FM you are asking for is BAPI_EQUI_GETLISTSee the picture, how it works (SE37).  Here you need to input the High and/or Low values of the tables EQUIPMENT_RA, DESCRIPT_RA, PLANGROUP_RA, SORTFILED_RA etc. You get the output in table EQUIPMENT_LIST.

Also for further queries please use a fresh thread, because the title of the thread is no longer valid to the current conversation.


KJogeswaraRao


Answers (1)

Answers (1)

peter_atkin
Active Contributor
0 Kudos

Also see table QPCD/QPCT via SE16.

PeteA