cancel
Showing results for 
Search instead for 
Did you mean: 

Site2Site SFC Transfer

Former Member
0 Kudos

Hello experts,

I am trying to transfer a SFC from one site to a remote one following the instructions given by How to guide(Create transfer site, add transfer related information in the Material Maintenance, change transfer system rule, Collaboration Link change, Done SFC, Create Production Order).

I had taken everything according to the guide and the SFC was done and shown "transferred" in the message on the POD.

However, even I created the exact same order with the SFC and released in the destination site, I cannot retrieve the desired SFC with no matter material, SFC or shop order.

I found the SFC information was in the table TRANSFER_DATA of the source site.

Can you please advise what I might have missed?

Johnny

Accepted Solutions (1)

Accepted Solutions (1)

stuarta1
Active Participant
0 Kudos

Johnny

Is this for SFC_SPAN or SFC_CONSUME?  What version of SAP ME?

Stuart

Former Member
0 Kudos

Hello Stuart,

This is for SFC_CONSUME in SAP ME 15.0..

I know it is not useful to have a production order created for this SFC in the destination site if it is consumed but I really don't know why it is not there anywhere even though it should transferred in the source site.

Thanks, Johnny

sergiy_katerinich
Active Contributor
0 Kudos

Having the same order created manually at the destination site is the must for both cases of S2S Transfer. Only after that you can transfer SFCs of that order.

Former Member
0 Kudos

Hi Sergiy,

I have the order created and manually assign the SFC number to that order and released.

But still I cannot retrieve anything after input the material or SFC in the SFC Receipt.

Or you mean I should create the order before I have it done in the source system and no need to manually assign it in the shop order maintenance?

Can you please advise?

Johnny

sergiy_katerinich
Active Contributor
0 Kudos

Are you sure you have not enabled auto-receipt for the SFC?

What about system rules at the destination site? Have you set them properly?

Checking defaultTrace logs at the source and destination systems might give you a clue if you find some error there.

Former Member
0 Kudos

Yes, I think I have set up everything  OK.

But I am not sure what is the timing for creating and releasing the shop order in the destination site.  Does it need to be done before the transfer?

Johnny

sergiy_katerinich
Active Contributor
0 Kudos

1. Configure the source site.

2. Configure the destination site.

3. At Source site, create material, shop order, define S2S.

4. At Dest site, create the same material and order.

5. Release an SFC at Source site and complete till Done.

6. Execute SFC Receipt at Dest site.

stuarta1
Active Participant
0 Kudos

For SFC_CONSUME, it's not necessary to have a shoporder on the destination. Transfer will just create a record in the inventory table on the destination site, so that it can be assembled into another SFC, as if it was a pure inventory ID. So, set up your Transfer (tab in material or shoporder maintenance) to not require a manual receive. And you only need minimal SFC data transferred for this too.

When you complete the SFC on the source site, do you get the message "SFC xxx is done and transferred"? Are both system rules "Enable SFC Complete JMS Message" and "Enable SFC Data Transfer" set to "true"?

Stuart

Former Member
0 Kudos

Hi Stuart,

System rule were maintained on both site and the SFC done and transferred information shown as well.

My question now is regarding the site.  The transfer site should be created on source with the same name as destination site and uncheck the site is local.  Is that the correct set up?

Johnny

Former Member
0 Kudos

I found the TRANSFER action code in the activity log but I can still find it in the floor stock report while it should be taken away if the transfer really works, right?

Thanks.

stuarta1
Active Participant
0 Kudos

Agreed - it should work if the transferis logged, or throw and error and not log the transfer. Check the collaboration log report and the NetWeaver logs for errors or clues.

Former Member
0 Kudos

Hi Stuart,

I checked the collaboration log and it has the error message : Error writing to server.

Also I checked the NW log and found the following:

Cannot process an HTTP request to servlet [Catalog] in [XMII] web application.

For more details on the problem please check traces searching by logId: C0000A78195DEA06000000000000288C


Cannot process an HTTP request to servlet [Catalog] in [XMII] web application.

[EXCEPTION]

java.lang.NullPointerException: while trying to invoke the method javax.servlet.http.HttpSession.getAttribute(java.lang.String) of a null object loaded from local variable 'session'

at com.sap.xmii.system.SessionHandler.delete(SessionHandler.java:205)

at com.sap.xmii.system.SessionHandler.deleteSession(SessionHandler.java:779)

at com.sap.xmii.servlet.Catalog.service(Catalog.java:341)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)

at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.runServlet(FilterChainImpl.java:202)

at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:103)

at com.sap.xmii.system.SecurityFilter.doFilter(SecurityFilter.java:122)

at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:79)

at com.sap.xsrf.filter.XSRFProtectorFilter.doFilter(XSRFProtectorFilter.java:62)

at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:79)

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:441)

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:210)

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:441)

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:430)

at com.sap.engine.services.servlets_jsp.filters.DSRWebContainerFilter.process(DSRWebContainerFilter.java:38)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.servlets_jsp.filters.ServletSelector.process(ServletSelector.java:81)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.servlets_jsp.filters.ApplicationSelector.process(ApplicationSelector.java:278)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.httpserver.filters.WebContainerInvoker.process(WebContainerInvoker.java:81)

at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.httpserver.filters.ResponseLogWriter.process(ResponseLogWriter.java:60)

at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.httpserver.filters.DefineHostFilter.process(DefineHostFilter.java:27)

at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.httpserver.filters.MonitoringFilter.process(MonitoringFilter.java:29)

at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.httpserver.filters.SessionSizeFilter.process(SessionSizeFilter.java:26)

at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.httpserver.filters.MemoryStatisticFilter.process(MemoryStatisticFilter.java:57)

at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.httpserver.filters.DSRHttpFilter.process(DSRHttpFilter.java:43)

at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.httpserver.server.Processor.chainedRequest(Processor.java:475)

at com.sap.engine.services.httpserver.server.Processor$FCAProcessorThread.process(Processor.java:269)

at com.sap.engine.services.httpserver.server.rcm.RequestProcessorThread.run(RequestProcessorThread.java:56)

at com.sap.engine.core.thread.execution.Executable.run(Executable.java:122)

at com.sap.engine.core.thread.execution.Executable.run(Executable.java:101)

at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:328


Do you think it is anything to do with the error?


Johnny

Former Member
0 Kudos

BTW, what should I input for the URL Context Root field in the site maintenance?

Johnny

sergiy_katerinich
Active Contributor
0 Kudos

SAP Note 1564223.

Former Member
0 Kudos

Hi Sergiy,

I checked the Note and change the context accordingly but still did not work.

I think the issue is with the third line in the Note "Create a transfer Site (with the type 'Transfer') in the same database as the source Site. Name it like the destination Site.".  If I create the site with the same name as the destination, there will be an error message " invalid production site " when I tried to save the name as the destination site in the Material Maintenance tab.  If changed it to production and uncheck site is local, I can save it in the material maintenance but still with the error in the collaboration log.


Can you please advise?


Thanks, Johnny

stuarta1
Active Participant
0 Kudos

Johnny

That note refers to Site2Site Collaboration export - this is not the same as site2site SFC Transfer.

Site2site SFC Transfer uses a production site defined on the source, not a transfer site as the note states.

Stuart

Former Member
0 Kudos

Hi Stuart,

If this is not the guide, what should I input for URL Context Root ?

I input /manufacturing-xml which is the same as the guide.

Is this correct?

Actually I found the SFC which should be transferred was deleted from the serial number tab in the shop order maintenance.

Thanks,

Johnny

sergiy_katerinich
Active Contributor
0 Kudos

Hi,

You asked for URL Context Root - I gave you the Note. You do not need to take anything else from that Note.

As concerns the setup of sites, please consult How-To Guide:

http://wiki.sdn.sap.com/wiki/download/attachments/281545172/SAP+ME+How-To-Guide+-+Collaboration.pdf

And once again: do you have any error message in NW defautlTrace log files in the system of Source site or in the system of Destination site?

Regards,

Sergiy

Former Member
0 Kudos

Hi Sergiy,

Do you think the username/password need to have access to update DB or call Webservice?

I think the account I used cannot do that.

THanks.

sergiy_katerinich
Active Contributor
0 Kudos

The user data should be for the user account at the Destination site. It should have SAP_ME_USER, and maybe SAP_ME_INTEGRATOR roles.

Answers (1)

Answers (1)

andrew_hopwood
Participant
0 Kudos

The same order should be in the destination site but not released, as it must have sufficient unreleased order qty to be able to add the SFC to it.

Andrew.