Disable Address Check

Hi,
I am trying to change the address of the Connection object through a Function Module using BDC of the transaction Code ES57.
Issue is that on the screen of ES57 there is a subscreen which internally does the Address Validation and a pop up is displayed when there is any inconsistency in the Address passed to the Screen.
i want to disable this address check function.
Is there any function Module to do this.
Regards

Hi,
instead of a batch input maybe you should use the function modules to change the connection object, maybe something like:
FUNCTION zzzzzzzz_connobj_change.
""Local interface:
*"  IMPORTING
*"     REFERENCE(X_HAUS) LIKE  EHAU-HAUS DEFAULT '6100000004'
*"     REFERENCE(X_WMODE) LIKE  REGEN-WMODE DEFAULT '2'
*"  EXCEPTIONS
*"      SYSTEM_ERROR
  DATA: y_obj TYPE  isu01_connobj,
        y_auto  TYPE  isu01_connobj_auto,
        y_db_update LIKE  regen-db_update.
  CALL FUNCTION 'ISU_O_CONNOBJ_OPEN'
    EXPORTING
      x_haus         = x_haus
      x_wmode        = '1'
      x_upd_online   = 'X'
      x_no_dialog    = 'X'
    IMPORTING
      y_obj          = y_obj
      y_auto         = y_auto
    EXCEPTIONS
      not_found      = 1
      existing       = 2
      foreign_lock   = 3
      invalid_key    = 4
      number_error   = 5
      system_error   = 6
      not_authorized = 7
      not_customized = 8
      status         = 9
      OTHERS         = 10.
  IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
            WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
  ENDIF.
  break aaf550.
  y_obj-addr1_data_new-house_num1 = '111111'.
  y_obj-addrobj-auto_addr_data = y_obj-addr1_data_new.
  y_obj-addrobj-changed = 'X'.
  y_obj-contr-upd_online = 'X'.
  y_obj-contr-no_dialog = 'X'.
  y_obj-contr-db_update = 'X'.
  y_obj-contr-wmode = x_wmode.
  y_obj-contr-enq_done = 'X'.
  CALL FUNCTION 'ISU_O_CONNOBJ_ACTION'
    EXPORTING
      x_okcode     = 'SAVE'      "=co_save aus ieokcode
      x_no_message = 'X'
    CHANGING
      xy_obj       = y_obj
    EXCEPTIONS
      not_allowed  = 1
      cancelled    = 2
      open_error   = 3
      duplicate    = 4
      OTHERS       = 5.
  IF    sy-subrc <> 0
     OR y_obj-ehau-haus IS INITIAL.
    RAISE system_error.
  ENDIF.
  COMMIT WORK.
  CALL FUNCTION 'ISU_O_CONNOBJ_CLOSE'
    IMPORTING
      y_db_update = y_db_update
    CHANGING
      xy_obj      = y_obj.
ENDFUNCTION.
Cheers,

