cancel
Showing results for 
Search instead for 
Did you mean: 

Dispatch purchase orders using PORDCR1

Former Member
0 Kudos

Dear all,

we have to send POs to an external logistics service provider.

We first tried to use Idoc ORDERS but there are several fields missing in this idoc:

- overdeliv.tol.

- underdel.tol.

- delivery completed

- accounting information concerning the original sales order no. and sales order position no. for cross docking

Now we would like to use PORDCR1.

I face several problems and hope to get help

In function module ALE_PO_CREATE row 55 it says that idoctype PORDCR05 would be created.

We use Release 4.7

In WE60 "Parser" it says PORDCR05 is not released.

PORDCR101 would be released.

When I maintain partner profile: outbound parameter message type PORDCR1 I only can choose basic type PORDCR101

(not PORDCR01 - PORDCR05) they are not in F4-help.

In distribution model I added obj.name/interface PurchaseOrder and method CreateFromData1.

Now when I create a purchase order no idoc is created!

Please help!

Accepted Solutions (0)

Answers (1)

Answers (1)

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

>>>We first tried to use Idoc ORDERS but there are several fields missing in this idoc:

just add those values in orders exit (with custom qualifiers to the idoc) - 1 day max for those 4 things

and you will have everything working

Regards,

Michal Krawczyk

Former Member
0 Kudos

Thank you for this hint!

We use ORDERS for communication with several suppliers.

Thats why I would prefer not to change ORDERS but to use another Idoc PORDCR1.

The four missing fields are not good to be send to a supplier, especially under- and overdelivery tolerance.

Former Member
0 Kudos

I found function ALE_PO_CREATE1 which creates PORDCR101.

Still the issue is open: How can I create the Idoc?

Thanks for your help!

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

>>>Thats why I would prefer not to change ORDERS

there is no need to change it for everyone

add the 4 fields only when message code or message function = Z-something

then all suppliers will receive the old ORDERS without the 4 new fields

this is how it's done with many companies and that's why those additional fields like message code and function can be used

Regards,

Michal Krawczyk