Application Development 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: 

problem with BAPI for me51

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi,

Check this program, it might give yo an hint:

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

cheers

Aveek