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_SALESORDER_SIMULATE & AFS 6.0

rafael_lpezjaraiz
Discoverer
0 Likes
432

Hi experts:

Iam currently involved in an AFS migration from v3.0 to v6.0, and I,ve found an include that uses BAPI_SALESORDER_SIMULATE.

The problem is that in the old code we use the

order_sizes_in

and

order_sizes_out

tables of this BAPIand I can´t find the correct BAPI to replace the old one :

CALL FUNCTION 'BAPI_SALESORDER_SIMULATE'

EXPORTING

order_header_in = le_order_header_in

IMPORTING

return = le_return

TABLES

order_items_in = lt_order_items_in

order_partners = lt_order_partners

order_items_out = lt_order_items_out

order_schedule_ex = lt_order_sched_ex

messagetable = lt_return

order_sizes_in = lt_order_sizes_in

order_sizes_out = lt_order_sizes_out

order_condition_ex = lt_order_conditions.

I`ve found the /AFS/BAPI_SALESORD_CREATEFDATA, but these two tables don´t have equivalent ones.

Does anybody know a solution to this problem

Thanks in advance for your help.

Hi experts:

Iam currently involved in an AFS migration from v3.0 to v6.0, and I,ve found an include that uses BAPI_SALESORDER_SIMULATE.

The problem is that in the old code we use the

order_sizes_in

and

order_sizes_out

tables of this BAPIand I can´t find the correct BAPI to replace the old one :

CALL FUNCTION 'BAPI_SALESORDER_SIMULATE'

EXPORTING

order_header_in = le_order_header_in

IMPORTING

return = le_return

TABLES

order_items_in = lt_order_items_in

order_partners = lt_order_partners

order_items_out = lt_order_items_out

order_schedule_ex = lt_order_sched_ex

messagetable = lt_return

order_sizes_in = lt_order_sizes_in

order_sizes_out = lt_order_sizes_out

order_condition_ex = lt_order_conditions.

I`ve found the /AFS/BAPI_SALESORD_CREATEFDATA, but these two tables don´t have equivalent ones.

Does anybody know a solution to this problem

Thanks in advance for your help.

1 REPLY 1
Read only

rafael_lpezjaraiz
Discoverer
0 Likes
397

Hi again:

The question is to find the way to do the same as before, doesn´t matter if i have to use one or more FM.

It´s VERY importan to solve this problem as soon as possible

Thanks for your help.