on 06-08-2009 1:19 PM
Hello ABAP's
I am new to this forum & learning. I am using SQVI for getting Information from Table BSEG. The data is getting extracted but I am unable to give any conditions for amount depending upon the Debitcredit Indicator. If it is "H" ie. Credit the Amount should change colour and if it is "S" it should be as it is.Just like in tcode MB51 when we get negative amount the Line is dispalyed in Pink and in case of Positive in Green.
Looking forward to your help.
With regards
Sandy
I multiplied my quantity fields with -1 for the H indicator in the inforecord query.
So i could make out which one is debit and which one is credit.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sandesh,
You can not manipulate data in SQVI. For that you can write a query in infostructures transaction SQ01/02/03.
1. Go in SQ02, create an infoset and assign it to user-group available.
2. Inside infoset, declare table BSEG and click on button 'Extras'. here, you can write your code to multply by '-1' to a field depending upon some condition. Select 'Code' tab and code section as 'Record Processing'. Write code in window displayed.
3. In SQ01, select infoset you just created and select the query.
Execute the same and you will get required output.
Let me know if it helps.
Gouri.
Hi Sandesh,
In SQVI, you can change color for complete column as a whole. In ECC 6.0, there are two modes in which you can view the query - layout and basis. If you select layout mode and keep all tools on, you will find some tools like - Trash can, Sort fields, totalling fields, tool box. Using this, you can modify output format a bit as in you can decide view for table or add colors for selected columns or add row for sum of values of selected fields as last row in output.I dont think you can modify based on some perticular value inside a field, but, if query is just for analysis, then this might serve your purpose.
Gouri.
User | Count |
---|---|
103 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.