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 is hangs up when running for multiple users

Former Member
0 Likes
505

Hi SAP Gurus,

I am using BAPI_SALESORDER_SIMULATE for price repricing . However when multiple users or same user runs in multiple sessions, one session will run , however other sessions till it reaches BAPI it is fast and once it enters to BAPI, it got hangs up or keeps running & not giving any output.

Any thoughts how i can impove the performace for muliple users when i am using this BAPI.

Here are the details i am sending to BAPI .

call function 'BAPI_SALESORDER_SIMULATE'

exporting

order_header_in = lv_sd_order_header

importing

return = lv_return

tables

order_items_in = lit_sd_order_items_in

order_partners = lit_sd_order_partners

order_schedule_in = lit_sd_order_schdl_in

order_items_out = lit_sd_order_items_out

order_condition_ex = lit_sd_order_condition.

Your thoughts most appricated.

Regards

Harikrishna

Hi SAP Gurus,

I am using BAPI_SALESORDER_SIMULATE for price repricing . However when multiple users or same user runs in multiple sessions, one session will run , however other sessions till it reaches BAPI it is fast and once it enters to BAPI, it got hangs up or keeps running & not giving any output.

Any thoughts how i can impove the performace for muliple users when i am using this BAPI.

Here are the details i am sending to BAPI .

call function 'BAPI_SALESORDER_SIMULATE'

exporting

order_header_in = lv_sd_order_header

importing

return = lv_return

tables

order_items_in = lit_sd_order_items_in

order_partners = lit_sd_order_partners

order_schedule_in = lit_sd_order_schdl_in

order_items_out = lit_sd_order_items_out

order_condition_ex = lit_sd_order_condition.

Your thoughts most appricated.

Regards

Harikrishna

2 REPLIES 2
Read only

Former Member
0 Likes
456

Hi

try with destination none

BAPI_SALESORDER_SIMULATE destination none

.....

Read only

0 Likes
456

Hi,

Please let me know where i have to use this destniation .

I didn't find any parameter like this in BAPI.

Regards

Harikrishna