05-05-2005 10:52 PM
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
05-06-2005 8:15 AM
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.
05-06-2005 11:16 AM
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