AT LINE SELEVCTION problem
I am displaying on out put screen.
SalesOrder Delivery Invoice in one row.
i want to call separate list on clicking of SalesOrder Delivery Invoice, i.e. when SalesOrder is clicked list for SO details,
Delivery is clicked then list for delivery & same for Invoice.
Please let me know how it is possible.
Mandeep Sindhu replied
GET CURSOR FIELD wa_final VALUE lv_value.
wa_final will have the field name.
You have to write IF or Case to compare this wa_final with the corresponding fields for sales order, delivery, invoice.
Here is sample code.
SET PARAMETER ID 'AUN' FIELD lv_value.
CALL TRANSACTION 'VA03' AND SKIP FIRST SCREEN.
when ' wa_final-li_vbeln '.
*Do some action here
when 'wa_final-fu_vbeln '.
do some action here
Plz check in the debugging mode what value you are getting in wa_final on clicking the three fields and use those values in the case statement.