Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Call transaction 'VL33N' on click of Inbound delivery number in ALV List.

Former Member
0 Kudos

Hi,

My ALV output is having Inbound delivery number.

If user clicks on one of the Inbound delivery it has to call transaction VL33N and display the user selected document.

Code:

-


WHEN '&IC1'.

IF rs_selfield-fieldname = 'VBELN'.

READ TABLE gt_final INTO wa_final INDEX rs_selfield-tabindex.

if wa_final-vbeln is not initial.

FREE MEMORY ID 'VL'.

SET PARAMETER ID 'VL' FIELD WA_FINAL-VBELN.

CALL TRANSACTION 'VL33N' AND SKIP FIRST SCREEN.

ENDIF.

ENDIF.

I am setting the parameter id 'VL' by passing Inbound Delivery number.After that it is calling VL33N Screen but the Inbound delivery number is blank.In debugging i can see the SAP memory for 'VL' as the selected document number.

Why VL value is not transferred to Inbound Delivery number field in VL33 Eventhough Parameter id having value.

VL (10) <0180000057>

Thanks

Bhuvana

Edited by: Pulibhuvana on Nov 22, 2010 8:20 AM

9 REPLIES 9

Former Member
0 Kudos

Hi

Comment out the syntax FREE MEMORY 'VL'. and then try it out again.

I hope it will work.

<removed by moderator>

Nikhilesh Vyas

Edited by: Thomas Zloch on Nov 22, 2010 11:08 AM - please do not ask for ...

0 Kudos

Hi,

Removed Free statement.

IF rs_selfield-fieldname = 'VBELN'.

READ TABLE gt_final INTO wa_final INDEX rs_selfield-tabindex.

if wa_final-vbeln is not initial.

SET PARAMETER ID 'VL' FIELD rs_selfield-value.

CALL TRANSACTION 'VL33N' AND SKIP FIRST SCREEN.

ENDIF.

ENDIF.

In background VL is passing to VL03N Transaction instead of VL33N.

Outbound delivery and Inbound Delivery both are assigned to same paramer id.

Don't undestand if i'm calling VL33N Why the paramer value is passed to Outbound delivery transaction VL03N.

Please suggest me.

Thanks

Bhuvana

0 Kudos

Hi Bhuvana,

Try the Parameter id VLM instead of VL

0 Kudos

Hi,

Thank you so much. Changed to 'VLM' from 'VL'.

Issue got resolved,I have given points to you.

Regards

Bhuvana

0 Kudos

Can u please change this thread as resolved,if your issue is resolved.

0 Kudos

Useful, even after years !

Thanks,

Paskalo

Former Member
0 Kudos

This message was moderated.

Former Member
0 Kudos

I got to know what your issue is.I also faced the same

Use this code:

SET PARAMETER ID 'VLM' FIELD rs_selfield-fieldname

instead of

SET PARAMETER ID 'VL' FIELD WA_FINAL-VBELN.

This is because rs_selfieldname will always have the value of that VBELN which u have selected

Former Member
0 Kudos

Resolved.