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: 

From Report output To call VF01 transaction Code

Former Member
0 Kudos

Hi,

i have copied RVAUFSPE(Release sales orders for billing standard program) to ZRVAUFSPE and after executing this program it shows the records(In ALV List Display) i will select the one record and by check box and Pressing Delete Billing Block Push Button(It is already Predefined) it deletes the Record.In addition to this(Deletes Record) i need to also to Call VF01 transaction.

Thanks in Advance.

Edited by: Ashok Kumar on Jun 27, 2008 8:54 AM

1 ACCEPTED SOLUTION

vinod_vemuru2
Active Contributor
0 Kudos

Hi Ashok,

In the USER COMMAND Form of ALV u have to code like this.

Also u have to pass this form name to the REUSE ALV FM.

IF rsucomm EQ 'UR push button Fcode'.

SET PARAMETER ID 'AUN' FIELD 'Delivery number of that order'.

CALL TRANSACTION 'VF01'.

ENDIF.

Here rsucomm will come from the User command FORM.

Thanks,

Vinod.

2 REPLIES 2

vinod_vemuru2
Active Contributor
0 Kudos

Hi Ashok,

In the USER COMMAND Form of ALV u have to code like this.

Also u have to pass this form name to the REUSE ALV FM.

IF rsucomm EQ 'UR push button Fcode'.

SET PARAMETER ID 'AUN' FIELD 'Delivery number of that order'.

CALL TRANSACTION 'VF01'.

ENDIF.

Here rsucomm will come from the User command FORM.

Thanks,

Vinod.

Former Member
0 Kudos

Hi'

1.Using slis_selfield ,u can call the transaction VF01.

Like:

CASE s_ucomm.

WHEN '&IC1'.

IF s_selfield-fieldname = 'MATNR'

AND s_selfield-tabname = 'I_FINAL'.

SET PARAMETER ID 'MAT' FIELD I_FINAL-MATNR.

CALL TRANSACTION 'MD04' AND SKIP FIRST SCREEN.

endif.

ENDCASE.

Regards,

Shiva Kumar