Skip to Content
0
Aug 01, 2023 at 03:34 PM

Contract nos. in header and item must agree (please check your input)

67 Views

Hello SAP Gurus,

I'm trying to create a LSMW for creating Purchase orders based on outline agreement. I'm using BAPI method with object BUS2012 and message type PORDCR1 . I added agreement and agreement item on item level but when an idoc is generated, I get the following error message

image.png

I can add it on header level if i have the same agreement and it works fine. but that's not what I need, since i should be able to create a purchase order with different agreements ( of the same vendor of course )

Could you advice please on how i can have different agreement for one purchase orders.


Thank you for your help

Attachments

image.png (19.0 kB)