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: 

questions regarding creation of vendor in different purchase organisation

Former Member
0 Kudos

Hi abap gurus .

i have few questions regarding data transfers .

1) while creating vendor , vendor is specific to company code and vendor can be present in different purchasing organisations within the same company code if the purchasing organisation is present at plant level .my client has vendor in different purchasing org. how the handle the above situatuion .

2) i had few error records while uploading MM01 , how to download error records , i was using lsmw with predefined programmes .

3) For few applications there are no predefined programmes , no i will have to chose either predefined BAPI or IDOCS . which is better to go with . i found that BAPI and IDOCS have same predefined structures , so what is the difference between both of them .

1 ACCEPTED SOLUTION

Former Member
0 Kudos

3 REPLIES 3

Former Member
0 Kudos

Hi,

1. Create a BDC program with Pur orgn as a Parameter on the selection screen

so run the same BDC program for different Put organisations so that the vendors

are created in different Pur orgns.

2. Check the Action Log in LSMW and see

3.see the doc

BAPI - BAPIs (Business Application Programming Interfaces) are the standard SAP interfaces. They play an important role in the technical integration and in the exchange of business data between SAP components, and between SAP and non-SAP components. BAPIs enable you to integrate these components and are therefore an important part of developing integration scenarios where multiple components are connected to each other, either on a local network or on the Internet.

BAPIs allow integration at the business level, not the technical level. This provides for greater stability of the linkage and independence from the underlying communication technology.

LSMW- No ABAP effort are required for the SAP data migration. However, effort are required to map the data into the structure according to the pre-determined format as specified by the pre-written ABAP upload program of the LSMW.

The Legacy System Migration Workbench (LSMW) is a tool recommended by SAP that you can use to transfer data once only or periodically from legacy systems into an R/3 System.

More and more medium-sized firms are implementing SAP solutions, and many of them have their legacy data in desktop programs. In this case, the data is exported in a format that can be read by PC spreadsheet systems. As a result, the data transfer is mere child's play: Simply enter the field names in the first line of the table, and the LSM Workbench's import routine automatically generates the input file for your conversion program.

The LSM Workbench lets you check the data for migration against the current settings of your customizing. The check is performed after the data migration, but before the update in your database.

So although it was designed for uploading of legacy data it is not restricted to this use.

We use it for mass changes, i.e. uploading new/replacement data and it is great, but there are limits on its functionality, depending on the complexity of the transaction you are trying to replicate.

The SAP transaction code is 'LSMW' for SAP version 4.6x.

Check your procedure using this Links.

BAPI with LSMW

http://esnips.com/doc/ef04c89f-f3a2-473c-beee-6db5bb3dbb0e/LSMW-with-BAPI

For document on using BAPI with LSMW, I suggest you to visit:

http://www.saptechnical.com/Tutorials/LSMW/BAPIinLSMW/BL1.htm

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

http://esnips.com/doc/ef04c89f-f3a2-473c-beee-6db5bb3dbb0e/LSMW-with-BAPI.ppt

<b>Reward points for useful Answers</b>

Regards

Anji

0 Kudos

thanx anji for replying immediately , i have few queries regarding vendors in different purchase organisation .

1) is it possible to create vendors in different purchase organisations with predefined lsmw .

2) i have the same problem with material master upload as well , same material number should be present in diffferent plants , is it possible to do it with lsmw .

3 i had problems in table controls , but i solved it using looping technique (i.e.) structure - substructure concept . is there any concept like looping technique for creating vendors with different purchase organisations using lsmw in one step .

once again i sincerly thank u for replying to my query .

regards ,

dinesh reddy .

Former Member
0 Kudos