Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

abt bapi

Former Member
0 Likes
414

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
396

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.

2 REPLIES 2
Read only

Former Member
0 Likes
397

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.

Read only

0 Likes
396

please giv me the steps,so that i ll try....