on 01-04-2011 10:50 PM
Hi Experts,
We need to send delivery tolerances to snc from the PO Header. We understand you can do this using the XML PurchaseOrderERPReplenishmentOrderCollaborationNotification.
We have Snc 7.0 and have the relevant business function enabled. I have also configured BUS2012 (ECC) and assigned inbound and outbound XML in SPRO in SNC.
What do i need to do to ensure that when i click save on a PO after changing or creating (ME21N), it sends an XML to the SNC system? At the moment nothing happens. Is there further configuration required in ECC? Can this XML be sent via a background job (preferrable)/report?
Thanks
Hi,
in the tcode : SWETYPV the following lines need to be activated.
CL_SE_PUR_PO_WF_OUT : CHANGED : WS53800008
CL_SE_PUR_PO_WF_OUT : CREATED : WS53800008
But even for these things to work, the work flow customizing need to be done, or else the PO xml will not be sent out of ERP.
in the Tcode: SWU3, maintain the automatic workflow customizing.
Thanks,
Krishna
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Dominic..
Setting Up Automatic Workflow Customizing
1. In transaction SM59, create a logical connection for SAP Business Workflow (for example, WORKFLOW_LOCAL_900).
2. On the SAP Easy Access screen, choose Tools ® Business Workflow ® Development ® Utilities ® Automatic Workflow Customizing.
3. Activate all the nodes by choosing the Perform Automatic Workflow Customizing pushbutton or by pressing F9.
The following nodes do not need to be activated:
§ Schedule Background Job for Event Queue
§ Maintain Prefix Numbers
Best Regards
Vinod
Hi Dominic
Sorry for late reply
Could you please make sure
1. The Badi PUR_SE_PO_INTERFACE_OUT_SELECT is active in your ERP system
2. Go to se11 view : V_T175SOA, display the table view, press (cntrlshiftf10) view the contents of table
make sure you have the following entry
Context : 1 Purchase Order Created/ Changed
Service Id: 3 CL_SE_PUR_POERPROCOLLABNOTIF
Also go to trnx /Npftc_dis
input Tasktype : WS Workflow Template
Task: 53800008
Display and go to tab Triggering Events
Make sure two entries are maintained for object type CL_SE_PUR_PO_WF_OUT and Events Created & Changed and in active status(Green color button)
Please let me know any issues
Best Regards
Vinod
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vinod
I have seen that forum page before and used it up till now. Ive checked the business function and it is set to active. When creating a purchase order, is there a specific order type that will only be sent via XML?
Should there be a message output for the PO? Usually we use NEU and the PO gets sent via the ORDERS.ORDERS05 IDOC. We dont want this however as we want XML messages for delivery tolerance to be sent to SNC.
Thanks
Edited by: Dominic Fernando on Jan 5, 2011 9:49 AM
Hi Dominic
Go to swetypv
Object Category: ABAP CLASS
Object Type: CL_SE_PUR_PO_WF_OUT
Event: Created & Changed
Activate the linkage type field "Linkage Activated" check box
Now the xml will start triggering
is there a specific order type that will only be sent via XML?
Ans: No, irrespective of the order type this is triggerd, the workflow is designed that way
If you want to use xml no need of output types
If you want use idocs to send this information, there is user exit provided by SAP, refer this note 373647
Happy New Year
Best Regards
Vinod
That Object Type does not exist...should i add it?
I have the ability to add the entry but need to know the further fields
e.g Reciever Type? Receiver function module etc.
Thanks..if this works ill give you as many points as i can!
Edited by: Dominic Fernando on Jan 5, 2011 10:12 AM
Edited by: Dominic Fernando on Jan 5, 2011 10:15 AM
Hi Dominic
Object Category: CL ABAP Class
Object Type: CL_SE_PUR_PO_WF_OUT
EVENT: CREATED
RECIEVER TYPE : WS53800008
Reciver Call : Function Module
Reciever Funtion Module: SWW_WI_CREATE_VIA_EVENT_IBF
Event Delivery Using tRFC(Default)
Linkage Activated: ticked
Behavior: system defaults
Reciver Status:No Errror
Object Category: CL ABAP Class
Object Type: CL_SE_PUR_PO_WF_OUT
EVENT: CHANGED
RECIEVER TYPE : WS53800008
Reciver Call : Function Module
Reciever Funtion Module: SWW_WI_CREATE_VIA_EVENT_IBF
Event Delivery Using tRFC(Default)
Linkage Activated: ticked
Behavior: system defaults
Reciver Status:No Errror
Best Regards
Vinod
Unfortunately this did not trigger the sending of XML when creating a PO using ME21N. Not sure what else needs to be done.
I have:
AGD EHP4 with Business Function Active - Yes
SNC 7.0 - Yes
Activated Linkage as specified above - Yes
I use ME21n to create a PO with NB Order type. I check XML monitor in SNC and no messages are there and no PO recieved in SNC.
Anything missing?
Hi went to the transaction mentioned. There were 81 entries. I changed a PO quanity in ME22N for a PO which was previously sent to SNC (EDI ORDERS05) and saved. There was no additional entries in the swi2_freq transaction.
Seems as though nothing is triggering the workflow you mentioned.
Edited by: Dominic Fernando on Jan 6, 2011 9:22 AM
User | Count |
---|---|
9 | |
4 | |
3 | |
3 | |
2 | |
2 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.