cancel
Showing results for 
Search instead for 
Did you mean: 

Setting default document type for PRQ and PO.

Former Member
0 Kudos

Hi,

is there in SPRO a configuration for automatically set a default document type for PRQ e PO

instead of doing this by personal settings button or SU01?

Best regards

Accepted Solutions (1)

Accepted Solutions (1)

csaba_szommer
Active Contributor
0 Kudos

Hi,

SPRO > Material Management > Purchasing > Account Assignment > Define Default Values for Document Type

Here you can set the default document types (for certain transactions) and these settings override personal settings as you can see in the help.

SPRO > Material Management > Purchasing > Purchas Requisition > Define Document Types

As I know here you can assign the PR's document type to the type of the PO's document type (that PO generates from the PR).

This setting has higher priority as that was written above.

Please try it! (In MD04 please select the PR and try to convert it to PO and after that you can check the document type).

BR

Csaba

Former Member
0 Kudos

Hi,

what are you meaning is that I can set a default document type for PO.

I would like that PRQs and POs document type are the same.

If the document type set as default as PO is different from document type set in PRQ

system generates an error (Doc. type/item cat. ZCL/L (requisition) <-> NB/L (purch. order))

but doesn't change the document type of the PO automatically when PRQ is manually converted.

Is there a way for doing this during a manual convertion of PRQ to PO or system generates only a message error?

Best regards

csaba_szommer
Active Contributor
0 Kudos

Hi,

In which transaction do you generate the PO from PR?

Have you problems in ME58 / ME59 also?

Thanks,

Csaba

Former Member
0 Kudos

The trx with the problem is ME21N

Former Member
0 Kudos

If oyu have knowledge of Transaction variant then you can use SHD0 tcode and generate the transaction using defualt type and give that transction to user instead of ME21N so they will not have the issue.

The exact solution for your problem is as follows

Go to Tcode SHD0 and enter the transaction variant

In T code field enter ME21N and then enter the ZME21N or the name you want to keep in transaction variant field and hit create button

This will take you to ME21Ntransaction and here you just post the invoice.

Once you finish system will save this one as a variant but make sure one thing that when you go to ME21N main screen even though the Invoice is selected but still do dropdown and select that way you will see the number 1 in your variant

Every time you hit or enter the pop up screen comes here you just hit enter and which ever data you want to default that you have to select in the Popup by checking the Box

W content and output only for your case the field XXXXXXXX should be selected for W content and output only

Make sure you have value 1 in contents field

If not then restart the variant again and on the ME21N screen reselect the invoice field

Later exit and save (save in the object which you can transport)

Then from SHD0 transaction select GOTO create variant transaction and here you careate the tcode and use that tcode for MIRO

Former Member
0 Kudos

Instead of MIRO use ME21N

csaba_szommer
Active Contributor
0 Kudos

Hello,

I'm not sure but I guess that when you copy the PurchReq in ME21N the doc type of the PurchReq doesn't trigger automatically the PO-doc type (you assigned to the PurchReq in Customizing).

So you have to set the PO - doc type manually (in ME21N) and after that you should copy the PurchReq to get the PO with the desired doc type.

I asked you to try to convert PurchReq to PO (in ME58/59) - in this case SAP creates the PO with the doc type you set in Customizing I think.

BR

Csaba

Edited by: Csaba Szommer on Jan 21, 2008 8:15 AM

Former Member
0 Kudos

Hi,

I AGREE WITH YOU!!!

and.........may be with a field exit is possible doing that

Answers (0)