‎2014 Jan 20 9:37 AM
Hi All,
I have creted an ALV report which displays data from GLPCA ,MARA and some other tables. Now my requirement is that when the user clicks the refdocnr or document number field in the ALV then he will be taken to the overview of billing item screen .( The same feature is there in transaction KE5Z) .
I have already captured the document number using the hotspot click event but I need not pass it to KE5Z's initial screen. instead I have to pass it to the place where the interactive feature of KE5Z begins.
After debugging I have found out that this interactive feature is written within the include LSLVC_FULLSCREENI01.
How do I call pass the document number from my custom ALV to this include LSLVC_FULLSCREENI01????
Thanks,
Faiz
‎2014 Jan 20 9:51 AM
Hi,
Use set the parameter of fields and call the transaction .
It will take you to the screen.
like:
IF selfield-fieldname = 'LIFNR'.
SET PARAMETER ID 'LIF' FIELD wa_VEN-lifnr.
set PARAMETER ID 'BUK' FIELD wa_VEN-bukrs.
CALL TRANSACTION 'FBL1N' AND SKIP FIRST SCREEN.
ENDIF.
Regards
Neeraj
‎2014 Jan 20 10:00 AM
Hi Neeraj,
I have done that already but it is not working. Therefore im trying to pass the parameters
directly to the include mentioned in my original mail.
Regards,
Faiz
‎2014 Jan 20 10:04 AM
what tcode you are trying to call and what parametres yor are passing.
‎2014 Jan 20 11:17 AM
Hello Faiz,
What Neeraj has suggested should work.
Can you please tell which TCode you are trying to call.
Also, please provide your code so that we can see if something is missing.
Warm Regards,
Shyam
‎2014 Jan 20 11:32 AM
Hi Shyam,
I'm capturing the reference doc number in a variable and calling the KE5Z transaction
as shown below.
SET PARAMETER ID 'VF' FIELD v_refdocnr.
CALL TRANSACTION 'KE5Z' AND SKIP FIRST SCREEN.
Regards,
Faiz
‎2014 Jan 20 11:34 AM
‎2014 Jan 20 11:37 AM
‎2014 Jan 20 11:47 AM