Skip to Content
author's profile photo Former Member
Former Member

DIRECT INPUT METHOD

Hi Friends,

can any one give me the Brief idea about Direct Input Method.. why we need this.. where exactly we can use.. and what are the adavatages.. what is the procedure.. for this.. just plz give me theoritical explination..

Thanks

Babu

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Aug 30, 2007 at 11:22 AM

    Hi ,

    Direct method means it will updates data directly to the database (fast process).

    coming to Recording method (validation happens through screens---> it is slow process)

    1) U have to know which Object, Method, Programe name u should use , and also u have to know what is the target structure(exactly in which structure the data values are reflecting ) that u have to assign u r source structure.

    Note: if u have any zfields in the tcode(which u want to upload ) then in Direct input case u cant upload those fields, at that time u have search for alternative fields, if its not there, then there is noway to upload values in those particular zfields , uhave to go for Recording method.

    so choose carefully which method u want, before starting the job.

    Among the methods of data transfer through BDC, direct input method is the one that is used, especially in case of transferring large amount of data. In order to enhance the batch input procedure, the system offers you with the direct input technique.

    There is a distinction between the batch input technique and this technique. Unlike batch input technique, this technique does not create sessions. Instead, it stores the data directly. Moreover, it does not process screens. The data has to be entered directly into the corresponding database tables. The system calls a number of function modules which execute necessary checks, if any required. In the case of errors, the direct input technique has a facility to restart the entire mechanism. However, if you want to restart the entire mechanism in case you faced an error, then direct input programs must be executed in the background only. One has to use program RBMVSHOW or Transaction BMV0 to maintain and start these programs.

    do refer this link

    1. Direct Input (DINP)

    With direct input, the SAP function modules execute the consistency checks. However with batch input, these consistency checks are executed with help of the screens. This means that direct input has considerable performance advantages. But there are a few programs for direct input, you can use them if it accomplishes your goal. Direct Input programs work like that they update database tables directly. As you know that it is forbidden to update SAP database tables directly, since consistency and security should be considered. Exceptions are these direct input programs. So you are not able to write custom ABAP direct input programs. But of course you can write ABAP programs to update custom database tables (Z tables), if you are sure all about consistency.

    So why SAP has created direct input programs? Because SAP wanted to enhance the batch input procedure, since batch input is slower. SAP offers the direct input technique, especially for transferring large amount of data. In contrast to batch input, this technique does not create sessions, but stores, updates, inserts data directly. 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 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:

    RFBIBL00 - FI

    RMDATIND - MM

    RVAFSS00 - SD

    RAALTD11 - AM

    RKEVEXTO - CO-PA

    also this one

    Direct Input method is used to upload large amount of data for single application.

    While uploading data for material master, it includes lot of views, it becomes difficult to capture all the views and record the transaction code and map the data. We can use Direct Method

    Advantages

    In Session or Call Transaction method while uploading the data we do the validation by following the screen sequence and field sequence where as in Direct Input method validations can be done set of code so this make the process very fast so its advantageous to upload large amount of data. We can also use standard SAP programs..

    Direct Input method needs structure of flat file so to know the structure first of all you have to download the data for one record into the internal table with the use of the same program then with the use of that structure you have to design the flat file and upload the data.

    re-direct-input-method

    Reward points if helpful.

    Thanks

    Message was edited by:

    Pattan Naveen

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.