I want to start a direct input job (RMDATIND with variant) programmatically. I read online that I can do it using RMBVSHOW. The job has already been defined using BMV0, including the variant.
How do I start it from a program?
using this program or tcode we can schedule a program for direct input method with variant by just clicking define job
To enhance the batch input procedure, the system offers the direct input technique, especially for transferring large amounts of data. In contrast to batch input, this technique does not create sessions, but stores the data directly. It does not process screens. To enter the data into the corresponding database tables directly, the system calls a number of function modules that execute any necessary checks. In case of errors, the direct input technique provides a restart mechanism. However, to be able to activate the restart mechanism, direct input programs must be executed in the background only. To maintain and start these programs, use program RBMVSHOW or Transaction BMV0.
Examples for direct input programs are:
see these links
Thanks for the replies.
I found a function online that does what I was looking for:
CALL FUNCTION 'BI_START_JOB'
jobid = ''
jobtext = 'Z...'
repname = 'RMDATIND'
server = ''
variant = 'Z...'
new_job = 'X'
continue_job = ''
START_IMMEDIATE = 'X'.
That works fine. However, I do not know if this has unwanted repercussions. If anyone has used this before or is familiar with this function, please let us know.
Edited by: Cristine R on Jul 14, 2008 3:58 PM