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 Using IDOC

Former Member
0 Kudos

Hi Experts,

im using std message type...and in the step of start idoc processing..im getting a message as no data could be selected...and still if i go further to next step it is showing me status 51...with messages as " No instance of object type InspectionPlan has been created. External reference : Message no. BAPI001"

any ideas ???

Pandari

Message was edited by:

pandari g

3 REPLIES 3

Former Member
0 Kudos

Hello Pandari,

I faced the same issue.

I think the quantity of IDocs is the issue:

Please try with more then 10.

Anja

Former Member
0 Kudos

Steps

LSMW > settings > idoc inbound processing

Create ports

Maintain partner tpe and partner function

Activate the idoc inbound processing

Rest follows the normal procedure by selecting the idoc type in th object attributes

Follow below links ...

http://www.saptechnical.com/Tutorials/LSMW/IDocMethod/IDocMethod1.htm

http://www.jt77.com/system-dynamics/model-01395.html

http://www.scmexpertonline.com/downloads/SCM_LSMW_StepsOnWeb.doc

If you have OSS login then , go to the following link

https://websmp202.sap-ag.de/~form/sapnet?_SHORTKEY=01100035870000615616

regards.

Former Member
0 Kudos

see this and do accordingly

http://esnips.com/doc/1cd73c19-4263-42a4-9d6f-ac5487b0ebcb/LSMW-with-Idocs.ppt

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)

with regards,