cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Service PO from MM to SUS

Former Member
0 Kudos
650

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,

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi Nikhil,

No, I am not able to move that far yet. I need the steps so that I can cross verify and see if I am moving in the right direction.

Thanks,

-Devi Swain

Former Member
0 Kudos

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

Former Member
0 Kudos

Nikhil,

We get the following error

Object CL_SE_PUR_PO_WF_OUT method EXECUTE cannot be executed.

It results in a runtime error.

Regards,

Sridhar

Former Member
0 Kudos

Hi,

Pl ensure that in ECC, Business Functions LOG_MM_P2P_SE_1,ESOA_OPS01,ESOA_OPS_2,LOG_MM_CI_2 are activated.

Regards,

Nikhil

Former Member
0 Kudos

Hi Nikhil,

Business function ESOA_OPS01 and LOG_MM_CI_2 are already active in ECC.

We are unable to locate business function LOG_MM_P2P_SE_1 and ESOA_OPS_2.

How do I find those in ECC and activate?

Thanks,

Former Member
0 Kudos

Hi Devi,

I am assuming you are using ECC 6.0 (Ehp 4). All these Business Functions are available under SFW5. LOG_MM_P2P_SE_1 is infact the most important Business function.

After activation pl ensure that the yellow bulb next to it is glowing.

Regards,

Nikhil

Former Member
0 Kudos

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

Former Member
0 Kudos

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,

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

Yes Sridhar,

You are right...pl do so.

Also ensure that all Business Functions mentioned earlier are activated (yellow bulb should glow!!)

Regards,

Nikhil

Former Member
0 Kudos

Hi Nikhil,

The Switch position for Switch MM_ESOA_SFWS_SC1, enhancement PURORD_RAISE_BOR_EVENT_SE is not letting us to set it to ON . Can you please let us know how it can be done.

Regards,

-Devi Swain

Former Member
0 Kudos

Hi,

Am also getting same error as mention in below thread ,Alll setting incooperated as mention in belwo threa

buts still not getting any xml file , workflow getting erroe like method can't execute

Please do need full help to resolve the issue,

Former Member
0 Kudos

Please do need full if you got proper solutin for your below thread , Please let me know,

We also struck the same , please do need full to get resolve the issue.

Answers (0)