‎2007 Apr 30 8:57 PM
Dear All,
I am using BAPI(Sales and Distribution->Sales->CustomerQuotation->CreateFromData2) in ECC 6.0.
Object Type: BUS2031
Method: CREATEFROMDATA2
Function Module for Outbound ALE: ALE_QUOTATION_CREATEFROMDATA2
ALE Message Type: QUOTATION_CREATEFROMDATA
Function Module: BAPI_QUOTATION_CREATEFROMDATA2
Requirement: When a Quotation is created or saved the IDOC has to be created. For this we have IDOC_OUTPUT_QUOTES. But I am using BAPI because the idoc will come back again from legacy system, for this we dont have any inbound idoc function module.
Problem: I have done all required settings like new process code, partner profiles and distribution model. But when i tried to issue the output in VA22 i am getting following error message:
No recipient found for message type QUOTATION_CREATEFROMDATA2 in the ALE model.
Please guide step by step how to use existing released bapis.
Thanks in advance
Cris
‎2007 Apr 30 9:44 PM
Hi Cris,
I think you can use the standard message type ORDERS and IDoc type ORDERS05 for a quotation as well.
Regards,
Ferry Lianto
‎2007 Apr 30 9:50 PM
Hi,
you mean to say i need to use the following steps
MessageType: QUOTES
Process Code: SD12
FM : IDOC_OUTPUT_QUOTES
I did above steps and created outbound IDOC, But i am unable to create inbound IDOC by we19 tcode.
Can you please guide me for inbound idoc for quotations.
Thanks
Cris
‎2007 Apr 30 10:04 PM
Are you maintaining Control records properly in WE19,Check your control record has green color in WE19.
WE19-> Second screen - > IDOC->Edit control record
reward Points if it is helpful
Thanks
seshu
‎2007 Apr 30 10:08 PM
Hi Cris,
Please use try this for inbound partner profile setup ...
MessageType: ORDERS
Process Code: ORDE
FM : IDOC_INPUT_ORDERS
and create an IDoc with refers to an existing quotation (from outbound IDoc) by populating segment E1EDK02-QUALF = '004' (Vendor Quotation) and E1EDK02-BELNR = <quotation number>.
Regards,
Ferry Lianto
‎2007 Apr 30 10:54 PM
Hi
I have created outbound idoc and i have seen below data
segment E1EDK02-QUALF = '004' (Vendor Quotation) and E1EDK02-BELNR = <quotation number>.
as you provided earlier and i am trying to create inbound idoc with ref of successful outbound idoc but i am getting lot of errors when i run in foreground.
What i observed in creation of inbound idoc segments data is not correctly mapping for example condition types when it is zcmp it is taking edi1...similarly for all fields.
Please guide me need i change the data records.
Thanks
Cris