cancel
Showing results for 
Search instead for 
Did you mean: 

UPDATE NET VALUE OF ORDER ACCORDING TO THE CONDITIONS

Former Member
0 Kudos

Hello,

I am calling the BAPI_SALESORDER_SIMULATE but the net value of order header, the position value and unitary value of order details never change is always the same. I need that these vales changed according to the conditions defined by the user.

I am passing the following values to the bapi:

CALL FUNCTION 'BAPI_SALESORDER_SIMULATE'

EXPORTING

order_header_in = lwa_bapisdhead

IMPORTING

salesdocument = ls_vbeln

return = lwa_return

TABLES

order_items_in = ltd_bapiitemin

order_partners = ltd_bapipartnr

order_schedule_in = ltd_bapischdl

order_items_out = ltd_bapiitemex

order_ccard = it_ccard

order_ccard_ex = lt_order_ccard_ex

messagetable = lt_messagetable

order_schedule_ex = ltd_bapisdhedu

order_condition_ex = ltd_bapicond.

But the table ltd_bapiitemex always have the same data, don´t change. The table of the conditions ltd_bapicond. have the correct data but the table ltd_bapiitemex never change.

Help me please!!!

Thanks for the fast answers....

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Seems to me this is nothing to do with FPM forum.

Further if i understand your problem then the FM module is not returning the correct table for you . You can debug the FM and see why it is behaving the way it does now. In case if you find a error then take contact with SAP about it.