At new Functionality

At new is not functionig.
where i was wrong in this code.
LOOP AT itab WHERE zuonr+0(1) EQ 'S'.
    AT NEW zuonr.
        READ TABLE it_prin WITH KEY bukrs = itab-bukrs
                                    gsber = itab-gsber
                                    xref2 = itab-zuonr.
        IF sy-subrc EQ 0.
          itab-prdeb = it_prin-dmbtr.
          MODIFY itab TRANSPORTING prdeb.
          clear:itab,it_prin.
        ENDIF.
    ENDAT.
  ENDLOOP.
Suggest me.

Hi Jitendra,
When you use AT NEW, then if anything change on left side of ZUONR, it will trigger. So my suggestion will be make ZUONR field as first fireld if possible.
Declare accordingly. If ZUONR has to be first field, then give complete structure instead of like ITAB.
data: itab1 like itab occurs 0 with header line,
        wa_data like itab .
itab1[] = itab[].
delete itab1 where zuonr+0(1) ne 'S'.
sort itab1 by zuonr.
sort it_prin by bukrs gsber xref2.
LOOP AT itab1 .
move itab1 to wa_data.
AT NEW zuonr.
READ TABLE it_prin WITH KEY bukrs = wa_data-bukrs
gsber = wa_data-gsber
xref2 = wa_data-zuonr binary search.
IF sy-subrc EQ 0.
    wa_data-prdeb = it_prin-dmbtr.
   MODIFY itab1 from wa_data TRANSPORTING prdeb.
   clear:itab1,
           wa_data
           it_prin.
ENDIF.
ENDAT.
ENDLOOP.
Regards,
Anil

