‎2008 Jan 14 12:12 PM
Hi forummers,
After the program has ran a list is placed on sceen with the fieldname, data element, domain, a.o..
When double-clicking on one of the elements named above I want to the system to react just like when yo double-click on an element in the se80 browser(e.g. when I click sy-cucol I get to see structure SYST and the cursor is placed on component cucol).
Does anyone know how I can build this?
kind regards,
Wim
‎2008 Jan 14 12:41 PM
Hi Wim,
try calling FM RS_DD_SHOW for your purpose. in SECNAME you can give the name of the chosen field, so it will appear on top of the list.
Cheers
Thomas
Edit: use FM DDIF_TYPEINFO_GET to determine the value for OBJTYPE (probably "T" in your case)
‎2008 Jan 14 12:15 PM
Hi,
Use CALL TRANSACTION 'Tcode' Statement in AT LINE-SELECTION event.
Regards,
Archana.
‎2008 Jan 14 12:16 PM
Hi,
You can use interactive lists for this purpose.
Use AT LINE-SELECTION command to respond to your click and code your logic after that.
Regards,
Renjith Michael.
‎2008 Jan 14 12:29 PM
I think my question was not complete enough.
I do know where I should place the problem is the code itself. I was debugging when double-clicking on an element but it was a bit too difficult for me. I was wondering if there is a FM or something. The call transaction could work but I don't know what transaction to place there?
thanks,
Wim
‎2008 Jan 14 12:35 PM
Hi,
Call transaction is just an option. You can process logic according to your requirement there. I fyou want to display something based on the first list you can do the coding after at line selection and write the results there.
Regards,
Renjith Michael.
‎2008 Jan 14 12:41 PM
Hi Wim,
try calling FM RS_DD_SHOW for your purpose. in SECNAME you can give the name of the chosen field, so it will appear on top of the list.
Cheers
Thomas
Edit: use FM DDIF_TYPEINFO_GET to determine the value for OBJTYPE (probably "T" in your case)
‎2008 Jan 14 3:02 PM