on 08-26-2009 5:04 AM
HI Guys,
Can you please check the code error ?
Select MBLNR MJAHR CPUDT CPUTM
where werks = p_werks
and cpudt = sy-datum
and cputm > sy-uzeit and cputm < (sy-uzeit-p_hours).
error in brackets ?
modify your code as follows
Select MBLNR MJAHR CPUDT CPUTM from dbtab into itab
where werks = p_werks
and cpudt = sy-datum
and cputm > sy-uzeit and cputm < (sy-uzeit-p_hours).
calculate (sy-uzeit-p_hours). and assaign to a variable and use it.
dbtab---is a database table and itab should have the same structure
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi!
You should tell the system from which database table you want to read....
Regards,
Volker
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vasu,
Someone in the forum can reply back to you for your question, but I guess this is not the right forum to post question related to ABAP.
Regards,
Neetesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.