SHDB/BDC - PA40 - How to Avoid Absolute List Position of PA40 Action

The following code was generated by SHDB for transaction PA40.  It's picking a particular action from the list on the screen (23rd item from the top).  This is almost certain to change in production because our dev environment isn't configured exactly the same.
Is there anyway I can avoid using an absolute position in my code do perform this logic?  Thanks!
    PERFORM bdc_dynpro      USING 'SAPMP50A'                '2000'.
    PERFORM bdc_field       USING 'BDC_CURSOR'              'T529T-MNTXT(23)'.
    PERFORM bdc_field       USING 'BDC_OKCODE'              '=PICK'.
    PERFORM bdc_field       USING 'RP50G-SELEC(23)'         'X'.

You can even do an action from PA30. I usually do BDCs for Action via PA30. There won;t be any issues related to config variations in it.
A

Similar Messages

  • How to avoid multiple listing for same artist?

    How to avoid multiple listing for same artist?

    Sounds like there might be blanks in the artist name.
    For instance "Lou Reed" and "Lou Reed_" will not match.
    (Pretend the underscore _ is a blank).
    Select all the Lou Reed songs, Get Info, and type "Lou Reed" in the artist field. That should fix it.

  • How to avoid directory listing in java web applications.

    how to avoid directory listing in java web applications.
    That is on typing the url of the application it should not the directory listing. Welcome tag in web.xml doesnot fully solve the problem, since still the images folder etc is still accessible

    I know of two ways.
    If you're using tomcat and have access to the conf directory.
    Edit your $TOMCAT/conf/web.xml. Find your default servlet properties and change
      <servlet>
        <servlet-name>default</servlet-name>
        <servlet-class>org.apache.catalina.servlets.DefaultServlet</servlet-class>
        <init-param>
          <param-name>debug</param-name>
          <param-value>0</param-value>
        </init-param>
        <init-param>
          <param-name>listings</param-name>
          <param-value>true</param-value>
        </init-param>
        <load-on-startup>1</load-on-startup>
      </servlet>to  <servlet>
        <servlet-name>default</servlet-name>
        <servlet-class>org.apache.catalina.servlets.DefaultServlet</servlet-class>
        <init-param>
          <param-name>debug</param-name>
          <param-value>0</param-value>
        </init-param>
        <init-param>
          <param-name>listings</param-name>
          <param-value>false</param-value>
        </init-param>
        <load-on-startup>1</load-on-startup>
      </servlet>And restart your server. This will affect every directory on the server, and return a 405 directory browsing forbidden error.
    Another way, is to place an index.jsp inside each directory with a simple one line redirect to your applications CONTEXT_PATH.response.sendRedirect("http://yourserver/yourapp/");This will only affect specific directories which contain these index.jsp files.
    Hope this helps

  • How to avoid database logon dialog on every action of refreshing reports

    I am using Crystal reports 208 SP2 and has a database connection to oracle database. Connection is esablished and report retrieves desired data, The problem is when ever i open this report ( which has this connection set) and do a refresh,  the report the LogOn dialog pops up.
    How to avoid or save this log on info such that it does not pops up the LogOn dialog when i open the report and do a refresh(F5).?

    Hi Don,
    Thanks for the reply. To try  your suggested approach, i need some clarifications .
    _Problem summary:for refrence, _
    I am following the steps mentioned below to establish a database connection, and fetch the data.
    1) I am using Oracle drivers for configuring the ODBC data source. As part of configuration i will specify the Oracle server name
    2) In crystal reports, Using "Database" menu, i open "Database Expert" dialog and "Make New connection" by specifing the data source mentioned in step 1). During this process, (ODBC)logon information will be filled in. The user ID and password used has all the rights to access the tables in the database. Logon will be successful and connection is established.
    3) Further i use the database table from the "Database Expert" on to the report and refresh(F5) to fetch the data.
    After step 3, I close the report  and reopen it. Now trying to refresh the database logon dialog pops up. I need to avoid this pop up
    Requesting Clarification:;
    1) You have specified "When you connect you have the option to use Trusted Authentication, check this option on". Where is this option. Is it in the crystal reports or is it available during data source configuration. Kindly specify.
    2) Here "Enterprise logon info that has been configured on the Oracle server." implies the oracle database login information right? If yes, this login details are available and i am using this logon information(i.e. UseriD and Password) during database connection.
    If No, Is "Enterprise logon info " is something which should be specifically enabled by DBA in oracle11g configuraion.
    Kindly suggest.
    Edited by: R Guru on Oct 17, 2009 7:32 PM

  • How to avoid material listing Check

    A list of order types to be excluded from material listing through a custom table.
    For all those order types entered in the custom table the system will not perform any material listing check, regardless if the material is existing in the material listing.
    Can you please tell me any particular exit or where can i code this.???
    Many Thanks in Advance,
    Rajendra

    Hi,
    You have available structure KOMKG with sales order header fields and KOMPG structure with sales order item fields.
    You control if the requirement is fullfilled setting the sy-subrc field:
    - sy-subrc = 0 -> requirement fullfiled (listing/exclusion will be determined using lisitng/exclusion type the requirement is assigned to in the lisiting/execusion procedure)
    - sy-subrc = 4 -> requirement not fullfiled
    Sample code:
      SY-SUBRC = 4.
    *--check the exclusion only for sales org DE01 and sales order type ZOR
      IF KOMKG-AUART EQ 'DE01' AND
         KOMKG-VKORG EQ 'ZOR'.
        SY-SUBRC = 0.
      ENDIF
    In KOBEV part you can use only KOMKG structure or just set sy-subrc = 0 if you're not able to check you condition based on header fields, in the KOBED part you can use both header and item structures.
    Regards,
    Marcin

  • How to get absolute screen position for component in borderlayout?

    I am trying to get the screen location for a point in a component in a panel. The panel has a borderlayout(). The component is currently in the CENTER position of the layout. When I use the getBounds() method for this component I can get the <x,y> coordinates relative to the client area of the panel. But that does not include the frame. I
    Does anyone know how I can do this?

    There is a convertPointToScreen method in SwingUtilities:
    http://java.sun.com/j2se/1.5.0/docs/api/javax/swing/SwingUtilities.html

  • How to avoid Oracle Form to perform commit action ?

    I have a question.
    The case is: After a user correct some data displayed in text items, he needs to click a button to update the record.
    However, the oracle form the commit the update action.
    I don't want to allow Oracle Form to perform commit UNTIL the user closes the oracle form.
    Is it possible to do so?
    If yes, I should use what kinds of Trigger to realize this.
    Thanks a lot.

    First of all I wanna give you advice that please must specify your forms version with complete precision say 10g 10.1.2.0.1 or if 6i.... then tell everyone what have you done regarding your requirements and what are your errors and problems...
    I dont want to allow Oracle Form to perform commit UNTIL the user closes the oracle formso simple is that make a button with label Exit , in WHEN-BUTTON-PRESS trigger write code
    exit_form(ask_commit);
    you can use NO_VALIDATE if you don't want your form to perform commit anyways. . .
    hope it works

  • How do i create a contact list in adobe send from my email contact list and how do avoid typing individual email adresses

    how do i create a contact list in adobe send from my email contact list and how do avoid typing individual email adresses

    Hi [email protected],
    The e-mail addresses will not be memorized in Adobe send but will be saved in sent items.
    You can use Adobe send outlook plugin to access your email contact list and send.
    You can download it here:Send Large Files Online - Share, Control, Track & Manage | Adobe Send
    Regards,
    Florence

  • How to avoid the Blank elemts in the List Item

    Dear All,
    I am using a List Item
    List Elements List Item Value
    Yes 1
    No 2
    Only two elements in this List Item.But at Run time there is one Blank element.
    I need to display only two elements from the List Item .How to avoid the Blank.
    Thanks and Regards,
    Fazil

    Fazil,
    I am using a List ItemList Elements List Item Value
    Yes 1
    No 2
    Only two elements in this List Item.But at Run time there is one Blank element.
    I need to display only two elements from the List Item .How to avoid the Blank.>
    Maybe you actually have null entries in your list. You can clean it up using keys as discussed here http://paranoid-engineering.blogspot.in/2008/05/wonderland-of-oracle-forms-builder.html (Ignore the personal opinions of the author if you will ;) ).
    Cheers,

  • ALV List Output: How to avoid data statistics from printing in Background

    Hi,
    I am running an ALV list display in Background mode and the output is showing the data statistics first and then the actual output of the ALV...
    I dont want the data statistics to be printed..
    How to avoid that.. is there any to do it...

    Hi Neela
    If you are using the good old REUSE_ALV_GRID_DISPLAY function module, you should be able to suppress the List Info if SY-BATCH is 'X' using the IS_PRINT parameter.
      MOVE 'X' TO is_print-no_print_listinfos .
    Presumably there is a similar parameter using classes.
    Cheers
    Lyal

  • How To avoid column heading for only total line in ALV list Display

    Hi,
    How To avoid column heading for only total line in ALV list Display.

    Hi,
    to change colunm header field catlog is built
    look at the example below
    Changing column text headers
    use this to change, hide, or alter the ALV columns
    CLEAR: gt_fcat.
    READ TABLE gt_fcat WITH KEY fieldname = 'TEXT1' " ***
    *TEXT1 is your field name
       ASSIGNING <gtfcat>.
    IF sy-subrc = 0.
       <gtfcat>-coltext   = 'Date Type'.
       <gtfcat>-no_out    = ' '.
       <gtfcat>-tooltip   = 'Date Type Text from IT0019'.
       <gtfcat>-seltext   = 'IT0019'.
    keep seltext to '' if u want to hide
    ENDIF.
    regards
    austin

  • How can avoid mandatory fields in data transfer

    hai
    please respond me
    how can avoid mandatory fields in data transfer like bdc

    hi,
    u have to pass values for mandatory fields in bdc method, u have to prepare u r bdc data such a way that all the mandatory fields are filled, other wise it will give error

  • How to avoid duplicate posting of noted items for advance payment requests?

    How to avoid duplicate posting of noted items for advace payments request?

    Puttasiddappa,
    In the PS module, we allow the deletion of a component pruchase requisition allthough a purchase order exists. The system will send message CN707 "<i>A purchase order already exists for purchase requisition &</i>" as an Iinformation message by design to allow flexible project management.
    If you, however, desire the message CN707 to be of type E you have to
    modify the standard coding. Doing so, using SE91, you can invoke the
    where-used-list of message 707 in message class CN, and to change the
      i707(cn)
    to
      e707(cn)
    where desired.
    Also, user exit CNEX0039 provides the possibility to reject the
    deletion of a component according to customers needs e. g. you may
    check here whether a purchase order exists and reject the deletion.
    Hope this helps!
    Best regards
    Martina Modolell

  • Why do all the programs open when the mini is turned on, and how to avoid this?

    why do all the programs open when the mini is turned on, and how to avoid this?

    Open System Preferences > Users & Groups then select the Login Items tab.
    Remove all apps listed there.
    And check /Library/StartupItems
    Open a Finder window. From the Finder menu bar click Go > Go to Folder
    Type or copy paste the following:
    /Library/StartupItems
    Click Go then move all items from the StartupItems folder to the Trash.

  • How to avoid JS Error in the status bar when report doesnt contain value.

    Hi
    Whenever the tabular report doesnt show any records for the given input parameter (parameter passed using select list item).
    We are displaying error message in APex. But at the status bar, it is showing "Error" (unspecified
    error).
    Kindly let me know how to avoid this kind of error at status bar.
    Thanks
    Vijay

    Hi Vijay,
    Your javascript is probably trying to access one or more of the items within a displayed tabular form - the "f01", "f02" etc named items.
    If your script does something like:
    var x = document.getElementsByName("f01");
    ..rest of your code for f01 items..you can test if there are any "f01" items by doing:
    var x = document.getElementsByName("f01");
    if (x){
    ..rest of your code for f01 items..
    }If there are no items, x is null, so the "..rest of your.." script will not get executed and no errors will occur.
    Andy

