Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

AT LINE SELEVCTION problem

Hi SDN,

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.

Regards,

Rahul

Tags:
replied

Hi Rahul,

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.

Case wa_final

when 'wa_final-so_vbeln'.

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

endcase.

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.

Thanks,

Mandeep

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question