cancel
Showing results for 
Search instead for 
Did you mean: 

PR Document Type - Automatic conversion

Former Member
0 Kudos

Hello All,

I have few doubts regarding docuement type RO for Purchase Requisitions.

We have "RO - Request No Send to Vendor " document type in our system.

I need to know settings for Automatic PO conversion for PR using RO document type so that no manual intervantion is required for converting PR to PO with RO dicuement type.

Thanks

Himanshu

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi There

For the auto PO, below settings has to be done,,

material master -Auto PO enabled

vendor master-Auto PO enabled

Info Record- With validity and price

PR with assigned source can be converted into PO through Me59n,,

Ref the below link for more details,,

http://it.toolbox.com/wiki/index.php/Creation_of_Purchase_Order_Automatically

Thanks

Senthil

Answers (2)

Answers (2)

former_member193326
Active Contributor
0 Kudos

Hi,

You have the modification note:

114213 ME59: Determining the order document type

or you can use the BADI ME_BSART_DET, which will be called in the function MM_PROPOSE_DOC_TYPE subroutine bsart_check_exit..

Best Regards,

Arminda

Former Member
0 Kudos

Hello,

Thanks for your repsonses. Appreciate the effort.

I am still not clear that how to solve this problem. Any requisition with document type RO should not stop but directly converted to PO without any manual intervention. How this can be achived. Sorry for bothering you.

Thanks

Himanshu

Former Member
0 Kudos

Hi There

Have the batch Job for the ME59n Transaction,,

Define the Variant if you can differentiate the RO PR by MRP Controller/material Group/Purchasing Group/Requestioner or any other unique filed for RO type PR,,

If not After the approval of the PR or After the PR created and Saved(If there is no approval) these PR has to be updated in the Z table, The ME59n batch Job can refer the particular table and get the RO PRs and convert into PO

Thanks

Senthil

Former Member
0 Kudos

Hi,

Please have a look at the note :

114213 ME59: Determining the order document type

This is a modification to determine the document type during the

the automatic creation of PO.

Transaction ME59N does not use that program, please consider that trx.

ME59N uses the same program logic as ME21N.

And for the enjoy po logic there is a BADI which allows you to change

nearly all application data by your own.

For determining the order document type you can use BAdI ME_BSART_DET.

It will be call in function MM_PROPOSE_DOC_TYPE subroutine

bsart_check_exit.

In the case of Stock Transfer Purchase Requisitions , the default

document type should be determined from table T161W which can be

maintained at the following customizing path:

Transaction OLME

>Purchase Order

>Set up Stock Transport Order

>Assign Document Type, One-Step Procedure, Underdelivery Tolerance

BADI ME_BSART_DET can be also used to change or default the document

type. SAP Note 994209 was created because default document type set up

in T161W was getting overwritten with document type of T161A ( document

type used for other purchase requisition type.) Please see the attached

SAP Note 924105 for more information regarding this.

Document type for an STO should not be taken from

T161A but instead from T161W so SAP Note 994209 was created to correct

that error.

SAP Note 994209 - ME57/ME59N : Wrong document type proposed

SAP Note 924105 - ME_BSART_DET: Documentation

BR

Nadia Orlandi