on 05-09-2011 5:04 PM
Hi,
Right now I need to do some check with the each document line status in UI, but it seems it doesn't exist in the the matrix. When I try to use code like this:
oEditText = (SAPbouiCOM.EditText)oMatrix.Columns.Item("LineStatus").Cells.Item(i).Specific;
It gives me Invalit Column error, I guess the line status field does not exist in the matrix. Do I have to use DI or SQL query to retrieve the like status value?
Thanks,
Lan
If the document is open on the screen, you can of course get line status from the UI.
It is column 40:
oEditText = (SAPbouiCOM.EditText)oMatrix.Columns.Item("40").Cells.Item(i).Specific;
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ha I guess you could say it is 😛
Seriously though, if you just turn on "System Information" (Go to View->System Information), when you move your mouse over fields, you will see the information displayed down below so for the line status I could see:
Form=139 Item=38 Column=40
This is how you figure out which column id is for which field.
Hi Lan,
Your guess is correct. UI is only for User Interface. If your matrix has data source, you have to use DI or query to get the actual data.
Thanks,
Gordon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
12 | |
11 | |
6 | |
6 | |
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.