cancel
Showing results for 
Search instead for 
Did you mean: 

Write into 'Header Note' text of PR

masna_7
Participant
0 Kudos
138

Hi Peers,

I have a case where I need to write data into HEADER NOTE text area of PR through an Inbound Integration data. any idea how can I achieve this ? I am attaching a screenshot for reference.

masna_7_0-1731507967608.png

 

 

Help Appreciated

Thanks and Regards

View Entire Topic
raymond_giuseppi
Active Contributor

You can use BAPI_PR_CHANGE

  • Header long text to provide in parameter PRHEADERTEXT of BAPI
  • Identify exact key : double-click on text area in ME52N to display text in fullscreen mode, and in the menu navigate: goto, header (ID should be B01, object EBANH)
masna_7
Participant
0 Kudos

Hi Raymond, I am trying to execute the BAPI_PR_CHANGE from SE37, but I am not getting exactly what values to pass here. 

 

I am passing the PR Number in Number of Import Parameters

masna_7_1-1731510056897.png

 

and I am passing the text in  PRHEADERTEXT table

masna_7_2-1731510218622.png

 

Am I missing anything ?

 

Regards

 

 

raymond_giuseppi
Active Contributor
0 Kudos
  • Pass the requisition number in internal format (leading zeroes)
  • Pass the 'B01', '*' values in text parameter
  • Try to call (test SE37) BAPI_PR_GETDETAIL to get some hint of correct parameter from an existing PR
masna_7
Participant
0 Kudos

Hi Raymond, I tried to get PR details using the BAPI_PR_GETDETAIL, even though I added the text in Header Note, the BAPI is still not displaying this Header Text in any of the tables

masna_7_0-1731560609313.pngmasna_7_1-1731560651341.png

 

any suggestion please ?

 

Thanks and Regards.