Application Development 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: 

Can we modify a query to add negative sign '-' in one field ?

vimal
Active Participant
0 Kudos
795

Hi All,

I have created a query from SQVI by linking VBRK and VBRP. I know we cannot delete tables from the query but can we add a negative sign to all the quantities when the type is 'RE' in query ?

Thanks,

Vimal

4 REPLIES 4

Former Member
0 Kudos
433

Hi,

You can write the code in start of selection(in SQ02 TCODE) to make the quantity as negative if the type is 'RE'

vimal
Active Participant
0 Kudos
433

Hi Priya,

I can not modify the query in code as it asks for the access key.

Thanks,

VIMAL

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Kudos
433

Hello Vimal,

You need to create an Infoset & define your custom coding for that particular field!

BR,

Suhas

0 Kudos
423

Hi,

How can I negative field for a document type in SQVI?

Best Regards,

Daniel