Using the functional methods with workflows

Hi All,
I'm passing the plant number to a workflow by triggering an event in a user-exit. The workflow uses a functional method of an ABAP class and retrives the plant details. While binding the functional method back to the workflow, the binding includes a partial expression like this..
&_WI_OBJECT_ID.PLANT(W_PLANT=)&
Here, if I give &_WI_OBJECT_ID.PLANT(W_PLANT='1000')& I get no error and the details of plant 1000 are retrived successfully. How do I pass this value dynamically?
Regards
Indu.

Aditya,
Thanks for your input. But there were no start conditions.
The import parameter should be filled in the partial expression as &PLANT& which was not taking its value earlier. But now, its working. Thanks anyway.
Regards
Indu.

Similar Messages

  • Using the Function:: Method for Spry Processing

    i have read the relevant article (
    http://labs.adobe.com/technologies/spry/samples/data_region/Function_colon.html)
    and have successfully managed to format as currency my price data
    in my spry table.
    what syntax do i need to format dates ? and is there a
    general reference i can look at for creating similar finctions ?
    regards

    There isn't a general reference, mainly because there are a
    wide variety of date formats ... but I suppose any sample would be
    better than none.
    In any case, what is your date format in your data, and what
    is the format you want it to look like in the output?
    An example would be:
    function FormattedDate(region, lookupFunc)
    // Get the date column which is in the format "20090120"
    // and format it so it looks like "01/20/2009".
    return
    lookupFunc("{date}").replace(/(\d\d\d\d)(\d\d)(\d\d)/, "$2/$3/$1");
    <div
    spry:region="ds1">{function::FormattedDate}</div>
    --== Kin ==--

  • How to use the class CL_CTMENU with the method DISABLE_FUNCTIONS

    Hi Friends,
    How to de-activate some functions in the Menu bar?
    Eg: - Sales document
                 Create
                 Change
                 Display
    I want to de-activate "Change"
    In other words: - How to use the class CL_CTMENU with the method DISABLE_FUNCTIONS in my program.
    Regards,
    Hari
    Edited by: Bhatlapenumarthy Hari Krishna on Jun 9, 2008 5:22 PM

    Krishna,
    It is not possible to deactivate the CHANGE option in themenu bar using the method disable_functions of cass CL_CTMENU. This method allows you to deactivate only the function codes of the CONTEXT MENU, which is available only when u press the left mouse button.
    U can use the SET PF-STATUS 'XXX' EXCLUDING fcodes option to disable the CHANGE.
    *****Reward points if useful
    Regards,
    Kiran Bobbala

  • I have a photo of an ice surface and another of a flower. Now I want to create a merged photo with the flower lying under the ice. I understand that I shall use the function "Layer" and have even read in the manual and looked on a video, but that informat

    I have a photo of an ice surface and another of a flower. Now I want to create a merged photo with the flower lying under the ice. I understand that I shall use the function "Layer" and have even read in the manual and looked on a video, but that information is not sufficiently detailed for me. I have tried several options, but I come now way. Generally it seems that your information is only for the ones who can, not for the people who can´t although it is we who really need to learn. Please give me a step by step (click by click) information on how I can get the ice above the flower and then make the ice partly transparent so the flower is seen underneath. Please send me an e-mail Erik Solbu [email protected]

    Open a new document big enough for your image. Then additional open your ice and flower image as well. Copy each and paste it into your blank document. They will be placed on their own separate layers.
    Make sure in your layers panel. (Bottom right) the ice is above the flower, by dragging it in place. In that same layers panel click the ice layer to select in and find the opacity meter above. Drag to the left until you get the effect you desire.

  • How to know the size of the string with out using the length() method

    i want to find the lenght of the
    String s="Sudha";
    with out using the lenght() method.

    Not true (I mean the part about "The only String
    call"). But if it had been true, I might haveagreed
    with this:
    Assuming one uses the 'exception' approach thenwhat
    method other than charAt() is needed?I probably misunderstood your post, I thought you
    meant that the only alternative to length() would be
    charAt() and catching the exception.There are many ways and if the teacher had said find 5 ways of finding the length of a String then I would have fealt happier because it would have meant the student would have to read and study the whole of the String API.
    I like
    int length = (s+"sabre").lastIndexOf("sabre");

  • I have an ipod touch 3rd gen.I used the function of erasing all content and settings and now i am stuck on this screen with the apple logo and a loading sign for the past 17 hours.CAN SOMEONE PLEASE HELP!!!!!!!!!!!!

    i have an ipod touch 3rd gen.I used the function of erasing all contents and settings and now i am stuck with this screen showing the apple logo and the loading sign for the past 17 hours.CAN SOMEONE PLEASE HELP!!!!!!!!!!!!

    Hold down the on/off button and the home button for 20 to 30 sec, when the iPod starts and the Apple logo is on the screen release the on/off button but continue to hold the home button until you see the plug into iTunes screen.  Connect the iPod to iTunes and you should be good to go.

  • How do I use the find method to find multiple items in a single paragraph?

    I am desigining a script to find any instances where ctrl+b and ctrl+i are applied to body text and then replace those character format overrides with Italic or Bold chartag.  Here's what the script is supposed to do:
    put the find method in a while loop that searches for character format overrides.
    If a character format override is found, pass the text range returned by the find method and the CharPropsChange flag to the GetTextForRange method.
    Use a boolean compare between the idata of the text item to the character angle and character weight constants.
    Whichever boolean evaluates to true, then use the SetTextProp method to set properties of the text range to the properties of the italic or bold character tag.
    This script does work on the first character format override found however it ignores any other overrides in the same paragraph. The cause of this is that the while loop updates the text loc that the find method uses to the next paragraph in flow. I suspect that i need to add an inner loop that goes through all the text in a single paragraph, where at teach iteration the text loc used by the find method is based on the same paragraph but the offset is modified. I am just not sure how to do that.
    function removeOverrides (pDoc)
        var vDocStart = pDoc.MainFlowInDoc.FirstTextFrameInFlow.FirstPgf;
        var vBoldFmt=getCharFmt (pDoc, 'Bold')
        var vItalicFmt=getCharFmt (pDoc, 'Italic')
        initFA_errno ();
        while (FA_errno==Constants.FE_Success)
            var vTextLoc = new TextLoc(vDocStart,0);
            var vFindParams=findOverrideParams (pDoc);
            var vTextRange=pDoc.Find(vTextLoc,vFindParams);
            if (vTextRange.beg.obj.ObjectValid())
                var vTextItems=pDoc.GetTextForRange (vTextRange, Constants.FTI_CharPropsChange)
                if (vTextItems.length==!0 )
                    if (vTextItems[0].idata==Constants.FTF_WEIGHT)
                       pDoc.SetTextProps (vTextRange, vBoldFmt.GetProps())
                    if (vTextItems[0].idata==Constants.FTF_ANGLE)
                       pDoc.SetTextProps (vTextRange, vItalicFmt.GetProps())
                    } else (Log (vLogFileName, '\nERROR: No items were found in the text format array but format override was found: '+pDoc.Name))
            vDocStart=vDocStart.NextPgfInFlow;
    function findOverrideParams (pDoc)
        var vFindParams = AllocatePropVals(1);
        vFindParams[0].propIdent.num = Constants.FS_FindObject;
        vFindParams[0].propVal.valType = Constants.FT_Integer;
        vFindParams[0].propVal.ival = Constants.FV_FindCharacterFormatOverride;
       return vFindParams;

    Hi Rick,
    Well, following up on the previous posting, I actually did figure out how to make it work but it seems rather inefficient. I can insert a new paragraph right after the paragraph that has the table anchor but when i cut the table, i also cut the paragraph i just created. So to get around that, I create two paragraphs, so that there will be one paragraph left after i do the cut and that is the paragraph that I paste the table into. Once the table is pasted into the new paragraph, I delete the other paragraph that I created.
    Here's the updated code from the for loop:
    var vTbl = vDoc.GetUniqueObject(Constants.FO_Tbl, vTextItems[i].obj.Unique);                 
    var vAnchorPgf=vDoc.NewSeriesPgf (vTbl.TextLoc.obj)      
    var vAnchorPgf2=vDoc.NewSeriesPgf (vAnchorPgf);        
    var vAnchorTextLoc=new TextLoc (vAnchorPgf2, 0);             
    var vTblTextRange=new TextRange ();        
    vTblTextRange.beg.obj=vTbl.TextLoc.obj;       
    vTblTextRange.beg.offset = vTbl.TextLoc.offset;        
    vTblTextRange.end.obj=vTbl.TextLoc.obj;        
    vTblTextRange.end.offset = Constants.FV_OBJ_END_OFFSET                 
    vDoc.TextSelection=vTblTextRange;        
    vDoc.Cut (0);                
    vTblTextRange.beg.obj=vAnchorTextLoc.obj;        
    vTblTextRange.beg.offset = 0;              
    vTblTextRange.end.obj=vAnchorTextLoc.obj;       
    vTblTextRange.end.offset =0;                 
    vDoc.TextSelection=vTblTextRange;       
    vDoc.Paste (0);                   
    vAnchorPgf2.Delete();        

  • Adding a pre-existing podcast to iTunes U using the feed method.

    While trying to add another pre-existing CSULB podcast to our CSULB on iTunes U (using the "feed" method), I encountered an error message that I don't know how to interpret.
    Can you help me with this or is there somebody else at Apple I should work with?
    The pre-existing podcast is at: http://www.ccpe.csulb.edu/citt/podcast/feed.aspx
    The error message reads:
    "While attempting to download. . . iTunes U encountered an authorization error and could not update the content. Verity your authorization access to the feed specified in the feed URL field, including the user name and password permissions, and then try again."
    I have no idea what this means. Can someone please help?
    Walter

    bgerth wrote:
    Is anyone using Podcast Producer 2 to publish content on iTunes U, and if so, does it work reasonably well (do you recommend using it)?
    Its spiffy. I like it, but I'm a softie when it comes to Apple stuff.
    Am I correct in thinking Podcast Producer 2 can only be used to create an RSS feed to point to podcasts stored in its Podcast Library or can you use Podcast Producer to upload files into our institutional iTunes U storage space (yes we are fortunate to have access to Apple's 500 GB storage space)?
    You can choose to do either. Although I haven't seen anything official, I suspect that Apple prefers the use of Podcast Library…but that's just a preference, not any sort of recommendation or future direction. In the end, I suggest (and I think Apple would agree) that you do what makes the most sense for you. For example, we choose to do it both ways.
    Can you provide a link to instructions (or explain how to either identify in iTunes U that the podcast is in Podcast Producer's Podcast Library as an RSS Feed or how to upload the podcast from Podcast Producer to a specific tab in a specific iTunes tab.
    I believe someone (a friend from Apple…??) released a PcP workflow action that deals with iTunes U the same way as PcPv1 did. Overall, though, probably the best kept PcP secret is that Podcast Producer is a generalized workflow solution. Sure, it's cast as a podcasting solution…but if you can get OS X Server to do something, you can get Podcast Producer to turn it into a workflow…anything. Since OS X Server can be scripted to upload content to iTunes U, Podcast Producer can handle that too.
    I appreciate any information given as I have tried with little success to find this information in either the iTunes U or Podcast Producer Admin guides.
    Thanks!!
    BGerth

  • Using the onFocus method in a servlet

    Hi,
    I have embedded html in a servlet. I am using a text field to call the onFocus method with the following code:
    out.println("<input type='text' name='name' value='0' onFocus='if(this.value=='0')this.value=';'>");
    If I was using straight html with no servlet this works fine. When the user clicks on the field the default value is automatically erased.
    Why will this not work in a servlet?
    I have also tried calling a javascript function. Please note that I successfully use javascript with input type 'button' to render a pop up window with dimensions. So my javascript inside a servlet works elsewhere.
    Thanks VERY MUCH for your time
    Rick

    i agree you use JSP. However if this is inevitable, values in generated html code sometimes cannot be read properly unless you have tried to toggle (not necessary change the value) them..
    you can try them by adding making this run somewhere in you page
    function init() {
    alert(document.frmName.name.value);
    window.onload = init;
    replace frmName with the name of your form. When the page is loaded it will alertan undefined value...which means the value of your control is not yet defined. However, if you do this
    function init() {
    document.frmName.name.value = 0;
    window.onload = init;
    your onfocus method will now work. try it..

  • I want to use the Function Generator VI to send command signals through the NI 7344 motion controller. This will be a closed loop servo valve system. I want to be able to change from say a square wave to a sine wave on the fly. Idea's?

    I am going to run tests that require an actuator to move using various types of arbitrary waveforms such as sine or square. The NI 7344 is hooked to the UMI that is going through a driver for a servo valve. The loop is analog and it is closed. I have played with some of the examples but can't get it to work. I have used the function generator VI to generate a signal but I think I am using the wrong input VI to the motion control board. When I use what I have it moves the servo and then stops. It doesn't continually generate the signal.
    I would love to use the controls on the function generator vi to control frequency and amplitude ect. Any help or pointer would be helpful. Thank you in advance.

    Hello,
    I'm not clear on exactly how you want to use the generated data but I'm assuming they will be used as your target points.
    There's a built-in example for motion called 'One-Axis Contour Move.vi'. This example demonstrates how to provide your target points as 1-D array. All you need to do is to replace the input array with the output of the function generator. In order to have it run continuously, use a while loop. You can further program your application so that it'll change the waveform on the fly by monitoring the user interface but this might be little little tricky as you will need to reset the move and load the new generated points while keeping track of your current position.
    I hope this helps. Let me know if you have further questions regarding this
    application.
    Best regards,
    Yusuf C.
    Applications Engineering
    National Instruments

  • There is no printer output when using the PrintOut method

    I have a VB6 app with CR XI, and a customer found a situation that when printing a report directly to the printer using the PrintOut method, there is no printer output or error message.
    Some reports using the same code print normally, but a report that is preceded by another print call, presents this behavior.
    And when the output is directed to the screen, we can see the report.
    Could someone give me an idea of what is the problem?
    Thanks,
    Isis
    SP - Brazil
    The code used is below:
                       Set rpt = applic.OpenReport(App.Path & "SEFoto" + TipoRPT + ".rpt")
                       rpt.FormulaSyntax = crCrystalSyntaxFormula
                       rpt.FormulaFields.GetItemByName("Empresa").Text = "'" + Company + "'"
                       rpt.FormulaFields.GetItemByName("Idioma").Text = "'" + Idioma + "'"
                       rpt.FormulaFields.GetItemByName("Versao").Text = "'" + Versao + "'"
                       ' ... Some lines to compose the selection formula
                       rpt.RecordSelectionFormula = Cond
                       ' To evaluate the image length:
                       Arq = rsTMP3!FT_Arquivo
                       ImageScaling = FatorDeReducao(Arq, "F")
                       ' To reduce the image length:
                       AchouOLE = False
                       For Each oSection In rpt.Sections
                           For Each oObject In oSection.ReportObjects
                               If oObject.Name = "PictureFoto" Then
                                  Set oOleObject = oObject
                                  AchouOLE = True
                                  Exit For
                               End If
                           Next oObject
                           If AchouOLE Then Exit For
                       Next oSection
                       With oOleObject
                            .Suppress = True
                            .XScaling = ImageScaling    ' 0.5 = 50%, 1 = 100%
                            .YScaling = ImageScaling
                            .Suppress = False
                       End With
                       Aguarde.Show 1
                       If DestinoRel = 9 Or DestinoRel = 1 Then ' Padrão ou impressora
                          rpt.PrintOut True              ' <<<---- Here using true or false nothing happens
                       Else
                          PrintRPTtela rpt, "Fotos"   ' <<<--- Here it works fine
                       End If

    Hi Isis,
    Not sure if you have applied any service Packs to CR? If please do so and test again. Then you can upgrade to CR XI R2 for free, use your XI Keycode and download Service Pack 4 from this link:
    https://smpdl.sap-ag.de/~sapidp/012002523100011802732008E/crxir2_sp4_full_build.exe
    You'll find the distribution files for your app also from that same download area.
    If you don't want to upgrade to XI R2 then download all patches from XI and test again. This issues rings a bell that it may have been fixed.
    Thank you
    Don

  • I have an apple id but i have not been able to use the same id with i tune and app store..what to do

    i have an apple id but i have not been able to use the same id with i tune and app store..what to do???every time i m trying to login it is telling that this id has not been used with i tune and App Store ....reviewing of my id is one of the option provided to me after this...

    Have you logged in and reviewed your account and entered payment details ? Unless the instructions on this page are followed when creating an account : Create an iTunes Store, App Store, or iBooks Store account without a credit card or other payment method - Apple Suppor…
    then credit card details will need to be entered before the account can be used to download any item from the store.
    You could see if this post by mountaingoatgirl lets you review your account without needing to enter credit card details : https://discussions.apple.com/message/24303054#24303054
    If not then you will either have to enter card details (you should be able to remove them after entering them), or create a new account (using the instructions on the above link).

  • How to use the index method for pathpoints object in illustrator through javascripts

    hii...
    am using Illustrator CS2 using javascripts...
    how to use the index method for pathpoints object in illustrator through javascripts..

    Hi, what are you trying to do with path points?
    CarlosCanto

  • How do I send a 2-10 MHz pulse train to my DAQ 6052E why simultaneously reading in data? I'm using the NIDAQ Tools with Igor Pro.

    I need to send a continuous 2-10MHz TTL timing signal to a low pass filter (to set the cutoff frequency) while I collect data from one of the analog inputs. I'm hoping that I can send the TTL signal and collect the data through the same DAQ 6052E board.
    I've been told that I can send a pulse train using one of the two counters on the board. But does anyone have more specific advice how to implement this using the NIDAQ Tools extensions to IGOR Pro? In particular I'm concerned about how I can send a continuous TTL signal and simultaneously read data. Or can you just turn on the timing signal and it stays on until it's
    turned off again?
    Thanks for your help

    You can program one of the counters to generate a continuous pulse train. Once programmed to do so the counter needs no further interaction. It will continue to generate the signal until stopped through SW. So you can start the counter using the functions provided to you, then forget about it and program the AI operations.
    Christian Loew, CLA
    Principal Systems Engineer, National Instruments
    Please tip your answer providers with kudos.
    Any attached Code is provided As Is. It has not been tested or validated as a product, for use in a deployed application or system,
    or for use in hazardous environments. You assume all risks for use of the Code and use of the Code is subject
    to the Sample Code License Terms which can be found at: http://ni.com/samplecodelicense

  • How to use the  function ' CRM_INTLAY_ANALYZE_DATA '?

    Hi Experts,
    I am working in a scenario where I need to get the GUID of a complaint transaction even before the complaint transaction is saved.I can get that using the function 'CRM_INTLAY_GET_HEADER_GUID' .I also want to get the codegroup and the code associated with the complaint .For that I want to use the function 'CRM_INTLAY_ANALYZE_DATA'. This function has got an import parameter 'IT_ITF_CHANGED_FIELD' which is of type tabletype 'CRMT_ITF_CHANGEDFIELD_TAB' . the line type of this table type is 'CRMT_ITF_CHANGEDFIELD' .In it there is a field called 'REF_GUID' .I populate only this field using the guid returned from 'CRM_INTLAY_GET_HEADER_GUID' .
    But no values are coming in the export parameter 'ET_SUBJECT' of the function.
    I think I am missing something.
    Please give some solution as it is very urgent.
    Thanks,
    Samrat Dutta

    Hi Experts,
    I am working in a scenario where I need to get the GUID of a complaint transaction even before the complaint transaction is saved.I can get that using the function 'CRM_INTLAY_GET_HEADER_GUID' .I also want to get the codegroup and the code associated with the complaint .For that I want to use the function 'CRM_INTLAY_ANALYZE_DATA'. This function has got an import parameter 'IT_ITF_CHANGED_FIELD' which is of type tabletype 'CRMT_ITF_CHANGEDFIELD_TAB' . the line type of this table type is 'CRMT_ITF_CHANGEDFIELD' .In it there is a field called 'REF_GUID' .I populate only this field using the guid returned from 'CRM_INTLAY_GET_HEADER_GUID' .
    But no values are coming in the export parameter 'ET_SUBJECT' of the function.
    I think I am missing something.
    Please give some solution as it is very urgent.
    Thanks,
    Samrat Dutta

Maybe you are looking for