04-14-2010 10:30 AM
Hi All,
Is there any way to navigate from an input field to a transaction code.
I have an output field in a sceen with Quotation # in it. This output is added to Cust. Enhancement Tab of another transaction (not a output field of reports). When I double click on Quotation #, I should navigate to VA23.
I know it is possible thru buttons by giving function code. Want to know if it is possible in output field (were function code field in SE51 is disabled).
Thanks & Regards,
Sabu
04-14-2010 8:12 PM
There are 2 necessary things in your screen to setup.
Step 1 - Update your GUI_STATUS and ensure the the F2 command has a function code. This function code is called when you double-click on a screen element.
Step 2 - In your PBO for the Flow Logic, ensure that you have a statement like FIELD <fieldname> MODULE <modulename> where <fieldname> is the screen field that contains your sales order number and <modulename> is the name of the module that will call the va03 transaction with this variable.
You can make it a bit simpler by assigned the field with the set parameter for AUN. This will make your call transaction easier since changing your screen field with update the parameter id AUN that is used in the selection screen of VA03.
For further details on using call transaction, look at the ABAP documentation.