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: 

Sale order create BAPI and output types

Former Member
0 Kudos
574

Hi Experts,

In our organization, we are using BAPI BAPI_SALESORDER_CREATEFROMDAT2 to create sales order.

We are having no problem creating sales orders. But one more functionality they wanted to add.

We have a screen where user enters all the data and at the same time he selects weather the order should be printed or Faxed or both.

Please let me know where i can send this information in that BAPI and how.

I hope ORDER_KEYS is the table to send the data. If that is the case, could you please explain how that works and how that makes entry in NAST table.

Thanks,

ABAPer.

3 REPLIES 3

naimesh_patel
Active Contributor
0 Kudos
143

To propose output type automatically, you need to maintain proper output determination for the sales.

For example, you want to have BA00 output for every order, than you need to maintain the order type for that condition in VV11 transaction. Here you can maintain customer numbers. Now, when you create a Sales order for this customer and saves it, system automatically propose an output.

So, you need to maintain on output detemination to propose output.

Regards,

Naimesh Patel

0 Kudos
143

Hi Naimesh,

We are defaulted to print the order. But based on user input (for example FAX), i wanted to change the medium while creating an order.

Your input is very important to me.

Thanks,

ABAPer.

Former Member
0 Kudos
143

Hi All,

Please help me with this issue.

Thanks,

ABAPer.