Running function mdule CUSTOMER_UPDATE

I am running Function Module CUSTOMER_UPDATE to update the payment block field in the customer master. I am populating the following fields in the FM;
KUNNR
BUKRS
ZAHLS
I leave the other fields blank. But when I run the FM, it removes the values from the other fields in the customer master since I left it blank in the FM.
How can I stop that from happening?

dear friend,
you would use t-code XD99 to block / unblock customers...
regards,
P.S. regarding that particular FM i would recommend to try just one customer (until you upadet it successfully) trying
to fill more than 3 fields..say, did you populate MAN (client) field?

Similar Messages

  • Running Function Module in Background with Update Task is not working

    Hello Friends,
    I have a "Z" Report Program where I am running this Report in Background using JOB_OPEN, JOB_SUBMIT, JOB_CLOSE. I am calling this in BADI.
    In this Report I am calling another Function Module PRICES_POST which is a standard Function Module and in this FM there is another FM 'CKML_UPDATE_MATERIAL_PRICE IN UPDATE TASK'. Now when I am running the BADI these values are not being updated.
    Friends I would like to know whether can we run Function Modules which are  included with UPDATE TASK as Background Job program?
    Kindly help me in providing your valuable suggestions in proceeding further.
    Thanks and Regards
    Pradeep Goli

    Usually the sequence of CALLs in your report should look like
      CALL FUNCTION 'CM_F_INITIALIZE'
        EXPORTING
          msg_on_screen = c_x.
      CALL FUNCTION 'CKMS_BUFFER_REFRESH_COMPLETE'.
      CALL FUNCTION 'PRICES_CHANGE'
        EXPORTING
          actual_bdatj = f_matpr-pp-bdatj
          actual_poper = f_matpr-pp-poper
          bukrs        = p_bukrs
          budat        = p_date
          xblnr        = p_xblnr
        TABLES
          t_matpr      = t_matpr.
      READ TABLE t_matpr WITH KEY pp-xerror = ' '
                                TRANSPORTING NO FIELDS.
      IF sy-subrc <> 0.
        MESSAGE i046(ckprch).
      ELSE.
        CALL FUNCTION 'PRICES_POST'
          EXPORTING
            i_bktxt    = p_bktxt
            bukrs      = p_bukrs
            lis_update = 'X'
          TABLES
            t_matpr    = t_matpr.
      ENDIF.
      COMMIT WORK.
    If you forget the COMMIT-WORK each and every FM called in UPDATE TASK will not be triggered.
    Regards,
    Raymond

  • What's the authorization to run function CSAP_MAT_BOM_OPEN

    let's say, i wrote a report to change the structure of a BOM, using function CSAP_MAT_BOM_OPEN to open the bom, followed by function CSAP_BOM_ITEM_MAINTAIN and CSAP_MAT_BOM_CLOSE to change the bom and close the bom.
    well, I could use this report while other could not.
    When I used others sap account to run function CSAP_MAT_BOM_OPEN in SE37, I was warned I didn't have the authorization to run this function.
    so i want to know the authorization to use this function.
    best regards.
    Jim

    Hi,
    The std. authorization objects for BOM will be checked (C_STUE_BER, C_STUE_WRK etc).
    Regards,
    Vivek

  • ABAP routine in infopackage that runs function in ECC

    Hi All
    I need to have dynamic filter in the info package
    I have program in ECC that brings me the value that I need to filter in my info packege
    I want to use  ABAP routine in infopackage that runs function in ECC and brings the value that was received from the ECC function
    Is that possible?
    Thanks

    Hi All
    my CTO found the following option
    function module that is "remote-enabled module "
    then you call CALL FUNCTION 'Y_FM_IDOC_CATSDB' DESTINATION 'SAP4.7E'
    you need to define it in SM59
    code example
    data: BEGIN OF IT_SOBSL OCCURS 0,
          SOBSL(2),
          END OF IT_SOBSL.
    DATA: ls_range type STANDARD TABLE OF rssdlrange WITH HEADER LINE.
    SELECT /BIC/ZSPEPROCI FROM /BIC/SZSPEPROCI INTO TABLE IT_SOBSL
                          WHERE /BIC/ZSPEPROCI NOT BETWEEN 'AA' AND 'ZZ'
                          AND /bic/zspeproci ne '' .
    BREAK-POINT.
    LOOP AT IT_SOBSL.
    ls_range-IOBJNM = 'SOBSL'.
    ls_range-LOW = IT_SOBSL-SOBSL.
    ls_range-SIGN = 'I'.
    ls_range-OPTION = 'EQ'.
    APPEND ls_range .
    ENDLOOP.
    loop at ls_range.
      append ls_range to l_t_range.
    endloop.

  • How to run functions when changing states?

    Hi everybody
    I want to run function when changin states
    For example I change my state and write something on Panels title and when this state appears i want to read my title and to do smth
    How can I do it. Where is my mistake?
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application
        xmlns:mx="http://www.adobe.com/2006/mxml" verticalAlign="middle"
        width="340" height="250"
        layout="absolute"
    currentStateChange="StateChangez();">
    <mx:Script>
    <![CDATA[
    public function StateChangez():void
    if (currentState=='a')
    //Alert.show('a');
    if (Panel1.title=='New')
    Alert.show('New');
    else
    Alert.show('Edit');
    else
    Alert.show('b');
    ]]>
    </mx:Script>
    <mx:states>
      <mx:State name="a">
       <mx:RemoveChild target="{button1}"/>
       <mx:RemoveChild target="{button2}"/>
       <mx:AddChild position="lastChild">
        <mx:Panel x="0" y="40" width="340" height="210" layout="absolute" id="Panel1">
        </mx:Panel>
       </mx:AddChild>
       <mx:RemoveChild target="{button3}"/>
      </mx:State>
      <mx:State name="b">
       <mx:RemoveChild target="{button2}"/>
       <mx:RemoveChild target="{button1}"/>
       <mx:RemoveChild target="{button3}"/>
       <mx:AddChild position="lastChild">
        <mx:Label x="10" y="222" text="b"/>
       </mx:AddChild>
      </mx:State>
    </mx:states>
    <mx:Script>
      <![CDATA[
       import mx.controls.Alert;
      ]]>
    </mx:Script>
    <mx:Button label="New" x="10" y="10" id="button1" click="currentState='a';Panel1.title='New';"/>
    <mx:Button x="68" y="10" label="Edit" id="button2" click="currentState='a';Panel1.title='Edit';"/>
    <mx:Button x="10" y="218" label="b" click="currentState='b';" id="button3"/>
    <mx:Button x="265" y="10" label="Read" click="StateChangez()"/>
    </mx:Application> 
    Message was edited by: AtomicRussian

    Hi,
    I think your event handler "StageChangez()" is called before your Panel title is set. Try first change title, then change currentState.
    Oh yes my mistake, you are adding it when state changes. You can put your Panel's title change in StageChangez() and after that you can do some actions.
    Regards,
    Adrian
    Message was edited by: AdrianWiecek

  • Error when running function

    I'm using Oracle XE Beta 1.
    I can create and deploy .NET stored procedures without any errors or warnings.
    But when I run the function from ODT I get the following errors:
    Run Function - [email protected]
    ORA-20100: The parameter is incorrect.
    ORA-06512: at "SYS.DBMS_CLR", line 143
    ORA-06512: at "HR.ADD99", line 7
    ORA-06512: at line 1
    The code that I used for my stored procedure I borrowed from a webcast and it compiled and deployed just fine.
    public class Class1
              public static int Add99(int val)
                   return val+99;
    The return and parameter datatypes that I specified in the deployment wizard are both BINARY_INTEGER. So I don't see why I am getting this error.

    Jimmy,
    There's a bug where if you have .NET 2.0 installed on the same machine as the database you will get this error. If that is the case, you'll need to uninstall .NET 2.0 on that machine until the next release of XE comes out.
    (This will also affect Oracle Standard and Enterprise on windows)
    Christian

  • RUN FUNCTION PANEL error

    Hi, experts,
    I'm trying to execute "RUN FUNCTION PANEL" on CVI. During constructing driver, I checked the function panel by this command, but it was failed with error message, Interactive Execution error - Unresolved symbol: _Math_Average.
    I do the material in the basic CVI text, and it is very simple function. And additionally, it ran correctly when I completed the driver, then I believe that programming should be correct.
    So I'm struggling with editing any settings, but I could not find the solution.
    Does anybody have any solution or hint?
    Thanks,
    Solved!
    Go to Solution.

    Hello TetsuyaU!
    The most obvious solution for this problem would be to enable the Interactive Execution window environment options found in Options » Environment » Interactive Window. These options specify whether project files or loaded instrument drivers are used by the Interactive Execution window. Otherwise, if the corresponding option isn't enabled, the Interactive Execution window fails to link with the symbol from your instrument driver, and you get an unresolved symbol error.
    Does this work for you?
    Best regards!
    - Johannes

  • How to Run Function Modules.

    Hi folks.
    How do you run function modules?
    e.g.
    The function module
    RSBB_URL_PREFIX_GET will show information on URL prefix, path and server name in order to configure for web reports.
    I am trying to figure out  how to carry out the task step by step on BW system.
    Thank you.
    Kara.

    Hi:
    Test run in BW -
    go to transaction SE37
    RSBB_URL_PREFIX_GET
    give this info when you hit Test/Execute
    Handler class: CL_RSR_WWW_HTTP
    Protocal:
    Message Server: X
    Hit execute again.
    Chamarthy

  • A Continuous running function in webdynpro

    hi all,
    I wanted to know if a continoussly running function in the background can be run in webdynpro. For eg in my view if i enter in the morning a label should say "good morning" and afterwards a function should be running in the background which will change the caption of label to "good afternoon" when its afternoon and something like that. so in brief an event should always be fired without user interaction.
    Regards,
    Jayant

    hi Jayant,
    You can use timed trigger UI element. Write the function you want to run in an action and map it to the onAction of TimedTrigger and that will be executed after the time specified in the delay property of this UI element.
    Regards,
    Jaydeep

  • How to run function(s) on ANY program exit?

    I can easily do this when someone selects "Exit" from the program's menu, with this code:
    AllSortsOfExitCode()
    System.out.println("Ok, everything is wrapped up. Now we will end the program.");
    System.exit(0);
    BUT...how do you get this code to run when someone clicks the little X in the upper-right hand corner?
    I can't figure out how to do that.
    I need to override the class destructor or something, but I don't think Java has destructors in the classic sense. I found one 4-page thread about "Java destructors" but it was just an argument between a couple people -- I didn't learn anything from it.
    Thanks,
    Matthew

    CathInfo wrote:
    BUT...how do you get this code to run when someone clicks the little X in the upper-right hand corner?
    Thanks,
    MatthewThe earlier replies cover the case you described above. But your thread title says something else:
    How to run function(s) on ANY program exit?Answer - you can't. Power loss can't be handled. Shutdoen hooks can help with most other conditions, see
    http://www.google.com/search?num=100&hl=en&c2coff=1&q=java+shutdown+hook&btnG=Search

  • Calling another function from run function

    Dear All,
    Below is my skeleton of multithread programme. I am now going to implelment a new function to do the processing rather then over crowding my run fuctnion. Where exactly must I define the myNewFunction in the same class as ConnectionHandler or create a new class? What would be right? I saw some place you need to put the word static what is it?
    class ConnectionHandler implements Runnable {
         public void run() {
          callMyNewFunction()
    }

    Dear Jverd,
    Basically below is code skeleton. So below the big T is new Thread(new ConnectionHandler(socketConn1)).start(); correct and the small t is the run function correct? So my question is that if via the run function I call some other function will that have impact on the memory allocation or shall I leave all my codes in the run function itself? I hope I am clearer now.
    public class commServer {
       public static void main(String[] args) {
          try {
               final ServerSocket serverSocketConn = new ServerSocket(9000);
              while (true)
         try
         Socket socketConn1 = serverSocketConn.accept();
                    new Thread(new ConnectionHandler(socketConn1)).start();                          
         catch(Exception e)
         System.out.println("MyError:Socket Accepting has been caught in main loop."+e.toString());
         e.printStackTrace(System.out);
          catch (Exception e)
             System.out.println("MyError:Socket Conn has been caught in main loop."+e.toString());
             e.printStackTrace(System.out);
             //System.exit(0);
    class ConnectionHandler implements Runnable {
        private Socket receivedSocketConn1;
        ConnectionHandler(Socket receivedSocketConn1) {
          this.receivedSocketConn1=receivedSocketConn1;
       //@Override
       public void run() {
          Connection dbconn = null;
          BufferedWriter w = null;
          BufferedReader r = null;
          try {
             PrintStream out = System.out;
                BufferedWriter fout = null;
             w =  new BufferedWriter(new OutputStreamWriter(receivedSocketConn1.getOutputStream()));
             r = new BufferedReader(new InputStreamReader(receivedSocketConn1.getInputStream()));
             int m = 0, count=0;
             String line="";
             String n="";
             //w.write("$PA\n");
             //w.flush();
             while ((m=r.read()) != -1)
                      ///**DB processing here.
                      n="";
          catch (IOException ex) 
               System.out.println("MyError:IOException has been caught in in the main first try");
               ex.printStackTrace(System.out);
          finally
            try
                 if ( w != null )
                        w.close();
                 else
                      System.out.println("MyError:w is null in finally close");
            catch(IOException ex){
               System.out.println("MyError:IOException has been caught in w in finally close");
               ex.printStackTrace(System.out);
    }

  • Run function on multiple rows in a layout

    Hi,
      The client 's requirement is to run function on multiple rows in a layout at the user's will,the easiest way to add a indicator and then use this indicator as the condition in the  function,but the problem is how to make this indicator.
    The indicator can not be added to the leading column because it can not been check or uncheck manually by the user; the next option is to add it as the data column, but this make the data column look unnormal.
    Anybody get better way to do this?
    Thanks in advance.

    Hi JW
    Lets say you have used the keyfigure to identify whether the specific record is to be considered in fox and assume that the values for this key figure is 1to consider and 2-not consider then you can input these two values some place in layout in third step and put the excel validation on data column on these values so it will give the drop down box for the these values for data column.
    Thanks,
    Raj

  • Run function when hit enter

    Hi Guys,
       According to the "How To…Run Planning Sequences on Save and other events (WEB)" paper we can run functions when click save button or open the layout. Anybody know how to  make the function run when the user hit enter key. We had done this at my previous clint, but forget the detail.
    Thanks

    Hi JW,
    To run functions on save, do the following:
    1. define your planning function or planning sequence (which is a Function Pushbutton) in the web interface builder,
    2. On the Planning Layout, equate "Function After Data Change" to the planning function defined above.
    Trust this is what you are looking for.
    Cheers,
    FM.

  • Run function and Scene issue

    I am new to javafx and this is my first program in general in a couple years...now that the disclaimer is out of the way here goes:
    I am calling my javafx program from a java client and I am having trouble with the javafx scene being displayed. I have the following code:
    function run(){
         ...var declarations from java client...
    var design = MediaPlayer {};
    design.setItems();
    keepTime = design.getKT();
    javafx.stage.Stage {
    title: "MEDIA PLAYER"
    scene: design.getDesignScene ()
    I have added some print outs in the past and it appears that the run function is called fine, but once I reach the code "design.setItems()" it does not appear to go any further. I have try and catch around everything for an exception, but I get nothing. I have the run function declared outside of my MediaPlayer class and I am trying to understand that whole concept of code outside of the class within the file.
    some other things to note: I am making the javafx call on a new thread created in my java code. when I close my java window then the javafx code seems to proceed past "design.setItems()" and the scene displays and everything is fine thereafter...oh, except that I had to close my java program...weird.
    I have tried putting the run function within the class, but the nothing seems to happen at all then.
    Ideas? Question?

    The javafx doesn't have main method as Java has.
    So javafx has provided the function run() to execute the program. If you put the function run on your any class suppose 'A' then while calling the Class 'A' like : A{} in javafx then it would directly run your function run() and make the object too. But when you want only the object to be loaded then you would better not to include function run() on your class.
    For variables,
    the variable declared on function run is only accessible for function run . It's totally private to others.
    Thanks,
    narayan

  • "Auto stop" and "Auto Run" function exist?

    "Auto stop" and "Auto Run" function exist?

    many thanks...
    full of ????
    cracking this project issue...
    Attachments:
    AMK_solar monitoring system.vi ‏1451 KB
    datalogger.vi ‏26 KB
    Start.vi ‏22 KB

Maybe you are looking for

  • I cannot re-install itunes.  Missing file MSVCR80.DLL

    I have no idea why, but when I turned on my pc and tried to update my iphone and ipad, I got an error message telling me a file was missing.  i tried to re-install the file.  I also deleted itunes and tried to re-install and got the same message.  HE

  • Windows media player for iPad

    I have audio files that are in .wma format. They won't play on the iPad. Any suggestions for an ap to solve the problem? Thank you

  • Why can't I download the latest Ipod software?

    I have attempted several times to download the updated software for my ipod through itunes, but everytime I try I get the message "the download has been cancelled, your connection timed out". What does this mean and how can I get the update? Thank yo

  • JVMTI install problem

    # env HOME=/ JAVA_HOME=/opt/jdk150_10 JAVA_TOOL_OPTIONS=-Xrundvmti:all PATH=/usr/bin:/opt/jdk150_10/bin:/usr/local/bin:/usr/openwin/bin:/zg/jvmstat/jvmstat/bin SHELL=/sbin/sh TERM=xterm USER=root # java Picked up JAVA_TOOL_OPTIONS: -Xrundvmti:all Err

  • Java/lang/system.gc() error

    Hi there, i have a problem with java. When i enter a webpage that uses a java menu script i get this message: " The applet is trying to invoke the java/lang/system.gc() operation " then i get 3 choises Allow, Disallow and Stop applet. I have tryed th