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

function module which uses both BAPI's for sales order create and change

Former Member
0 Likes
544

Please name the function module which uses both BAPI's for sales order create and change.

BAPI_SALESORDER_CREATEFORMDAT2

BAPI_SALESORDERCHANGE

4 REPLIES 4
Read only

Former Member
0 Likes
525

I think none of them.

they are create and change SO respectively.both purpose from one FM i think not possible.

Amit.

Read only

0 Likes
525

I think I have to create function module which will take both BAPI's.

Read only

0 Likes
525

Yup.

you must write a piece of code for this.

with if else condition.first check if SO is exsist than use second FM to change it else create new SO from first FM.

logic somethig like this.

Amit.

Read only

Former Member
0 Likes
525

Hello

There are no exist such FM.