Context Overflow while using CAT2 transaction

Hi All,
I have web enabled CAT2 transaction using SAP GUI for HTML in Portal. Whan I try to launch this tracsaction from Portal I get an error message saying "Runtime error Assignment to context failed(context overflow)".
But when I try doing the same thig outside Portal, ie directly accessing CAT2 transaction through ITS, I never get this error.
Please help.
Thanks in advance.
Vivek

Hi,
We are using standalone ITS without access through Portal
We solved this problem incresing ITS parameter "MaxCtxtSize", that you can find through ITS administration: https://<ITS_host>:<ADM_port>/scripts/wgate/admin/!
<Instance> -> Configuration -> Registry -> Programs -> AGate

Similar Messages

  • BDC to update CAT2 transaction.one issue while updating CAT2 transaction

    Good Day Friends,
    i have one issue while updating CAT2 transaction,
    i have enhnced 3 custom fields in CAT2 tx-code. while updating through manually the data is getting stored in CATSDB tx-code for this i have done validation in enhamcement spots ECC 6.0.
    but when i am running bdc this custom field data is not updating in CATSDB table.
    my dout is will  BDC work for enhancement spots or not , also please suggest if you have any idea ?

    Hi,
    Usually I am trying to avoid BDC. So I would try to use BAPIs BAPI_CATIMESHEETMGR_INSERT and BAPI_CATIMESHEETMGR_CHANGE. Similar to other BAPIs, you can pass values for your extended fields using table EXTENSIONIN. It's described in BAPI's documentation or look for EXTENSIONIN on SDN. The principle is same for all BAPIs.
    Regards

  • How to get default values while using the transaction "BP"

    Hi Group,
    I have a query on how to get default values while using the transaction <b>BP</b>?
    The thing is:
    when I enter into the transaction "BP", I need to see some default values to some of the input fields in the screen.
    how can I achieve this?
    So please kindly let me know the procedure to achieve this.
    Thanks & Regards,
    Vishnu.

    Hi,
    The events of BDT can be used to default some fields on creating a partner.
    For this create a function module for ISDAT. attach that event in BUS7.
    In the ISDAT funtion modulethe following code should be used.
    For example to set the nationality:
    I_BUSDEFAULT-NATIO = 'DE.
    CALL FUNCTION 'BUP_BUPA_FIELDVALUES_SET'
    EXPORTING
    i_busdefault = I_BUSDEFAULT
    Regards, Smita.

  • Context overflow error using ITS

    hi guys.
    I have an ABAP ALV report to be displayed on a grid. While this report is being displayed, it also creates an extract in the foreground in Excel format (Used GUI-DOWNLOAD FM) when I run it on my local PC using SAP GUI. But when I run this report on WebGUI ITS, it sometimes gives me this error : Run Time Error- Context Overflow Error. How to avoid this ?  Thanks in advance!

    Hi Tobias,
      Q :     I am also having same problem. I have increased maxctxtsize from 1677216 to 5242880 and 10485750 but it doesn't work.  Can you please help me in this..
      Ans: i fixed the problem on my own. I need to increase both sessions and context size then it started working.
    thanks...
    Message was edited by:
            rao

  • Error 04031 while using microsoft transaction server.........

    hi,
    im using microsoft transaction server & oracle server (version7) in my project. im getting one error ie.,
    [Microsoft][ODBC driver for Oracle][Oracle]ORA-04031: unable to allocate 250016 bytes of shared memory ("unknown object","session heap","bind var buf")
    if i remove my component from MTS, this error does't come.....
    i have enough memory in my server. can any one tell what is the problem.......
    thanks
    siv
    null

    hi philip,
    if i run out of transaction context, my MTS object is working properly... But at the same time , for each database communication, MTS is creating one '.trc' file in system32 directory which contains the text as
    135310.388:459.459.1:
    ORACLE XA: Version 7.3.4.0.0. RM name = 'Oracle_XA'.
    135310.388:459.459.1:
    xaoend: XA_RBROLLBACK; upisdt rtn ORA-23.
    135310.388:459.459.1:
    ORA-00023: session references process's private memory; cannot detach session
    do u have any idea what is this..........
    thanks
    snethil

  • QALS table update while using MFBF transaction

    Hi ,
    I added new field with Z to QALS table and i want to fill this field when user use MFBF transaction while pushed save button.But i need mat. document number (mblnr) when i find value of new field which i added.I found  EXIT_SAPLQPL1_002 exit which i can change value of QALS table but when i enter into this exit mblnr filed is coming empty.I also tried to find a badi and found INSPECTIONLOT_UPDATE badi's CREATE_BEFORE_UPDATE method.Here i have all values of QALS.But when i change value of new field after this method it becomes empty again.Is there any way to fill this field from mfbf transaction using mblnr?

    Hi Mehul,
    You make use of Wait statement within the BAPI. let the system wait for 2 milliseconds.
    use wait = 2. then try doing the same. I think your error would be resolved.
    Reward points if this helps,
    Kiran

  • Error while using "edit" transaction on Equipment Object - SAP Work manager on Syclo Agentry

    Hello Experts,
    I am trying to execute an edit transaction on Equipment object. I have currently called the edit transaction using a button on Equipment Details screen as follows.
    1) Created a transaction on Equipment object.
    P
    2) Properties have "EquipmentID".
    3) Config. under this property:
    4) the Update step under this transaction.
    5) the action which calls this transaction:
    6) Action steps:
    7) Action step to call the transaction:
    Apart from these settings, I have created the required screen set, required button, navigation, set up fields on the screen referring to the transaction and all other required settings.
    Now, while running the application, I am able to navigate and pass the field values from details screen to custom edit screen.
    While clicking on apply (green check button), it throws the following error:
    What can be missing here? Is it mandatory to create a rule on Key property of the transaction? As of now, no rule exists on the ID as it is an edit transaction.
    Any help will be greatly appreciated.

    Hi Steve,
    Thank you so much for your reply. along with these 3 steps, I also changed the action step to point it to equipment instead of "none" and it stopped throwing the error.
    However, I got an exception while executing the BAPI using stephandler.
    My source code looks as below.
    Steplet:
    public boolean execute() throws AgentryException {
        try{
    EquipmentEditStephandler handler = new EquipmentEditStephandler((com.syclo.sap.User)_user);
    handler.editEquipment();
        return true;
        catch(Throwable exception){
        throwExceptionToClient(exception);
        return false;
    StepHandler:
    public void editEquipment() throws Exception{
            CustEquipment[] array = null;
            CustEquipment custEquipObj = new CustEquipment();
            EquipmentEditBapi bapi = new EquipmentEditBapi(user, new GregorianCalendar());
            bapi.run(custEquipObj);
            bapi.processResults();
    The BAPI code to set parameters:
    public void setParameters(SAPObject obj) throws Exception
    super.setParameters(obj);
    try {
    Logger log = new Logger(_user, "FetchBAPI_Java_Class");
    //Pass Transaction Vales to BAPI_WRAPPER
    JCO.Structure jcoStructure = _imports.getStructure("IS_EQUI_ADDR");
    String City = user.getString("transaction.City");
    setValue(jcoStructure, log, "CITY", City);
    String Country = user.getString("transaction.Country");
    setValue(jcoStructure, log, "COUNTRY", Country);
    String Name2 = user.getString("transaction.Name2");
    setValue(jcoStructure, log, "NAME2", Name2);
    String EquipmentID = user.getString("transaction.EquipmentID");
    setValue(jcoStructure, log, "EQUIPMENTID", EquipmentID);
    catch (Exception e) {
    user.rethrowException(e, true);
    while executing, the data structure that reaches ECC, is blank.
    on the Java front, this exception is thrown:

  • Error while using MI_MCD transaction

    We have Mobile Infrastructure. 2.5 SP09 - we want to use transaction MI_MCD to Defining the Installation Sequence (as described in “MI25-SP9 Installation Guide PDF”).
    But when I click the Link tab and click “Add Link” button and choose component the component version inserted on the
    mobile component fields and version fields locked, so I can not adanother link or save or write it manually. Always Error message appear says that you must inter the version number .
    Regards.

    SAP AG released note (Note# 806228 at https://websmp201.sap-ag.de/notes ) solving this problim.

  • Type of error in the log file while using using call transaction mode u2018Eu2019

    Hi Gurus,
    Please Answer for this qusetion urgently
    what type of error exactly  you will be seeing in the log file while using call transaction mode u2018Eu2019?
    Thanks/
    Radha.

    Hi,
    Can you be clear.
    In call transaction , no error logs  are created, you have to handle the errors explicitly using the structure BDCMSGCOLL.
    Whenever you use E mode then if the transaction encounters any of the errors i.e. data type mismatching or invalid values etc, it will stop at that screen.
    You can handle the errors in call transaction in the following method.
    create a table using the structure BDCMSGCOLL.
    then
    loop at ......
          CALL TRANSACTION 'XK01' USING I_BDCDATA MODE 'N' UPDATE 'S' MESSAGES INTO I_MESGTAB.
    endloop.
      SORT I_MESGTAB BY MSGID MSGV1 ASCENDING.
      DELETE ADJACENT DUPLICATES FROM I_MESGTAB.
      LOOP AT I_MESGTAB.
        CALL FUNCTION 'FORMAT_MESSAGE'
          EXPORTING
            ID   = I_MESGTAB-MSGID
            LANG = I_MESGTAB-MSGSPRA
            NO   = I_MESGTAB-MSGNR
            V1   = I_MESGTAB-MSGV1
            V2   = I_MESGTAB-MSGV2
            V3   = I_MESGTAB-MSGV3
            V4   = I_MESGTAB-MSGV4
          IMPORTING
            MSG  = MESG1.
        IF I_MESGTAB-MSGTYP = 'S' .
          WA_SUCCMESG-MESG = MESG1.
          APPEND WA_SUCCMESG TO I_SUCCMESG.
    else     IF I_MESGTAB-MSGTYP = 'E' .
          WA_ERRMESG-MESG = MESG1.
          APPEND WA_ERRMESG TO I_ERRMESG.
        ENDIF.
      ENDLOOP.
    Hope this is clear.
    Thanks and Regards.

  • Syntax error while using the parameter inside the badi method.

    Hello all ,
    I'm writing a code in the badi implementation . The badi is /SAPSLL/CTRL_MM0C_R3 . this badi contains a metthod API_CONTROL_MODIFY.This badi triggers while using MIGO transaction .
    It is having the following parameter .
    IT_MSEG     Importing     Type     SLLR3_MSEG_T .
    SLLR3_MSEG_T is declared as follows.
    TYPES: sllr3_mkpf_t LIKE mkpf OCCURS 0,
                sllr3_mseg_t LIKE mseg OCCURS 0.
    here i have to get the werks value that is populated into IT_MSEG whie doing MIGO .
    I have declared a local variable and assigned werks value from the IT_MSEG to the local variable as follows
    DATA:l_werks type werks.
    l_werks = IT_MSEG-WERKS.     
    But I'm getting the following error.
    "IT_MSEG" is a table without a header line and therefore has no
    component called "WERKS".
    How should i avoid this error. Please give me sample code on how to avoid this error.
    thanks in advance
    pavan

    Hi,
    Move the row from IT_MSEG into a work area and use it. Declare the workarea of required type.
    DATA:l_werks type werks.
    read table it_mseg into wa_mseg index 1.
    l_werks = wa_MSEG-WERKS.
    Regards
    Vinod

  • While uploading data into the r/3 using call transaction or session method

    hi experts
    while uploading data into the r/3 using call transaction or session method error occured in the middle of the processing then how these methods behaves it transfers next records or not?

    hai
    Session method: The records are not added to the database until the session is processed. sy-subrc is not returned. Error logs are created for error records. Updation in database table is always Synchronous.
    Call Transaction method: The records are immediately added to the database table. sy-subrc is returned to 0 if successful. Error logs are not created and hence the errors need to be handled explicitly. Updation in database table is either Synchronous or Asynchronous.
    While to transfer the data from the through if any errors occurs until the errors are the complete the data is not transfer to the SAP system.
    the system compulsory shows the errors. that errors are stored into the error logs (Transaction is SM35).
    so the session method should not return any value.
    In call transaction method data is directly pass to the SAP system.
    So its compulsory return the value.
    Because of the call transaction is the function.
    A function should return the value mandatory
    In session method errors stroed in SYSTEM GENRATED ERROR LOG.
    IN CALL TRANSACTION TO CAPTURE THE ERRORS WE SHOULD PERFORM THE FOLLOWING.
    FIRST ME MUST DECLARE AN INTERNAL TABLE WITH THE STRUCTURE OF BDCMSGCOLL TABLE.
    THEN WHILE WRITING THE CALL TRANSACTION STATEMENT WE SHOULD PUT THE 'E' MODE FOR CAPTURING ALL THE ERRORS.
    THEN FINALLY THE CAPTURED ERRORS MUST TO SENT TO THE INTERNAL TABLE WHICH WE DECLARED IN THE BEGINNING WITH BDCMSGCOLL BY USING THE FUNCTION MODULE "FORMAT_MESSAGE"
    AND THUS THE ERROR MESSAGES WILL BE SENT TO THE INTERNAL TABLE WHICH WE DECLARED AT THE BEGINNING.

  • Investment mgt:Error while distributing budgets using IM52 transaction code

    I am getting an error message"Availability control can not be activated for hierarchial projects" when I distribute budgets using IM52  transaction code in Investment management.
    Can you please tell me why and how to solve it?
    Edited by: aravind  reddy on Aug 19, 2008 4:34 PM

    I am getting an error message"Availability control can not be activated for hierarchial projects" when I distribute budgets using IM52  transaction code in Investment management.
    Can you please tell me why and how to solve it?
    Edited by: aravind  reddy on Aug 19, 2008 4:34 PM

  • Context Overflow Error while executing report from browser.

    Hi All,
    I am running one report from browser, the same report is running properly on backend.
    But when I am running the same for long period (more than 2 months) it is giving me context overflow error.
    I have also checked the value of parameter MaxCtxtSize on ITS and it is currently set to 5 MB.
    Should I increased this value ??? ITS version is 6.20 - Standalone.
    Pl guide me to solve this problem.
    Regards,
    Aditya.

    Dear Edgar,
    Thanks a lot.
    Below is the error message reported in the file diagnostics.log.
    A 2009-02-03T09:12:24.039 [agate,sapjulep] 00, s02748798, PpttRuntimeError:  Runtime error: Assignment to context failed
    (context overflow)!
    A 2009-02-03T09:12:24.039 [agate,sapjulep] 00, s02748798, PpttRuntimeError:  jump through trap...
    A 2009-02-03T09:12:24.039 [agate,sapjulep] 00, s02748798, PpioTraverseHtmlPP: PpttTraverseParseTree(D:\SAPMPS\config\..\IT1\templates\system\dm\generator.html) failed, rc=0x306
    A 2009-02-03T09:12:24.039 [agate,sapdiag ] 00, s02748798, HtmgBuildHtmlPage: IntpDoInterpret (D:\SAPMPS\config\..\IT1\templates\system\dm\generator.html) failed, rc=0x2104
    A 2009-02-03T09:12:24.039 [agate,sapxgdk ] 00, s02748798, ContAllocAligned:  Allocating 52 bytes (16 of 5242880 bytes available) failed, no streaming supported. Consider bumping a container size (3) in the registry.
    Pl help.
    Regards,
    Aditya.

  • How to use Z transaction type while in the Transaction launcher Wizard?

    In SPRO->CRM->Transactions->Basic Settings->Define transaction Types I can see a whole host of Z transaction types.
    These define all sorts of business transaction defaults. Within the Transaction launcher Wizard there is a Transaction Type that can be entered, but I can only see three options, being 'BOR Transaction', 'URL Transaction' and ' M', for some reason. None of the transaction types shown in the above SPRO path are displayed.
    Does anyone know how I can use my Z transation type. These are used by the config behind the Action Boxes for the Winclient IC, but I can not get the Transaction launcher wizard to see or use these. The SAP How-to Guide to tha Transaction Launcher says that only BOR and URL Transactions can be used (unless you have IS-U). If this is true then how does one provide all the information provided by the Transaction type. The whole idea of the transaction type is default this information in one area.
    Anyone.
    Jason

    I think it is possible.
    In CRMC_UI_NBLINKS if you look at the logical links you can see that SRV-ORD-DC has a Parameter of 'SRVO' with a certain Parameter Class.
    If you were to check SPRO->CRM->Transactions_Basic Settings->Transaction Types  you will see that SRVO exists as an entry. This logical ink is therefore using this Transaction type to extract characteristics etc.
    Having said that, I need to call the sales order create with a certain transaction type, so I copied SLS-SLO-CR to a Z copy, added the Parameter of 'Z111' and also used the Parameter class of CL_CRM_UIU_BT_PARAM_CREATE.
    This should now, in theory all work, and show the exact same transaction in the Webclient IC as it does in the Winclient IC as they are both using the same Transaction type. However, the Webclient transaction looks different in terms of fields etc., so I don't think it's working. after all.
    Jason

  • System crash while using Callable objects for SAP transaction !!

    Hi all,
    i have created a CO to use SAP transaction, i have created a system, its connection test is successfull.when i create the CO and specify the system and Tcode, and Test it, its giving a Short dump saying its crashed, do anyone knows the rerason??please guide me
    Thanx in advance

    Hi Audrey
    The Help for SAP Transactional iView can be found here - but although I have followed these steps and an associated blog it still does not work for me.  Perhaps you will have more luck.  See below for my particular error (if your able to help me ;-).)
    SAP Help for SAP Transactional iView
    http://help.sap.com/saphelp_nw04/helpdata/en/02/f9e1ac7da0ee4587d79e8de7584966/frameset.htm
    SAP Blog for the same
    Create SAP Transaction iView using SAPGUI for Windows
    NOTE :  Sadly I cannot get mine to work !! ****
    I'm also trying to create a SAP Transaction iView. Following these steps.
    I can preview the iView OK. So it seems that System and Alias are OK.
    BUT when I logon as a user on the Portal with that iVew it fails with the same type of error you had.
    "Unable to lookup System &#39;SAPDBEAlias&#39;. Please check the system object and the alias.."

Maybe you are looking for

  • Bapi_requisition_create

    Hi all, I am looking for the way to pass to the bapi in object the Header Texts for Purchase Requisition. Did anyone else have my same problem? Do you have any suggest for me? Thanks Regards

  • DEvelopment of report based on S_ALR_87013547

    Hi, My requirement is to create a new report (Most probably in Report Painter) based on S_ALR_87013547 such that planned cost is to be based upon the percentage of completion of the activity.  For eg, if for a project, the activity has a planned cost

  • Benefits of using vendor partner function

    Hello Experts: I understand the general use of vendor partner function. But what are the benefits of using vendor partner function? Is it for ease of reporting? Is there a functionality down the line that will not be possible if a vendor partner func

  • FeedBack...

    Hello, here is my feedback after using Flash Catalyst for 4-5 days, on 2 projects, I hope it will help... Some points are related to the usability, oters are questions, and others are bugs,... (I'm on PC, with Windows Vista) The current version is re

  • Time might be running out to exchange defective units....

    If Apple does make an announcement (some have been told by Apple Store staff they will soon) then what happens? Which would be easier for Apple to manage a mail in exchange program or an in store exchange? I imagine they will extend past the 14 day g