cancel
Showing results for 
Search instead for 
Did you mean: 

Material upload LSMW..etc??

Former Member
0 Kudos

Hii experts

Can somebody explain me about the material stocks upload ..etc like cut over strategies with technical module help.

Like earlier LSMW , now its got changed .. what is that like BAPI , BADI..? what it mean , how it will work . what adavantages are there if we compare with LSMW.

Some body explain me about that ???

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Badi = http://www.sap123.com/a/375/

LSMW = http://www.sap123.com/a/98/

BAPI =

Edited by: Afshad Irani on Jun 22, 2010 11:08 AM

Former Member
0 Kudos

hii

Can somebody explain me in short without any link.

Jus i wanted to know clearly what is the new methods are there in Material upload ??

Thanks

Former Member
0 Kudos

Please check this answered link:

In short LSMW is created by MM consultant and BAPI with help of ABAP consultant.

With LSMW you have control over the upload, and with BAPI program through ABAP, you are dependant on them if there are any errors to get it fixed.

Edited by: Afshad Irani on Jun 22, 2010 11:20 AM

Former Member
0 Kudos

Hii

Great explanantion.

Can u tel me about data capacity to upload using LSMW and BAPI ..???/

Because hope that data capacity differencewil be there between these 2 methods (LSMW and BAPI's )

For eg, in very big implementation which method is recommended ??

Thanks

Edited by: MM group on Jun 22, 2010 9:40 AM

Former Member
0 Kudos

>

> Hii

>

> Great explanantion.

>

> Can u tel me about data capacity to upload using LSMW and BAPI ..???/

>

>

> Because hope that data capacity differencewil be there between these 2 methods (LSMW and BAPI's )

>

>

> For eg, in very big implementation which method is recommended ??

>

>

>

> Thanks

>

> Edited by: MM group on Jun 22, 2010 9:40 AM

There is no limitation for either program, but when you create LSMW program, you should be well versed with all the tables and fields to be inputted. For big implementation with lots of materials, its advisable to go with ABAP, as they have more idea with tables and fields, as their daily work revolves around tables and fields and when program created through ABAP, they are bound to help you out, if you create program through LSMW, they are not bound to help you.

If their are any issues with uploads with ABAP program, they are going to help you fix the issue, but LSMW created by you, you fix the issues yourself.

The data is provided by users who are not well versed with SAP. Many times the data provided is incorrect, we cannot check line by line data, so what we do, we input their data in program, and run it on testing server, then whenever there is any issue, the program displays error message, we look at the error message, basically the error is displayed in field-table combination, so you need to know what field the error is coming from, then correct the data, then run it again and again until the whole data is fixed and gives you result data uploaded without error. Then and then only you should upload the file into PRD SERVER.

Edited by: Afshad Irani on Jun 22, 2010 12:47 PM

Former Member
0 Kudos

hii

Can u explain me

What are the methods are there in SAP software to uplaod data ??

Like LSMW and BAPI??

Please list it out with expansion and its advantages in short ..

Thanks

Former Member
0 Kudos

hii

Can u explain me

What are the methods are there in SAP software to uplaod data ??

Like LSMW and BAPI??

Please list it out with expansion and its advantages in short ..

Thanks

Former Member
0 Kudos

Step-by-Step Guide for using BAPI in LSMW

Note! The screen prints in this article are from ECC 5.0. They may differ slightly in other versions.

Introduction:

This document details the usage of BAPI in LSMW. We have used the example of migration of the purchase order data into SAP.

Pre-requisites:

It is assumed that the reader of this article has the minimum knowledge required on the Business Object, BAPI, Message Types and IDoc Types.

Step-by-Step Procedure:

Details of the BAPI used in this scenario:

Business Object: BUS2012

Method: CreateFromData

Details of Message Type and Basic IDoc Type:

Message Type: PORDCR

Basic IDoc Type: PORDCR02

Letu2019s have a look at the BAPI first, before proceeding to the LSMW:

1. Go to Transaction BAPI

2. Click on Search Button

3. Enter the value u201CBUS2012u201D and select u201CObj.type(Technical Object Nameu201D

4. Press ENTER

5. Following screen appears:

6. On the left side of the screen, Expand the u201CPurchaseOrderu201D.

7. Select u201CPurchaseOrderu201D and double-click on the same for details.

Building LSMW using BAPI:

1. Go to Transaction LSMW.

2. Enter the Project, Subproject and Object information and click on CREATE.

3. Enter the descriptions for Project, Subproject and Object as prompted.

4. Now select Settings à IDoc Inbound Processing

5. u201CIDoc Inbound Processingu201D screen appears. Enter the required details as shown below:

6. Click on u201CActivate IDoc Inbound Processingu201D.

7. Click on u201CYesu201D when prompted for u201CActivate IDoc Inbound?u201D

8. Hit on u201CBacku201D to return to the main screen.

9. Click on Continue (F8). Following Screen appears:

10. Select the Step 1 u201CMaintain Object Attributesu201D and select u201CExecuteu201D.

11. Select the radio button u201CBusiness Object Methodu201D and enter the following details:

Business Object: BUS2012

Method: CreateFromData

Hit ENTER

12. Save and click on BACK button. Following information message is displayed.

13. Now select step 2 u201CMaintain Source Structuresu201D and click u201CExecuteu201D.

14. In this step, we need to maintain the source structure. In our example, lets consider the example of a file with 2 structures Head and Item data as shown below:

Click on Create and name the source structure as HEADERDATA. Now select HEADERDATA and click on u201CCreateu201D again to create the child structure. Following popup appears:

Select u201CLower Levelu201D and click on Continue. Enter the Item data structure name.

Click Save and hit BACK button to go to the main screen.

15. Select step 3 u201CMaintain Source Fieldsu201D and hit execute.

16. Enter the fields as shown below:

17. Click SAVE and return to main screen.

18. Select step 4 u201CMaintain Structure Relationsu201D and click Execute.

Select E1PORDCR and click on CREATE RelationShip. Following screen appears:

Select HEADERDATA and hit ENTER

Similarly do the same for the structure E1BPEKKOA, E1BPEKPOC and E1BPPEKET.

Click Save and return to main screen.

19. Select the step u201CMaintain Field Mapping and Conversion Rulesu201D and click on execute. Maintain the Field Mapping as seen below:

20. Select step 7 u201CMaintain Source Filesu201D and provide the link for the test file created. (Create a test file with the same structure as defined earlier).

Save and return to main screen.

21. Select the step u201CAssign Filesu201D and click on Execute.

Assign the file provided to the source structure. Here the same file is provided for both the structures.

Save and return to the main screen.

22. Select the step u201CRead Datau201D and click on Execute.

Click on Execute.

Return to the main screen.

23. Select the step u201CDisplay read datau201D and click on execute.

Click on the structure name to get the field level values.

24. Return to main screen and now select u201CConvert Datau201D.

25. Return to the main screen and select u201CDisplay Converted datau201D.

26. Return to main screen and select u201CStart IDoc generationu201D.

27. Now select the step u201CStart IDoc Processingu201D on the main screen.

28. Return to main screen and click on u201CCreate IDoc overviewu201D. Here the data record and status records of the IDoc could be viewed:

Answers (0)