Skip to Content

How to Add Custom Header Text in PR:

    In Standard SPRO path for PR texts, only item level texts can be defined. If you want to add new header text in PR, you may follow the steps explained below:

   Go to SE75 transaction. Select ‘Text Objects and ID’s’ and click on change button. Now, select the object ‘EBANH’ and click on ‘Text ID’s’

/wp-content/uploads/2013/10/123_301340.png

   Now, click on create button or F5 .

/servlet/JiveServlet/showImage/2-14451767-301268/123.png

/wp-content/uploads/2013/10/123_301340.png

   Enter the Text ID and Description and save.

/servlet/JiveServlet/showImage/2-14451767-301269/123.png

   Now go to ME51N and check the header. The new text id will be displayed there.

/servlet/JiveServlet/showImage/2-14451767-301270/123.png

Display:

Please note that the request will be a work bench request.

Regards,

AKPT

To report this post you need to login first.

32 Comments

You must be Logged on to comment or reply to a post.

  1. Anton Zimin

    This is not so much helpful as it seems. You cannot save text in new Text ID using tcodes ME51N, ME52N.

    Does anyone know how to do that?

    BR, Anton

    (0) 
    1. PRASOON AK Post author

      Hi,

         Enter the header text id in the name spaces like B02, B03 etc as shown below: (Do not give as Z01 or similar)

          System will save the text.

      Test the same and revert back.

      Regards,

      AKPT

      (0) 
    1. PRASOON AK Post author

      Hi,

        If you need to protect a particular text (ID) from being edited, there is no standard option as of my knowledge. You may go for development to achieve the same. Please check the BAdI: ME_REQ_HEADER_TEXT 

      Regards,

      AKPT

      (0) 
  2. Linda Wilkins

    Thank you.  What I need is to auto populate a template with questions on it for them to answer without being able to edit the questions.  I didn’t think there was a way to do that because it’s free text.  If they can edit the text to answer the questions, then they can edit the questions.  I’ll take a look at me_req_header_text.

    (0) 
  3. B V Yadav

    Hi AKPT sir,

    Very helpful document. I have two questions

    1. how to make the header text mandatory,

    2. How to fetch this text to any report.

    Regards,

    B V

    (0) 
      1. B V Yadav

        Hi Dev Sir,

        Thanks for your quick response, we are developing one Z-report for this use want output as

        PR NO   Pending Value   PR title.

        here well get PR No and PR pending value from EBAN talbe, but PR title which we maintained in PR header text not able to get. how to get this title text into this report.

        Regards,

        BV

        (0) 
        1. PRASOON AK Post author

          Hi,

             You may use the FM: READ_TEXT to pull the details in the report. In the FM, input the following:

          Text name: PR Number

          Language : Req Language (EN)

          Text ID: Text Id of the header / item text (If its header text, use the id: B01

          Text Object: EBANH

             Execute the FM with these data and get the text from PR.

          Regards,

          AKPT

          (0) 
  4. Janet Miller

    It is possible to do this and add additional text types to purchase requisitions but at this time the BAPI code does not support the additional types. That code was not written to allow more than B01 text type.

    (0) 

Leave a Reply