Enhancing Create vehicle Action-with Zfields

Hi,
We included Zfields in a new structure and the same was appended in VLCVEHICLE and VLCACTDATA_ITEM_S.
These Z fields are  also inserted as attributes at item level in customization.
But these fields not capturing when we run Create vehicle action. If we included VHVIN, in action screen it is working but not zfields. Is there any thing we missing or BADI to be written.-
Thanks and Regards
Chidambaram

Hi Chidambaram ,
in VMS there is customization to assign additional data for vehicle. Here you can select as well specific actions.
In addition make use of BAdI Enhancement of Vehicle Data where the VLCDIAVEHI structure can be changed.
Best regards
Robert

Similar Messages

  • Getting error while creating Business Action with EDI EDIFACT 837 document.

    Hi,
    When I am trying to create a business action with EDI 837 ‘.ecs’ file, I am getting a error. It is not creating the business action. Even it is not displaying any error details.
    Please help me in resolving this issue as it's very urgent.
    Thanks in advance.

    Hi Jyotirmoy,
    What error you are getting exactly while creating the business action? Did you try to create business action for any other protocol? If not, then please try to create business action for any other protocol and check whether you are getting the same error over there also.
    Regards,
    Anuj

  • Crash when creating advanced action with "open URL"

    Hi there,
    my crash problem (captivate 5.5, win 7 64 bit, adobe PP CS6 installed):
    On one slide of my project, I have a slide video and a button at a certain point. First I created an advanced action (open URL in a new window and pause slide video). Then I saved the action and assigned it to the button. Til here, all was ok.
    Then, I wanted to change the URL in the advanced action.
    When I opened the created action, the "open URL"-parameter disappeared, but the table row was shown empy:
    Then I wanted to assign a new URL. After creating a new "open URL"-paramter I wanted to save the changes. And then captivate crashed with this fatal error:
    And from this time, every time I want to change - or even create a new action with the above mentioned parameters - captivate crashes.
    can anyone reproduce this error? Is this a bug (or a feature ;-), or did I something wrong?
    Thanks
    Markus

    Hi Aditya,
    thanks for your post.
    2. Create a new project and try the same thing
    I created a new project....same problem...
    If you face the same channel, then try recreating the Adobe Captivate preferences. Please follow the steps mentioned here :
    1. Close Adobe Captivate.
    2. Locate the preference folder:
            Windows Vista and Windows 7: C:\Users\[user name]\AppData\Local\Adobe\Adobe Captivate 5.5 folder
    3. Rename the preference folder.
    I didn't found a preference folder in the captivate 5.5 folder. Here is my captivate 5.5 folder:
    what to do now?? Now I am at a loss...

  • Action with a condition that checks for a survey filled in a transaction

    Hi!
    I need to create an action with a condition that checks if there is a survey filled in the complaint document.
    Is there any way to do it?
    Thanks a lot!
    Susana Messias

    Hi Siva,
    Thanks for the document.
    My scenario its the following:
    I have a complaint with a survey assigned to it. I need to create an action that creates a follow-up task to the person responsible when the status is equal to Completed and the survey it's not filled.
    I customized the action profile as you said, but the problem is to create a condition with the information about the survey. The field status it's ok to insert in a condition, but how about the survey?
    Any ideas?!
    Susana Messias

  • Create action with entered text?

    Is there a way to create an action in PS CS3 with the ability to type different words in the middle of the action?
    For ex, I have a series of steps, then need to save the image to 2 different sizes/resolutions, with a different name. So I want the action to run, stop where I type in the name for the hi-res, continue, then stop where I type in the name for the lo-res, then finish the steps desired. Is this possible?
    Thx!

    Just click the 'toggle dialog' box next to the action step 'save'´to make the action stop at the save interface.

  • How to create an rule with action to subtract from the event log of Ips manager express console?

    how to create an rule with action to subtract from the event log of Ips manager express console?, some knows of has an guide?.
    Thank you.
    Sent from Cisco Technical Support iPad App

    Hi,
    http://www.cisco.com/en/US/products/sw/secursw/ps2113/products_tech_note09186a0080bc7910.shtml
    HTH
    Luis Silva
    "If you need PDI (Planning, Design, Implement) assistance feel free to reach us"
    http://www.cisco.com/web/partners/tools/pdihd.html

  • Dynamic actions - how to create an infotype with a date - 1 day.

    Hi everyone,
    I need a requirement to change an infotype through dynamic action with ENDDA = BEGDA of maintaned infotype(0000) - 1 day.
    In other words when a  personel action is performed, another infotype (2001) should appear for change, and in the validity period of this infotype should end with the day before the start of the personel action.
    is it possible to achieive this using dynamic actions? how?
    Thanks!
    Stanislaw Adamski

    Hi Adamski,
    A dynamic action has the following components.
    Infotype Number (INFTY): specifies the infotype for which you want the dynamic action triggered
    Subtype (SUBTY): narrows the focus to a specific subtype
    Field Name (FIELDN): starts your action when a maintenance function is performed on a particular field
    Function (FC): specifies the various maintenance operations to which your dynamic action would respond. They are 02 (change); 04 (create); 06 (create and change); 08 (delete); 10 (change and delete); 12 (create and delete). Dynamic actions are only applicable in maintenance operations, not in display functions.
    Sequence Number (NO): refers to a sequential number.
    Step (A): specifies a particular type of action. No dynamic action is executed if the function character has a value other than one of the following:
                 P: Plausibility checks, which allow you to check certain conditions.          
                 I: Calls an infotype for processing
                 W: Called after the I statement and used to assign values to screen fields while creating or copying another infotype record through the I statement 
                  F: Calls a FORM routine (subroutines in ABAP) during your action. The routine may reside in or out the module pool MPNNNN00.
                 V: Lets you treat collectively a number of fields for which you want to define a common dynamic action
                  M: Sends SAP Office mail
    Variable function part: The variable function part along with the step indicator forms the core part of your action. It specifies the processing details when the dynamic action is triggered. For example: 
    you have to look for the scenario what you are planning tyo create .
    The maintenance of dynamic actions is done via the view V_T588Z, as shown in 1 (IMG menu path Personnel Management>Global Settings in Personnel Management>Basic Settings>Infotypes>Create Dynamic Actions
    Here you havev to use conditions INS for the infotype what you want to create..
    Please brief the light on the scenario.
    Warm Regards,
    Kapil Kaushal

  • Help with creating an action - anto fit an image in a specific pixel size

    I am trying to create an action that takes the image in question and fits it with a specific pixel dimension. Some of the images are more horizontal in orientaion (like a school bus) and some are more on the vertical end (Like a tall building) They all need to be fit within a canvas size of 260 px x 196px. They need to keep the images original aspect ratio. Is there a way to do this with a single action, or do I need to create an action for vertical oriented images and one for horizontal orientated images?
    I hope that makes sense.
    Thanks,
    Dean

    Photoshop also ships with a plugin to do that. In CS5 Adobe added an option to it to not resize images if they fit.  If you do not use that option small images will be resize up in size like the image processor script.  There was a bug in that option I do not know if Adobe fixed that bug yet they may have.  If not it easy to fix if you know a little javascript. The plug-in was changed from a compiled plug-in in CS2 and earlier to a Photoshop Script in CS3 when Adpbe added plugin support into the Photoshop Scripting feature. The plugin has built in action support so you can use it in an action. When the Action is played back no dialog will be displayed the values use while recording the action were recorded into the action step by the plugin and will be used unless you make the action interactive by turning on the steps dialog. The image processor script is not a plug-in so it can not be automated.
    The plugin is menu File>Automate>Fit Image.......

  • I need to create an action or script to save the file with the name of the selected layer

    I need to create an action or script to save the file with the name of the selected layer (not including the hidden layers, but including those visible).
    How could modify the script: 'Layer Comps To Files.jsx' to get the result?
    Warning: I do not need to export all layers as files.
    Who can help me?
    THX in advance

    Versione in Italiano (Further down the English version)
    NB - Nella versione inglese ho messo tutte le immagini dei menu in italiano.
    Versione per Mac, ma credo sia identico per Windows.
    Spiego passo passo cosa ho fatto:
    - Ho creato un file esempio con tre Livelli, salvato sulla scrivania e ho chiuso il file.
    - Ho aperto il file e selezionato il Livello al centro per iniziare a registrare una azione che ho chiamato: Save with Name of Selected Layer
    - Nuova azione
    - Dare il nome e premere Registra
    Ora salva…
    - Menu --> Livello --> Nuovo --> Livello... e premi -ok-, (lascia il nome che viene mostrato)
    - Ancora una volta Menu --> Livello... --> Nuovo --> Livello... e premi -ok-, (lascia il nome che viene mostrato)
    - Menu --> Livello --> Ordina --> Dietro
    - Menu --> Livello --> Unisci sotto
    - Menu --> Livello --> Unisci visibili
    - Menu --> Livello --> Nuovo --> Livello... e premi -ok-, (lascia il nome che viene mostrato)
    - Menu --> Livello - Nascondi Livello
    - Menu --> Elimina --> Elimina livelli nascosti (press -Yes-)
    - Menu --> Livello --> Nuovo --> Livello... Inserisci questo: 'Move this to the trash' e premi ok
    - Menu --> File --> Script --> Esporta Livelli in File... (Nella finestra che si apre scegliere l’opzione che si desidera, ma togliere il prefisso del nome) e premere -Esegui-
    - Selezionare il pannello Storia cliccare su Elimina premendo -Si- ogni volta che si apre la finestra di dialogo (Ripetere 8 volte questa operazione sino ad arrivare nella storia alla condizione di partenza. Ho visto che è meglio di Ripristina -F12-)
    - Fermare la registrazione.
    A questo punto, mandando in esecuzione questa Azione, ho raggiunto parzialmente l’obiettivo perché i file così creati mantengono, purtroppo, dei prefissi numerici per evitare probabilmente la sovrascrizione di file (credo senza avviso) nel posto dove vengono creati.
    Per ottenere l’obiettivo occorre un nuovo passo ed a proposito di questo riferisco quanto segue:
    ATTENZIONE - L’operazione descritta qui di seguito deve essere fatta su di una copia del file, per cui:
    - Duplicare il file,
    - Spostare l’originale in altra cartella
    - Lavorare sul file duplicato.
    mi riferisco a questo...
    ATTENZIONE - Questa modifica è effettuata a proprio rischio e pericolo ed il sottoscritto non si assume alcuna responsabilità su quanto venga fatto soprattutto da mani inesperte.
    ATTENZIONE - Questa modifica sovrascrive qualsiasi file che abbia nome uguale al layer che viene selezionato più l’estensione del file naturalmente.
    Comunque la modifica è banalissima e a portata di chiunque.
    Procedere così:
    - Chiudere Photoshop
    - Aprire (nel percorso specificato dall’immagine) il file “Export Layers to Files.jsx” (Export Layers To Files.jsx 1.0.0.16) con un editor di testo puro.
    - cercare la stringa (dovrebbe essere in riga 1029)
    var fileNameBody = fileNamePrefix;
    fileNameBody += "_" + zeroSuppress(i, 4);
    fileNameBody += "_" + layerName;
    - sostituirla con:
    var fileNameBody = fileNamePrefix;
    fileNameBody += layerName;
    - cercare la stringa (dovrebbe essere in riga 1047-46)
    var fileNameBody = fileNamePrefix;
    fileNameBody += "_" + zeroSuppress(i, 4) + "s";
    - sostituirla con:
    var fileNameBody = fileNamePrefix;
    fileNameBody += "";
    - salvare e uscire.
    - riavviare Photoshop
    - provare l’azione registrata facendo attenzione che il nome del layer non sia identico al nome di un file già presente altrimenti questo verrà sovrascritto.
    Domanda:
    Perché ho creato livelli che poi ho eliminato ecc.
    Risposta:
    Semplice per evitare errori di esecuzione delle azioni nel caso di operazioni con livelli mancanti o altro.
    Semplice... no?
    English version
    Mac version, but I think it's the same for Windows.
    First of all, I'm translating the actions that I made using the Italian version of Photoshop, you look at the position of the menu that I have chosen to do the work with other languages.
    I explain step by step what I did:
    - I created a sample file with three layers, saved to the desktop and I closed the file.
    - I opened the file and select the layer at the center to start recording an action that I called: Save with Name of the Selected Layer
    - New action
    - Give the name and press Save ( I think it is so in English )
    Now save ...
    - Menu -> Layer - > New —> Layer… and press -ok- , (leave the name that is shown)
    - Once again Menu -> Layer - > New —> Layer… and press -ok- , (leave the name that is shown)
    - Menu -> Layer - > Arrange (order) -> Behind
    - Menu -> Layer - > Merge Down
    - Menu -> Layer - > Merge Visible
    - Menu -> Layer - > New —> Layer… and press -ok- , (leave the name that is shown)
    - Menu -> Layer - Hide Layer
    - Menu - > Delete - > Delete hidden layers (press -Yes- )
    - Menu -> Layer - > New —> Layer… Enter this: ' Move this to the trash ' and press ok
    - Menu -> File - > Scripts -> Export Layers To Files... (In the window that opens select the option you want, but take away the name prefix) and press - Run -
    - Select the History panel and click Delete (on menu opened) pressing -Yes- every time when open the dialog box (8 times Repeat this step until you get into the story to the starting condition. Not use Restore -F12-).
    - Stop recording.
    At this point, by executing this action, I have reached the goal partly because the files created in this way remain, unfortunately, the numerical prefixes to avoid possibly overwriting of files (I think without notice) in the place where they are created.
    To achieve the goal we need a new step and thinking about this as follows:
    WARNING - The operation described below should be made on a copy of the file, so :
    - Duplicate the file
    - Move the original folder to another
    - Work on the duplicate file.
    WARNING - This modification is performed at your own risk and the undersigned assumes no responsibility on what is done mostly by inexperienced hands.
    WARNING - This change will overwrite any files with the same name as the selected layer plus the file extension of course.
    However, the change is trivial and within reach of anyone.
    Proceed as follows:
    - Close Photoshop
    - Open (in the specified path from the image ) file " Export Layers to Files.jsx " (Export Layers To Files.jsx 1.0.0.16) with a pure text editor.
    - Search for the string (should be in line 1029 )
    var = fileNameBody fileNamePrefix ;
    fileNameBody = + "_" + zeroSuppress (i, 4 ) ;
    fileNameBody + = "_ " + layerName ;
    - Replace it with :
    var = fileNameBody fileNamePrefix ;
    fileNameBody + = layerName ;
    - Search for the string (should be in line 1047-46 )
    var = fileNameBody fileNamePrefix ;
    fileNameBody + = "_ " + zeroSuppress (i, 4) + "s" ;
    - Replace it with :
    var = fileNameBody fileNamePrefix ;
    fileNameBody + = "";
    - Save and exit.
    - Restart Photoshop
    - Try the recorded Action, making sure that the layer name is not identical to the name of an existing file otherwise it will be overwritten.
    Question:
    Why I created levels which I then deleted etc..
    Answer:
    Simple to avoid errors of execution of the actions in the case of transactions with missing levels and other.
    Simple ... is not it?
    Sorry for my bad English...
    Thanks in advance for any hint.
    --->>> Please think about this... Adobe <<<---

  • How can I create Droplets using Actions with several Stops?

    My Droplets (using Actions but with several Stops) work very nicely when using a single image source. However when using multiple images thing start to go crazy.
    At the first stop on the first image a pop-up emerges asking me to continue to the next image or stop. If I select stop I can continue with the Action for this first image and complete the Action on that first photo.
    If I select continue it halts the action on that photo at the first stop then opens the 2nd image and repeats the action to the first stop on the next photo then the pop-up appears again and the cycle repeats.
    How can I create Droplets using Actions with several Stops?

    I don't believe this is possible when starting from Java. I think you need to start with a WSDL to get this to work. I am curious as to why having multiple WSDLs is an issue, would you care to eloborate.
    Thanks

  • Hiring action with reference Pernr via HR_MAINTAIN_MASTERDATA

    Ciao,
    I need some help to solve the following problem:
    I get all needed data for an hiring action via external interface and need to perform the hiring action with HR_MAINTAIN_MASTERDATA by passing a reference personel number to the function.
    my problem: theres no chance to pass the parameter RFPNR to HR_MAINTAIN_MASTERDATA and so the function does not link the new PERNR to the CP of the RFPNR
    therefore, the function creates a new employee with a new central person (CP) instead of linking the new employee to the central person of the passed RFPNR and copying the relevant infotypes
    my question: does somebody know how to make HR_MAINTAIN_MASTERDATA work with the reference Pernr (RFPNR) ?!
    alternatively I could delete the link between the new employee and it's (new) central person, insert a new link between the central person of the referenced employee and the new employee and delete the crfeated central person of the new employee.
    as result I would have correct links to the CP BUT I'm facing the problem, that the infotypedata of the CP was not taken over to the new linked employee ...
    is there any function or report, that copys relevant data (infotypes) from a central person to it's linked employees (PERNRs) ?!
    would be nice if anyboday could help me or give me a small hint
    thanks,
    Markus

    I found the solution by myself ....
    Problem: hr_maintain_masterdata crashes with shortdump while writing an hiring action.
    Cause: we implemented infotype enhancements via userexit where parameter VIEKN is queried. The parameter VIEKN is saved in infotype 3.  In LUW-mode 3 theres no existent IT0003 when hiring a person (because nothing is written to database) that causes the shortdump ...
    solution (workaround): First I have to call maintain_masterdate just with infotype 0000 (without reference pernr!) ... that triggers the creation of it0003 by the system itself ... then I have to call a second maintain_masterdata with all the other infotypes of the action and everything works fine! Now the new person is in the system and while creating the person, the system also created a new central person and a link between the new CP and the new person.
    after doing this (and did'nt get any failure!) I have to determine the central person (CP) of the referenced person, making a new link between the new person and the referenced persons CP, deleting the link between the new person an d the new CP, deleting the new cp and every thing works fine!!!! the reason for this is: infotype 31 just shows the "links" that are defined in OM
    if anybody is interested in more details, just contact me
    Edited by: Raabiat on Apr 4, 2011 11:35 AM

  • Recording actions with zoom and screen mode

    PS CS6 under Win7 x64Pro
    Very long time Photoshop use and one-time programmer. OK with the process of creating actions, but haven't written any PS scripts.
    I do lots of retouching of old B&W photographs. My initial setup after opening a new image is always the same:
    Create new layer and assign same name each time.
    Zoom to actual pixels.
    Home key to move to top left.
    F key to set view to full screen with menu bar (to stop inadvertent scrolling when near the edge of the window).
    and finally select the Healing Brush.
    I have tried to create an action to do all the above, but when I try recording one (either using shortcut keys or menus) it only registers the create and name-layer elements and ignores the rest.
    How can I automate the whole set?

    akribie wrote:
    For completeness, it is only possible to include tool selections when recording an action if "Allow Tool Recording" is enabled in the Action panel flyout menu, which is not the default.
    All now working fine except for the final HOME step, which I haven't managed to record. But I can live with that.
    No some tools can be recorded being selected via using/recording their shortcut key.  However all can not perhaps because the shortcut key may be ambiguous because you can shift+Shortcut between a group of tools that have the same shortcut key so the shortcut by itself would select the last active one in the group whichever that happens to be. The tool bar tool Button Icon also changes with tool use.   However Tool presets are not ambiguous they identify the exact tool and the settings for the tool use.  That is why I wrote to create a tool preset and record selecting that preset in your action.
    "Allow Tool Recording" is not very useful, is not well implemented and in fact will be disabled if you install Adobe Scriptlistener Plug-in.  The "Allow Tool Recording"option  will record tool usage. ie record your brush strokes.  How much data get recorded seems to be a function of your machine processing power. So actions recorded on a powerful machine would swamp less powerful machines. Also brush stroke relate to document size and zoom level color etc. Some settings are not even captured and documents vary in size. So the feature would only work for documents the same size and when you record the  things and setting the option fails to capture in the recording. IMO Adobe wasted time and money developing that feature that is of so little use and value. I install the Scriptlistener Plug-in do not mind that allow tool recording is not an option I have.  For I have never use it or even downloaded a useful action that used the allow tool recording feature. I looked at tool recording when Adobe first announced the new feature recorded some actions then categorized the feature as useless.
    I don't understand your final Home step what you trying to do.
    Crafting Actions PackageUPDATED Aug 10, 2014 Added Conditional Action steps to Action Palette Tips.
    Contains
    Action Actions Palette Tips.txt
    Action Creation Guidelines.txt
    Action Dealing with Image Size.txt
    Action Enhanced via Scripted Photoshop Functions.txt
    CraftedActions.atn Sample Action set includes an example Watermarking action
    Sample Actions.txt Photoshop CraftedActions set saved as a text file.
    More then a dozen Scripts for use in actions
    Example
    Download

  • Automator action with dropdown to make folders with predetermined names

    Is there an action/workflow that will allow me to create Folders using a dropdown menu of predetermined names for those folders?

    I haven't seen one, and since no one has posted about one yet, I'll throw this out.
    I modified a couple of handlers I have laying around into a Run AppleScript action that will make folders from a list of names. The list can be set in a Get Specified Text action, with the "menu" being a Choose from List action:
    Tested workflow:
    1) Get Specified Text (your folder names, separated by returns) for example:
    Testing
    Another test
    My Spiffy New Folder
    2) Filter Paragraphs (Return paragraphs that are not empty)
    3) Choose from List (Prompt: Please choose folder names:)
    4) Run AppleScript:
    <pre style="
    font-family: Monaco, 'Courier New', Courier, monospace;
    font-size: 10px;
    margin: 0px;
    padding: 5px;
    border: 1px solid #000000;
    width: 720px; height: 340px;
    color: #000000;
    background-color: #FFDDFF;
    overflow: auto;"
    title="this text can be pasted into an Automator 'Run AppleScript' action">
    on run {input, parameters}
    make folders with names from a list
    input: a list of names (text items)
    output: a list of Finder items (aliases) created
    set output to {}
    set DestinationFolder to missing value -- set the destination path here if desired
    try -- verify that the path is valid
    set DestinationFolder to DestinationFolder as alias
    on error
    set DestinationFolder to (choose folder with prompt "Choose the location to make the selected folders:")
    end try
    repeat with AnItem in the input
    GetUniqueName for AnItem from DestinationFolder -- avoid duplicates
    try
    tell application "Finder" to make new folder at DestinationFolder with properties {name:the result}
    set the end of the output to the result as alias
    end try
    end repeat
    return output
    end run
    to GetUniqueName for SomeName from SomeFolder
    check if SomeName exists in SomeFolder, creating a new unique name if needed
    parameters - SomeName [text]: a name.extension to check for
    SomeFolder [mixed]: a folder to check
    returns [text]: a unique name
    set {Counter, Divider} to {"00", "_"}
    set Here to -(offset of "." in ((reverse of text items of SomeName) as text)) - 1
    set TheName to text 1 thru Here of SomeName
    if Here is -1 then -- no extension
    set TheExtension to ""
    else
    set TheExtension to text (Here + 1) thru -1 of SomeName
    end if
    set NewName to TheName & TheExtension
    tell application "System Events" to tell (get name of items of folder (SomeFolder as text))
    repeat while it contains NewName
    set Counter to text 2 thru -1 of ((100 + Counter + 1) as text) -- leading zero
    set NewName to TheName & Divider & Counter & TheExtension
    end repeat
    end tell
    return NewName
    end GetUniqueName</pre>
    - the output from the Run AppleScript action is a list of aliases to the folders created, if you want that information to do something with.

  • Dynamic action with set value on date field

    Hi,
    I'm using APEX 4.02
    I'm trying to calculate the age based on the date of birth dynamically on a form. I'm trying to do this with a (advanced)dynamic action with set value.
    I'm able to get this kind of action working based on a number field etc, but NEVER on a date field.
    I've read all posts on this subject but so far no solution. Even if I try to simply copy the value over to another date field or typecast it to a string ( to_char function ) it does not work. So for me the problem seems to be in the source field being a date field.
    I've tried using the source value as is in a select statement :
    select :P33_GEBOORTEDATUM from dual;
    and also type casted based on the date format :
    select TO_DATE(:P33_GEBOORTEDATUM,'DD-MON-YYYY') from dual
    but still no luck.
    On the same form I don't have any issues as long as the calculation is based on number fields, but as soon as I start using dates all goes wrong.
    Any suggestions would be greatly appreciated. If you need any extra info just let me know.
    Cheers
    Bas
    b.t.w My application default date format is DD-MON-YYYY, maybe this has something to do with the issue .... ?
    Edited by: user3338841 on 3-apr-2011 7:33

    Hi,
    Create a dynamic action named "set age" with following values.
    Event: Change
    Selection Type: Item(s)
    Item(s): P1_DATE_OF_BIRTH
    Action: Set value
    Fire on page load: TRUE
    Set Type: PL/SQL Expression
    PL/SQL Expression: ROUND( (SYSDATE - :P1_DATE_OF_BIRTH)/365.24,0)
    Page items to submit: P1_DATE_OF_BIRTH
    Selection Type: Item(s)
    Item(s): P1_AGE
    Regards,
    Kartik Patel
    http://patelkartik.blogspot.com/
    http://apex.oracle.com/pls/apex/f?p=9904351712:1

  • Action with start condition always triggers

    Functionality required: "when its 4 days from the actual date an
    Audit is to take place an e-mail should be triggered to the
    audit attendees"
    I have created a new date rule (4 days before - reminder) and
    added this date rule to the date profile 000000000003.  I am
    using this date profile in my actions and have set a new start
    condition to trigger an e-mail alert when "todays date" = my new
    date rule.  I have set up scheduled conditions which are met.
    when i create transactions which meet both the scheduled and
    start conditions (from my perspective) the action is getting
    triggered to send the e-mail reminder.  My new date rule is as
    follows:
    <?xml version="1.0"?>
    <TimeRule>
       <TimeRuleSource>
          <ruleline>
             <AssignTimeExp displaytype="AssignTime">
                <VarTimeExp displayType="VarTime"
                                   name="RESULT"
                               position='B'>
                  <VarObjectExp displaytype="VarObject"
                                    name="SYSTEM"/>
                </VarTimeExp>
                <MoveTimeExp displaytype="MoveTime" direction="-">
                   <VarTimeExp displayType="VarTime"
                                      name="ORDERACTUAL"
                                      position="B">
                     <VarObjectExp displaytype="VarObject"
                                    name="SYSTEM"/>
                   </VarTimeExp>
                   <ConstDuraExp displaytype="ConstDura"
                                    duration="4" timeunit="DAY">
                      <VarObjectExp displaytype="VarObject"
                                    name="SYSTEM"/>
                   </ConstDuraExp>
                </MoveTimeExp>
             </AssignTimeExp>
          </ruleline>
       </TimeRuleSource>
    When i test it using various dates it seems to work as expected, it returms false when it should fail and true when it should suceed  When tested from within the date rule for the FROM and TO date for todays dates i get the following:
    Deadlines
    Appointment Type RESULT
    From SA 10.02.2007 14:27:52 GMTUK
    From
    Appointment Type ORDERACTUAL
    From WE 14.02.2007 14:27:52
    To WE 14.02.2007 14:27:52
    Duration
    Reference Objects
    SYSTEM GMTUK CL_TIMECALENDAR_SIMPLE
    In my start condition i am testing for my date rule (4 days
    before - reminder) = todays date. 
    Can anyone explain why my start condition is always being triggered
    Thanks in advance
    Ed

    Hello Easwar Ram,
    Thanks for your reply.
    No, I didn't create an Action Profile. I use standard profile: /SCWM/TU (Shipping & Receiving - Transportation Unit).
    I only have created a new Action Definition, Schedule and Start Conditions for this Definition. All work correctly with the exception of the button 'Start Condition Parameter'.
    I don't know why the button appears because I didn't define a Condition Parameter for the Start Condition. And when I click on this button I get an error in standard SAP code:
    1) li_bor_object ?= l_context->appl.
    2) ls_bor_handle = li_bor_object->get_bor_object( ip_objtype = l_objtype ).
    L_context->appl has value '' in the debugger. After line 1 the value of the li_bor_object is '' therefore line 2 terminates the transaction with error.
    Maybe this occurs because the Action Profile uses a Persistent Class for Object Type instead of a Business Object Repository?

Maybe you are looking for