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

Former Member
0 Likes
494

hai sir

can u say methods in lsmw. but i know 14 steps. except those ,,,r there methods.plz give ans.

1. one more thing can u use lsmw for idoc. how

hai sir

can u say methods in lsmw. but i know 14 steps. except those ,,,r there methods.plz give ans.

1. one more thing can u use lsmw for idoc. how

4 REPLIES 4
Read only

Former Member
0 Likes
478

Hi Venu,

see these links for the infromation.

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

You could have a look [https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/4401] [original link is broken] [original link is broken] [original link is broken];

Reward points to get one,

Aleem.

Read only

Former Member
0 Likes
478

Hi,

LSMW IDOC

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)

Reward If Helpful.

Regards Madhu.

Read only

Former Member
0 Likes
478

Hi

LSMW with IDOC

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

click on each step it will show you screen flow of each step

http://www.saptechnical.com/Tutorials/LSMW/

this one for all the LSMW steps

Preferred methods of input are described in order of preference:

IDOC’s

Advantages: Fast to load, easy processing, low programming for standard IDOC’s

Disadvantages: Good knowledge of IDOC processing required, time consuming if changes have to be made to a created IDOC

2. BAPI’s

Advantages: Fast to load, easy processing, logical interface for functional/end user based on the business processes involved.

Disadvantages: Not always complete with all input fields of a transaction

3. Standard/Direct Input

Advantages: Well tested method, Fast to load, easy processing.

Disadvantages: No enjoy transactions, not always complete with all input fields of a transaction.

4. Batch Input

Advantages: Easy modifiable, all fields are available, easy re-processing.

Disadvantages: Comparatively slow, to use new screens or tabs a new recording has to be created, not easily usable for enjoy transactions, dependant on user settings, difference in foreground and background processing may occur.

Read only

Former Member
0 Likes
478

different methods in LSMW

Direct Method

Batch Input - Record Method

BAPI Method

IDOC/ALE

Check this WIki..

https://www.sdn.sap.com/irj/sdn/wiki?path=/display/abap/lsmw

Check this thread for sample code for How to fill data in IDoc.. and use Idocs in LSMW

steps in idoc process in lsmw

If you have knowledge of IDoc you can easily perform the following steps for LSMW through Inbound Idoc

To use IDoc inbound processing, you must first perform the following steps:

Step 1.Define or select a file port for transporting the file. Optionally, you can also create a tRFC port.

Step 2. The partner type has to be defined or selected.

( WE20 to Maintain Partner Profiles )

For example-

Partner type:US

Report name:/SAPDMC/SAP_LSMW_PARTNERTYPES

Form routine:READ_USER

Short text: Testing

Step 3. The partner number has to be defined or selected.

For example

Partner number:LSMW

Partner type:US

Partner status:A (active)

Type:US

Language: EN or DE

ID:Your user ID

Step 4. IDoc inbound processing must be activated, and the workflow customizing must be checked. Both of these tasks are performed once in each system.

For this Step 4you need to doi the following things

I) Choose Workflow customizing.

The Workflow Customizing screen appears.

II)Choose Perform Automatic Workflow Customizing.

The auto customizing log for the runtime system is displayed.

III)Check the entries.

The following entries of the workflow runtime system must have a green checkmark assigned to them:

– Maintain System Administrator for Workflow.

– Configure RFC Destination.

– Classify Decision Task as General.

– Activate Send to Objects