Skip to Content
0
Former Member
Jun 18, 2009 at 09:48 AM

Message determination and Partner function LS (Logical system) for PO

5902 Views

Hi,

I have worked in the past with vendors (VN) as partner roles in a PO, with the message to create an EDI outpout to Partner Type: LI (Vendor), and this works succesfully.

Now, the idea was to use in EDI, a Partner Type: LS (Logical system) as a receiver of EDI messages (message types: ORDERS) for inbound Purchase Orders to the Partner.

So, we have set up a respective message condition, with Partner Function: LS (Logical System), in transaction: MN04 (Create Output-condition records).

A. When we use ME59N and create a PO with ref. from a PR (created from a sales order), the message determination works well, it reads the condition set in MN04 (condition records for messages), and creates a message (with output type for EDI , medium: 6, and partner function LS: Logical system). Message is created and idoc is sent to partner.

B. When we try with ME21N, ME21 and we create the PO with ref. to the same PR, either by entering manually the PR in the document overview of ME21N or by selecting the PR (without entering the PR number), i.e with date, the message is not created in the PO.

Company code is assigned to purchase organization, and so is purchase organization to plant.

Any idea why there is no automatic message determination in the case of the transaction: ME21N?

There is a single message condition that is to be read for both cases (trans: ME59N and ME21N).

Note: If I try ME21N, and enter the output type and partner (=Logical System), manually, I receive a warning message :

VN006 (Partner XXXX does not exist for partner function LS). If I accept this warning message, then message is saved- idoc is sent.

However you can not assign a partner function LS to a vendor, in vendor master data, because of message CZ 327 (Can not use this partner role).

Anyone with similar experience? Thank you for your advice.