2006 Jul 21 5:18 PM
Hi,
I want to run the md04 and when the transaction starts i want to fill the Material field and the plant field with two values that come from the program that calls the transaction and give the ok code to go to the screen that gives the information of the material.
basicly what i want is, i have a program, he calls the transaction MD04 and pass the values for material and plant and gives ok without the user see, and then what the user sees is the screen with the details of the material.
Thanks
2006 Jul 21 5:21 PM
Hi,
I want to run the md04 and when the transaction starts i want to fill the Material field and the plant field with two values that come from the program that calls the transaction and give the ok code to go to the screen that gives the information of the material.
basicly what i want is, i have a program, he calls the transaction MD04 and pass the values for material and plant and gives ok without the user see, and then what the user sees is the screen with the details of the material.
Thanks
2006 Jul 21 5:21 PM
2006 Jul 21 5:23 PM
SET PARAMETER ID pid FIELD f.
(with pid = MAT for material and pid = WRK for plant and your values in 'f').
Then:
CALL TRANSACTION MD04 AND SKIP FIRST SCREEN
2006 Jul 21 5:31 PM
Hi Ricardo,
You can use call transaction statement from your program.
The syntax would be :
*Fill material # in mat_no and plant # in plant_no field.
SET PARAMETER ID: 'MAT' FIELD mat_no,
'WRK' FIELD plant_no.
CALL TRANSACTION 'MD04' AND SKIP FIRST SCREEN.
Cheers,
Vikram
Pls reward for helpful replies!!
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |