on 07-29-2013 9:48 AM
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.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
I am not sure, but you can try following BAPI:
BAPI_BUS1091_GETDETAIL
Hope this will help you.
Thanks & Regards,
Mihir
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
11 | |
6 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.