10-21-2017 7:57 AM
Hi SAPian,
I am getting the following error while trying to retrieve data by c#
10-21-2017 9:07 AM
You are trying to read a field in the table, but you don't indicate from which line. After reading the table parameter ITEMTAB, you should first read one line of the table, then you can read one of the fields of the line.
10-21-2017 11:33 AM
Sir, I have now set :
cus_cr_bal.CurrentIndex = 0;
this.crlimit = cus_cr_bal.GetString("KUNNR");
But now getting the following error that table is empty:
Index 0 of table ZSD_TT_CUS_CRBAL out of range: table is empty (CurrentIndex cannot be set)
showing the following error in the current row. But if I run the function from se37, it is showing data nicely.
10-21-2017 1:10 PM
I can't tell you what is different between your code and the way you call it via SE37.
But did you call invoke before trying to get the result?
10-21-2017 5:45 PM
It is always a risky thing to call someone 'Sir' if you don't know whether they're male or female...
10-22-2017 7:41 AM
Sorry for that, but now a days, we dont differentiate male/female with a keyword sir/madam rather than tell only sir for both female and male.
10-22-2017 7:52 AM
please see, I have called invoke before getting the result and the way to call from se37
10-22-2017 7:54 AM
10-22-2017 7:55 AM
10-22-2017 7:57 AM
10-22-2017 8:37 AM
This might be the case where you live, but in other parts of the world, certainly is not.
10-22-2017 10:20 AM
Who decided "sir"? (probably due to the patriarchal dominance, not really equality) From my point of view, we should say "madam" for both female and male 😉
10-22-2017 11:10 AM