Skip to Content
author's profile photo Former Member
Former Member

alv double click (different transaction number called for the same field)

In an alv double click event , my scenario is :-_

i have many fields where in my ALV , when I double click on the reference no. (that is the combination of material doc no.(mm) and the (billing doc no.) no. generating invoice(sd)

Is it possible that for the same column reference no. (if i click on the the material doc no. , MB01 transaction is called and if the (billing doc no.) no. generating invoice is clicked , a different transaction VF03 is called) ?

PS:- Both (material doc no.) and (the no. generating invoice i.e billing doc no.) are in the same field reference no.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Aug 20, 2011 at 05:07 PM

    I would suggest to give a pop up to user to choose between two options -

    based on that program flow can move to MB01 and VF03

    Thanks

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi,

      Do you have something identifier in Internal table record, if ref number is specific to MB01 or VF03? If not then I will suggest either populate your internal table record with that value, so when user double clicks in user command subroutine you can directly check that value and navigate to respective transaction. If you cant populate initially then you can make necessary select queries on double click and then navigate.

      If number range if different then you can use number range of document and then navigate, but I will suggest to stick to making select query or populate internal table approch over number range.

      Nitesh

  • Posted on Aug 20, 2011 at 06:28 PM

    Hi pawanpanjwani1704,

    select document number from MKPF Header: Material Document. If found, call MB01 transaction, else call VF03.

    It would be better to have another column carrying the document type and decide on that.

    Regards

    Clemens

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.