Error while posting data with BAPI_ACC_ACTIVITY_ALLOC_POST

Hi All
I am using BAPI_ACC_ACTIVITY_ALLOC_POST to post documents but getting error as 'The document has too many line items (maximum number = 997). Even though my input file has only 900 records.
I tried reducing it to 600 . Even then I am getting same error.
Has anybody come across this , message class BK (829).
I have traced that this message comes from function module  K40C_DOCUMENT_CREATE which is being called internally in the BAPI.
Please help me on this , its urgent.
Thanks & Regards
Babita Sharma

Change your code to create 400 line items for each document number. I mean, 1 header for 400 line items.
That way you will have one structure HEADER and 400 lines in table ITEMS.
RMS.

Similar Messages

  • Error while posting GR with MvT 835 for Brazil Plant using transaction MBSU

    Hi,
    While posting GR with MvT 835 through transaction MBSU with reference to GI document, we are receiving below error :-
    Balance not zero: **** - debit: ****
    credit: ****
    Message No.: M7050.
    We are using TAXBRA procedure for Brazil.
    We request you to please let us know what all configuration do we need to check.
    Regards,
    Kiran

    Answered.

  • Error While Posting Data Through Tcode MM41

    Hi Experts,
    Getting error when entering article data through tcode MM41 :
    Following errors occurred while posting data :
    E M3 072 : Enter the RP type
    I m already entering RP type in both DC and store tab available on article screen.
    Thanks.

    Hi Friend,
    Youhave to enter for third time for your reference site say for example RFST and again third time i have to enter the RP.
    Idealy you should first maintain for reference site initially.
    eample I am maintaining MM41 for my store (site) so first at DC level and then at store level and then again when I accept to save the article at refercne Store level I have feed in the RP type.
    Hope this solves you query.
    Regards,
    Ashutosh

  • Error while posting data from SCM to XI

    Dear Expertise,
    I got a requirement where I need to post data from SCM to XI server. From SCM
    side it is an ABAP proxy. When I tested the scenario and checked in the MONI of
    SCM I got an error. But SCM is correctly configured pointing to XI under Tcode
    SM59 (SM59 --> Connection Type H (HTTP Connection to ABAP System) -->with
    correct user credentials and PIPE line URL of XI server).
    Please let me know is this the correct settings for ABAP proxy for connecting
    from SCM system to XI system.
    Error Dump in SXMB_MONI:
      <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Call Integration Server
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="INTERNAL">HTTP_RESP_STATUS_CODE_NOT_OK</SAP:Code>
      <SAP:P1>401</SAP:P1>
      <SAP:P2>Unauthorized</SAP:P2>
      <SAP:P3 />
      <SAP:P4 />
    <SAP:AdditionalText><!DOCTYPE html PUBLIC"-//W3C//DTD HTML 4.01Transitional//EN">
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>HTTP response contains status code 401 with the description Unauthorized Authorization error while sending by HTTP (error code: 401, error text: Unauthorized)</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    Thanks in Advance,
    Gujjeti

    HI
    Check these
    For Error: HTTP_RESP_STATUS_CODE_NOT_OK 401 Unauthorized
    Description: The request requires user authentication
    Possible Tips:
    • Check XIAPPLUSER is having this Role -SAP_XI_APPL_SERV_USER
    • If the error is in XI Adapter, then your port entry should J2EE port 5<System no>
    • If the error is in Adapter Engine
    –then have a look into SAP note- 821026, Delete the Adapter Engine cache in transaction SXI_CACHE Goto --> Cache.
    • May be wrong password for user XIISUSER
    • May be wrong password for user XIAFUSER
    – for this Check the Exchange Profile and transaction SU01, try to reset the password -Restart the J2EE Engine to activate changes in the Exchange Profile After doing this, you can restart the message

  • Error while importing data with DTW

    Hi Guys,
    I received an error when i try to upload data with DTW
    method '~' of object '~' failed65171
    When i click on run simulation again,
    I received another error 65172.
    There's two different error.
    Can anyone help?

    Hi,
    This error means that your Obscommon user is corrupt and you  cannot connect to the SBO-Common database to download the  OBServer.dll that is stored in the temporary directory.
    For more information, see SAP Note 858475, 642564, or 614946.
    Thanks & Regards,
    Nagarajan

  • Error while posting Customer with Multiple sales areas using DEBMAS05.

    Dear experts,
    We are generating IDOCS vis SAP DS for posting Customer master. The message type used is DEBMAS and basic type is DEBMAS05.  we have a requirement to create 1 customer with multiple sales areas. However, we are ending up with a strange error:  "Fill all required fields SAPMF02D 0111 ADDR1_DATA-NAME1". Despite the IDOC going into status 51, the customer gets created and the 1st sales area too. the 2nd sales area however is not created!  The IDOC data definitely contains Name1, otherwise the customer would not have been created in the first place.
    As the error message is related to the Address data, I also explored upon exploring this erorr further on the lines of Central Address management where in the ADRMAS and DEBMAS have to be passed together(IDOC Serialiization).  OSS Note (384462)  provides further details about this. One Important point from the note is: 
    "As you have to specify the logical name of the sending system among other things, SAP is not able to make any default settings in the standard systems. When you use the serialization groups delivered as a standard by SAP, the address objects are imported before the master objects.Thus the sequence address data before master objects must only be adhered to if one of the following points applies to your application:
    Such fields are set as required entry fields that are only provided by the BAS in the Customizing of the customer or vendor master.
    For your customers, contact persons exist to which a private address or a different business address is assigned.".
    This is not the case in our situation, as we do not have required entry fields in customizing that are only provided by the BAS, so the error is all the more confusing and I am not too sure what the cause is.
    If someone have experienced the same issue before and have found a solution to it, kindly help out.

    I have found the cause and solution to this problem.
    This error ”Fill all required fields SAPMF02D 0111 ADDR1_DATA-NAME1” and other similar errors like “Fill all required fields SAPMF02D 0111 ADDR1_DATA-SORT1“ which occurrs during the IDOC posting when there are more than one sales area or company code occurs when the customer number range is set up for Internal numbering. This means, that the number gets generated only at the time of save and upon debugging the IDOC, we found out that after creating the customer and the first sales area/company code record, the segment E1KNA1M is cleared completely! This is the reason, it throws an error which points to a mandatory KNA1 field as missing. (Like NAME1, SORT1 etc.)
    This was resolved by splitting the IDOC into 2.
    The solution is to First post only the KNA1 segment and create the customer.
    In the second step, pass the IDOC with all other segments along with E1KNA1M, but pass only KUNNR in E1KNA1M and the rest of the fields in E1KNA1M as “/”:  you would have got the KUNNR after the first step.
    Important note: This requirement to split the IDOCs does not occur when the customer number is known upfront. (Meaning cases where the customer number is externally generated) I also tested this and created a customer with external numbering and I was able to post more than 1 sales area with the same IDOC. 
    I noticed multiple threads with the same issue, but none of it had a concrete answer. I hope this information will be useful for anyone facing similar problems.
    Cheers
    Venkat

  • Error while posting data to sender axis soap adapter

    Hello,
    I am trying to post the data to following url
    http://sapxis:50000/XIAxisAdapter/MessageServlet?senderService=temp&interface=os%5Ftest&interfaceNamespace=http%3A%2F%2Ftest%2Ecom%2Fxi%2FPOC
    But I am getting following error:
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
       <soapenv:Body>
          <soapenv:Fault>
             <faultcode>soapenv:Server.generalException</faultcode>
             <faultstring>failed to invoke the module proessor; nested exception is:
         com.sap.aii.af.service.cpa.CPAException: Couldn't retrieve inbound binding for the given P/S/A values: FP=;TP=;FS=temp;TS=null;AN=os%5Ftest;ANS=http%3A%2F%2Ftest%2Ecom%2Fxi%2FPOC;</faultstring>
             <detail>
                <ns1:hostname xmlns:ns1="http://xml.apache.org/axis/">sapxis</ns1:hostname>
             </detail>
          </soapenv:Fault>
       </soapenv:Body>
    </soapenv:Envelope>
    Please help.
    Thanks in advance,
    Beena.

    Thanks Stefan.
    Yes, sender agreement is there and it is also there in CPA Cache.
    CPAObject: (Binding) keys: ObjectId=02cb8f5717cc35e582f072b26138a0f8 values: Direction=I
    ActionNamespace=http://test.com/xi/POC ToParty= FromParty= HeaderMappingConfig=null MappedActionNamespace=null MappingClassName=null ActionName=os_test AdapterNamespace=http://sap.com/xi/XI/System MappedActionName=null ToService= AdapterSWCV=b38bcd00e47111d7afacde420a1145a5 FromService=temp AdapterType=SOAP MappingId=null Attributes=<?xml version="1.0" encoding ...
    http://sapxis:50000/XIAxisAdapter/MessageServlet page also shows the status OK for required components and Warning for optional components.
    Am I missing something?
    Thanks,
    Beena.

  • ADAPTER.SOAP_EXCEPTION Error while posting data on webservice.

    Hi.
    I have IDOC-> SOAP -> IDOC Synchronous Scenario.
    I have uploaded WSDL of the webservice for mapping.
    Data is not posting on Webservice.
    it is giving me Following error.
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>XIAdapter</SAP:Category>
      <SAP:Code area="PARSING">ADAPTER.SOAP_EXCEPTION</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText>soap fault: Server was unable to process request. ---> Object reference not set to an instance of an object.</SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack />
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    When i checked Call Adapter Outboundbinding..
    <SAP:OutboundBindingAttributes>
    - <SAP:AdapterTypeData xmlns:SAP="http://sap.com/xi/XI/Message/30">
    - <SAP:Attribute>
      <SAP:Name>verifyWsuTimestampMessageAge_SecurityProfileWSSEVerifyEncryptionBodyThenSignatureBodyResponse</SAP:Name>
      <SAP:Value />
      </SAP:Attribute>
    - <SAP:Attribute>
      <SAP:Name>applyEncryptionKeyStore</SAP:Name>
      <SAP:Value />
      </SAP:Attribute>
    - <SAP:Attribute>
      <SAP:Name>applyEncryptionKeyStoreAlias_SecurityProfileWSSEApplyEncryptionBody</SAP:Name>
      <SAP:Value />
      </SAP:Attribute>
    - <SAP:Attribute>
      <SAP:Name>WSSEProfileApply</SAP:Name>
      <SAP:Value>SecurityProfileWSSEApplySignatureBody</SAP:Value>
      </SAP:Attribute>
    - <SAP:Attribute>
      <SAP:Name>applyEncryptionEncryptionSignatureAlias</SAP:Name>
      <SAP:Value />
      </SAP:Attribute>
    I found this entry..
    Is there any problem in outbound binding.
    Kindly guide me for same.
    Regards,
    Siya

    Thanks Stefan.
    Yes, sender agreement is there and it is also there in CPA Cache.
    CPAObject: (Binding) keys: ObjectId=02cb8f5717cc35e582f072b26138a0f8 values: Direction=I
    ActionNamespace=http://test.com/xi/POC ToParty= FromParty= HeaderMappingConfig=null MappedActionNamespace=null MappingClassName=null ActionName=os_test AdapterNamespace=http://sap.com/xi/XI/System MappedActionName=null ToService= AdapterSWCV=b38bcd00e47111d7afacde420a1145a5 FromService=temp AdapterType=SOAP MappingId=null Attributes=<?xml version="1.0" encoding ...
    http://sapxis:50000/XIAxisAdapter/MessageServlet page also shows the status OK for required components and Warning for optional components.
    Am I missing something?
    Thanks,
    Beena.

  • Error While Posting Data Of Multiple File to R/3

    Hello,
    I am currently testing with a scenario <b>where a number of XML files are read by XI and their data is passed to R/3 via an RFC call. Each XML File contains one line item data.</b> I am using BPM to achieve this. The problem is: <b>If I test with a single line item data (single file), the scenario works fine and data is updated at the R/3 end. But if I try to put multiple files simultaneously, only one file's data is going into R/3</b>. What can be the problem? Is it something to do with serialization? I have tried using EOIO; but still the same problem persists. I see in SXMB_MONI that all the messages have chequered flag. I have tried debugging the RFC, but it does not work out for multiple calls. Anybody has any idea how this can be solved?
    Regards,
    Amitabha

    Hello Bhavesh,
    Thanks for your reply. My BPM scenario is as follows:
    <b>Receive->Synchronous Send->Asynchronous Send</b>
    In sender channel for XML files, I have used <b>Filename*</b> as the source file name as my files are coming with <b><filename ><timestamp></b> naming convention. Poll interval is <b>5 seconds</b>, Processing mode is <b>by name</b>.
    AT the RFC receiver  channel end, the credentials are all ok and the <b>number of maximum connections is set to 25</b>. I have always tested with no. of messages<5.
    Hope you find this info useful. Awaiting reply.
    Thanks and Warm Regards,
    Amitabha

  • Error while posting 561 Document

    Dear All
                Error while posting document with movement 561. "Account Determination for entry 999 BSA 6000 not possible."
    Even OBYC setting for that valuation class already assigned.
    please advice.
    Regards
    Kumar.

    Hello Anandhakumar ,
    please check whether you have assigned the Company code which you are using to controlling area with same chart of accounts and check the OMWD settings..
    and check the FS02 tCode in that the see the control data for currency and chart of accounts settings.
    it could solve your query.
    regards,
    Ninad Kshirsagar

  • ALE error while posting payroll data

    Hi all,
    We are trying to set up payroll posting via ALE interface. We have done the following settings
    1. Distribution model setup with filters on for standard bapi's
    2. Partner profile setup
    3. RFC destination setup
    When we try to post payroll data,it was returned with the following errors
           RFC destination is not maintained for object BUS6001 and method PRECHECKPAYROLLACCOUNTASSIGN
           The account assignment objects could not be checked
           RFC destination is not maintained for object BUS6004 and method CHECK
           The G/L account could not be checked
    We verified RFC destination and it is working fine. I have searched all possible links in SCN, but unable to get the solution.
    Can someone help in this issue?

    Hi,
    Using tcode pc_payresult please check whether the off-cycle payroll is executed again in period 06-2010. If yes then try to post off-cycle payroll separately (PC00_M99_CIPE - Create Posting Run) by entering "Off-Cycle Payroll Run" parameters. May be you will get an error while posting this off-cycle payroll because this payroll is already posted. In this case you will have to reverse the existing off-cycle posting and then post off-cycle payroll again.
    Once off-cycle payroll is posted, then you try to post normal monthly payroll.
    I hope your problem will be solved by doing the above work out.
    Regards,
    Waqas Rashid

  • BW Datasource and DBConnect with Oracle - Error while Loading Data

    Hi,
    I have made a DBconnect to Oracle Db and made a datasource for the same.
    When I do R Click - Additional Properties - Select Database table - and select one table/view and do"Display Table Properties"
    I am able to see the data/records.
    After generating the datasource for that table/view and making Infopackage on the same and executing it I get the
    following error
    "System Response
    Caller 09 contains an error message."
    "Unknown error while uploading data from the DB table"
    "Error in Source System"
    Regards,
    Surya Kumar

    Hi Kumar:
    Please check if the SAP below is applicable to your system.
    Note 1062350 - "Error when migrating DB connect DataSources"
    Regards,
    Francisco Milán.

  • 'Error while signing data-Private key or certificate of signer not availabl

    Hello All,
    In my message mapping I need to call a web service to which I need to send a field value consist of SIGNED DATA.
    I am using SAP SSF API to read the certificate stored in NWA and Signing the Data as explained in
    http://help.sap.com/saphelp_nw04/helpdata/en/a4/d0201854fb6a4cb9545892b49d4851/frameset.htm,
    when I have tested using Test tab of message mapping  it is working fine and I am able to access the certificate Keystore of NWA(we have created a keystore view and keystore entry to store the certificate) and generate the signed data ,but when I test end to end scenario from ECC system,it is getting failed in mapping with the error
    ' Error while signing data - Private key or certificate of signer not availableu2019.
    Appreciate your expert help to resolve this issue urgently please.
    Regards,
    Shivkumar

    Hi Shivkuar,
    Could you please let me know how you were trying to achieve the XML signature.
    We have a requirement where we have to sign the XML document and need to generate the target document as following structure.
    <Signature>
         <SignedInfo>
             <CanonicalizationMethod />
             <SignatureMethod />
             <Reference>
                     <Transforms>
                     <DigestMethod>
                     <DigestValue>
             </Reference>
        <Reference /> etc.
      </SignedInfo>
      <SignatureValue />
      <KeyInfo />
      <Object>ACTUAL PAYLOAD</Object>
    </Signature>
    I am analyzing the possibility of using the approach that is given in the help sap link that you have posted above. Any inputs will be apprecited.
    Thanks and Regards,
    Sami.

  • Error while posting sec.HighEd cess (1%) in J1iin.

    we got following error while posting excise invoice J1IIN. all excise rates/values (10%,2%,1%) are coming properly in J1iin. if we remove excise duty 1% sec-high-ed-cess, than excise accounting entries posted properly in J1iin. but excise duty 1% (sec-high-ed-cess ) is there, than problem in posting, below amount 0.10 INR is of sec-high-ed-cess.
    Balance in transaction currency
    Message no. F5702
    Diagnosis
    A balance has occurred in transaction currency 'INR' with the following details:
    Exchange rate '00', amount ' 0,10' and currency key 'INR'.
    The data in the transaction currency were transferred from the calling application.
    System Response
    Your data cannot be processed in FI.
    Procedure
    The error is probably in the calling application.
    and.....
    System failure during locking GLaccount 1001 by 21150105
    Message no. 8I076
    reply me.  Text Removed
    Edited by: Lakshmipathi on Jan 13, 2012 6:42 PM
    Please dont add such comments

    Hey,
    I have already replied to your thread for F5702 error.
    G/L account locking error occurs when two or more users try to post to the same g/L account at the same time.
    Regards,
    Brinda

  • There was an error while writing data back to the server: Failed to commit objects to server : Duplicate object name in the same folder.

    Post Author: dmface15
    CA Forum: Administration
    I am working in a new enviorment and i am trying to save a report to the Crystal Server via the CMC. I am uploading the report from the objects tab and attempting to save to a folder. The report has 1 static defined parameter and that's it. When i click submit to save the report i receive the following error message: "There was an error while writing data back to the server: Failed to commit objects to server : Duplicate object name in the same folder." There is not a anothe report within the folder with that name. What could be causing this error message and equally important, what is the solution.

    hte message you received about duplicate user probably means something hadn't fully updated yet. Once it did then it worked...
    Regards,
    Tim

