Skip to Content

How to Access Infotype Text

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Best Answer
    Posted on Feb 17, 2005 at 08:10 AM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

    • 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

  • author's profile photo Former Member
    Former Member
    Posted on Feb 17, 2005 at 09:41 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Feb 18, 2005 at 12:47 AM

    Many thanks to all you guys for offering me your help and suggestions.

    Best Regards,

    Francis

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.