‎2005 Jun 15 7:20 PM
is it possible to call a transaction on matchcode request for a select option and get the value double clicked on in the transaction to appear in the select option, like a cost center group from the hierarchy in transaction ksh3,
I am making a cost center group select option I just wanted to know if I can link this to the transaction above so they can choose the cost center group value they want.
thanks
‎2005 Jun 15 7:31 PM
You mean sorta like the way the F4 works in transaction SE71 for the form name. This program acutally calls a function module which throws the next screen and allows the user to select one, this is then passed back to the original program where it updates the dynpro value using the appropriate function module. In regard to doing this with a "transaction", you would have to have a lot of control of this transaction, meaning, you will have to do some special coding in order to achieve this.
If it is an SAP transaction, you can pretty much forget it.
Regards,
Rich Heilman
‎2005 Jun 15 7:31 PM
You mean sorta like the way the F4 works in transaction SE71 for the form name. This program acutally calls a function module which throws the next screen and allows the user to select one, this is then passed back to the original program where it updates the dynpro value using the appropriate function module. In regard to doing this with a "transaction", you would have to have a lot of control of this transaction, meaning, you will have to do some special coding in order to achieve this.
If it is an SAP transaction, you can pretty much forget it.
Regards,
Rich Heilman
‎2005 Jun 15 9:47 PM
there is a standard FM available for cost center group F4.
Rigt now i don thave access to system
search for F4Costcentergroup*
I have used this. if you can't find , i will post the same tomorrow.
Regards
Raja
‎2005 Jun 16 6:14 AM
here are the FMs
K_F4_STANDARD_HIERARCHY_NODE
alternative method
K_GROUP_SELECT
Regards
Raja