Web orders do not trigger FMS via the DiAPI

Hi,
We rely upon a number of formatted searches at the sales order level to capture current stock and sales order totals into UDF's to provide analysis for stock outs etc. However, when an order enters the system via the DiAPI (via webtools) the formatted searches are not triggered. I presume that this is a limitation of using the DiAPI?, if so I would appreciate any ideas that anyone might have concerning a workaround.
Thanks.
Martin.

Presumably this would be on the SAP server?.
When does this stored procedure fire?, is it at the end of the synch process?.
The current code within it is:
set ANSI_NULLS ON
set QUOTED_IDENTIFIER ON
go
ALTER proc [dbo].[SBO_SP_TransactionNotification]
     @object_type nvarchar(20),                -- SBO Object Type
     @transaction_type nchar(1),               -- [A]dd, <u>pdate, [D]elete, [C]ancel, C[L]ose
     @num_of_cols_in_key int,
     @list_of_key_cols_tab_del nvarchar(255),
     @list_of_cols_val_tab_del nvarchar(255)
     AS
     begin
          -- Return values
          declare @error  int                    -- Result (0 for no error)
          declare @error_message nvarchar (200)           -- Error string to be displayed
          select @error = 0
          select @error_message = N'Ok'
          IF (ISNUMERIC(@object_type) = 1)
          BEGIN
               INSERT INTO PRX_Transaction_Queue (
                    object_type,
                     transaction_type,
                    num_of_cols_in_key,
                    list_of_key_cols_tab_del,
                    list_of_cols_val_tab_del
               ) VALUES(
                    @object_type,
                    @transaction_type,
                    @num_of_cols_in_key,
                    @list_of_key_cols_tab_del,
                    @list_of_cols_val_tab_del
          END
          select @error, @error_message
     END
How would I add my own update query to this (safely!).
Thanks.
Martin.

Similar Messages

  • Sales Order does not show up at the resource level.

    Hi guys,
    I have a flour mill of having 4 processs (resources)
    1). Tempering (cleaning).
    2). Milling.
    3). Blending.
    4). Packing.
    I have two identical sales order. One has been through all the process (resources) and showed in the DS Planning board but, other one has not shown up there. It happens to me couple of times that such sales order do not show up at the resource level. Where should I check and correct? Aslo which way can I follow up these missing sales order? and What shoud I do if this situation happens?
    Thanks
    Shaan.
    Edited by: Shaan313 on Sep 27, 2011 8:22 PM

    313,
    https://service.sap.com/sap/support/notes/1406120
    Since you asked the question, I can assume that you don't have an "S" number.  speak to the person in your company who administers your SAP Service Marketplace account (this is usually someone on your Basis team), who can obtain one for you.
    Or, you can try on your own.  A few stars have to be in alignment for the second method to work.
    https://service.sap.com/request-user
    Best Regards,
    DB49

  • Required delivery date in sales order shoud not be less than the inhouse pd

    Customer Requested Dates (CRD) entered in orders are often shorter than Product form wise lead time. 
    Logic to be configured in SAP : SAP should capture the CRD as per the lead time of Products or Date entered by sales persons (whichever is later).
    Required delivery date in sales order shoud not be less than the inhouse production lead time.
    Please help.
    Regards

    IMG - Sales and Distribution - Basic Functions - Availability Check and Transfer of Requirements - Availability Check - Availability Check with ATP Logic or Against Planning - Carry Out Control For Availability Check
    Here select the combination of your Availability Check & Checking Rule.
    Under Replenishment Lead TIme, you need to put a Tick Mark in the Check Box of "Check without RLT"
    This will make sure that system considers either the Requested Delivery Date or actual Material Availability Date, which ever is earlier.
    Hope this helps.
    Thanks,
    Jignesh Mehta
    Edited by: Jignesh Mehta on Nov 9, 2011 12:18 PM
    Edited by: Jignesh Mehta on Nov 9, 2011 12:23 PM

  • Content query web part is not working after chaning the DNS entry

    Hi all,
    We have a content query web part in the sharepoint site but it is not working after changing the DNS Entry for the web site ipaddress from one server to other . But it is working fine on the server, if we try to access the site from other system content
    quey server its not working fine and its giving error message as bellow.
    Unable to display this Web Part. To troubleshoot the problem, open this Web page in a Microsoft SharePoint Foundation-compatible HTML editor such as Microsoft SharePoint Designer. If the problem persists, contact your Web server administrator.
    Can anyone help me to fix this issue please.

    I have custom XSLT . But it is working fine before changing the dns entry as soon as we change the DNS entry the content quey web part is not working. I tried to delete the content query web part and add it once again to the page, As soon as content query
    web part is added to the page the fallowing error message is displayed.
    Unable to display this Web Part. To troubleshoot the problem, open this Web page in a Microsoft SharePoint Foundation-compatible HTML editor such as Microsoft SharePoint Designer. If the problem persists, contact your Web server administrator.
    Can anyone help me to fix this issue please.

  • Terms  of payment  in  CRM  order is not  getting   copied  to  the  Accout

    Hi Experts
    The terms  of  payment  which has been  selected inthe CRM order  under  the billing  tab is  appearing  up  to  the  invoice created  in CRM . But the same  terms of payment  is not  appearing  inthe  accounting  documents  generated in  ECC.
    Can  any one  suggest how  the   configuration done  or  how  to  do the setting  for  the same in  ECC or  at  CRM
    Regards
    Rajesh
    Edited by: Rajesh s on Feb 10, 2009 12:55 AM

    Hi,
    You need to check in ECC if the customer master has the payment terms maitained or not. This could be the reason for the payment terms not being populated into the ECC billing documents.
    hope this helps
    Shiloo

  • Info path 2010 web service(getuserprofilebyname) not able connect in the browser mode

    Hi all,
    I have published the info path which will reterieve the current user using the getuserprofilebyname service. The service gets the current user when the form is opened in the info path filler after publishing. It shows the below error when I try to open the
    form in browser mode(I have changed the settings in the form -> AdvancedSettigns -> Open in browser). My form is browser enabled form.
    There has been an error while processing the form.
    Click OK to resume filling out the form. You may want to check your form data for errors.
    An error occurred while trying to connect to a Web service.
    Correlation id:........
    Timestamp               Process                                 
    TID    Area                           Category                      
    EventID Level      Message  Correlation
    03/10/2014 10:13:46.60  w3wp.exe (*:0x16C4)            0x0B90 InfoPath Forms Services        Runtime - Data Connections     eq8l Warning The following
    query failed: GetUserProfileByName (User: domain\user, Form Name: Final, IP: , Connection Target: , Request:
    http://servername/_layouts/FormServer.aspx?XsnLocation=http://ts/001/ODCProcure/Final/Forms/template.xsn&SaveLocation=http://servername/001/ODCProcure/Final&ClientInstalled=false&Source=http://ts/001/ODCProcure/Final/Forms/AllItems.aspx&DefaultItemOpen=1,
    Form ID: urn:schemas-microsoft-com:office:infopath:Final:-myXSD-2014-02-06T09-06-05 Type: DataAdapterException, Exception Message: The remote server returned an error: (401) Unauthorized. The remote server returned an error: (401) Unauthorized.) dabf35bf-ce6b-4c95-8694-b2e991b42fb3
    Weird thing is that I did not get this error on day1. On day 1 it was working fine. I am able to connect to the web service and get data. On day 2 when i tried open the form I got this error.
    We have 4 WFE , So I hope it is not due to loopbackcheck security feature.
    I checked in the central admin whether it is claim based web app or not. Its is not claim based web app.
    So any one guide me to get ride of this error.
    Thanks,
    Vaishali.
    Vaishali Sankar

    Hi Vaishali,
    Please ensure the user encountered this issue has enough permission to access (or update) the data source you added to the InfoPath form.
    If you suspect the issue is caused by loopbackcheck security feature, then you could try to disable the
    DisableLoopbackCheck follow this KB on all SharePoint servers. And check if problem persists after reboot servers:
    http://support.microsoft.com/kb/896861 .
    In addition, is there load balancer deployed in your environment which might bring double-hop authentication? This might cause the issue happens intermittently. If so, you could manually add entries in host files. For your reference:
    http://sharepointconnoisseur.blogspot.in/2011/04/how-to-resolve-401-unauthorized-error.html
    Here are the thread with similar issue:
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/b55f0e48-971e-4782-a4b8-94cf83f9d9e0/infopath-calls-webservice-unauthorized-udcx-file-with-explicit-credentialssso?forum=sharepointcustomizationprevious
    http://social.msdn.microsoft.com/Forums/en-US/81e669c0-60b9-4035-8ac7-67d29633fd2d/unauthorized-401-error-using-form-services?forum=sharepointcustomizationlegacy
    Regards,
    Rebecca Tu
    TechNet Community Support

  • Planned orders are not taking into account the processing time

    Hi,
    Could you please tell me why planned orders quantities are not based on processing time from the material master.
    Materials was set before with 1 day in house production , no matter of lot size.
    Based on routings I updated material master with processing time depending on lot size.
    What is bottering me now is that planned orders are not taking into account processing time. (e.g.  based on my processing time 1000 pce are produced  in 3 days, but planned orders show me that 1000 pce are still need  in 1 day , but it  can not be produced in 1 day   ).
    what did I miss?
    Thanks a lot for any information!

    Hello Simona
    The in house production time from tab MRP 2 is lot size independent.
    However, on tab work scheduling you can define a lot size dependent times.
    Please observe that, if you have entered an in house production time, the processing time will not be considered. The F1 help of the field provides the following explanation:
    You can define work scheduling times in the material master record in one of two ways:
    Either you enter the in-house production time. If required, you can get the system to update this value from the routing.
    Or you enter the setup, teardown, processing, and interoperation times. If you maintain these values, the system determines the in-house production time on the basis of lot size.
    Therefore, if you want to consider the processing time, you should remove the in house processing time.
    BR
    Caetano

  • Captivate 8 does not detect Character files in eLearning Assets and will not insert them via the Media Image route.

    The eLearning Assets directory was installed in C:\Users\Public\Documents\Adobe\eLearning Assets\Characters_8_0.
    When I attempt to insert a Character, Captivate 8 (on Windows 7) loads the gallery where they would normally be displayed but this is empty of thumbnails. It does however recognise that their are categories of Business, Casual etc.
    Additionally, if I attempt to add any of the Character image files via Media>Image on the toolbar, Captivate 8 reports that the image is either corrupt or not of a supported format. Nevertheless, those very same image files will open in other applications without any problem.
    I have tried a reinstall of the Adobe eLearning Assets but this has made no difference.
    Any ideas appreciated.
    Malcolm

    Hi,
    I've since discovered that batch processing the images with IrfanView (which is unusual in being able to actually open them) and resizing them (though I dont think this aspect id actually necessary) the images can be worked with in other Windows programs, can be added to a Captivate progect via the Media>Image route but still do not show up in the Gallery of Characters via Media>Characters.
    This at least allows us to make use of the Character assets but is extremely time consuming as we need to resort to Windows' own thumbnail capabilities (Large Icons in Windows Explorer) to help make a 'quick' selection
    My researches have uncovered a multitude of Adobe/png issues - with Photoshop etc. It would apperar that there are problems associated with both the quality (24 bit) and transparency (being lost or inaccurately interpreted.)
    I don't think the images are 'corrupt' as such (they appear to be just 'Adobe'd') as I have installed and reinstalled the eLearning Assets package - both one that was downloaded several weeks ago and one that was downloaded just days ago.
    If I encounter (or am provided with a complete solution I will post it here.
    Good luck in the meantime.
    Malcolm

  • Ecr e since installing windows 10 my Aspire R7-571-6858 will not power down via the screen,

    Since installing Windows 10 my Aspire R7-571-6858 will not shut down properly when using the screen prompt.  The monitor will power down but the keyboard remains backlit and the power light remains on.  I have to force a shut down manually via the power button.

    fdrrdl,
    Shutting a system down is a basic operating system function. You can attempt to perform a refresh of the unit to see if there might be some corrupt drivers or files installed.
    the other alternative is to go back to Windows 8, then upgrade again.

  • Critical parts goes below Re-order pt - to trigger email via Workflow

    Hi Experts,
    I am new to workflow and here is my requirement.
    When Material goes below Re-order pt in MM , MRP runs and creates PR/Sch Line. I want to trigger email to some Group when few Critical parts goes below Re-order point via Workflow
    A workflow should trigger and get email to Group I saw one standard workflow (WS03100020) but I dont know how to active and how it will work.
    I can copy this to custom workflow using PFTC and do, but when the material document creates - Means Critical parts are consumed and Stock level goes below re-order point. how my copied custom workflow triggers?
    Critical Parts A , C , F, X  and Z
    If Material  A ,C and F goes below re-order pt then email to trigger to GROUP1.
    If Material X and Z goes below re-order pt then email to trigger to GROUP2.
    Need to know :
    1) steps to copy and modify
    2) How to Execute manually
    3) How to execute automatically when Material stock falls below re-order point. ( Lets say in MM03 Re-order pt is 5 ) and IN MMBE current stock is 20, when there is consumption ( Material DOcument to Cost center - Mvtype 201 ) for 16 QTY.. then my Custom or Standard Workflow should Trigger and should get a email to Group.
    How to achieve this. Please explain me with Step. Highly apprieciate your help and will reward points
    Thanks in advance.
    Bala M

    o.k. lets first handle the check function module
    you need to start from the key and run the check is it higher or lower then the reorder point,
    if it's higher, raise an exception (use message... raising), else do noting.
    test the function module directly and see if it works, then look at the event trace(SWEL) and see what happens when your event is raised, if it's higher then the reorder point you should see an error (specific linkage is red and the message you entered in the function module in the details) else the event linkage should be o.k (green).
    now for the function itself: if you use the cl_bcs to send the mail, you do not need to link SWW_WI_CREATE_VIA_EVENT_IBF as the receiver function module, but the function module you create to send the mail. again test the function module directly first and only then link it to the event.
    if you want to send the mail by workflow see the link in my earlier reply.

  • Web Services do not show up in the console

    I am using WebLogic 10.3 on Ubuntu. I have an application that has some web services using JAX-WS. I can deploy these on weblogic and they work fine (I can create a client app to call them). However, I do not see these services from the WebLogic console when I click on the deployments link.
    I can create a new web application using IntelliJ that has JAX-WS web services. This app has one class, web.xml and sun-jaxws.xml. When this is deployed, the web service shows up in the Weblogic console under "Modules and Components". I have looked at the differences between the two applications and I do not see any.
    Is there any trick to get the Web Services to display in the Weblogic console?
    Thanks

    You're welcome

  • Material once issued thru' PM order,Should not be Deleted From The PM Order

    Dear all,
    IN PM ORDER, ONCE MATERIAL IS ISSUED THROUGH IT, SYSTEM ALLOWS TO DELETE MATERIAL. THIS SHOULD NOT
    HAPPEN AS IT WOULD LEAD TO WRONG COST CALCULATION.
    Order Status : gmps,cnf
    can anybody give me solution to restrict the deletion of component in PM Order.
    From
    Vishal

    Hi,
    You cannot control this through Auth.
    You can prevent this by assigning the message type for message  number 750(cn) to "E= Error" through the config for message control.
    Regards
    Narasimhan

  • Possible to see at a glance who has/has not viewed pdf via the 'Tracker'?

    We are working on setting up procedures for Browser-based reviews. We were hoping we'd be able to see at-a-glance who had/had not viewed or sent back comments, and the date they sent them in the Tracker, but it seems to be just a list of who it was sent to originally. How do you know who has sent comments, other than manually scrolling through all the comments to see people's names?

    Hi;
    No, there isn't a way for you to see anything about who has saved progress.
    Thanks,
    Josh

  • The opened web pages are not correct even though the address in the link roperty is correct. The web page opens a blank page and says "Done"

    When I search for a web sites, it gives a list of connected web site.
    If I click a particular web site, it immediately opens a blank page and says"done" at the bottom of the page. The opened web address is wrong even though the link property shows the correct address.
    What is wrong?
    Chandra Dhas

    Publish your site to a local folder and launch it in your browser by double clicking the index.html file to see if the problem exists there.

  • I just downloaded (updated) Firefox to V 20.0.1 now the "search" does not work, either via the mouse click or the enter key. Windows XP.

    Updated to latest version, V 20.0.1 Now when on the home page the "search" does not function with mouse click or the enter key. Currently running XP Service pack 3. I also have the same problem (after same firefox update at home with my HP laptop running Windows 7.

    You can check if you still have the XML files of the default search engines including Google in the searchplugins folder in Firefox program folder.<br />
    If not then you need to reinstall Firefox.
    Try to use the SearchReset extension to reset some preferences to the default values.
    *https://addons.mozilla.org/firefox/addon/searchreset/
    Note that the SearchReset extension only runs once and then uninstalls automatically, so it won't show on the "Firefox > Add-ons" page (about:addons).
    Try to delete the search.json file and a possible search.sqlite file in the Firefox profile folder.
    *http://kb.mozillazine.org/Profile_folder_-_Firefox
    Firefox will rebuild the search.json file from the default search engines in the searchplugins folder in the Firefox program folder and the searchplugins folder in the Firefox profile folder.
    Do a clean reinstall and delete the Firefox program folder before reinstalling a fresh copy of Firefox.
    Download a fresh Firefox copy and save the file to the desktop.
    *Firefox 20.0.x: http://www.mozilla.org/en-US/firefox/all.html
    Uninstall your current Firefox version, if possible, to cleanup the Windows registry and settings in security software.
    *Do NOT remove personal data when you uninstall your current Firefox version, because all profile folders will be removed and you will also lose your personal data like bookmarks and passwords from profiles of other Firefox versions.
    Remove the Firefox program folder before installing that newly downloaded copy of the Firefox installer.
    *It is important to delete the Firefox program folder to remove all the files and make sure that there are no problems with files that were leftover after uninstalling.
    *http://kb.mozillazine.org/Uninstalling_Firefox
    Your bookmarks and other profile data are stored in the Firefox profile folder and won't be affected by an uninstall and (re)install, but make sure that "remove personal data" is NOT selected when you uninstall Firefox.
    If you keep having problems then also create a new profile.
    *http://kb.mozillazine.org/Profile_folder_-_Firefox
    *http://kb.mozillazine.org/Profile_backup
    *http://kb.mozillazine.org/Standard_diagnostic_-_Firefox#Clean_reinstall

Maybe you are looking for

  • My macbook pro retina doesn't connect to my office's wifi

    I have my mac for a month now. It used to work a little bit but when I lost it I just restart my mac, but now it's not working at all. I don't have any problem getting access to any other network beside the one at my office. I can see the network but

  • Manually turning off iMac G5 Display

    Hi, I've been searching around and haven't been able to find an answer to this. I have my computer set to turn on the screen saver after 5 minutes of inactivity and turn off the display after 15 minutes of inactivity, and I like it that way. My compu

  • Misc questions about DFS

    Hi, I'm a newbie in DFS and I have several questions about DFS that I hope somebody could answer me: 1. Introduction/theory/basic stuff:     I've found this webpage "How DFS Works" at https://technet.microsoft.com/en-us/library/cc782417%28v=ws.10%29.

  • Applications not quitting

    Hi Folks, I recently upgraded my venerable iMac 2.16GHz, 1GB RAM from Tiger to Snow Leopard (10.6.4). Since then I have found that almost any application I run will respond normally until I try to quit it. At that point it seems to quit but the littl

  • I can't update my software.

    Hey! I can't update my software. Whenever i try, it says something about not being able to unpack/unwrap the software (it's programmed to another language, so i'm not sure about the "unpacked"/"unwrapped") Anyone out there who can help me? Thanks