Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

quantity field

Madjid_Khanevadegi
Participant
1,745

hi

i add an additional field in sap infoset with sq02 tcode that is link reference to "PLPO-VGW01"

and add one value like "60" to it . when this field used in sq01 tcode the value show 60,000

how can format this field or remove zero ?

thanks you for all

1 ACCEPTED SOLUTION
Read only

Madjid_Khanevadegi
Participant
1,509

hi

no , does not work.

However, we can solve it by describing the "Write" statement

WRITE PLPO-VGW01 TO xStringValue UNIT PLPO-VGE01 .

But the result is a string

thanks

5 REPLIES 5
Read only

RaymondGiuseppi
Active Contributor
1,509

You should also add the uom (PLPO-VGE01) for a chance of correct display (as defined in uom, T006)

Read only

0 Likes
1,509

hi

no . does not work.

However, we can solve it by describing the "Write" statement

WRITE PLPO-VGW01 TO xStringValue UNIT PLPO-VGE01 .

But the result is a string

thanks

Read only

0 Likes
1,509

I hope you didn't forget to link the uom in the quantity field definition in Additional fields, References, Curr/Qty field.

Read only

Madjid_Khanevadegi
Participant
1,510

hi

no , does not work.

However, we can solve it by describing the "Write" statement

WRITE PLPO-VGW01 TO xStringValue UNIT PLPO-VGE01 .

But the result is a string

thanks

Read only

Former Member
1,509

I guess you could add an additional field to the infoset and define it with no decimals. Then in the code of the field, set it equal to PLPO-VGE01. Use the added field in your query instead.