SP notification for CST/VAT in same document

Hi Experts,
Kindly provide the Sp_notification to avoid different  tax code (for e.g. E10C2 &  E10V5) in same document.
Regards,
Datta Kharat

Hi Datta,
If I got properly then you want there should not be more than one tax code in any document..
for purchase order please find below notification..
IF @transaction_type IN (N'A', N'U') AND (@Object_type = N'22')
BEGIN
declare  @line int
set @line=-1
set @line=(SELECT T0.LineNum+1 FROM POR1 T0
WHERE T0.DocEntry =@list_of_cols_val_tab_del
  and exists(select linenum from por1
           where docentry=T0.DocEntry and taxcode!=T0.taxcode
               and linenum<T0.LineNum) )
If @line<>-1
begin
SET @error = 10
SET @error_message = N'Not allowed diffrent tax Code: line '+
CONVERT(nvarchar(4),@line) + '!'
end
END
Regards
Deepak Tyagi

Similar Messages

  • Business area Not coming for CST /VAT account

    Hi,
    I am using Business area wise financial statements.System fetches business area for gl accounts  except  CST /VAT accounts  as per the configuration.
    Can this be solved through by running the program SAPF180?
    i do not know how to do this .
    GURU

    Before using substitution, refer Note 199886. Think about all possibilities and then you decide.
    BSEG-GSBER field for call point 9 (Line item) is not available for substitution. However substitution is possible but tricky.
    Good luck.
    PP

  • CUOM 2.3 sends multiple notifications for Event StoppedGSUPerformancePolling with same time stamps

    Hi Alll,
    I have a CUOM Version 2.3 which shows mutiple notifications per Device for Event StoppedGSUPerformancePolling with same time stamps. The message below is generated from the default All_Events for all devices.
    Does anyone have a solution for that.
    Regards Michael
    This message is generated 8 times with the same time stamp in all messages.
    ** This message is generated from Cisco Unified Operations Manager **
    ALERT ID                = 00012OW
    CREATION TIME           = Sat 30-Oct-2010 16:31:57 CEST
    MODIFIED TIME           = Sat 30-Oct-2010 17:00:58 CEST
    STATUS                  = Active
    SEVERITY                = Critical
    MANAGED OBJECT          = 183.201.141.193
    MANAGED OBJECT TYPE     = VoiceGateway
    ASSOCIATED EVENTS       =
        Cleared:183.201.141.193:Unresponsive
        Active:183.201.141.193:StoppedGsuPerformancePolling
    CUSTOMER IDENTIFICATION = Voice Port
    CUSTOMER REVISION       = Voice Port

    if you get SNMP timeout on multiple devices then the fault usually lies in the path that the polling follows to get to these devices and back to the server.
    The problem obviously lies in the part path they have in common.
    It is not unusual to see the highest backbone loads during the night, due to backups being taken.
    Make sure the most important inter-switch links have no errors.
    I would rather fix this then turn off alerting.
    Cheers,
    Michel

  • Material list for CST & VAT Taxes.

    Dear All ,
    kindly help as user wants the list in which only those material should dusplay on which CST is applied , in hte same way a seperate list should appear for those material in which VAT is applied., Can this list is available in SAP,
    Regards
    sap11

    Hi,
    I dont think you have any list in SAP. you have to go for a custom report.
    Another way is to go to FV13 and give the condition type and select the key combination and then execute. you will get all the materials maintained for that required VAT / CST.
    Thanks & Regards,
    Kiran

  • Cst/vat tax classification indicator

    I'VE CREATED CTYP FOR CST & VAT (ZCST /ZVAT)
    IN CUST MASTER FOR JCST -ENTRIES -0 NO CST /1 CST APPLICABLE
    VAT -0 NO VAT/ 1- VAT APPLICABLE
    SAME I'VE MAINTAINED IN MAT MASTER ALSO
    have maintained condition record for all key combibation
    but in sales order always cst combination is geting picked up (though itis not relevant)
    rather than vat though condition record is maintained
    Pl suggest

    hi
    for cst & vat ive created different acces sequence zcst & zlst for both have given table 368 itself
    and have maintained ctype for noth cst & vat ctypes fro respective key combinations
    But in sales order analysis button CST TAX CLASSIFICATION INDICATOR IN CUSTOMER & MATERIAL IS COMING EVEN FOR VAT CTYPE ALSO
    IN customer MASTER cst  indicator  0  --   NO CST   /     1 -- VAT 1 APPLICABLE
    MATERIAL MASTER  CST  indicator  1 --    2% CST   /    2 ---VAT 4% APPLICABLE
    CUSTOMER REGION IS ka & PLANT REGION IS ka SO vat MUST COME
    bUT IN SALES ORDER  - no record is coming - in analysis button for both CST & VAT CTYPES CST INDICATOR   0 1 is coming (which is cst indicator in cust & mat master)
    VAt is not coming

  • How to restrict editing of some paragraphs and allow for others in same document?

    I have a client that wants to put together standard proposals that have boiler plate information (long paragraphs and some imagery) that will not change. In the same document they have other information that is to be customized by sales teams (text and images). Sometimes, they will have a sentence or a phrase which needs changing in the middle of a long paragraph but the rest of it remains the same. Since these documents are shared and edited by multiple parties, they would like to restrict some paragraphs from editing while making other areas editable, perhaps on the same page of the document. Is there a way to do this in Acrobat Pro XI?

    Thanks for that, yes I’ve been creating pdfs in InDesign for better layout results. We want to generate a template that our international sales team can use for templates, sharing over a server, and trying to prevent them from ruining text flow, image flow etc. just wondering where my limitations are at.\
    Thanks for your help. Anymore suggestions are very welcome.

  • Same nr range in Logistics Invoice Verification for the MM and FI document

    I customised Logistics Invoce verification (on ECC6) with the same nr range for MM and FI.  That were done by changing the nr range of doc type RE (in FI) to nr range 52 andcreated the nr range for the company code for fiscal year 2007 and 2008 (our fiscal year 2008 start 1.10.07) and made it external nr assignment.  In MM I changed RD and RS to a new range 05 to which I assigned the nr range 5200000000 to 5299999999 (internally assigned).  For the vendor consignment I created a new document type and assign that to nr range 51 (as the original invoice verification settings).
    This process works quite nice with the same document nr for MM and FI, however I still do have a problem. (I work through the article on above as per FI Expert issue of Sept 07, but even in there my problem was not mentioned.
    If I do an invoice verification for previous period with price changes on the system, Sap want to post 2 accounting docs (1 for the previous month - on which I did have stock and 1 for current month - one which I did not have any stock).  The system only send 1 document nr for FI who needs 2 doc nrs.  I now get the error  message that I must use a document in the nr range 5200000000 and 529999999.
    How do I rectify this or can I not use this functionality if we allow backdating to the previous period
    Regards
    Anna-Marie Robson

    I customised Logistics Invoce verification (on ECC6) with the same nr range for MM and FI.  That were done by changing the nr range of doc type RE (in FI) to nr range 52 andcreated the nr range for the company code for fiscal year 2007 and 2008 (our fiscal year 2008 start 1.10.07) and made it external nr assignment.  In MM I changed RD and RS to a new range 05 to which I assigned the nr range 5200000000 to 5299999999 (internally assigned).  For the vendor consignment I created a new document type and assign that to nr range 51 (as the original invoice verification settings).
    This process works quite nice with the same document nr for MM and FI, however I still do have a problem. (I work through the article on above as per FI Expert issue of Sept 07, but even in there my problem was not mentioned.
    If I do an invoice verification for previous period with price changes on the system, Sap want to post 2 accounting docs (1 for the previous month - on which I did have stock and 1 for current month - one which I did not have any stock).  The system only send 1 document nr for FI who needs 2 doc nrs.  I now get the error  message that I must use a document in the nr range 5200000000 and 529999999.
    How do I rectify this or can I not use this functionality if we allow backdating to the previous period
    Regards
    Anna-Marie Robson

  • If I have two email accounts, one personal hotmail account and one MS Exchange work account, how can I setup individual notifications for each account. Right now, any email from any account has the same notification. I want work to be different than perso

    If I have two email accounts, one personal hotmail account and one MS Exchange work account on my iPhone 4s, How can I setup individual notifications for each account? Fore example, if I get a work email, I want to hear a DING, DING....If I get a personal email, I want to hear a BEEP, BEEP. Right now, any email from any account has the same notification. I want work incoming email notification to be different than personal incoming notification. The only semi-workaround I've seen is just disable any notification for the Hotmail account, so only work emails would notify. But then I don't know when I get a personal email. Even the lowely Blackberry Torch 9800 has this feature..not iPhone 4s??
    Thanks

    Sorry you get only one notification sound for all email accounts.  you can send a suggestion to apple here http://www.apple.com/feedback/

  • Creation of disconnection notification for the disconnection document

    Hi,
    I created a disconnection document using FM ISU_S_DISCDOC_CREATE for the installation. Now i have to create the disconnection notification for the disconnection document. Is there any FM to do that.
    Regards,
    Mukesh Kumar

    hi
    i  dnt think there s a seperate fm  for creating   notif specially  for disconn notification..
    kr
    raj

  • How to Restrict printing the document using IRM for a Single Document?Allow printing for some documents and restrict the printing for particular documents in same document library?

    Can we able to Configure the IRM in Document Level in SharePoint Document libraries?
    The document library contains multiple document sets , Can we restrict the printing according to document sets? Allow printing for some documents and restrict the printing for particular documents in same document library
     Is this possible?Please suggest.

    Yes, that can be done. But note that all administrators will have the same right to print, so you need to make sure the users are not administrators. You can include a macro to disable printing, but if the users disable macro, they can print the documents.
    Hence, there is no foolproof way to prevent printing documents. If you still need a foolproof security, PDF format provides password based security (viewing doesn't require a password) that can be implemented to prevent the document from printing,
    which doesn't require any special scripts and is tough.
    You can have a look at the following links:
    http://msdn.microsoft.com/en-us/library/office/ms458245(v=office.14).aspx
    http://msgroups.net/microsoft.public.word.docmanagement/prevent-printing-of-docum/91353
    http://www.go4sharepoint.com/Forum/prevent-printing-saving-documents-10150.aspx
    The following link explains about the security features in PDF. This is for information purpose only and not for promotion of any products:
    http://www.pdflib.com/knowledge-base/pdf-security/
    Balaji Kundalam

  • Duplicate BP Reference Numbers for same document type -need check on orders

    Version: (2007A)
    Description of requirements:
    The user is allowed to create two sales orders for the same customer that have exactly the same BP Reference. When the user invoices one of them and then tries to invoice another, they are  warned that there is already a document of the same type with this reference number. The problem is, they ship the goods out physically before they actually create the invoice document, so that by the time they are entering the invoice in the system, the goods have already been shipped twice, when they should only have been shipped once, If they were warned when they were adding or updating the order, then this could be prevented from happening. Same thing for vendors. Our customers would like to have the check for duplicate BP references on the purchase order as well as on the AP Invoices.
    Business needs: Our Clientsu2019 customers are receiving duplicate shipments and this has a negative impact on their business relationship as it creates costly extra work and inconvenience for all.
    Examples: Would like the same check that is currently on AR and AP Invoices for the same BP reference number existing already on the same document type implemented on the sales order and purchase order. When the user is adding an invoice for a BP and there is already an invoice for the BP with the same BP reference number, the user is warned and asked if they want to continue.
    Current Workaround: None. As our customers often physically ship the goods before creating an invoice from the order, there are duplicate shipments and this is most inconvenient and costly to our customers as well as their customers.
    Proposed solution: see above. This is a high priority item for our customers.
    Sally Weinrauch,
    Senior Support Analyst
    Coastal Range Systems Inc.
    Recipients of: SAP's Partner of the Year 2007 & 2005,
    North America's Top Ten 2008, 2007 & 2006.
    200 - 6400 Roberts Street, Burnaby, BC, V5G 4C9

    hi,
    Use SP_TransactionNotification to block sales order & purchase order from adding having duplicate bp reference number.
    SAP Note 1258097 - Can the Suppliers Reference number be
    made unique? activated approval procedure also for ar invoice.
    It may solve problem.
    Jeyakanthan

  • "No connectivity with the server" error for one document but not the other, in the same document library

    We have a number of users all of a sudden getting "No connectivity with the server.  The file 'xxx' can't be opened because the server couldn't be contacted." errors trying to open MS Office docs (Word, Excel, etc.) in SharePoint with IE,
    just by clicking the link and selecting the "Read Only" option.  If they select the "Check Out and Edit" option, they can open the document no problem.  One of my customers gets the error on one document but not the other, in
    the same document library!  The older document (a weekly report) was copied and renamed as per standard procedure.  She can read the older document, but not the new one.
    It is definitely a profile issue, as other people have logged onto the machines of the users with problems and do not get the error.  We have also renamed people's c:\user profile folders and the corresponding Profilelist registry entry and the newly
    created profile does not experience the error for these people.  Renaming the profile back restores all their personal settings but the error reappears.  When we copied the old profile's folder structure into the new profile, many of the user settings
    were restored (but not all, like Dreamweaver settings) but the error did not appear.  We think that the system folders files (like AppData) weren't totally copied over so we're going to run another test using xcopy.  We are rebooting between
    logons to make sure all files are unlocked.
    The laptops and computers are mainly 32bit, Win7 Enterprise running IE9 and Office 2010 Professional Plus, but there's a few 64bit machines as well. The SharePoint farm has 1 WFE, 1 App Server running search and CA, and a shared database server running SQL
    2005 SP4.  SharePoint is 64bit MOSS 2007 with the latest CU.
    We've checked the logs on the client as well as on the server and there aren't any helpful entries.  We've also run Process Monitor, also with no helpful entries.  We're planning to run something like Fiddler next.
    It's not everyone, because there are many people are accessing the SharePoint system and the same files.  It is also not a permission thing, as we've tested by giving the users elevated permissions with no changes.  One person experiencing
    the errors is a Site Collection Admin.  That same person ran a test where I coped a simple Excel file into a Document Library which contained a problem file.  They were able to open it Read Only no problems that day, but the next day, the same
    file gave them an error.   In their case, they usually get a "xxx is not checked out" error and only occasionally get the "No connectivity with the server" error.
    We've tried lots of things including:
    Deleting IE cache
    Deleting SharePoint Drafts and webcache folder contents
    Running IE without add-ons
    Upgrading and Downgrading IE
    Uninstalling and re-installing IE
    Reinstalling our SSL certs
    Repairing Office
    Removing and then adding back in the Microsoft Office "Microsoft SharePoint Foundation Support" Office Tool 
    Deleting all HKLM and HKLU Office registry settings
    Toggling IE Compatibility Settings
    Toggling the IE Automatic Logon option
    Toggling the location of checked out files
    Adding the site in the trusted sites list
    Adding the site to the WebClient\Parameters registry locations
    Making sure the WebClient service is started
    Rebooting the machine (lol :)
    This is becoming a serious issue, not just because of the inconvenience for the users having to check out every document they want to read, but we have some files with macros that open up other documents to run which are now failing.  There aren't
    "check out" workarounds for some of those macros.
    We're planning to open a ticket with Microsoft, but I'm throwing it out here first in case someone has run into this before, or may have some suggestions on what to try next.  Thanks!
    -Richard.
    PS  I think this needs to be in the "General" forum instead?

    It took three days of dedicated troubleshooting, but I have found the cause of the errors, and a couple of fixes.  It helped tremendously that my own machine was throwing the error.  I have scheduled a couple of users to work with me to test the
    various fixes, to see which one works best, so the story isn't over yet.
    I had backed up my c:\users profile folder and HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList registry key so I could restore my profile after I was done.  I made a copy of the profile folder and was using that for awhile,
    but then made another copy where I had deleted a lot of content out of it so that the copies would go faster.  Since a newly created profile did not have errors, I was trying to copy back as much of the profile as possible to make it easier for our users
    to get back to work.  Instead of blowing away their profile and starting from scratch (which we know worked) I wanted to narrow down what was causing the error and just skip that from the restore.  The concept was to keep as much as the users profile
    in tact (application settings, etc.) not just restoring their desktop and My Documents folders.
    When we first tested a few weeks ago, simply copying the folder contents didn't reproduce the error.  I then tried xcopy, but got the "can't read file" error.  Then I tried robocopy, and ran into the "junction" problem. 
    I went back to xcopy, and found that placing the excludes.txt file in the windows/system32 folder eliminated the error.
    So the process went as follows: 
    Reboot and log into the machine as another user
    Delete the profile and associated registry key
    Reboot and log into the machine as the affected user, creating a new profile, and there is no error
    Reboot and log in as the other user
    xcopy the contents of the skinned-down backed-up profile to the newly created profile
    Reboot and log in as the affected user, and the error occurs
    Repeat the above, but add items in the excludes.txt file to see what, when eliminated, causes the error not to appear in the last step
    I eventually found that skipping the c:\users\<profile folder>\appdata\local\Microsoft\office\14.0 folder allowed the entire profile to be copied over without the error occurring.  That was strange, because we've cleaned out the cache folders
    before which didn't fix the issue. 
    So I went about it the opposite way, and tried to delete the 14.0 folder from the restored profile, and after reboot, the error still occurred.
    What eventually worked was deleting the 14.0 folder and copying over a 14.0 folder from a newly created profile!
    One way to do this was to:
    Reboot and log in as another user
    Rename the c:\users profile folder
    Rename the appropriate [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList] registry key
    Reboot and log in as the affected user, confirm that there is no error
    Reboot and log in as the other user
    Copy the C:\Users\<profile folder>\AppData\Local\microsoft\Office\14.0 folder to the other user's desktop
    Delete new profile folder, and rename the backup to be the production folder
    Delete the C:\Users\<profile folder>\AppData\Local\microsoft\Office\14.0 folder and then paste the 14.0 copy from the desktop
    Reboot and log in as the affected user, confirm that there is no error
    We've tried this on a couple machines and it works.  I had to run Windows Explorer as Administrator to access the other profile's folders.
    We've also successfully copied a 14.0 folder created by one profile on one affected computer over another profile's folder on another computer, eliminating the error, so we're trying that first, as that is fewer steps.
    We may attempt to script this, but the self-help instructions are only 5 lines long:
    Reboot and log into the affected computer with another account
    Go to <link to location of 14.0 folder on network> and copy the 14.0 folder
    Run Windows Explorer as Administrator
    Go to c:\users\<profile folder>\appdata\local\microsoft\office and delete the 14.0 folder, and paste the copied 14.0 folder (trying to overwrite it makes Win7 want to merge the folders)
    Reboot and log into your normal account, and confirm the error is gone
    I'll come back and report after we go into the field with this fix, but after the few tests, I am cautiously optimistic that this is it.

  • Different View for same document library on a Wiki Page

    Hi,
    I am developing a Provided hosted app which have a functionality to create a document library with two Views. Also we need to show this document library in a wiki page with two different views.
    I am using CSOM (C#). I am able to create the document library and the two views programmatically. But when I add the document library in the wiki page the default view (All Documents) is shown for both the web parts. There is an hidden view created with
    the WebPartDefinition from the xml provided through code. 
    Through CSOM we are able make a View as default with the link below.
    http://sharepoint.stackexchange.com/questions/90433/add-document-library-xsltlistviewwebpart-using-csom-or-web-services
    In my case both the webparts will get the same view, where I need different view for same document library in a wiki page.
    Also I tried to update the web parts with the following code.
    string viewString = @"<View Name='{0}' MobileView='TRUE' Type='HTML' Url='/SitePages/Home.aspx' Level='1' BaseViewID='1' ContentTypeID='0x' ImageUrl='/_layouts/15/images/dlicon.png?rev=23' >
    <Query><Where><Eq><FieldRef Name='KeyDocument'/><Value Type='Boolean'>1</Value></Eq></Where></Query>
    <ViewFields><FieldRef Name='FileLeafRef'/><FieldRef Name='DocumentOwner'/><FieldRef Name='Modified'/>
    <FieldRef Name='_UIVersionString'/><FieldRef Name='Editor'/></ViewFields>
    <RowLimit Paged='TRUE'>30</RowLimit><JSLink>clienttemplates.js</JSLink><XslLink Default='TRUE'>main.xsl</XslLink>
    <Toolbar Type='Standard'/></View>";
    WebPartDefinition wpd = wpfound.FirstOrDefault();
    string formattedstring = String.Format(viewString, wpd.Id);
    wpd.WebPart.Properties["XmlDefinition"] = formattedstring;
    wpd.SaveWebPartChanges();
    web.Context.ExecuteQuery();
    I created two views (viewString) as shown above.
    The above code did not throw error, but it did not update the web part.
    Please advise how to move forward.

    Hi Samir,
    When we click outside of the list view webpart on a webpart page (or allitems.aspx page) with containing multiple webparts, the list view webpart will lose the focus, and the selected items will be deselected, this is by design.
    You can look at the following article with using the approach/workaround of Javascript to prevent the specified list view webpart from losing focus.
    http://sharepoint.stackexchange.com/questions/44360/list-view-loses-focus-when-additional-webpart-added-to-page
    //Set focus on our list web part
    var webPart = document.getElementById('WebPartWPQ1');
    WpClick({target: webPart});
    //Prevent it from losing focus
    SP.Ribbon.WebPartComponent.$3_1.deselectWebPartAndZone = function() { };
    Thanks
    Daniel Yang
    TechNet Community Support

  • Document number disrepencies for the same Document Type

    Dear All,
    I found an issue with Document number range with document type SA wherein last month document posted starts with 1431..... and in current month document posted starts with 1400..... how can this be possible?  NOTE: The same document number range is attached to another document type as well.

    Refer SAP Notes
    1828201 - Missing document numbers for accounting documents
    175047 - Causes for FI document number gaps (RF_BELEG)
    1522367 - Document number gap reason and analysing method

  • Where we maintain the CST & VAT numbers for a plant which is not a register

    Hi All,
    Where we maintain the CST & VAT numbers for a plant which is not a registered for Excise?
    we are printing it on the invoice output. on debugging it is known that it comes from the table AUSP, after checking the table CABN.
    Any body knows about these two tables? let me know the purpose of these tables
    thanks in advance,
    Venkat

    Mr Big Screams.....
                      I hope you have neigther read my reply completely nor understood correctly.
    Let me tell you, maintaining record in J1ID in Plant address details doesnt declared that plant is registered under Excise act until unless you maintain ECC details. ( ECC -Excise Control Code number which will be alloted by the Central Excise dept).
    You will find CST / VAT fields in J1ID which is actually given to maintain Plant address details for INDIA localization.
    Hope its clear.
    Regards,
    Reazuddin MD

Maybe you are looking for

  • Non-build-in-data type mapping error

    Hi, I started a new web service design using a pre-defined Schema. I created a schema project and use XML bean as my web service method parameter. It works fine in workshop test IDE. But when I deployed it and tried to generate client jar, it gave me

  • View responses?

    Hi, after I shared a file that contains the forms, the receipients are able to download and fill the form and click "submit form" at the top of the file.  I shared it through acrobat.com, where can I view their submited form for responses?  Or how ca

  • Sqlj runtime error with oracle 10G in Websphere6 or 5.1

    We are trying to migrate from oracle 9i to 10G and we are compiled all our sqlj code with codegen = -oracle option.(previously we used to use codegen=-jdbc which for some reason doesnot work).it compiles fine with out any erros.. But when we try to r

  • Validating a xml schema (xsd file)

    Hi, I was wondering - my program should accept schema files and before doing whatever it does with them I want to put them through a validation and present errors if any. I wasn't sure what is the right way to go about this - I know how to set up a v

  • Trouble with photoshop cs6 (global override) shortcuts

    hi there, at work my boss recently upgraded my cs5.5 (mac, mountain lion) to cs6, and deleted the cs5.5 version of the program before testing cs6, afterward we found that cs6 failed to migrate presets, and indesign failed to open at all, after a leng