Thursday, January 22, 2015

SAP TIp - SAP minus expression logic

Chapter 075
SAP minus expression logic
Source : http://abapjoy.blogspot.com


Let’s see how to express the negative value in SAP. Generally, canceling the document like FI document or Material document create another document, which is reverse.
When reverse is performed, SAP doesn’t input the negative value and express the positive value with reverse operator. For example, movement type 101 means goods receipt and 102 means goods issue.  So, in this case, SAP doesn’t’ need any negative value.  These kinds of fields is set to only allow the positive value in domain level in ABAP dictionary.

Figure 1. FI document BSIS - WRBTR
Figure 3. WRBTR field – negative is not allowed
Figure 2 Material Doc MSEG - MENGE
Figure 3.MENGE field – negative is not allowed

In contrast, it’s allowed to express the negative value in SD module when creating billing document.
   



No comments:

Post a Comment