Maybe you are looking for

  • Strange errors when using user defined function in where clause

    Hello, I am having trouble with a function that, when used in the where clause of a select will cause an error if the first column selected is of type INTEGER. Not sure whether I am doing something wrong or whether this is a bug. Here is a very simpl

  • How can I fix this ridiculous error code 13014? It's driving me insane!

    Ok, so I have seen a lot of people write about this error code and I feel like I have tried pretty much everything to stop it from happening but nothing works! Every couple of minutes or so when my 120gb iPod classic is plugged in the error message 1

  • Trying to find model and serial

    I know am probably beating a dead horse, but just hoping this is faster than reading thru thousands of posts, My motherin-law gave me her old laptop and the stickers on the bottom are worn off and I want to update drivers but I need to know what mode

  • Problem in starting Integration Repository

    Contrary to another thread that I found, I am having problems starting Integration Repository for the first time after installation. I followed the instructions of the installation guide up to the point of running SXMB_IFR to launch SAP Exchange Infr

  • Managing and configuring log files for Oracle 9ias

    Hi all, I'm wondering where I can find documentation on managing and configuring log files like: ORACLE_HOME/admin/ sid/*dump/* ORACLE_HOME/assistants/opca/install.log ORACLE_HOME/webcache/logs/* ORACLE_HOME/dcm/logs/* ORACLE_HOME/ldap/log/* ORACLE_H