‎2008 May 22 10:16 AM
Hello, experts!
We're simulating material prices for a known customer, date, quantity, sales area... in our non-standard application and till now we're using BAPI_SALESORDER_SIMULATION.
Now a new requirement needs to see, not only the condition types prices, but also the intermediate sums that we can see, for instance, in VA03 - VA02 transactions.
An example:
BAPI comes with Condition types, but our requirement needs also some values like, for example, the one with a pointer (-->), but this requirement is not a Condition itself but a sum.
ZDBC Basisrabatt % 37,000- % 37,00-
Gesamtnachlass 37,00- CHF 1 ST 37,00-
Bonusbasis 63,00 CHF 1 ST 63,00
--> Umsatz 63,00 CHF 1 ST 63,00
Umsatz Gesamt 63,00 CHF 1 ST 63,00
ZSUC Umbandung 12,50 CHF 1 ST 12,50
ZSEF Recycling FEA 15,50 CHF 1 ST 15,50
If anybody can help, i'll be grateful.
Thanks,
Elisa.
‎2008 May 22 1:45 PM
Check next FM. maybe it's help you:
RV_PRICE_PRINT_ITEM
RV_PRICE_PRINT_HEAD
RV_DOCUMENT_PRINT_VIEW
This FM used in print program for SD documents and return prices, which we can see in VA02-03.
Upd.: Sorry, it's work only with created orders, not simulated.
Edited by: Andrey Markin on May 22, 2008 2:47 PM
‎2008 May 22 1:45 PM
Check next FM. maybe it's help you:
RV_PRICE_PRINT_ITEM
RV_PRICE_PRINT_HEAD
RV_DOCUMENT_PRINT_VIEW
This FM used in print program for SD documents and return prices, which we can see in VA02-03.
Upd.: Sorry, it's work only with created orders, not simulated.
Edited by: Andrey Markin on May 22, 2008 2:47 PM
‎2008 May 22 1:57 PM
Hi,
You will have to simulate the pricing procedure that is bieng used in the sales order fields.
the following tables will help u ..
konv-- various conditions for a document based on condition record number.
T683s - Steps in pricing procedure.
fields STUNB and STUN2 will have values only for fields with contain totals.
say the value in STUNB and STUN2 is 300 599 resp.
this would mean that this particular record has some of cndition records assigned from step 300 t0 599 in procedure.
Regards,
N.
‎2008 May 22 2:03 PM
Thanks, i knew the tables, but i don't want to simulate the salesorder myself, i prefer to call a function module.
To do the calculations have been giving us a lot of problems...
Other problem i have is i have to work in a 3.1 SAP version, i have to call a function module from a 4.7version by means of RFC connections, but i have to run a 3.1 SAP version.
buf!!