cancel
Showing results for 
Search instead for 
Did you mean: 

Currency and Unit Field

Former Member
0 Kudos

Hey guyz

have a look over this source code

write: sy-vline, sbook-bookid, sbook-customid,

<b> sbook-luggweight unit sbook-wunit, sbook-wunit,</b>

sbook-order_date, at line_size sy-vline.

i am not getting the stmt in bold. same is the case with the currecy feild.

whats that unit sbook-wunit??

why they have coded two times sbook-wunit??

Thanks in advance

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hello Frnz

Can any body tell me where the Unit field for Materials/Quantity is maintained. I m using FB01 to post Idoc, but getting an error that

Unit of measure <> is not maintained for material <>

From where i can get the related UOM.

Regards

DhanyaR Nair

0 Kudos

Hello DhanyaR

By the material master (MM02) you have to go to "Additional Data" or something like this and then enter the units for this material (second tab).

Points please

Former Member
0 Kudos

Hi Rashmi,

Every quantity field will have a corresponding unit of measure(UOM) field and every amount field will have a corresponding currency field.

e.g., no.of books = 10 and its UOM = pieces.

amount = 100 and its currency = USD or Rs.

UOM and Currency fields are reference fields.

The bold letters displays the weight and its UOM.

Regards,

Sangeeta.

Plz dont forget to give points

former_member188685
Active Contributor
0 Kudos

Hi,

currency/quantity fields will have associated unit fields. that bold code is showing the lugage weight and its unit. nothing else.

Regards

vijay

Former Member
0 Kudos

Rashmi,

Every currency / quantity fields have to be associated with the respective UNIT fields. sbook-luggweight unit sbook-wunit, means that luggweight field has unit in wunit field and then write wunit separately so that is also displayed on the screen.

REgards,

Ravi