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

Former Member
0 Likes
1,342

Hi i have a text file and need to create a planned order using the data from the text file.

I need to usea bapi_plannedorder_create..

Does anyone have any example for this.

Madhu.

3 REPLIES 3
Read only

amit_khare
Active Contributor
0 Likes
473

Hi,

Check Out Module Pool MDBAPI01 or Tcode MDBA.

Regards,

Amit

Read only

Former Member
0 Likes
473

upload your text file into an internal table and populate the parameters in the BAPI . Call this BAPI and immediately call the

CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.

move-corresponding plafw to bapiplaf_i1.

move plafw-manual_comp to bapiplaf_i1-manual_component. "note 308954

clear plafw.

call function 'BAPI_PLANNEDORDER_CREATE'

exporting

headerdata = bapiplaf_i1

importing

plannedorder = i_bapiplnum

return = message.

move i_bapiplnum to plafw-plannedorder_num.

let me know if you have more questions and award points if it helps.

Read only

0 Likes
473

Any real time examples.

Madhu.