on 06-12-2009 4:49 PM
Does anyone know how to submit RIMODGEN in the background? Here's a small clip of my code. I don't think the problem is with my parameters. The program executes but the integration model is not created.
CLEAR gt_params.
PERFORM load_params USING 'I_INCR' 'P' 'I' 'EQ' 'X'. "Dark Mode
PERFORM load_params USING 'I_MODID' 'P' 'I' 'EQ' p_model.
PERFORM load_params USING 'I_LOGSYS' 'P' 'I' 'EQ' p_lsys.
PERFORM load_params USING 'I_APPL' 'P' 'I' 'EQ' 'MATERIALS'.
PERFORM load_params USING 'I_MATINC' 'P' 'I' 'EQ' 'X'.
LOOP AT gt_mara INTO gs_mara.
PERFORM load_params USING 'MA_MATNR' 'S' 'I' 'EQ' gs_mara-matnr.
ENDLOOP.
SUBMIT rimodgen
WITH SELECTION-TABLE gt_params
AND RETURN.
Thanks in advance for any help someone can provide.
Mike
Mike - the submit only handles the selection screen. On the next screen there is a button to generate the IM. I recommend creating a tempoprary BDC program dynamically in your program then generating the code and executing or submitting job OR using RSBDCSUB to submit RIMODGEN.
Andy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Could you please elaborate on your requirement. In general we use SM36 and SM37 for IM creation and scheduling. For IM activation you have to use program RIMODAC2 and create and schedule job using SM36 and SM37
Thanks
Aparna
Edited by: Saradha Ramesh on Jun 12, 2009 6:15 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
9 | |
4 | |
3 | |
2 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.