on 2011 Jun 07 4:26 PM
Hi,
I am trying to send Service PO from MM to SUS. I have set the below
Event Type Linkages:
Object Category: BOR Object Type
Object Type: BUS2012
Event: Created/Changed
Receiver Type: WS53800008
Receiver Call: Function Module
Receiver Function Module: SWW_WI_CREATE_VIA_EVENT_IBF
Check function module:
Receiver Type Function Module <<blank>>
Destination of Receiver: <<blank>>
Event Delivery: Using tRfc (Default)
Linkage activated <<checked>>
Enable event Queue <<unchecked>>
Behaviour upon Error Feedback: System defaults
Receiver Status: No Errors
What I can see in tx SWIA is that WF WS53800008 is being triggerred. But I do't find it getting transferred to XI.
Would you be able to put end to end steps you performed to get the service PO sent form MM to SUS.
Thanks,
Help others by sharing your knowledge.
AnswerRequest clarification before answering.
Devi,
So you mean to say the XML PO is generated in your ECC system? Are you able to see the same in SXMB_MONI of your ECC system?
Regards,
Nikhil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you are seeing that your workflow has triggered, then XML PO should have been generated in the ECC system atleast. I am not talking about XI.
If it is not, then do the following:
Create a PO in ECC, check WF has triggered, If yes go to SXMB_MONI and look for XML message. If you dont find an XML message then check in SWE2 if the event linkage you had activated is now deactivated on its own or not.
Pl do this and get back.
Regards,
Nikhil
Business function LOG_MM_P2P_SE_1 and ESOA_OPS_2 are applicable only for ECC-SRM scenario. Yours is MM-SUS scenario, so it is not required.
In MM-SUS scenario, when a PO is created in ECC, communication between ECC and XI happens via IDocs (ORDERS02) and from XI to SUS through XMLmessage. So, first check if IDoc is generated and transferred successfully from ECC to XI. Then check if XML messages are generated from XI to SUS system.
Thanks,
Jagadish
Hi Jagadish.
We have the normal PO's successfully send from MM to SUS.
We are working on sending the service PO's from MM to SUS. Are you saying that the Business function LOG_MM_P2P_SE_1 and ESOA_OPS_2 are not required for service PO's to be sent from MM to SUS?
When we crete the service PO, we do get the IDOC generated and it does flow to SUS via XI, we are looking to get the hierarchy structure and other details of the service order in SUS, so need to generate the XML with the BOR setup.
Let me know if there are other setup we need to maintain to get the service orders sent to SUS.
Thanks,
Devi/Jagdish,
To ensure that Service POs (with hierarchy) are transferred to SUS, you need to activate Business Functions mentioned earlier. Pl ensure all those BFs are present in ECC and activate them.
Pl suppress the IDOCS as we are dealing with XML message here.
Once you are done with activating Bus Functions, have a look at notes 1359191,1316245 to investigate XML generation.
Also pl refer to notes 1502213, 1505728, 1507011, 1538788, 1551540, 1585343 as Djurick resolved the same issue with these notes last week.
Regards,
Nikhil
OK got it. o you are sending Service POs from ERP to SUS. please check below settings.
Activate the Event linkages for Obj type BUS2012CHANGED/CREATEDWS53800008.
Maintain FM for CHANGED Event -
Check function module: OPS_SE_PUR_CHANGED_EVENT_CHECK
Go to Define system attributes for system messages SE037 and SE038 and change them to WARNING.
When a PO is created in ECC, XML messahe PurchaseOrderERPRequest_Out_V1 should be triggered. If any issues in the SOA go to T code /n/SAPPO?PPO2 and you will the error details. In some cases the queue might have not set ready and hence you may not see the XML message going out. So go to t-code SMQ1 and activate the queue.
Hope the above would help you in tracking the PO.
Thanks,
Jagadish
Hi ,
I configured CL_SE_PUR_PO_WF_OUT with event create and changed in transaction since GUID is the main binding parameter. But the event is not getting triggerred as it seems that the BaDi PURORD_RAISE_BOR_EVENT_SE has a switch which is in the off condition. do you think if this switch is turned on the error I am getting will be solved.
REgards,
Sridhar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.