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

Former Member
0 Likes
732

Hi,

Following are the functional specification. Can you help me on how to use the IDOC.

Mass Interaction Record needs to be craeted for large no of customers.

Assumptions:

The person who is generating the mass interaction records should have a business partner with the role "EMPLOYEE".

Systems Details:

Sending System: File From Desktop.

Receiving System: CRM

Initiating Process:

A transation has to be craeted for craeting an interaction Record using the file upload.

Transfer Method:

LSMW using IDOC Message type "CRMXIF_ORDER_SAVE_M"

Selectin Criteria:

Parameter

Mandatory

Filename and path

Input File:

Tab delimited

Fields: Data Type

1. Customer No character (10)

2. Reason Code character (4)

3. Description Text Field

Regards,

Murali

Hi,

Following are the functional specification. Can you help me on how to use the IDOC.

Mass Interaction Record needs to be craeted for large no of customers.

Assumptions:

The person who is generating the mass interaction records should have a business partner with the role "EMPLOYEE".

Systems Details:

Sending System: File From Desktop.

Receiving System: CRM

Initiating Process:

A transation has to be craeted for craeting an interaction Record using the file upload.

Transfer Method:

LSMW using IDOC Message type "CRMXIF_ORDER_SAVE_M"

Selectin Criteria:

Parameter

Mandatory

Filename and path

Input File:

Tab delimited

Fields: Data Type

1. Customer No character (10)

2. Reason Code character (4)

3. Description Text Field

Regards,

Murali

4 REPLIES 4
Read only

Former Member
0 Likes
634

Hi,

Please refer to the link below :

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

Thanks,

Sriram Ponna.

Read only

Former Member
0 Likes
634

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.

Read only

Former Member
0 Likes
634

Hi

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,

Hema SUndara.

pls reward if helpful.

Read only

0 Likes
634

Hi,

Thanks for all your inputs.

The steps which you had given is for creating ZIDOC. If I wanted to use a standard IDOC then how do I proceed.

I would like to write a program and in the selection screen user will upload the falt file. Using this flat filw I would like to update the data using LSMW and Standard IDOC.

Thanks in advance.

Regards,

Murali