MinWidth not working with Scroller container

So, this might be a dumb question from a relative Flex newbie, but I haven't been able to figure it out for the last few hours, after trying many different combinations.  In a scrolling Group, I'm able to get the vertical scrolling to behave exactly as I want it to, but the horizontal scrolling just doesn't seem to function no matter what I do.
Examples from Design view:
As you can see, the content is larger than minHeight of 800, so the scrollbar appears...hooray!  Now, for the horizontal scrolling....
Horrible, ugly mega-fail.  (Note also that only some of the text areas actually scale, despite the fact that they're all coded identically...what's up with that?!).  I do realize that each of the nested border containers have children with fixed heights, and I'm using fluid widths throughout this layout..which may account for the different behavior.  But isn't that the whole point of the minWidth property?  To create a limit at which the scrollbars will appear?  I know I could force the Scroller size to 300, but then it would limit the size of the viewport to a maximum of 300, which is the last thing I want.  Basically, I need some help in understanding how the new Scroller system works with fluid layouts.  In MX, minWidth/minHeight just worked....*sigh*
Can anyone help me fix this?  Please stop me from losing faith in Abode's ability to create APIs that function inituitively.
Here's the code:
<s:BorderContainer xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx" dropShadowVisible="false"  width="100%" height="100%">
<fx:Declarations>
<!-- Place non-visual elements (e.g., services, value objects) here -->
</fx:Declarations>
<s:Scroller horizontalScrollPolicy="on" verticalScrollPolicy="auto" width="100%" height="100%">
<s:Group width="100%" height="100%" minHeight="800" minWidth="300">
<s:layout>
<s:VerticalLayout paddingLeft="10" paddingRight="10" paddingTop="10" paddingBottom="10" gap="20"/>
</s:layout>
<s:BorderContainer id="choiceContainer" width="100%" minWidth="300" height="150" cornerRadius="10" backgroundColor="0xDDDDDD" borderWeight="0" dropShadowVisible="false">
<s:layout>
<s:VerticalLayout paddingLeft="10" paddingRight="10" paddingTop="20" paddingBottom="10" gap="10"/>
</s:layout>
<s:Label text="Learner Choice" fontWeight="bold" fontSize="14"/>
<s:HGroup width="100%" height="20" verticalAlign="middle" horizontalAlign="center">
<s:Label text="Choice Label" width="100" textAlign="right"/>
<s:TextArea height="100%" width="100%" id="choiceLabelField" editable="true"/>
</s:HGroup>
<s:HGroup width="100%" height="50" verticalAlign="middle" horizontalAlign="center">
<s:Label text="Full Choice" width="100" textAlign="right"/>
<s:TextArea width="100%" height="100%" id="choiceBodyField"/>
</s:HGroup>
</s:BorderContainer>
<s:BorderContainer id="resultsContainer" width="100%" minWidth="300" height="275" cornerRadius="10" backgroundColor="0xDDDDDD" borderWeight="0" dropShadowVisible="false">
<s:layout>
<s:VerticalLayout paddingLeft="10" paddingRight="10" paddingTop="20" paddingBottom="10" gap="10"/>
</s:layout>
<s:Label text="Outcomes"  fontWeight="bold" fontSize="14"/>
<s:HGroup width="100%" height="50" verticalAlign="middle" horizontalAlign="center">
<s:Label text="Coach Feedback" width="100" textAlign="right"/>
<s:TextArea width="100%" height="100%" id="feedbackBodyField"/>
</s:HGroup>
<s:HGroup width="100%" height="50" verticalAlign="middle" horizontalAlign="center">
<s:Label text="Customer Says" width="100" textAlign="right"/>
<s:TextArea width="100%" height="100%" id="saysField"/>
</s:HGroup>
<s:HGroup width="100%" height="50" verticalAlign="middle" horizontalAlign="center">
<s:Label text="Customer Thinks" width="100" textAlign="right"/>
<s:TextArea width="100%" height="100%" id="thinksField"/>
</s:HGroup>
<s:HGroup width="100%" height="20" verticalAlign="middle" horizontalAlign="center" gap="20">
<s:Label text="Satisfaction Change: "/>
<s:NumericStepper id="satisfactionStepper" maximum="100" minimum="-100"/>
<s:Label text="Expression: "/>
<s:DropDownList id="expressionDropDown" width="100"/>
</s:HGroup>
</s:BorderContainer>
<s:BorderContainer id="nextActionContainer" width="100%" minWidth="300"  height="130" cornerRadius="10" backgroundColor="0xDDDDDD" borderWeight="0" dropShadowVisible="false">
<s:layout>
<s:VerticalLayout paddingLeft="10" paddingRight="10" paddingTop="20" paddingBottom="20" gap="20"/>
</s:layout>
<s:Label text="Next Action"  fontWeight="bold" fontSize="14"/>
<s:HGroup width="100%" height="20" verticalAlign="middle" horizontalAlign="center">
<s:Label text="Link to " width="100" textAlign="right"/>
<s:DropDownList id="linkToDropDown" width="100%"/>
</s:HGroup>
<s:HGroup width="100%" height="20" verticalAlign="middle" horizontalAlign="center" gap="20">
<s:CheckBox id="alertCheckBox" label="Show pop-up alert before learner advances: "/>
<s:Button id="editAlertButton" label="Edit Alert" enabled="{alertCheckBox.selected}"/>
</s:HGroup>
</s:BorderContainer>
</s:Group>
</s:Scroller>
</s:BorderContainer>

