Application exits after opening and closing two forms

Hi,
<<This message was also posted on the designer forum!>>
During testing of a migrated application from 6.0 to 6i we found the following (webbased).
Expected behavior:
1 start application, startform opens;
2 select sub-application, startform sub-application opens;
3 select any form, form opens;
4 close form, startform sub-application returns
steps 3 to 4 can be performed many times.
Real behavior:
1 start application, startform opens;
2 select sub-application, startform sub-application opens;
3 select any form, form opens;
4 close form, main startform returns
(this means one level more is closed)
If we now performs steps 2 to 4 the entire application exits, more or less random during any of the 3 steps.
Can anyone explain why this is happening?
Best regards,
Pascal

Frans,
We use headstart version 50. We use the web version with a VMS db-server and a Tru-64 Unix IAS server. And we think that the latter one is part of the problem. Because all modules are ported to Unix a decision was made to use lowercase. Hence all references tot modules (forms, libraries, reports) should also be lowercase.
We are currently checking if this is the case.
Regards,
Pascal

Similar Messages

  • Application extis after opening and closing some forms

    Hi,
    During testing of a migrated application from 6.0 to 6i we found the following (webbased).
    Expected behavior:
    1 start application, startform opens;
    2 select sub-application, startform sub-application opens;
    3 select any form, form opens;
    4 close form, startform sub-application returns
    steps 3 to 4 can be performed many times.
    Real behavior:
    1 start application, startform opens;
    2 select sub-application, startform sub-application opens;
    3 select any form, form opens;
    4 close form, main startform returns
    (this means one level more is closed)
    If we now performs steps 2 to 4 the entire application exits, more or less random during any of the 3 steps.
    Can anyone explain why this is happening?
    Best regards,
    Pascal

    Frans,
    We use headstart version 50. We use the web version with a VMS db-server and a Tru-64 Unix IAS server. And we think that the latter one is part of the problem. Because all modules are ported to Unix a decision was made to use lowercase. Hence all references tot modules (forms, libraries, reports) should also be lowercase.
    We are currently checking if this is the case.
    Regards,
    Pascal

  • Mac OS 10.7 Server won't mount DMG's after opening and closing - "Resource Temporarily Unavailable"

    I am running Mac OS 10.7.3 Server on Mac Pro 2 x 2.66 GHz 6-Core Intel Xeon with multiple users editing on Avid.
    DMG's containing raw camera footage are stored on the server, mounted by connected users on their desktops to allow Avid to access the enclosed data within the DMG's. Recently we've started encountering a problem opening the DMG's after they've recently been opened and closed. After opening and closing a DMG. when we try to open it again from the same user/connected computer or any other user/computer we see an error message saying "The following disk images couldn't be opened" NAME OF DMG "Resource temporarily unavailable". This happened to several users with several DMG's.
    We have since restarted the server, which appeared to fix the problem for about a week and now we are having the same issue again.
    The only changes made recently have been an update to version 4.2 of our ISIS 5000 which all of the Avid systems edit off of, but I don't beleive that to be the cause of the DMG opening issue. I suspect it might be caused by the Pram still thinking that the DMG's are open when they've already been closed.
    Not sure if this is relevant, but we had been running only Mac OS 10.7 systems connected to the server but within the last few months we've been adding several more systems including those with OS 10.8.
    Has anyone else encountered this issue? Does anyone know the fix to this problem?
    Thanks for any and all help!

    Also, we have been able to copy the DMGs to desktops and external drives, which normally would not be possible when a DMG is currently open by another user which is the standard situation in which a DMG would say "Resource Temporarily Unavailable".
    After copying to another location, they open normally so we believe it is an issue isolated to the server itself.
    Thanks!

  • After opening and closing 19-20 PDFs in 8.1.6 Acrobat stops working

    I have just started getting Acrobat errors '..has stopped working' after opening 19-20 PDFs (individually opening and closing each separately) which causes Acrobat to stop working and displaying PDFs, even any of the 19-20 PDFs, that opened fine beforehand, stop opening. Only by restarting Windows, does it seem to clear this error. I have maintained my updates and patches, on both my Acrobat Professional and Reader 8.1.6.
    I am Running Windows XP SP2, with 4Gbs or Memory, and no other programs except for my MS outlook 2007 running. I have MS Office 2007 Professional installed. Something also from Acrobat is interferring with Outlook. Is there an add-on, automatically installed in Outlook for PDF previews? I suspect it might have something to do with the aspect of Acrobat causing the errors and crashing of Acrobat, but I am only guessing. I have also run Antivrus scans on all my PDFs and found no problems with them.

    Hi Michael,
    Thank you for your suggestion. I did uninstall both, and reinstall Pro, and restarted my system. However, that did not solve my problem. Thank you though.
    Sincerely
    John M. Shaw

  • Opening and closing osk form java program on windows 8

    Hi
    I want to open Osk when ever I click on any text field in windows 8.
    I tried in below mentioned way to open and close but it is usefull. could some body help in opening and closing osk properly on windows 8
    Opening OSK:
    builder = new ProcessBuilder("cmd /c " + sysroot + " /System32/osk.exe");
    Closing Osk:
    Runtime.getRuntime().exec("taskkill /f /im osk.exe");

    Hello,
    It is odd that you are seeing a dialog saying it needs to be removed. Can you post a screenshot of that?
    If a particular update version is already installed, regardless of the build number in the case of EA builds, you will see a message saying that it is already installed, you can then continue or cancel.
    Why is it that you were trying to reinstall? As you called out the 64bit OS it may be the case that a 64bit JRE was installed and the JRE is not working in the 32 browser. I mention this as this is a common case.  Really only IE has a 64bit browser for Windows, Chrome and Firefox are do not provide production 64bit browsers and thus the 64bit plugin will not run in those browsers. Windows 8 as a bit more of a hurdle as Java must be run on the desktop rather then the start screen and the 32bit browser, as I recall, is the default.  Java.com will not provide the 64bit JRE unless a 64bit browser is being used for just this reason. Here are a few links that cover this:
    https://www.java.com/en/download/faq/java_win64bit.xml
    http://windows.microsoft.com/en-us/windows7/32-bit-and-64-bit-Windows-frequently-asked-questions
    You can obtain the 32bit JRE from https://www.java.com/en/download/manual.jsp
    To complete the uninstall there are some steps you can try this first:
    http://support.microsoft.com/mats/Program_Install_and_Uninstall/en
    Only if the above does not work... registry changes, be careful, back up the registry!
    https://www.java.com/en/download/help/regkey_addremove.xml
    Cheers,
    Roger

  • Windows handles left open after opening and closing registry key

    When I open a registry key with 'Create Registry Key.vi' or 'Open Registry Key.vi' and thereafter close it with 'Close Registry Key.vi', there are 2 Windows handles left open. As my program polls the registry for changes repeatedly, my system crashes because after a certain time of use, no handles are available anymore.
    I'm using Windows XP and Labview 8.6.
    The VI in the attachment illustrates the problem (reading and writing of values are left out as these have no influence on the problem).
    How can I read and write the registry, without leaving open handles?
    Ruud
    Attachments:
    Registry-handles.vi ‏12 KB

    Dear Ruud,
    thank you so much for your post on our webforum. I noticed that this is a known issue for Labview 8.6, a while ago it was reported with a Corrective Action Request (CAR# 132471). The issue should be resolved with Labview 2009. I wasn't able to reproduce the issue wit Labview 2010, the number of handles stayed arround 28000,
    best regards,
    Martijn S
    Applications Engineer
    NI Netherlands
    Attachments:
    handles.JPG ‏104 KB

  • Opening and closing 3rd party applications ??

    Does opening and closing 3rd party applications with the click of the home button actually close the application, or, does it continue running in the back ground ?
    I noticed most of the 3rd party application don't have a close/exit option, and wonder if opening and closing several applications with the home button can cause the many crashes I have read from fellow iPhone owners ?

    Clicking the Home button may close the application depending on the application itself. Some applications that use the network may close when going to the Home screen. To force quit any application, hold the Home button down for about 6 seconds until the Home screen comes up.

  • Opening and Closing values on two separate rows for an indvidual A/c?

    Hi / Salam To all SAP Members,
    I am creating a COGS report in which i need to show opening and closing values for a stock account in two separate rows. The tool i am using is report painter.
    What i need to know is how can the system identify between opening and closing values for that account? Which characteristic/s do i need to include in the rows? The table i am using is FAGLFLEXT.
    Please provide help.
    Regards,
    Mohammed Ali Khan.

    Resolved Issue.

  • Combine supported files is not automatically opening and closing source applications?

    On my Vista 64 machine, suddenly, the "Combine supported files in Acrobat" has begun malfunctioning. Instead of automatically opening and closing the source application (such as MS Word), Acrobat opens the application and then asks to save a new PDF file for each source file and stalls out the conversion. This problem is not happening on my Win XP machine. I have used the 'Repair Acrobat Installation' function but the problem is not corrected.
    Thanks for any suggestions.

    Just to close out this thread, the bug was fixed with the latest version of Acrobat Pro Extended (9.3.3).

  • I was in full screen mode and now that I have exited, the main toolbar for Safari is gone.  So please don't say go to View.  Each time I click off of safari to the desktop, it shows me the Finder Toolbar.  I have opened and closed Safari many many times.

    I was in full screen mode and now that I have exited, the main toolbar for Safari is gone.  So please don't say go to View.  Each time I click off of safari to the desktop, it shows me the Finder Toolbar.  I have opened and closed Safari many many times.

    No no, if you read what I said, it would be that each individual display would be customizable to the user. The way you have it, it sounds like your second display will be dedicated to scrolling through fullscreen apps not allowing you to do it on the home screen. This is silly because with my concept, you could do that, by dragging apps to fullscreen in your second display, but if you want you could tell another display to scroll through fullscreen apps (independently) if you wanted. Each display will have it's own mission control with it's own set of desktops. I also can see how some people would still want them linked together, so this could just be a little check box made in mission control prefs to "link" or "unlink" desktops with link checked by default.
    With your solution you're limited to your setup. but what if the person has three or four displays? Well then your solution would limit them to one dedicated display that scrolls through fullscreen apps where mine lets a person customize their desktops depending on their preference and setup.
    further example: if you have safari, address book and mail in one display, you could still have ichat, PS and Illustrator in your second, and a text editor, FTP Client and iTunes in your third. Then you would mix and match these apps but it would promote the use of mulitple displays as well as benefit people with three or more, which thunderbolt, Cinema Display and Pro computers support.

  • Open and closed hand cursors

    I have a drag image application and I wanted to use the open and closed hand cursors to move the image about. It seems there is no easy way of accessing these in Java. After searching for cursor names etc.. I decided to hard code the cursors from the .gif image. Also I didn't want the .GIFs as files as this adds to loading problems so I ended up using arrays of pixels that took a little while to enter.
    I'm giving you the code if you ever need to use it as I typed it in and wouldn't want anyone else to have to do the same.
    int curWidth=32;
                   int curHeight=32;
                   int curCol;
                   Image img;
                   int x,y;
                   int closed_black[] = { 6,5,7,5,9,5,10,5,12,5,13,5,5,6,8,6,11,6,14,6,
                             15,6,5,7,14,7,16,7,6,8,16,8,5,9,6,9,16,9,4,10,
                             16,10,4,11,16,11,4,12,15,12,5,13,15,13,6,14,14,14,
                             7,15,14,15,7,16,14,16,0};
                   int closed_white[] = { 6,4,7,4,9,4,10,4,12,4,13,4,5,5,8,5,11,5,14,5,15,5,
                             4,6,6,6,7,6,9,6,10,6,12,6,13,6,16,6,4,7,15,7,17,7,
                             5,8,17,8,4,9,17,9,3,10,5,10,15,10,17,10,3,11,17,11,
                             3,12,16,12,4,13,16,13,5,14,15,14,6,15,15,15,6,16,
                             15,16,7,17,14,17,0};
                   int closed_whiteruns[] = {6,13,7,15,7,15,5,15,5,15,5,14,6,14,7,13,8,13,8,13,0};
                   int open_black[] = { 10,3,11,3,6,4,7,4,9,4,12,4,13,4,14,4,5,5,8,5,9,5,12,5,
                             15,5,5,6,8,6,9,6,12,6,15,6,17,6,6,7,9,7,12,7,15,7,16,7,18,7,
                             6,8,9,8,12,8,15,8,18,8,4,9,5,9,7,9,15,9,18,9,3,10,6,10,7,10,
                             18,10,3,11,7,11,17,11,4,12,17,12,5,13,17,13,5,14,16,14,6,15,
                             16,15,7,16,15,16,8,17,15,17,8,18,15,18,0};
                   int open_white[] = {10,2,11,2,6,3,7,3,9,3,12,3,13,3,5,4,8,4,10,4,11,4,15,4,
                             4,5,6,5,7,5,10,5,11,5,13,5,14,5,16,5,17,5,4,6,6,6,7,6,10,6,
                             11,6,13,6,14,6,16,6,18,6,5,7,7,7,8,7,10,7,11,7,13,7,14,7,17,7,
                             19,7,4,8,5,8,7,8,8,8,10,8,11,8,13,8,14,8,16,8,17,7,19,8,3,9,6,9,
                             16,9,17,9,19,9,2,10,4,10,5,10,19,10,2,11,18,11,3,12,18,12,4,13,
                             18,13,4,14,17,14,5,15,17,15,6,16,16,16,7,17,18,17,7,18,16,18,
                             8,19,15,19,0};
                   int open_whiteruns[] = {9,14,8,17,4,16,5,16,6,16,6,15,7,15,8,14,9,14,9,14,0};                    
                   int pix[] = new int[curWidth*curHeight];
                   for(y=0; y<=curHeight; y++) for(x=0; x<=curWidth; x++) pix[y+x]=0; // all points transparent
                   // black pixels
                   curCol=Color.black.getRGB();
                   int n=0;
                   while(closed_black[n]!=0)
                        pix[closed_black[n++]+closed_black[n++]*curWidth]=curCol;
                   // white pixels
                   curCol=Color.white.getRGB();
                   n=0;
                   while(closed_white[n]!=0)
                        pix[closed_white[n++]+closed_white[n++]*curWidth]=curCol;
                   // white pixel runs
                   n=0;
                   y=7;
                   while(closed_whiteruns[n]!=0) {
                        for(x=closed_whiteruns[n++];x<closed_whiteruns[n];x++)
                             pix[x+y*curWidth]=curCol;
                        n++; y++;
                   img = createImage(new MemoryImageSource(curWidth,curHeight,pix,0,curWidth));
                   closedhandCursor = Toolkit.getDefaultToolkit().createCustomCursor(img,new Point(5,5),"closedhand");
                   for(y=0; y<=curHeight; y++) for(x=0; x<=curWidth; x++) pix[y+x]=0; // all points transparent
                   // black pixels
                   curCol=Color.black.getRGB();
                   n=0;
                   while(open_black[n]!=0)
                        pix[open_black[n++]+open_black[n++]*curWidth]=curCol;
                   // white pixels
                   curCol=Color.white.getRGB();
                   n=0;
                   while(open_white[n]!=0)
                        pix[open_white[n++]+open_white[n++]*curWidth]=curCol;
                   // white pixel runs
                   n=0;
                   y=9;
                   while(open_whiteruns[n]!=0) {
                        for(x=open_whiteruns[n++];x<open_whiteruns[n];x++)
                             pix[x+y*curWidth]=curCol;
                        n++; y++;
                   img = createImage(new MemoryImageSource(curWidth,curHeight,pix,0,curWidth));
                   openhandCursor = Toolkit.getDefaultToolkit().createCustomCursor(img,new Point(5,5),"openhand");
                   setCursor(openhandCursor);you need to define openhandCursor and closedhandCursor with your other cursor definitions (I made them default to start with) and then just use setcursor as normal. There must be an easier way to do this!
    p.s. thanks to Martin Zvarik for the original code here: http://www.jguru.com/faq/view.jsp?EID=9958

    Hi,
    you can use the same query...Also check the new code after the select..
    SELECT BUKRS BELNR GJAHR <b>BSTAT</b>
    FROM BKPF
    INTO TABLE T_BKPF
    WHERE BUKRS = P_BUKRS
    AND BSTAT IN ( ' ' , 'A' ) " ' ' - Normal document, A - Parked doc
    AND BLART = P_BLART
    AND CPUDT IN SO_CPUDT " Selection screen input.
    IF NOT T_BKPF[] IS INITIAL.
    SELECT BUKRS BELNR GJAHR BUZEI EBELN AUGBL AUGBT
    INTO TABLE T_BSEG
    FOR ALL ENTRIES IN T_BKPF
    WHERE BUKRS = T_BKPF-BUKRS
    AND BELNR = T_BKPF-BELNR
    AND GJAHR = T_BKPF-GJAHR
    AND EBELN IN SO_EBELN " selection-screen input
    ENDIF.
    LOOP AT T_BKPF.
    Parked
      IF T_BKPF-BSTAT = 'A'.
        WRITE: / T_BKPF-BELNR , ' - Parked'.
    process the next record.
        CONTINUE.
      ENDIF.
    Check for Open / Closed.
      LOOP AT T_BSEG WHERE BELNR = T_BKPF-BELNR
                                   AND      BUKRS = T_BKPF-BUKRS
                                   AND      GJAHR = T_BKPF-GJAHR
                                   AND      AUGBL <> ' '.
        EXIT.
      ENDLOOP.
    If the return code is 0 then the document is cleared..
      IF sy-subrc = 0.
        WRITE: / T_BKPF-BELNR , ' - Closed'.
    Else the document is not cleared.
      ELSE.
        WRITE: / T_BKPF-BELNR , ' - Open'.
      ENDIF.
    ENDLOOP.
    Thanks,
    Naren

  • Opening and Closing balances in RG1 register

    Hi,
    We are facing one issue in RG1 register. When we update and extract the RG1 register from system, its showing Sales Qty and Excise duties properly. But opening and closing balances are not coming, its showing zero there. I checked J_2IRG1BAL table and found that it is also not getting updated. Material comes into stock with 561(initial stock) and 101(from production) movement types but opening/closing balances not coming in either case. Both movement types are activated for RG1 also.
    Seeking your help in this regard.....
    Regards,
    Satyendra Soni

    Hi Satyendra ,
    For initial  upload in RG1 there are 2 tables you need to manually update. J_2IRG1BAL  from CIN or SD side. And Accounts to be updated for Balance in J_2IACCBAL.
    There are 2 ways for updating balance tables
    On last day of month enter Balance in Closing balance field.
    OR enter opening balance on 1 st day of month.
    Also check Material form P ,can be maintained in user exit for permanent effect.
    After  updating balances ,
    perform any one transaction on system.
    and then  Extract  the Rg1 table .
    Ask FI consultant to put in  FI JV after balance upload in ACCBAL table.
    If you have not done table entries before performing transaction and extraction of RG1  then balances will not appear .
    Check with your senior there and use table edit in such case (I hope you are not on production server  at the moment) .Then again perform Extraction and check once.
    SD FI and ABAP to be present and take decision accordingly.

  • How to calculate opening and closing balance for period

    Hi all,
    i have to find out opening and closing balance.
    the table structure of temporary table is
    select * from hwcn_xn_fa_report_temp1 where asset_id=10029400
    PERIOD_COUNTER CST_OP_BAL CST_ADDITION CST_TRANSFER CST_DISPOSAL COST_CLOSING_BALANCE
    24108 0 0 0
    24109 12000
    24110 0 0 0
    24111 0 0 0
    in this table cst_op_balnce and cost_closing_balace is null
    i have display cost_op_bal and cost_closing_balnce
    cost_closing_balance=cst_op_bal+cst_addition+cst_transfer+cst_disposal
    for period 2408 op_balnce=0 closing_bal=0
    for period 2409 op_balnce=0 closing_balce=1200
    for period 2410 op_bal=1200 closing_bal=1200
    closing balance of dec will be opening bal of jan
    thanks and regards
    Edited by: user10664276 on Apr 19, 2009 11:08 PM
    Edited by: user10664276 on Apr 19, 2009 11:13 PM

    Hi,
    user11118871 wrote:
    Can you explain what that is? Thank you if you have one example.
    ROWS BETWEEN  UNBOUNDED PRECEDING AND 1 PRECEDING
    When you use the analytic SUM (c) function, then, on each row, it returns the values of column (or expression) c from several rows in the result set added together.
    Which rows? That depends.
    If the analytic clause (the part in parentheses after OVER) does not include ORDER BY, then it is all rows.
    If the analytic clause has an ORDER BY clause, but no windowing clause (that is, ROWS BETWEEN ... or RANGE BETWEEN ...), then the rows included in the sum are all rows up to and including the row where the function is being called (as sorted by the analytic ORDER BY).
    If the analytic cluase has both ORDER BY and a windowing clause "ROWS BETWEEN x PRECEDING AND y PRECEDING", then the rows included in the sum are the rows from x to y rows before the one where the function is called.
    Do some experiments with different values of x and y.
    First, create a table like the one in the problem above, but simplified a little.
    CREATE TABLE     test_sum
    (      period     NUMBER
    ,      new_amt     NUMBER
    INSERT INTO test_sum (period, new_amt) VALUES (24108,     1);
    INSERT INTO test_sum (period, new_amt) VALUES (24109,     4);
    INSERT INTO test_sum (period, new_amt) VALUES (24110,     2);
    INSERT INTO test_sum (period, new_amt) VALUES (24111,     8);
    INSERT INTO test_sum (period, new_amt) VALUES (25001,     32);
    INSERT INTO test_sum (period, new_amt) VALUES (25002,     16);
    COMMIT;The original problem above used names that were meaningful for its application, and columns that have nothing to do with the SUM function. Let's simplify the former and lose the latter.
    That problem involved the SUM of three columns added together. Since we just want to understand how the windowing clause works, let's simplify that to one column.
    With these simplifications, my original query is:
    SELECT       period
    ,       new_amt     
    ,       SUM (new_amt) OVER ( ORDER BY          period
                                         ROWS BETWEEN  UNBOUNDED PRECEDING
                                 AND          1            PRECEDING
                        ) AS opening_balance
    ,       SUM (new_amt) OVER ( ORDER BY          period
                        ) AS closing_balance
    FROM       test_sum
    ORDER BY  period;Given the data above, it produces these results:
    .   PERIOD    NEW_AMT OPENING_BALANCE CLOSING_BALANCE
         24108          1                               1
         24109          4               1               5
         24110          2               5               7
         24111          8               7              15
         25001         32              15              47
         25002         16              47              63So, for example, on the row where period=24110,
    opening_balance=5, which is the total of new_amt from all rows up to but not including that row: 5=1+4, and
    closing_balance=7, which is the total of new_amt from all rows up to and including that row: 7=1+4+2.
    To really understand how the windowing clause works, do some experiments. Change the definition of opening_balance to include " BETWEEN x PRECEDING AND y PRECEDING". You'll find that:
    (a) "UNBOUNDED PRECEDING" means the same as "n PRECEDING", where n is greater than the number of rows in your result set.
    (b) "CURRENT ROW" means the same as "0 PRECEDING"
    (c) x must be greater than or equal to y
    (d) neither x nor y can be negative (but you can use "FOLLOWING" instead of "PRECEDING" to get the same effect).
    For more, see the introduction to "Analytic Functions" in the [SQL Language manual|http://download.oracle.com/docs/cd/B28359_01/server.111/b28286/functions001.htm#sthref972]
    When you're finished, don't forget to
    DROP TABLE     test_sum;

  • Open and closed invoices

    hi experts,
    I have to capture the parked, open and closed invoices in a report in reference to vendor...
    I got the parked invoice condition from the table BSTAT either v or w.
    But i am not getting the idea how to capture the open and closed invoices...
    Some one suggested me to use the ITEMSET structure but i donno how to capture those values can anyone suggest me how to do it...?
    SIRI

    Hi,
    you can use the same query...Also check the new code after the select..
    SELECT BUKRS BELNR GJAHR <b>BSTAT</b>
    FROM BKPF
    INTO TABLE T_BKPF
    WHERE BUKRS = P_BUKRS
    AND BSTAT IN ( ' ' , 'A' ) " ' ' - Normal document, A - Parked doc
    AND BLART = P_BLART
    AND CPUDT IN SO_CPUDT " Selection screen input.
    IF NOT T_BKPF[] IS INITIAL.
    SELECT BUKRS BELNR GJAHR BUZEI EBELN AUGBL AUGBT
    INTO TABLE T_BSEG
    FOR ALL ENTRIES IN T_BKPF
    WHERE BUKRS = T_BKPF-BUKRS
    AND BELNR = T_BKPF-BELNR
    AND GJAHR = T_BKPF-GJAHR
    AND EBELN IN SO_EBELN " selection-screen input
    ENDIF.
    LOOP AT T_BKPF.
    Parked
      IF T_BKPF-BSTAT = 'A'.
        WRITE: / T_BKPF-BELNR , ' - Parked'.
    process the next record.
        CONTINUE.
      ENDIF.
    Check for Open / Closed.
      LOOP AT T_BSEG WHERE BELNR = T_BKPF-BELNR
                                   AND      BUKRS = T_BKPF-BUKRS
                                   AND      GJAHR = T_BKPF-GJAHR
                                   AND      AUGBL <> ' '.
        EXIT.
      ENDLOOP.
    If the return code is 0 then the document is cleared..
      IF sy-subrc = 0.
        WRITE: / T_BKPF-BELNR , ' - Closed'.
    Else the document is not cleared.
      ELSE.
        WRITE: / T_BKPF-BELNR , ' - Open'.
      ENDIF.
    ENDLOOP.
    Thanks,
    Naren

  • 7344 servo motion switching between open and closed loop operation

    I have a custom end-of-line test system presently using a 4-axis 7344 servo controller to perform various functional tests on small, brushed DC motors. The system is programmed in C/C++ and uses flex motion functions to control the motor during testing. Motors are coupled to external encoder feedback and third party PWM drives running in closed-loop torque mode from an analog command signal. The system uses all four motion axis channels on the 7344 board to independently and asynchronously test up to four production motors at a time.
    In closed-loop mode, the system runs without issue, satisfying the battery of testing protocols executed by this system. I now have a request to add additional test functionality to the system. This testing must be run in open loop mode. Specifically, I need to use my +/- 10v analog output command to my torque drive to send different DAC output levels to the connected motor.drive while monitoring response.
    I do not believe the flex motion library or 7344 controller includes functions to easily switch between open and closed loop mode without sending a new drive configuration. I am also under the impression that I cannot reconfigure one (or more) servo controller axis channels without disabling the entire drive. As my system runs each axis channel in an asynchronous manner, any requirement to shutdown all drives each time I change modes is an unworkable solution.
    I am open to all ideas that will allow asynchronous operation of my 4 motor testing stations. If the only solution is to add a second 7344 controller and mechanical relays to switch the drive and motor wiring between two separately configured servo channels, so be it. I just want to explore any available avenue before I place a price tag on this new system requirement.
    Bob

    Jochen,
    Thank you for the quick response. The 7344 board does an excellent job running my manufacturing motor assemblies through a custom end-of-line tester in closed loop mode. A portion of the performance history and test result couples the motor through a mechanical load and external shaft. The shaft is in contact with a linear encoder that closes my servo loop.
    My new manufacturing requirement is to also sample/document how the small DC motor behaves in open loop operation. Your solution is exactly what I need to perform the additional functional tests on the product I am manufacturing. I see no reason why this cannot work. I was originally concerned that I would need to reinitialize the 7344 board after changing axis configuration. Initialization is a global event and impacts all four channels on the 7344 board.
    Using flex_config_axis() to change axis configuration on a single channel without disturbing other potentially running axis channels will solve my concern. It will be several weeks before I can return to the manufacturing facility where the 7344-based testing machine is located. I will update this thread once I verify a successful result.
    Bob

Maybe you are looking for

  • SSIS 2005 not running after upgrading (32 bit, Windows XP to 64 bit Windows 7)

    I really need some help. Recently I went from using Visual Studio and SQL 2005 on a laptop (32bit system - Windows XP) to a desktop unit 64bit processor with Windows 7). SSIS on the laptop worked just fine and I could execute and open packages in SSI

  • Intel iMac/PowerMac G4--Sharing a Printer

    I've been reading a bunch of posts, and just get confused, so hopefully someone can help me out with a simple answer. Have a PowerMac G4 running OS 9.1, with 2 printers connected with a USB hub (HP LaserJet 1320 and a Canon i860); have just added an

  • AirPlay:  iPhone 4 -- iMac or any mac's screen?

    Is it possible to stream content to other screen other than a Apple TV? For example, my iMac 27" which is nice and gorgeous screen? Thanks

  • Please help - license agreement keeps popping up in cs5

    I can't open my installed trial of photoshop as the license agreement keeps popping up. Every time I open photoshop the licence agreement pops up - then i click accept - then it pops up again......... and again, and again etc.. please help me!!! will

  • Automate Portal Import

    I am looking for a way to automate the process of Importing transport packages from my development to stage and then to production portal.  Does anyone have any documentation on how this can be automated?  Can this be done with a simple unix command