Handling screen resolution fields in me21 for bdc programming

I need to use BDC program for ME21 for that how to handle the screen resolution,
i know CTU_PARAMS structure is there ,but how to use them, please send the model code. for handling check boxes fields.

answered

Similar Messages

  • How to handle screen resolution in bdc session method.

    hi all,
    how to handle screen resolution in bdc session method.

    Hello,
    Why do need that for? Is it to add rows on a table control??
    If it does, add new rows by using the add button instead of adding into the table control directly to each row.
    Bye
    Gabriel.

  • How to handle screen resolution in session method

    how to handle screen resolution in session method  without bdc_insert .

    Hello,
    Why do need that for? Is it to add rows on a table control??
    If it does, add new rows by using the add button instead of adding into the table control directly to each row.
    Bye
    Gabriel.

  • After target display mode, iPhoto reports an error, "The current screen resolution is not optimal for iPhoto."

    I have the 27-inch (late 2009) iMac with mini-Display port input. Whenever I return from Target Display Mode, I get the attached error message and iPhoto becomes unresponsive (the window is still active, but clicking on it produces the error/warning system sound), I have to Force Quit it. The current screen resolution is not optimal for iPhoto (sometimes the error message is a little off the screen in the lower left and only the top of the window can be seen. This also seems to affect iTunes at the same time (by resizing the window to be super small), but without the error message or unresponsiveness.
    Has anyone else gotten this problem, and or might know of a fix?

    Yes, I have the same problem.  I have checked the resolution in Sysyem Preferences - display and it is properly set to the highest resolution (which is recommended).  I have no idea why this is ocurring but it is annoying.

  • What Screen Resolution should I Design For?

    Hi,
    For APEX applications in public sites, what should be the proper screen resolution should I design for? Also, when I put something like a chart in a region, the size of the chart is always fixed. Therefore, it may not fit a particular screen size. I am wondering what should be the proper screen resolution I should target for - considering different desktop monitors and tablets?
    Thanks.

    Hi,
    sky123 wrote:
    For APEX applications in public sites, what should be the proper screen resolution should I design for? The resolution is not the only problem. Users can use CTRL+ and CTRL- to dynamically zoom in / out the page!
    Also, when I put something like a chart in a region, the size of the chart is always fixed. Therefore, it may not fit a particular screen size. I think it is OK to have some elements with a fixed size, like charts and images, while the rest of the page resizes itself. Charts are a problem because I don't think you can give them a "width=100%" as you can do with images. I think it depends on your audience. If only 5% of users will see the page in a small screen, you should use a big chart, and vice-versa. Or have two charts, one big and one small, and dynamically hide/show them based on the screen size?
    If you use Apex 4.2, it has very interesting themes. For instance, I was surprised to see how fluid this page I created was:
    http://apex.oracle.com/pls/apex/f?p=65861:3:0::NO::P3_ROWID:AAjQ4rAGlAAAADUAAB
    If you make the browser window narrow enough, the order items region will move underneath the customer orders region... Cool! :)
    (using CTRL+ to make the page bigger doesn't do the trick though...)
    Luis

  • When I open iPhoto I get on the screen The currant screen resolution is not optimal for iPhoto

    When I try to open iPhoto I get the message The currant screen resolution is not optimal for iPhoto any ideas please Geoff

    System Preferences>Displays and choose 'Best for built-in display' (that's the setting in Mountain Lion, not sure if you are running another version of OS X).

  • How to handle screen resolution in ME21 fro a bdc programme

    I need to use BDC program for ME21 for that how to handle the screen resolution,
    i know CTU_PARAMS structure is there ,but how to use them, please send the model code.
    Thanks & Regards
    krishna

    got the solution

  • Hi:  When I open my iPhoto the popup shows up and I don't know how to correct it.  Here is the popup "The current screen resolution is not optimal for iPhoto?" Can you help

    When I open my iPhoto a popup shows up and I don't know how to correct it the popup:
    "The current screen resoulation is not optimal for iPhotp"?
    Can you help?

    Go to the System/Accesability preference pane and enable the Zoom capability either with keystrokes or Magic Mouse:
    See if that will work for you.
    OT

  • Validation for BDC program

    hi,
    In BDC programe I have to check (or) validate the file path at selection screen events .
    if the selected file is wrong error message should be triggered. how i can do this.
    with regards,
    Srinath

    Hello Reddy,
    In the following example,
    purchase order fields are taken in through a text-file, if the fields do not match the fields of internal table, then just throw an error in GUI_UPLOAD saying , 'FILE CANNOT BE UPLOADED' or say 'UPLOADING FAILED'.
    * STRUCTURE FOR PURCHASE ORDER TABLE                                  *
    TYPES:
      BEGIN OF type_s_mat,
        eeind TYPE rm06b-eeind,            " Delivery Date
        txz01 TYPE eban-txz01,             " Short Text
        menge TYPE eban-menge,             " Quantity
        meins TYPE eban-meins,             " Units
        preis TYPE eban-preis,             " Price
      END OF type_s_mat.                   " BEGIN OF TYPE_S_MAT
    * FIELD STRING FOR PURCHASE ORDER TABLE                               *
    DATA:
      fs_mat TYPE type_s_mat.
    * INTERNAL TABLE FOR PURCHASE ORDER TABLE                             *
    DATA:
         t_mat LIKE
      STANDARD TABLE
            OF fs_mat.
    * INTERNAL TABLE FOR BATCH DATA TRANSFER                              *
    DATA:
         t_bdc TYPE
      STANDARD TABLE
            OF bdcdata
          WITH HEADER LINE.
    * INTERNAL TABLE FOR MESSAGES                                         *
    DATA:
    t_messages TYPE
      STANDARD TABLE
            OF bdcmsgcoll
          WITH HEADER LINE.
    * Work Variables                                                      *
    DATA:
      w_filename TYPE rlgrap-filename,     " Selected File-Name
      w_msg(72) TYPE c,                    " Messages
      w_filename1 TYPE string.             " Full-Path
    *      INITIALIZATION                                                 *
    INITIALIZATION.
      PARAMETERS p_file(128).              " Name of File to be opened
    *      AT SELECTION-SCREEN ON VALUE-REQUEST                           *
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
      PERFORM open_mat_file.
      p_file = w_filename.
    *      START-OF-SELECTION                                             *
    START-OF-SELECTION.
      IF p_file IS INITIAL.
        MESSAGE 'No File Selected' TYPE 'S' DISPLAY LIKE 'E'.
      ELSE.
        PERFORM open_file.
      ENDIF.                               " IF P_FILE IS INITIAL
    *&      Form  open_mat_file
    * This Subroutine opens Material File of the Presentation Server.
    * This Subroutine has got no Interface Parameters.
    FORM open_mat_file .
      CALL FUNCTION 'F4_FILENAME'
    * EXPORTING
    *   PROGRAM_NAME        = SYST-CPROG
    *   DYNPRO_NUMBER       = SYST-DYNNR
    *   FIELD_NAME          = ' '
       IMPORTING
         file_name          = w_filename.
    ENDFORM.                               " FORM OPEN_MAT_FILE
    *&      Form  open_file
    * This Subroutine facilitates file upload on Presentation Server.
    * This Subroutine has got no Interface Parameters.
    FORM open_file .
      w_filename1 = w_filename.
      CALL FUNCTION 'GUI_UPLOAD'
        EXPORTING
         filename                      =  w_filename1
         filetype                      = 'ASC'
    *     has_field_separator           = ' '
    *    HEADER_LENGTH                 = 0
    *    READ_BY_LINE                  = 'X'
    *    DAT_MODE                      = ' '
    *    CODEPAGE                      = ' '
    *    IGNORE_CERR                   = ABAP_TRUE
    *    REPLACEMENT                   = '#'
    *  IMPORTING
    *    FILELENGTH                    =
    *    HEADER                        =
        TABLES
          data_tab                     = t_mat
       EXCEPTIONS
         file_open_error               = 1
         file_read_error               = 2
         no_batch                      = 3
         gui_refuse_filetransfer       = 4
         invalid_type                  = 5
         no_authority                  = 6
         unknown_error                 = 7
         bad_data_format               = 8
         header_not_allowed            = 9
         separator_not_allowed         = 10
         header_too_long               = 11
         unknown_dp_error              = 12
         access_denied                 = 13
         dp_out_of_memory              = 14
         disk_full                     = 15
         dp_timeout                    = 16
         OTHERS                        = 17
      IF sy-subrc <> 0.
        MESSAGE 'Uploading Failed'  TYPE 'S' DISPLAY LIKE 'E'.
      ELSE.
        PERFORM populating_bdc.
      ENDIF.                               " IF SY-SUBRC NE 0
    ENDFORM.                               " FORM OPEN_FILE
    *&      Form  populating_bdc
    * This Subroutine Populates data in Transaction ME51
    * This Subroutine has got no Interface Parameters.
    FORM populating_bdc .
      LOOP AT t_mat INTO fs_mat.
        PERFORM screens USING 'SAPMM06B' '0100'.
        PERFORM fields USING 'EBAN-BSART' 'NB'.
        PERFORM fields USING 'EBAN-KNTTP' 'X'.
        PERFORM fields USING 'RM06B-LPEIN' 'T'.
        PERFORM fields USING 'RM06B-EEIND' fs_mat-eeind.
        PERFORM fields USING 'EBAN-WERKS' '1000'.
        PERFORM fields USING 'EBAN-EKGRP' '100'.
        PERFORM fields USING 'EBAN-MATKL' '006'.
        PERFORM fields USING 'BDC_OKCODE' '/00'.
        PERFORM screens USING 'SAPMM06B' '0106'.
        PERFORM fields USING 'EBAN-TXZ01' fs_mat-txz01.
        PERFORM fields USING 'EBAN-MENGE' fs_mat-menge.
        PERFORM fields USING 'EBAN-MEINS' fs_mat-meins.
        PERFORM fields USING 'BDC_OKCODE' '/00'.
        PERFORM screens USING 'SAPMM06B' '0102'.
        PERFORM fields USING 'EBAN-PREIS' fs_mat-preis.
        PERFORM fields USING 'BDC_OKCODE' '/00'.
        PERFORM screens USING 'SAPMM06B' '0505'.
        PERFORM fields USING 'COBL-KOSTL' '1000'.
        PERFORM fields USING 'BDC_OKCODE' '/00'.
        PERFORM screens USING 'SAPMM06B' '0106'.
        PERFORM fields USING 'BDC_OKCODE' 'BU'.
        CALL TRANSACTION 'ME51' USING t_bdc MODE 'A' MESSAGES INTO
        t_messages.
        IF sy-subrc EQ 0.
          LOOP AT t_messages.
            CALL FUNCTION 'FORMAT_MESSAGE'
              EXPORTING
                id        = t_messages-msgid
                lang      = sy-langu
                no        = t_messages-msgnr
                v1        = t_messages-msgv1
                v2        = t_messages-msgv2
                v3        = t_messages-msgv3
                v4        = t_messages-msgv4
              IMPORTING
                msg       = w_msg
              EXCEPTIONS
                not_found = 1
                OTHERS    = 2.
            IF sy-subrc <> 0.
              MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                   WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
            ELSE.
              WRITE:/ w_msg.
            ENDIF.                         " IF SY-SUBRC <> 0
          ENDLOOP.                         " LOOP AT T_MAT INTO FS_MAT
        ENDIF.                             " IF SY-SUBRC EQ 0
      ENDLOOP.                             " LOOP T_MAT INTO FS_MAT
    ENDFORM.                               " FORM POPULATING_BDC
    *&      Form  screens
    * This Subroutine populates program name and screen numbers.
    *      -->VALUE(P_PROG)   PROGRAM NAME
    *      -->VALUE(P_SCRNO)  SCREEN NUMBER
    FORM screens USING value(p_prog) value(p_scrno).
      t_bdc-program = p_prog.
      t_bdc-dynpro = p_scrno.
      t_bdc-dynbegin = 'X'.
      APPEND t_bdc.
    ENDFORM.                               " FORM SCREENS
    *&      Form  fields
    * This Subroutine populates Field Value and Field name
    *      -->VALUE(P_FNAM)  Field Name
    *      -->VALUE(P_FVAL)  Field Value
    FORM fields USING value(p_fnam) value(p_fval).
      t_bdc-fnam = p_fnam.
      t_bdc-fval = p_fval.
      APPEND t_bdc.
    ENDFORM.                               " FORM FIELDS
    Hope the above given example, helps you.
    Thanks: Zahackson

  • Recording TCode for BDC program

    Hi ALL,
    I have a problem in recording GS01 tcode.
    I have to a table control in GS01 tcode.
    After some rows again i need to update the data.
    How can i record this and write BDC program for the same.

    Hi
    To uplaod the data using the table control,if number of line are more then screen.
    Then use the P+ in u r code.
                let assume that u can see 10 rows on screen.once the count reachs the 10 then do P+ then
    new line will come and after P+ clear u r counter.

  • F-32 possible for bdc program.

    Hi experts...
    F-32 - CLEAR CUSTOMER, is it possible to write bdc program for uploading.
    If it is possible then what is the procedure to be followed.
    if it is a full clearing or partial clearing against vendor open items?
    Thanks in advance.
    Arvind nn

    Hi,
       Cleared customr/vendor data stored in BSAD/BSAK table. Clearing is different process which is done by functional consultant. Once clear the vendor/custome then only data stored in tables. Partial clear data doesn't contains on these tale. So i m also not confirm that whether we write the bdc program for these tcode. But i don't think we will write the bdc program for clear document.
    Regds,
    Rakesh

  • 2 Layout's for 2 screens different F4 Help needed for same program

    Hi Friends,
    I have 2 layouts in the selection screen the first layout is for screen 1 and the second layout is for screen 2.
    I save the layouts when I run the report.
    Now when I do F4 Help for the first layout it shows me all the layouts available for the program and the same thing
    for Second layout too.
    Is there a way for the first layout I need to get only the layouts for the first screen when I hit the F4 button
    and for the second layout I need to get only the layouts for the second screen when I hit the F4 button. in order to choose
    I am using REUSE_ALV_VARIANT_F4 and passing report name to is_variant and i_save = 'X'.
    Thanks,
    chaithanya.

    I think this is not possible.
    Variant names get stored on Report Name as key.

  • How to make  defaultly Ticked field  Unticked one  in BDC program

    hi experts,
    i m facing one problem while uploading the master data for Cost Center (KS01)
    thru BDC .i m doing it with Recording method.
      when  i proceed in recording to Control View , there are two CHECKBOXES
    which are TICKED DEFAULTLY 1)  Actual Revenues   2) Plan Revenues.
    i want to UNTICK those, i did so while recording, the source code ( given after SHDB is over)  is also according to that,
    BUT when i execute the recording ,   bothjCHECKBOXES are SHOWN TICKED.
    which I dont want........
    Can anybody share me the Solution plssssss on
    [email protected]
    every attempt will be rewarded.

    Hi
    After recording,
    check the print program it should be
    for (Actual revenues)
    perform bdc_field       using 'CSKSZ-BKZER'
    Planned revenues
    perform bdc_field       using 'CSKSZ-PKZER'
    it will work.
    Even after this , if it is not working then create the BDC for change mode and change it or go with lsmw .

  • BDC: Table Control Screen Resolution

    Hi Abapers,
    1.In BDC while handling table control , how to handle screen resolution , that means in some systems i can see 5 item entries , in some systems i can see 10 item entries how to handle this , can u  send the Code relating this.
    With Regards
    Bhaskar Rao.M

    hi
    The numeber of lines of table control for BDC depend on screen resolution, but It can't be managed by program.
    So the better solution is to create a bdc doesn't depend on resolution.
    It can do that using always the first two lines of table control.
    When you start the simulation, first record has to be placed in first line of tc and the second in second one.
    Before placing the third record, it needs to place the second record to the top and so the third record can be placed in the second line.
    Before placing the next record, it needs to place the third record to the top and so the fourth record can be placed in the second line and so.
    In this way your BDC'll use alwways the first two lines of tc and your program won't depend on resolution.
    The problem is the transaction you need to simulate by BDC has to have a scroll functionality to allow to place the last record was elaborated to the top of tc, so the second line of tc can always be used to place the new record.
    If there isn't this functionality, it's better to use a BAPI instead of BDC.
    check these two
    BDC - standard screen resolution required?
    https://forums.sdn.sap.com/click.jspa?searchID=739193&messageID=823953
    reward points if found helpful

  • Panel collection with auto height for different screen resolution

    Hi.
    I created a page using panel collection by default height for 1024 * 768 screen resolution and works fine. When I change the screen resolution to 1152 * 864 then my page layout changes as I can see lot more space at bottom due to fixed height define for panel collection.
    Here my question is how to make height as dynamic for panel collection which can changed based on screen resolution. Usually percentage for height attribute resolve the issue but JDev 11.1.1.4.0 doesn't support percentage its allows only pixel or em.
    Please let me know to resolve this issue.
    Thanks

    If you want a table to occupy 80% of the height of the screen you should be able to do this with assigining % to the various panelStretch facets - like this:
        <af:form id="f1">
          <af:panelStretchLayout id="psl1" topHeight="10%" bottomHeight="10%">
            <f:facet name="bottom">
              <af:spacer width="10" height="1" id="s2"/>
            </f:facet>
            <f:facet name="center">
              <af:panelCollection id="pc1">
                <f:facet name="menus"/>
                <f:facet name="toolbar"/>
                <f:facet name="statusbar"/>
                <af:table var="row" rowBandingInterval="0" id="t1">
                  <af:column sortable="false" headerText="col4" id="c1">
                    <af:outputText value="#{row.col4}" id="ot1"/>
                  </af:column>
                  <af:column sortable="false" headerText="col5" id="c2">
                    <af:outputText value="#{row.col5}" id="ot2"/>
                  </af:column>
                </af:table>
              </af:panelCollection>
            </f:facet>
            <f:facet name="start"/>
            <f:facet name="end"/>
            <f:facet name="top">
              <af:spacer width="10" height="1" id="s1"/>
            </f:facet>
          </af:panelStretchLayout>
        </af:form>

