on 02-17-2005 12:31 AM
Hi,
I would like to know if anyone can give me some sample program that allow me to retrieve or access the 'Infotype Texts' (i.e the text entered for the HR infotype using 'Edit Text'). My user always ask me if there is a way to retrieve those text without going through the infotype one by one for each employee.
Thanks,
Francis
Hello,
Maybe if you give us the infotype number or the transaction name, we could help you more.
Your text must be store in a cluster table like the STXH/STXL tables. But with HR there are a lot of macros to read the clustered informations.
Maybe try to make an ST05 on your transaction, and have a look at the PCL1 (or PCL) table. With ST05 you could display the code used by SAP to read the informations of the PCL tables.
Have fun.
Frédéric.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Francis
You can use HR macros <b>RP-IMP-TX</b> or <b>RP-IMP-C1-TX</b>. Their source codes are contained at the table <b>TRMAC</b>. These macros import text from <b>PCL1</b> cluster table.
Include <b>RPCITD00</b> and <b>RPCITX00</b> to your main program.
<u>E.g.</u>
tx-key = ltx_key .
rp-imp-c1-tx.
Here ltx_key is a structure filled as like standard HR structure PSKEY included in infotype structures. You will have the content in the internal table <b>ptext</b>.
Hope this much helps...
Kind Regards
*--Serdar
ssimsekler@yahoo.com
Many thanks to all you guys for offering me your help and suggestions.
Best Regards,
Francis
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Francis,
For any text related with any objects you can get from Cluster table STXH.
First retrieve object no. from the respective infotype, and then pass this object number to FM READ_TEXT which gives you the text for that Infotype.
Regards,
Bhavik
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
7 | |
7 | |
4 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.