Skip to Content

Purchase info record-vendor change Mass Update

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Mar 13 at 02:58 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • Mar 13 at 06:30 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • Mar 13 at 07:08 AM

    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

    Add comment
    10|10000 characters needed characters exceeded