2010 Mar 11 3:20 PM
Hi ,
Based on the document type of sales document required to be created ,debit credit memo/sales order/credit memo are the different types of business objects.
The FM used to create sales document is SD_SALESDOCUMENT_CREATE.
Requirement : I need to create a sales order with negative amount.
1. when I use the above FM for BUS2096 - I am able to create a negative amounted SD in R3. Perfect
2. when I use the same FM to create BUS2094 / BUS2032 type of SD with a negative amount, the value stored in SD is
changed to a positive value.
Is this a config issue , or do i need to search for any user exits where I could force a negative value for the SD.
Thanks in advance.
Edited by: Thomas Zloch on Mar 11, 2010 4:28 PM - replaced "-ve" by "negative"
2010 May 26 7:38 PM
Hi Neelima,
I'm trying to make a sales order with negative amount, how did you do that?
Thank you,
Fábio Galvã
2010 May 26 9:08 PM
You didn't say whether Dollar or Quantity. I'll assume quantity. A Credit Memo with a negative amount would then be a Debit Memo, wouldn't it? (-1 X -1). SAP handles the quantities as positive numbers. You'll see that throughout the system. There are fields that denote positive/negative for document amounts, but the amount is positive. Likewise, SAP programming handles a credit memo as a "subtraction" of a positive number.... I don't think I ever saw a sales document with negative quantities....you can't return -3 items....but you can return 3 items for a credit memo.
2010 May 27 11:02 AM
Thanks for all your help. I had got a request to look into bapi for sales document create if -amount could be passed as possible through va01 .
I have managed to resolve this through configuration.
2010 Jul 05 4:10 PM
Hello Neelima,
could I ask you how did you solve this?
Thank you
2010 Jul 06 8:04 AM
Hi Fabio ,
I resolved this issue myself. whether a field can have a -ve / +ve value for a condition type is set in SPRO . If the configuration is set as +ve and we try to force a -ve value on R/3 screen or through BAPI call ,the value will be converted to a +ve.
After the functional team rectified the spro setting for the specific condition type( as per business requirement) , BAPI for sales document create saved the values as -ve .
Hope this helps.
Neelima
2010 Jul 06 11:10 AM
2014 May 30 7:24 PM
I had the same problem, and I would like to answer the solution in case somebody else has same issue.
The problem is related with configuration. If you set up the credit note as a credit note and the item category is not marked as return; the pricing function multiply to -1 changing the amount to negative.
Field: VBAP-SHKZG
Set up the item category as return if the position is related with a credit note (also if it is without stock movement).
Regards,
Jorge Rosa.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |