on 04-08-2011 6:40 AM
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....
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.