Similar Messages

  • Preventing disabling of check box - item okay in MIGO

    Dear all,
    In the MIGO transaction - during goods receipt for subcontractor material, when the item (incoming) is checked as item okay - automatically the child material (Material sent to subcontractor) is also activated thereby to enable 543 movement.
    Unfortunately some of the users are disabling the check box (for the material sent to the subcontractor). This prevents depletion of stock from the subcontractor but inflates the stock of the incoming material.
    Is there any way - either by authorisation check to prevent users disabling the check box or other methods?
    Experts suggestion is required in this regard.
    Thanks in advance.
    Regards,
    M.M

    Hi Magesh,
    it is possible. use Badi enhancement
    MB_MIGO_BADI goto
    IF_EX_MB_MIGO_BADI~POST_DOCUMENT
    tell your abaper to put the logic like
    parent ID and subcomponent ID need to select
    if either of two is not selected
    then error message will prompt not to save the GR doc since subcomponent is unselected.
    reference field EKPO check PSTYP
    hope this help you.
    regards,
    Maia
    Edited by: Maia on Apr 18, 2008 3:07 PM

  • '"Connection Failed" : The server "rrnas01" may not exist or it is unavailable at this time. Check the server name or IP address, check your network connection, and then try again' message

    '"Connection Failed" : The server "rrnas01" may not exist or it is unavailable at this time. Check the server name or IP address, check your network connection, and then try again' message keeps displaying whenever I try to open any Adobe CS5 applications (except for Adobe Acrobat Pro). It displays until I click "OK" about 15-20 times or so and then will finally let my program open.
    I have tried deleting files within my Library/Preferences folder and turning off/deleting login items within my system preferences as other forums suggested but nothing happened. Spending 3.5 hours on the phone with Adobe and completely uninstalling and then reinstalling the entire CS5 Master Collection didn't work either.
    Also, it may be helpful to know that my programs worked fine for about three weeks then when we got internet and changed the password (the join, not the adminstrative password) with the wireless network "ScubaSteve" (which I've used with no problems at my old apartment) it started acting up. I have never seen "rrnas01" before so I don't know at all where it came from. I also installed the free 30 day trial of Suitcase Fusion 3 recently, but thinking that could also be the cause I have uninstalled it, and still no help.
    Please help me! And please keep in mind I don't know all the computer lingo that a lot of the people in these forums seem to know. Thanks in advance for ny help you can give me.

    It may not be possible .. there is a major bug between Mountain Lion and the TC where the TC disk goes off the radar of the computer.
    Lion is also affected but not as badly.
    7.6.4 seems worse than earlier firmware.. so back to 7.6.1 or 7.5.2 if that is possible.
    Obviously that is not a solution for a later Gen5 TC.
    Reset to factory after the firmware downgrade. .use all network names that are short, no spaces and pure alphanumeric.
    If the TC is the main router set the dhcp to a very short lease time.. eg 30min.. and see how it goes, or try a longer lease like 99days.
    I prefer the very short lease but response has been mixed.
    Use ethernet not wireless.. ethernet is always more reliable and stable than wireless.
    And last .. a nightly electric timer that powers off every night at midnight for 1min.. would not be the first device we have suggested a fix that amounts to beat the unit to the punch by forcing it to reboot since it is unstable.

  • Disabling the Check for Update feature in 10.1.3

    Hi,
    I work at a government facility that has tight security restrictions regarding downloading software. We are about to prepare a software delivery package for JDeveloper 10.1.3 that will let our IT department install JDeveloper on all of our developer workstations. One thing we would like to do as part of this deployment package is to disable the Check for Updates and PlugIn feature of JDeveloper. Is there a setting in a configuration file that controls this menu item?
    Thanks,
    Richard

    Hi,
    Is the requirement to disable the check for updates feature altogether (i.e. remove the menu item), or to just disable the automatic check that happens on startup?
    There isn't currently a documented way to totally disable the feature altogether, however it's possible to add such a feature in a future service update if necessary.
    There is a potential way in which you can modify the behavior of the wizard such that it will always find no updates (the menu item will still be present, however). If this is an acceptable solution to you, let me know and I'll fill you in on the details.
    Thanks,
    Brian

  • Disabling a Check box

    In my BSP View am using two check box.
    I want to disable one check box when the other one gets checked and vice versa.
    Right now am doing with some logics and with server side events.I want to do this in the client side.
    In <b>Java script</b> how i can code this in my BSP page where the checkbox is created with the help of htmlb.
    Kindly help me in this regards.

    Hi,
    put this in your documentHead:
    <script language="javascript">
         function uncheckyes(){
          document.form_id.yes.disabled='TRUE';
          </script>
    <script language="javascript">
         function uncheckno(){
          document.form_id.no.disabled='TRUE';
          </script>
    and this in your layout (documentBody):
           <htmlb:checkboxGroup columnCount = "2"
                                         id          = "expense" >
                      <htmlb:checkbox text          = "Yes"
                                      id            = "yes"
                                      onClientClick = "javascript:uncheckno()" >
                      </htmlb:checkbox>
                      <htmlb:checkbox text          = "no"
                                      id            = "no"
                                      onClientClick = "javascript:uncheckyes()" >
                      </htmlb:checkbox>
                    </htmlb:checkboxGroup>
    grtz
    Koen

  • BADI for Address Check in PA30 in ECC6.0

    Hi Friends,
    Is there any BADI for Address Check in PA30 in ECC6.0 similar to what we have in BP transaction in ECC6.0.
    Thanks,
    Pradeep

    check these...
    Enhancement/ Business Add-in            Description
    Enhancement
    PBASRP01                                PA: User exit distributed reporting
    PBAS0002                                PA: Enhancements for Personnel Administration - Menu
    PBAS0001                                PA: Pers.Admin./Recruitment: Default values and checks
    PARA0002                                Enhancement for Calculating Annual Salary; IT0008,14,15
    PARA0001                                Enhancement for Determining the Number of Periods
    HRRPAI01                                User exit for FB HR_ENTRY_DATE and HR_LEAVING_DATE
    HRPC0001                                HR: PC download authorization
    HRPBAS01                                User Exit for HR Master Data
    Business Add-in
    HRPAD00_PREM                            Definition of User Exit for Collective Search Help PREM
    HRPAD00_RECOG_SCREEN                    Employee Recognition Screen
    HRPADUS_PBAS_0001                       Customer Exit for Message handling
    HRPAD_SUBTY_CHECK                       HR: Master Data, Subtype Check
    HR_F4_GET_SUBTYPE                       HR: Entry help for subtypes
    HR_FAST_ACTION_CHECK                    Check fields on the fast entry screen
    HR_INDVAL                               HR: Indirect wage type valuation
    HR_SET_PKGAB
    HRPAYXX_DELETE_PERNR                    BAdI for Reports Deleting Personnel Numbers
    HRPAD00_PAPM                            Definition of User Exit for Collective Search Help PAPM
    HRPAD00_GET_AF_0008                     Additional Fields for Basic Pay Infotype (0008)
    HRPAD00_ENTRY_LEAVE                     HR_ENTRY_DATE and HR_LEAVING_DATE
    HRPAD00_ADRS                            HR: Address formatting
    HRPAD00MGEACTIVATION                    Activation Action BAdI for Global Employees
    HRPAD00INFTY                            Update / Infotype maintenance
    HRPAD00AUTH_TIME                        Time Logic in the PA Authorization Check
    HRPAD00AUTH_RECORD                      Spanish Data Privacy Law: Exit for Recording
    HRPAD00AUTH_CHECK                       HR: Authorization Check
    HRIV_REDUCE_AMOUNT                      Reduction within Indirect Valuation
    No.of Exits:          8
    No.of BADis:         19

  • Using Javascript to disable a check box

    Friends,
    I am stuck on what should be a simple requirement and I am hoping you can help.
    I need to disable a form region checkbox if a field on the same form region has anything entered.
    What I have done so far is:
    1) On the item that determines whether the check box should be disabled I have added a call to my Javascript function "onChange="disableDefaultDisplay();" in the "HTML Form Element Attributes"
    2) My javascript funcion is: (this is the basic version, all I am trying to do is disable the check box at this point)
    function disableDefaultDisplay()
    alert("Start of the function");
    var defaultDisplay = document.getElementById("P13_DEFAULT_DISPLAY");
    *defaultDisplay.enabled = false;*
    alert("End of the function");
    Using a combination of firebug and the alert messages I can see that function is called at the correct time (i.e. when the user changes and then leaves the field) and that the values of the variable, defaultDate are set but my attempts to disable the checkbox have yet to work!
    When I look at the type of the checkbox (through the source of the page or firebug) I see the checkbox has the following "fieldset#P13_DEFAULT_DISPLAY.checkbox_group" Do I need to do anything different to disable this type of object?
    Any help would be very much appreciated!

    Hi Andy,
    I was returning to this thread to update it with how I resolved it, so thanks for the detailed response.
    In a nutshell, the solution I used was a loop through the field set(of which there is only one item in it) and disabling it.
    Where you say:
    Secondly, checkboxes are, as you have seen, wrapped within a fieldset tag. The fieldset tag has an ID of the page item name. Each checkbox within that tag has its own ID value, which will be the fieldset ID plus "_n" (where n is a sequential number starting from 0) - thus, the first checkbox will be, for example, "P1_CHECKBOX_0", the second will be "P1_CHECKBOX_1" and so on.From my searching for a solution I had expected to see something like that. But the source for the item I was trying to disable is shown below and I can't see any numbers after it.
    Do you know why? Is it because it is the only item?
    &lt;fieldset id="P13_DEFAULT_DISPLAY" class="checkbox_group"&gt;
    &lt;input type="checkbox" name="p_v18" value="Y" id="P13_DEFAULT_DISPLAY" /&gt;&lt;/fieldset&gt;
    Regards
    Ian
    Edited by: IanC2 on Feb 8, 2009 8:07 PM
    Edited by: IanC2 on Feb 8, 2009 8:08 PM

  • Disable a check box

    Hello Experts ,
    Need help to disable a check box via Scripting .
    Appreciate your help ..
    Regards,
    Tayi

    Hi Tayi,
    You can use IapiDocumentLockManager APIs to lock/unlock a particular field.
    Let us know if this is what you are actually looking for.
    Thanks
    Devesh

  • How can I disable a check box in one screen?

    Hi,
    I need to disable a check box in the screen 1106 on the program of the transaction F110. I can do that with a user exit or what I can use to do that?
    Thanks!

    you have two options :
    user exit  , check if there is one for this transction
    i attach program below .
    field exit  :
    Within the CMOD transaction type PRFB in the transaction window.
    PRFB is the ok-code to bring up the field exits.
    You can also use Program RSMODPRF to create field exits.
    hope its help u .
    program for user exut  :
    *& Report  ZUSEREXIT                                                   *
    report zuserexit no standard page heading .
    tables : tstc, tadir, modsapt, modact, trdir, tfdir, enlfdir.
    tables : tstct.
    data : jtab like tadir occurs 0 with header line.
    data : field1(30).
    data : v_devclass like tadir-devclass.
    parameters : p_tcode like tstc-tcode obligatory.
    select single * from tstc where tcode eq p_tcode.
    if sy-subrc eq 0.
      select single * from tadir where pgmid = 'R3TR'
                                   and object = 'PROG'
                                   and obj_name = tstc-pgmna.
      move : tadir-devclass to v_devclass.
      if sy-subrc ne 0.
        select single * from trdir where name = tstc-pgmna.
        if trdir-subc eq 'F'.
          select single * from tfdir where pname = tstc-pgmna.
          select single * from enlfdir where funcname =
                                              tfdir-funcname.
          select single * from tadir where pgmid = 'R3TR'
                                    and object = 'FUGR'
                                    and obj_name eq enlfdir-area.
          move : tadir-devclass to v_devclass.
        endif.
      endif.
      select * from tadir into table jtab where pgmid = 'R3TR'
                            and object = 'SMOD'
                            and devclass = v_devclass.
      select single * from tstct where sprsl eq sy-langu and
                                       tcode eq p_tcode.
      format color col_positive intensified off.
      write:/(19) 'Transaction Code - ',
           20(20) p_tcode,
           45(50) tstct-ttext.
      skip.
      if not jtab[] is initial.
        write:/(95) sy-uline.
        format color col_heading intensified on.
        write:/1 sy-vline,
               2 'Exit Name',
              21 sy-vline ,
              22 'Description',
              95 sy-vline.
        write:/(95) sy-uline.
        loop at jtab.
          select single * from modsapt where sprsl = sy-langu and
                                             name = jtab-obj_name.
          format color col_normal intensified off.
          write:/1 sy-vline,
                 2 jtab-obj_name hotspot on,
                21 sy-vline ,
                22 modsapt-modtext,
                95 sy-vline.
        endloop.
        write:/(95) sy-uline.
        describe table jtab.
        skip.
        format color col_total intensified on.
        write:/ 'No of Exits:' , sy-tfill.
      else.
        format color col_negative intensified on.
        write:/(95) 'No User Exit exists'.
      endif.
    else.
      format color col_negative intensified on.
      write:/(95) 'Transaction Code Does Not Exist'.
    endif.
    at line-selection.
      get cursor field field1.
      check field1(4) eq 'JTAB'.
      set parameter id 'MON' field sy-lisel+1(10).
      call transaction 'SMOD' and skip first   screen.

  • Disable individual check boxes in ALV

    Hi all,
    My requirement is that I have one check box against each row. User clicks on the check box then that row is selected and on clicking the push button, bapi is called.
    If result of bapi is success, I want to disable the check box for that particular row/rows. Can you please tell me how I can achieve that? I know how to disbale all the check boxes in the list but I dont know how to disable the individual check boxes.
    Thanks and regards,
    Ridhima

    For that you need to play with the EDITABLE feature of the ALV at the field level.
    Declare a field STYLE type LVC_T_STYL as a part of your internal table. Now, for each row, append the fields of that row to the STYLE column specifying whether it has to be editable or not. You can use the attributes cl_gui_alv_grid=>mc_style_enabled and cl_gui_alv_grid=>mc_style_disabled for this.
    You can look at these threads
    https://forums.sdn.sap.com/click.jspa?searchID=524737&messageID=473177
    https://forums.sdn.sap.com/click.jspa?searchID=524737&messageID=2469829
    https://forums.sdn.sap.com/click.jspa?searchID=524737&messageID=1947071
    Regards,
    Ravi
    Note - Please mark all the helpful answers
    Message was edited by:
            Ravikumar Allampallam

  • How to disable spell checker in editable forms?

    Hello, everyone,
    Asking for an advice.
    I want to disable spell checking in an editable PDF form, since I don't have the dictionary of my language.
    Spell checking in this case is bit annoying and slows down the editing.
    I have the checker disabled in the preferences. However the checker still tries to do it's job.
    How do I disable it?
    Greetings,
    Vytas

    Thanks for checking it out.
    If anybody has ideas about this, please share
    Cheers,
    Vytas

  • Disable authorization check RH_STRUC_GET

    hi,
    is there a possibility to use FM
    RH_STRUC_GET and to disable authorization check similar to  'HR_READ_INFOTYPE_AUTHC_DISABLE' for fm HR_READ_INFOTYPE?
    thanks for help

    stupid question - solved by myself.

  • How to disable avalibility check

    Hi,
    I don't want to avalibility check only in sales order. How can I disable avalibility check for sales order ? How can I customize for this case?
    Thank you,
    Regards,
    Hilal

    hi,
    u can do this by maintaining 'kp' in availability chek field in mrp3 view of material master. but make sure the same is active in delivery item category else the syatem will allow PGI even if there are no stocks.
    saurabh

  • Address Check

    Hi All
    In Vendor Master, there should not be any duplicate vendor name for a particular company code and purchase organization.  We can achieve this by implementing Bussiness Add-In definition 'Address-Check'.
    Can anyone help me in the codes  to be written under 'address-check' or any other way in which  we can achieve this validation.
    Thanks
    Ravi

    Dear Ravi,
               U can use the user exit with enhancement SAPMF02K in the CMOD there u can check where the address is unique or not. This function module wprks just before saving the data.
    If it helps u then waiting for some points. Cheers
    RG,
    VM

  • Disabling password checking?

    Hi all,
    is it possible in Oracle to disable password checking, so that I could be connect with just
    <username>@<service name>
    without being prompted for a password?
    Now please don't condemn me... The idea is the following:
    It's all about a dedicated developer database / server.
    I have a lot of scripts which deploy the schema objects of our app, in several "connected" schemas, which are used by the app. For the sake of simplicity and speed we have been using <username>=<password>. But the consequence is, that these scripts cannot be used unchanged for deploying into production.
    It would be great, if I could only use the above mentioned connection script and by a central db-configuration, in one case it would connect me to the DB, in the other case I would be prompted for the password.
    Now please, don't value the approach. This not my idea. But is there a way disable password checking (entering question...)?
    Many thanks, in advance

    Mark D Powell wrote:
    What kind of scripts?
    What OS?
    What version of Oracle?
    We use an environment variables to hold the username and password. The OS then substitutes the current username and corresponding password into the script at run time. So the same Korn shell script we use in test can run in production unchanged and the developers do not know the production password.
    Oraclle also support global authenication via an Directory Server with the Advanced Security option.
    HTH -- Mark D Powell --I have the feeling, that you understood what I mean, still I don't understand your solution. But first I should provide more information...
    We are using 11gR2 on Linux machines, both for development as well as for production. We have a concept for continuous integration, where every schema object has it's own DDL script and then we have an allobjects.sql scripts which every single one of them (simply speaking).
    These are all SQL scripts, written to be executed in sqlplus. In SQLPLUS variables I am handling things like schema names and passwords. The "master" sql-scripts "connect"s itself to all necessary schemas for the app, and deploys every single database objects, executing its script. The consequence is, the "master" scripts contains many "connect" statements and in production every single one schema of the app, could have different password, so I can't just pass it as a parameter to the sql-script once.
    I hope, I have been more clear than the first time. So we have an app, which uses 8-9 schemas to be completely deployed. So I thought, if I could just use "<username>@<service name>" in my scripts, than the DBAs would be able to use them, unchanged, entering the production passwords, when prompted, without the developers knowing them....

Maybe you are looking for

  • Making video chat faster

    I have SL and my mom has Leopard. I am using a fast Cable connection, and she has ordinary DSL. Sometimes video and audio gets choppy. Both of us are on Wi-Fi using Intel Macs. Anyway you can suggest we try to make video faster? Thanks, John

  • How can I fix snapping?

    I was using the pen tool today to draw in perspective and It was snapping correctly but suddenly it's not snapping anymore. When I press A to select my path selection tool I can move the whole path and it snaps to guides, but when I pess Ctrl and cli

  • LR3 suddenly won't open photos in CS4 to be edited

    Hi, When I right click on a photo in LR3 and click on 'edit in Photoshop CS4', it opens the dialogue box that it has always opened: 'This version of Lightroom may require Camera Raw version 6.5 to be fully compatible,' or something to that effect. I

  • MySql slowdown over time

    I have a apache2/php5/mysql5 setup on tiger. The wordpress site runs fine to start with, but after a while (usually a couple of hours) the site slows down upon every request. When the slowdown occurs there is also a lot of disk activity, like somethi

  • Increasing kernel parameters Solaris

    Hi, actually i have these parameters and i need to increase them. Which will be the next values to be entered for those ones. Im using solaris 10 , oracle 10gR2.04. set shmsys:shminfo_shmmax=4294967295 set shmsys:shminfo_shmmni=2500 set semsys:seminf