2008 Nov 21 9:35 AM
Hi Experts,
how I can create a function to counter my entries in my database table?
Regards,
Mike
Hi Experts,
how I can create a function to counter my entries in my database table?
Regards,
Mike
2008 Nov 21 9:39 AM
Hi,
Can you please explain it in more details ?
regards,
Advait
2008 Nov 21 9:49 AM
I want to delete a manually input from my ALV.
If I insert rows that is not the problem.
The problem is, when I delete entries from my ALV it did not work, I need a counter or an index how I can delete the entry, who should be deleted.
2008 Nov 21 10:05 AM
Hi Mike,
after the alv grid is dispalyed use SAP$ in command field
this allows you to delete a row by selecting the required row.
regards
Ramchander Rao.K
2008 Nov 21 10:10 AM
2008 Nov 24 7:07 AM
Hi,
You use DESCRIBE TABLE LINES statement to get no of line in a internal table.
You can get the index for the selected line/s in ALV. You can delete the internal table entries based on those index.
2008 Nov 21 9:42 AM
hI Mike,
Create a NUMBER RANGE OBJECT using tcode SNRO and then call the function module
NUMBER_GET_NEXT. this will give an incremented number each time it is called.
using this number along with other data update the DATABASE table.
regards
Ramchander Rao.K
2008 Nov 21 9:44 AM
Hi
I don't know why u required but , simple way can be .
give input parameter as Table name
then make dyanamic SELECT query as
select * form <Table >.
then catch the value of system field SY-DBCNT.
put it as Export parameter.
this may help.
Regards
Sachin
2008 Nov 21 9:52 AM
Hi,
If you just want to know the number of rows in a table.
See F1 help for SELECT COUNT(*) statement
Regards
Karthik D
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |