on 07-22-2015 11:00 AM
Hello,
We have two plants which enabled the SFC site2site transfer feature in the source site. And today we realized a problem that when we run the Archive script, the SFC which was just transferred today are also archived. We set the Days Before Archiving SFC/SO in the System Rule Maintenance with 90 days, so we expect the transferred SFC should be archived after 90 days, not immediately.
Can you please explain this siution with Archive script? is it a bug?
Thanks & regards,
Leon
Hi Leon,
The rule is applied to SFCs which do not have Archive Immediately flag. But for transferred SFC, I guess, this flag is set automatically.
Regards,
Sergiy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I think this come to a problem with ODS scripts. Because normally the ODS scripts should take those data first into the ODS database, and then the archive script can move the data out to the Archive area.
If the immediate flag is set for the SFC, then the SFC may not be run the ODS scripts earlier than the archive script. How to prevent this happening then?
Thanks & regards,
Leon
Hi Sergiy,
Due to this unexpected archiving mechanism, now I am facing another big problem. Because we have so much site2site transfered SFC in the source system, and the archiving script has been running for a very long time.
I have a Linux server which is used for this Archive script purpose. the Archive.ksh was already stopped on the Linux level - I cannot find any active session from the Linux perspective, but from the Oracle database perspective, I can see the archiving job is still running. Since we have so many Immediate flagged SFCs, I don't want to wait until it processes all.
Please let me know where I can kill this Archiving session, on the NetWeaver level??
Thanks & regards,
Leon
Yes, stopping the script does not stop the transaction. The transaction can be terminated by NW or in Oracle.
However, if you do this, you are very likely to have duplicated records of SFC-related data in WIP and ARC tables that in turn will require manual corrections directly in the database. Thus I do not recommend that you terminate the transaction.
Regards,
Sergiy
User | Count |
---|---|
99 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.