2007 Jul 13 7:38 AM
hi guru,
i need to do follwing [please help me as soon as possible
Insert a double click function in table control and call after
double click the transaction SM37 and show the selected job.
Use ABAP command
CALL TRANSACTION 'SM37' USING bdcdata
MODE E
Use the following values for transaction SM37:
Job name = value of column job name
User name = *
All checkboxes = X
Job start condition: from date = value of column letzter Joblauf
To date = system date (sy-datum)
thank in advance
points will be awwarded
anuj
2007 Jul 13 7:43 AM
HI,
You can use the GET CURSOR statment to get the data of the double click function., Then call the function CALL TRNASACTION using those values based on the values which we get from the GET CURSOR.
http://help.sap.com/saphelp_nw04/helpdata/en/9f/dbabf135c111d1829f0000e829fbfe/content.htm
Regards
Sudheer
2007 Jul 13 8:03 AM
Hi.. Try this
GET CURSOR FIELD gf_field LINE gf_line.
sy-index = tc_subscription-top_line + gf_line - 1.
READ TABLE gt_subscription INTO gr_subscription INDEX sy-index.
with this u get the field value on which it is double clicked and then u can use call transaction.
2007 Jul 13 8:44 AM
hi fayaz,
i need this rest are done
Job start condition: from date = value of column letzter Joblauf
To date = system date (sy-datum)
help me with the same
as soon as possible
regrds
anuj