BDC Grid Issue

Hi All,
I have created a BDC for transaction F-44. I have 2 problems:
a) Once I enter the Vendor code on the main screen and select "Document No" as the input option, the next screen presents me with a set of text boxes to enter the document nos. This is not a grid, its just a set of text boxes. The no. of rows of these boxes changes with resolution. How can I tackle this in my BDC? There are no Pageup-PageDn options on the screen either.
b) Beyond that the next screen shows these document nos. in a table control. I need to scroll to a required record and update the value there. I am not sure how to handle the Table Control in BDC.
All help is appreciated.
Regards,
Madhur

Hi Madhur ,
You  mean to say the table control is like a check box entry with no scroll bar .
Did u check the option of pushbuttons other selection/other account/process open items .    
in the screen for t-code f-44 
1.     Enter the first entry as normal , second entry I mean the document number and make a recording , store the code in a $TMP program say PROG1 (same as u r doing).
2.     Now do the recording for the first item as manual and then for the second item do it with going to ‘OTHER SELECTION’  which is same , u’ll get a subscreen asking for again , amount /document number etc in PROG2 and $tmp.
3.     select the document number and proceed . do the recording similarly for the third item and save the recording .
4.     if u look in here carefully  compare the prog1 and prog2 .
5.     u’ll find a difference in the cursor alignment from both the programs .
6.     u’ll find the extra coding for a screen(the subscreen where u have entered document number as the radiobutton) in PROG2 for u have explicitly selected Document number , remember this .
7.     this is the cursor alignment that u need to handle .
8.     see the case is simple it is giving u a check box screen instead of a scroll page option as there are multilple entries u can make  on amount , document list etc .. I mean to say all the radiobutton in the subscreen.
9.     so the solution can be the recording as per prog 2 as the cursor is set to that particular item number .
10.     capture this in ur code , mainly concentrate where the cursor is taking u , clear the item and increment by 10 everytime and check for every hit in the itab .
  just proceed like this ,
regards,
vijay.

