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

BAPI to post Purchase Requisition Header data with Item data.

Former Member
0 Likes
1,173

Hi guru's,

I want to Migrate Data from Legacy System to R/3 System to create Purchase Requisition using

BAPI's.

I am using BAPI_REQUISITION_CREATE, here i can post item data but cant post header note data.

Now i want to post the Header note data also..

plz help.

Saket

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
790

Hi Saket,

you can achieve this by using FM SAVE_TEXT.

Example for filling parameter HEADER of the above mentioned FM

thead-TDNAME = EBAN-BANFN "Banf-Number

thead-TDSPRAS = DE "Language

thead-TDID = B01 "Header note

thead-TDOBJECT = EBANH "Purchase requis. header texts

Regards

REA

3 REPLIES 3
Read only

Former Member
0 Likes
791

Hi Saket,

you can achieve this by using FM SAVE_TEXT.

Example for filling parameter HEADER of the above mentioned FM

thead-TDNAME = EBAN-BANFN "Banf-Number

thead-TDSPRAS = DE "Language

thead-TDID = B01 "Header note

thead-TDOBJECT = EBANH "Purchase requis. header texts

Regards

REA

Read only

Former Member
0 Likes
790

Use bapi BAPI_PR_CREATE (Business object BUS2015). You can pass the Header note data in the bapi structure PRHEADERTEXT.

Read only

0 Likes
790

BAPI_PR_CREATE is not available unitl 4.7

Regards

REA