cancel
Showing results for 
Search instead for 
Did you mean: 

Purchase info record-vendor change Mass Update

former_member208541
Participant
0 Kudos

Hello,

I need to change vendors in existing hunderds of purchase info records. I do not think so that system will allow to change vendor .

q1) I understand that being a key field, system will not allow to change vendor in PIR. But why is it so ?

q2) We need to create new PIR with new supplier. Should We use MASS or LSMW. If LSMW which method ?

q3). do we need to delete the existing PIR with old supplier to create new PIR with new supplier ?. Is it necessary to delete existing PIR. If yes, how to do mass deletion of PIR ?

regards

Sonu

Accepted Solutions (0)

Answers (3)

Answers (3)

DominikTylczyn
Active Contributor

One comment to the previous answer which is 99,99% correct. Vendor and material numbers are not primary keys of a info record. Info record number is the primary key.

Dominik Tylczyński

lingaiahvanam
Active Contributor
0 Kudos

Hi Sachin,

The first step use transaction code MEMASSIN Mass maintenance purchase Info records and activate deletion flag.

1. Complete info record: table EINA field LOEKZ

2. Purchase org data: table EINE field LOEKZ

The second step to upload PIR with the following options.

1. Create batch input recording LSMW

2. Create a direct/standard input method: Object: 0060, Method: 0000, Program Name: RM06IBI0, Program type: B

3. Create LSMW with IDOC: Message Type COND_A / COND_A02

4. BDC with the help of the technical team.

https://wiki.scn.sap.com/wiki/pages/viewpage.action?pageId=243630173

http://saptechnical.com/Tutorials/LSMW/PurInfo/page1.htm

Best Regards,

Lingaiah

vinita_kasliwal
Active Contributor
0 Kudos

Hi Sachin

PIR is a vendor and material record

1. If you change a vendor in PIR that record is no longer valid as it is a primary key hence it would not allow you to change but only delete

2. If it is a new supplier you should create a new PIR why do you want to reuse the existing one?

3. You can delete the old PIR using LSMW or mass delete the PIR Records using MEMASSIN you could also use LSMW and update the deletion indicator

It is important to have only one material vendor combination if you are adding new vendors and the previous one would no longer be used I am not sure whats the harm if it still says there but better to test and see.

Regards

Vinita