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

problem with BAPI for me51

Former Member
0 Likes
737

Hi Techies,

I need to create PRs through BAPI -> 'BAPI_REQUISITION_CREATE' or BDC , but I am not able to update the header text info through BAPI (I could not found the header text table) or in BDC ME51 recording could not found the Header text. Pls refer to ME51N t-code we have header text. How to create PR with header text.

kindly help me out.'

Thnks in Advance.

3 REPLIES 3
Read only

Former Member
0 Likes
586

using this bapi 'BAPI_REQUISITION_CREATE' create the purchase requistions then use FM CREATE_TEXT this Fm create the texts...

Read only

Former Member
0 Likes
586

Hi,

use the bapi :BAPI_REQUISITION_CREATE and for header text use SAVE_TEXT function module to load the text.

goto STXH tabe for reference

TDOBJECT: EBANH

TDID: B01

TDSPRAS : EN

TDNAME: purchase requisition No. newly created.

Regards,

Manesh.R

Edited by: manesh ramachandran on Dec 24, 2009 5:41 PM

Read only

Former Member
0 Likes
586

Hi,

Check this program, it might give yo an hint:

http://wiki.sdn.sap.com/wiki/display/ABAP/CreationofRFQ+Automatically

cheers

Aveek