Similar Messages

  • Screen Resolution issue - BDC Grid

    Hi All,
    I am facing an issue with BDC for PRMM transaction.
    If we look at the PRMM transaction, the very first screen consist of GRid forAction type.
    The records in the grid of PRMM transaction is changing as per the screen resolution of User desktop.
    Example: In my screen, I am able to see 16 rows in Grid and in user desktop i can see 10 or 20 rows. Because of this the Pagedown option and BDC is not behaving properly.
    Please suggest what should be done to resolve it.
    Thanks,
    Shilpa

    Hi Shilpa,
    during recording from SHDB, use check box for Default Size.
    in call transaction syntax: use
    data: wa_opt type ctu_params.
    wa_opt-dismode  = w_mode. [N OR A OR E]
      wa_opt-defsize  = c_check.[X]
    wa_opt-updmode  = 'A'.
    CALL TRANSACTION c_me41 USING i_bdcdata
                              OPTIONS FROM wa_opt [INSTEAD OF HARD CODING MODE]
                              MESSAGES INTO i_msgcoll.
    Hope this can solve your problems.
    Regards,
    Tutun

  • Bdc sessions Issues

    I have a users who is trying to process a BDC session in sm35 and they are getting you are unable to schedule session XXXX.
    I checked sm35 and they have access to it
    And object S_BDC_MONI has values of ABTC, ANAL, AND AONL.
    Nothing happens of course they are offsight so an su53 I am unable to do now............any suggestions.
    THANKS!!!!

    Maritza,
    There are many reasons why ST01 is not showing results.  Try practicing with it in one of your test systems or see if anyone in your area has used it before who may provide assistance.
    Try one other thing after the user runs the transaction.  You run SU53.  Then hit F5 and put in the user ID of the user with the issue.  See what object shows up.
    Cheers,
    Ben

  • ITS 6.20 PL18 - ALV Grid issues

    Hi,
    We are in the midst of testing the ITS 6.20 patch 18 with EP6 SP12 and we have run into some problems that were not evident with 6.10.
    First. With IAC PP_MY_REQUIREMENTS (Requirements Profile) and PP_MY_PROFILEMATCHUP (Profile Matchup), there is now a visible horizontal bar that goes across the whole window. It can be moved up and down. This is not there in 6.10.
    Second. With the new PZ31_EWT (Edit Qualifications) transaction, when you select a qualification on the left and it then appears on the right, the dropdown for the ALV grid does not stay droped down when clicked. You have to hold the mouse button, and then when you drag over top of the choice that you want, it doesn't select it, BUT, if you use your arrow keys on the keyboard, it changes the value.
    Third. With PV8I (Internal Training), when viewing the Booking Information in the bottom of the screen, the top line/header of the window is only 1/8 visible.
    Has anyone run into any of these problems before? Does patch 19 or 20 (when it comes out) solve any of these problems?
    Sorry for all the ranting!!
    Cheers,
    Kevin

    Hi Kevin,
    I tried to recreate these issues with patch 20.
    First. I was not able to get the screens in the test system but it sounds to me like a splitter sash that devides two areas.
    Second. The drop down listboxes work as expected with patch 20 and stay open.
    Third. I am unsure if I did the correct steps but the book information area in PV8I looks pretty good. The header was completely visible.
    Best regards,
    Klaus

  • Flex Grid Issues

    Hi,
    I am using Flex Grid in my project where i am successfully able to populate xml data dynamically. what i am doing here, I am dynamically generating the xml using httpservice. This HttpService is returning an XmlList that i am using to bind the grid dynamically.
    Here i am not fixing the column header text and column width as  in future the number of cloumns can be increased so i can't fix the column header text and column width.
    Here the issue is: how to remove " _x0020_"  from the header text and how to fix column width dynamically using Action Script.
    For better idea please refer the screen shot as attached along with post.
    Please have a look on the code as pasted below:
    <?xml version="1.0" encoding="utf-8"?><mx:Canvas 
    xmlns:mx="http://www.adobe.com/2006/mxml" width="862" height="580"><mx:TitleWindow 
    x="182" y="113" width="670" height="395" layout="vertical" title="
    Top Presenters" fontSize="12"horizontalAlign="
    center" verticalAlign="top" showCloseButton="true" close="CloseGridWindow()" verticalScrollPolicy="
    off" borderColor="#000000"horizontalScrollPolicy="
    off" borderThicknessLeft="3"borderThicknessRight="
    3" borderThicknessBottom="3" creationComplete="GetTopPresentersXMLData()" backgroundColor="
    #FFFFFF" cornerRadius="
    0" color="#FFFFFF" >
    <mx:Script><![CDATA[
    import mx.controls.dataGridClasses.DataGridColumn; 
    import mx.collections.XMLListCollection; 
    import mx.managers.PopUpManager; 
    import mx.rpc.events.FaultEvent; 
    import mx.rpc.events.ResultEvent; 
    import mx.rpc.http.HTTPService; 
    import mx.events.FlexEvent; 
    import mx.controls.Alert; 
    //funtion to get Top Presenters xml data 
    private function GetTopPresentersXMLData():void{
    var httpService:HTTPService = new HTTPService();httpService.url =
    "http://ri/CItSL/Ters.aspx?mode=all&month=march&year=2009";httpService.resultFormat =
    "e4x";httpService.addEventListener(ResultEvent.RESULT, onResultHttpService);
    httpService.send();
    Bindable] 
    private var _xmlData:XMLList; 
    //funtion to receive Http Service Response as XML Document  
    private function onResultHttpService(e:ResultEvent):void{
    var xmlData:XMLList = e.result.Table;myGrid.dataProvider = xmlData;
    for each (var node:XML in xmlData[0].children()){
    addDataGridColumn(node.name());
    //function to add column dynamically  
    private function addDataGridColumn(dataField:String):void{
    //var spacePattern:RegExp=/_x0020_/g; 
    //var andPattern:RegExp=/_x0026_/g; 
    //dataField=dataField.replace(spacePattern," "); 
    //dataField=dataField.replace(andPattern,"&"); 
    var dgc:DataGridColumn=new DataGridColumn(dataField); 
    var cols:Array=myGrid.columns;cols.push(dgc);
    myGrid.columns=cols;
    myGrid.validateNow();
    //funtion to remove grid window 
    private function CloseGridWindow():void{
    PopUpManager.removePopUp(
    this);}
    ]]>
    </mx:Script>  
    <mx:DataGrid id="myGrid" alternatingItemColors="[#A2F4EF, #EFDE7D]" x="0" y="0" sortableColumns="false" width="658" height="352" fontSize="10" verticalAlign="middle" editable="false" enabled="true" horizontalGridLineColor="#befcc4" color="#000000">  
    </mx:DataGrid>
    </mx:TitleWindow>
    Please let me know, If anyone knows the solution.

    Hi,
    You can follow the below mentioned code and see if this works for you.
    <?xml version="1.0" encoding="utf-8"?>
    <mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml"
        creationComplete="onComplete();">
        <mx:Script>
            <![CDATA[
                // imports:
                import mx.events.FlexEvent;
                import mx.core.UIComponent;
                import mx.controls.dataGridClasses.DataGridColumn;
                import mx.controls.Text;
                import mx.utils.ObjectUtil;
                import mx.controls.Label;
                import mx.collections.ArrayCollection;
                // data provider:
                [Bindable] private var dp:ArrayCollection = new ArrayCollection();
                private function onComplete():void {
                    // populate data provider here
                    // to avoid calcMaxLengths execution when the app is created:
                    dp = new ArrayCollection(
                            { col1: "Short", col2: "Other column 1" },
                            { col1: "Some long string", col2: "Other column 2" },
                            { col1: "Short", col2: "Other column 3" },
                            { col1: "Short", col2: "Other column 4" },
                            { col1: "The longest value in this column", col2: "Other column 5" },
                            { col1: "Short", col2: "Other column 6" },
                            { col1: "Short", col2: "Other column 7" }
                // this is going to be executed whenever the data provider changes:
                [Bindable("dataChange")]
                private function calcMaxLengths(input:ArrayCollection):ArrayCollection {
                    // if there are items in the DP:
                    if ( input.length > 0 ) {
                        // and no SPECIAL child exists:
                        if ( getChildByName("$someTempUICToRemoveAfterFinished") == null ) {
                            // create new SPECIAL child
                            // this is required to call measureText
                            // if you use custom data grid item renderer
                            // then create instance of it instead of UIComponent:
                            var uic:UIComponent = new UIComponent();
                            // do not show and do not mess with the sizes:
                            uic.includeInLayout = false;
                            uic.visible = false;
                            // name it to leverage get getChildByName method:
                            uic.name = "$someTempUICToRemoveAfterFinished";
                            // add event listener:
                            uic.addEventListener(FlexEvent.CREATION_COMPLETE, onTempUICCreated);
                            // add to parent:
                            addChild(uic);
                    // return an input:
                    return input;
                // called when SPECIAL child is created:
                private function onTempUICCreated(event:FlexEvent):void {
                    // keep the ref to the SPECIAL child:
                    var renderer:UIComponent = UIComponent(event.target);
                    // output - this will contain max size for each column:
                    var maxLengths:Object = {};
                    // temp variables:
                    var key:String = "";
                    var i:int=0;
                    // for each item in the DP:
                    for ( i=0; i<dp.length; i++ ) {
                        var o:Object = dp.getItemAt(i);
                        // for each key in the DP row:
                        for ( key in o ) {
                            // if the output doesn't have current key yet create it and set to 0:
                            if ( !maxLengths.hasOwnProperty(key) ) {
                                maxLengths[key] = 0;
                            // check if it's simple object (may cause unexpected issues for Boolean):
                            if ( ObjectUtil.isSimple(o[key]) ) {
                                // measure the text:
                                var cellMetrics:TextLineMetrics = renderer.measureText(o[key]+"");
                                // and if the width is greater than longest found up to now:
                                if ( cellMetrics.width > maxLengths[key] ) {
                                    // set it as the longest one:
                                    maxLengths[key] = cellMetrics.width;
                    // apply column sizes:
                    for ( key in maxLengths ) {
                        for ( i=0; i<dg.columnCount; i++ ) {
                            // if the column actually exists:
                            if ( DataGridColumn(dg.columns[i]).dataField == key ) {
                                // set size + some constant margin
                                DataGridColumn(dg.columns[i]).width = Number(maxLengths[key]) + 12;
                    // cleanup:
                    removeChild(getChildByName("$someTempUICToRemoveAfterFinished"));
            ]]>
        </mx:Script>
        <mx:DataGrid id="dg" horizontalScrollPolicy="on" dataProvider="{calcMaxLengths(dp)}" width="400">
            <mx:columns>
                <mx:DataGridColumn dataField="col1" width="40" />
                <mx:DataGridColumn dataField="col2" width="100" />
            </mx:columns>
        </mx:DataGrid>
    </mx:WindowedApplication>
    Regards

  • Data Grid - issues resizing width of columns and with data refresh and sort

    SQLDeveloper 1215 on Windows XP professional
    Database : various 9.2
    In the table data tab there are a few minor issues our developers have highlighted.
    1) There seems to be a minimum column width in the data display. This restricts flexibility in reviewing the data, esp. where the data length is less than the minimum column width.
    2) If a column is resized or the column order is changed and a refresh or a new filter is applied then the columns are restored to their original position and size making it frustrating to run more than one query via the GUI.
    3) There is no quick sort option by clicking on the column heading which would be useful.

    I am still seeing this minimum column width in SQL Developer production (v1467) and I haven't seen any other posts relating to this. I have seen this all of the grids that I have looked at, including all of the grid based sub-tabs for the Object tabs (ie Columns, Data, Indexes, Constraints, etc) and the SQL Worksheet results tab.
    It is very obvious with the Column Name and Data Type columns of the Table Columns tab - the Column Name column can be shrunk to truncate values but the Data Type column can only be shrunk to about the twice the width of the widest value.
    Can anyone in development provide any comments about why we have this minimum width and how the minimum width is actually calculated?

  • UI5 Grid issue

    Hello Everyone,
    I am facing few issues while using UI5 Grid.
    Scenario1:
    I am using Sql query to display data in i5Grid.
    This query accepts 3 input parameters and gives the respective values.
    Initially i am giving the default parameters values in query template.
    Now while generating report, I need to change the data in Grid based on selection.
    I am passing the parameters as following.
         gridObject.getQueryObject().setParameter("Param.1", param1value);
         gridObject.getQueryObject().setParameter("Param.2", param2value);
         gridObject.getQueryObject().setParameter("Param.3", param3value);
         gridObject.getGridObject().setDisplayColumns("Column1,Column2");
         gridObject.update(true);
    I am also setting display column names as they are dynamic.
    This time I am getting the Grid with default values only. The Grid is not updating as per the parameters passed.
    Scenario2:
    I am removing the default query input parameters and trying the same. It gives me an error:
    Object doesn't support property or method 'setDisplayColumns'
    Please help me with this issue.
    Thanks and Regards,
    Minakshi

    Hi Ria,
    Thanks for your reply.
    I am also using SAP MII 14.0 SP4.
    In second scenario, as I mentioned, I am still getting error at
         gridObject.getGridObject().setDisplayColumns("Column1,Column2");
         gridObject.refresh();
    I guess this error might be because I am not giving any initial parameters to Query and also
          gridObject.getQueryObject().setParameter("Param.1", param1value);
    is not working. So my Grid will not get any data and further it cannot set any display columns. Once I am resolved with the parameter setting issue I will get the setDisplayColumns command working.
    I am making this statement based on a case where I hardcoded the default parameters in query and then try setDisplayColumns function. In this case, no errror is thorwn.
    Please confirm this.
    I am facing one more issue:
    On page load, I do not wish to update my grid with any data but I need the grid to be displayed. So I am drawing the grid on initialize function(with no default/ actual parameters). So it throws error at this moment also. Is there any way to avoid this error.
    Regards,
    Minakshi

  • MB11 BDC upload issue

    hi experts.
    I am using a BDC-UPLOAD program for MB11 but there is one error during an upload.
    Here is a procedure which i am following:
    I have created an upload file, which is tab-delimited format. In which such information exists:
    01.12.2008 12.12.2008 561 d920 m920 536319000 1 PC 100
    Now when i am uploading this file using movement type P61 or 561 a same error occurs:
    Formatting error in the field MSEG-EXBWR ; see next message
    Make an entry in all required fields and this is a required field, its a currency type field but i have even checked it by replacing it into char & num.
    Is there any standard upload program for STOCK UPLOAD using MB11?  If there is any one who can send me a solution.
    thanks in advance.
    Regards,
    Yahya Shoaib.

    Hi,
    For Stock upload I prefer creation of a program by calling Function Module BAPI_GOODSMVT_CREATE. When you use BAPI, as it is being function module you need not do the recording as well. You can test the BAPI also manually in SE37. This simulation helps in passing the data in the feed file. You may contact your ABAPer for creating a program using this  BAPI. You can input the feed file in similar fashion that of BDC

  • Flex List with data-grid issue any body can help me ......i added the full code below

    Thanks in advance
    Exactly wat i need is
    1.if i click the open button want to visible all datagrid ,its working perfectly.
    2.if i click the close button want to close all data grid ,its working perfectly.
    3. if i click a particular  list means want to visible particular datagrid..some times working good but some times not visible ...
    4.if i click the list if datagrid already open means want to close .some times creates extra space below the datagrid........
    if u cont get clearly please copy the below code and check it.......any other way to solve this problem?.......
    <?xml version="1.0" encoding="utf-8"?>
    <s:Group xmlns:fx="http://ns.adobe.com/mxml/2009"
    xmlns:s="library://ns.adobe.com/flex/spark"
    xmlns:mx="library://ns.adobe.com/flex/mx" width="100%" height="100%" >
    <fx:Declarations>
    </fx:Declarations>
    <fx:Script>
    <![CDATA[
    import mx.collections.ArrayCollection;
    [Bindable]
    public var ArrUserList:ArrayCollection;
    [Bindable]
    public var listDB:ArrayCollection = new ArrayCollection([ {label: "2011", data:"jan",day:"saturday",date:"1-4-11"},
    {label: "2011", data:"jan",day:"monday",date:"13-4-11"}, {label: "2013", data:"jan",day:"monday",date:"1-5-11"}, {label: "2013", data:"jan",day:"wednesday",date:"14-5-11"}, {label: "2015", data:"jan",day:"tuesday",date:"11-5-11"}, {label: "2015" ,data:"jan",day:"friday",date:"1-6-11"} ]);
    public var loc_first_last_name:String;
    function Load():void
    ArrUserList=Find_Duplicate(listDB);
    for(var i:int=0; i<ArrUserList.length; i++)
    ArrUserList[i].click=0;
    Lst_userlist.dataProvider=ArrUserList;
    Lst_userlist.rowCount=ArrUserList.length;
    function Clink_lnk_open():void
    if(lnk_open.label=="Open")
    for(var i:int=0; i<ArrUserList.length; i++)
    ArrUserList[i].click=1;
    lnk_open.label="Close";
    ArrUserList.refresh();
    Lst_userlist.validateNow();
    Lst_userlist.dataProvider=ArrUserList;
    Lst_userlist.rowCount = ArrUserList.length ;
    else
    for(var i:int=0; i<ArrUserList.length; i++)
    ArrUserList[i].click=0;
    lnk_open.label="Open";
    ArrUserList.refresh();
    Lst_userlist.validateNow();
    Lst_userlist.dataProvider=ArrUserList;
    Lst_userlist.rowCount = ArrUserList.length ;
    function Click_UserName1(event:MouseEvent,data:Object):void
    loc_first_last_name=event.currentTarget.text;
    var str:String;
    for(var i:int=0; i<ArrUserList.length; i++)
    str=ArrUserList[i].label;
    if(loc_first_last_name==str)
    if(ArrUserList[i].click == 0)
    ArrUserList[i].click=1;
    else
    ArrUserList[i].click=0;
    ArrUserList.refresh();
    Lst_userlist.validateNow();
    Lst_userlist.dataProvider=ArrUserList;
    Lst_userlist.rowCount=ArrUserList.length;
    public function Find_Duplicate(test_arr:ArrayCollection):ArrayCollection
    var res_arr:ArrayCollection=new ArrayCollection();
    var flag:Boolean;
    for(var i:int=0;i<test_arr.length;i++)
    var j:int=0
    flag=false;
    for(;j<res_arr.length;j++)
    if(res_arr[j].label==test_arr[i].label)
    res_arr[j].dataCollection.addItem(test_arr[i]);
    flag=true;
    break;
    if(!flag)
    var myItem:Object = new Object() ;
    myItem.label=test_arr[i].label;
    myItem.dataCollection=new ArrayCollection();
    myItem.dataCollection.addItem(test_arr[i]);
    res_arr.addItem(myItem) ;
    return res_arr;
    ]]>
    </fx:Script>
    <s:Scroller id="id_scroller" width="100%" height="100%">
    <s:VGroup id="id_Vgroup" paddingLeft="50" paddingTop="10" paddingBottom="10"   width="100%" height="100%" >
    <mx:VBox width="850" paddingLeft="0" paddingTop="1"    color="black"  backgroundColor="#FFFFFF">
    <mx:HBox width="850" left="50" paddingBottom="3"  paddingLeft="5" backgroundColor="#6D6C6C"   paddingTop="3" color="#FFFFFF" >
    <mx:LinkButton id="lnk_open" label="Open" textDecoration="underline" click="Clink_lnk_open();"/>
    <mx:Button id="load_btn" label="Load" click="Load()"/>
    </mx:HBox>
    <mx:VBox id="Vbox_main" width="850"   horizontalScrollPolicy="off" verticalScrollPolicy="off"  >
    <mx:List variableRowHeight="true"   width="850" id="Lst_userlist" paddingTop="-3" verticalScrollPolicy="off"  horizontalScrollPolicy="off"
    buttonMode="true"  >
    <mx:itemRenderer>
    <fx:Component>
    <mx:VBox paddingTop="-5"  horizontalScrollPolicy="off" verticalScrollPolicy="off" >
    <fx:Script>
    <![CDATA[
    import mx.collections.ArrayCollection;
    override public function set data(value:Object):void
    super.data = value;
    Membership_Grid.dataProvider=data.dataCollection;
    Membership_Grid.rowCount=data.dataCollection.length;
    lbl_userhead.text=data.label;
    lbl_userhead1.text=data.dataCollection.length+" Datas";
    if(data.click==1)
    Vbox_main.visible=true;
    Vbox_main.includeInLayout=true;
    else
    Vbox_main.visible=false;
    Vbox_main.includeInLayout=false;
    Membership_Grid.validateNow() ;
    ]]>
    </fx:Script>
    <mx:HBox id="vbox_grid"  horizontalScrollPolicy="off"  height="25" verticalScrollPolicy="off" width="850"  paddingLeft="10" paddingTop="5"  backgroundColor="#6D6C6C" color="#FFFFFF">
    <s:Label id="lbl_userhead" click="outerDocument.Click_UserName1(event,data)" buttonMode="true"   width="250"  paddingTop="3" />
    <s:Label id="lbl_userhead1"  buttonMode="true"   width="548" paddingTop="3" />
    </mx:HBox>
    <mx:VBox id="Vbox_main" width="850" horizontalScrollPolicy="off" verticalScrollPolicy="off"  visible="false" includeInLayout="false" >
    <mx:DataGrid id="Membership_Grid"   alternatingItemColors="[#DCDCDC,#F8F8FF]"  paddingLeft="5"  horizontalScrollPolicy="off" color="black"
    horizontalGridLines="false" verticalScrollPolicy="auto"  verticalGridLines="false"  rowHeight="25" width="850"  borderSkin="{null}"
    borderVisible="false" >
    <mx:columns>
    <mx:DataGridColumn width="150" headerText="Year" dataField="label"/>
    <mx:DataGridColumn width="150" headerText="Month" dataField="data"/>
    <mx:DataGridColumn width="150" headerText="Day" dataField="day" />
    <mx:DataGridColumn width="150" headerText="Date"  dataField="date"/>
    </mx:columns>
    </mx:DataGrid>
    </mx:VBox>
    </mx:VBox>
    </fx:Component>
    </mx:itemRenderer>
    </mx:List>
    </mx:VBox>
    </mx:VBox>
    </s:VGroup>
    </s:Scroller>
    </s:Group>

    Hi
    Sir am using flex 4.0.1     SDKS 4.1.0....
    Still i cont fix this problem....i have the same prob in many mxml files .any alternate solution for my prob pls let me know...
    Thanks in Advance,
    senthil.

  • Data grid issue

    Hi,
    i'm working on HFM 11.1.1.3 ,i loaded several flat files for data grid but i'm not able to see them in documents section,i loaded one custom document also, i tried several times but still its showing empty what can i do?
    please help me out
    Thanks

    Hi,
    columns is an array. After the dataprovider is set, save the columns to a temporary array
    private var tempColumns:Array;
    tempColumns = datagrid.columns;
    When the reset button is clicked, reset the columns from the tempArray.
    datagrid.columns = tempColumns;

  • ALV GRID Issue

    Hi,
    I have created a tabstrip. it is having two tab one is debit memo tab another one is document flow tab.directly if i am clicking the debit memo tab the alv grid output is not comming. if i am clicking debit memo tab after clicking the document flow tab ALV Grid output is commong perfectly.
    please help me....

    Hi,
    see my code....
    if not gcc_dmhdr_container is initial.
        call method gcc_dmhdr_container->free
          exceptions
            cntl_error        = 1
            cntl_system_error = 2
            others            = 3.
        if sy-subrc <> 0.
      MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                 WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        endif.
        call method gcc_grid_dmhdr->free
          exceptions
            cntl_error        = 1
            cntl_system_error = 2
            others            = 3.
        if sy-subrc <> 0.
      MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                 WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        endif.
      endif.
    call function 'LVC_FIELDCATALOG_MERGE'
         EXPORTING
           i_structure_name       = lv_tab_name1
        changing
          ct_fieldcat            = lt_fcat[]
        exceptions
          inconsistent_interface = 1
          program_error          = 2
          others                 = 3.
    *Custom Container
      create object gcc_dmhdr_container
        exporting
          container_name              = 'DM_HEADER'
        exceptions
          cntl_error                  = 1
          cntl_system_error           = 2
          create_error                = 3
          lifetime_error              = 4
          lifetime_dynpro_dynpro_link = 5
          others                      = 6.
    ALV Grid
      create object gcc_grid_dmhdr
        exporting
          i_parent          = gcc_dmhdr_container
        exceptions
          error_cntl_create = 1
          error_cntl_init   = 2
          error_cntl_link   = 3
          error_dp_create   = 4
          others            = 5.
      if sy-subrc <> 0.
       MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                  WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      endif.
      clear gs_layout.
      gs_layout-sel_mode   = 'A'.       "Allow multi line selection
      gs_layout-info_fname = 'ROW_COLINFO'.
         gs_layout-FRONTEND = 'X'.
         gs_layout-TOTALS_BEF = 'X'.
      gs_layout-numc_total = space.
    Grid Display
      call method gcc_grid_dmhdr->set_table_for_first_display
        exporting
             i_structure_name              = c_s_dmhdr
          is_variant                    = gs_variant
          i_save                        = 'A'
          is_layout                     = gs_layout
           it_toolbar_excluding          = gt_excl_fun[]
        changing
          it_outtab                     = ouput[]
          it_fieldcatalog               = lt_fcat[]
        exceptions
          invalid_parameter_combination = 1
          program_error                 = 2
          too_many_lines                = 3
          others                        = 4.
      if sy-subrc <> 0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                   WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      endif.
    In debugging mode i have tested the output table and field catalog tables. the values are comming perfectly..

  • Grid Help Please!!

    Hi,
    I have several XML forms with several tabs.  The second tab contains a Grid object which is tied to a DataTable.  When the forms load in SAP, data is read from the database and rows are added to the grid using the following syntax:
    this.grid2.DataTable.SetValue("U_PLS_TRID", 0, "Value");
    I do not get any errors on any form and the data populates the grid perfectly fine.  On one form, though, when I click on the tab that contains the grid, I can see the data flash on the screen and then disappear.  I cannot figure out what is happening.  I have added some diagnostics statements so when I click a test button after the data has disappeared, it tells me that there are still 4 rows in the datatable and the data in the datatable is also there.  For example if I message the following:
    this.grid2.DataTable.GetValue("U_PLS_TRID", 0).ToString()
    I can see that the data is there and IS correct.  Why would it no longer show up in the grid on that one form?  I have pulled the form apart and put it back together and no change.  I don't see anything in my code that is different on that form compared to the others either.  It makes no sense.
    Any suggestions?
    If it helps, on that form as well, the tabs being clicked in OK mode change the form mode to Update even though the AffectsFormMode property on each is set to '0'.  I don't know if the two are related but I cannot figure out why either problem happens in only one of 4 forms.
    Thanks for ANY suggestions or help.  I have spent 4 days trying to figure this out already so I am at my wits end.
    David

    Hi David,
    Firstly with regards to the AffectsFormMode issue, I recommend you use a text/XML editor and do a complete Find and Replace to set ALL AffectsFormMode properties to 0. Quickly make sure that tabs no longer change the form mode and then go back to specifically turn the mode back on for controls that you actually need to change the mode of the form. It can be a real pain if the form contains a lot of controls but doing this stopped me going mad when I had a similar issue.
    For the grid issue, it's difficult to give a suggestion without seeing the source code and form definition. Are you doing anything with collapse levels?
    Rather than using a grid can you do a quick test and swap the grid for a matrix. You can still bind the columns of the matrix to the datatable. If you get the same problem with the matrix then it's most likely to be something wrong with what you're doing with the datatable rather than the grid.
    Kind Regards,
    Owen

  • Looking for someone with ios developer account who can compile and test my app on ios 8

    Hi,
    my ios developer account expired.
    Before I renew it i want to be sure that my app will still run on ios 8
    It's a flex app , downloadable  on google code : Source Checkout - helpdiabetes-air - HelpDiabetes written for Adobe AIR - Google Project Hosting
    So i'm looking for some one with flash builder installed, with the latest flex sdk (4.13) , an ios developer account and a device with ios 8, who wants to build and install the app for me.
    See if it runs.
    thanks,
    Johan

    I have to say this is the hardest thing to diagnose that I have come up against over the past 10 years! Completely out of ideas.
    If this was just the Intuos3 with the mouse on my G5 then I would just say it is a bad mouse switch, but when a different mouse on two different tablets (Intuos 2 and Intuos3) are both exhibiting the same behavior on two different computers (a G4 Laptop and a G5 Tower) - then something is wrong.
    The only other thing I have done to both computers recently is I installed Adobe CS3. Have any of you that have responded also installed CS3?
    This is not a Wacom Driver issue, because if you plug in a tablet without the Wacom Driver installed, the mouse should still work like a standard mouse and I am having trouble even then. Even during a restart of the computer as soon as the Wacom tablet blue light comes on - even before the desktop appears, if I hold down the mouse button the tablet will irratically flicker between blue (receiving power from USB) to green (mouse button engaged)? (Again it does not do this with the Pen - it always works fine - just any Wacom mouse).
    If it were a USB power issue the tablet light would go off and on, but it doesn't - one of the LEDs is always lit. If it were a tablet grid issue, the Pen would also display the same symptoms - it doesn't. It acts like the mouse does not have enough "consistent power" output to keep the grid engaged when activated which would be easily explained by a bad mouse switch or for sure if the mouse had a bad battery, but I don't think the mouse has a battery does it? And none of this explains why I am getting this on two tablets with two mice (unless the mouse actually does have a battery and both are bad)?
    Anyway I am 95% sure this is a communication problem between the mouse and the tablet - not the tablet and the computer and Driver is not in the equation.
    Really stumped.

  • Website works in all browsers except for Internet Explorer

    I purchased a template online and added our content.  After uploading to our server I tested with FIrefox, Safari, Chrome and IE.  It works exactly as expected in all browsers except for IE.  I'm sure it is a grid issue, but I am a novice web designer and don't know how to fix it.  In IE there is content from the "CONTACTS" section buried at the bottom of all other sections and half of the content of the "CAPABILITES" section is totally missing.
    Modified website here
    http://03694b2.netsolhost.com/#!/page_home
    Original template here
    http://03694b2.netsolhost.com/backup/site/index.html#!/page_home
    Other than the grid problems, the drop down menu under ABOUT doesn't link to anything in IE.
    Any help you can offer would be appreciated.

    IE has become a serious problem generator while developing websites
    The codes have to be well written and scripts have to mantain an order
    Are you working on html5?
    If so my suggestion is to contact the guys that you bought the template from and ask them to fix the problem
    This is one of the big issues when you purschase templates online
    My suggestion is that you take some time to learn to do them by yourself, its challenging but more fun and it gives a professional touch to your work
    There are many sites to get inspiration from
    Regards
    Mike

  • Aiuto Riproporzionare tutto in Indesign CS6! readjust text and images from (30x30)cm to (23x23)cm..without rewrite everything

    Ciao a tutti!
    Si dà il caso che io abbia impostato un'ottantina di pagine in formato 30cm x 30cm (quindi un quadrato leggermente più largo di un a4 in orizzontale!)...ebbene mi sono accorta che è troppo grande il formato per quel che devo fare...perciò se volessi trasformarlo in un quadrato 23cm x 23cm devo riproporzionare tutto!immagini e testo!..c'è un metodo veloce per farlo che non sia riscrivere ogni cosa?.... :((((
    Grazie mille!
    Hello to everyone! I set a custom page size of (30x30)cm but I made a mistake..now I need to format a page size of (23x23)cm and I have to readjust/proportion all the text and the images...Is there a simple way to do it without rewrite everything? like a command to proportion or something else? Please help me it's urgent! I don't know how to make it faster.....

    @Lullu87 – of course you can modify the source of the PDF, your InDesign file, export again and update the links in the 23x23 cm sized InDesign file.
    But we have alternatives for that workflow:
    1. Place InDesign files instead of PDFs (yes, that is working!)
    [RECOMMENDED]
    2. Alternative Layouts with Liquid Layout Rule "Size" (CS6 and above)
    [NOT SO RECOMMENDED]
    What I like to rule out is the Alternative Layout feature with Liquid Layout rules for sizing the contents page wide.
    There are some good reasons not using that feature:
    a. If using align to baseline grid in your paragraph styles: The scaled text will align to the grid also on the scaled pages. And that's nothing you really want. Baseline Grid is a feature that is document wide and not restricted to single pages or sections like Alternate Layouts.
    b. IDML problems with the option "Scale" for pages, if you are using single-sided documents.
    Details on that here:
    https://forums.adobe.com/thread/1477817
    3. Using a ExtendScript(JavaScript) to scale the contents (without beeing hit by the baseline grid issue)
    [HIGHLY EXPERIMENTAL – SOME RISK INVOLVED]
    Just for the sake of completeness what you are able to do, not recommended for every case and highly experimental. Read the disclaimer there. And do not try it on your original document but on a saved copy!
    Marc Autret
    TotalRescale | Last-Minute Layout Adjustment
    http://www.indiscripts.com/post/2011/12/total-rescale-last-minute-layout-adjustment
    Before using it you have to change the margins, after using it you have to change the page sizes with the Pages Tool for achieving what you want.
    Try this scripting solution it in your spare time ;-)
    Uwe

Maybe you are looking for

  • Problem in PDF creation (the size of the  page different or the content cut)

    Hi everybody, i have a random problem when i save PDF from illustrator (CS6 o CC, the same): if i open a saved PDF in illustrator is correct both the size of the page that the content. if I open it in Acrobat I see the size of the  page different or

  • How to maintain high resolution of exported images

    I am working with iphoto 5.0.4. When trying to export (share>export) an image as a 'Full Size' image (3264 x 2448 4.5 MB) to the desktop it appears at that size with 300 dpi resolution. However if I export the same file as 'Scale image as no larger t

  • Broken DCs in "BPEM-BUILDT" SC

    Hi, I am getting build error while I am creating BPM DC and found 10 broken DCs in BPEM-BUILDT SC. tc/bpem/bi/bp/buildtool(default) tc/bpem/bpmn2csv/lib(default)               tc/bpem/bpmn2tn/lib(default)               tc/bpem/exceptioncompiler/lib(d

  • Is there a way to save an iPhoto album from my iPad2 to my PC (not a Mac)

    I am trying to free up space on my iPad, and one of m biggest files is an album I have created in iPhoto.  Is there a way that I can save/import a copy if this to my Windows-based PC, so that I will not lose it if I delete it from the iPad to free up

  • Adobe Master Suite CS 5.5, where can I find Acrobat's serial number?

    I'm in the process of downloading a purchased copy of the Master Suite CS5.5, but cannot find Acrobat on the list of downloads nor the serial number to activate the trial version. Does anyone have an idea where it is located or whom I have to contact