2007 Apr 30 10:01 AM
Hi All,
I'm calling transaction MD03 from my report to run MRP on single material using following code.
FORM RUN_MRP.
read line sy-lilli field value pick2.
if pick2 EQ 'X'.
set parameter id 'MAT' field itb1-matnr .
set parameter id 'WRK' field p_werks.
call transaction 'MD03' and skip first screen.
endif.
ENDFORM.
I want this whole process in background. I mean I dont want to go to MD03 screens. if click on any line in report, background it sould run MRP. Could any one suggest me in this regard.
Thanks and regards
2007 Apr 30 10:07 AM
Hi,
One simple solution is create a small BDC which you will be able to run in Background and it won't take much efforts as well..
Hope this will solve your problem.
Award Points if it solves your purpose.
-Gaurang
Hi All,
I'm calling transaction MD03 from my report to run MRP on single material using following code.
FORM RUN_MRP.
read line sy-lilli field value pick2.
if pick2 EQ 'X'.
set parameter id 'MAT' field itb1-matnr .
set parameter id 'WRK' field p_werks.
call transaction 'MD03' and skip first screen.
endif.
ENDFORM.
I want this whole process in background. I mean I dont want to go to MD03 screens. if click on any line in report, background it sould run MRP. Could any one suggest me in this regard.
Thanks and regards
2007 Apr 30 10:05 AM
try this ...use MODE 'N'
call transaction 'MD03' <b>mode 'N'</b> and skip first screen.
2007 Apr 30 10:10 AM
Dear chandra,
I'm getting syntax errors if I use this code.
call transaction 'MD03' mode 'N' and skip first screen.
2007 Apr 30 10:07 AM
Hi,
One simple solution is create a small BDC which you will be able to run in Background and it won't take much efforts as well..
Hope this will solve your problem.
Award Points if it solves your purpose.
-Gaurang
2007 Apr 30 10:11 AM
HI,
DATA options TYPE ctu_params
options-dismode = 'N'.
A Display all screens
E Display errors
N Background processing
P Background processing; debugging possible
CALL TRANSACTION 'SE24' USING bdcdata_tab OPTIONS FROM options..
This will run in bak ground mode..
reward if useful
regards,
nazeer
2007 Apr 30 10:12 AM
HI Abdul,
U can use this statement
call transaction 'MD03' mode 'N' and skip first screen.
this makes tha transaction run in background
call transaction 'MD03' mode 'E' and skip first screen.
This statement allows u to disaply the trasaction screen only when an error occured
Regards,
Kasi S
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |