Stop to remove Add-on document
Hi all SAP experts
Following TRANSACTION _ NOTIFACATION QUERY I AM CREATE TO STOP Deleting the RECEPT FROM LOG CUTTING SCREEN. But this query not works properly. This procedure stop deleting every time. But I have some condition
RECEPT FROM LOG CUTTING SCREEN GENERATE TWO NUMBER ONE IS Receipt From Prod No AND ANOTHER Good Receipt No .
I WANT WHEN Receipt From Prod No OR Good Receipt No . Anyone OF Them IS NOT NULL THEN THE DOCUMENT DOSE NOT REMOVE. IF Bout NUMBER IS NULL THEN DOCUMENT Permitted to delete . Please suggest me any Solution for this procedure
==============================
if @transaction_type='D'
and
@object_type='SSPL_UDO_DD_LOGCUT'
begin
if exists (SELECT T0.[DocEntry] FROM [dbo].[@SSPL_DD_LOGCUT] T0 WHERE T0.DocEntry=@list_of_cols_val_tab_del and T0.[U_RCPTNO] IS NOT NULL OR T0.[U_RCPTNO1] IS NOT NULL)
begin
set @error=10
set @error_message='this document can not deleted'
end
end
=========================
AND
=================================
if @transaction_type='D'
and
@object_type='SSPL_UDO_DD_LOGCUT'
begin
if not exists (SELECT T0.[DocEntry] FROM [dbo].[@SSPL_DD_LOGCUT] T0 WHERE T0.DocEntry=@num_of_cols_in_key and T0.[U_RCPTNO] IS NULL AND T0.[U_RCPTNO1] IS NULL)
begin
set @error=10
set @error_message='this document can not delete'
end
end
Try to use brackets to assign the appropriate sequence of the logical operators:
if @transaction_type='D'
and
@object_type='SSPL_UDO_DD_LOGCUT'
begin
if exists
(SELECT T0.DocEntry FROM dbo.@SSPL_DD_LOGCUT T0
WHERE T0.DocEntry=@list_of_cols_val_tab_del
and (T0.U_RCPTNO IS NOT NULL OR T0.U_RCPTNO1 IS NOT NULL) )
begin
set @error=10
set @error_message='this document can not deleted'
end
end
Similar Messages
-
Hi, I have configured a "Collect Signatures" workflow for test Word document(.docx), then uploaded it to sample SP 2010 doc library (content type "Document"). This Word document has 2 empty Signature Lines in it.
After that i'm starting the Collect Signatures workflow on it , which is assigned to me and other user from my Active Directory.
Workflow is started and after that i'm receiving mail about assigned task which also contains link to document.
When i click on link it opens IE which contains SP library file path, after a while doc is opened in Word client in Read-only mode. When i want to sign the document info window pops up : "Signatures can't be added or removed because this document was opened
read-only" and i'm not able to compete task/sign doc from Word.
It is possible to sign the document when i go to SP library and opens this file directly from there (file drop-down menu-> open in MS Word).
I saw that this behaviour is similar to this article:
http://social.msdn.microsoft.com/Forums/sharepoint/en-US/31ba43ec-b04e-428d-9a66-0cc571934197/collect-signatures-workflow-using-firefox-not-showing-workflow-task-this-document-requires-your?forum=sharepointgeneralprevious
but i'm using IE so it shouldn't be Active X issue.
I have also checked this MS Fix:
http://support.microsoft.com/kb/2661910
but changing CA settings to Permissive didn't help
Any ideas ?Hi bezcisnien,
I could not reproduce this issue.
When you open this file directly by clicking the document Name link from SharePoint library, is there a
yellow message bar in Word document?
Did this happen to all users on all PCs?
Have you checked if it is a client side issue, test with different IE 8/9/10 versions for this issue (and IE compatibility mode, add-ons, trusted site zone etc)?
Thanks,
Daniel Yang
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Daniel Yang
TechNet Community Support -
Add new document link not working in upgraded sharepoint 2013?
Hello there,
Upgraded SharePoint team sites from 2010 to 2013. add new document link not working for shared document in upgraded sharepoint 2013?. it is specially not working on machine where Office web apps set up with this sharePoint server and it
is working fine with environment Office web apps not configured with Sharepoint.
Looking resoluion /suggestion, thanks in advance.
Regards,
SushilHi Sushil,
According to your description, my understanding is that the add new document link was not working on machine where Office web apps set up with this SharePoint server after you upgraded SharePoint team sites
from 2010 to 2013.
For your issue, it can be caused by integrating Office Web Apps with upgraded SharePoint Site.
Firstly please make sure claims-based authentication is used by the SharePoint web application that is used to create the new document. Only web applications that use claims-based authentication can open
files in Office Web Apps. To determine the authentication provider for a web application, follow these steps:
1.In SharePoint 2013 Central Administration, click Manage web applications.
2.Select the web application that you want to check, and click Authentication Providers on the ribbon.
The authentication provider must be displayed as Claims Based Authentication for Office Web Apps to work correctly with the web application. To resolve this issue, you can delete the web application and recreate
it using claims-based authentication, or you can change the authentication method of the web application.
Secondly, make sure the WOPI zones match on the SharePoint 2013 and the Office Web Apps Server farm.
To do this, run the following command on the SharePoint Server:
Get-SPWopiZone
The result will be one of the following:.
internal-https
internal-http
external-https
external-http
Next, run the following command on the SharePoint Server.
Get-SPWOPIBinding
In the output, look for WopiZone: zone. If the results from Get-SPWopiZone don’t match the zone that is returned by Get-SPWOPIBinding, run the Set-SPWOPIZone -Zone cmdlet on the SharePoint Server to change
the WOPI zone to match the result from Get-SPWOPIBinding.
If not work, you can try to disconnect SharePoint 2013 from Office Web Apps Server and re-configure Office Web Apps for SharePoint 2013.
For more information, please refer to the article:
http://technet.microsoft.com/en-us/library/ff431687(v=office.15).aspx
Best Regards,
Eric
Eric Tao
TechNet Community Support -
Print Preview of crystal Report without add a document
Dear All,
Can i see the Print Preview of Crystal Report without add a document like PLD.
i have developed a Crystal Report through Add Command by Passing a query.
if anybody have idea on this issue please suggest me.
Thanks.
ShekhawatHi Shekhawat....
Through Query Crystal report it is not possible to view the Layout as Draft withou adding teh docs because Report fetch the details only when itys value goes to Database Table......
So suggest to use SAP standard CR and modify as you want....
Regards,
Rahul -
Since one of the latest updates of firefox it is not possible to add a document to my email account i.e. Telfort.nl
I checked with Telfort and no problems of this kind is known.You can check for problems caused by extension and plugins.
*https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
*https://support.mozilla.org/kb/Troubleshooting+plugins
You can try to delete the mimeTypes.rdf file in the Firefox Profile Folder to reset all file actions.
* http://kb.mozillazine.org/mimeTypes.rdf
* http://kb.mozillazine.org/File_types_and_download_actions#Resetting_download_actions
You can try to reset Firefox.
*https://support.mozilla.org/kb/reset-firefox-easily-fix-most-problems
Reset creates a new profile and tries to import some settings from the old profile leaving the old profile intact.
*https://support.mozilla.org/kb/Recovering+important+data+from+an+old+profile -
Target movieclip from an AS3 class file - remove/add Child
Halo.
I have a very simple question (for those who use external class files).
Assuming that I have a MovieClip manually added to Stage and I want to access it from inside my class definiton.
So the code would be:
MovieClip(root).MyMovieClip
But I can't figure out how to use remove/add Child in that kind of situation.
I will appreciate any advice.
Thanksif you can reference using that, you can remove using:
MovieClip(root).MyMovieClip.parent.removeChild(MovieClip(root).MyMovieClip);
and you can add to any displayobjectcontainer. -
Once I've saved a PDF document in Adobe Reader is there a way to add additional documents later?
If not is there a way to combine lets say 100 documents into another PDF file at once (Batch export) in PDF Pack software or do I have to add each document one by one drop and drag style?
ThanksWhat has this got to do with Photoshop?
In Acrobat Pro one can combine pdfs (Combine Files into PDF) and Photoshop (not in CS5, but again in CS6) offers File > Auromate > PDF Presentation to combine Photoshop files in one pdf. -
Workflow: create a document set and add default documents to it
Having a workflow create a new document set seems straightforward: use the "create list item” action, choose the target library and one of the document set content types available in it
and supply values for the fields. But that workflow action doesn't provision the document set with default content, even though the content type has default content defined. Other people have asked the same question and some say you can write a second workflow
triggered by creating the new document set item in the target library, but I don't see how you can add default content to it.
"Copy list item" would work if you could supply the title of the document set along with the target library. You can copy files (in my case several .msg, .pdf and .docx files) from
a "templates" library, but without being able to add the document set name/path as part of the target "this list" they end up in the root of the target library not in the document set.
I've seen suggestions that "Create list item" will work, but I don’t see how it can since with that you can't supply a file name to provide the default content with.
Am I missing something?
Tom
SharePoint Systems Officer, Capital Regional District, BC, CanadaHi Tom,
According to your description, my understanding is that you want to add documents to the document set using workflow.
I recommend to use the custom workflow activity “Copy List Item Extended” and you download it from the following link:
http://spdactivities.codeplex.com/.
With this activity, we can copy documents to document sets.
Please refer to the link below to deploy the custom activity:
http://social.msdn.microsoft.com/Forums/sharepoint/en-US/24f21b48-0078-4c18-bd3e-180cd2291c28/moving-items-into-library-foldersdocument-sets-infopathspd-2010-workflow
Thanks,
Victoria
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Victoria Xia
TechNet Community Support -
The following code (which was working for years, including even 1.3.x) suddenly fails in 1.4.1 and 1.4.2beta on both win 2000 and win xp
DESCRIPTION OF PROBLEM :
An applet consists of 2 components: a contents panel and a button. The contents panel consists of one of several panels of components which are swapped at run-time. The first time a panel is added, the applet works fine, but subsequent additions of the "cached" panel cause 1.4.1 and 1.4.2beta to go to 100% utilization and take 10 seconds before properly displaying the panel.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Load applet described above (and whose short complete example is reproduced below), then click on button "Swap Contents". Each click should swap the contents between 2 panels very quickly. 1.3.x releases did all swaps quickly as expected. Suddenly, in 1.4.1 and 1.4.2beta, the first click is fine, but subsequent clicks are painfully slow.
---------- BEGIN SOURCE ----------
// Java code to reproduce bug followed by html file to load applet
import java.awt.*;
import java.awt.event.*;
public class TestRemoveAddApplet extends java.applet.Applet {
Container contentPanel = new Panel();
Button button = new Button("Swap contents");
Panel contents1 = new Panel();
Panel contents2 = new Panel();
Label contentsL1 = new Label("Contents #1");
Label contentsL2 = new Label("Contents #2");
Component current = contents2;
public void init() {
setLayout(new BorderLayout());
add(contentPanel,"Center");
add(button,"South");
button.addActionListener(new Swap());
contents1.add(contentsL1);
contents2.add(contentsL2);
// initialize contents
swapContents();
class Swap implements ActionListener {
public void actionPerformed(ActionEvent e) {
swapContents();
void swapContents() {
current = (current == contents1 ? contents2 : contents1);
// remove contents of previous contents panel
contentPanel.removeAll();
// display new contents
contentPanel.add(current);
validate();
HTML file follows:
<HTML>
<HEAD>
<TITLE>Test Remove / Add in Applet</TITLE>
</HEAD>
<BODY>
<OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
WIDTH = 100% HEIGHT = 100% >
<PARAM NAME = CODE VALUE = "TestRemoveAddApplet" >
<PARAM TYPE = "application/x-java-applet;version=1.1" >
</OBJECT>
</BODY>
</HTML>
---------- END SOURCE ----------Try hiding the panels first then adding them then show. I know its crazy but I have gotten better performance this way with 1.4.1x. Try it.
current.setVisible(false);
contentPanel.add(current);
current.setVisible(false); -
How can I stop and remove my credit card from my iPad ,my children keep buying games and I want to stop it......please help me to remove any payment from now on.
iOS: Understanding Restrictions
http://support.apple.com/kb/HT4213 -
How do I stop/disable/remove dovecot and postfix?
Hello,
So the story is somehow I managed to install Lion Server on my personal computer from the App Store. Fine until I realized all the proccesses my computer is spending resources on now. I've looked through what I think is every guide in the book on how to "remove" Lion Server, meaning just disable the additional servers it installs. I think I've gotten almost all of it, following basic things such as shutting everything "off" in Server.app.
Seems that though, no matter what Launch daemons or agents I disable, two are persistent on starting up with my comptuer and I can't seem to rid myself of them. Yes, I need to stop/disable/remove them. The following shows up in Console.app > All Messages:
Dovecot (or something related):
1/24/12 10:57:58.490 PM dovecot: lda: Error: userdb lookup: connect(/var/run/dovecot/auth-userdb) failed: No such file or directory
1/24/12 10:57:58.491 PM dovecot: lda: Fatal: Internal error occurred. Refer to server log for more information.
Postfix:
1/24/12 10:57:58.105 PM postfix/master: master exit time has arrived
1/24/12 10:57:58.143 PM postfix/master: daemon started -- version 2.8.4, configuration /etc/postfix
1/24/12 10:57:58.160 PM postfix/qmgr: 127555F00C2C: from=<>, size=6804, nrcpt=1 (queue active)
1/24/12 10:57:58.508 PM postfix/pipe: 127555F00C2C: to=<[email protected]>, relay=dovecot, delay=2877, delays=2876/0.03/0/0.31, dsn=4.3.0, status=deferred (temporary failure)
I believe both of these are related to mail somehow. I have ticked off "Mail" switch box in Server.app.
These messages keep on looping in the Console since I'm assuming they are crashing and then restarting due to a "stay alive" in some plist file I can't seem to find...
Please, I would be very grateful to anyone who can help me unclutter my Console of these messages. I know I can filter senders, but I will like to see if I might get some advice to resolve this. I'm sure it's minimal, but it can't be good for battery life. I wish I had the time to do a fresh install of the client.
Cheers!
RyanI have the exact same problem, and I'd appreciate a response. My logs are flooded by nonsense!
-
How to add a document type for the residence status GB in infotype 48
Hi Team,
How to add a document type for the residence status GB in infotype 48.
Please answer this at the earliest.PFA screnshot.
Thanks
chrisI believe there is a PDF doc which comes with the component (it should be at your harddrive when you install it), which describes everything you will need.
In a nutshell, there are two types of relationship: sibling - sibling, parent - child (there are some more nuances, but it follows the same logic).
A relationship is created between two existing items (not sure, if you can also create a relationship for a new checked in item, but it would be just a usability). You select the type of relationship and the item - I believe depending on the relationship you may start from either item. The dialog to start is INFO (display metadata) or UPDATE (update metadata).
When a relationship is created you may watch it also from either end (again INFO is the starting point).
It is quite self-explanatory, so if you have the component installed you may just play around with it for a while and that is it. -
How to stop and remove an active job.
How to stop and remove an active job.
What sort of "job" are you referring to? A print job? If so, open the queue for the printer - it should be in your Dock, or you can access it through the Printers & Scanners system preference - and click the green Pause button to stop the entire queue, or the Pause button next to a specific print job to pause just that job. To clear a job, click the "X" button to the right of the job.
If that's not the "job" you mean, please post back and clarify.
Regards. -
How to create a Book in Indesign and add indesign documents to it?
Hi all,
Can I create a book in InDesign CS3 and add indesign documents to it using javascript.
Thanks,
Hemachandiran.Here's my version of the script — now works in CS4 — may be it would come in handy to somebody:
var myFolder = Folder.selectDialog( "Select a folder with InDesign files" );
if ( myFolder != null ) {
var myFiles = [];
var myAllFilesList = myFolder.getFiles();
for (var f = 0; f < myAllFilesList.length; f++) {
var myFile = myAllFilesList[f];
if (myFile instanceof File && myFile.name.match(/\.indd$/i)) {
myFiles.push(myFile);
if ( myFiles.length > 0 ) {
var myBookFileName = myFolder + "/"+ myFolder.name + ".indb";
myBookFile = new File( myBookFileName );
if ( myBookFile.exists ) {
if ( app.books.item(myFolder.displayName + ".indb") == null ) {
myBook = app.open( myBookFile );
else {
myBook = app.books.add( myBookFile );
myBook.automaticPagination = false;
for ( i=0; i < myFiles.length; i++ ) {
myBook.bookContents.add( myFiles[i] );
myBook.save( ); -
Add word document in project systems with BAPI
Hi,
I want to create a project with documentation automatically.
I have created a project with following structure with BAPI_PROJECTDEF_MAINTAIN.
PROJECT
DOCUMENTATION
Now I want to add a word document in DOCUMENTATION.
I know how to add a document via transaction CJ20N, but that is not what I want.
I want to add a document via BAPI.
Do you know how I can achieve this with a BAPI ?
Thanks in advance,
ChuHi Avinash,
Thanks for your quick response.
I try to fill in those input parameters.
I have already stored my document at the server and look at table DRAD for colom DKOB and OBJKY.
When I fill in those values in FM CNPB_M_CREATE_DOCUMENT start to running.
But where did my document goes ? I can not find it back, and it is not added in my DOCUMENTATION.
Do you have any idea where my document is now ?
Chu
Edited by: Chu Lam on May 1, 2009 11:19 AM
Maybe you are looking for
-
Adding data dynamically to JTable with a filter - getting error
Hello, I am using JTable, and adding data and displaying it worked fine until I tried adding a filter, can anyone tell me what am I doing wrong or why am I getting this Error? The Error message Exception in thread "AWT-EventQueue-0" java.lang.NullPoi
-
Hi, I need to read and write into a Telnet window .But the Telnet window is a exe program that is been given by the Windows while installing the OS. Another thing is that I need to read and write into/from the Telnet window at a specific X and Y posi
-
Thumbnail Gallery, remove spacing and rollover color
Hello, I am creating a gallery and would like there to be no space at all between thumbnails (see Photoshop image attached), I cannot seem to get rid of the space, is this possible in Muse? Is there a way to make the thumbnail highlight with the yell
-
Broken links with PDF Portfolio
When I've created links within Adobe Acrobat to another document that's already within the Adobe Portfolio sometimes the links don't properly source to the correct page number. Instead, the link will source to the correct document but then filter to
-
Hi I have SharePoint 2013 farm and installed Workflow Manager 1.0 and configured it and have been runing fine for several months. I upgraded this farm to SP 1 and then started having some issue with publish WF 2013 with task in SPD. I re-Registered