on 10-04-2005 4:24 PM
To be able to initialise the LIS extractors for purchase we usually schedule a number of parallel processes. I have written an ABAP that proposes document-ranges to have equal size running times for each parallel process. Currently I manually type these proposed ranges in the transaction OLI3BW.
I would rather extend my ABAP to automatically enter the ranges in the OLI3BW transaction and to schedule that range automatically. Unfortunately, my ABAP knowledge is insufficient to create such an extension.
I would like a 'wrapper' for the OLI3BW transaction that I can call like this:
CALL FUNCTION wrapper_oli3bw
EXPORTING
range_low = r_lo
range_high = r_hi
start_time = time
start_date = date.
Any suggestions on how to accomplish this? Any ideas on how to automate initialisations differently are also welcome.
there is a function module called "RS_CREATE_VARIANT".
you can call it in your abap every time you get a range, and schedule a job with this variant.
Gr,
M.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am afraid that I need a bit of help with this function.
Can you indicate briefly how to call this function?
I want to call OLI3BW. Lets say for documents '0001' to '0999'.
< -
EXAMPLE CODE BELOW -
>
DATA wt_parm like rsparams occurs 0 with header line.
wt_parm-SELNAME = ?????
wt_parm-KIND = ?????
wt_parm-SIGN = 'I'.
wt_parm-OPTION = 'BT'.
wt_parm-LOW = '0001'.
wt_parm-HIGH = '0999'.
append wt_parm.
CALL FUNCTION 'RS_CREATE_VARIANT'
EXPORTING
curr_report = ????
curr_variant = 'my_var_name'
vari_desc = 'My generated var'
tables
vari_contents = wt_parm
vari_text = ????
Note: I moved this topic to the ABAP forum.
Message was edited by: T. Jans-Beken
Hi dear,
I think you have to look at CALL TRANSACTION statement (search in the ABAP help for more detail or post a question in the ABAP forum
Bye,
Roberto
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.