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

LSMW

Former Member
0 Likes
720

Hi all,

How to add files with MK01 in LSMW

Hi all,

How to add files with MK01 in LSMW

6 REPLIES 6
Read only

Former Member
0 Likes
685

Can u just elaborate what exactly do u need...

Read only

Former Member
0 Likes
685

Hi,

Please explain your problem in detail.

Regards,

Mukul

Read only

Former Member
0 Likes
685

Are you asking for the mandatory fields for the TCode MK01?

Which method do you want to use for the data transfer i.e., creating new data in this case.

Please be precise.

Read only

Former Member
0 Likes
685

Mohammed,

First of all your question is not clear

i will explain u the process steps upto uploading

first of all you have to record the transaciton MK01 through LSMW first step

then u will get the structure..

second step u have to maintain the source structure u have to maintain one source structure name

third step is to maintain the source structure fileds based upon your file....

fourth step is to maintain the structure relation ship that means in this step u r defining the relation between the source structure and target structure

fifth steps is to maintain the filed mapping and rules that u have to link the fileds of source structure to the fileds of target structure and if u want to desing any filed rules then u can define there itsself

sixth step is not mandatory

seventh step there comes the picture you have to specify the files. first of all you have to check where the file is.. like wheather it is in applicaiton server or presentation server based upon that u have to specify the file in thtis step...

.... so the process goes like

if u r question is something other than this explain it bit clearly...

~~Guduri

Read only

Former Member
0 Likes
685

Hi,

1. Maintain Attributes:

Here you have to choose the second option and you can do the recording how this should work. Then assign the same to the Batch Input Recording name.

2. Maintain Source structure:

Create a structure name

3. Maintain Source field:

In this you have to create a structure same as taht of the input file

eg: name

age

sex

4. Maintain structure relations:

This will link the structure to the input file.

5. Maintain field mapping and conversion rules:

Here is the place where you can do coding, depending upon the code you have written or assignment you have done the values will get picked up from the file and get processed.

6. Maintain field mapping and conversion rules:

If you have any fixed values you can define here.

7. Specify files:

Specify the input file path and type.

8. Assign files:

This will assign ur file to the Input file

9. Read Data:

This will read ur data from teh file.

10. Dispaly Read Data:

You can see the uploaded data

11. Convert Data

This will convert the data to the corresponding format for processing

12. Display Converted data:

13. Create batch input session

Here this will create a batch input session for processing

14. Run Batch Input session:

By clicking on the session and process the same you can do teh needfu.

Hope this helps you.

Read only

Former Member
0 Likes
685

Pleas send me your email address i will give you detail documentation about lsmw.

Regards

Maqsood