BAPI Error throw.

Can any one suggest me about below error in BAPI.
"The interval 07 is not internal"
I am using " BAPI_MATERIAL_SAVEDATA " to update some basic fields. while debugging i could see the above error while calling funcion module 'MATERIAL_MAINTAIN_DARK' in the above standard BAPI.
If anyabodys knows please suggest me how  to correct it.

In addition to naveen:
In SAP you define number ranges for all sorts of object like materials, business partner etc. in transaction SNRO. When you create a material you can use a certain number range interval (01 from 00000 - 99999, and 02 from 10000 - 19999 etc.) Further, you can customize that NOT the internal number range should be used, but rather use the number from external application which you can also pass via the BAPI.
So in transaction SNRO check if number range interval 07 for materials is present or not. Obviously not, otherwise this message would not be issued.

Similar Messages

  • Bapi_goodsmvt_create bapi error

    Hi friends,
                    I developed a bapi for Post Goods Issue (PGI). The BAPI is throwing an error at the Movement Type. The error is ' Goods movement is not possible with mvmt type 601'.
    This BAPI should be triggered in the background when VL01N transaction is run. Also please suggest me if we need any userexits / BADIs.  I went through badis. But of no use.
    Thanks and Regards,
    Murali Krishna .T

    Hi Vinod,
                   Thanks alot for your reply. I have used the BAPI    BAPI_OUTB_DELIVERY_CONFIRM_DEC. But when I run, it is not displaying any message from return table.
    I have passed both the header and item details.
    Thanks and Best regards,
    Murali

  • Database Connection Error:BAPI Error #0

    I have a problem when I preview a report in Crystal Reports 2008 using BW MDX Query I had recieved the following messages:
    1.Failed to retrieve data from database
    and then when I click ok
    2.Database Connection Error:BAPI Error #0
    Error occurred  when starting the parser:timeout during allocate / CPIC-CALL'ThSAPCMRCV'
    I copied the query of crystal report and I execute it inside the transaction of mdxtest
    SELECT  NON EMPTY EXCEPT([0CALMONTH].MEMBERS, {[0CALMONTH].[All]}) ON ROWS FROM [USD_SD_C0/RPT_1] SAP VARIABLES [!V000001] INCLUDING [0CALMONTH].[200401]
    I found the debugger had stopped in the line Break when I click on F8
    I recieve the following error
    Error occurred when starting the parser: timeout
    during allocate / CPIC-CALL: 'ThSAPCMRCV'
    Please anybody can help me

    Dear Ingo
    I had read this note
    I applied the following:
    1.I didn't found the lrfc32.dll in the windows/system32 in my BW server so I asked my basis administrator to upgrade the kernel
    2.after this step I didn't find it again so I had copied the file from the new kernel and copied it to system32 and sysWow
    3.I register successfuly the lrfc32.dll using the commanf regsvr c:/windows/system32/lfrc32.dll
    (note: this step didn't succeed until I had installed SAP GUI in BW server because as I observed that there is a need for C++ compiler which is installed by default when you install GUI)
    after all of this I cannot run any crystal report based on any BW query
    So Please anyboday can help

  • JavaMail application hanged with no error throwed at Transport.send

    JavaMail application hanged with no error throwed at Transport.send,even though I set the timeout property
    import java.util.Date;
    import java.util.Properties;
    import javax.mail.Authenticator;
    import javax.mail.Message;
    import javax.mail.PasswordAuthentication;
    import javax.mail.Session;
    import javax.mail.Transport;
    import javax.mail.internet.InternetAddress;
    import javax.mail.internet.MimeBodyPart;
    import javax.mail.internet.MimeMessage;
    import javax.mail.internet.MimeMultipart;
    import javax.mail.internet.MimeUtility;
    public class tt {
         static Properties props=null;
         static boolean needAuth=true;
         static MailAuthenticator authenticator = null;
         static String host="host";
         static String account="account";
         static String password="pwd";
         static String sender="sender";
          * @param args
          * @throws Exception
         public static void main(String[] args) throws Exception{
               if (props == null) {
                     props = new Properties();
                     props.put("mail.smtp.host", host);
                     props.put("mail.smtp.timeout      ", "1000");
                     props.put("mail.smtp.connectiontimeout      ", "1000");
    //                 props.put("mail.debug", "true");
                     props.put("mail.smtp.auth", String.valueOf(needAuth));
                     authenticator = new MailAuthenticator(account, password);
                 MailData mailData = new MailData();
                 mailData.setSubject("altireport mail configuration");
                 mailData.setContent("mail server has been configured successfully.");
                 mailData.setRecipients(new String[]{"[email protected]"});
                 final Session session = Session.getInstance(props, authenticator);
                 final MimeMessage msg = new MimeMessage(session);
                 InternetAddress from = new InternetAddress(sender);
                 msg.setFrom(from);
                 //        msg.setSender(from);
                final InternetAddress[] addressTo = new InternetAddress[mailData.getRecipients().length];
                 for (int i = 0; i < mailData.getRecipients().length; i++) {
                     addressTo[i] = new InternetAddress(mailData.getRecipients());
         msg.addRecipients(Message.RecipientType.TO, addressTo);
         //msg.setSubject(mailData.getSubject());
         msg.setSubject(MimeUtility.encodeText(mailData.getSubject(), "UTF-8", "B"));
         MimeBodyPart bodyPart1 = new MimeBodyPart();
         bodyPart1.setContent(mailData.getContent(), "text/plain; charset=UTF-8");
         MimeMultipart multipart = new MimeMultipart();
         multipart.addBodyPart(bodyPart1);
         msg.setContent(multipart);
         msg.setSentDate(new Date());
    //     msg.saveChanges();
         for(int i=0;i<10;i++){
              new Thread(new Runnable(){
                             public void run() {
                             try {
                                  System.out.println("send...");                                   
                                  Transport.send(msg);
                                  } catch (Exception e) {
                                       e.printStackTrace(System.out);
                        System.out.println("end!");
              }).start();
    class MailData {
    private String[] recipients = null;
    private String subject = null;
    private String content = null;
    private String attachment = null;
    private String attachmentName = null;
    * @return the attachment
    public String getAttachment() {
    return attachment;
    * @param attachment the attachment to set
    public void setAttachment(String attachment) {
    this.attachment = attachment;
    * @return the content
    public String getContent() {
    return content;
    * @param content the content to set
    public void setContent(String content) {
    this.content = content;
    * @return the recipients
    public String[] getRecipients() {
    return recipients;
    * @param recipients the recipients to set
    public void setRecipients(String[] recipients) {
    this.recipients = recipients;
    * @return the subject
    public String getSubject() {
    return subject;
    * @param subject the subject to set
    public void setSubject(String subject) {
    this.subject = subject;
    * @return the attachmentName
    public String getAttachmentName()
    return attachmentName;
    * @param attachmentName the attachmentName to set
    public void setAttachmentName(String attachmentName)
    this.attachmentName = attachmentName;
    class MailAuthenticator extends Authenticator {
    private PasswordAuthentication authentication;
    public MailAuthenticator(String account, String password) {
    authentication = new PasswordAuthentication(account, password);
    protected PasswordAuthentication getPasswordAuthentication() {
    return authentication;
    I have tried use session to get a SMTPTransport instance to use sendMessage ,but still have the same problem.No exception ,No error.
    This problem doesn't appear always. It appears sometimes.
    I hope get help for someone who has the solution for this problem.
    Thanks in advanced.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Ok, I think I see the problem:
         props.put("mail.smtp.timeout      ", "1000");
         props.put("mail.smtp.connectiontimeout      ", "1000");
    Why do you have spaces at the end of the property names?
    Those spaces are not being ignored, which means you've
    set the wrong properties.

  • ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerStorageException

    hello all,
    Actually , i had raised this quetion in past but had not satisfied with the answers.
    explaining in brief this time so , can get actual cause of this.
    I have two reports subscriptions on same time ..
    subscriptions executed fine on some day and  throws error sometimes ..
    have a look at log files..
    ---events started .... imporatant events status as per my understanding
    library!WindowsService_1!8d0!02/07/2015-10:30:04:: i INFO: RenderForNewSession('/EDP_Reports/HR And Admin/HR_yesterday_Missing_Punch_Report_005')
    library!WindowsService_1!ab0!02/07/2015-10:30:04:: i INFO: RenderForNewSession('/EDP_Reports/Sales/SA_Stagewise_Completed_Files_Report-002')
    setting default values Configuarions..
    ---library!WindowsService_1!ab0!02/07/2015-10:30:05:: i INFO: Initializing ChunkSegmentSize to default value of '32320' Bytes because it was not specified in Server system properties.
    library!WindowsService_1!8d0!02/07/2015-10:30:06:: i INFO: Initializing ResponseBufferSizeKb to default value of '64' KB because it was not specified in Server system properties.
    library!WindowsService_1!ab0!02/07/2015-10:30:09:: i INFO: Initializing SessionTimeout to '600' second(s) as specified in Server system properties.
    library!WindowsService_1!8d0!02/07/2015-10:30:12:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerStorageException: , An error occurred within the report server database.  This may be due to a connection failure,
    timeout or low disk condition within the database.;
    emailextension!WindowsService_1!8d0!02/07/2015-10:30:12:: e ERROR: Error sending email. Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerStorageException: An error occurred within the report server database.  This may be due to a connection
    failure, timeout or low disk condition within the database.
    ---> System.Data.SqlClient.SqlException: Transaction (Process ID 59) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction.
    notification!WindowsService_1!8d0!02/07/2015-10:30:12:: e ERROR: Error occured processing subscription 2dc49fc1-f7e2-4bd6-a0b9-5ee846db6906: Failure sending mail: An error occurred within the report server database.  This may be due to a connection
    failure, timeout or low disk condition within the database.Mail will not be resent.
    please, explain me the cause why this is happening is it deadlock or what??
    and are my default value stated above are effiecient to perform tasks ..
    i.e. SessionTimeout to '600' second(s) etc.
    help must appreciated  ..
    Dilip Patil..

    Hi Dilip,
    The error message "An error occurred within the report server database. This may be due to a connection failure, timeout or low disk condition within the database", the issue can be caused by many factors, usually occurs due to large size
    or bad rows of some tables in the ReportServerTempDB database.
    If we view the script of the CleanExpiredSessions stored procedure of the ReportServer database, we can see that it first grabs 20 records from the ReportServerTempDB.dbo.SessionData table and then removes those from the ReportServerTempDB.dbo.SessionLock
    table. If there are bad rows in the SessionData table, the CleanExpiredSessions functionality may encounter an issue. Here, I suggest that you clean the SessionData table as well as the SessionLock table, and check the issue again.
    Please also try to apply the latest service pack according to your SQL Server Reporting Services version.
    Did the subscription failed many times? If possible, please also try to recreate the subscription.
    Similar thread for your reference:
    SSRS 2008: connection failure, timeout or low disk
    condition within the database. (rsReportServerDatabaseError)
    Inconsistent EMail Subscription
    If you still have any problem, please feel free to ask.
    Regards
    Vicky Liu
    Vicky Liu
    TechNet Community Support

  • Crystal reports and SAP BI--------BAPI error when executing the report

    Hi All,
    I am getting a problem accessing the data from the SAP BI system into the crystal reports.I created a report in CR2008 on a query built in SAP BI.When I execute this query,I am getting the following error.
    Database Connection Error:'BAPI Error #:0
    Error Occured when starting the parser:timeout during allocate / CPIC-CALL:'ThSAPCMRCV"
    CAN ANYBODY HELP ME OUT Please.
    Thanks,
    Kumar
    Edited by: Madan Koka on Dec 15, 2008 5:47 PM

    Hi,
    I have the same problem. I can create report in Crystal Reports on a query but can`t get data from BW.
    Thx in advance for help
    Jacek

  • CR2008 BAPI Error

    Hi,
    i am working the fist time with Crystal Reports 2008 and i dont get data from SAP BW Queries. I can connect to the SAP-System and build a report on the Design screen. But on the Preview screen i get the message "BAPI Error #:0 Fehler beim Start des Parser: timeout during allocate / CPIC-CALL: 'ThSAPCMRCV'". I dont know what to do.

    Hello Tim,
    Please post this query to the [Integration Kits - SAP |BusinessObjects Integration Kits;  forum:
    That forum is monitored by qualified technicians and you will get a faster response there.
    Also, all SAP queries remain in one place and thus can be easily searched in one place.
    Thanks a lot,
    Falk

  • Crystal Reports BAPI Error

    Hi,
    i am working the fist time with Crystal Reports 2008 and i dont get data from SAP BW Queries. I can connect to the SAP-System and build a report on the Design screen. But on the Preview screen i get the message "BAPI Error #:0 Fehler beim Start des Parser: timeout during allocate / CPIC-CALL: 'ThSAPCMRCV'". I dont know what to do.

    I had move this thread to the right forum. Sorry..
    [CR2008 BAPI Error;

  • Lookup error throwing capabilities

    Hi Gurus,
    Help me by giving some good solutions for the below requirement:-
    I am using a JDBC lookup in my scenario. Now, I want to implement some error throwing capabilities in the same.
    For eg:- If the lookup was not excuted because of the connection failure, or the data was not fetched as a result of the lookup, then some exception should come up in the monitoring.
    Thanks in advance.
    Neetesh

    Hi,
    Here is some information about alerts ;):
    /people/michal.krawczyk2/blog/2005/09/09/xi-alerts--troubleshooting-guide
    /people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-step
    /people/ginger.gatling/blog/2005/12/02/innovative-ways-to-use-alerts
    /people/bhavesh.kantilal/blog/2006/07/25/triggering-xi-alerts-from-a-user-defined-function
    /people/alessandro.guarneri/blog/2006/01/26/throwing-smart-exceptions-in-xi-graphical-mapping
    /people/michal.krawczyk2/blog/2005/03/13/alerts-with-variables-from-the-messages-payload-xi--updated
    http://help.sap.com/saphelp_nw04/helpdata/en/dc/6b7f2243d711d1893e0000e8323c4f/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/68/253239bd1fa74ee10000000a114084/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/f2bbc8142c11d3b93a0000e8353423/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/5d/2166e6a91d11d188de0000e8216438/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/05/bb223905b61b0ae10000000a11402f/content.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/33/4a773f12f14a18e10000000a114084/frameset.htm
    Regarding this error, please first import archive with this class. Afterwards import correct package in UDF. And of course remember that in java you end line with ; not .
    Regards,
    Wojciech

  • BAPI Error Message Handling

    Hi Group,
    I am using BAPI ,How to display the BAPI  Error Message (eg:BAPIRET1) which is returning by BAPI

    HI ,
    ITS SIMPLE TRY THIS CODE
    AWARD PTS
    DATA: gt_ret     TYPE TABLE OF bapiret2,
               ls_ret    TYPE bapiret2,
    CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
        EXPORTING
          salesdocument     = p_vbeln
          order_header_in   = gt_hdr
          order_header_inx  = gt_hdrx
        TABLES
          return            = gt_ret -
    >>>>.<b>IMPORTANT</b>
          order_item_in     = gt_itm
          order_item_inx    = gt_itmx
          schedule_lines    = gt_sched
          schedule_linesx   = gs_schedx
          order_text        = gs_stdtxt.
          PARTNERS          = gs_partner
      CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
      LOOP AT gt_ret INTO ls_ret.
        WRITE:/ ls_ret-type.
        WRITE:/ ls_ret-message.
      ENDLOOP.

  • Passing BAPI  Error Messages to BDC  Session.

    Hi,
    Can any one drive the idea how to convert rather passing BAPI error messages into BDC session.
    regards.

    Naveen,
    I am sure you already have the logic of "If the call transaction is errored out you create a BDC session for the same data".
    Now, when your BAPI fails, irrespective of the error, you need to build the BDCDATA table and pass the data to the session. So, I don't you really need to know the errors and pass them to the BDC Session.
    Check the RETURN table of the BAPI, if it has got E / A / X error types then you can build the BDCDATA table and create the session.
    Regards.
    Ravi
    Note : Please mark the helpful answers and close the thread if the issue is resolved.

  • BAPI Error: No schedule lines due for delivery up to the selected date

    Hi,
    I have created a program to create delivery orders with reference to sales orders using BAPI - BAPI_OUTB_DELIVERY_CREATE_SLS.
    After execution I get the error: No schedule lines due for delivery up to the selected date
    Please help.
    Thanks in advance!!!
    Regards,
    Sriram

    hi,
    this is to inform you that,
    please check the schedule line date in the sales order because the date is not matching here for the BAPI to upload.
    here,  for example the schedule line is 4 days after and you are running BAPI today. that will mismatch no.
    the same thing is happening in uploading case also.
    so please check the date.
    because in teh sales order if teh schedule line date is today it will accept the uploading with out throwing any errors.
    regards,
    balajia

  • BP- Change Bapi error

    Hi,
       I am trying to change some information of External BP Number using the Bapi (BAPIBUSISM007_CHANGE).It throwing the error (Customer number was not filled during external number assignment)..But I cant find out any field to pass External Number..... ( I have assing role ISM020 to the BP)....
    Thanks
    Sathish

    Hi Daniela,
    You can use CRM_MKTBP_ASSIGN_ATTRIBUT_TAB to assign mkt attributes, this function module will take care of commiting the bp as well. You will have to pass attribute set, business partner guids and attributes as shown below. Hope this helps
    CALL FUNCTION 'CRM_MKTBP_ASSIGN_ATTRIBUT_TAB'
              EXPORTING
                iv_attribute_set = ls_mktbp_wrk-profile_template_id
                iv_commit        = 'X'
                iv_obtyp         = 'BUT000'
              TABLES
                it_partner       = lt_partner
                et_return        = lt_return
                it_attributes    = lt_attribute_line.
    Regards,
    Priyanka

  • BAPI Error: No account assignment exists for service line 0000000000

    I am using BAPI : BAPI_PO_CREATE1 to create a PO.
    I am getting this error while creating PO  "No account assignment exists for service line 0000000000"
    Please help.

    Yes...
    for each item i am creating one parent service record and one child service record with REQUISITION_SERVICES.
    the Package no for parent is the subpackage no for child.
    also for each item, I fill REQUISITION_ACCOUNT_ASSIGNMENT and REQUISITION_SRV_ACCASS_VALUES
    Still I get the Error.
    Thanks to help me resolve.

  • Document Chekc in through BAPI Error

    Dear all,
          I am using bapi  BAPI_DOCUMENT_CHECKIN2 to Check in Dcument into content server but i am getting error as
    Error while checking in and storing: C:\DOCUMENTS AND SETTINGS\ADMINISTRATOR\DESKTOP\DD.doc
    message no is 253
    Please guide me.
    thanx
    harish.

    hi,
    i think u did not configure the defualt as Front end computer.
    check, data carrier type....should be front end computer..
    and then run Bapi
    Benakaraj

Maybe you are looking for

  • Dual boot kali linux with windows 8

    i have ideapad y510p and i want to dual boot kali linux with windows 8  i want a full guide to do it please !!help!!!

  • XL Reporter 2007

    Hi all,   I just installed SAP B1 2007 on my computer which comes with XL Reporter. When I check Excel reporter after installing 2007 I found that in the report composer and report organizer, instead of the real folder names like Sales, Sales Oppurtu

  • Im using macbook pro ,my version is mac os x 10.4.11 and i cant update anything. how can i update my mac,plzzzz i need a quick answer.

    im using macbook pro ,my version is mac os x 10.4.11 and i cant update anything. how can i update my mac,plzzzz i need a quick answer.

  • Eprint ink selection

    I have my HP Officejet 6600 set to print 'fast draft black ink only' mode. when I request  a print from my Apple computer, it prints as it should.  However, when I request a print from my iphone or ipad, it prints in color.  How can I set the printer

  • ABAP-processor: TYPELOAD_LOST

    Hi Guys, I have transport which gets cancelled with returncode 12. In the job log it says: ABAP-processor: TYPELOAD_LOST I tried importing the request again then it failed with the same error but in a different place. Can anyone tell me what it means