There have been a few bugs reported with Scroller.  It is trying to take on
some new capabilities, like resizing content so it doesn't get occluded by
the scrollbars and there's been some bugs in there.  In MX, the scrollbars
just showed up on top of your content, which was undesireable for many
folks.

Similar Messages

  • Why is scrolling not working with multiple youtube embeds layed out vertically in a stack on one page?

    Why is scrolling not working with multiple youtube embeds layed out in a stack on one page?

    Hi ,  
      This is a sort of performance issue , because your program takes more than the max time set for the program to execute in foreground.
    There are many stuff in program which will hamper your performance.
    I will list down a few
    1. SELECT *
    FROM konp
    INTO CORRESPONDING FIELDS OF TABLE konp_itab
    FOR ALL ENTRIES IN a363_itab
    WHERE knumh EQ a363_itab-knumh
    in this statement you are using for all entries a363_itab , but before this statement you are not checking if the table has any entry or not , please do remember that for all entries has this characterstic , that if you internal table does not contain any record , then all the records are selected from the database table. So in this case if you table a363_itab is empty , so what you want is no data must be seelcted from table konp , but what will happen is all the records in KONP will be seelcted.
    2. While retreiving data you are using seelct * even though you do not require all the fields , an example is
    <b>SELECT *
    FROM mkpf
    INTO CORRESPONDING FIELDS OF TABLE mkpf_itab
    FOR ALL ENTRIES IN mseg_itab
    WHERE mblnr EQ mseg_itab-mblnr.</b>
    in this your internal table contains only 2 fields
    <b>mblnr LIKE mkpf-mblnr, "Number of Material Document
    bldat LIKE mkpf-bldat, "Document Date in Document</b> , but to get these 2 fields you are selecting all the fields of the table.
    3. In select you are using into corresponding fields of table , it is not a good practice., so please avoidd it.
    Please understand that you must try to reduce the access to your database tables and try to keep it minimal , because this same thing may happen becasue data in DEV is very less compared to the volume of data in production , so a program working in DEV will take much more time in PRD if not written properly and may result in timeouts , as in your case.
    Please try to make chanegs to the prorgam and see if it works.
    In case you have more queries , please do revert back.
    Regards
    Arun
    *Reward points if replay is helpful

  • 5k retina display - scroll not working with Safari (both magic mouse and trackpad)

    Hi,
    suddenly my trackpad and magic mouse stopped working with scrolling (most annoying one) and other gestures.
    I recently bought the iMAC 5K retina display and was not expecting this by any means...
    I have a ton of tabs open on safari and simply "refuse" to try the old windows way of rebooting the machine...
    I have to use the arrow keys to scroll down... this is insane
    could you please advise? am I missing something?
    many thanks

    Just found out the reason I couldn't get the two to play nicely. I had connected my keyboard and trackpad using a "Magic Wand" which looked great. Unfortunately the magic wand had a connecting piece to fill in the gap between the two pieces and this was preventing the little pads underneath the trackpad clicking. So I can only guess that because the trackpad couldn't click it thought it was stuck and therefore also locked up the mouse. I've remove the connector and both pieces work perfectly together!

  • Horizontal Scroll does not work with Apple Magic Mouse

    Horizontal Scroll does not work with Apple Magic Mouse as it does with other Adobe software such as Photoshop.

    The system preferences window for the mouse has changed. The GUI elements are different.

  • Sidecar.xml not working with smoothScrolling

    Hi everybody!
    I am struggling with a big problem with the sidecar.xml file because it does not load the <smoothScrolling>always</smooothScolling> instruction.
    I have created a very simple "test" folio with only two articles each made of two pages either in horizontal and vertical, so I have the followinf structure:
    <FOLIO> (main folder)
    sidecar.xml
    <001> (first stack)
    001_v.indd (an indesign file with 1 page 768x1024)
    001_h.indd (an indesign file with 1 page 1024x768)
    <002> (second stack)
    002_v.indd (an indesign file with 2 pages 768x1024)
    002_h.indd (an indesign file with 2 pages 1024x768)
    I have created the sidecar using the utility of Johannes Henseler so I am sure it is correct and here it is (I have just removed the link section which was very long):
    <?xml version="1.0" encoding="UTF-8" standalone="true" ?>
    <sidecar>
              <!--
    sidecar.xml generator by Johannes Henseler
    http://projects.nordsueddesign.de/sidecarxml
    -->
              <!-- article #0 -->
              <entry>
                        <folderName>001</folderName>
                        <articleTitle>Test</articleTitle>
                        <author>Puzzle</author>
                        <kicker>Pilly</kicker>
                        <description>Cover</description>
                        <tags></tags>
                        <isAd>false</isAd>
                        <smoothScrolling>never</smoothScrolling>
                        <isFlattenedStack>false</isFlattenedStack>
              </entry>
              <!-- article #1 -->
              <entry>
                        <folderName>002</folderName>
                        <articleTitle>Test</articleTitle>
                        <author>Puzzle</author>
                        <kicker>Pilly</kicker>
                        <description>First Article</description>
                        <tags></tags>
                        <isAd>false</isAd>
                        <smoothScrolling>always</smoothScrolling>
                        <isFlattenedStack>false</isFlattenedStack>
              </entry>
    </sidecar>
    Well.. what it happens now is that I create a new folio with the Folio Builder Panel and then I import using the multiple article option. Everything seems ok (the two articles are imported and the description, article title, author, kicker are correct) but the "smoothScrolling" results to be deactivated! (in my Italian version I have the following text "Scorrimento uniforme: disattivato (allinea a pagina)" (that I translate as "never") instead I was expecting to have "Scorrimento uniforme: entrambe le direzioni" (that I translate as "always").
    And what is worse is that if I try to modify the property in Indesign using the Folio Builder Panel I get this error message:
    Errore di generazione contenuto.
    [Errore: Gli articoli con scorrimento uniforme devono contenere almeno una pagina singola. Aprite la finestra di dialogo Proprietà per modificare le opzioni di scorrimento uniforme.]
    I try to translate:
    Generating content error.
    Error: the articles with smoothScrolling must contains at least a single page. Open the dialogue window Property to modify the options for the smoothScrolling.
    Actually the Indesign source files 002_v.indd and 002_h.indd have already two pages so I do not understand what the error means. It just says to modify the property, but this means I can not have the smoothScrolling on "always" and I do not understand why!
    I just would like to have a "smoothScrolling" effect between two pages of various articles using the sidecar.xml file!
    Please someone can help me?

    Smooth scrolling and flattenig does not work in combination. I think there
    is no way to enable that.
    —Johannes
    (mobil gesendet)
    Am 01.03.2012 17:19 schrieb "Bob Levine" <[email protected]>:
       Re: Sidecar.xml not working with smoothScrolling  created by Bob Levine<http://forums.adobe.com/people/BobLevine>in
    Digital Publishing Suite - View the full discussion<http://forums.adobe.com/message/4239654#4239654>

  • "Next" and "Previous" functionality on UIX tables not working with 10g

    With new release of JDeveloper(10G), the "Next" and "Previous" navigation buttons/links on UIX tables are not working. I tried different approaches:
    1. It does not work with Data Controls built from Java Beans or from TopLink.
    2. I tried without using Data Controls and it still does not work.
    I shows "Next" and "Previous" buttons on the page. But it shows all records on the page rather then showing limited records. Say for example if the block size is 5 and total number of records are 15, it shows all 15 records in the table but the "next" and "Previouds" button would say "1-5 of 15".
    Did any of you observe the same behaviour?

    Hi Shital -
    Thanks for the additional info...
    When I said that the total number of records is 15, I
    meant that my tableData's DataObjectList contains 15
    entries. (In case of DataControls you don't even use
    DataObjectList, but for my non data control
    applications I used DataObjectList). You are saying
    that If I want to display only 5 records per page
    then I will need to provide a DataObjectList with
    five items. Then for next five records from 6-10 I
    will have to program in such a way that my method
    call returns 6-10 records.That's correct. In the case where you are explicitly providing data to the table via a DataObjectList, you need to feed the data to the table in page size blocks - and you also need to handle the table's goto event to scroll the table to the next/previous block of data.
    In previous version of
    UIX(2.1.7) I never had to program for next and
    previous buttons. UIX tables used to take care of
    that. That's why I am so surprised.It sounds like you must have been using the <bc4j:table> component. Is that the case?
    Getting back to your original issue...
    1. It does not work with Data Controls built
    from Java Beans or from TopLink.I believe that this is a bug in the preview release - and I'm fairly sure this will be addressed by production. In production, ADF should automatically handle wiring up table scrolling for you when binding your table to a data control - whether the data control is implemented via JavaBeans, Toplink, or BC4J. I believe that in the preview release, scrolling only working when binding to a BC4J data control.
    Andy

  • Layout adjustment not working with tables

    Hi all
    Why will layout adjustment not work with tables?
    I am trying to re-format from A4 landscape to A4 portrait.
    The text box containing the table will resize but not the table.
    Any clues why this might be, I don't want to manually resize every table in the document.
    Many thanks,
    Rob

    Thanks Jongware,
    Having resized the table and got the little red ovals, I tried various things like changing the font size etc but the best workaround I found was to select the table and change the cell inset value to 0, this got rid of all red ovals and I didn't need to change the font size.
    Cheers,
    Rob

  • Drag and Drop not working with spark HGroup with code

    Can anyone tell me why my HGroup won't fire the dragEnter dragDrop and DragOver events?
    Here is the sample code:
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                   xmlns:s="library://ns.adobe.com/flex/spark"
                   xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600">
        <fx:Declarations>
            <!-- Place non-visual elements (e.g., services, value objects) here -->
        </fx:Declarations>
        <fx:Script>
            <![CDATA[
                import mx.core.IUIComponent;
                import mx.events.DragEvent;
                import mx.managers.DragManager;
                private function dragEnterHandler(e:DragEvent):void {
                    DragManager.acceptDragDrop(e.currentTarget as IUIComponent);
                private function dragOverHandler(e:DragEvent):void {
                    DragManager.showFeedback(DragManager.COPY);
                //user drops src onto target, so re-parent the src to the target
                private function dragDropHandler(e:DragEvent):void {
                    var img:Image = e.dragInitiator as  Image;
                    var newImg:Image = new Image();
                    newImg.load(img.source);
                    var grp:HGroup = e.currentTarget as HGroup;
                    grp.addElement(newImg);
                private function mouseDownHandler(e:MouseEvent):void {
                    DragManager.doDrag(e.currentTarget as IUIComponent, null, e);
            ]]>
        </fx:Script>
        <s:layout>
            <s:HorizontalLayout />
        </s:layout>
        <s:Panel width="50%" height="100%" title="Drag me">
            <mx:Image source="http://www.google.com/intl/en_ALL/images/logo.gif" mouseDown="mouseDownHandler(event);" />
        </s:Panel>
        <s:Panel width="50%" height="100%" title="to Here">
            <s:HGroup width="100%" height="50%" dragEnter="dragEnterHandler(event);" dragDrop="dragDropHandler(event);"  dragOver="dragOverHandler(event);" />   
            <s:HGroup width="100%" height="50%" dragEnter="dragEnterHandler(event);" dragDrop="dragDropHandler(event);"  dragOver="dragOverHandler(event);" />   
        </s:Panel>
    </s:Application>

    Derek,IE11 is having some compatibility issues with the share point.Apart from IE11,it should work on IE10,9 and Firefox and chrome as well.
    Please check the links below that explains the issues with IE11 and the functionality of Drag and drop and limitations as-well.
    1.Since SharePoint 2013 fully support IE 32-bit version above 7, there might be compatibility issue with other browsers. I’d recommend you use IE 8,9,10 32-bit for optimal Performance.
    2. Open the same document library in Internet Explorer as this functions does not work with Firefox or Chrome by default
    3. Make sure the IE (Internet Explorer) Version should be 32-bit and not a 64-bit
    http://expertsharepoint.blogspot.de/2014/08/issues-with-sharepoint-2013-and.html
    http://expertsharepoint.blogspot.de/2013/12/how-to-upload-multiple-documents-in.html
    http://expertsharepoint.blogspot.de/2013/12/sharepoint-server-2013-drag-and-drop.html
    Anil Avula[Partner,MCP,MCSE,MCSA,MCTS,MCITP,MCSM] See Me At: http://expertsharepoint.blogspot.de/

  • External isight not working with Macbook Pro early 2008

    My external isight is not working with my Macbook Pro early 2008 (2.4 GHz, Intel Core 2 Duo, 6 GB RAM, OSX Lion). It goes warm when plugged into the firewire port but is not recognized in system prefs (lists as "unknown device" and also does not turn on (green light. I tried resetting PRAM and all the other stuff as suggested here but no luck. It used to work fine on a 1st generation Macbook and I remember that one of the first times I tried it with this machine here it turned on for a few secs (green light) but then it just simply stopped.
    Unfortunately, I have no other firewire device to check the port.
    Any ideas, dear community?

    Our (old) external Firewire iSights can be sensitive to dust, shock, vibration, humidity, and other environmental factors in storage.  (I store my spare in its original plastic shipping case with a new desiccant pack on a solid shelf - never in a desk drawer or other container that moves.) 
    You have tried several good things and may be finding that your old iSight needs work. 
    Here are the alternatives I can offer.  Consider any you have not tried in any order you like:
    (1) You can try Apple's suggestions from http://support.apple.com/kb/HT2090
    Test in more than one user account and with more than one Apple softwre application.
    (2) My expanded suggestions here: http://www.ralphjohns.co.uk/EZJim/EZJimpage4.html
    (3) Reset Firewire ports using the info from this old archived Apple article: http://web.archive.org/web/20090331211534/http://support.apple.com/kb/HT1317
    (4) If you have no local Apple Authorized service Provider who can help you, other service options are here: http://www.apple.com/support/isight/service/
    (5) Consider a new USB cam with current warranty such as one of these: http://www.mac-compatible-web-cam.com/
    Message was edited by: EZ Jim

  • Does firefox work with the Hypersnap-Dx pro for screen captures. I can't get it to work with scroll option??

    I have been using Hypersnap dx pro for awhile now with firefox but it won't work with auto-scroll to get the whole page. Thanks.

    A mouse, which is a pointing device, will not work with an iPad...there is no cursor for the mouse to move around.  You must use the touch screen.

  • I just downloaded Firefox 5 and it said that my Yahoo toolbar will not work with it. Is this true? If so I will not use this new version and will switch to another browser if Firefox stops supporting the Yahoo toolbar. Thank you.

    I just downloaded Firefox 5 and it said that my Yahoo toolbar will not work with it. Is this true? If so I will not use this new version and will switch to another browser if Firefox stops supporting the Yahoo toolbar. Thank you.

    Add-ons contain a range of compatible Firefox versions, and Firefox honors the listed range by disabling the add-on if you are trying to run it on an unlisted version.
    I'm sure Yahoo! will update its toolbar eventually, but not every add-on maker supports beta versions of software.

  • I've lost CS5 Design Premium Teachers Edition CD Installation Package. How can I download it? Typical version of CS 5 Design Premium is not working with my serial number

    I've lost CS5 Design Premium Teachers Edition CD Installation Package. How can I download it? Typical version of CS 5 Design Premium is not working with my serial number. Can someone help me?

    Łukasz%20Molenda if you purchased Creative Suite 5 from Adobe directly, and choose the download option at the time of purchase, then the download will be available in your account at http://www.adobe.com/.  You can find additional details at https://helpx.adobe.com/creative-suite/kb/find-download-link.html.
    If you purchased the software on a DVD and your current computer does not have an optical drive then you can copy the installation files to a USB drive on a computer which does contain an optical drive.

  • I bought Numbers because my Excel files would not work with Mavericks. How can I import a non-functioning Excel file into numbers? (As of now, the file NAME transfers but data is not.) but

    I bought Numbers because my Excel files would not work with Mavericks. How can I import a non-functioning Excel file into numbers? (As of now, the file NAME transfers but data does not.)

    HI Dave,
    I'm surprised you get no message when you attempt opening the Excel document in Numbers.
    I'm assuming Numbers 3.1, since you are running Mavericks.
    Does the Numbers file that opens show any content?
    Does it contain a table?
    How large?
    Does it contain more than one tab (indicating more than one sheet)?
    Do those other tabs contain a table?
    Have you checked those tables for data content?
    There have been cases in the past of imported documents opening with white text on a white background, giving the appearance of containing nothing. Check for this by selecting a block of cells, then applying a Fill colour or a Text colour using the Format button (paintbrush).
    I'd also suggest attempting to open the Excel files using LibreOffice, which can be downloaded from the linked website.
    Regards,
    Barry

  • Bdc not working with workflow

    Hallo,
    I have an issue with a bdc FM i created not working with workflow.
    If I test the FM, it works ok.
    If i Test the method calling the FM it works ok.
    if i test the task calling the method it works ok.
    If I run the workflow it doesn't work, and i get the following messages:
    S     DC     1     Unable to initialise ABAP Control Framework ...             
    S     DC     1     Unable to initialise ABAP Control Framework ...          
    S     DC     6     Control Framework: Fatal error - GUI cannot be reached     
    A     SY     2     Exception condition "CNTL_ERROR" raised.
    What is the meaning of this??     
    Bdc is calling Me54n to set to click on reject button during Purchase Requisition Release,
    putting the PR processing state in status '08'
    I checked all the binding which are fine. No container parameter are passed a part from the business object.
    here is the FM coding:
    FUNCTION ZME_N_WF_REJ_PR.
    ""Local interface:
    *"  IMPORTING
    *"     VALUE(CTU) LIKE  APQI-PUTACTIVE DEFAULT 'X'
    *"     VALUE(MODE) LIKE  APQI-PUTACTIVE DEFAULT 'N'
    *"     VALUE(UPDATE) LIKE  APQI-PUTACTIVE DEFAULT 'L'
    *"     VALUE(GROUP) LIKE  APQI-GROUPID OPTIONAL
    *"     VALUE(USER) LIKE  APQI-USERID OPTIONAL
    *"     VALUE(KEEP) LIKE  APQI-QERASE OPTIONAL
    *"     VALUE(HOLDDATE) LIKE  APQI-STARTDATE OPTIONAL
    *"     VALUE(NODATA) LIKE  APQI-PUTACTIVE DEFAULT '/'
    *"     VALUE(BANFN_003) LIKE  BDCDATA-FVAL
    *"  EXPORTING
    *"     VALUE(SUBRC) LIKE  SYST-SUBRC
    *"  TABLES
    *"      MESSTAB STRUCTURE  BDCMSGCOLL OPTIONAL
    subrc = 0.
    perform bdc_nodata      using NODATA.
    perform open_group      using GROUP USER KEEP HOLDDATE CTU.
    perform bdc_dynpro      using 'SAPLMEGUI' '0014'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=MECHOB'.
    *perform bdc_field       using 'DYN_6000-LIST'
                                 LIST_001.
    perform bdc_field       using 'BDC_CURSOR'
                                  'MEREQ3328-AFNAM'.
    *perform bdc_field       using 'MEREQ3328-EKGRP'
                                 EKGRP_002.
    perform bdc_dynpro      using 'SAPLMEGUI' '0002'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=MEOK'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'MEPO_SELECT-BANFN'.
    perform bdc_field       using 'MEPO_SELECT-BANFN'
                                  BANFN_003.
    perform bdc_dynpro      using 'SAPLMEGUI' '0014'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=MEREJECT'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'DYN_6000-LIST'.
    perform bdc_dynpro      using 'SAPLMEGUI' '0014'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=MESAVE'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'DYN_6000-LIST'.
    perform bdc_transaction tables messtab
    using                         'ME54N'
                                  CTU
                                  MODE
                                  UPDATE.
    if sy-subrc <> 0.
      subrc = sy-subrc.
      exit.
    endif.
    perform close_group using     CTU.
    ENDFUNCTION.
    INCLUDE BDCRECXY .
    I tries the same approach on ML81N to block a service entry sheet.(pressing the lock icon),
    I get exactly the same issue.
    Anybody knows how to resolve?
    Or how to do the same without using a bdc call?
    regards,
    marco

    Hi
    this is the Method callind the FM
    object is BUS2105 w delegation ZBUS2105.
    BEGIN_METHOD ZRELEASEREJECTED CHANGING CONTAINER.
    Data: CTU TYPE APQI-PUTACTIVE,      
          MODE TYPE APQI-PUTACTIVE,     
          UPDATE TYPE APQI-PUTACTIVE,
         NODATA TYPE APQI-PUTACTIVE.  
    CTU = 'X'.               
    MODE = 'N'.                
    UPDATE = 'L'.              
    NODATA = '/'.              
    iobjectkey = object-key.
       CALL FUNCTION 'ZME_N_WF_REJ_PR'             
         EXPORTING                                 
           BANFN_003 = iobjectkey                  
           NODATA = NODATA                                            
           UPDATE = UPDATE                         
           MODE = MODE                             
           CTU = CTU                               
         IMPORTING                                 
           SUBRC = SUBRC                           
         TABLES                                    
           MESSTAB = MESSAGE                       
         EXCEPTIONS                                
           OTHERS = 01.                            
       CASE SY-SUBRC.                              
         WHEN 0.            " OK                   
         WHEN OTHERS.       " to be implemented    
       ENDCASE.                                    
    SWC_SET_ELEMENT CONTAINER 'Subrc' SUBRC.                   
    SWC_SET_TABLE CONTAINER 'MESSAGE' MESSAGE.                                                                               
    END_METHOD.

  • Bdc not working with workflow - background task

    Hallo,
    I have an issue with a bdc FM i created not working with workflow.
    If I test the FM, it works ok.
    If i Test the method calling the FM it works ok.
    if i test the task calling the method it works ok.
    If I run the workflow it doesn't work, and i get the following messages:
    S DC 1 Unable to initialise ABAP Control Framework ...
    S DC 1 Unable to initialise ABAP Control Framework ...
    S DC 6 Control Framework: Fatal error - GUI cannot be reached
    A SY 2 Exception condition "CNTL_ERROR" raised.
    What is the meaning of this??
    Bdc is calling Me54n to set to click on reject button during Purchase Requisition Release,
    putting the PR processing state in status '08'
    I checked all the binding which are fine. No container parameter are passed a part from the business object.
    here is the FM coding:
    FUNCTION ZME_N_WF_REJ_PR.
    ""Local interface:
    *" IMPORTING
    *" VALUE(CTU) LIKE APQI-PUTACTIVE DEFAULT 'X'
    *" VALUE(MODE) LIKE APQI-PUTACTIVE DEFAULT 'N'
    *" VALUE(UPDATE) LIKE APQI-PUTACTIVE DEFAULT 'L'
    *" VALUE(GROUP) LIKE APQI-GROUPID OPTIONAL
    *" VALUE(USER) LIKE APQI-USERID OPTIONAL
    *" VALUE(KEEP) LIKE APQI-QERASE OPTIONAL
    *" VALUE(HOLDDATE) LIKE APQI-STARTDATE OPTIONAL
    *" VALUE(NODATA) LIKE APQI-PUTACTIVE DEFAULT '/'
    *" VALUE(BANFN_003) LIKE BDCDATA-FVAL
    *" EXPORTING
    *" VALUE(SUBRC) LIKE SYST-SUBRC
    *" TABLES
    *" MESSTAB STRUCTURE BDCMSGCOLL OPTIONAL
    subrc = 0.
    perform bdc_nodata using NODATA.
    perform open_group using GROUP USER KEEP HOLDDATE CTU.
    perform bdc_dynpro using 'SAPLMEGUI' '0014'.
    perform bdc_field using 'BDC_OKCODE'
    '=MECHOB'.
    *perform bdc_field using 'DYN_6000-LIST'
    LIST_001.
    perform bdc_field using 'BDC_CURSOR'
    'MEREQ3328-AFNAM'.
    *perform bdc_field using 'MEREQ3328-EKGRP'
    EKGRP_002.
    perform bdc_dynpro using 'SAPLMEGUI' '0002'.
    perform bdc_field using 'BDC_OKCODE'
    '=MEOK'.
    perform bdc_field using 'BDC_CURSOR'
    'MEPO_SELECT-BANFN'.
    perform bdc_field using 'MEPO_SELECT-BANFN'
    BANFN_003.
    perform bdc_dynpro using 'SAPLMEGUI' '0014'.
    perform bdc_field using 'BDC_OKCODE'
    '=MEREJECT'.
    perform bdc_field using 'BDC_CURSOR'
    'DYN_6000-LIST'.
    perform bdc_dynpro using 'SAPLMEGUI' '0014'.
    perform bdc_field using 'BDC_OKCODE'
    '=MESAVE'.
    perform bdc_field using 'BDC_CURSOR'
    'DYN_6000-LIST'.
    perform bdc_transaction tables messtab
    using 'ME54N'
    CTU
    MODE
    UPDATE.
    if sy-subrc 0.
    subrc = sy-subrc.
    exit.
    endif.
    perform close_group using CTU.
    ENDFUNCTION.
    INCLUDE BDCRECXY .
    I tries the same approach on ML81N to block a service entry sheet.(pressing the lock icon),
    I get exactly the same issue.
    Anybody knows how to resolve?
    Or how to do the same without using a bdc call?
    regards,
    marco

    Hallo,
    I have an issue with a bdc FM i created not working with workflow.
    If I test the FM, it works ok.
    If i Test the method calling the FM it works ok.
    if i test the task calling the method it works ok.
    If I run the workflow it doesn't work, and i get the following messages:
    S DC 1 Unable to initialise ABAP Control Framework ...
    S DC 1 Unable to initialise ABAP Control Framework ...
    S DC 6 Control Framework: Fatal error - GUI cannot be reached
    A SY 2 Exception condition "CNTL_ERROR" raised.
    What is the meaning of this??
    Bdc is calling Me54n to set to click on reject button during Purchase Requisition Release,
    putting the PR processing state in status '08'
    I checked all the binding which are fine. No container parameter are passed a part from the business object.
    here is the FM coding:
    FUNCTION ZME_N_WF_REJ_PR.
    ""Local interface:
    *" IMPORTING
    *" VALUE(CTU) LIKE APQI-PUTACTIVE DEFAULT 'X'
    *" VALUE(MODE) LIKE APQI-PUTACTIVE DEFAULT 'N'
    *" VALUE(UPDATE) LIKE APQI-PUTACTIVE DEFAULT 'L'
    *" VALUE(GROUP) LIKE APQI-GROUPID OPTIONAL
    *" VALUE(USER) LIKE APQI-USERID OPTIONAL
    *" VALUE(KEEP) LIKE APQI-QERASE OPTIONAL
    *" VALUE(HOLDDATE) LIKE APQI-STARTDATE OPTIONAL
    *" VALUE(NODATA) LIKE APQI-PUTACTIVE DEFAULT '/'
    *" VALUE(BANFN_003) LIKE BDCDATA-FVAL
    *" EXPORTING
    *" VALUE(SUBRC) LIKE SYST-SUBRC
    *" TABLES
    *" MESSTAB STRUCTURE BDCMSGCOLL OPTIONAL
    subrc = 0.
    perform bdc_nodata using NODATA.
    perform open_group using GROUP USER KEEP HOLDDATE CTU.
    perform bdc_dynpro using 'SAPLMEGUI' '0014'.
    perform bdc_field using 'BDC_OKCODE'
    '=MECHOB'.
    *perform bdc_field using 'DYN_6000-LIST'
    LIST_001.
    perform bdc_field using 'BDC_CURSOR'
    'MEREQ3328-AFNAM'.
    *perform bdc_field using 'MEREQ3328-EKGRP'
    EKGRP_002.
    perform bdc_dynpro using 'SAPLMEGUI' '0002'.
    perform bdc_field using 'BDC_OKCODE'
    '=MEOK'.
    perform bdc_field using 'BDC_CURSOR'
    'MEPO_SELECT-BANFN'.
    perform bdc_field using 'MEPO_SELECT-BANFN'
    BANFN_003.
    perform bdc_dynpro using 'SAPLMEGUI' '0014'.
    perform bdc_field using 'BDC_OKCODE'
    '=MEREJECT'.
    perform bdc_field using 'BDC_CURSOR'
    'DYN_6000-LIST'.
    perform bdc_dynpro using 'SAPLMEGUI' '0014'.
    perform bdc_field using 'BDC_OKCODE'
    '=MESAVE'.
    perform bdc_field using 'BDC_CURSOR'
    'DYN_6000-LIST'.
    perform bdc_transaction tables messtab
    using 'ME54N'
    CTU
    MODE
    UPDATE.
    if sy-subrc 0.
    subrc = sy-subrc.
    exit.
    endif.
    perform close_group using CTU.
    ENDFUNCTION.
    INCLUDE BDCRECXY .
    I tries the same approach on ML81N to block a service entry sheet.(pressing the lock icon),
    I get exactly the same issue.
    Anybody knows how to resolve?
    Or how to do the same without using a bdc call?
    regards,
    marco

Maybe you are looking for