Maybe you are looking for

  • I do not have the ability to edit my .pdf once converted into a word document. Did I purchase the wrong version?

    When I covert my pdf into a word document it does not allow me to edit the actual text. I can add random text to the document, not following the format of the document (not aligned, not the same font, etc.). I can add text, but I cannot what is alrea

  • Portg R600-11B - Problems with switching displays

    Hi, I've a problem with a Portg R600-11B running Windows 7 64bit. The computer is nomally plugged in a docking station that is connected with a DVI monitor. Here I can select with <FN> + <F5> between the different display modi "internal" / "internal"

  • Message on SRM portal

    Hi .. When i am trying to modify employee data on SRM portal, i am getting this message "Resource is currently being used by another user" . Pls try later. i am trying to bind an employee to a purchase organisation. Please let me know how go to about

  • If someone erases my ipod can i still track it?

    My daughter misplaced her iPod touch about 2 days ago.  I have the latest iOS installed as well as "Find My iPhone" installed with location services turned on.  Due to the device being an iPod touch I will only be able to locate it once it is connect

  • LSMW for 2001 with conversion rules....

    Hi Data migration experts, I have a requiremet,i have to do a LSMW for infotype 2001 where i have to write some converion rules as follows: 1. If PERNR begins with '00' must be changed to '01' - e.g. '00000010' becomes '01000010' 2.  Begin date and E