Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Direct Input Method

Former Member
0 Likes
726

Hi,

I am asked to do make use of the std program RMDATIND to uplad datas.Could any one guide me who to go ahead with that.as i am not aware of in which order the fields should be there in my Flat File.Is there any way to get the order in which my fileds shd be there in the flat file?

5 REPLIES 5
Read only

Former Member
0 Likes
678

Can you please explian your scenario once again...briefly

regards,

  • Dj

Read only

0 Likes
678

i have to upload material master data using RMDATIND standar program.But i have no idea how to proceed.I dont know in what order the fiels shd be there in my flat file.

if any one has the code of how to do it .do post it.

wud reward points for all useful answers.

Read only

0 Likes
678

Just use SE38 Transaction - Use program RMDATIND( This is SAP Standard program and do not change) and see the program logic.

file should prepare as per sequence ,look at internal table ( See the sequence )

Reward Points if it is helpful

Thanks

Seshu

Read only

0 Likes
678

Finding hte internal is hte problem! If that is known then the problem is soleved.

Read only

Former Member
0 Likes
678

hi,

For upoading data using DI method you have to use the standard sap provided program for this.

Here in DI method very important thing is 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 u have to desing the flat file and upload the data.

first of all you should know the flat file structure for that you should download one material data into one text file.

Based upon that downloaded file you have to desing your flat file because without that you willnot know the structure and position of the fields rite....

so go to se38 give the program name execute it enter one material number then give the flat file name download that data into the flat file

one you got that change your flat file according to that and upload it once again with the use of the same program

chandana check this below link also

more info here.... i think u know all this info

Direct Input:

A recent technique to input data safely. An alternative to batch input.

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.

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.