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 : Error

Simha_
Product and Topic Expert
Product and Topic Expert
0 Likes
599

Hi Guys,

Im using LSMW with IDOC.

I'm passing data from tab limited file to lsmw for processing.

When processing the IDOC it's giving the error.

<b>Editing Was Terminated</b>

What does this error mean??

Can anyone help me in this regard??

Cheers,

Simha.

5 REPLIES 5
Read only

Former Member
0 Likes
520

If you are using LSMW with IDOC then why are you passing the tab limited file

Change your processing type in

Maintain Object Attributes to Direct Input /Batch

After that change your file in Specify Files to presentation server file and tick Tab Delimited File.

This should solve your problem but you need to reconfigure your LSMW object

Read only

Simha_
Product and Topic Expert
Product and Topic Expert
0 Likes
520

Hi Dominic,

But I'm getting all the datails from the file , that's y i'm using the tab limited file..

when i m processing it gives the error

Editing was terminated..

can u help me...

cheers,

Simha.

Read only

0 Likes
520

Hi Narasimha,

When you use LSMW with IDOC then you have to recieve the input as IDOC's.

If you are going to use the tab delimited file as the input then you need to do the following

1.Define Maintain Object Attributes with Direct Input/Batch Input if you have a standard object for your requirement. if not then use BDC REcording

2.Define the Source Structure (this depends on how your file is )

3. Define the fields of your source structure with the fields in the tab delimited file

4.Map the fields from Source structure to the standard object if any or your BDC Record

5. Assign Files ( Define the file path to your tab delimited file presentation or application )

And then process further on

the link given above by janapati harini is an exhaustive document on lsmw.

It will help you a lot

regards

dominic

Read only

Former Member
0 Likes
520

Hi Narasimha,

Here are the detailed steps:

- First Create ur porject-subproject and object.

- Specify the Idoc type and message type.

- Go back to starting screen of LSMW and specify the file port (u can also create one) and give partner type as LS and partner no.

- Maintain partner numbers specify navigate to partner no u have specified above.

-Add mesage type to INBOUND section and supply all details.

- Then specify mapping in LSMW and start.

You can refer the following link :

http://sapabap.iespana.es/sapabap/manuales/pdf/lsmw.pdf

Reward Points if helpful.

Regards,

Harini