Error 'Maximum number of sessions reached' while posting an idoc

Hi,
   i got one requirement that when ever user enters so many materials with different quantities and version id's and when he executes,it has to post the idocs using FM .but if the number of records increases,iam getting error that 'maximum number of internal sessions exceeded' how can i avoid this for successfful posting.To avoid  this i called the FM in background .If i call the FM in background it is not at all posting even one idoc also.Can anybody please help on this .
Thanks & Regards
Roopa

Hi,
   i got one requirement that when ever user enters so many materials with different quantities and version id's and when he executes,it has to post the idocs using FM .but if the number of records increases,iam getting error that 'maximum number of internal sessions exceeded' how can i avoid this for successfful posting.To avoid  this i called the FM in background .If i call the FM in background it is not at all posting even one idoc also.Can anybody please help on this .
Thanks & Regards
Roopa

Similar Messages

  • BDC error :Maximum number of sessions reached

    Hi!
    I have created a BDC program which outputs the available Orders / delivberies for a particular plant with checakboxes to select each lines or multiple selection. On selecting one opr more line from output and clicking a GENERATE button on the output screen the bdc calls in VF01 transaction and subsequently the billing documenst are automatically generated and sent to the printer directly.
    The problem: The problem happend when more than 6 documents are selected or if the selected no. of items are more than the screens opened in any enviornment where we are running , it gives an error message that "maximum number of sessiosn reached" . This creates  aproblem is knowing which documenst or how many invoices have already printed and which ones did not.
    I was wondering if there is nay other way of stopping this problem of miximum number sessions recahed. I mean if there is anyway we can eliminate each processesed session so that it does not have to create so many screens even if more documents are selected.
    Thanks

    I have the sales document number that I am using to create the billing document. I am not prety sure where to use it. I ahve set the parameter ID AUN alread6.
    refresh: bdc_tab.
      perform update_bdc using: 'X' 'SAPMV60A'    '0102',
                                ' ' 'BDC_CURSOR'  'RV60A-FKART',
                                ' ' 'RV60A-FKART' lc_fkart,
                                ' ' 'BDC_OKCODE' '/00'.
      loop at it_vbeln into wa_vbeln.
        ln_index = sy-tabix.
    *   Up to the second delivery of the BDC add the Delivery to the screen,
    *   after that click the More Documents for every entry.  logic changed for DEVK902353
    *   changed again in added for every line DEVK910604
        case ln_index.
          when 1.
            concatenate 'KOMFK-VBELN' '(' ln_index ')' into lc_field.
            if li_lines = 1.
              perform update_bdc using: ' ' lc_field wa_vbeln.
            else.
              perform update_bdc using: ' ' lc_field wa_vbeln,
                                        ' ' 'BDC_OKCODE' 'FKAN'.
            endif.
          when others.
            if p_rdos  = 'X'.
              concatenate 'KOMFK-VBELN' '(2)' into lc_field.
              perform update_bdc using: ' ' lc_field wa_vbeln,
                                        'X' 'SAPMV60A'   '0102',
                                        ' ' 'RV60A-FKDAT' lc_date,
                                        ' ' 'BDC_OKCODE' 'FKAN'.
            else.
              concatenate 'KOMFK-VBELN' '(2)' into lc_field.
              perform update_bdc using: ' ' lc_field wa_vbeln,
                                        'X' 'SAPMV60A'   '0102',
                                        ' ' 'BDC_OKCODE' 'FKAN'.
            endif.
        endcase.
      endloop.
    * VF01 will go to a different screen if only one line selected
      if li_lines eq 1.
        perform update_bdc using: 'X' 'SAPMV60A' '0104',
                                  ' ' 'BDC_OKCODE' '=SICH'.
      else.
        perform update_bdc using: 'X' 'SAPMV60A' '0102',
                                  ' ' 'BDC_OKCODE' '=SICH'.
      endif.
      {color:green}call transaction 'VF01' using bdc_tab options from lwa_bdcoptions
                               messages into it_bdcmess .{color}
      write: / 'BDC Messages:'.
      skip.

  • SRM 5.00 web Maximum number of sessions reached

    hello
    it seems a problem very simple anyway i don't know how to resolve it.
    the error "Maximum number of sessions reached" occurs in the ITS of SRM 5.00 using the web.
    It happens on all transactionsn anyway it works properly in abap gui but not in webgui.
    If I go in all transactions and i try to open another mode the popup appears with the error descrpted.
    the session with that user are very few ...anyway the number of sessions is smaller than the parameter limit set in rdisp/max_alt_modes
    Do you have any idea?
    thanks
    Nick

    Hello Nick,
    Nicola Blasi wrote:
    If I go in all transactions and i try to open another mode the popup appears with the error descrpted.
    I do not understand what you mean by "all transactions" and "open another mode". Where do you open it? You can not open another mode from the SAP GUI for HTML (Webgui) itself, since this is not supported. You will need to start a new session.
    Best regards,
      TJ

  • Maximum Number of sessions reached!!

    Hi, when I am trying to release 8-10 production orders in a single transaction and it is giving an error message below of the screen saying 'Maximum Number of sessions reached'. I have only two external sessions open at single point of time.
    Please help me how resolve this error message. Thanks.

    Hi Sagar Sahoo ,
                              Check the below thread :
    http://sapfans.com/forums/viewtopic.php?t=206077
    You better need to use the Update task function module instead of submit and return.
    Thanks,
    Greetson

  • LSO Booking Error - Maximum number of Participants reached;

    Hi Experts,
    Our Client is implementing LSO. We had installed Enhancement Pack 4 into the development system.
    We are currently facing a Problem relating to the LSO.
    When I am trying to book a participant on to the Course (E) via LSO_PSV1 or LSO_PV00, I am getting the following warning but able to book the person on to the Course.
    Warning:Maximum number of Participants reached; proceed with waiting list.
    But if I try to do the booking using PSV1 (which is TEM transaction) i am able to book the particpant on to the Course I am not getting any warning and the particpant was booked successfully.
    I had assigned a Location to the Course Type (D) related to the Course (E) with Minimum Capacity (10), Optimum Capacity (15) and Maximum Capacity (20).
    Also to the Course I had provided the same capacity that is there for the Location.
    Because of the warning above we are not able to book any Courses from the Portal.
    Did anybody face this kind of issue before?
    Please provide your expertise on this.

    Hi,
    No. We had not assigned the Capacity anywhere other than at the Course Type and Course Level.
    I tried one Scenario.
    I removed my employee assigned and tried to book on the Course as a User (US). I am able to book without any warning message.
    Please let me know if there is any Config that we would have missed.
    Thanks and Regards,
    Nagendra

  • Maximum number of Sessions ever reached in the last two days

    DB version:11gR1
    We are studying the number of sessions created by one of our JAVA oltp application. We would like to know the maximum number of sessions reached in the last two days.
    I can see max_utilization column from the query
    select * from v$resource_limit where resource_name='processes'But i don't know the time interval (no of days) on which this value is based upon.

    Hi,
    One alternate option will be noting the value before you start the experiment using following statement.
    select value from v$sysstat where name = 'user calls';
    And running this SQL after you are done with making calls. Then you can subtract the two values to get the users calls made between the two times. Keep in mind that this will include all calls made to the database.
    Regards

  • ORA-Error: Maximum number of Processes exceeds

    Hi,
    Today we got one Oracle error: Maximum number of Processes exceeds while connects to our Oracle Database.
    We have application running on our DB, which have 50 threads running and making connection to Oracle Schema.
    In our init.ora file the Processes Parameter is set to 50.
    But we also have another init<Schema Name>.ora file which has Processes Parameter as 50.
    When I search on this error, I got that it is due to no. of user processes on Oracle instance.
    What are these user processes exactly?
    If we set the Processes Parameter as 150, and we have RAC environment with 3 Cluster, does it means we have 150*3 processes can run at a time.
    The other doubt I have is that: Is this parameter is instance based, SID based or cluster based?
    Please provide some input on this.
    Thanks in Advance.
    Manoj Macwan

    If you don't issue
    alter system set processes=150 scope=both sid='<your instance 1>'
    all instances will be allowed to fork 150 processes.
    The other poster is incorrect.
    Sybrand Bakker
    Senior Oracle DBA

  • A/c Error 'Maximum number of item in FI reached' during invoice posting

    Invoice is created with multiple Delevery So no.of entriies has increased and accounting document has not been created due to error 'Maximum number of item in FI reached'.
    Accounting document not generated. How it be solved.
    Regards,
    Sohail

    dear
    maximum number of accounting line items is 999.
    if the total number of line items exceeds that value .. it would cause the error ....
    speak to FI guy and abap guy ..may be it could be increased but as far as i know its not changeable.
    you just need to reduce the items and processes in parts..
    regards

  • GUI connection error MAXIMUM NUMBER OF CONNECTION HANDLES REACHED

    Dear Experts
    while logging on to GUI7.10 I am getting following error
    MAXIMUM NUMBER OF CONNECTION HANDLES REACHED'
    'MAXIMUM NUMBER OF HANDLES REACHED'. 'NO MORE MEMORY IS AVAILABLE'.
    'DO YOU WANT TO SEE DETAILED ERROR DESCRIPTION?'
    When i click on yes to the question above, i get the following:
    'COMPONENT = DPTM'
    'RELEASE = 7.10'
    'VERSION = 10'
    'RETURN CODE= -16'
    'Counter = 3
    This error is not allowing me work.
    Does anyone have a solution?

    Hi,
    I am having the same issue. Did you resolve the issue.
    Please let me know
    Regards

  • SNP heuristic error maximum number of orders per period reached

    Hello All,
    I am getting one strange error "APO SNP heuristic error maximum number of orders per period reached (000000040)"
    Product XXX/ Location XXX: Maximum number of orders per period reached (000000040)
    For the problem : PPDS heuristic is working fine, while running the SNP heuristic I am getting this problem.
    Please let me know asap.
    Thanks in Advance,
    Kind Regards,
    Santosh

    There is a section in the IMG where you can change this behaviour.
    in SPRO - SAP SCM - IMG
    -> Advanced Planning and Optimisation
      -> Supply Chain Planning
        -> Supply Network Planning (SNP)
           -> Basic Settings
              -> Maintain Global SNP Settings
    You will see the field "Heu.: Orders per Bkt" which should have the value of 40 in there, e.g. the limit to the number of orders SNP can raise in any planning bucket.
    If you raise this number (to say 100) then hopefully your message will no longer be issued by the system.
    Alternatively, you can check the cause of why the system is rasing so many orders. For example, check the lot size that the Product has for that location (lot-for-lot will create an order for every demand for example).
    Hopr that helps
    Regards
    Ian

  • Maximum number of sessions has already been reached...

    I have a web application which is made up of a servlet and some jsps. I run a test which puts a load on the webserver which sends multiple requests to the webserver so we can monitor the load.
    The problem is, my application is not handling anything gracefully when the webserver reaches it's max # of sessions. I don't want to change the default 1000 sessions, but I want to direct users to a friendly error page if this situation ever occurs.
    This is the beginning of my doGet method:
    public void doGet(HttpServletRequest request, HttpServletResponse response)
    throws ServletException, IOException {
    try {
    java.sql.Date fromDate = null;
    java.sql.Date toDate = null;
    String storySection = null;
    int history = 0;
    int numberOfRecords = 0;;
    HttpSession session = request.getSession(true);
    System.out.println("Checking if session is null***");
    if(session == null) throw new SQLException("SESSION IS NULL!");
    if(request.isRequestedSessionIdValid() == false) throw new SQLException("SESSION NOT VALID!");
    System.out.println("Session passed fine!!!!!!!!!!!!!!");
    This is the output from iPlanet 4.1SP5 errors log file:
    --- (messages before this point were just loading jsp + servlets; i.e. no errors before this point) ---
    [28/Feb/2002:09:44:21] info (21849): Internal Info: loading servlet /mmd/SquawkMessage.jsp
    [28/Feb/2002:09:48:09] warning (21849): SimpleSessionManager: cannot create a new session as the limit on maximum number of sessions has already been reached: (1000)
    [28/Feb/2002:09:48:09] failure (21849): Internal error: exception thrown from the servlet service function (uri=/mmd/SquawkHeadlines.jsp): java.lang.NullPointer
    Exception, Stack: java.lang.NullPointerException
    at jsps.mmd._SquawkHeadlines_jsp._jspService(Compiled Code)
    at org.apache.jasper.runtime.HttpJspBase.service(Compiled Code)
    at javax.servlet.http.HttpServlet.service(Compiled Code)
    at com.netscape.server.http.servlet.NSServletRunner.Service(Compiled Code)
    --- (messages after this point were more of the same until I killed the load test) ---
    Any advice? I need to find out how to handle this problem gracefully.
    Thank you,
    Karen
    [email protected]

    Hi,
    You can have an application variable that increments by one, when each new session is started. That way you can check whether the total no.of sessions have reached 1000, if yes, u can redirect the user to an error page.
    Please get back to me if u still can't get the problem solved.
    SURESH B
    [email protected]

  • Is this an error? IWSSessionManager: Maximum number of sessions is 1000

    Hi,
    When this line appear in the error log of Iplanet 6 or Sun ONE 6.1... Is this an error?
    IWSSessionManager: Maximum number of sessions is 1000
    on what situation does this usually appear? (i.e. startup) ?
    thanks

    This is an "info" message and normally is seen upon startup. If you run out of sessions you should see something like follows:
    "IWSSessionManager: cannot create a new session as the limit on maximum number of sessions has already been reached: (1000)"
    Thanks
    Manish

  • Maximum number of licenses reached error message on CCX agent's desktop

    Intermittently CAD agents or supervisor are getting the error message "Maximum number of licenses reached". I have checked at the same time of error, still there are license available but users are getting this error message. Currently we have 50 seats licenses.I have noticed this problem reoccur when it's reaching the login agents between 40-50 agents. Is there any threshold value, we can modify to get rid of this error message.

    We had a very similar issue last week. For us we had a couple of sessions that were stuck that didn't end properly even after a restart (probably because we have a HA cluster).
    We have 35 seat licenses activated but only 33 agents could log in. Ended up raising a TAC case and doing the following -
    1) From the command line run show uccx cad license usage to list the current license status - a list of IPs that are currently claiming a license.
    2) Run the same command when the contact center is closed and see who is still claiming a license. Here I traced the computers down and made sure the Agent or Supervisor application was closed (forcibly if necessary).
    3) Restart the Cisco Desktop License and Resource Manager Service on all nodes in the HA cluster to clear any stuck sessions.
    Remember though that anyone logged into the Supervisor application also uses a seat license!

  • Error "Maximum number of items in FI reached"

    Hi All,
    We are getting error "Maximum number of items in FI reached", if there are more than 999 items. We have found an SAP note "Note 36353 - AC interface: Summarizing FI documents".
    This note seems to do more with customizing & doesnt need any code changes.
    Our system is of release 4.6C, My concern is that, in the note it has been mentioned in the correction instruction 1258 that for release 4.6C the Valid Support Package is 46C-ALL SUPP. PACKAGES.
    If this support package is not available in the system does this SAP note work. I mean is this the prerequisite.
    Kindly suggest if this is the correct note as well.
    Thanks & Regards
    Abhii

    Hi Abhii,
    Please see following threads..
    Re: Maximum number of items in FI reached
    http://www.sapfans.com/forums/viewtopic.php?f=6&t=301319
    Hope this helps...
    Best Regards,
    Archana

  • Message no. F5727:maximum number of items reached in FI sereen MI07

    hi sap techies
    Message no. F5727:maximum number of items reached in FI in screen MI07
    when i try to post inventory difference in MI07(Physical difference posting) i give  the difference amount and reason for movement and i try to save it.it gives me the error maximum number of items in  FI reached please help
    kind regards
    sap fico
    arman
    Edited by: akausar on Oct 10, 2011 3:23 PM

    Dear Akausar,
    The error F5 727 is an error from the FI component side.  This is
    because FI cannot accept a posting document with more than 999 line
    items.
    There is a limit of (999) line items which can be posted per FI
    document.  This is because the line item number (BSEG-BUZEI) field
    length is defined as (3) numeric positions, i.e., (999) line items.
    The fact that an MM document contains X positions, doesn't
    mean that the FI document will contain the same number. This is the
    reason why in some occasions the error message is triggered when posting
    an invoice in MM.
    Please bear in mind the 'rule of the thumb' for this kind of scenarios
    in which you have a large MM-Document: consider an average of 4 line
    items created for each line: this is due to discounts, tax postings,etc.
    Unfortunately, there are no immediate plans to expand the number of
    line items beyond the current limit of (999) lines per document.
    SAP's Development group is aware of this functionality change request;
    however, the change is massive because BSEG is a cluster table which
    is used in numerous R/3 programs.  The most commonly used workarounds
    are as follows:
    1)  Implement FI summarization (per note 36353).
    2)  Cancel the original billing document and split it into smaller
        documents using different payment terms but actually with the
        same terms.
    This will avoid the (999) line item limit for FI postings.
    br, Guido

Maybe you are looking for