Regarding Setfocus

Hi,
Can some one pls help me in below requirement
The requirement is:  Without pressing the tab in the keyboard the cursor should automatically move into next Field after Field reaching its maximum length.
I have set the proprty as Limitlenth to visible area and written the script as xfa.host.setFocus(Fielname) in full event but the problem is after entering the chars in the field  the last char is not showing or missing
Thank you in advance
Regards,
Jay

Check out this sample by John Brinkman.
http://blogs.adobe.com/formfeed/2009/04/field_tab_on_full.html

Similar Messages

  • How can I add scroll bars to a textarea and setfocus at the end of the box.

    I didn't see a scrollbar option so I was wondering how would I add one? Also how can I setfocus to the last line in the textarea?

    You have to create a JScrollPane that will enclose the TextArea as in new JScrollPane (yourTextArea).
    You can setFocus to any Component and you can position the caret in an TextArea.
    Regards
    SH

  • SetFocus in a control by default during pageload

    Hi,
    I am using flex builder 2.0. I want to setFocus on a textbox
    during pageload.
    I have tried to setocus on that control in the below two
    event's of a application object
    1. CreationComplete
    2. Activate
    But Cursor is not getting focus on that control after page
    load. When I have clicked the application
    using mouse then only that page is getting activation
    (Or)
    I have to press the tab to activate the page.
    Initially the browser controls(addressbar etc) are getting
    focus instead of webpage.
    How to overcome this issue. I want to setFocus after page
    loaded by Default on a particular control.
    Can anybody help me.
    Thanx in advance.
    With Regards,
    Mahendiran.K

    MahePya,
    First the credit goes to the gentlemen in the comments below.
    First, create a new folder in your Application called
    "actionScript". Then RIGHT CLICK the new folder you just created
    and create a NEW "ActionScript File". The FILENAME with my example
    must be "JavaScript", then click FINISH. Then COPY and PASTE the
    code below (please be sure to include the credit) and paste it into
    the JavaScript.as file you just created.
    STEP ONE: SELECT AND COPY THE CODE BELOW...
    /* JavaScript: A MXML component for embedding Javascript in
    container HTML
    * Author: Abdul Qabiz ([email protected])
    * Date: June 16, 2006
    * Version: 0.1
    * Copyright (c) 2006 Abdul Qabiz (
    http://www.abdulqabiz.com)
    * Permission is hereby granted, free of charge, to any
    person obtaining a
    * copy of this software and associated documentation files
    (the "Software"),
    * to deal in the Software without restriction, including
    without limitation
    * the rights to use, copy, modify, merge, publish,
    distribute, sublicense,
    * and/or sell copies of the Software, and to permit persons
    to whom the
    * Software is furnished to do so, subject to the following
    conditions:
    * The above copyright notice and this permission notice
    shall be included in
    * all copies or substantial portions of the Software.
    * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
    KIND, EXPRESS OR
    * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
    MERCHANTABILITY,
    * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
    NO EVENT SHALL THE
    * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
    DAMAGES OR OTHER
    * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
    OTHERWISE, ARISING
    * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE
    OR OTHER
    * DEALINGS IN THE SOFTWARE.
    // This script sets the browser focus
    package actionScript
    import flash.events.Event;
    import flash.events.EventDispatcher;
    import flash.net.*;
    import mx.core.IMXMLObject;
    [DefaultProperty("source")]
    public class JavaScript extends EventDispatcher implements
    IMXMLObject
    private var _source:String;
    private var _initialized:Boolean;
    public function JavaScript()
    public function set source(value:String):void
    if (value!=null)
    _source = value;
    var u:URLRequest = new URLRequest ("javascript:eval('" +
    value + "');");
    navigateToURL(u,"_self");
    public function initialized(document:Object, id:String):void
    _initialized = true;
    STEP ONE: SELECT AND COPY END JUST ABOVE HERE!!!
    Then SELECT and COPY the following code and PASTE it into the
    opening tag of the mxml file that has the TextBox that you want to
    give focus. Fore example if the TextBox is in your main
    Application, then it should go into the opening tag of that file.
    If the TextBox is in a separate component it should go into the
    opening tag of that component. Here's the code...
    STEP TWO: SELECT AND COPY THE CODE BELOW...
    xmlns:actionScript="actionScript.*"
    creationComplete="setBrowserFocus();"
    STEP TWO: SELECT AND COPY END JUST ABOVE HERE!!!
    Next SELECT and COPY the code below and PASTE it just after
    the opening tag where your TextBox is located. Again if your
    TextBox is located in your main Application file then simply PASTE
    this code right after the the close of the Application tag. If your
    TextBox is located in a different mxml file then place the code
    after the opening tag in that file.
    STEP THREE: SELECT AND COPY THE CODE BELOW...
    <mx:Script>
    <![CDATA[
    import flash.external.ExternalInterface;
    private function setBrowserFocus():void
    ExternalInterface.call ("setBrowserFocus");
    usernameTextBox.setFocus()
    ]]>
    </mx:Script>
    <actionScript:JavaScript>
    <![CDATA[
    function setBrowserFocus()
    Main.focus();
    ]]>
    </actionScript:JavaScript>
    STEP THREE: SELECT AND COPY END JUST ABOVE HERE!!!
    The next step is to CHANGE the ID "usernameTextBox" in the
    setBrowserFocus function to YOUR TextBox ID and it should work. :)
    STEP FOUR: CHANGE usernameTextBox TO YOUR TEXTBOX ID (for
    example)
    private function setBrowserFocus():void
    ExternalInterface.call ("setBrowserFocus");
    usernameTextBox.setFocus() ***CHANGE "usernameTextBox"***
    STEP FOUR ENDS
    The final step is to CHANGE the name to the name of
    Application as shown below.
    STEP FIVE: CHANGE "Main" TO THE NAME OF YOU APPLICATION
    <actionScript:JavaScript>
    <![CDATA[
    function setBrowserFocus()
    Main.focus(); ***CHANGE "Main" to the name of you
    Application***
    ]]>
    </actionScript:JavaScript>
    STEP FIVE ENDS
    Let me know how this works for you. Be sure to click the
    "Mark as the answer!" link in my post if this is the correct
    solution. Be sure to check out the author link to see why we have
    to set the focus this way.
    John

  • SetFocus() in InteractionManager is not working?

    Hi,
    I'm trying to implement TLF in out chat application and looks like setFocus() command in InteractionManager has a bug. Here is a code demonstrating it:
    var tf:TextFlow = new TextFlow(); // define TextFlow and manager objects
    var em:EditManager = new EditManager();
    cc = new DisplayObjectContainerController(this, 290, 38);
    tf.interactionManager = em;
    // compose TextFlow to display
    tf.flowComposer.addController(cc);
    // add event handler to listen for SelectionEvent
    tf.addEventListener(SelectionEvent.SELECTION_CHANGE, selectionHandler);
    tf.addEventListener(StatusChangeEvent.INLINE_GRAPHIC_STATUS_CHANGED, graphicStatusChangeHandler);
    tf.flowComposer.updateAllContainers(); // update visual representation
    // format configuration
    var charFormat:CharacterFormat = new CharacterFormat();
    charFormat.color = me.colorsArray[me.currColor];
    charFormat.fontFamily = "Tahoma, _sans";
    charFormat.fontSize = 12;
    charFormat.lineHeight = "80%";
    tf.hostCharacterFormat = charFormat;
    tf.interactionManager.setSelection(0,0);
    var pf:ParagraphFormat = new ParagraphFormat();
    pf.direction = Direction.RTL;
    pf.marginLeft = 2;
    pf.marginRight = 3;
    pf.marginTop = 5;
    IEditManager(tf.interactionManager).applyParagraphFormat(pf);
    tf.interactionManager.setFocus();
    Actually I see a cursor appears on screen but when I enter the text I am unable to see it. When I'll click with my mouse on the text edit area I can able to enter the text. Tell me what I'm doing wrong. May be the problem is only for text area which is set to RTL user input?
    Looks like in the  online rich text editor demo you have exactly the same problem, when you switch text direction from LTR to RTL you can't enter the text until you click with your mouse on the text edit area.
    Igor Vasiliev
    www.blogtv.com

    The problem with the new one is a file size - when I'm trying to include new TLF library to my project I can't compile it in Flash CS4. Actually I had exactly the same problem with the old one too, but after a short investigation I found that the problem is a large amount of code I have in the existing project and I put several things to the external SWF file and now I'm able to compile and work with it. The new TLF library is twice big then the old one and I'm unable to compile it at all within my project. ;(
    Now, regarding the problem I posted here I think you have a runtime problem. Actually I found a solution, I just set focus with 500 milliseconds delay and now it works. Looks like when I make first call you updating something on the screen and can't set it for the first time.
    Personally I think the file size of the TLF library is the biggest problem now with Flash CS4. Looks like IDE unable to compile projects with a lot of code inside. I never saw this happens with old Flash CS3. ;(

  • SetFocus dynamic with string

    Hi,
    in an adobe form the Focus can be set with xfa.host.setFocus("Formfield").  In this case 'Formfield' is a hardcoded form field.
    Is it also possible to set the focus dynamic with a string, which contains the fieldname?
    e.g.
    myField = myNode.value;
    var hochkomma = '"';
    var Formfield = hochkomma.concat(myField);
    var Formfield = Formfield.concat(hochkomma);
    xfa.host.setFocus(Formfield);
    But this code doesn't work. Where's the problem?
    Thx!

    Hi Andreas,
    try to put Formfield between "", that is :
    xfa.host.setFocus("Formfield");
    And Formfield has to be the same as the name field, be careful respecting upper/lower case.
    Regards.

  • SetFocus

    How to set focus in inputText in table?
    I have need solution for through servercode not javascript

    First of all setFocus is the client side behaviour and there is no such property "focus" on RichInpuText component
    there is a clientListener "focus" but its useless , because you need to have a focus to start with.
    so, you have to use javascript, you can call your javascript from the jspx or you can call it from your backing bean [server-side]
    if you want do setFocus from your backing bean ,
                    StringBuilder script = new StringBuilder();
                    RichInputText myInputText = getInputText();
                    String inputTextClientId =  myInputText.getClientId();
                    ExtendedRenderKitService service =
                        (ExtendedRenderKitService)Service.getRenderKitService(FacesContext.getCurrentInstance(),
                                                                              ExtendedRenderKitService.class);
                    script.append("var inputText= document.getElementById('" + inputTextClientId+ "');");
                    script.append("inputText.focus();");
                    service.addScript(FacesContext.getCurrentInstance(),
                                      script.toString());you can have onload clientListener on document and you can focus your inputText at that time
    <af:document binding="#{backingBeanScope.backing_KeyDown.document1}"
                     id="document1">
                     <af:clientListener method="onLoad" type="load"/>
    <af:form binding="#{backingBeanScope.focusBean.form1}" id="form1">
            <af:inputText label="Label 1" clientComponent="true"
                          binding="#{backingBeanScope.focusBean.inputText1}"
                          id="inputText1"/>javascript
    function onLoad(event) {
                    document.getElementById("inputText1::content").focus();
                    }regards,

  • Problem while using setFocus??

    Hi
    I have one problem in using setFocus to the text field!
    When I use setFocus it is setting cursor to the textInput field but untill and unless I click with mouse its not taking input from keyBoard!
    Let me know the solution ASAP
    Thanks and Regards
    Aruna.S.N.

    Thnaks for the reply
    Please find the following code!
    <?xml version="1.0" encoding="utf-8"?><mx:Application  xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="init();"
    >
     <mx:Script>
    <![CDATA[
     public function init():void{
    username.setFocus();
    ]]>
    </mx:Script>
     <mx:Form width="292" borderStyle="solid" height="98" x="301.5" y="185" borderColor="
    #000000" >
     <mx:FormItem label="
    Login ID" borderColor="#ffffff" fontSize="
    10" fontStyle="normal" fontWeight="bold" >
     <mx:TextInput id="username" focusEnabled="true" />
     </mx:FormItem>
     <mx:FormItem label="
    Password" borderColor="#ffffff" fontSize="10" fontStyle="normal" fontWeight="bold" >
     <mx:TextInput id="password" displayAsPassword="true"/>
     </mx:FormItem>
     </mx:Form></mx:Application>
    Thanks
    Aruna

  • Regarding sy-index and sy-tabix

    Hi,
    What is the major difference between sy-index and sy-tabix ,
      can you give me one good example with code..
    Regards,
    Reddy.

    Hi,
    SY-TABIX - Current line of an internal table. SY-TABIX is set by the statements below, but only for index tables. The field is either not set or is set to 0 for hashed tables.
    APPEND sets SY-TABIX to the index of the last line of the table, that is, it contains the overall number of entries in the table.
    COLLECT sets SY-TABIX to the index of the existing or inserted line in the table. If the table has the type HASHED TABLE, SY-TABIX is set to 0.
    LOOP AT sets SY-TABIX to the index of the current line at the beginning of each loop lass. At the end of the loop, SY-TABIX is reset to the value that it had before entering the loop. It is set to 0 if the table has the type HASHED TABLE.
    READ TABLE sets SY-TABIX to the index of the table line read. If you use a binary search, and the system does not find a line, SY-TABIX contains the total number of lines, or one more than the total number of lines. SY-INDEX is undefined if a linear search fails to return an entry.
    SEARCH FOR sets SY-TABIX to the index of the table line in which the search string is found.
    SY_INDEX - In a DO or WHILE loop, SY-INDEX contains the number of loop passes including the current pass.
    sy-tabix is the tab index - the index of the record in the internal table you are accessing,
    sy-index is the loop counter.
    If you use a condition in LOOP the sy-index will go from 1 to n, but sy-tabix will refer to the line in the internal table.
    Hope this helps u.
    Thanks,
    Ruthra

  • Regarding Field Missing in Dso Transformation

    Hi
    Folks
    I am facing the issue like
    In Datasouce to DSO transformation i can see the 55 objects in DSO table, and in DSO to Cube Transformation i can see 54 fields in DSO table, one field is missing , the object  0TXTSH(short discription) is mapped to field 0TXZ01in DS to DSO transformation.
    so How can i get the field in DSO to Cube transformation.??
    any settings have to be change???
    waiting for yours Valuable answers
    Regards
    Anand

    Hi,
    Please identify the object and check it whether it is an attribute or a characteristic, if it is attribute only disable that option then check it.
    Regards,
    Srinivas

  • I am having an issue regarding a placed order via customer service department

    I recently relocated to Anchorage Alaska as part of a permanent change of station per the United States Air Force. I was initially located on the East Coast in the lower 48 and at the time of activating my contract I had purchased two separate Iphone 4 devices. I also recently went in to a store in February to purchase a Nexus 7 as well.
    Upon arrival in Anchorage I had multiple issues regarding the Iphone 4 devices including being unable to send and receive text messages & imessages, unable to make phone calls, dropped phone calls, unable to utilize GPS, as well as not being able to access general account information and use anything related to web browsing or data usage. It was determined that because the Iphone 4 operates on the 3g network and Verizon does not have a 3g network in Alaska, as a result I was utilizing an extended service network from another carrier. As a result of this I am only able to use my Iphone 4 devices while connected to my wi-fi network while within my home, which is totally unacceptable.
    I was not made aware that I would be dealing with this when I moved to Alaska and inquired as the the use of the devices I currently owned prior to purchasing the tablet. I was assured by three separate store employees one of which being a manager that all devices would function at 100% efficiency including the Iphone 4s. In fact I was recently billed 350$ for roaming charges last month, which prompted me to speak with a representative via the online chat regarding the significant increase she said that she was unable to process any sort of credit to the account regardless of what I had been told at a local Verizon store where I purchased the tablet.
    As a result of all of these mishaps since arriving here in Alaska I determined I was in need of newer devices that utilize the 4G LTE network currently provided by Verizon in Alaska. I know for a fact that the 4G LTE works great up here because my Nexus 7 tablet runs flawlessly and does not incur roaming charges when utilizing the 4G LTE network.
    Yesterday I attempted to contact Verizon through the live chat feature regarding upgrading two of the devices on my account. The live chat representative immediately asked me when my upgrade date was. Upon telling her my upgrade date 9/29/2014 she told me I should contact the customer service department as I might be eligible for an early upgrade. I then proceeded to contact the customer service department using my Iphone 4.
    My attempt to speak to anyone in the customer service department resulted in a merry-go-round of being put on hold 6 separate times by two different employees, both of which had me wait for more than an hour while they attempted to speak to a manager to gain approval for an early upgrade. The first rep seemed almost sure she would be able to have my devices upgraded early especially considering the issues I was having regarding service.
    The second rep seemed newer and was very dodgy about my questions and was very unwilling to help at first. He even mentioned that I had been a Verizon customer for almost two years, had never missed a single payment and had outstanding account history which should have garnered some sort of importance to the level of my request. But I digress, during this time I was disconnected from the call twice from each separate representative.
    Both reps assured me they would call me back, I never did get a call back from either one of those reps and I was becoming very frustrated having waited four hours trying to find some sort of solution to my current predicament.
    After waiting an hour for the second representative to call back I grew impatient and contacted the customer service department, was put on hold again, and finally reached a third customer service representative who was able to provide a solution for me.
    I explained everything I had been dealing with to Cory ID #  V0PAC61, both regarding the phones, the issue of the level of service I was receiving, the dire need for working devices and the multiple times I had been disconnected. I explained to him as a result of these issues I was certainly considering switching to a different provider, a local provider even who could provide me the adequate service that I require for my mobile devices.
    I explained to Cory that I had been with Verizon for almost two years, and I had been on a relatives account prior to owning my own Verizon account and had never received this kind of treatment when trying to work towards a simple solution. Cory proceeded to tell me he needed to put me on hold to see if there was anything that could be done regarding the upgrades of the device considering all of the trouble I had been dealing with.
    After Cory reconnected with me in the phone call he was able to successfully reach a solution by allowing me to upgrade my devices. We conversed about the options available and I eventually decided to upgrade both Iphone 4 devices to Moto X devices as we determined those would be sufficient for my needs while in Alaska. I also proceeded to add two Otter Box Defender cases to the order so that the devices would have sufficient protection. Cory inquired as to whether or not I would like to purchase insurance for the phones as well and I opted for the $5.00 monthly insurance which including damage and water protection.
    Cory explained to me the grand total for the devices which included an activation fee of $35.00 for each device, $49.99 for each Otter Box case, and an additional $50.00 for each device which would be refunded as a rebate upon receipt of the devices and activation, a rebate that I would be required to submit. Cory explained to me that the devices would most likely arrive Tuesday of 6/17 and no later than Wednesday 6/18.
    Cory took my shipping information and told me everything was all set and the only thing left to do was to transfer me to the automated service so that I could accept the 2 year agreement for both devices. I thanked him very much, took his name and ID# so that I might leave positive feedback about his exemplary customer service and was then transferred to the automated service.
    Once transferred to the automated service I was then prompted to enter both telephone numbers for the devices that would be upgraded, I was then required to accept the new 2 year agreement for both devices and after doing so I was required to end the call. I did so in an orderly fashion and expected a confirmation # to arrive in my email regarding the placed order.
    I have never received a confirmation email. I decided to sleep on it and assumed a confirmation email would be sent sometime tomorrow. Nothing has since been received however. I woke up early this morning around 6AM Alaska time to speak to another live chat representative, Bryan, in the billing department who assured me the order was currently processing and verified the order #. I asked him whether or not it was typical for a customer to not receive a confirmation email for an order placed and he said it can sometimes take up to 2-3 business days. He then stated that he had taken note of the issues I was experiencing and told me he would transfer me to the sales department as they would be able to provide more information regarding the shipment of both devices and a confirmation email, as he stated he did not want me to have to wait any longer than necessary to receive said devices.
    I was then transferred to Devon in the sales department via the live chat service where I was then required to repeat everything I had said to both Bryan and the other representatives I had spoken too. After a lengthy discussion and repeating everything I have just wrote he told me the order was indeed processing and that he would send a confirmation email in the next 30 minutes.
    That was 2 hours ago. It is now 8am Alaska time and I still have not received a confirmation email regarding my order. I was sent an email by Verizon an hour ago stating I had a device to "discover". The email contained no information regarding the shipment of my device, the order confirmation number, or anything regarding my account. The email I received was a typical spam email asking an individual to check out the current available phones and sign up for a new contract.
    All I want is a confirmation email to assure that the devices are being sent. I need my phone for work and to communicate with my family in the lower 48. I desperately need to make sure that the device is in fact being sent to the proper address, this is why a confirmation email of the order is so important. I do not care about the shipping speed I just want what I ask to be taken care of for a change. I would hate to sit here unable to determine what the status of my devices are only for the order to be stuck in "processing" limbo and be unable to receive the devices when I was told they would be sent.
    I feel I have been given the run around treatment way more than is typically given with any company when an individual is trying to work towards a solution. I have been patient and cordial with everyone I have spoken with, I have not raised my voice or shown stress or anger towards the situation I have only tried my best to work towards a solution with anyone I have spoken too but I am becoming increasingly frustrated with this situation.
    Any help regarding this matter would be greatly appreciated. This situation has left a sour taste in my mouth and if the devices were indeed not actually processed in an order, or they were not shipped correctly, or in fact if the order had never existed at all it will only deter me from keeping my Verizon account active and affect my decision to switch to another provider.

        Hello APVzW, we absolutely want the best path to resolution. My apologies for multiple attempts of replacing the device. We'd like to verify the order information and see if we can locate the tracking number. Please send a direct message with the order number so we can dive deeper. Here's steps to send a direct message: http://vz.to/1b8XnPy We look forward to hearing from you soon.
    WiltonA_VZW
    VZW Support
    Follow us on twitter @VZWSupport

  • Vendor Line item with Opening and Closing Balances report regarding

    Dear All,
    I need a report for vendor line items with Opening and Closing balances.
    Thanks in advance
    Sateesh

    Hi
    Try S_ALR_87012082 - Vendor Balances in Local Currency
    Regards
    Sanil Bhandari

  • Regarding training and event management queries

    hi experts,
    in my company we have ess in which training and event management module is working fine.i need to develop a report in which training booked against employee through tc-psv1 means in sap-r/3 and through ess means tc-pv8i will come.means saggregation for sap r/3 and ess will come.
    please help me regarding this.
    how will i identifie that training has been booked against employees  through sap r/3 or ess on what paramenet we will identifie.
    plz help me....
    is there any function module;....

    solved by own

  • Regarding Exporting and Importing internal table

    Hello Experts,
    I have two programs:
    1) Main program: It create batch jobs through open_job,submit and close job.Giving sub program as SUBMIT.
    I am using Export IT to memory id 'MID' to export internal table data to sap memory in the subprogram.
    The data will be processed in the subprogram and exporting data to sap memory.I need this data in the main program(And using import to get the data,but it is not working).
    Importing IT1 from memory id 'MID' to import the table data in the main program after completing the job(SUBMIT SUBPROGRAM AND RETURN).
    Importing is not getting data to internal table.
    Can you please suggest something to solve this issue.
    Thank you.
    Regards,
    Anand.

    Hi,
    This is the code i am using.
    DO g_f_packets TIMES.
    * Start Immediately
           IF NOT p_imm IS INITIAL .
             g_flg_start = 'X'.
           ENDIF.
           g_f_jobname = 'KZDO_INHERIT'.
           g_f_jobno = g_f_jobno + '001'.
           CONCATENATE g_f_jobname g_f_strtdate g_f_jobno INTO g_f_jobname
                                                  SEPARATED BY '_'.
           CONDENSE g_f_jobname NO-GAPS.
           p_psize1 = p_psize1 + p_psize.
           p_psize2 = p_psize1 - p_psize + 1.
           IF p_psize2 IS INITIAL.
             p_psize2  = 1.
           ENDIF.
           g_f_spname = 'MID'.
           g_f_spid = g_f_spid + '001'.
           CONDENSE g_f_spid NO-GAPS.
           CONCATENATE g_f_spname  g_f_spid INTO g_f_spname.
           CONDENSE g_f_spname NO-GAPS.
    * ... (1) Job creating...
           CALL FUNCTION 'JOB_OPEN'
             EXPORTING
               jobname          = g_f_jobname
             IMPORTING
               jobcount         = g_f_jobcount
             EXCEPTIONS
               cant_create_job  = 1
               invalid_job_data = 2
               jobname_missing  = 3
               OTHERS           = 4.
           IF sy-subrc <> 0.
             MESSAGE e469(9j) WITH g_f_jobname.
           ENDIF.
    * (2)Report start under job name
           SUBMIT (g_c_prog_kzdo)
                  WITH p_lgreg EQ p_lgreg
                  WITH s_grvsy IN s_grvsy
                  WITH s_prvsy IN s_prvsy
                  WITH s_prdat IN s_prdat
                  WITH s_datab IN s_datab
                  WITH p1      EQ p1
                  WITH p3      EQ p3
                  WITH p4      EQ p4
                  WITH p_mailid EQ g_f_mailid
                  WITH p_psize EQ p_psize
                  WITH p_psize1 EQ p_psize1
                  WITH p_psize2 EQ p_psize2
                  WITH spid     EQ g_f_spid
                  TO SAP-SPOOL WITHOUT SPOOL DYNPRO
                  VIA JOB g_f_jobname NUMBER g_f_jobcount AND RETURN.
    *(3)Job closed when starts Immediately
           IF NOT p_imm IS INITIAL.
             IF sy-index LE g_f_nojob.
               CALL FUNCTION 'JOB_CLOSE'
                 EXPORTING
                   jobcount             = g_f_jobcount
                   jobname              = g_f_jobname
                   strtimmed            = g_flg_start
                 EXCEPTIONS
                   cant_start_immediate = 1
                   invalid_startdate    = 2
                   jobname_missing      = 3
                   job_close_failed     = 4
                   job_nosteps          = 5
                   job_notex            = 6
                   lock_failed          = 7
                   OTHERS               = 8.
               gs_jobsts-jobcount = g_f_jobcount.
               gs_jobsts-jobname  = g_f_jobname.
               gs_jobsts-spname   = g_f_spname.
               APPEND gs_jobsts to gt_jobsts.
             ELSEIF sy-index GT g_f_nojob.
               CLEAR g_f_flg.
               DO.                         " Wiating untill any job completion
                 LOOP AT gt_jobsts into gs_jobsts.
                   CLEAR g_f_status.
                   CALL FUNCTION 'BP_JOB_STATUS_GET'
                     EXPORTING
                       JOBCOUNT                         = gs_jobsts-jobcount
                       JOBNAME                          = gs_jobsts-jobname
                    IMPORTING
                       STATUS                           = g_f_status
    *            HAS_CHILD                        =
    *          EXCEPTIONS
    *            JOB_DOESNT_EXIST                 = 1
    *            UNKNOWN_ERROR                    = 2
    *            PARENT_CHILD_INCONSISTENCY       = 3
    *            OTHERS                           = 4
                   g_f_mid = gs_jobsts-spname.
                   IF g_f_status = 'F'.
                     IMPORT gt_final FROM MEMORY ID g_f_mid .
                     FREE MEMORY ID gs_jobsts-spname.
                     APPEND LINES OF gt_final to gt_final1.
                     REFRESH gt_prlist.
                     CALL FUNCTION 'JOB_CLOSE'
                       EXPORTING
                         jobcount             = g_f_jobcount
                         jobname              = g_f_jobname
                         strtimmed            = g_flg_start
                       EXCEPTIONS
                         cant_start_immediate = 1
                         invalid_startdate    = 2
                         jobname_missing      = 3
                         job_close_failed     = 4
                         job_nosteps          = 5
                         job_notex            = 6
                         lock_failed          = 7
                         OTHERS               = 8.
                     IF sy-subrc = 0.
                       g_f_flg = 'X'.
                       gs_jobsts1-jobcount = g_f_jobcount.
                       gs_jobsts1-jobname  = g_f_jobname.
                       gs_jobsts1-spname   = g_f_spname.
                       APPEND gs_jobsts1 TO gt_jobsts.
                       DELETE TABLE gt_jobsts FROM gs_jobsts.
                       EXIT.
                     ENDIF.
                   ENDIF.
                 ENDLOOP.
                 IF g_f_flg = 'X'.
                   CLEAR g_f_flg.
                   EXIT.
                 ENDIF.
               ENDDO.
             ENDIF.
           ENDIF.
           IF sy-subrc <> 0.
             MESSAGE e539(scpr) WITH g_f_jobname.
           ENDIF.
           COMMIT WORK .
         ENDDO.

  • Who do I complain to regarding an Apple iPhone upgrade that has taken my my full screen contact picture and turned it into a tiny circle that is hard to see at a glance!!!

    I'm trying to find an outlet for the frustration I feel regarding the "upgrade" that replaced my full screen picture for my contact numbers to a tiny, little dot in the right hand corner.  Are they going to give us an option to go back or did someone  just need to justify their job by making  changes??

    Apple.com/feedback

  • Is there a major flaw with Iphoto in regards to organizing and backing up?

    Is there a major flaw with Iphoto in regards to organizing and backing up? And how should I proceed??
    Here is my story. I have moved roughly 15,000 photos from 7 computers (4 PCs and 3 Macs - basically everyone's computer in the family) onto one external hard drive. The photos were taken by many different digital cameras, are sparsely labeled, and have the most random names and folders. There are a LOT of duplicates. MY MISSION - label and back them up.
    The way I normally deal with photos/DATA is this: I plug my camera into my Mac and immediately think about organizing and backing them up. With "Preview" I look at photos (and decide which one I like), create a folder called "where-ever I took these photos" and drag them into that folder. The problem with Iphoto is that you have no ability to control folders, unlike many other applications.
    For example, in Itunes you can rename an artist, or even an album, and it will automatically appear in an updated folder. If you alter a photo in Photoshop, it makes you save it is a new file. In Iphoto you cannot make the same "root level" changes without making duplicates. From what I understand, you can place photos into an Album and then export that album (which makes duplicates). Iphoto will rename each duplicate file and then place it in the correct folder. The problem here is I have no idea where the original is to delete it.
    Basically I want to create folders called "Trip to Italy 2003" or "Rachel's Wedding" and place all the photos associated with that event in those folders. The problem I run into is that I have a bunch of duplicates. I have heard of a program called Duplicate Annihilator which has gotten favorable reviews. If I import them into Iphoto all the photos are placed in random named folders. I say random because some of the photos were taken on cameras that didn't have the date set correctly. Hence some of my photos will appear in a labyrinth of folders called "Modified / 2001 / Roll 17 / DCM482 / Image25874654.jpg"
    I am totally willing to wipe my Iphoto library clean and start again if there is a way to organize the photos as described above. Eventually I will take these folders and save them on a data DVD.
    Thanks to anyone who can help.
    Gary

    You do not need to delve into the folders within the iPhoto Library via the finder to access any photo. That is all done within iPhoto itself. If you need a photo for use outside of iPhoto read Terence Devlin's treatise on file access. iPhoto is a DAM application - Digital Asset Management, not a folder manager. There's a big difference. You can use keywords, album and smart albums to organize your photos.
    If you still have the original files you might consider what I do. I rename each file with the date it was taken using the international date format: YYYY-MM-DD-001.jpg. You can download the demo version ofMedia Expression and automatically rename each folder of photos with the EXIF date and a sequential number. This makes chronological searching and sorting much easier both in iPhoto and the Finder.
    If you want to not only manage the photos but the folders then Expression Media will let you do both. It will let you rename files after being imported into a catalog, move them between folders, add ITPC metadata to the files, create virtual albums called Supplemental categories, and much, much more. I use it as my primary DAM and iPhoto for special projects like books, slideshows, calendars, etc.

Maybe you are looking for

  • Bluetooth not seen in Windows

    I installed Windows 8.1 through BootCamp and Bluetooth device is not recognized by Windows. I am talking about the new 2015 12' macbook. It is not seen in the device manager list. Any Help?

  • Get mail acknowledgement

    if there are several receipients........ i have read that i can use the transport options to check the acknowledgement if send to the receipient successfully.... without using dsn.jar pls advice MESSAGE_DELIVERED When the message has been successfull

  • How do I get the options bar back for an email if I accidently delete it ?

    If an email has say pictures I get an option bar appear to allow me to select 'show remote content' however if I accidently delete the bar I cannot get it back and display the remote content.

  • Report sq01 query

    Hi Gurus, Hi, Please could you let me know if there is a report either in SQ01 or in SAP in general that shows the following: Sales order PR00 price (Header level) Condition type (ZFRE Freight) and the value MWST Output tax and the value Net Value of

  • Partial settlement problem

    Hi All, I am facing problem with partial settlement, we are using the partial settlement process line item wise using KOB5. Mow there 5 line item which was posted in same period Now we want to settle only 3 Line item. We set the Settlement rule and w