2007 Jul 16 4:35 PM
Hi all,
I need to change the header text of the PurchaseOrder (ME22N), Some body could give me a suggestion about how to do it, Please?
Thanks in advance.
regards Marisol
2007 Jul 16 4:38 PM
Hi,
Use the following FM's :
EDIT_TEXT or SAVE_TEXT
To know the input parameters of those FM, go in the text, <u>in plain page mode</u>, then do, via the menu, <b>GoTo -> Header</b> .
Here you get the needed info ( ID, Name, ... )
U have to use the FM like this.
CALL FUNCTION 'SAVE_TEXT'
EXPORTING
header = po_head
INSERT = ' '
savemode_direct = 'X'
OWNER_SPECIFIED = ' '
IMPORTING
FUNCTION =
newheader = po_head
TABLES
lines = pt_lines
EXCEPTIONS
id = 1
language = 2
name = 3
object = 4
OTHERS = 5.
Hope this helps,
Erwan
2007 Jul 16 4:38 PM
Hi,
Use the following FM's :
EDIT_TEXT or SAVE_TEXT
To know the input parameters of those FM, go in the text, <u>in plain page mode</u>, then do, via the menu, <b>GoTo -> Header</b> .
Here you get the needed info ( ID, Name, ... )
U have to use the FM like this.
CALL FUNCTION 'SAVE_TEXT'
EXPORTING
header = po_head
INSERT = ' '
savemode_direct = 'X'
OWNER_SPECIFIED = ' '
IMPORTING
FUNCTION =
newheader = po_head
TABLES
lines = pt_lines
EXCEPTIONS
id = 1
language = 2
name = 3
object = 4
OTHERS = 5.
Hope this helps,
Erwan