Application Development 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: 

lsmw with Idoc....

Former Member
0 Kudos

Hi all,

i am using idocs in lsmw .

but in the Specify files step. i dont get any idea wht should be the format of the file to be assigned.

Give me the format of file to be asigned.

Regards..

.manoj

8 REPLIES 8

former_member235056
Active Contributor
0 Kudos

Hi,

Go through the steps

Hi please go through the following steps for IDOC method

Step 1. Run the transaction ( /nlsmw ) you will reach to the screen

Here you have to specify

Project : 060_BUS_TRANS

Subproject : SERVICE_TICKET

Object : SRV_TICKET_ZSVT

click on the execute button .you will reach the screen :

The screen shows the 15 steps to Run the lsmw

Step 2) select the first step ( Maintain object attributes) and click the execute button.After clicking on the execute button you will reach at. the screen

Here you have to specify ( MEssage type and basic type)

click on the BACK button

Step 3) select the 2nd step ( Maintain source structures) and click the execute button

Here you have to specify the source structures.

Step 4) Select the 3rd step ( Maintain source fields) and click on the execute button :

Here you have to specify the fields present in the source structure

Step 5) select the 4th step ( Maintain structure relationship ) and click on the execute button :

Here you have to specify relationship between source and target structures

Step 6) select the 5th step ( Maintain field mapping ) and click on the exécute button :

Here you have to map the fields between source and target structure. Also you have to apply conversion rules here if any

STEP 7) select the 6th step and click on the exécute button

Here you can define any fixed value or user define routines

Step 😎 select the 7th step ( Specify files) and click on the exécute button :

At This screen we have to specify the files for This we should be in change mode .So please click on the button shown in the above screen. After clicking on This button you will be in change mode and will be able to specify the files :

Step 9) select the 8th step ( Assign files) and click on the exécute button

For assigning files yoy should be in change mode do the same thing click on the button as shown in the above screen :

Then assign the files to different structures.

Step 10 ) select the 9th step ( Read Data) and click on the exécute button :

After clicking on the exécute button you will reach to the screen

Again click on the exécute button . After clicking on the exécute button you will reach to the next screen

Here you will see data is read.

Step 11) select the 10th step ( Display read data) and click on the exécute button :

Here you can see your test data present in test files assign to source sturcture

Step 12 ) select the 11th step ( Convert data) and click on the exécute button :

After clicking on the exécute button you will reach to the screen

Click on the exécute button as shown on the : After click on the exécute button you will reach to the next screen

Data is converted

Step 12th ( Display converted data is same as Display read data )

Step 13 ) select the 13th step ( Start idoc generation) and click on the exécute

button :

At this step Idoc is generated using converted data

Step 14) select the 14th step ( Start idoc processing ) and click on the exécute button :

After clicking on the exécute button you will reach to the screen :

And then click on the exécute button : After clicking on the exécute button you will reach to the final processive screen

If data is processed correctly you will see ( 53 Status message with green sign

)

Pls reward all helpful points for my effort.

regards,

Ameet

0 Kudos

hi.

i have gone thru these steps.

but got the problem in the step-8, where we have to assign file .

problem is wht should be the format of the file.

plzz it is urgent..or if you did all that than can send me a demo file this.

Regards

manoj

0 Kudos

Hi,

U can specify any type u wish(I have used xls,txt,dco files).

Look at this link:

/message/3774046#3774046 [original link is broken]

Pls do not forget to reward all helpful points.

Regards,

Ameet

0 Kudos

THANKS SIR,

MY PROBLEM IS AS.... should i use std. or cutum idoc. and how can i know wht data to be filled in it..if u dan't mind can i talk to you on ur mesanger Id.

mine is : manojlakhanpal@gmail.com

as i am confused ..

Regards

manoj.

0 Kudos

Hi,

Ok we can chat later but i have received no points as yet may be we can chat 2morrow.

My id is ameet.jassani@gmail.com and i am adding u to my list.

Regards,

Ameet

0 Kudos

Hi,

I am now online pls come online i will provide u with stepwise procedure for lsmw with idocs ppt.

Pls come soon i dont have time.

Regards,

Ameet

0 Kudos

Hi,

Take a look at these ppt link with screenshots for idoc method:

<a href="http://esnips.com/doc/1cd73c19-4263-42a4-9d6f-ac5487b0ebcb/LSMW-with-Idocs.ppt">http://esnips.com/doc/1cd73c19-4263-42a4-9d6f-ac5487b0ebcb/LSMW-with-Idocs.ppt</a>

pls reward points.

regards,

Ameet

0 Kudos

Hey lakhan idoc process is the same process as direct input method or batch input method .the difference in the idoc process is that ur transfering data in idoc method.u have to specify the port and partner profile by clicking the settings--->idocinboundprocessing in the first screen where u give ur project,subproject and object name then at the first step u need to select standard idoc object by pressing f4 at idoc method type .u select standard object according to ur requirement.if ur requirement deviates from standard method u need to extend the idoc and insert the idoc extension along with basic type and message type.u can no way use custom idocs so u have to use standard idocs if they dnt meet ur requirements u need to extend them..

give me points if message my helps