cancel
Showing results for 
Search instead for 
Did you mean: 

Phrase management

sandeep_ramesh88
Explorer
0 Kudos

Hi,

I have a requirement to generate a report in EHS listing the accidents and the persons involved for a particular period. There are certain fields such as: Cause of accident, Activity of injured person etc which are maintained as phrase codes. But i need the description against each of these and not the code. No where it is mentioned about the table details.

I am not a functional person but an ABAPer. Kindly suggest me how to get the description against the phrase codes.

Thank you.

Accepted Solutions (1)

Accepted Solutions (1)

sandeep_ramesh88
Explorer
0 Kudos

Hi Everyone,

Issue solved.

This is how it works:

Pass the phrase code to the field PHRID of ESTPH table. Pick the RECNROOT from ESTPH(EHS: Phrase Header) and pass it to the field RECNROOT of the table ESTPP(EHS: Phrase Item) to get the phrase text in the field PHRTEXT. This will be the phrase description against the particular phrase code.

Note:1.  "The relation between the two tables is RECNROOT."

        2. The phrase code should be passed to the ESTPH table excluding the customer library code. i.e. If the Phrase code is CUST-IHP03, the same needs to be passed as IHP03 to PHRID field.

Thanks.

Former Member
0 Kudos

Good one. Thanks!

Former Member
0 Kudos

Good Work

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello,

I am not sure, but you can try following BAPI:

BAPI_BUS1091_GETDETAIL

Hope this will help you.

Thanks & Regards,

Mihir