7
Step Twelve: Now you can use this process code in the inbound parameters of the partner’s profile. Part Two: Following are the steps to be performed on LSMW side. Step One: Enter the project, sub-project and Object name for our scenario. Step Two: Click the first radio button ‘Maintain Object Attributes’ , execute and enter the message name and IDOC name into the screen as follows.

Step-By-Step Guide for LSMW Using ALE-IDOC Method - 2

  • Upload
    srishti

  • View
    17

  • Download
    6

Embed Size (px)

DESCRIPTION

Step-By-Step Guide for LSMW Using ALE-IDOC

Citation preview

Page 1: Step-By-Step Guide for LSMW Using ALE-IDOC Method - 2

Step Twelve: Now you can use this process code in the inbound parameters of the partner’s profile. 

 

Part Two:

 Following are the steps to be performed on LSMW side. 

Step One:

Enter the project, sub-project and Object name for our scenario. 

 

Step Two:

Click the first radio button ‘Maintain Object Attributes’ , execute and enter the message name and IDOC name into the screen as follows.

Page 2: Step-By-Step Guide for LSMW Using ALE-IDOC Method - 2

 

Step Three:

Click radio button ‘Maintain Source Structures’ and execute to create new source structure as follows.

 

Step Four:

Click radio button ‘Maintain Source Fields’ and execute to enter the fields in the source structure. Here these fields are same as the fields in segment of the IDOC created earlier.

 

Step Five:

Click radio button ‘Maintain Structure Relations’ and execute to create relationship between source and target structure. Here target structure is Message type ‘ZEMP_MSG’.

Page 3: Step-By-Step Guide for LSMW Using ALE-IDOC Method - 2

 

Step Six:

Click radio button ‘Maintain Field Mapping and Conversion Rules’ and execute to create field mapping and a conversion rules between source structure and target structure.

 

Step Seven:

Click radio button ‘Maintain Fixed Values, Translations, User-Defined Routines’ and execute to assign fixed values to any field, to call user defined routines etc. These activities are not required in our scenario. 

Page 4: Step-By-Step Guide for LSMW Using ALE-IDOC Method - 2

Step Eight:

Click radio button ‘Specify Files’ and execute to assign file on the local workstation to the LSMW to read. The file has contents as shown below.

 

And now we specify the location of file here. 

Step Nine:

Click radio button ‘Specify Files’ and execute to specify file to source structure as follows.

 

Step Ten:

Page 5: Step-By-Step Guide for LSMW Using ALE-IDOC Method - 2

Click radio button ‘Read Data’ and execute to read file from local workstation as per path specified.

Step Eleven:

Click radio button ‘Display Read Data’ and execute to display data just read.

 

Step Twelve:

Click radio button ‘Convert Data’ and execute to create a file with extension  ‘.conv ’.

 

Step Thirteen:

Click radio button ‘Display Converted Data’ and execute to display the converted data.

Page 6: Step-By-Step Guide for LSMW Using ALE-IDOC Method - 2

 

Step Fourteen:

Click radio button ‘Start IDoc Generation’ and execute to generate the IDOC from the data provided and structure mapping done earlier in this document. For this purpose, we cam use the converted file in step twelve. After successful generation of IDOC, below shown message is displayed. 

 Step Fifteen:

Click radio button ‘Start IDoc Processing’   and execute to process the IDOC by inputting necessary selection parameters. 

 

Step Sixteen:

Click radio button ‘Create IDoc Overview’ and execute to show status and details of IDOC generated. This screen is similar to ‘WE02’ or ‘WE05’ transaction.

Page 7: Step-By-Step Guide for LSMW Using ALE-IDOC Method - 2

 

Here , as you can see , the status of IDOC is OK (Green color Bubble) and hence confirms successful processing of IDOC. 

Step Seventeen:

Click radio button ‘Start IDoc Follow-Up’ and execute to reprocess the IDOC if not posted or generated properly initially.