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: 

creating a new firm planned order

Former Member
463

how to use this bapi "BAPI_PLANNEDORDER_CREATE".any sample code .

1 ACCEPTED SOLUTION

Former Member
72

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.

2 REPLIES 2

Former Member
73

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.

Former Member
0 Kudos
72

i want a detailed sample code .thanx in advance .for this bapi BAPI_PLANNEDORDER_CREATE