Invalid JSON being created

I am having an issue where jquery is not processing the return of IsJson=1 correctly due to invalid json being returned such as
"TranslatedQueryText": "( SDATA(sddDocName LIKE \'LOGO-THE-VINE-TOP\') )",
According the the json spec I believe that the single quite does not need escaping and this should be
"TranslatedQueryText": "( SDATA(sddDocName LIKE 'LOGO-THE-VINE-TOP') )",
Has anyone found this to be the case? I am not sure I can work around this with UCM to easy and it may be easier to hack jquer to fix its parse rejection of /'

>
I've been able to parse most of the JSON based UCM content with this line:
eval("var ucmResponse = " + ucmJson);>While doing an 'eval' will indeed work most of the time, it is potentially unsafe. If you cannot trust the JSON your parsing for a 100% (e.g. the JSON data was provided by a system not under your control, or not over an authenticated HTTPS connection), it is possible that your JSON input contains malicious Javascript statements. By doing an 'eval', those malicious statements will be executed as well.
Both Firefox an MSIE provide a a built-in "JSON" object which offers a "parse()" function. This is a native JSON parser in these browsers (and probably the others as well), and it should be seen as a best practice to use these.
Ludovic

Similar Messages

  • Avoid invalid procedure being created using shell file

    I am creating certain procedures and fuctions on my oracle 10g database by calling sql scripts from a shell file on solaris 10 platform.
    I do not want to create any procedure that will become invalid after creation because of missing tables being used by it.
    How can i control this behavior in my shell file so that only those procedure's scripts get executed that will be valid after creation.
    One approach might be to check all dependent tables, return output from sqlplus to the unix shell file and then based on result, decide whether to execute the sql script or not.
    Can there be anyother way of doing this job ?

    Yes you are right.
    But, our application is such that we give client different set of tables. Some client might have 100 tables and some might have 200 tables.
    We do not want to test for every client that whether certain procedure would be valid or not.
    We want that our scripts are such that if a db do not contain tables being used by some procedure then that procedure should not be created on the client db.
    This might be solution that we create that procedure and then at the end delete all invalid procedures

  • Error from download schema xml that is preventing table being created

    Hi,
    I am having a problem with some tables not being created in my staged sequel and this is the log error message:
    26/02/2010 11:13:       ERROR: CommandProcessor.getDataSet : select top 50 SHORT,STEXT,OBJID from Position order by  Upper(SHORT)  asc, Upper(STEXT)  asc, Upper(OBJID)  asc|DC=DestinationConnection : Source {.Net SqlClient Data Provider}: Message {Invalid object name 'Position'.}
    26/02/2010 11:13:       ERROR: CommandProcessor.getDataSet : select top 50 Pernr,LastName,FirstName,PositionStext,OrgUnitStext from EmpDetailsCombined order by  Upper(Pernr)  asc, Upper(LastName)  asc, Upper(FirstName)  asc, Upper(PositionStext)  asc, Upper(OrgUnitStext)  asc|DC=DestinationConnection : Source {.Net SqlClient Data Provider}: Message {Invalid object name 'EmpDetailsCombined'.}
    I can't figure out what is wrong??
    Thanks

    IIS is the web interface that web applications and web sites run through. Go to Start > Run and type iisreset and hit enter. This will restart the service. If your server isn't powerful enough or it also runs your database then sometimes the memory can get clogged up when running an extract from a SAP system with lots of records.
    The reason the tables are missing or empty is because when the extractor extracts tables it drops the previous ones and when no data is being extracted it doesn't create new ones. Basically, your issue is that no data is being extracted from SAP and the issue is unlikely to be OrgChart related or connection related because otherwise the system would error. Something in SAP is preventing the data from leaving the system or the OrgChart or database server has memory issues. There may also be issues with your database server and any database logs should be checked.

  • Did a Clean Install of Lion and I see "librarians" logs being created in Console

    I have "librariand" logs like these being created excessively every 2-3 minutes. Does anyone know why ? ?
    What is "librarians" for ? Where is the error ?
    The logs looks like this:
    Process:         librariand [1188]
    Path:            /usr/libexec/librariand
    Identifier:      librariand
    Version:         ??? (???)
    Code Type:       X86-64 (Native)
    Parent Process:  launchd [154]
    Date/Time:       2011-08-15 17:37:16.697 -0400
    OS Version:      Mac OS X 10.7 (11A511)
    Report Version:  9
    Crashed Thread:  0
    Exception Type:  EXC_BREAKPOINT (SIGTRAP)
    Exception Codes: 0x0000000000000002, 0x0000000000000000
    Application Specific Information:
    dyld: launch, loading dependent libraries
    Dyld Error Message:
      Library not loaded: /System/Library/PrivateFrameworks/Ubiquity.framework/Versions/A/Ubiquity
      Referenced from: /usr/libexec/librariand
      Reason: image not found
    Binary Images:
           0x10d60b000 -        0x10d614fff  librariand (??? - ???) <0FE2CEEA-611E-3407-AC6E-2ADD0712E195> /usr/libexec/librariand
           0x10d621000 -        0x10d62fff7  com.apple.AOSAccounts (1.0 - 1.0.20) <E9099EA0-613F-36A5-BA18-57A977BEEAEF> /System/Library/PrivateFrameworks/AOSAccounts.framework/Versions/A/AOSAccounts
        0x7fff6d20b000 -     0x7fff6d23fac7  dyld (195.5 - ???) <4A6E2B28-C7A2-3528-ADB7-4076B9836041> /usr/lib/dyld
        0x7fff951ad000 -     0x7fff954bffff  com.apple.Foundation (6.7 - 833.1) <618D7923-3519-3C53-9CBD-CF3C7130CB32> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
        0x7fff98520000 -     0x7fff987f7fff  com.apple.security (7.0 - 55010) <2418B583-D3BD-3BC5-8B07-8289C8A5B43B> /System/Library/Frameworks/Security.framework/Versions/A/Security
    11-08-15 5:40:59.527 PM ReportCrash: Saved crash report for librariand[1254] version ??? (???) to /Users/stamatgeo/Library/Logs/DiagnosticReports/librariand_2011-08-15-174056_Ge orges-MacBook.crash
    11-08-15 5:40:59.840 PM ReportCrash: Removing excessive log: /Users/stamatgeo/Library/Logs/DiagnosticReports/librariand_2011-08-15-173717_Ge orges-MacBook.crash

    Good luck finding anything on this.  librariand is new to Lion, and there is no man page for it, nor any general info around the internet.  It is soooooo annnoying.. 
    searched the developer site...
    No results were found for librariand. Please try a different search.
    NOT what I would call "proper" documentation.
    i get this kind of crap ALL DAY long..
    8/19/11 11:27:24.821 PM librariand: error in handle_item_info_request: NSCocoaErrorDomain/260/Request for item properties on non-existent item.
    8/19/11 11:27:24.823 PM librariand: client connection is invalid: Connection invalid
    8/19/11 11:27:24.823 PM librariand: no clients - starting idle timer
    8/19/11 11:32:27.812 PM librariand: new client - cancelling idle timeout

  • New-SPTrustedSecurityTokenIssuer : Invalid JSON primitive:.

    trying to create S2S between three farms (mysite, Enterprise Search and team). The S2S works fine on Mysite but not Enterprise and consumer farm.
    #run on Enterprise Search farm
    New-SPTrustedSecurityTokenIssuer –Name "MySiteFarm-SecurityToken" -MetadataEndPoint "https://mysite.mydomain.com/_layouts/15/metadata/json/1"
    #Success
    New-SPTrustedSecurityTokenIssuer –Name "teamFarm-SecurityToken" -MetadataEndPoint "https://team.mydomain.com/_layouts/15/metadata/json/1"
    #No Luck
    #run on Consuming Farms
    #mysite Farm
    New-SPTrustedSecurityTokenIssuer –Name "EnterpriseSharedServicesFarm-SecurityToken" -MetadataEndPoint "https://search.mydomain.com/_layouts/15/metadata/json/1"
    #No Luck
    New-SPTrustedSecurityTokenIssuer –Name "teamFarm-SecurityToken" -MetadataEndPoint "https://team.mydomain.com/_layouts/15/metadata/json/1"
    #No Luck
    #Team Faram
    New-SPTrustedSecurityTokenIssuer –Name "EnterpriseSharedServicesFarm-SecurityToken" -MetadataEndPoint "https://search.mydomain.com/_layouts/15/metadata/json/1"
    #No Luck
    New-SPTrustedSecurityTokenIssuer –Name "MySiteFarm-SecurityToken" -MetadataEndPoint "https://mysite.mydomain.com/_layouts/15/metadata/json/1"
    #Success
    I get the following error:
    PS C:\Users\myuser> New-SPTrustedSecurityTokenIssuer –Name "EnterpriseSharedServicesFarm-SecurityToken" -MetadataEndPoint "https://search.mydomain.com/_layouts/15/metadata/json/1"
    New-SPTrustedSecurityTokenIssuer : Invalid JSON primitive: .
    At line:1 char:1
    + New-SPTrustedSecurityTokenIssuer –Name "EnterpriseSharedServicesFarm-SecurityToken" -MetadataE ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : InvalidData: (Microsoft.Share...rityTokenIssuer:SPCmdletNewTrustedSecurityTokenIssuer) [New-SPTrustedSecurityTokenIssuer], ArgumentException
        + FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletNewTrustedSecurityTokenIssuer
    Stack
    writeErrorStream      : True
    PSMessageDetails      :
    Exception             : System.ArgumentException: Invalid JSON primitive: .
                               at System.Web.Script.Serialization.JavaScriptObjectDeserializer.DeserializePrimitiveObject()
                               at System.Web.Script.Serialization.JavaScriptObjectDeserializer.DeserializeInternal(Int32 depth)
                               at System.Web.Script.Serialization.JavaScriptObjectDeserializer.BasicDeserialize(String input, Int32
    depthLimit, JavaScriptSerializer serializer)
                               at System.Web.Script.Serialization.JavaScriptSerializer.Deserialize[T](String input)
                               at Microsoft.SharePoint.Administration.SPSecurityTokenServiceJsonMetadataClient.DownloadMetadata(Uri
    metadataEndpointUri)
                               at Microsoft.SharePoint.Administration.Claims.SPTrustedProviderBase.UpdateFromMetadataFeed(Boolean isFirstTime)
                               at Microsoft.SharePoint.Administration.Claims.SPTrustedProviderBase..ctor(SPPersistedObject parent,
    String name, String description, X509Certificate2 certificate, Uri metadataEndPoint, SPSecurityTokenServiceJsonMetadataDocument metadataDocument)
                               at Microsoft.SharePoint.Administration.Claims.SPTrustedProviderBase..ctor(SPPersistedObject parent,
    String name, String description, Uri metadataEndPoint)
                               at Microsoft.SharePoint.Administration.Claims.SPTrustedSecurityTokenService..ctor(SPPersistedObject
    parent, String name, String description, Uri metadataEndPoint)
                               at Microsoft.SharePoint.PowerShell.SPCmdletNewTrustedSecurityTokenIssuer.CreateDataObject()
                               at Microsoft.SharePoint.PowerShell.SPNewCmdletBase`1.InternalProcessRecord()
                               at Microsoft.SharePoint.PowerShell.SPCmdlet.ProcessRecord()
    TargetObject          : Microsoft.SharePoint.PowerShell.SPCmdletNewTrustedSecurityTokenIssuer
    CategoryInfo          : InvalidData: (Microsoft.Share...rityTokenIssuer:SPCmdletNewTrustedSecurityTokenIssuer) [New-SPTrustedSecurityTokenIssuer], ArgumentException
    FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletNewTrustedSecurityTokenIssuer

    Try this fix error :
    http://www.zevainc.com/index.php/blog/item/4003-fix-new-sptrustedsecuritytokenissuer-error
    To Setting Up an oAuth Trust Between Farms in SharePoint 2013 :
    http://blogs.technet.com/b/speschka/archive/2012/07/23/setting-up-an-oauth-trust-between-farms-in-sharepoint-2013.aspx

  • Accounts being created with administrative group rights

    Hello,
    The server is a Windows 2003 R2 Enterprise fully patched used for Shared Hosting purposes.  It runs Hsphere control panel.  I am trying to identify how the following hack is happening. 
    1) There are users being created with Administrative group rights.   Below is the EventViewer log for the user creation:
    User Account Created:
         New Account Name:    username
         New Domain:    PCNAME
         New Account ID:    PCNAME\username
         Caller User Name:    PCNAME$
         Caller Domain:    DOMAINNAME
         Caller Logon ID:    (0x0,0x3E7)
         Privileges        -
     Attributes:
         Sam Account Name:    username
         Display Name:    <value not set>
         User Principal Name:    -
         Home Directory:    <value not set>
         Home Drive:    <value not set>
         Script Path:    <value not set>
         Profile Path:    <value not set>
         User Workstations:    <value not set>
         Password Last Set:    <never>
         Account Expires:    <never>
         Primary Group ID:    513
         AllowedToDelegateTo:    -
         Old UAC Value:    0x2DAB2B0
         New UAC Value:    0x2DAB2B0
         User Account Control:    -
         User Parameters:    <value not set>
         Sid History:    -
         Logon Hours:    <value changed, but not displayed>
    There exists entries as well where the primary group ID is changed to the Administrative group, but I am omitting such.
    2) I tried to identify what Caller Logon ID:    (0x0,0x3E7) means.  I found out from here:
     http://blog.joeware.net/2013/01/14/2667/ that I can use LogonSessions.exe to identify it.
    Output from LogonSessions.exe is pasted below (snippet):
    [0] Logon session 00000000:000003e7:
        User name:    DOMAINNAME\PCNAME$
        Auth package: NTLM
        Logon type:   (none)
        Session:      0
        Sid:          S-1-5-18
        Logon time:   9/11/2014 12:41:53 PM
        Logon server:
        DNS Domain:   
        UPN:          
            4: System
          316: smss.exe
          364: csrss.exe
          392: winlogon.exe
          440: services.exe
          452: lsass.exe
          628: svchost.exe
          756: LMAgent.exe
          840: svchost.exe
         1000: spoolsv.exe
         1252: avagent.exe
         1268: camWMIAgent.exe
         1324: cissesrv.exe
         1380: cpqrcmc.exe
         1404: vcagent.exe
         1440: svchost.exe
         1480: HsQuotas.exe
         1740: inetinfo.exe
         1780: EmailAgent.exe
         1856: snmp.exe
         1884: sysdown.exe
         1920: smhstart.exe
         2192: svchost.exe
         2388: cmd.exe
         2396: hpsmhd.exe
         2444: cqmgserv.exe
         2464: cqmgstor.exe
         2484: HSphere.exe
         2596: wmiprvse.exe
         2676: cmd.exe
         2684: rotatelogs.exe
         2692: cmd.exe
         2700: rotatelogs.exe
         2732: searchindexer.exe
         2812: hpsmhd.exe
         2824: cqmghost.exe
         2852: svchost.exe
         3044: cmd.exe
         3052: rotatelogs.exe
         3080: cmd.exe
         3088: rotatelogs.exe
         5452: svchost.exe
         5596: GravitixService.exe
         7392: csrss.exe
         7232: winlogon.exe
         6888: csrss.exe
         9832: winlogon.exe
        10388: wawrapper.exe
        10352: cpqnimgt.exe
         9496: msiexec.exe
         6068: w3wp.exe
         4748: webalizer.exe
    3) I also learned from http://support.microsoft.com/kb/243330/en-us that   Sid:          S-1-5-18 means:
    SID: S-1-5-18
    Name: Local System
    Description: A service account that is used by the operating system
    That is all great info, but I am not sure I can put together what I have learned to attempt and get closer towards identifying how in the world users are being created and then being assigned administrative group rights.
    I am a Linux person mostly, but I am comfortable following a properly explained thread regarding windows 2003 R2 Enterprise issues.
    The server is fully patched and it is running Lumension security product.  What's more, Norman Malware tracker, tdskiller.exe (Kaspersky) and McAfee rootkitremover.exe have been run without any apparent Malware/Virus infection
    Hope someone with advanced admin skills can advise.
    Thank you

    Hi,
    You mentioned that, “I am trying to identify how the following hack is happening”, would you please tell us that why did you think the event represent a hacking behavior?
    In a Shared Server Hosting environment, the underlying hosting control panel tool (Hsphere in this case) should be creating only virtual FTP users with a specific group.  So no users with Administrative group should be ever created.  If this happens,
    it constitutes a breach of server security=positive hacking attempt.
    >how in the world users are being created and then being assigned administrative group rights.
    In addition, would you please be more specific about this question? Did you find the event message on a domain joined machine?
    I want to be able to understand in full how/what process is allowing users to be created with Admin rights.  In other words, I want to know what IP was used to issue the command, if ASP.net was used (abused in this case), or anything else related to
    it so that we can patch this particular hole.
    Best Regards,
    Amy

  • Excise Invoice being created before standard Invoice is created

    Hi
    I create a sales order. With reference to the sales order I create a delivery.
    With reference to the delivery, in VF02, if I try to create an Invoice, I get the following message - Excise Invoice created for the Invoice 597500041.
    I need the standard invoice to be created first and using the Tcode Ji11n I should create the Excise Invoice.
    But instead I get the above message.
    What settings should I check and correct.

    Dear Vaideeson Marap...      
    As per my understanding of your question
    If excise invoice is being created automatically the movement you create the commercial invoice in (vf01) ,you need to remove the check box in "excise invoice during billing " respective excise group.
    Please check and revert
    Thanks&Regards
    Raghu.k

  • In obiee 11.1.1.6.2 analytics error "Invalid JSON payload ....."

    Hi Friends,
    We are use obiee 11.1.1.6.2 analytics in both Firefox and IE 7. When we save an report in catalog/shared/newfolder/report1 .After 10 mins or so, when we try to open it again , it pops up an error message about invalid json payload and report comes up correct later. That error only pops up for some fraction of second. Its irritating because it keeps on displaying on screen when you open any saved report . we tried clearing browser cache and still problem exist . I read other thread regarding this ,but could not resolve with their solution . please help
    Thanks,
    Srikanth.

    Could you Clear the browser cache and re-load the page or log in to OBIEE.
    if its not working then try to Re-deploy the Analytics Application, using the file $Middleware_Home\Oracle_BI1\bifoundation\jee\analytics.ear
    Do let me know for any updates?

  • While creating a Sales Order , service order is being created

    1) VA02  -->  given some number for order  (71009759 valid sales order for service )
    2) trying to create a material ( say SERVICE K in my case and qty 1)
    3) now i press save button
    4) now i go to IW32 a new service order is being created there.
    where should i check for the user exist created which is making the service order to be created automatically
    Plz help required....
    Regards
    venkat sharma
    Edited by: venkat sharma gaddala on Mar 26, 2009 8:38 PM

    Hi,
    Userexit's for IW32
    Exit Name           Description
    IWO10012            Maintenance order: Priority handling on central header
    [Find BADIs for a Transaction   |Re: BADIs for a Transaction]

  • Library Backups No Longer Being Created in 10.1.2

    No matter what I do, Library Backups are no longer being created in 10.1.2. This is happening on all 6 of my production Mac Pros and iMacs. I can change the location of the Library Backup folder, but nothing is ever created in the new location. It's as if FCPX no longer knows how to backup libraries.
    Some background...
    We are working with Libraries and Media files on our XSAN Volume.
    OSX 10.9.3
    FCPX 10.1.2
    We did not notice the Backups were not being performed until one of our Libraries had an issue and we could not find a single Backup of the library.
    What I have tried...
    Move Libraries to Local System Volume - Still No Backups.
    Change Library Backup Location - Still No Backups.
    Toggle Library Backup Location to No Backups and then Back to Backups - Still No Backups.
    Ensure Proper Permissions on Library Backup Folder - Still No Backups.
    Trash FCPX Preferences - Still No Backups.
    ReInstall FCPX - Still No Backups.
    I am at a loss at what to do next. I can't even see the backup process happening in console, or any errors that might give me a clue as to why it's not working. Short of trying to reinstall Mac OS on one of my production macs, I see no other alternative. Considering I'm having this issue across our entire production system, I'm wondering if this is a very serious FCPX 10.1.2 bug.
    Is anyone else having these issues????

    Tom Wolsky wrote:
    Definitely not working as advertised. I made a new library. Imported some stuff. Futzed around. No backup. Waited more than an hour. Made a new project and always immediately a backup appeared.
    I've had pretty much the same results trying to sort out what is going on since the 10.1.2 update regards Library Backups.
    I'm getting no backups with newly created Libraries like others, tried all sorts of juggling acts in the new settings arrangement trying to find a way in.
    What I have so far discovered is that Libraries are not created until a Duplicate Project is created of the original Project for the Library, then it appears to do as expected.
    Seems like a bug.
    Hope other users can confirm this.
    Al

  • Create inquiry without material being created

    Dear All,
    Issue is regarding creation of inquiry, when material not being created.
    Requirement is like at inquiry level customer may / may not know the material available, initially customer may not be aware of the products available but they want to buy that material.
    Whereas in SAP, material has to be entered which is created in material master.
    Is there any soln for the creation of inquiry / quotation (same case with Quotation too) with out material being created.
    Regards,
    Vijayasharee

    Thank you one-and-all for the quick response.
    Further i/p's for my query.
    Suppose the customer send the RFQ (request for quotation) with their part no. where in that particular material is not produced.
    However, once the RFQ is received company is confident enough to start produce that particular material for the first time.
    So how to map this ie., customer part no. is known, where as company doesn't have the material as of now, once the material is produced it will have its own part no.
    How to send a quotation with out company's part no. is the issue.
    I/p's will be rewarded.
    Regrds,
    Vijayashree

  • Item Texts Is Not Being Created in BAPI_BILLINGDOC_CREATEMULTIPLE

    Hi.
    I am Using Bapi TO Create Invoice, Every thing is created successfully , but item text is not being created. Code is as below.
    DATA: s_vbap TYPE vbap,
                t_billing TYPE STANDARD TABLE OF bapivbrk WITH HEADER LINE,
                t_datain TYPE STANDARD TABLE OF bapikomfktx WITH HEADER LINE,
                t_return TYPE STANDARD TABLE OF bapireturn1 WITH HEADER LINE,
                t_success TYPE STANDARD TABLE OF bapivbrksuccess WITH HEADER LINE.
          SELECT SINGLE * FROM likp
          WHERE vbeln = v_del_doc_no.
          SELECT SINGLE * FROM lips WHERE
          vbeln = v_del_doc_no.
          t_billing-salesorg = likp-vkorg.
          t_billing-ref_doc = likp-vbeln.
          t_billing-ref_item = lips-posnr.
          t_billing-doc_number = v_del_doc_no.
          t_billing-itm_number = lips-posnr.
    *      SELECT SINGLE fkarv FROM tvak
    *            INTO  t_billing-ordbilltyp
    *            WHERE auart EQ zsoa_so_header-auart.
          SELECT SINGLE auart FROM vbak
                      INTO  t_billing-ordbilltyp
                      WHERE vbeln EQ order_num.
          t_billing-price_date = sy-datum.
          t_billing-ref_doc_ca = likp-vbtyp.
          t_billing-material = lips-matnr.
          t_billing-plant = lips-werks.
          APPEND t_billing.
          BREAK-POINT.
          CLEAR: t_datain.
         t_datain-ref_doc = v_del_doc_no.
          t_datain-ref_item = '000010'.
          t_datain-applobject = 'VBBP'.
          t_datain-text_id    = '0001'.
          t_datain-langu      = sy-langu.
          t_datain-format_col = '*'.
          t_datain-text_line  = 'FSG 2829'.
          APPEND t_datain.
          CALL FUNCTION 'BAPI_BILLINGDOC_CREATEMULTIPLE'
            TABLES
              billingdatain = t_billing
              textdatain    = t_datain
              return        = t_return
              success       = t_success.
          CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
            EXPORTING
              wait = 'X'.
          LOOP AT t_return.
            itab_msg-type = t_return-type.
            itab_msg-msg =  t_return-message.
            APPEND itab_msg.
            CLEAR  itab_msg.
          ENDLOOP.
          READ TABLE t_success INDEX 1.
          p_i_bill_doc = t_success-bill_doc.
        ENDIF.
      ENDIF.
      CLEAR: itab_so_items, itab_so_items[] , delivery_no , itab_return[].
    So Text FSG 2829 is not being created in Item Text.....

    Hi Tahir,
    You can check with the below thread
    A question of BAPI_BILLINGDOC_CREATEMULTIPLE
    Regards,
    Pawan

  • Stop Inbound IDOC's from being created

    I want to stop inbound IDOC's for a particular partner (type LS) from being created in our R/3 system. Is there a way to do this? I am aware these can be stopped in the middleware, but this is not possible in our case.  I am also aware that I can stop these IDOC's from being processed via the partner profile, however, there will be a huge number of useless IDOC's that will be created in our system and I want to avoid that.
    Hence, I do not want the inbound IDOC's to be created in the first place even though they are transmitted to SAP. Is this possible?
    Any inputs will be highly appreciated.
    Thanks,
    Raghu.

    Hi Satwik,
    Choose Idoc in WE02.
    Get port name, Then in WE21 get RFC name.
    Go to transaction SMQS - Here we can block this RFC instead of blocking the queue.
    Thanks,
    Anil

  • Exchange Office Web Apps Preview Does not work in OWA. An error occurred while the document preview was being created

    Hi,
    I have managed to configure intergration between Office Web App server 2013 and Exchange 2013 OWA.
    I have created a test users Test1 and Test 2. I have given full access on Test2 mailbox to user test 1.
    When I login to owa for user test1 and preview the attachment it works fine.
    However when I use "Open another mailbox" in OWA and open test2 mailbox and try to preview the attachments in test2 inbox it errors as
    " An error occurred while the document preview was being created. Please try again later " as follows
    I am new to office web apps server 2013 and implemented it first time. Can anyone suggest resolutions or troubleshooting ?

    Hi,
    To narrow down the cause, I’d like to recommend the following troubleshooting:
    1. Does the error appear when you directly access test 2 mailbox through OWA?
    2. Check if there is 141 error in your event log.
    3. Check whether Office web app server connects with Exchange server when the issue happens.
    Access the URL: https://hostname/hosting/discovery
    4. Grant full access permission again and check the result.
    For more information about Office web app integration with Exchange, please refer to the following article:
    http://www.msexchange.org/articles-tutorials/exchange-server-2013/management-administration/exchange-2013-office-web-apps-server-integration.html
    If you have any question, please feel free to let me know.
    Thanks,
    Angela Shi
    TechNet Community Support

  • .DS_Store files on USB thumbdrives - a way to stop them from being created?

    Hello!
    Forgive me if this has been asked to death, but at school I need to copy homework files back and forth to the school's XP-based computers constantly. Because in any given day I usually update half a dozen files across the "homework" folder on my Powerbook, it's easier just to copy the entire folder (and its subfolders) to my 2-GB, FAT-32 formatted flash drive each night - all 500 files (and 150 MB). Of course, this also leaves hundreds of .DS_Store and ._filename files to clutter "Windows explorer" windows.
    My question is how do I remove (and prevent creation of) these files selectively? I know that they are used by the finder to store thumbnails, spotlight comments, and labels. The big problem is that while I want to remove these files from the homework folder (and some other folders), I DO NOT want to remove them from a few other folders on the flash drive - which I use to make quick backups of files from my Mac.
    I know that I can prevent OS X from creating them altogether with certain utilities, and I know that I can get third-party utilities that allow me to remove these files from flash drive and/or prevent the creation of the files for entire volumes, but is there something I can do to remove them from only certain folders?
    Also, since I do not always know beforehand what directories I might make, I'd like to be able to create a "white list" of only certain directories (and their sub-directories)that won't be touched, while all others will have their ".DS_Store" and "._filename" files removed.
    Finally, because I'm often a hurry when I go to copy files, I'd rather not sit there and run terminal commands or a program every time I copy a folder over to the flash drive. Is there some way to prevent them from being created in these certain folders altogether, automatically? An applescript or terminal command that I can program to run from the script menu perhaps? I don't mind opening a program or script, I just don't want to have to sit there manually removing the files.
    Thanks,
    -Dan

    I had a similar problem awhile back and asked for help in the Applescript forum:
    http://discussions.apple.com/thread.jspa?threadID=954738&tstart=0
    Unfortunately the revised jive software formatting function here in the forums has totally messed up things like posted scripts. What you'll see in the scripts discussed is no longer what was there originally. I just now put a copy of the script I'm using up in zip format here:
    http://homepage.mac.com/francines/.Public/CopyStrip2Fat.zip
    Unzip and open in Script Editor to get some idea of what it is really supposed to be. The idiot formatting of the revised jive software has replaced some things with a carriage return, a semi-colon, and close quote, thus rendering some lines meaningless.
    To see the source of the script I quoted, see this MacOSXHints thread:
    http://www.macosxhints.com/article.php?story=20040726164957299
    The script is in the comment by cougar718. You might take a look at other comments as well.
    Francine
    Francine
    Schwieder

Maybe you are looking for