Problem with business partner cumulative balance

Hi
I used to used the business partner balance enqury to quickly tell customers what they were due to pay up to the start of the month. I just looked at the cumulative balance of the last transaction of the previous month and that was it. I know I could run an aged credit report but this was quicker and easier. However since upgrade to 2007A the cumulative balance does not give the amount due for a part paid invoice so this does not work any more.
Question is has anyone writen a fast query or other report that calculates the cumulative balance based on outstanding amount?
Thanks in advance
Derek

Hi!
Run this in SAP B1 Query Manager
SELECT     T0.CARDCODE, MIN(T0.CARDNAME) 'Customer Name', SUM(T0.DOCTOTAL - T0.PAIDTODATE) 'Last Balance'
FROM        DBO.OINV T0
WHERE     DOCSTATUS = 'O' AND T0.DOCTOTAL - T0.PAIDTODATE > 1 AND T0.CANCELED = 'N' AND DATEPART(month,T0.DOCDUEDATE) < DATEPART(month,getdate()) AND T0.CARDCODE = '[%1]'
Group By T0.CARDCODE
UNION ALL
SELECT     T0.CARDCODE, MIN(T0.CARDNAME) 'Customer Name', -SUM(T0.DOCTOTAL - T0.PAIDTODATE) 'Last Balance'
FROM        DBO.ORIN T0
WHERE     DOCSTATUS = 'O' AND T0.DOCTOTAL - T0.PAIDTODATE > 1 AND T0.CANCELED = 'N' AND DATEPART(month,T0.DOCDUEDATE) < DATEPART(month,getdate())  AND T0.CARDCODE = '[%1]'
Group By T0.CARDCODE
ORDER BY T0.CARDCODE

