How to modify position in the contract with BAPI_CUSTOMERCONTRACT_CHANGE

Hi experts,
I m facing a problem when i modify a contract with BAPI BAPI_CUSTOMERCONTRACT_CHANGE, indeed it adds new position for the same material instead of collecting its quantity, is there another BAPI to do so or should i copy this BAPI and modify it?
Thanks in advance.

Hi,
system details:
  ST-PI:       2005_1_46B
  ST-A/PI:     01G_R3_46B
  SAP_NOTES:   46B
  SAP_HR:      46B
  SAP_BASIS:   46B
  SAP_APPL:    46B
  SAP_ABA:     46B
Content of LOGIC_SWITCH:
  PRICING         KNPRS           CHAR    1
  ATP_WRKMOD      ATP_WRKMOD      CHAR    1
  SCHEDULING      CHAR1           CHAR    1
  NOSTRUCTURE     XFELD           CHAR    1
Sergej

Similar Messages

  • How to modify and save the data in the table control

    how to modify and save the data in the table control

    hi priya,
    kindly go thru the code below.
    PROCESS BEFORE OUTPUT.
      MODULE status_9010.
      LOOP WITH CONTROL tab_control.
        MODULE move_data_to_table.
      ENDLOOP.
    PROCESS AFTER INPUT.
      MODULE user_cancel AT EXIT-COMMAND.
      LOOP WITH CONTROL tab_control.
        MODULE move_data_from_table.
      ENDLOOP.
    MODULE move_data_to_table OUTPUT.
    This is to move the data from the internal table to *the table control
    *zmpets_mode-modecode, zmpets_range-rangeid, *zmpets_servfacto-factor are field names of the table *control columns.
      READ TABLE int_factor INDEX tab_control-current_line.
      IF sy-subrc = 0.
        zmpets_mode-modecode = int_factor-modecode.
        zmpets_range-rangeid = int_factor-rangeid.
        zmpets_servfacto-factor = int_factor-factor.
      ENDIF.
    ENDMODULE.                 " move_data_to_table  OUTPUT
    **********************************************8888
    MODULE move_data_from_table INPUT.
    *To move the data from the table control to internal *table 'INT_FACTOR'.
      int_factor-chk = line.
      int_factor-modecode = zmpets_mode-modecode.
      int_factor-rangeid = zmpets_range-rangeid.
      int_factor-factor = zmpets_servfacto-factor.
       MODIFY int_factor INDEX tab_control-current_line.
        IF sy-subrc NE 0.
          APPEND int_factor.
          CLEAR int_factor.
        ENDIF.
    ENDMODULE.                 " move_data_from_table  INPUT
    if this helps , kindly award points.
    for any clarification just mail me.
    regards,
    Anversha.S
    [email protected]

  • Can I cancel the contract with AT&T immediately after I purchased a refurbished ipad mini 2?

    Hello, I was a student in the US and I am exchanging to Europe for one year now.  I would like to buy a refurnished Ipad mini 2 with AT&T for my study in Europe, which means I don’t need to use AT&T in the next year.
    http://store.apple.com/us/product/FF066LL/A/refurbished-ipad-mini-2-wi-fi-cellul ar-for-att-16gb-space-gray
    It shows we can cancel the contract with out penalty on Apple website. However, I still have some questions:
    1. How to cancel the AT&T contract, if I am not in the US already.
    2. It is supposed can be use for other carrier in Europe, right? (Unlocked/ international)
    Is there anyone can solve my problem? Thank you so much!

    I am in Europe at this moment.
    If I just get a unlocked and without contract ipad mini that would be handy for me:)
    But the name of the product is "
    Refurbished iPad mini 2 Wi-Fi + Cellular for AT&T 16GB - Space Gray".
    I heard that the refurbished products do not under any contract....it was under AT&T before.
    Is it right?
    "Cellular for AT&T" confused me ;$

  • How do I connect to the internet with my new IPAD ?

    How do I connect to the internet with myt new Ipad

    See here for connecting to the Internet:
    http://support.apple.com/kb/HT1695
    If you have any problems there is troubleshooting advice here: http://www.apple.com/support/ipad/wifi/

  • How do i connect to the internet with my ipad?

    how do i connect to the internet with my ipad?

    Did you turn WiFi on in the Settings App? If WiFi is turned on, your iPad should be able to see any WiFi networks that you can connect to and you should be able to tap on one of those, enter a password if needed and then tap the join button.
    I get the feeling that you know this and the problem needs further explanation so ... Can you explain in more detail?

  • How do i connect to the internet with apple tv

    how do i connect to the internet with apple tv

    Ethernet cable from your router, or configure wifi in Settings.

  • HT1338 i have apps to be updated but when i try to update them a message pops out saying "You have updates for other accounts, please sigh in with the other id". Can some one help me how can i still update the same with the new apple id ive created.

    i have apps to be updated but when i try to update them a message pops out saying "You have updates for other accounts, please sigh in with the other id". Can some one help me how can i still update the same with the new apple id ive created. As i dont have the access to the earlier id anymore.

    You cannot. The apps are assigned to that Apple ID and there is nothing you can do to change that. You could choose to download them again with the new Apple ID, any paid apps will need to be purchased again.
    Hope that helps.

  • I sold my ipad 2 and didn't take out my apple id. how can i log off the ipad with out having it in hand?

    I sold my ipad 2 and didn't take out my apple id. how can i log off the ipad with out having it in hand?

    You can't. But the buyer more than likely restored it because he/she could not use your Apple ID.

  • How do I make appear the "phone with skype"-link, ...

    How do I make appear the "phone with skype"-link, next to tel numbers on websites, that I visit ?

    Hi, filipfirmout, and welcome to the Community,
    In the Windows version, the settings to enable this are here:
    Tools -> Options -> Advanced -> check in Use Skype to call to links on the web -> Save.
    There is also this: http://www.skype.com/en/download-skype/click-to-call/
    Best regards,
    Elaine
    Was your question answered? Please click on the Accept as a Solution link so everyone can quickly find what works! Like a post or want to say, "Thank You" - ?? Click on the Kudos button!
    Trustworthy information: Brian Krebs: 3 Basic Rules for Online Safety and Consumer Reports: Guide to Internet Security Online Safety Tip: Change your passwords often!

  • I connected my Canon printer to time capsule, and can print OK. However, I can't get the printer scanner to work. How do you set up the scanner with Time Capsule?

    I connected my Canon printer to time capsule, and can print OK. However, I can't get the printer scanner to work. How do you set up the scanner with Time Capsule?

    You cannot use USB. It has to be a network capable printer.. is it?? You did not indicate how it is connected.. but by wireless or ethernet then scanning is possible otherwise not.

  • How can I automatically create the files with serie-name?

    Hello, Everyone,
    I have a question again.
    How can I automatically create the file with a serie-filename?
    e.g. I have a program, it will repeat 5 times, and every time it will create a bmp-file, and I want to let this program automatically save these 5 files with a Serie-filename like File001.bmp, File002.bmp, .... File005.bmp.
    How can I do it?`
    Thanks a lot.
    Regarts,
    Johnny

    Hi Deepu,
    one more comment
    The format code should be "%04d" to get leading zeros and have filenames with same length...
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • I have just owned a macbook pro and trying to learn things since i have all along used windows laptop. My first question is : when there are two files i am working together, one above the other on screen, how you switch over between the two with key ?

    I have just owned a macbook pro and trying to learn things since i have all along used windows laptop. My first question is : when there are two files i am working together, one above the other on screen, how you switch over between the two with key ?

    Hi...
    Mac OS X keyboard shortcuts
    Control-F4
    Move focus to the active (or next) window
    Shift-Control-F4
    Move focus to the previously active window
    By the way...  since you are new to Mac, click a clear space on your Desktop. You should see "Finder" top left corner of the screen in the menu bar.
    Click Help then click Help Center
    As an example type in    keyboard shortcuts
    You can use the Help menu for almost any application on your Mac.
    Apple - Find Out How - Mac Basics
    For held switching from PC to Mac >  Apple - Support - Switch 101

  • How to use spry in the dreamweaver with the php/mysql

    hello,
    Iam new to the spry framework
    and i want to know can we use the spry in the dreamweaver
    along with php / mysql code
    if so please tell how to do this
    thanks in advance

    swetha123 wrote:
    > but when i complie this page it is not showing the
    preiew or any thing in the
    > browser i saved this page with the extension .php if i
    run the same page with
    > .html then i can see the design but it is not being
    executed
    The reason you get nothing when you save the page with a .php
    extension
    is because you have display_errors turned off, so you can't
    see the
    error message telling you there's a syntax error. The
    semicolon is
    missing at the end of this line:
    > echo "<font color='white'>Hello
    Swetha</font>"
    The reason it doesn't work with an .html extension is
    probably because
    you haven't uploaded SpryAssets/SpryTabbedPanels.js. I have
    copied your
    page and tested it locally with the correct JavaScript file,
    and the
    tabbed panels work as expected.
    There are lots of other mistakes in your page. You can't use
    float and
    position:absolute on the same element. In at least one place,
    you have
    used </br> instead of <br />. You have also got
    an closing paragraph tag
    after the paragraph that contains abc.jpg.
    Getting Spry or any other JavaScript library to work
    correctly relies on
    good, clean code. Your mixture of inline styles and font tags
    is going
    to make it difficult to incorporate Spry into your pages. I
    suggest you
    improve your HTML and CSS before bringing Spry into the mix.
    David Powers, Adobe Community Expert
    Author, "The Essential Guide to Dreamweaver CS3" (friends of
    ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/

  • How to modify capabilities for the ethernet interfaces in a Solaris 10 x86

    Hello.
    Does anybody know how to configure the ethernet capabilities in a interface in a X86 server? I have read that NDD command is not supported for this kind of servers and I cannot find how to do that.
    My root problem is that the IPMP is not working and my first clue is the configuration for cap_pause parameter in the involved interfaces, that they are active for both IPMP interfaces.
    How can I modify cap_pause for the interfaces in this server: X4170 with Solaris 10.
    Thanks in advance
    Regards,
    Luis.

    Not familiar with the X4170 but you might want to look for a config file in /kernel/drv that matches your interface. There are some configuration parameters you can set there if the device driver supports the .conf file.

  • How do I connect to the internet with Airport for the first time?

    I just got my Airport express and I've been trying to configure it to connect to the internet but it doesn't work and I can't find info on the configurations. I have an ethernet "modem" which I used to connect the cable coming from it to the computer and now I connect it to my Airport. Although the green light is on and in network preferences, it tells me I'm connected to the internet, I can't browse the internet with Safari, etc. I've been trying to find information on how to configure the base station in Airport Admin Utility but there is no specific information. Is there anyone who could help me telling me how to set up the IP adress, if I need one, DHCP, preferences in Airport Admin Utility?? If the ethernet cable is connected to the computer directly I don't need a user ID or anything... It's all setup automatically.

    As a minimum, in order to gain access to the Internet with an AirPort Express base station, you will need an Internet Service Provider (ISP) AND an Internet modem or gateway device.
    What is the make & model of the Internet modem or gateway device that you have the AirPort Express directly connected to by Ethernet? What exact model of Express do you have?

Maybe you are looking for

  • Open Page in new window using hyper link

    I put the window.open method on OnClick event of outputlink to open a page in new window, but the page is started in a old window. How do I start the page in a new window. My sintaxe of outputlink: <h:outputLink binding="#{P0110.hyperlink1}" id="hype

  • What is the backup tab and other tab in about this mac?

    It's because they have over 60% of the memory of my computer and i dont know why because i dont have any backups in my computer

  • Set reports_path in AS 10g

    Hi everyone, I am having a problem setting the reports_path on AS 10g. I changed the environment variable to C:\ORACLE\ORAWINFRS\REPORTS on a windows 2003 machine. That's where my reports are saved. But, when I try to run a report from a form, it can

  • 10gr2 64 Link failed

    dear all, i downloaded oracle database 10gr2 from this link: http://www.oracle.com/technology/software/products/database/oracle10g/htdocs/10201linx8664soft.html in order to install it in my hp AMD64 opteroN Previously, i view that my certify matrix i

  • Labview 2010 - Can't browse OPC servers on remote PC

    Hello all, I'm trying to create an OPC client using LabVIEW 2010. I can see the remote PCs in my workgroup but the problem is I can't browse for OPC servers. I get error 080004002 (pic below): I believe my DCOM settings are correct because I have Mat