‎2007 Oct 31 9:48 AM
My requiremetn is Creating the Open PurCHASe REQIUISITION USING BAPI_REQUISITION _CREATE.
after this I want to insert header text (which is table STXH. )..
how to pass header text to that one..
very urgent
‎2007 Oct 31 1:59 PM
Hi,
Use function Module SAVE_TEXT to add the header text. It is important to know that you can do this only after the purchase requisition is created because you will need the purchase requisition number.
EXPORT PARAMETERS
HEADER-TDOBJECT = 'EBANH'.
HEADER-TDNAME = <Complete Purchase requisition number... 10 digits>
HEADER-TDID = 'B01'
HEADER-TDSPRAS = sy-langu
HEADER-TDFORM = 'SYSTEM'
HEADER-MANDT = sy-mandt
TABLES
LINES-TDFORMAT = '*'
LINES-TDLINE = <Header text line 1>
Repeat the LINES entries based on the number of lines you want entered.
Hope this helps.
‎2007 Oct 31 1:59 PM
Hi,
Use function Module SAVE_TEXT to add the header text. It is important to know that you can do this only after the purchase requisition is created because you will need the purchase requisition number.
EXPORT PARAMETERS
HEADER-TDOBJECT = 'EBANH'.
HEADER-TDNAME = <Complete Purchase requisition number... 10 digits>
HEADER-TDID = 'B01'
HEADER-TDSPRAS = sy-langu
HEADER-TDFORM = 'SYSTEM'
HEADER-MANDT = sy-mandt
TABLES
LINES-TDFORMAT = '*'
LINES-TDLINE = <Header text line 1>
Repeat the LINES entries based on the number of lines you want entered.
Hope this helps.
‎2007 Nov 01 8:19 AM