Maybe you are looking for

  • Does Verizon ever actually follow up on what they say they're going to do?

    Verizon's customer service has been an absolute nightmare to deal with, and if my wife weren't on a family plan through them with me I would drop them in a HEARTBEAT. I've been told ~5 times they'd call me back to follow up on issues or e-mail me wit

  • Why does itunes store shuts my itunes down?

    When I open the store, then it reads. 'Itunes dejó de funcionar' (itunes stopped working) and then it closes the whole thing. I can listen to my music. It's only that when I try to open the store, then the system crashes and I need to restart Itunes.

  • PowerPC server distro

    I have an old G4 PowerMac. I'm thinking of turning it into a headless server/ backup control. Though I'd like to be able to use it as a desktop in a pinch. I'm looking for a fast, stable Linux distro. It should have a full complement of server softwa

  • Deploying iworks suite when ipad will become privately owned in future

    I have a mix of privately owned and school owned ipads that are supervised by my MDM. The school owned ipads will become privately owned ipads in several years. As part of the supervision users can't install their own apps, can not remove apps. They

  • CFGrid onError not working correctly

    Hi All, I have a CFGrid, format type is 'html' and its bound to a javascript function to populate it. The javascript function in turn calls a cfc via ajax, which calls a back end and the grid gets populated. Works lovely, except if there is an except