RV45PFZA: Limiting Code

Hi,
In Include RV45PFZA, there is a user exit USEREXIT_SET_STATUS_VBUK. I want to enter code there that that will only be hit for Transaction VA01. This user exit is also hit for Transaction VKM3. Syst-tcode will work, but I was warned off it as when creating a new sales order through a BAPI, the transaction code will not be VA01. Is there any check that can be put in here to limit the code to only creating a new sales order.
Thanks,
Finbarr

Hi ,
Can you check T180-TRTYP value in this user exit.
IF T180-TRTYP = 'H' means creation of Order then you can exclude it.
IF not you can export a parameter from VA01 and Import the parameter in this user exit and check either "SY-TCODE" or T180-TRTYP.
Lanka

Similar Messages

  • XML Publisher and Graph code line limited

    Hi All,
    One of our graph report, seem have limited code line. The way we put the coding is in "right click on the graph" > Properties > Alt Tab.. Is there any others place that we can put the code for the graph generation?

    Hi All,
    One of our graph report, seem have limited code line. The way we put the coding is in "right click on the graph" > Properties > Alt Tab.. Is there any others place that we can put the code for the graph generation?

  • ABAP CODE TO POPULATE LOGICAL SOURCE SYSTEM

    Hi Friends please help me with the below
    1. Requirement : to Populate The system Date , Source System
    in BI for Each load request.
    1 Solution: I thought of writing the Start Routine for this but it is giving me error
    syntax Error: END METHOD MISSING?????
    2. Also I have requirement to populate 0sourcsys source system id, can any body help how to populate that.
    Thanks
    Poonam Roy
    ABAP Code.
    I have the End Method. what more to do.
    METHOD start_routine.
    *=== Segments ===
    FIELD-SYMBOLS:
    <SOURCE_FIELDS> TYPE tys_SC_1.
    DATA:
    MONITOR_REC TYPE rstmonitor.
    $$ begin of routine - insert your code only below this line -
    ... "insert your code here
    FORM STARTROUTINE
    USING G_S_MINFO TYPE RSSM_S_MINFO
    CHANGING DATAPAK type TRANSTRU
    ABORT LIKE SY-SUBRC.
    DATA: ZLOAD_DAT LIKE SY-DATUM
    ZZSOURSYS TYPE RSLOGSYS
    IF G_S_MINFO-DATAPAKID=1
    SOURCE_FIELDS-ZLOAD_DAT = SY-DATE.
    SOURCE_FIELDS-ZZSOURSYS = G_S_MINFO-LOGSYS.
    ENDIF.
    ABORT = 0.
    ENDFORM.
    ENDMETHOD.
    ENDCLASS.
    *-- fill table "MONITOR" with values of structure "MONITOR_REC"
    *- to make monitor entries
    ... "to cancel the update process
    raise exception type CX_RSROUT_ABORT.
    $$ end of routine - insert your code only before this line -
    ENDMETHOD.

    You have to write the code (<b>in BI/BW</b>) in the transfer rule (<b>between Datasource transfer structure and infosource/info object</b>)
    There the FORM begin with
    [code]USING RECORD_NO LIKE SY-TABIX
        TRAN_STRUCTURE TYPE TRANSFER_STRUCTURE
        G_S_MINFO TYPE RSSM_S_MINFO
    CHANGING RESULT TYPE /BI0/OIPERSON
        G_T_ERRORLOG TYPE rssm_t_errorlog_int
        RETURNCODE LIKE SY-SUBRC
        ABORT LIKE SY-SUBRC. “set ABORT <> 0 to cancel datapackag[/code]
    GS_MIN_INFO structure RSSM_S_MINFO contains information on the request being processed.
    <i>G_S_MINFO. This passes technical information about the data load request,
    such as requesting user, request date and time, update mode, the handling of
    duplicate records, error handling flags, parallel processing flags, and what data
    targets to update.</i>
    If tou want to use start-routine for optimization reasons and fill an empty field in transfer structure, the structure G_S_MINFO is available too.
    [code]USING G_S_MINFO TYPE RSSM_S_MINFO
    CHANGING DATAPAK type TAB_TRANSTRU
        G_T_ERRORLOG TYPE rssm_t_errorlog_int
        ABORT LIKE SY-SUBRC. “set ABORT <> 0 to cancel datapackage[/code]
    And stay in FORM between limits :
    [code]$$ begin of routine
    $$ end of routine[/code]
    Update RESULT in first case, and field(s) of DATAPAK in second case.
    [code]RESULT = G_S_MINFO-LOGSYS.[/code] or
    [code]LOOP AT DATAPAK INTO l_s_datapak_line.
      l_s_datapak_line-zzsourcsys = G_S_MINFO-LOGSYS.
      MODIFY DATAPAK FROM l_s_datapak_line.
    ENDLOOP.[/code]
    Regards

  • Abap Code to populate source system id

    Hi , so kind of All of you,
    please help me, i have written the code in one to one mapping in transformation routine in BI 7,0 right click on zzsourcsys and go tp rule details. No syntax errors in the code but when i load there is no value populating to zzsourcsys . i have defined zzsourcsys as 12 char. can u suggest where it is going wrong, i checked in tools assignment of sourcesystem id is there in my system.
    Abap Code
    TYPE-POOLS: RSSM.
    Data: G_S_MINFO TYPE RSSM_S_MINFO.
    RESULT = G_S_MINFO-LOGSYS.
    Thanks
    Poonam Roy

    You have to write the code (<b>in BI/BW</b>) in the transfer rule (<b>between Datasource transfer structure and infosource/info object</b>)
    There the FORM begin with
    [code]USING RECORD_NO LIKE SY-TABIX
        TRAN_STRUCTURE TYPE TRANSFER_STRUCTURE
        G_S_MINFO TYPE RSSM_S_MINFO
    CHANGING RESULT TYPE /BI0/OIPERSON
        G_T_ERRORLOG TYPE rssm_t_errorlog_int
        RETURNCODE LIKE SY-SUBRC
        ABORT LIKE SY-SUBRC. “set ABORT <> 0 to cancel datapackag[/code]
    GS_MIN_INFO structure RSSM_S_MINFO contains information on the request being processed.
    <i>G_S_MINFO. This passes technical information about the data load request,
    such as requesting user, request date and time, update mode, the handling of
    duplicate records, error handling flags, parallel processing flags, and what data
    targets to update.</i>
    If tou want to use start-routine for optimization reasons and fill an empty field in transfer structure, the structure G_S_MINFO is available too.
    [code]USING G_S_MINFO TYPE RSSM_S_MINFO
    CHANGING DATAPAK type TAB_TRANSTRU
        G_T_ERRORLOG TYPE rssm_t_errorlog_int
        ABORT LIKE SY-SUBRC. “set ABORT <> 0 to cancel datapackage[/code]
    And stay in FORM between limits :
    [code]$$ begin of routine
    $$ end of routine[/code]
    Update RESULT in first case, and field(s) of DATAPAK in second case.
    [code]RESULT = G_S_MINFO-LOGSYS.[/code] or
    [code]LOOP AT DATAPAK INTO l_s_datapak_line.
      l_s_datapak_line-zzsourcsys = G_S_MINFO-LOGSYS.
      MODIFY DATAPAK FROM l_s_datapak_line.
    ENDLOOP.[/code]
    Regards

  • Abap Code populate only the entries withUser Input Posting Date =pstdate

    Requirement: I have Posting Date for all Objects Now i want to create the <b>Variable “PSTVAR”</b>such that the variable will populate <b>only the entries with
    User Input Posting Date(During Report Execution) >=greater than equal to Posting Date(OPSTDATE). .</b>
    <b>Example</b> POSTING DATE = 03032007
    POSTING DATE = 01012006
    IF USER INPUT DATE = 01012007
    Then only POSTING DATE = 03032007 will show up in report
    write the code in <b>customer exit cmod in BI</b> if CAN CORRECT THE CODE WOULD BE GREAT
    Data: l_s_var_range Type rrangeexit.
    L_d_PSTDATE Type /bio/oipstdate.
    L_d_PSTDATE Type /bio/oipstdate.
    IF I_STEP=2.
    READ TABLE I_t_var_range INTO l_s_var_range WITH KEY VNAM = ‘PSTVAR’.
    If L_d_PSTDATE >= PSTVAR’
    L_d_PSTDATE=l_s_var_range-low(0)
    Please help me modify the above code with logic or with some extra line of code to solve my requirement. Appreciate all of you for help in advance
    Thanks
    Soniya Kapoor

    You have to write the code (<b>in BI/BW</b>) in the transfer rule (<b>between Datasource transfer structure and infosource/info object</b>)
    There the FORM begin with
    [code]USING RECORD_NO LIKE SY-TABIX
        TRAN_STRUCTURE TYPE TRANSFER_STRUCTURE
        G_S_MINFO TYPE RSSM_S_MINFO
    CHANGING RESULT TYPE /BI0/OIPERSON
        G_T_ERRORLOG TYPE rssm_t_errorlog_int
        RETURNCODE LIKE SY-SUBRC
        ABORT LIKE SY-SUBRC. “set ABORT <> 0 to cancel datapackag[/code]
    GS_MIN_INFO structure RSSM_S_MINFO contains information on the request being processed.
    <i>G_S_MINFO. This passes technical information about the data load request,
    such as requesting user, request date and time, update mode, the handling of
    duplicate records, error handling flags, parallel processing flags, and what data
    targets to update.</i>
    If tou want to use start-routine for optimization reasons and fill an empty field in transfer structure, the structure G_S_MINFO is available too.
    [code]USING G_S_MINFO TYPE RSSM_S_MINFO
    CHANGING DATAPAK type TAB_TRANSTRU
        G_T_ERRORLOG TYPE rssm_t_errorlog_int
        ABORT LIKE SY-SUBRC. “set ABORT <> 0 to cancel datapackage[/code]
    And stay in FORM between limits :
    [code]$$ begin of routine
    $$ end of routine[/code]
    Update RESULT in first case, and field(s) of DATAPAK in second case.
    [code]RESULT = G_S_MINFO-LOGSYS.[/code] or
    [code]LOOP AT DATAPAK INTO l_s_datapak_line.
      l_s_datapak_line-zzsourcsys = G_S_MINFO-LOGSYS.
      MODIFY DATAPAK FROM l_s_datapak_line.
    ENDLOOP.[/code]
    Regards

  • How to Unload and Reload a Composition into the same HTML page?

    TLDR:
    When loading multiple Compositions into a html page via AdobeEdge JavaScript, how do I remove/delete/unload a loaded composition so that it can be added/loaded to the same page again later? I am open to options not mentioned here, but this is done externally, not within Edge's limited code abilities (working with multiple comps on one page).
    *Note: I am making comps in Edge then loading multiple within my own JavaScript/HTML external pages. This programming is NOT done within Edge's code.
    Overview:
    I could have more than 50 compositions to load into my page, but only one is displayed at a time. In order to make this easier on the user, I load 5 into the page in divs with display: none. I set the id of the first one to an id that has my css to show the content properly. When clicking next, that div is set back to an ID that has hidden css values. Going forward and back works the same. This functions properly. This puts all the obvious preloading in the beginning so the user doesn't have to wait again, as comps are preloaded in the background while they are viewing other comps.
    As the user moves farther, I drop the first div and add one on the end with the next comp. This works fine. I can go forward all day, no problem by removing the first div element and adding one to the end. This should make memory not horrible, since theoretically, the comps would be removed as needed...
    Problem:
    The problem is if the user wants to go back. If I drop the last div and add one to the front, the comp (which was loaded and dismissed earlier) cannot be re-loaded. It also cannot be re-added, even if the div is cloned and re-added later.
    This is the code I am using to load the comps:
    $.getScript('comp_' + i + '_edgePreload.js', function() {});
    Options:
    The options I have thought of (and not found a way to make them work) in order of preference:
    Fully unload the comp from memory, that way when I make the call to load the comp, it will act as if it has never been loaded before. (Is there a way to unload a comp completely? I haven't found one, but the API is sorely incomplete) **I want this one to work very much.
    Ok, maybe you can't actually unload a loaded comp. Can you re-add it to a new div? I have printed out every option I could thru AdobeEdge's interface, and cannot find a way to re-make a div the way it was. Heck, I'd be happy to load the content into a non-child element in JS, then append to html when I actually want to display it. I can't find how to re-setup the div, which has the correct Class and is set up the way it was when the comp was loaded the first time. (this option is bad because it seems all of the comps are still in memory, but at least it would work)
    Worst case, I have tried this and ALMOST got it to work. When I removed the old divs from the page, I cloned them and added them to an array of objects in JS. Then, when going back, I pushed them back out, so it was an EXACT copy of the original div, all content was the same, all id, class, style, etc was the same. Unfortunately, AdobeEdge seemed to lose the ability to talk to it. (AdobeEdge.getComposition('EDGE-MyUniqueIdentifier').getStage(); // returns undefined). How do I tell it to re-associate the div with the object that still exists here? And obviously, this is an awful solution, since it appears that all of the comps stay in memory, but I was desperate to simply make it work somehow.
    If you need code examples of any of my attempts at the previous options (I have tried them all extensively, and unsuccessfully), I can provide it. I hope someone has found a way to deal with this or has links to actually useful information. Most posts I have found simply tell you to load all your comps and hide/unhide them as needed. This works for small-scale, but when you have a lot of comps to move between, it becomes less of a viable solution.

    Exactly the same problem here. Could anyone from EDGE TEAM answer to this question?
    How we can UNLOAD and LOAD same or another animation using SAME or DIFFERENT dinamically created DIVS?
    Affter loading the second animation AdobeEdge.getComposition('EDGE-MyUniqueIdentifier').getStage() returns undefined.
    Thanks for ther support.

  • Table width not displaying correctly in IE - Works in Mozilla / Chrome

    I am working tirelessly trying to optimize my site for SEO purposes and I have been able to strip out over a hundred lines of extra code while maintaining my sites look. The problem is in doing so I messed something up - well at least Internet Explorer seems to think so. My site renders just fine in Mozilla and Chrome but for whatever reason, the width of the main table for my product pages is showing up a lot wider than it should. I currently have it set to 859 pixels but Explorer is rendering a much larger table. For the life of me, I can not figure out why this is happening. Our sites homepage The BlueDot is located at http://www.thebluedot.net is showing up as it should in Explorer, but if you click on any of the products it goes wider for some reason? I have limited code access in my store front whereas I have complete control over my home page. Again - it shows as it should in Mozilla and Chrome but not Explorer...
    If you happen to decide to help and see anything else I can strip down in the code or make more Google friendly - please let me know - I would so much appreciate any help you could provide. I have tried stripping out any extra tables I could with my current experience with CSS, HTML and Div tags but I know I could probably strip out much more unneeded code if my skills were a bit better.
    What am I doing wrong in my code that explorer is deciding to make the table width much wider?
    Thanks so much in advance.

    body {
         background-color:fff;
         font-family: Arial, Helvetica, sans-serif;
         color: #006;     
    Add a # to your background color above.
    Also align="center" is deprecated code just so you know. It looks like the table is being populated dynamically from a database. Tables will expand to hold the content it's given - just make sure your dynamically created tables use CSS that constrains the width as you desire it. Potentially this is an ASP .NET control issue (it looks like you're using .asp) and you may need to change that (the control) through whatever CSS it uses.
    Hope this helps.

  • New Markup using JVue applet with default colors that override .ini setting

    Goal: To load the JVue applet initially populated with a given document(drawing) and if there are no markups at all:
    •     Give the user a markup with a custom filename
    •     Configure the applet so that all markups:
    o     Have a specific custom outline color that overrides setting in allusers.ini
    o     Have a specific custom fill color that overrides setting in allusers.ini
    Problem: The following code achieves everything except setting the custom colors via the method configureMarkups().
    •     If configureMarkups() is called, the applet will not save a valid Markup file (it is zero bytes).
    •     If configureMarkups() is simply not called, the applet will save a valid Markup file (but the markups are not the desired color)
    •     See the text following this code for a more detailed process flow:
    package com.kpe.esd.applets;
    import java.awt.Color;
    import com.cimmetry.core.Property;
    import com.cimmetry.markupbean.Markup;
    import com.cimmetry.markupbean.MarkupBean;
    import com.cimmetry.markupbean.MarkupEntitySpec;
    import com.cimmetry.vuebean.event.VueEvent;
    import com.cimmetry.vuebean.event.VueFileListener;
    import com.cimmetry.vuebean.event.VueMarkupListener;
    import com.cimmetry.vuebean.event.VueModelEvent;
    import com.cimmetry.vuebean.event.VueModelListener;
    public class JVueKPE extends com.cimmetry.jvue.JVue
    implements VueMarkupListener, VueModelListener, VueFileListener {
    /** serialVersionUID */
    private static final long serialVersionUID = 1L;
    public void onInitDone() {
    super.onInitDone();
    System.out.println("***KPE*** JVue extension (Build 20120219-i) has been initialized.");
    * @param markupBean
    * @param filename
    * @param author
    public void createUserMarkup(MarkupBean markupBean, String filename, String author) {
    System.out.println("***KPE*** createUserMarkup()");
    System.out.println(" filename: " + filename);
    System.out.println(" author: " + author);
    final boolean first = markupBean.getActiveMarkup().getName().contains("ntitled");
    final Markup newmarkup = first
    ? markupBean.getActiveMarkup() : markupBean.createMarkup(true);
    newmarkup.setName(filename);
    // Create a Properties class and instantiate the object
    final Property root = new Property("Markup", "KPE User Markup");
    root.addChildProperty("CSI_DocID", "<<dms:newmarkup>>"+filename);
    root.addChildProperty("CSI_DocName", filename);
    root.addChildProperty("CSI_DocReadOnly", "false");
    root.addChildProperty("CSI_DocAuthor", author != null ? author : "mickeymouse");
    root.addChildProperty("author", author != null ? author : "minniemouse");
    root.addChildProperty("Read-Only", "false");
    root.addChildProperty("CSI_MarkupType", "normal");
    newmarkup.setProperty(root);
    this.getActiveVueBean().getVueEventBroadcaster().addMarkupListener(this);
    this.getActiveVueBean().getVueEventBroadcaster().addModelListener(this);
    this.getActiveVueBean().getVueEventBroadcaster().addFileListener(this);
    // Make sure this is the last line of the method!!!
    if (!first) markupBean.setActiveMarkup(newmarkup); // This has no effect on enabling markup entity buttons
    public void createUserMarkup_tested_works(MarkupBean markupBean, String filename, String author) {
    System.out.println("***KPE*** createUserMarkup()");
    System.out.println(" filename: " + filename);
    System.out.println(" author: " + author);
    final Markup newmarkup = markupBean.createMarkup(true);
    newmarkup.setName(filename);
    // Create a Properties class and instantiate the object
    final Property root = new Property("Markup", "KPE User Markup");
    root.addChildProperty("CSI_DocID", "<<dms:newmarkup>>"+filename);
    root.addChildProperty("CSI_DocName", filename);
    root.addChildProperty("CSI_DocReadOnly", "false");
    root.addChildProperty("CSI_DocAuthor", author != null ? author : "mickeymouse");
    root.addChildProperty("author", author != null ? author : "minniemouse");
    root.addChildProperty("Read-Only", "false");
    root.addChildProperty("CSI_MarkupType", "normal");
    newmarkup.setProperty(root);
    this.getActiveVueBean().getVueEventBroadcaster().addMarkupListener(this);
    this.getActiveVueBean().getVueEventBroadcaster().addModelListener(this);
    this.getActiveVueBean().getVueEventBroadcaster().addFileListener(this);
    // Always search for, and delete, "untitled" markups
    final Markup[] allmarkups = markupBean.getMarkups();
    for (Markup thismarkup : allmarkups) {
    System.out.print("***KPE*** Markup Name: " + thismarkup.getName());
    if (thismarkup.getName().contains("ntitled")) {
    markupBean.deleteMarkup(thismarkup);
    System.out.println(" <<< removed.");
    } else {
    System.out.println(" <<< kept.");
    // Make sure this is the last line of the method!!!
    markupBean.setActiveMarkup(newmarkup); // This has no effect on enabling markup entity buttons
    public void configureMarkups(boolean isGreenMarks) {
    System.out.println("***KPE*** configureMarkups()");
    System.out.println(" isGreenMarks: " + isGreenMarks);
    final MarkupBean mbean = this.getActiveVueBean().getMarkupBean();
    final Markup active = mbean.getActiveMarkup();
    MarkupEntitySpec spec = active.getMarkupSettings();
    if (spec == null) {
    System.out.println("***KPE*** Why is spec null?");
    spec = new MarkupEntitySpec(mbean);
    spec.setColor(isGreenMarks ? Color.GREEN : Color.RED);
    spec.setFillColor(Color.YELLOW);
    mbean.selectionSetSpec(spec);
    @Override
    public void onMarkupEvent(VueEvent evt) {
    System.out.println("***KPE*** markup event = " + evt.getEventName());
    switch (evt.getType()) {
    case VueEvent.ONENTERMARKUPMODE:
    break;
    @Override
    public void onModelEvent(VueModelEvent evt) {
    System.out.println("***KPE*** model event = " + evt.getType());
    @Override
    public void onFileEvent(VueEvent evt) {
    System.out.println("***KPE*** markup event = " + evt.getEventName());
    Process Flow
    APPLET IN HTML
    <object id = "JVue" name = "JVue by Oracle"
    classid = "clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
    codebase = "${viewer.codebase}"
    width = "100%" height = "50%" >
    <param name="code" value="com.kpe.esd.applets.JVueKPE" />
    <param name="codebase" value="${viewer.codebase}" />
    <param name="cache_archive" value="jvue.jar,jogl.jar,gluegen-rt.jar" />
    <param name="cache_version" value="cache_version" />
    <param name="type" value="application/x-java-applet;version=1.6" />
    <param name="mayscript" value="true" />
    <param name="scriptable" value="true" />
    <param name="EMBEDDED" value="TRUE">
    <param name="HEAVYWEIGHT" value="FALSE">
    <param name="VERBOSE" value="DEBUG">
    <param name="JVUESERVER" value="${viewer.autoVueServlet}">
    <param name="DMS" value="${viewer.autoVueDMS}">
    <param name="DMSARGS" value="USERNAME;DMS_PRESERVE_COOKIES;">
    <param name="USERNAME" value="anonymous">
    <param name="DMS_PRESERVE_COOKIES" value="TRUE">
    <param name="ONINIT" value="onJVueInit();">
    <param name="GUIFILE" value="${viewer.autoVueGUI}">
    </object>
    JAVASCRIPT: ONJVUEINIT()
    function onJVueInit() {
    var applet = getJVue();
    if (applet) {
    applet.setFile('${viewer.autoVueFilename}'); // [B1]
    applet.waitForLastMethod();
    AVOpenMarkupFile();
    AVConfigureMarkups();
    } else {
    alarm('!! Cannot find AutoVue applet !!!');
    }; // end onJVueInit()
    JAVASCRIPT: AVOPENMARKUPFILE()
    function AVOpenMarkupFile() {
    var applet = getJVue();
    if (true) {                   
    applet.openMarkup('*'); // [2]
    } else {
    waitForMarkupsToBeLoaded(applet); // This statement is VERY important.
    var vuebean = applet.getActiveVueBean();
    applet.waitForLastMethod();
    alarm("VueBean: " + vuebean);
    var mbean = vuebean.getMarkupBean();
    applet.waitForLastMethod();
    alarm("MarkupBean: " + mbean);
    alarm("Markups Count: " + mbean.getMarkupsCount());
    var found = -1;
    var untitled = false;
    var allmarkups = mbean.getMarkups();
    if ( false ) { // mbean.getMarkupsCount() == 1
    if (allmarkups[0].getName().slice(0,8) == 'Untitled') {
    allmarkups[0].setName(pg_userMarkupFilename);
    } else {
    alarm(allmarkups[0].getName().slice(0,8));
    } else {
    for (var index = 0, len = allmarkups.length; index < len; ++index) {
    var item = allmarkups[index];
    // Your code working on item here...
    alarm("Markup Name: " + item.getName());
    alarm("Markup Property: " + displayProperty(item.getProperty(), 0, 0, 1));
    if (pm_isHistory) { item.setReadOnly(true); }
    if (item.getName().slice(0,8) == 'Untitled') {
    found = index;
    untitled = true;
    // Untitled Markups get removed later by custom applet
    } else {
    if (item.getName().indexOf(pg_userMarkupFilename) > -1) {
    found = index;
    } else {
    if (!pm_isHistory && pm_isLead) { item.setReadOnly(false); }
    var information = item.getMarkupInformation();
    if (information != null) {
    for (var j = 0, len2 = information.length; j < len2; ++j) {
    var info = information[j];
    // Your code working on item here...
    alarm("Markup Information: " + info );
    if (untitled || (found == -1)) createMarkup(mbean, 'mickey mouse');
    JAVASCRIPT: CREATEMARKUP()
    function createMarkup(mbean, author) {
    getJVue().createUserMarkup(mbean, pg_userMarkupFilename, author);
    Note: Both versions of createUserMarkup() seem to work and allow successful saving of the markup file if configureMarkups() is not subsequently called.
    JAVASCRIPT: AVCONFIGUREMARKUPS()
    function AVConfigureMarkups() {
    var applet = getJVue();
    applet.configureMarkups(pm_isGreen);
    };

    Please try this, let me know if it doesn't work.
    public void configureMarkups(boolean isGreenMarks) {
    System.out.println("***KPE*** configureMarkups()");
    System.out.println(" isGreenMarks: " + isGreenMarks);
    final MarkupBean mbean = this.getActiveVueBean().getMarkupBean();
    MarkupEntitySpec spec = mbean.getMarkupEntitySpec();
    if (spec == null) {
    System.out.println("***KPE*** Why is spec null?");
    spec = new MarkupEntitySpec(mbean);
    spec.setColor(isGreenMarks ? Color.GREEN : Color.RED);
    spec.setFillColor(Color.YELLOW);
    mbean.setMarkupEntitySpec(spec);
    For the future: please try limiting code snippets to only minimum relevant lines, otherwise it's very hard to come up with quick suggestions...

  • In an iTunes Extras .ite file, how do you tell the extras app to link to the original film?

    I'm creating in iAd and need help. Have limited code knowledge, so please elaborate if having to explain in code. Thanks!

    I'm going to bump this thread because I am having the same problem you're having.
    It's really a weird oversight. The carousel is completely useless if it can't link directly to a product page. I've tried everything you've tried. Even copying and placing the product (via admin manage panel) in a "carousel" root folder, but BC just creates a "carousel_01" folder so that it doesn't rewrite in the original carousel folder.
    It's just stupid. Everything is intelligently designed, except this. We need someone to look into it.
    I'm not a developer, I'm a sole designer with a bit of copy paste knowledge. Until now I've been able to work through any issues, but this one is doing my head in.
    Here's my page - http://bestinscotland04.businesscatalyst.com/
    If you click any carousel image on the first page, it only goes to a special "carousel" page, which is totally useless. I suppose I could re-create each ad I want to make a special carousel image for, but that doubles work and down the line it will also mess with inventory.
    I'd prefer a clean solution, rather than a jerry rig.
    Thanks anyone for any help.
    P.S. Here's a pic:

  • Stack ADT using array

    Hi everyone, I posted a similar question earlier and thought I got the response I wanted but I keep running into problems.
    I'm looking to make my own version of the stack ADT using arrays (or arraylist).
    I have created my own isEmpty() method. Here is part of my code:
    public interface StackADT<T> {
         void push(T element); // adds an element to the stack
         T pop(); // removes an element from the stack and returns it
         boolean isEmpty(); // returns true if the stack is empty and false otherwise
         T peek(); // returns top element from the stack without removing it
         void truncate(); // truncates the stack to the exact number of elements
         void setExpansionRule(char rule); // sets expansion to either doubling or increasing by 10 elements
    public class Stack<T> implements StackADT<T> {
              private T[] array;
              int index = 0;
              public Stack(){
                   this.array = (T[]) new Object[50];
              public boolean isEmpty(){
              if (index == 0){
                   return true;
              return false;
               public T pop(){
                    if(Stack<T>.isEmpty()){  //ERROR
                     throw new EmptyStackException("Stack is empty");     
    }I'm trying to use my isEmpty() method (also part of the stack class) inside other methods like pop(). Problem is it says: "T cannot be resolved to a variable, Stack cannot be resolved to a variable". I also tried Stack.isEmpty(), but it doesn't work. I'm really confused. Any suggestions?
    Edited by: Tiberiu on Mar 1, 2013 6:38 PM

    >
    Hi everyone, I posted a similar question earlier and thought I got the response I wanted but I keep running into problems.
    I'm looking to make my own version of the stack ADT using arrays (or arraylist).
    I have created my own isEmpty() method. Here is part of my code:
    >
    No - you haven't. There is no 'isEmpty' method in the code you posted.
    We can't debug code that we can't see. You haven't posted any interface and you haven't posted anything that calls any of the limited code that you did post.
    You did post code that tries to call the method on the class instead of an instance of the class.
    if(Stack<T>.isEmpty()){ 

  • Dreamweaver CS5 IFrame Question

    I'm currently using Dreamweaver CS5 to build a business website.  For a brief overview, I'm using a 3 column layout, the left column is the nav bar, the middle has the product pictures and names.  The left cell is currently empty, but I'm trying to find a way to arrange it so that if someone clicks on a product, the right column displays the rest of the product info.  The best I can figure is an IFrame, but do I need JScript to make that work?  If so, what's a good command line for it.  So far I can't figure out how to set the source based on which link is clicked.

    Kinda miss the previous versions.  CS5 automatically fills in CSS and HTML at its own discression, which has been causing some irritating results off and on.  But as far as behaviors, there's no established server behaviors for that.  Would Javascript or .NET work better for not killing my browser compatibility?  I'm actually more of a software coder than web designer (hence my problems with HTML's limited code for behaviors), so I can probably write my own.  I'm thinking it might be easier to try a database set up and just have it linked so that whatever they click is loaded to the IFrame but I'm not sure how to go about that.

  • New Application using Kuler for PPTX Color Themes

    Hi @all,
    I just deployed the first public beta of my Kolor Theme Wizard. It's a Java based web application and you can search for Kuler Themes an download an Office Open XML presentation file with these colors defined as default accent colors. So you can use Kuler themes in Powerpoint without hacking hex color codes into your keyboard.
    I hope you enjoy it.
    Jens

    Please try this, let me know if it doesn't work.
    public void configureMarkups(boolean isGreenMarks) {
    System.out.println("***KPE*** configureMarkups()");
    System.out.println(" isGreenMarks: " + isGreenMarks);
    final MarkupBean mbean = this.getActiveVueBean().getMarkupBean();
    MarkupEntitySpec spec = mbean.getMarkupEntitySpec();
    if (spec == null) {
    System.out.println("***KPE*** Why is spec null?");
    spec = new MarkupEntitySpec(mbean);
    spec.setColor(isGreenMarks ? Color.GREEN : Color.RED);
    spec.setFillColor(Color.YELLOW);
    mbean.setMarkupEntitySpec(spec);
    For the future: please try limiting code snippets to only minimum relevant lines, otherwise it's very hard to come up with quick suggestions...

  • How to find out common values across records

    Example
    I have to query employee city information
    select distinct limitation_code from limitation where product_id in (1,2,3,4)
    each product can have 1 or more limitation code. I want to find common limitation code among all products. which occurs in all products.
    In put will be given using in operator not individually as this will be a subquery.
    Please anyone's help is appreciated.

    try:
    select distinct limitation_code from (
    select limitation_code, count(distinct product_id) over ()  prod_cnt,
           count(distinct product_id) over (partition by limitation_code) prod_lim_cnt,
    from limitation where product_id in (1,2,3,4)
    where prod_cnt = prod_lim_cnt

  • I received a text today while at work about iCloud keychain verification code. I have not signed up for it or anything that uses it. I work out of the city with limited internet access so not sure why I would be getting this. Is my info safe??

    I received a text today while at work about iCloud keychain verification code. I have not signed up for it or anything that uses it. I work out of the city with limited internet access so not sure why I would be getting this. I only got this number about a month ago. Apparently someone else had the number before because I get texts from his family members wondering whats going on. I got one yesterday and the person didn't seem to thrilled that the number was cutoff and today I got 2 texts about iCloud Keychain which I don't even know what it is. Seems suspicious to me. If the person who use to own the number is doing it he should know it is not his number anymore because he obviously didn't pay his bills.  I'm not too sure about iCloud Keychain so just want to know my info safe?? It says it can store credit card numbers which is what gets me worried. Frankly I think it's pretty stupid to save that kind if information with any kind of app. But I don't want some random person trying to access my personal information because they are bitter they lost their number.  Please let me know as soon as possible so I can change passwords or anything that is needed.
    thanks

    If it were me, I would go to my carrier and get a new number. Since you have only had it for a month, the inconvenience would be minimal.
    Barry

  • Limiting or control for Residual payment with reason codes

    Hi FI Gurus,
    When we are received or making payment to customer or vendor, sometimes we need to clear the invoice by receiving or making payments with small differences through residual payment. Is there any control for limiting residual payment.
    Lets have an example
    invoice posted for 1000
    customer dr 1000
    sales       cr  1000
    Partial payment recd 500
    cash/bank dr 500
    customer cr   500
    final payment received 350 and balanace amount adjusted with residual payment by defining reason code like rounding off difference. So in this case accounting entry will be
    customer cr 350  
    rounding off diff 150
    cash/bank 500
    being final payment agaisnt invoice
    My question:   Is there any way to restrict the residual payment like 10% or 20% of total invoice i.e. 100 or 200 and not more than 20% ?  other wise sometime user may adjust any amount may be 100000 through this way by putting the same reason code, which is not fair.
    I checked SPRO setting but i did not get anyt setting relating to above case.
    If any body know, please let me know? Thanks in advance
    Regards,
    Prakash

    Hi Lawerance,
    Thanks for reply.
    But I am looking for amount adjusted through residual with reason code. I dont think there is any limitation or control in the SPRO standard setting. Tolerance is preventing user to post document for more than a specific amount. But my question is something different.
    I want to control the user for adjusting amount from residual tab with selecting reason code. In other words user should not adjust more than some limit with residual payment by selecting reason codes. Thanks.
    Regards,
    Prakash

Maybe you are looking for

  • Failing with error code 8007002

    Attached please find the SMSTS log, I highlighted the error, the OSD worked from another location but failing in my physical location. G[401 - Unsuccessful with anonymous access. Retrying with context credentials.]LOG]!><time="14:16:49.670+300" date=

  • Need sap standard interactive adobe from

    Hi All, i need SAP provided standard webdynpro integrated interactive adobe form. I checked thread List of Adobe forms in SAP standard but standard form are listed there anymore. I found WDR_TEST_ADOBE but is not using normal process instead using as

  • Can't get menu.

    Okay...i installed openbox to use purely. Everythings good except i can't get a menu like i see it comes with. I've installed obmenu or w/e to configure it through gui look, but still get nothing when saving some menu'e. I guess should i just configu

  • How can I replace my ox 10.4.11 version to a later ox in my MacBook?

    How can I replace my OX 10.4.11 to a later version in my Mac Book?

  • Imbed Dynamic Content?

    I am new to RoboHelp (using ver 7) and just went through the excellent "Essentials of Adobe Robohelp 7 HTML". I have been tasked with something I did not find in the book...embedding dynamic content. In other words, can the Help output use an externa