2008 Aug 25 2:50 PM
Hi Gurus,
It's quite easy to call transaction mm03 with from an ABAP program.
Filling the parameter ID MAT with the material, and you're good to go.
Call transaction 'MM03' and skip first screen.So far so good. But is it also possible to enter data for the next screens (you have to select a view and plant). Now the user still has to enter that data and I was wondering if I could do that automatically...
kind regards,
Ron.
2008 Aug 25 2:53 PM
For this you can create a small BDC.
Use SHDB to record the transaction. Leave it when it reaches your desired screen.
Now, in your program Call this BDC in the "N" (Background) mode .
Regards,
Naimesh Patel
Hi Gurus,
It's quite easy to call transaction mm03 with from an ABAP program.
Filling the parameter ID MAT with the material, and you're good to go.
Call transaction 'MM03' and skip first screen.So far so good. But is it also possible to enter data for the next screens (you have to select a view and plant). Now the user still has to enter that data and I was wondering if I could do that automatically...
kind regards,
Ron.
2008 Aug 25 2:53 PM
For this you can create a small BDC.
Use SHDB to record the transaction. Leave it when it reaches your desired screen.
Now, in your program Call this BDC in the "N" (Background) mode .
Regards,
Naimesh Patel
2008 Aug 25 2:53 PM
2008 Aug 25 2:54 PM
Hi
CALL TRANSACTION ta USING bdc_tab
bdc_tab of row type BDCDATA from the ABAP Dictionary
regards
Pavan
2008 Aug 25 2:59 PM
Hi
U disable the include screen and copy the form statement in include.
U declare CALL TRANSACTION 'mm01' USING lt_bdcdata
MODE p_mode
MESSAGES INTO lt_messtab.
2008 Aug 25 2:59 PM
hi,
SAP provide the functionality of skipping the first screen. Because in most of the cases the first screen of a transaction is only taking the name of SO, or PO etc.
If you want to Automate, Record a simple BDC and pass the data values.
Regards
Sumit Agarwal
2023 May 10 7:09 AM
Hi,
Very simple. Create a BDC recording till the screen you want. And create a function for BDC recording. Call that function with mode = E.
That is it.
Cheers