Similar Messages

  • Problem with Business partner flow from R/3  to CRM

    Hi,
    We are setting up a process to flow of Business Partners from R/3 to CRM. 
    We have configured PIDE correctly but the problem is when I am creating any customer in R/3 we are getting DUMP.  
    Kindly help me in this regards.
    Thanks

    Hi,
    Check out the following Middleware Configuration :
         <b>CRM Middleware configurations</b>     
    1.     Source client for Client copy
         Using t-code SCC3 in both CRM and ISU to get the source client used for client copy.      Get source client for profile SAP_ALL.
    2.     RFC Destinations
         Use t-code SM59 and check if the following RFC destinations have been created:
    •     CRM
    o     R/3 Destination for CRM e.g. CRTCLNT240
    o     R/3 Destination for ISU e.g. ISTCLNT240
    o     Logical Destination for Middleware R&R queues – one for current client and one for client 000.                                                                            e.g. SAPCRM_MW_RR_240, SAPCRM_MW_RR_000     
    o     TCP/IP Destination for IPC dispatcher e.g. IPC_RFC_DISPATCHER
    o     TCP/IP Destination for IPC server e.g. IPC_RFC_SERVER
    •     ISU
    o     R/3 Destination for CRM e.g. CRTCLNT240
    o     R/3 Destination for ISU e.g. ISTCLNT240
    3.     Logical Systems
         Using t-code SALE check if the following logical systems have been created:
    •     CRM
    o     Own logical system – e.g. CRTCLNT240
    o     Logical system for ISU – e.g. ISTCLNT240
    o     Logical system for source client used in client copy – e.g. CRTCLNT200
    •     ISU
    o     Own logical system – e.g. ISTCLNT240
    o     Logical system for CRM – e.g. CRTCLNT240
    o     Logical system for source client used in client copy – e.g. ISTCLNT200
         Check if own logical system is assigned to the client.
         Path: Sending and Receiving systems -> Logical Systems -> Assign Client to Logical      System.
         Convert Logical System name in application tables
         Use t-code BDLS to convert logical system names in the application system.     
    1.     Enter old logical system name retrieved in step 1. e.g. CRTCLNT200
    2.     Enter new logical system name e.g. CRTCLNT240.
    3.     Select radio button Conversion of Client-Dependent Tables and execute the transaction.
    This process needs to be carried out 4 times: twice in CRM and twice in ISU.
    •     CRM
    o     Old CRM logical system -> New CRM logical system. e.g. CRTCLNT200 -> CRTCLNT240.
    o     Old ISU logical system -> New ISU logical system. e.g. ISTCLNT200 -> ISTCLNT240.
    •     ISU
    o     Old CRM logical system -> New CRM logical system. e.g. CRTCLNT200 -> CRTCLNT240.
    o     Old ISU logical system -> New ISU logical system. e.g. ISTCLNT200 -> ISTCLNT240.
    4.     Middleware Parameter tables
         Use t-code SM30 to maintain middleware parameters in following tables
    •     CRM
    o     Table SMOFPARSFA:
         Change value for following parameter entry:
         Key - R3A_COMMON
         Para name - CRM_DEFAULT_DESTINATION
         Value - Old ISU logical system -> new ISU logical system
              E.g. ISTCLNT200 -> ISTCLNT240     
    •     ISU
    o     Table CRMRFCPAR:
         Delete the previous entry for the following key:
         User - CRM
         Object name - *
         RFC Destination - Old RFC destination for CRM e.g. CRTCLNT200.
         Load types - All Load Types
         Create new entry with following data:
         User - CRM
         Object name - *
         RFC Destination - New RFC destination for CRM e.g. CRTCLNT240.
         Load types - All Load Types
         In Queue flag - X
         Send XML – No XML
    o     Table CRMPAROLTP:
         Change value for following parameter entry:
         Para name - CRM_DEFAULT_DESTINATION
         User - CRM
         Value - Old CRM logical system -> new CRM logical system
              E.g. CRTCLNT200 -> CRTCLNT240
    5.     Admin Console (Sites and subscriptions)
         Using t-code SMOEAC in CRM change attributes for the following sites.
    •     CRM site
    o     Name: Change name from old CRM logical system -> new CRM logical system e.g. CRTCLNT200 -> CRTCLNT240
    o     Description: Change description from old CRM logical system -> new CRM logical system e.g. CRTCLNT200 -> CRTCLNT240
    o     Site attributes: Change RFC destination from old CRM RFC destination to new CRM RFC destination e.g. CRTCLNT200 -> CRTCLNT240
    o     Click on get values button to refresh logical system details.
    •     ISU site
    o     Name: Change name from old ISU logical system -> new ISU logical system e.g. ISTCLNT200 -> ISTCLNT240
    o     Description: Change description from old ISU logical system -> new ISU logical system e.g. ISTCLNT200 -> ISTCLNT240
    o     Site attributes: Change RFC destination from old ISU RFC destination to new ISU RFC destination e.g. ISTCLNT200 -> ISTCLNT240
    o     Click on get values button to refresh logical system details.
         Check if ISU site is assigned to following subscriptions.          
    •     All Business Agreements (MESG)
    •     All Business Partner Relationship (MESG)
    •     All Business Partners (MESG)
    •     All Business Transactions
    •     IS-U Connection Objects (MESG)
    •     IS-U Contracts (MESG)
    •     IS-U Points of Delivery (MESG)
    •     Product Materials (MESG)
    6.     CRM Middleware Queues
         Inbound Queues:
    I.     Execute transaction SMQR.
    II.     Change AS group from ‘DEFAULT’ to ‘parallel generators’.                Path: Edit -> Change AS Group
    III.     Register following queues:
    •     CRM     
    o     CSA*
    o     R3A*
    •     ISU
    o     R3A*     
    Outbound Queues:
    I.     Execute transaction SMQS.
    II.     Change AS group from ‘DEFAULT’ to ‘parallel generators’.                Path: Edit -> Change AS Group
    III.     Register following queues:
    •     CRM     
    o     CSA*
    o     R3A*
    •     ISU
    o     R3A*     
    R&R Queues:
    I.     Execute transaction SMOHQUEUE in CRM.
    II.     Check if all queues have status ‘Released’.
    III.     Start Queue Demon by clicking on ‘Start Queue Demon’.
    <b>Please reward points if it helps.</b>
    Regards,
    Amit Mishra

  • Problem with Business Partner List - State

    I'm using SAP B1 2007A. We recently added several International countries and their regions (states). We are having a problem with the state that appears on the Business Partner List (list that appears when you search using part of a company name or *). The query that gets the data does not take into consideration the Country where the state is located. The result is that the query returns the first state it finds based on the state code not the state associated with the country.
    Is there a fix for this query or is there a way I can adjust the query to get the correct state results in the Business Partner List.
    Thanks,
    Mark

    No. Different state name but same state code.
    Ex:
    GA - Georgia in USA
    GA - Galapagos Islands in Galapagos Islands
    When searching for the Business Partner the city is Atlanta the Country is USA but the State is Galapagos Islands not Georgia.

  • Problem with business partner activation

    Hello experts!
    I try to archive business partner but face with one issue.
    My steps:
    1) set the indicator Archiving flag in the Business Partner dialog on the tab page Status
    2) in the initial screen of the archive administration (transaction SARA), enter the object name CA_BUPA
    3) create a variant (add BP number)
    But log is empty
    This BP isn’t assign to any document.
    Did I make mistake?
    Thank you!
    Best regard,
    Yuliya

    No. Different state name but same state code.
    Ex:
    GA - Georgia in USA
    GA - Galapagos Islands in Galapagos Islands
    When searching for the Business Partner the city is Atlanta the Country is USA but the State is Galapagos Islands not Georgia.

  • Problem with business partner

    Hello everyone,
    I have this problem:
    ive been using extractor 0crm_sales_act_1 for crm, but i just realized that there is no business partner for my activities. I do have a business partner associated to my service order, but not to my activity that belongs to my service order in the extractor.
    I checked on the configuration for crm, and they do have a business partner for every activity, how do i get that?
    I want to link the same business partner that i have for my service order to my activity in the extractor 0crm_sales_act_1.
    please help me

    hi, im checking that field but it comes blank to all activities that are associated to a service  order, im only getting the bp for all my service orders but not my activities

  • Problem with Business Partner setup

    Dear Experts
    I am setting up master data for business partner and would like to build relationship for customers that within the same group.
    E.g. Company A, B and C are in the same group of customer, Company A is the parent company while B and C are its subsidiaries.
    My requirement is: to set up a relationship between these three companies which could let me to run a Receivable Aging Report to show the receivable for each of these companies and the total receivable for this group of company as a whole.
    Can this requirement be met?
    What would be the bset approach to meet this requirement?

    Dear All
    I have decided to change the field 'Remark' in the BP Master Data to 'BP Group' to store the information for customer groups.
    However, it is a 'text' field by default which implies users can type anything they want. Manual typing errors in this case, would affect the reporting.
    Would it be possible to make the field as a drop down list? (which similar to the default BP group field) and
    What will be a good query to retrieve data from this field in order to show the aging in the manner I have requested above?
    Thanks all
    Regards
    Elton

  • Uploading Business Partner Opening Balances

    Hi
        All
               I want upload business partner opening balance by DTW or Import data is it possiable????
    Thanks & Regards
    Amit

    BEST PRACTICE:
    Import all the open documents with Service Invoices/Credit Memos, with the same document number and date than in the legacy system. It does not matter what the client says - they ALWAYS have issues afterwards.
    In this case DTW is the best option.
    Kind regards
    Carin
    Edited by: Carin Botha on Aug 17, 2010 3:05 PM

  • URGENT :   EP 7.0 /ECC 5.0  -   Problem with Business Package : ESS/MSS

    Dear Portal Gurus,
    We are facing a problem with business package for ESS/MSS
    Our system Info is as under :
    Portal:- NW 2004s
    ERP2004: - (R3 ECC 5.0)
    ESS:- BP for Employee Self-Service (mySAP ERP 2004) 60.2
    MSS:- BP for Manager Self-Service (mySAP ERP 2004) 60.1.1
    SAP XSS  à (SAP ESS 100, SAP MSS 100 and SAP PCUI_GP 100 , all upto SP 12)
    After the Business Packages were installed,found that some  ess apps where not deployed...so manually deployed it.
    The JCO connections are OK.
    Do we need to set up the backend Homepage Framework for the same......even for preview.....was thinking not.
    Also, here is the error and exception that we get when we preview any ESS iview.
    A critical error has occured. Processing of the service had to be terminated. Unsaved data has been lost.
    Please contact your system administrator.
    You dont have the authorization to start service sap.com/pcui_gp~xssutils/XssMenuArea.
    com.sap.pcuigp.xssfpm.java.FPMRuntimeException: You dont have the authorization to start service sap.com/pcui_gp~xssutils/XssMenuArea.
    at com.sap.pcuigp.xssfpm.java.MessageManager.raiseException(MessageManager.java:111)
    at com.sap.pcuigp.xssfpm.java.MessageManager.raiseException(MessageManager.java:121)
    at com.sap.pcuigp.xssfpm.wd.BackendConnections.initBackend(BackendConnections.java:234)
    at com.sap.pcuigp.xssfpm.wd.BackendConnections.connectModel(BackendConnections.java:159)
    at com.sap.pcuigp.xssfpm.wd.wdp.InternalBackendConnections.connectModel(InternalBackendConnections.java:183)
    Thanks.
    Message was edited by: Ashutosh Rana

    I got the same problem :/
    not the authorization, but the fields in working time is displaying wrong.. (too big)
    Any solution to this?
    Best Regards
    Kristoffer Engh

  • Customer Integration with Business Partner in Student Accounting

    Dear Experts,
    We are having an issue regarding Customer Integration with Business Partner in Student Accounting.
    How and where it will be done please provide us steps.
    Thanks in Advance.
    Radhey

    Hello Radhey,
    I’m sorry that I bring up an old question, but how did you realized in system integration of the BP, the customer with the student?
    Best Regards
    Anastasia

  • Problem in passing Journal Entry with Business partner

    I intend to pass journal entry for a particular Business partner but business partner is a control account how should I pass journal entry for that particular BP.
    Need for this entry is for adjusting some G/L accounts with BP accounts.

    Hi Monica,
    Here's a short example of how to use a business partner in a journal entry.
            Dim oJnl As SAPbobsCOM.JournalEntries
            oJnl = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oJournalEntries)
            oJnl.DueDate = Now
            oJnl.Lines.ShortName = "C1000"
            oJnl.Lines.Debit = 100
            oJnl.Lines.Add()
            oJnl.Lines.AccountCode = "100000"
            oJnl.Lines.Credit = 100
            If oJnl.Add <> 0 Then
                oApplication.MessageBox(oCompany.GetLastErrorDescription)
            Else
                oApplication.MessageBox("Success")
            End If
    Hope it helps,
    Adele

  • Customer creation with Business Partner Error

    Hello Experts,
    I am a Functional consultant and trying to create Customer which has to create a Business Partner in one of the test system. All the config to create Business Partner is completed.
    When trying to create customer it throws a RFC connection error. I have pasted the dump details below. Please help me to solve the issue.
    Category          
    ABAP Programming Error
    Runtime Errors    
    CALL_FUNCTION_OPEN_ERROR
    ABAP Program      
    CL_RPM_FES_BUFFER_MANAGEMENT==CP
    Application Component  PPM-PFM
    Date and Time     
    22.09.2014 19:43:45
    Short text
        Error when opening an RFC connection ("CPIC-CALL: 'ThSAPOCMINIT' : cmRc=20
    What happened?
        Error in the ABAP Application Program
        The current ABAP program "CL_RPM_FES_BUFFER_MANAGEMENT==CP" had to be
         terminated because it has
        come across a statement that unfortunately cannot be executed.
    Error analysis
        An error occurred when executing a Remote Function Call.
        "CPIC-CALL: 'ThSAPOCMINIT' : cmRc=20 thRc=236#SAP gateway connection failed. Is
         SAP gateway started? "
        Status of connection.... "CODE=CM_PRODUCT_SPECIFIC_ERROR -1 -1 SAPCODE=236
         CONV= "
        Internal error code.... "RFC_IO5"
        There is an error in the communication system. To clarify
    and resolve the error, contact your system administrator.
    Last error logged in SAP kernel
    Component............ "NI (network interface)"
    Place................ "SAP-Gateway on host KNACKS06 / sapgw01"
    Version.............. 40
    Error code........... "-10"
    Error text........... "partner 'knacks06:sapgw01' not reached"
    Description.......... "NiPConnect2: 54.201.94.167:3301"
    System call.......... "connect"
    Module............... "nixxi.cpp"
    Line................. 3286
    The error reported by the operating system is:
    Error number..... 10060
    Error text....... "WSAETIMEDOUT: Connection timed out"
    Check the host name and service that define the remote program. Are
    these parameters correct? You can use the "ping" command to check
    whether the specified host is reachable. If the remote program is an
    application server, check whether it is running and whether the local
    gateway of this server is listening for the specified service. If the
    service is sapgw<nn>, the remote server must run with SAPSYSTEM number
    <nn>.
    Trigger Location of Runtime Error
        Program                                 CL_RPM_FES_BUFFER_MANAGEMENT==CP
        Include                                 CL_RPM_FES_BUFFER_MANAGEMENT==CM00J
        Row                                     2
        Module type                             (METHOD)
        Module Name                             CHANGES_BY_ORG
    Source Code Extract
    Line  SourceCde
        1 METHOD changes_by_org.
    >>>>>   CALL FUNCTION 'RPM_FES_RECALCULATE_BY_ORG' STARTING NEW TASK 'RPM_FES_RECALCULATE_BY_ORG'
        3     EXPORTING
        4       old_image         = old_image
        5       new_image         = new_image
        6       plog_tab          = plog_tab
        7       tb_plog_tab       = tb_plog_tab
        8 *   IMPORTING
        9 *     ET_MSG            =
       10 *     EV_RC             =
       11             .
      12
      13 ENDMETHOD.
    Active Calls/Events
    No.   Ty.          Program                             Include                             Line
          Name
       13 METHOD       CL_RPM_FES_BUFFER_MANAGEMENT==CP    CL_RPM_FES_BUFFER_MANAGEMENT==CM00J     2
          CL_RPM_FES_BUFFER_MANAGEMENT=>CHANGES_BY_ORG
       12 METHOD       CL_IM_RPM_FES_ORG_CHANGES=====CP    CL_IM_RPM_FES_ORG_CHANGES=====CM004     4
          CL_IM_RPM_FES_ORG_CHANGES=>IF_EX_HRBAS00INFTY~IN_UPDATE
       11 METHOD       CL_EX_HRBAS00INFTY============CP    CL_EX_HRBAS00INFTY============CM004    35
          CL_EX_HRBAS00INFTY=>IF_EX_HRBAS00INFTY~IN_UPDATE
       10 FORM         SAPLRHAP                            LRHAPF1R                              110
          UPDATE_DATABASE
        9 FUNCTION     SAPLRHAP                            LRHAPU08                               19
          RH_BASE_UPDATE_DB_DIALOG
        8 FORM         SAPLRHAP                            LRHAPF30                              248
          UPDATE_PLOG
        7 FUNCTION     SAPLRHAP                            LRHAPU40                               31
          RH_UPDATE_DATABASE
        6 FORM         SAPLBUBA_4                          LBUBA_4F31                             14
          HR_DATA_SAVE
        5 FORM         SAPMSSY0                            SAPMSSY0                              504
          %_PROCESS_P_O_C
        4 FORM         SAPMSSY0                            SAPMSSY0                              249
          %_COMMIT
        3 FORM         SAPMF02D                            MF02DFS0                              511
    SCHLUSS_BEARBEITUNG
    2 FORM    
    SAPMF02D                       
    MF02DFO0                        
    2335
    OKCODE_BEARBEITEN
    1 MODULE (PAI) SAPMF02D                       
    MF02DI00                        
    5632
    OKCODE_BEARBEITEN
    Regards,
    BV PATIL

    Hi,
    It would make more sense to speak to a technical resource who is familiar with your system.  Based on the error, it looks like you have connection issues in your landscape - I'm assuming you have CRM & ERP systems communicating and it looks like there is a problem with their connectivity. Best get some basis resource to help you out.
    cheers,
    G.

  • Archive Link Authorization problem for Business Partner.

    Hi Experts,
    Currently we are attaching documents to respective objects through Tr. OAWD & these documents are available in service for object as attachment, until this it is working fine.
    But we are facing problem of authorization for archive link of ISU- Business Partner. Letu2019s say we had two users USER-A & USER-B responsible to upload documents of Business partners started with 1 & 2 respectively.
    We needed authorization control for USER A&B so that,
    USER-A should upload documents for Business Partner 1001 to 1999
    & USER-B should upload documents for Business Partner 2001 to 2999
    we need to know can we restrict USER A&B so that they can not upload documents for Business Partner for which they are not responsible. we allready checked the roles "SAP_BC_SRV_ARL_*  " but not found useful to restrict USER A&B.
    Thanks in advance....

    Hi Sam,
    as this sounds like you search for suitable authorization objects I think that the authorization trace in transaction ST01 could be useful for you. For further information please see the following link: http://wiki.sdn.sap.com/wiki/display/PLM/AuthorizationTraceintransactionST01
    Best regards,
    Christoph

  • Organizational Units with Business Partner

    Hi Experts,
    I'm creating my organizational structure on CRM system: on transaction "PPOMA_CRM" I'm creating all the organizations I need. But I 'm facing with a problem: I'm not able to assign them a business partner. I mean: in the transaction "PPOMA_CRM" under the column "Business Partner" I'm not able to insert any business partner.
    And on the other hand, if I go on transaction "BP" in order to define a new organization, when I select which is  the BP role to use for the creation of the organization, I don't see BUP004.
    Do you have any suggestions.
    Why I can't see it?
    And what I have to do to assign a business partner to an organization?
    Full point sif it helps.
    Thanks a lot.
    Best regards,
    Stefano

    Hi,
    Please find below my answers:-
    In a first moment I configured the HR-CRM integration and when I go on transaction PPOMA_CRM in order to display the Organizational Structure I can see, for each Organizational unit downloaded from HR, a business partner ID under the column "business partner". This is the same number ID which allows to identify the same Organizational Unit on transaction BP.
    Answer- In Transaction BP you can find the same Org unit business prtner created in PPOMA_CRM.
    Suppose you have created BP_Org in PPOMA_CRM which has got generated with certain BP number.But this will not reflect in transaction BP. All the Business Partners created under BP_Org will be getting reflected.
    Now I deactivated the HR-CRM integration and when I create a new Organizational Unit on PPOMA_CRM I'm not able to fill the column "Business Partner".
    Ans- If you have not maintained in HR-CRM Integration there will be no number range.
    If I insert the Organizationa Unit ID (displayed on PPOMA_CRM) in transaction BP I don't get any results.
    Ans- While searching in BP , first you donu2019t have option of searching BP with Org Unit ID but you will find number instead. But as I told you earlier this will search the Business Partner under your Root Organization in our case it is BP_Org. You cant search for BP_Org in Tx-BP
    I need to assign a business partner to my organizational unit for escalation purposes since the escalation is succesfully only for the organizational units with that business partner ID, i.e. all the organizational units downloaded from HR.
    So at the moment the escalation process doesn't work for the organizational units just created only on CRM standalone system.
    I think it is possible to make it work also for these organizations, but I don't know how!
    Ans-  You will have to maintain as below-
    Customer Relationship ManagementMaster DataBusiness PartnerIntegration Business Partner-Organization Management Set Up Integration with Organizational Management
    HRALX- OBPON =ON
    HRALX- ONUMB
    HRALX-OSUBG
    HRALX-HRAC=
    Regds...
    Arup

  • Problem with busy cursor

    IHey there,
    i have a popping up window in my Flex app. This window needs a little time to get created. In this time I want to set the Cursor to busy. But instead of the busy cursor Flex displays no cursor, also the arrow cursor disappears.
    I tried the hack with callLater but it doesn't help. Had anyone a similar problem and knows how to fix it?
    By the way: What is the best way to set the busy cursor? Static, with the parentApplication.cursoManager property or in the component with this.cursoManager? All of these ways have the same result on my problem: no cursor!
    click on a item (own component, extended Canvas, buttonMode = true)
    call function by MouseListener
    function {
        this.cursorManager.setBusyCursor();
        this.callLater(doPopUpWork);
    callLater function
    doPopUpWork() {
        // DO WORK AND ADD POPUP
        this.cursorManager.removeBusyCursor;
    I checked the right timing with trace statements [ trace("setBusy") ... ] and the also cursor comes Back when work is done and popup was added. All right and in right time. But the cursor disappears in that time instead of showing the busy cursor.
    Can anybody help me???

    I see there are problems with reading the code, try again:
    click on a item (own component, extended Canvas, buttonMode = true)
    call function by MouseListener
    function {
        this.cursorManager.setBusyCursor();
        this.callLater(doPopUpWork);
    callLater function
    doPopUpWork {
        // DO WORK AND ADD POPUP
        this.cursoManager.removeBusyCursor();

  • Problem Updating Business Partner DI Object loaded via XML

    Hello,
    I'm working with  SB1 8.81 PL 08
    I have to Update a Business Partner Object in a Target SB1 Company Database starting from a Business Partner Objects saved as XML from the Source SB1 Company Database.
    Normally this works fine, I load from XML this Object and calling the Method Update all data is Syncronized in the Target DB.
    But if the Business Partner Object has at least a Contact Person and in the Target Company DB a Marketing Document has been created for this particular Business Partner the Update Method called on the loaded by XML object always fail giving the following error:
    Error: -10
    Message: Contact Person is referenced by another object.  , 'Sales Quotations [...contact Person ID...]'
    The modifications I need to update do not involve contact person in the BP object but only other simple properties like Tel Nr. ...
    In conclusion ... if the target BP has a marketing document created it seems no more possible to update it with an XML load, instead if a load the BP using the   GetByKey() Method and changing manually some properties of the object the Update works fine.
    Thank you for support.
    Max

    Hi,
    First Use the getbykey to get the Business partnet then update.
    sample code is available with B1WS package
    Regards.

Maybe you are looking for

  • LinkListExplorer iview BackGround Image path not working

    HI All , As i am using Layout set LinkListExplorer for few external links , when i am giving image name for eg growth.jpg in  background image path,  which is placed at /etc/public/mimes/images it is not showing anything , the same is working for New

  • How to set the user's Default joboptions directory?

    Hello Experts, When we installed Acrobat Pro 8.x on our Win XP Pro systems our systems were NOT in a Windows Domain.  At that time the default location for user-created/customized joboptions files was: C:\Documents and Settings\<Username>\Application

  • Treatement of Fault Messages in Synchronous Scenarios?!

    Hi all, I got a question concerning the use of fault messages in synchronous scenarios... 1. When I define a fault message for my synchronous       receiver interface, a fault message, coming back    would  not be handled by my sync. Interface- and  

  • Monitoring of Task

    What is the functionality of Monitoring of Task. Does a window pop up as reminder at the completion of Task.

  • Java Heap space problem

    Hi, I have an web application which throws out of memory error when more than 5 users logs in .I am using jboss server with linux box.I have 1Gb physical memory. I tried changing the jvm options but still it's not working .I am using lots of session