Similar Messages

  • How to create a new function module?

    I was doing the tutorial to create a SAP data widget and the tutorial was using BAPI_FLIGHT_GETLIST to display the data. However, in my system, theres no data in the table SFLIGHT2 and i couldnt populate any data in it.
    So i am trying to create my own function module. Can anyone tell me how should i go about doing it?

    Hi Low Soon ,
    please check the below links for creating a new function module.
    SAP Help :
    http://help.sap.com/saphelp_nw04/helpdata/en/9f/db98fc35c111d1829f0000e829fbfe/frameset.htm
    Step by Sterp approach to create a Functional Module:
    http://www.****************/Tutorials/ABAP/FunctionModule/page1.htm
    Thanks
    Jaideep Srinivasan

  • How to do ALV Popup in a new Function module

    Hi experts,
    This is the Client Requirement.
    " Flow Diagram/Pseudo Code:
    Attach a data flow diagram. Write brief pseudo code in plain English.  Be sure to include all access data plans.
    -     FM interface:
    -     Import: company code/ vendor#.
    -     Export: default_line,  type y4ap_t11
    -     Exception: NO_DATA or CANCELED
    In the FM code, past current z_venddefault code, except for write statements. After internal table is generated, show it in ALV popup. On ALV, add a OK/Cancel button. On OK, ensure that one line is selected (otherwise throw warning), and then fill export structure with that line’s G/L account, cost Center, and internal order# fields. Then close the ALV and end FM. For Cancel, just close the ALV end the FM.
    For an example of how to build such popup ALVs, take a look at FM Y4AP_SELECT_APPROVER.
    Unit Test Plan:
    Just use co.code 3000/vend# 1000 to test this FM."
    here i need to do is there is a simple report program by displaying in list.
    But now i need to do is , i have to put that code in a new function module and there i need to display it in alv grid.
    How to do this can anybody help me.
    It's a urgent i need to submit today to client.
    Thank you
    Basu

    Hi,
    Check this.
    select several rows in alv
    It will be helpful.
    Regards,
    J.Jayanthi

  • Ok, so I transferred my 3S info to my 4S by restoring from an old phone backup.  But SIRI is gone and god knows what else??  Can I get my old stuff into the new phone and keep the 4S new functionality?

    ok, so I transferred my 3S info to my 4S by restoring from an old phone backup.  But SIRI is gone and god knows what else??  Can I get my old stuff into the new phone and keep the 4S new functionality?

    I suspect unless he had some items in iCloud backup then they are gone.  Connecting an iPhone to a different library from that to which it was previously connected will result in the device asking if you want to erase it.

  • New functionality in ECC 6.0 with Enhancement Package 3

    Hi Experts,
    Can any one tell me what new functionality is added in Enhancement package 3 (ECC 6.0)?
    Thanks & Regards,
    Simar

    Hi,
    There no new functionality in ECC 6.0 for auto clearing of bank clearing account. Still you need to depend on Manual / Electronic bank statement to clear them.
    Thanks
    Prasada

  • New functionality in ECC 6.0 and problems during sap implementation

    Dear Gurus,
    may i know the details of the New functionality in ECC 6.0 on (MM,SD,PP,QM,PS,HR,PM,FI/CO,BI,XI,DMS ) or what is the problems coming at the time of implementation of ECC 6.0.
    THANKS AND REGARDS
    RS

    Ritesh,
    Question is bit confusing
    may i know the details of the New functionality in ECC 6.0 on (MM,SD,PP,QM,PS,HR,PM,FI/CO,BI,XI,DMS )
    That means you are going to upgarde from some earlier version .what is that version ?
    Then you might find some specific information at
    https://websmp102.sap-ag.de/uda -
    >Upgrade Dependency Analyzer
    what is the problems coming at the time of *implementation* of ECC 6.0.
    If its a new implemenation you will  not face problem , but you need to configure everything accordingly.
    Problem depends upon what all you are using from standard and customizing.
    Above provided link will help you.
    Just add up
    http://wiki.sdn.sap.com/wiki/display/ERPLO/NewfunctionalityinECC6.0%28+MM%29
    Regards,

  • How can i add a new function to the Basic IVI class vi's?

    I need to use the IVI vi's to control some instruments, let's say a DC Power Supply.
    Since there's a DC Power supplyclass, i can used those VI's but waht if one of the VI's does not contains all the functions that i need?. How can i add more functions to the IVI classes?. What do i need to do to add a new function to the iviFGen class?

    If you would like to try developing your own instrument driver (or modify the existing one), we have documentation, model instrument drivers, and driver templates to help at :
    http://www.ni.com/devzone/idnet/development.htm
    We also have a syndicate of third party vendors that specialize in National Instruments' products and services. Some of the vendors specialize in driver development. I would suggest contacting one of the Alliance members at:
    http://www.ni.com/alliance

  • Cannot see any actions while creating a new function in CC5.2

    Hi All,
    We recently installed  GRC Access Control 5.2.At the backend we are using SAP R/3 4.7.The system has been installed and I am currently trying to configure it.I am trying to create a new function.After chosing a function ID and description when I try to insert an action,it comes up blank for my production server and even if I choose the option "All".
    Any assistance in the matter would be greatly appreciated.

    Helo Neo,
    For making the functions, risks etc, you need to have some standard procedures being followed and up in place. Uploading transactions,, authorization objects and text are one of these.
    Thus before you start actually using/implementing the GRC the system, I would like to advice you to go through the documentation for the same, which suggests the step by step procedure for accomplishing the same.
    The problem that you have encountered is a bit easy to track as it suggests the Auth objects and texts might not probably be uploaded. But there might be something you have missed while going the procedural way, which may cause a lot of problems while troubleshooting.
    Kindly upload the files in the config tab, under "Upload Objects" and let us know if there is still an issue.
    Regards,
    Hersh.

  • Calling New Function Module from JAVA ISA b2b

    I need to call a new function module which accepts some parameters as input and
    returns some result parameters back as output.
    These returned value needs to be displayed on the JSP pages of ISA B2B applications.
    Can someone please guide me and provide code snippet on how to do this?
    Thanks in advance.
    Points will be awarded for all relevant and helpful answers.

    Stride,
    I did this on CRM ISA 4.0...  I used the dev and extension guide as a basis - I think the ISA 5.0 guide has the examples and tutorials in a separate document that can also be downloaded from service.sap.com.
    Here’s some info on how to do it although I can't guarantee this is the full solution or that it will work the same for ISA 5.0, and I will probably forget a lot of stuff as its been a few years since I did it!  I also can’t guarantee it is the correct way to do it – but it worked!  Basically, we built a link into the order overview page to display url’s to order tracking websites using an RFC on the backend CRM system.  Hope it helps anyway.
    1. Create RFC enabled function module in backend.
    2. Edit file backendobject-config.xml in folder project_root\b2b_z\WEB-INF\xcm\customer\modification:-
    [code] <backendobject
         xmlns:isa="com.sapmarkets.isa.core.config"
         xmlns:xi="http://www.w3.org/2001/XInclude"
         xmlns:xml="http://www.w3.org/XML/1998/namespace">
         <configs>
              <!-- customer changes in backendobject-config should be done here by extending/overwriting the base configuration-->
              <xi:include
                   href="$
    Template for backend object in customer projects
    Concrete implementation of a backend object
    This implemenation demonstrates how a backend object
    is used to communicate with the CRM system
    @see com.ao.isa.backend.boi.Z_AOFuncBackend#getOrderDeliveryTrackingData(java.lang.String)
    Interface used to communicate with a backend object
    The purpose of this interface is to hide backend implementation details
    from the business objects
    Returns a vector of Z_OrderDeliverTracking objects containing data to link
    to external delivery tracking websites
    @param orderNo The sales order document number
    @return A vector of order tracking objects
    @return
    @return
    @return
    @return
    @return
    @param string
    @param string
    @param string
    @param string
    @param string
    /modification/backendobject-config.xml#xpointer(backendobject/configs/*)"/>
              <!-- This is an example customer extension. A new Backend Object is registered in the framework using XCM extension mechanism. -->
              <!-- If you write customer extensions you should register your backend objects in the same way. -->
              <!-- Please make sure that you use the correct base configuration (e.g. crmdefault for CRM or r3default, r3pidefault for R/3) -->
              <config
                   isa:extends="../config[@id='crmdefault']">
                   <businessObject
                        type="Z_AO_Custom"
                        name="Z_AO_Custom"
                        className="com.ao.isa.backend.crm.Z_AOFuncCRM"
                        connectionFactoryName="JCO"
                        defaultConnectionName="ISAStateless"/>
              </config>
         </configs>
    </backendobject>
    [/code]
    File com.ao.isa.backend.crm.Z_AOFuncCRM.java looks like this :-
    [code] package com.ao.isa.backend.crm;
    //jco imports
    import java.util.Vector;
    import com.ao.isa.backend.boi.Z_AOFuncBackend;
    import com.ao.isa.businessobject.order.Z_OrderDeliveryTrackingItem;
    import com.sap.mw.jco.JCO;
    import com.sap.mw.jco.JCO.ParameterList;
    import com.sapmarkets.isa.core.eai.BackendException;
    import com.sapmarkets.isa.core.eai.sp.jco.BackendBusinessObjectBaseSAP;
    import com.sapmarkets.isa.core.logging.IsaLocation;
    public class Z_AOFuncCRM
         extends BackendBusinessObjectBaseSAP
         implements Z_AOFuncBackend
         // initialize logging
         private static IsaLocation log =
              IsaLocation.getInstance(Z_AOFuncCRM.class.getName());
         /* (non-Javadoc)
         public Vector getOrderDeliveryTrackingData(String orderNo)
              Vector urlData = new Vector();
              try
                   // get Java representation of function module
                   JCO.Function func =
                        getDefaultJCoConnection().getJCoFunction(
                             "Z_BAPI_CRM_ORDER_TRACKING_URLS");
                   // provide export parameters
                   ParameterList params = func.getImportParameterList();
                   params.setValue(orderNo, "ORDER_NO");
                   func.setExportParameterList(params);
                   // execute function
                   getDefaultJCoConnection().execute(func);
                   // get result table
                   JCO.Table table =
                        func.getTableParameterList().getTable("TRACKING_DATA");
                   int numRows = table.getNumRows();
                   for (int i = 0; i < numRows; i++)
                        // get row
                        table.setRow(i);
                        // create a new Z_orderdeliverytracking object
                        Z_OrderDeliveryTrackingItem trackItem =
                             new Z_OrderDeliveryTrackingItem(
                                  table.getString(0),
                                  table.getString(1),
                                  table.getString(2),
                                  table.getString(3),
                                  table.getString(4));
                        urlData.addElement(trackItem);
                        trackItem = new Z_OrderDeliveryTrackingItem();
                   return urlData;
              catch (BackendException bex)
                   // The following key has to be added to WEB-INF/classes/ISAResources.properties
                   // in order to see the exception correctly
                   log.config("ao.b2b.order.error.getOrderTrackingURLs", bex);
              return null;
    [/code]
    And file com.ao.isa.backend.boi.Z_AOFuncBackend.java looks like this:-
    [code] package com.ao.isa.backend.boi;
    //package java.ao.com.ao.isa.backend.boi;
    import java.util.Vector;
    import com.sapmarkets.isa.core.eai.sp.jco.JCoConnectionEventListener;
    public interface Z_AOFuncBackend
         public Vector getOrderDeliveryTrackingData(String orderNo);
    [/code]
    Whilst file com.ao.isa.businessobject.order.Z_OrderDeliveryTrackingItem.java looks like this:-
    [code]
    package com.ao.isa.businessobject.order;
    // Referenced classes of package com.sapmarkets.isa.businessobject.order:
    //            PaymentType
    public class Z_OrderDeliveryTrackingItem // extends SalesDocument implements OrderData
         private String deliveryDocNo;
         private String goodsIssuedDate;
         private String consignmentNo;
         private String status;
         private String url;
         public Z_OrderDeliveryTrackingItem()
         public Z_OrderDeliveryTrackingItem(
              String delDocNo,
              String GIDate,
              String consNo,
              String status,
              String url)
              this.setDeliveryDocNo(delDocNo);
              this.setGoodsIssuedDate(GIDate);
              this.setConsignmentNo(consNo);
              this.setStatus(status);
              this.setUrl(url);
         public String getConsignmentNo()
              return consignmentNo;
         public String getDeliveryDocNo()
              return deliveryDocNo;
         public String getGoodsIssuedDate()
              return goodsIssuedDate;
         public String getStatus()
              return status;
         public String getUrl()
              return url;
         public void setConsignmentNo(String string)
              consignmentNo = string;
         public void setDeliveryDocNo(String string)
              deliveryDocNo = string;
         public void setGoodsIssuedDate(String string)
              goodsIssuedDate = string;
         public void setStatus(String string)
              status = string;
         public void setUrl(String string)
              url = string;
    [/code]
    3. Edit file bom-config.xml in folder project_root\b2b_z\WEB-INF\xcm\customer\modification :-
    [code] <BusinessObjectManagers
         xmlns:isa="com.sapmarkets.isa.core.config"
         xmlns:xi="http://www.w3.org/2001/XInclude"
         xmlns:xml="http://www.w3.org/XML/1998/namespace">
         <!-- customer changes in bom-config should be done here by extending/overwriting the base configuration-->
         <xi:include
              href="$/modification/bom-config.xml#xpointer(BusinessObjectManagers/*)"/>
         <!-- This is an example Business Object Manager. It can act as template for customer written Business Object Managers -->
         <BusinessObjectManager
              name="Z_AO-BOM"
              className="com.ao.isa.businessobject.Z_AOBusinessObjectManager"
              />
    </BusinessObjectManagers>
    [/code]
    File com.ao.isa.businessobject.Z_AOBusinessObjectManager.java looks like this:-
    [code] package com.ao.isa.businessobject;
    // Internet Sales imports
    import com.sapmarkets.isa.core.businessobject.management.BOManager;
    import com.sapmarkets.isa.core.businessobject.management.DefaultBusinessObjectManager;
    import com.sapmarkets.isa.core.businessobject.BackendAware;
    Template for a custom BusinessObjectManager in customer projects
    public class Z_AOBusinessObjectManager
         extends DefaultBusinessObjectManager
         implements BOManager, BackendAware {
         // key used for the backend object in customer version of backendobject-config.xml
         public static final String CUSTOM_BOM = "Z_AO-BOM";
         // reference to backend object
         private Z_AOFunc mCustomBasket;
    constructor
         public Z_AOBusinessObjectManager() {
    Method is called by the framework before the session is invalidated.
    The implemenation of this method should free any allocated resources
         public void release() {
    Returns custom business object
         public Z_AOFunc getCustomBasket() {
              if (mCustomBasket == null) {
                   mCustomBasket = new Z_AOFunc();
                   assignBackendObjectManager(mCustomBasket);
              return mCustomBasket;
    [/code]
    And uses file com.ao.isa.businessobject.Z_AOFunc.java which looks like this:-
    [code]
    package com.ao.isa.businessobject;
    // Internet Sales imports
    import com.sapmarkets.isa.core.businessobject.BOBase;
    import com.sapmarkets.isa.core.businessobject.BackendAware;
    import com.sapmarkets.isa.core.eai.BackendObjectManager;
    import com.sapmarkets.isa.core.eai.BackendException;
    import com.sapmarkets.isa.core.logging.IsaLocation;
    // custom imports
    import com.ao.isa.backend.boi.Z_AOFuncBackend;
    import java.util.Vector;
    Template for business object in customer projects
    public class Z_AOFunc extends BOBase implements BackendAware
         // initialize logging
         private static IsaLocation log =
              IsaLocation.getInstance(Z_AOFunc.class.getName());
         private BackendObjectManager bem;
         private Z_AOFuncBackend backendAOBasket;
    Returns a reference to the backend object. The backend object
    is instantiated by the framework.
    @return a reference to the backend object
         private Z_AOFuncBackend getCustomBasketBackend()
              if (backendAOBasket == null)
                   //create new backend object
                   try
                        backendAOBasket =
                             (Z_AOFuncBackend) bem.createBackendBusinessObject(
                                  "Z_AO_Custom");
                        // the backend object is registered in customer version
                        // of backendobject-config.xml using the 'Z_AO_Custom' type
                   catch (BackendException bex)
                        // The following key has to be added to WEB-INF/classes/ISAResources.properties
                        // in order to see the exception correctly
                        log.config("ao.b2b.order.error.getOrderTrackingURLs", bex);
              return backendAOBasket;
    This method is needed when a business object has a corresponding
    backend object.
         public void setBackendObjectManager(BackendObjectManager bem)
              this.bem = bem;
    Returns a vector of url links for tracking
    @return vector of urls
         public Vector getOrderDeliveryTrackingData(String orderNo)
              // the call is delegated to the CRM aware backend object
              return getCustomBasketBackend().getOrderDeliveryTrackingData(orderNo);
    [/code]
    4. Edit file config.xml in folder project_root\b2b_z\WEB-INF to add custom actions (the section below is just the custom stuff added at the end of the file – the Z_orderTracking is the relevant one) :-
    [code] <!-- Begin of custom AO action definitions -->
         <action path="/b2b/Z_orderTracking" type="com.ao.isa.order.actions.Z_OrderTrackingAction">
              <forward name="success" path="/b2b/order/Z_orderTracking.jsp"/>
         </action>
         <action path="/catalog/Z_displaySVGPage" type="com.ao.isa.catalog.actions.Z_SVGPageAction">
              <forward name="success" path="/catalog/Z_SVG_fs.jsp"/>
         </action> [/code]
    Which points at Java file com.ao.isa.order.actions.Z_OrderTrackingAction.java which looks like this :-
    [code] package com.ao.isa.order.actions;
    // internet sales imports
    import com.sapmarkets.isa.core.BaseAction;
    import com.sapmarkets.isa.core.UserSessionData;
    // struts imports
    import org.apache.struts.action.ActionForward;
    import org.apache.struts.action.ActionMapping;
    import org.apache.struts.action.ActionForm;
    // servlet imports
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import javax.servlet.ServletException;
    // Internet Sales imports
    import com.ao.isa.businessobject.Z_AOBusinessObjectManager;
    import java.util.Vector;
    This action acts as a template for customer extensions
    public class Z_OrderTrackingAction extends BaseAction
    This method is called by the ISA Framework when the
    action is executed
         public ActionForward doPerform(
              ActionMapping mapping,
              ActionForm form,
              HttpServletRequest request,
              HttpServletResponse response)
              throws ServletException
              // get user session data object
              UserSessionData userSessionData =
                   UserSessionData.getUserSessionData(request.getSession());
              // gettting custom BOM
              Z_AOBusinessObjectManager myBOM =
                   (Z_AOBusinessObjectManager) userSessionData.getBOM(
                        Z_AOBusinessObjectManager.CUSTOM_BOM);
              // get the order number being processed
              String orderDocNumber = request.getParameter("orderNo");
              // pass the order number back to the page
              request.setAttribute("orderNo", orderDocNumber);
              if (orderDocNumber != null)
                   // Get a vector of delivery tracking objects from lower layers (Business Object layer =>
                   // Business Logic Service Layer)
                   Vector trackingTable =
                        myBOM.getCustomBasket().getOrderDeliveryTrackingData(
                             orderDocNumber);
                   String error = "";
                   if (trackingTable != null)
                        if (trackingTable.size() == 0)
                             error = "true";
                        else
                             error = "false";
                   else
                        error = "true";
                   request.setAttribute("errorMessage", error);
                   request.setAttribute("trackingTable", trackingTable);
              return mapping.findForward("success");
    [/code]
    5. I added the call to the function module for page orderstatusdetail.jsp in folder project_root\b2b_z\b2b\order to display a custom page Z_orderTracking.jsp in the same folder.  To do this I added a link into the HTML to call a JavaScript function that passed the current order number to the /b2b/Z_orderTracking.do actionhandler mapped in the config.xml file.
    So, in summary!  Create an RFC; define business managers for it in the XML files; create a new Strut action and supporting Java class; create all the Java class’ for the managers.
    I hope this makes some sense!
    Gareth.

  • Development of new functionality

    We have a requirement where we need to create a new functionality called 'Purchase Proposal' . This will be created with reference to either a shopping cart, a Bid or Live auction and will be referred while creating a PO in SRM.
    I am using the following approach for this.
    1) Create a transaction in GUI . This will involve creation of Z tables, writing an ABAP code for the logic, creating a number range object etc.
    2) After testing this transaction successfully in GUI, Create a web service & publish it on ITS by which this transaction can be accessed through webgui.
    3) Create a business object for workflow
    4) Create a workflow template for the business object.
    5) Modify the standard functionality of PO processing so that Purchase Proposal can be entered while creating a PO and the data from it will flow into the PO
    Is this approach correct or anything is missing?

    Hi,
    This approach is correct.
    Please pay attention on point 5 because you will be modify the standard functionality.
    Regards,
    Marcin Gajewski

  • Need help on mapping of obsolete and new function module

    Hi Expert,
    We are working on a  upgradation tool in which i have to repace the obsolete function module "HELP_VALUES_GET_WITH_CHECKTAB
    " by "F4IF_FIELD_VALUE_REQUEST
    ". I am not sure about the functionalities of these function modules as i have never used it. Can anyone please help me  by providing some information abt  these FMs. Also i need to do the mapping of parameters of old and new function module. So please provide the details of mapping also. Any pointers on this will be highly appreciated.
    Thanks & Regards,
    P Sharma
    Moderator message : Duplicate post locked.  Continue with [Parameter mapping of FMs|Parameter mapping of FMs;.
    Edited by: Vinod Kumar on Jul 8, 2011 9:40 AM

    Hey Enivass,
    you can ckeck the input field "Account Number" whether it is numeric or Alphabet using *"Conversions ->Fixvalues"*
    Steps:
    1.  Extract first character of input using *" Text -> substring"*  -- start position 0 , char count 1 
    2. In Fix Value table you have to give following values:
    Dafault value : Alphabet
    key----
    value
    0----
    Number
    1----
    Number
    2----
    Number
    9----
    Number
    3.  Write logic IF "number" than  "Arithmatic -> FormatNumber   (0000000000)   -
    // for leading zeros
             ELSE
         concat with extra space        -
    Thanks

  • Can i create a new function (Fade out, Amplify down, Fade In)

    Hi,
    I am using Adobe Audition version 3.0
    Is it possible to define a new function, so that i can select a short piece of the audio file within Edit View, so that the first 5 miliseconds (of the selected piece of audio) will be applied a Fade Out, and the last 5 miliseconds will be applied a Fade In, and in-between will be Amplified by -12dB.
    I have to do this hundreds of times within a 1 hour recording of speech which has many short pauses, in order to remove small external noises between the words.
    I normally select (one by one) the space/pause between the words and amplify this by -12 dB.  Then i select the preceeding 5 miliseconds and apply a Fade Out.  And the 5 miliseconds after the pause a Fade In.
    I have only discovered today how to create short-cuts, so at least i have a short cut for the Amplify, Fade Out and Fade In.
    But it would be great, if i could somehow define a function as i described above, to do all 3 steps within the one function.
    Any help or tips appreciated.
    Dave

    [email protected] wrote:
    Hi,
    I am using Adobe Audition version 3.0
    Is it possible to define a new function, so that i can select a short piece of the audio file within Edit View, so that the first 5 miliseconds (of the selected piece of audio) will be applied a Fade Out, and the last 5 miliseconds will be applied a Fade In, and in-between will be Amplified by -12dB.
    I have to do this hundreds of times within a 1 hour recording of speech which has many short pauses, in order to remove small external noises between the words.
    I normally select (one by one) the space/pause between the words and amplify this by -12 dB.  Then i select the preceeding 5 miliseconds and apply a Fade Out.  And the 5 miliseconds after the pause a Fade In.
    I have only discovered today how to create short-cuts, so at least i have a short cut for the Amplify, Fade Out and Fade In.
    But it would be great, if i could somehow define a function as i described above, to do all 3 steps within the one function.
    Any help or tips appreciated.
    Dave
    You might be able to - but this is going to require quite a complex script that would need some serious editing by hand, and even then I'm not absolutely sure that it would work. The previous problem with this sort of script was that due to an 'anomaly' in the program, the - (minus) sign wouldn't work in a script, but I think that with the 3.0.1 patch, it does again. And even with this working, it's going to require some experimentation. Initially you need to refer to ryclark's method of entering absolute values which you will find here, and then you have to find a way to realise the whole operation a step at a time. You'd have to handle the fade out and the fade in separately, but where I think you might come considerably unstuck is trying to fade to -12dB for the middle section - that's probably the bit that would perhaps require slightly more than might actually be possible. I'd be quite happy to be proved wrong about that though!
    I'm afraid that there's no documentation at all for the scripting language - this is something that Adobe, and Syntrillium before them, have never quite managed to provide, despite promising me some a while back. The good news though is that if you can make this work, then it's relatively straightforward to assign a shortcut key to it. But I should warn you now that this would be one hell of a script...

  • Error adding new function in order template

    Hi,
    When i am trying to add a new function to order Template under /contolData/Functions/ form data dictonary
    I am getting error :
    Element with same name exist.The following nodes can not be added to the order.
    (no namespace):/ControlData/Functions/MyNewFunction
    (no namespace):/ControlData/Functions/MyNewFunction/componentKey
    Thanks
    Harman

    Hi Harman,
    You might need to be more specific before I can help you. What have you done, and which step you run into the error? I supopse you have created a new "function" Order Component, and created the required Control Data nodes in Data Dictionary (what have you added?), right? So, when you go into the Order Template tab of the new Order Component (which would be empty since it was newly created), and you try to "select from Dictionary" the corresponding ControlData for the function (e.g. /ControlData/Functions/MyNewFunction), that such an error occurs?
    Have you assigned a process for this Order Component? Studio does not allow adding control data to it unless a process is assigned.
    Btw, you should define a namespace for your Order Components (and other orchestration entities). The OSM server uses namespace to locate these entities among cartridges.
    Cheers,
    Daniel Ho
    Product Management -- OSM

  • [svn] 2312: CursorManager: New functionality and a fix for SDK-15029

    Revision: 2312
    Author: [email protected]
    Date: 2008-06-30 17:24:01 -0700 (Mon, 30 Jun 2008)
    Log Message:
    CursorManager: New functionality and a fix for SDK-15029
    * NEW: When the mouse leaves a window/stage where a cursor is set, the cursor no longer sits on the edge of the screen until the mouse comes back into the window, it disappears.
    * NEW: In AIR, when the mouse leaves an active window and glides over an inactive window (without giving it focus) where a cursor is set, the system pointer will be hidden and the custom cursor will appear while gliding over that window, and disappear when you leave that window.
    * FIX: When a cursor is set in a child Window, and the mouse moves over another Window or WindowedApplication, the cursor no longer disappears -- the correct system pointer or custom cursor will display.
    * Fixed listener leaks when switching systemManagers (neither Jason nor I can tell when/why it would happen in CursorManager, however).
    Reviewer: Jason
    Bugs: SDK-15029
    Doc: No
    QA: Yes, here's an exhaustive list of ideas:
    * We'll need tests for the new behaviors.
    * For all tests, we need to try behavior in air AND behavior in (sa)player, and test regressions.
    * Please test SDK-15583 again, all other cursor tests.
    * Take the test case for SDK-15029 and open up TWO MyWindows. Test how the cursors change across all three app windows when they are overlapped like a Venn diagram, with different combinations of custom cursors on and off -- we should have test cases for all of this behavior.
    * Test that custom cursors work properly when the mouse leaves a non-rectangular stage with transparency.
    * Test mouse drag situations -- drag off stage, release, move back to stage; drag off and back onto stage, etc.
    * In my tests, I found a lot of bad behavior in AIR, and player seemed to be fine. Do we have drag and drop use cases for AIR with custom cursors?
    A list of some bugs I encountered:
    * BUG (cosmetic): If the mouse is outside the stage when a cursor changes for the first time (say you toggle a checkbox which sets the cursor using the keyboard), the cursor will appear on the stage in the last known mouse position. When the mouse returns to the stage, everything will start working correctly again.
    * BUG (cosmetic): In AIR, if you drag out, and back into the window, then release, a MOUSE_OUT is fired again over the stage, which is wrong. The mouse coords given are (-1,-1), also wrong. This causes the system cursor to show instead of the custom cursor.
    * BUG: In AIR: if you drag off the edge of a Window with a custom cursor, the cursor will vanish. The MOUSE_OUT event correctly event fires while dragging off the window. Even though the handler tells the system mouse cursor to appear, it doesn't -- might be an AIR issue, since the mouse is still dragging when told to show. If you move back over the active window without dragging, the cursor goes back to normal.
    * BUG: In AIR: if you drag over another window with a cursor, MOUSE_MOVE events don't fire on that other window until you let go. Therefore, a custom cursor in that window does not get drawn, nor does a system cursor. If you move back over the active window without dragging, the cursor goes back to normal.
    * BUG: In AIR: When dragging, off a window, Event.MOUSE_LEAVE only fires after the mouse is let go (unlike MOUSE_OUT), EVEN IF the mouse is dragged back over the window and released over the window. So you're told the mouse left when it didn't.
    * BUG: In Player: I could never get Event.MOUSE_LEAVE to fire when added to the stage in saplayer or browser.
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-15029
    http://bugs.adobe.com/jira/browse/SDK-15029
    http://bugs.adobe.com/jira/browse/SDK-15583
    http://bugs.adobe.com/jira/browse/SDK-15029
    Modified Paths:
    flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/managers/CursorManagerImpl.a s

  • New functionality in ECC 6.0 for auto clearing of bank clearing account.

    Is there any new functionality in ECC 6.0 for auto clearing of bank clearing account.
    Regards,
    Kishore

    Hi,
    There no new functionality in ECC 6.0 for auto clearing of bank clearing account. Still you need to depend on Manual / Electronic bank statement to clear them.
    Thanks
    Prasada

  • New function Planning Group and Affiliate in Business partner/Account tab

    Hi all!
    I'm using SAP 8.8 PL10 , Localization Australia. I have new function in Business partner/Account tab is Planning Group and Affiliate.
    Can you explain ? i don't see any help file about this.

    Hi,
    You may check this: What is the use of AFFILIATE check box in Business partner?
    Thanks,
    Gordon

Maybe you are looking for

  • 4SNS/1/40000000:TGOD-86.500 = Dead MacBook Pro?

    After getting checksum errors on any .dmg files downloaded from Apple and having the 'Mac OS X Update Combined' update fail to install, I ran disk utility and the Apple Hardware Test which revealed the error: 4SNS/1/40000000:TGOD-86.500 I'm guessing

  • Server does not support setting more than 5 shared access policy identifiers on a single container

    Hi, I upload a video file to a new Asset. I then attempt to create a streaming URL by creating an Access Policy and then a Locator, which I use to generate the URL used for streaming.This works great. Until the 6th time you execute that code against

  • How do I reinstall MUSE?

    My Adobe Application Manager tells me that it is up to date, however it keeps crashing and I get a message when it does asking me to reinstall it.

  • Initialization of global/scope variables ONLY through ASSIGN?

    Is it only possible to initialize global resp. scope variables through an explicit ASSIGN? Or can I place e.g. a value="...." attribute inside the BPEL source code at the variable declaration to initialize it directly? Or even better: can I init the

  • GIS and Dreamweaver

    Hello, I have an Enterprise Server Level License for ESRI's ArcGIS and ArcGIS Server. There is complete support within Visual Studio - namely, an SDK compelete with ESRI ArcGIS specific tools and controls has been installed and is available within Vi