Skip to Content
Author's profile photo PRASOON AK

How to Add Custom Header Text in Purchase Requisition

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

Assigned Tags

      36 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Former Member
      Former Member

      nice document, thank you for sharing.

      thanks

      Anoop

      Author's profile photo Siva Prasad V
      Siva Prasad V

      Hi,

      Thanks for sharing the Document

      Author's profile photo Former Member
      Former Member

      Hi AKPT,

      Nice Document...

      Thanks

      Dibyendu Patra

      Author's profile photo Former Member
      Former Member

      Hi AKPT,

      Is there any setting to make these header texts client Specific??

      Author's profile photo PRASOON AK
      PRASOON AK
      Blog Post Author

      Hi,

         I couldnt find any way to make it client specific.

      Regards,

      AKPT

      Author's profile photo PRASOON AK
      PRASOON AK
      Blog Post Author

      Thanks all...

      Author's profile photo Former Member
      Former Member

      Thanks Sir.. SUPERB DOC

      Regards,

      Bijay Jha

      Author's profile photo PRASOON AK
      PRASOON AK
      Blog Post Author

      Thanks Bijay....

      Author's profile photo Cecil D'Souza
      Cecil D'Souza

      Like some others on the forum, you have always been helpful and diligent and it is very much appreciated. Thank you for all your help.

      Author's profile photo PRASOON AK
      PRASOON AK
      Blog Post Author

      Thanks Cecil D'Souza

      Author's profile photo Former Member
      Former Member

      Hi AKPT..

      Very nice document..

      Regards

      Sesha.

      Author's profile photo Sudeep A
      Sudeep A

      Dear AKPT,

      Nice document. Good information. Thanks for sharing.

      Regards,

      Sudeep

      Author's profile photo manu m
      manu m

      excellent !!

      Thank you making the note very simple with minimum slides  and text 🙂

      Author's profile photo Ranjit Kumar
      Ranjit Kumar

      Hi,

      Nice document to add header text in  PR.

      Thanks,

      Ranjit Kumar

      Author's profile photo Anton ZIMIN
      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

      Author's profile photo PRASOON AK
      PRASOON AK
      Blog 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

      Author's profile photo Anton ZIMIN
      Anton ZIMIN

      Yep, now it works 🙂

      Thank you so much.

      BR, Anton

      Author's profile photo Former Member
      Former Member

      Good information, thanks for sharing.

      Regards,

      Vasanth

      Author's profile photo Linda Wilkins
      Linda Wilkins

      Is it possible to protect the questions on a template from being edited in header text of the purchase requisition?

      Author's profile photo PRASOON AK
      PRASOON AK
      Blog 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

      Author's profile photo Adam Krawczyk
      Adam Krawczyk

      You can manipulate text in the ABAP code, so any validation can be implemented there. It does not lock text from being edited, but allows for text corrections. You must implement BADI class and method which runs when item is updated: IF_EX_ME_PROCESS_REQ_CUST~PROCESS_ITEM.

      Then IM_ITEM parameter has methods if_longtexts_mm~get_text and if_longtexts_mm~set_text for text manipulations.

      Regards,
      Adam

      Author's profile photo Linda Wilkins
      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.

      Author's profile photo Mohsin Abbasi
      Mohsin Abbasi

      Dear AKPT,
      Nice BLOG............ 🙂

      Warm Regards
      Abbasi

      Author's profile photo Former Member
      Former Member

      Dear AKPT

      very nice document !!! 🙂 🙂

      Thanks for sharing

      Author's profile photo prathamesh lonkar
      prathamesh lonkar

      nice document

      Author's profile photo Mehmet Ozgur Unal
      Mehmet Ozgur Unal

      Hi AKPT MM ;

      Nice document , thanks for sharing.

      Regards.

      M.Ozgur Unal

      Author's profile photo Tapas Das
      Tapas Das

      Dear AKPT,

      Nice Document... 🙂

      Thanks

      Tapas

      Author's profile photo B V Yadav
      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

      Author's profile photo Dibyendu Patra
      Dibyendu Patra

      1. Not possible in standard settings. You need to use user exit or badi.

      2. Have a look into the document Report of Master data's Texts and Purchasing Document's Text for Header and Item Level. Also you can use the FM "READ_TEXT".

      Author's profile photo B V Yadav
      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

      Author's profile photo PRASOON AK
      PRASOON AK
      Blog 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

      Author's profile photo B V Yadav
      B V Yadav

      Thank you Prasoon sir,

      Regards,

      BV

      Author's profile photo Janet Miller
      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.

      Author's profile photo Ganeshkumar Lakshmikanthan
      Ganeshkumar Lakshmikanthan

      Nice document.  Thanks for sharing.

      Author's profile photo Prakash MM
      Prakash MM

      Hi AKPT

      Nice Document, Thanks for Sharing.

      Regards

      Prakash

       

       

      Author's profile photo Ravi G
      Ravi G

      Dear Sir

       

      I have used this option in PR and data is getting saved perfectly , but while using this field in report i am getting error to maintain the text , could you please help me in this.