Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

purchase requisition idoc

Former Member
0 Kudos

hello gurus,

i know there are idoc types for purchase requisition create / change. But I am not able to understand how do i trigger that idoc from sap. I dont see any output / message types in purchase requisition ME51. Is it not from message control ? Is it stand alone or ale... i am confused. please help me. i would appreciate if you tell me a quick process to do this

2 REPLIES 2

Former Member
0 Kudos

Hi, Ninad!

The Idoc message type for purchase requisition is REQOTE. For automatic triggering of IDocs you have to approporiately set up message control for application 'EA' with transaction NACE. Then you have to maintain distribution model using transaction BD64 and define partner profile using transaction WE20 for REQOTE message type.

Regards,

Maxim.

johan_geraedts
Explorer
0 Kudos

Hi,

I belief that REQOTE is an RFQ (Quotation) not Purchase Requisition. There is no output determination for PR in Sap

I guess you will have to :

- create a transaction/report that read the EBAN table or use BAPI_REQUISITION_GETDETAIL and creates a Z-IDOC.

- create Z-idoc (message and idoc types)

You need to program the filling of the IDOC and maintain the distribution model and partnerfunctions. Use MASTER_IDOC_DISTRIBUTE function model to send your idoc .

Hope it helps,

JG