‎2008 Nov 17 9:48 AM
Hi,
Can any one tell me what does % mean Please ...
WHEN 2.
ZVAT2-KOEIN = '%'.
MOVE-CORRESPONDING Z_VAT_TAB TO
MOVE-CORRESPONDING Z_VAT_TAB1 TO
MOVE BKPF-WAERS TO ZVAT2-AWEI1.
MOVE T007S-TEXT1 TO ZVAT2-VTEXT.
Thank
Babu
‎2008 Nov 17 9:56 AM
Rate unit (currency, sales unit, or %)
Definition
The unit in which the rate of a condition is expressed. The rate unit can be a currency (for example, US dollars), a sales unit (for example, cartons), or a percentage.
‎2008 Nov 17 9:56 AM
Hi,
Search for the data element KOEIN, having Short description Rate unit (currency, sales unit, or %) in SE11 and see the documentation.
regards,
Advait
‎2008 Nov 17 10:17 AM
Hi,
Here it is used as a wild character
Wildcard characters can be used to create the pattern in dobj,
where "%" represents any character string, even an empty one,
and "_" represents any character.
The use of the wildcard characters "_" and "%" corresponds to the standard of SQL.
Captilatization is taken into account. Blank characters at the end of dobj are ignored. This is also valid in particular for data objects of the type string with closing blank characters that are otherwise taken into account in ABAP.
So in you case..it may be checking if the value is not blank...
Regards,
Prashant