Application Development and Automation 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: 
Read only

interactive report

Former Member
0 Likes
980

Hi Expert,

I need to execute the tranaction MD04 by passing the material and plant from

my report and return when back button i s pressed.

pls give solution to do this

thanks in advance

sai

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
953

Use " CALL TRANSACTION 'MD04' "

Thanks

Amol Lohade

7 REPLIES 7
Read only

Former Member
0 Likes
954

Use " CALL TRANSACTION 'MD04' "

Thanks

Amol Lohade

Read only

Former Member
0 Likes
953

Initially set the parameter id's for Material and plant.

Now use CALL Transaction method and skip first screen.

Read only

Former Member
0 Likes
953

Hi,

Try like this:

set parameter id 'AUN' field wa_vbak-vbeln. "Set the vbeln value into parameter id of vbeln in transaction va03

call transaction 'VA03' and skip first screen. "Calling the VA03 Screen for display Sales Document

Regards,

Bhaskar

Read only

Former Member
0 Likes
953

Hi

set parameter id fnam value fval.

Using the above statement, first set the parameter ID's with your required values in the report and then call the transaction using statement

call transaction md04.

I hope the above code will be useful to you.

Regards,

Meshack Appikatla

Read only

kesavadas_thekkillath
Active Contributor
0 Likes
953

parameters:matnr type marc-matnr.

parameters:werks type marc-werks.

SET PARAMETER ID 'MAT' FIELD MATNR.

SET PARAMETER ID 'WRK' FIELD WERKS.

call transaction 'MD04'.

Read only

Former Member
0 Likes
953

Hi Sai,

If u want to pass the values from ur report o/p try this...

AT LINE-SELECTION.

GET CURSOR FIELD M1 VALUE M2.

IF M2 IS NOT INITIAL.

SET PARAMETER ID 'BES' FIELD M2.

CALL TRANSACTION 'MD04'.

Read only

kesavadas_thekkillath
Active Contributor
0 Likes
953

This is fine

parameters:matnr type marc-matnr.

parameters:werks type marc-werks.

SET PARAMETER ID 'MAT' FIELD MATNR.

SET PARAMETER ID 'WRK' FIELD WERKS.

call transaction 'MD04' and skip first screen.