Missing performance counters when creating custom dashboard?

 I've run into an issue when trying to create custom dashboards with performance views. 
For example I have 2 servers with the same OS 2008 R2 one does not show the problem the other does. 
The issue is that when I go in to create a custom dashboard and add a performance view the only counters listed for the problem server are network adapters. If I go to performance view on the server in scom it shows all the counters. The only place the counters
are missing is in the selection area for the dashboard performance view widget. 
  Do the performance views pull counter data from a different place then the dashboard performance widgets?

Hi,
Here are two articles regarding to event 31552, you may check it:
The 31552 event, or “why is my data warehouse server consuming so much CPU?”
http://blogs.technet.com/b/kevinholman/archive/2010/08/30/the-31552-event-or-why-is-my-data-warehouse-server-consuming-so-much-cpu.aspx
My Experience Handling Event ID: 31551 and 31552 issue
http://donald-scom.blogspot.com/2013/09/my-experience-handling-event-id-31552.html
Regards,
Yan Li
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

Similar Messages

  • Performance issues when creating a Report / Query in Discoverer

    Hi forum,
    Hope you are can help, it involves a performance issues when creating a Report / Query.
    I have a Discoverer Report that currently takes less than 5 seconds to run. After I add a condition to bring back Batch Status that = ‘Posted’ we cancelled the query after reaching 20 minutes as this is way too long. If I remove the condition the query time goes back to less than 5 seconds.
    Please see attached the SQL Inspector Plan:
    Before Condition
    SELECT STATEMENT
    SORT GROUP BY
    VIEW SYS
    SORT GROUP BY
    NESTED LOOPS OUTER
    NESTED LOOPS OUTER
    NESTED LOOPS
    NESTED LOOPS
    NESTED LOOPS
    NESTED LOOPS OUTER
    NESTED LOOPS OUTER
    NESTED LOOPS
    NESTED LOOPS OUTER
    NESTED LOOPS OUTER
    NESTED LOOPS
    NESTED LOOPS
    NESTED LOOPS
    NESTED LOOPS
    NESTED LOOPS
    NESTED LOOPS
    NESTED LOOPS
    NESTED LOOPS
    NESTED LOOPS
    NESTED LOOPS
    NESTED LOOPS
    TABLE ACCESS BY INDEX ROWID GL.GL_CODE_COMBINATIONS
    AND-EQUAL
    INDEX RANGE SCAN GL.GL_CODE_COMBINATIONS_N2
    INDEX RANGE SCAN GL.GL_CODE_COMBINATIONS_N1
    TABLE ACCESS BY INDEX ROWID APPLSYS.FND_FLEX_VALUES
    INDEX RANGE SCAN APPLSYS.FND_FLEX_VALUES_N1
    TABLE ACCESS BY INDEX ROWID APPLSYS.FND_FLEX_VALUE_SETS
    INDEX UNIQUE SCAN APPLSYS.FND_FLEX_VALUE_SETS_U1
    TABLE ACCESS BY INDEX ROWID APPLSYS.FND_FLEX_VALUES_TL
    INDEX UNIQUE SCAN APPLSYS.FND_FLEX_VALUES_TL_U1
    INDEX RANGE SCAN APPLSYS.FND_FLEX_VALUE_NORM_HIER_U1
    TABLE ACCESS BY INDEX ROWID GL.GL_JE_LINES
    INDEX RANGE SCAN GL.GL_JE_LINES_N1
    INDEX UNIQUE SCAN GL.GL_JE_HEADERS_U1
    INDEX UNIQUE SCAN GL.GL_SETS_OF_BOOKS_U2
    TABLE ACCESS BY INDEX ROWID GL.GL_JE_HEADERS
    INDEX UNIQUE SCAN GL.GL_JE_HEADERS_U1
    INDEX UNIQUE SCAN GL.GL_DAILY_CONVERSION_TYPES_U1
    TABLE ACCESS BY INDEX ROWID GL.GL_JE_SOURCES_TL
    INDEX UNIQUE SCAN GL.GL_JE_SOURCES_TL_U1
    INDEX UNIQUE SCAN GL.GL_JE_CATEGORIES_TL_U1
    INDEX UNIQUE SCAN GL.GL_JE_HEADERS_U1
    INDEX UNIQUE SCAN GL.GL_JE_HEADERS_U1
    INDEX UNIQUE SCAN GL.GL_JE_BATCHES_U1
    INDEX UNIQUE SCAN GL.GL_BUDGET_VERSIONS_U1
    INDEX UNIQUE SCAN GL.GL_ENCUMBRANCE_TYPES_U1
    INDEX UNIQUE SCAN GL.GL_SETS_OF_BOOKS_U2
    TABLE ACCESS BY INDEX ROWID GL.GL_JE_BATCHES
    INDEX UNIQUE SCAN GL.GL_JE_BATCHES_U1
    INDEX UNIQUE SCAN GL.GL_SETS_OF_BOOKS_U2
    INDEX UNIQUE SCAN GL.GL_JE_BATCHES_U1
    TABLE ACCESS BY INDEX ROWID GL.GL_PERIODS
    INDEX RANGE SCAN GL.GL_PERIODS_U1
    After Condition
    SELECT STATEMENT
    SORT GROUP BY
    VIEW SYS
    SORT GROUP BY
    NESTED LOOPS
    NESTED LOOPS OUTER
    NESTED LOOPS OUTER
    NESTED LOOPS
    NESTED LOOPS
    NESTED LOOPS
    NESTED LOOPS
    NESTED LOOPS OUTER
    NESTED LOOPS
    NESTED LOOPS
    NESTED LOOPS
    NESTED LOOPS
    NESTED LOOPS
    NESTED LOOPS
    NESTED LOOPS OUTER
    NESTED LOOPS
    NESTED LOOPS OUTER
    NESTED LOOPS
    NESTED LOOPS
    NESTED LOOPS OUTER
    NESTED LOOPS
    TABLE ACCESS FULL GL.GL_JE_BATCHES
    INDEX UNIQUE SCAN GL.GL_SETS_OF_BOOKS_U2
    INDEX UNIQUE SCAN GL.GL_JE_BATCHES_U1
    TABLE ACCESS BY INDEX ROWID GL.GL_JE_HEADERS
    INDEX RANGE SCAN GL.GL_JE_HEADERS_N1
    INDEX UNIQUE SCAN GL.GL_SETS_OF_BOOKS_U2
    INDEX UNIQUE SCAN GL.GL_ENCUMBRANCE_TYPES_U1
    INDEX UNIQUE SCAN GL.GL_DAILY_CONVERSION_TYPES_U1
    INDEX UNIQUE SCAN GL.GL_BUDGET_VERSIONS_U1
    TABLE ACCESS BY INDEX ROWID GL.GL_JE_SOURCES_TL
    INDEX UNIQUE SCAN GL.GL_JE_SOURCES_TL_U1
    INDEX UNIQUE SCAN GL.GL_JE_CATEGORIES_TL_U1
    INDEX UNIQUE SCAN GL.GL_JE_BATCHES_U1
    TABLE ACCESS BY INDEX ROWID GL.GL_JE_LINES
    INDEX RANGE SCAN GL.GL_JE_LINES_U1
    INDEX UNIQUE SCAN GL.GL_SETS_OF_BOOKS_U2
    TABLE ACCESS BY INDEX ROWID GL.GL_CODE_COMBINATIONS
    INDEX UNIQUE SCAN GL.GL_CODE_COMBINATIONS_U1
    TABLE ACCESS BY INDEX ROWID GL.GL_PERIODS
    INDEX RANGE SCAN GL.GL_PERIODS_U1
    TABLE ACCESS BY INDEX ROWID APPLSYS.FND_FLEX_VALUES
    INDEX RANGE SCAN APPLSYS.FND_FLEX_VALUES_N1
    INDEX RANGE SCAN APPLSYS.FND_FLEX_VALUE_NORM_HIER_U1
    TABLE ACCESS BY INDEX ROWID APPLSYS.FND_FLEX_VALUES_TL
    INDEX UNIQUE SCAN APPLSYS.FND_FLEX_VALUES_TL_U1
    TABLE ACCESS BY INDEX ROWID APPLSYS.FND_FLEX_VALUE_SETS
    INDEX UNIQUE SCAN APPLSYS.FND_FLEX_VALUE_SETS_U1
    INDEX UNIQUE SCAN GL.GL_JE_HEADERS_U1
    INDEX UNIQUE SCAN GL.GL_JE_HEADERS_U1
    INDEX UNIQUE SCAN GL.GL_JE_HEADERS_U1
    Is there anything i can do in Discoverer Desktop / Administration to avoid this problem.
    Many thanks,
    Lance

    Hi Rod,
    I've tried the condition (Batch Status||'' = 'Posted') as you suggested, but the qeury time is still over 20 mins. To test i changed it to (Batch Status||'' = 'Unposted') and the query was returned within seconds again.
    I’ve been doing some more digging and have found the database view that is linked to the Journal Batches folder. See below.
    I think the problem is with the column using DECODE. When querying the column in TOAD the value of ‘P’ is returned. But in discoverer the condition is done on the value ‘Posted’. I’m not too sure how DECODE works, but think this could be the causing some sort of issue with Full Table Scans. How do we get around this?
    Lance
    DECODE( JOURNAL_BATCH1.STATUS,
    '+', 'Unable to validate or create CTA',
    '+*', 'Was unable to validate or create CTA',
    '-','Invalid or inactive rounding differences account in journal entry',
    '-*', 'Modified invalid or inactive rounding differences account in journal entry',
    '<', 'Showing sequence assignment failure',
    '<*', 'Was showing sequence assignment failure',
    '>', 'Showing cutoff rule violation',
    '>*', 'Was showing cutoff rule violation',
    'A', 'Journal batch failed funds reservation',
    'A*', 'Journal batch previously failed funds reservation',
    'AU', 'Showing batch with unopened period',
    'B', 'Showing batch control total violation',
    'B*', 'Was showing batch control total violation',
    'BF', 'Showing batch with frozen or inactive budget',
    'BU', 'Showing batch with unopened budget year',
    'C', 'Showing unopened reporting period',
    'C*', 'Was showing unopened reporting period',
    'D', 'Selected for posting to an unopened period',
    'D*', 'Was selected for posting to an unopened period',
    'E', 'Showing no journal entries for this batch',
    'E*', 'Was showing no journal entries for this batch',
    'EU', 'Showing batch with unopened encumbrance year',
    'F', 'Showing unopened reporting encumbrance year',
    'F*', 'Was showing unopened reporting encumbrance year',
    'G', 'Showing journal entry with invalid or inactive suspense account',
    'G*', 'Was showing journal entry with invalid or inactive suspense account',
    'H', 'Showing encumbrance journal entry with invalid or inactive reserve account',
    'H*', 'Was showing encumbrance journal entry with invalid or inactive reserve account',
    'I', 'In the process of being posted',
    'J', 'Showing journal control total violation',
    'J*', 'Was showing journal control total violation',
    'K', 'Showing unbalanced intercompany journal entry',
    'K*', 'Was showing unbalanced intercompany journal entry',
    'L', 'Showing unbalanced journal entry by account category',
    'L*', 'Was showing unbalanced journal entry by account category',
    'M', 'Showing multiple problems preventing posting of batch',
    'M*', 'Was showing multiple problems preventing posting of batch',
    'N', 'Journal produced error during intercompany balance processing',
    'N*', 'Journal produced error during intercompany balance processing',
    'O', 'Unable to convert amounts into reporting currency',
    'O*', 'Was unable to convert amounts into reporting currency',
    'P', 'Posted',
    'Q', 'Showing untaxed journal entry',
    'Q*', 'Was showing untaxed journal entry',
    'R', 'Showing unbalanced encumbrance entry without reserve account',
    'R*', 'Was showing unbalanced encumbrance entry without reserve account',
    'S', 'Already selected for posting',
    'T', 'Showing invalid period and conversion information for this batch',
    'T*', 'Was showing invalid period and conversion information for this batch',
    'U', 'Unposted',
    'V', 'Journal batch is unapproved',
    'V*', 'Journal batch was unapproved',
    'W', 'Showing an encumbrance journal entry with no encumbrance type',
    'W*', 'Was showing an encumbrance journal entry with no encumbrance type',
    'X', 'Showing an unbalanced journal entry but suspense not allowed',
    'X*', 'Was showing an unbalanced journal entry but suspense not allowed',
    'Z', 'Showing invalid journal entry lines or no journal entry lines',
    'Z*', 'Was showing invalid journal entry lines or no journal entry lines', NULL ),

  • Help!!! - When Creating Customer  I get this ERROR "Provide a positive integer for minimum customer balance amount or percent when balance amount overdue type is amount or percent respectively."

    When Creating Customer  I get this ERROR "Provide a positive integer for minimum customer balance amount or percent when balance amount overdue type is amount or percent respectively."
    I tried troubleshooting when I saw the another post and created with a new customer profile class, but still getting an error, though I created another profile like below and attached this to another existing customer it worked, but when I tried creating a new customer it is still giving me the error. I am Using Oracle Applications R12.1.1
    Steps I followed in Creating a New customer Profile
    ==== Make sure the new Customer Profile class which you will create is in active state. Cross check below steps while defining a customer Profile class.. e.g. Name : DEFAULT (and it's active)
    *1) Profile Class Tab :*
    a) Balance FWD Billing : Not enabled
    b) Invoicing --> Tax Printing ( Summarize By Tax Name), Grouping Rule (DEFAULT)
    c) Set Terms as per ur requirement , do allow discount & Override terms
    d) Set Dunning as per your requirement,
    e) Filled in Collectors info as per your requirement with Credit Check enabled...
    f) Receipt --> Auto cash Rule set as 'Standard'..
    *2) Late Charge Profile* Set it as per requirement
    *3) Profile Class Amounts* e.g Say Currency set as "USD"
    a) Credit Limit : 100000
    b) Order Credit Limit : 100000
    c) Minimum Receipt Amount : 1.00
    d) Min statement amount : 1.00
    e) don't put any value in Exchange Rate type (e.g, monthly, Plan etc..)
    f) Minimum Customer Balance : Amount ------> Value: 5.00
    g) Minimum Invoice Balance : Amount ------> Value: 5.00
    h) Minimum Charge per invoice : 1, Maximum Charge per Invoice : 100 Under Interest Charge
    i) mention Type as Fixed Rate, Value : 10
    j) You can avoid setting the Penalty Charge for the time being..
    Step-2_ a) Open a customer ..*go to Bill to site details* --> Click on Profile Tab --> Under Profile Class field please include new profile class which is created by you (e.g DEFAULT) . b) Go to Profile Amounts Tab --> Click(Show) on Currency USD --> Verify the set up here as well   I could see this.
    When I tried creating an new Customer using the new profile, it's repeating the same error. Please help.

    Hi
    You get this error when profile class amounts are not set for all the currency.  Go back to your profile and ensure that the profile amounts are set for all the currencies found, whether you are using it or not.
    Regards

  • Set default value on field KNA1-AUFSD when creating Customer

    Hi,
    How to set default value on field KNA1-AUFSD when creating customer master using XD01/VD01?
    I have tried user exit SAPMF02D, but all KNA1 values are read only.
    Thx

    Hi
    Try to implement an enhancement option in include MF02DFEX. (at the beginning before call to FM CALL CUSTOMER-FUNCTION '001'.).
    and Initialize the value for KNA1-AUFSD.
    In this Include you can see that there is a call for CALL CUSTOMER-FUNCTION '001'.
    So even you test/check the initialized value for field KNA1-AUFSD is updated by putting a break point in this function module after implementation of your enhancement SAPMF02D.
    Regards,
    Dwaraka.S

  • Updating partner function when creating customer XD01/XD02

    Hello all, I have the following requirement to do:
    When creating a customer for a certain account group in XD01/XD02, I need to update the partner functions associated to this customer.
    I have tried, the ENHACEMENT  SAPMF02D with function EXIT_SAPMF02D_001, but when changing table content T_KNVP, this content is not taken into account and the values are not stored in DB.
    I have tried too BADI's CUSTOMER_ADD_DATA and CUSTOMER_ADD_DATA_CS, but the content of T_KNVP in CUSTOMER_ADD_DATA cannot be changed.
    I would like to avoid BTE's for now.
    Can someone give me a hand on this?
    Thanks in advance!

    Solution: BAPI CUSTOMER_UPDATE

  • Problem when create customs BP number through PCUI

    Hi Experts,
    we are working on CRM 5.0 & EP7.0
    i have created custom function module (z function module) for generate the customs BP number( Dep country ,region) for BP t-code in GUI (CRM) System , when test through PCUI i can not get the PCUI field values like counry , region....so i cant generate the custom BP number depend upon the country and region,
    when user type the country,region,company name,city in PCUI
    how can i get PCUI field values ( country,region,company name,city)
    in GUI (SAP- CRM) System.
    PCUI field values ( country,region,company name,city) is not stored in ABAP memory, like
    1. CALL FUNCTION 'BUP_BUPA_MEMORY_GET_ALL'
    TABLES
    t_but000 = t_but000
    t_but001 = t_but001
    t_but0bk = t_but0bk
    t_but100 = t_but100
    t_but0cc = t_but0cc
    t_but0is = t_but0is
    t_but0id = t_but0id.
    2. CALL FUNCTION 'BUA_BUPA_ADDRESSES_GET'
    EXPORTING
    i_xall = 'X'
    TABLES
    t_address = t_add.
    this two function modules are not giving values when user enter the values in PCUI
    plz help me........
    thanks,
    Ganesh,R

    hi karthik,
    i am working in CRM 5.0 ,& PCUI
    i have created custom BP number depend upon country and region ( through PCUI ), it is working fine but when more then one user trying to create account( BP) by uing same country and region it is generating same BP number becoz they are press ENTER button after giving the input data in PCUI , if they press SAVE button it is creating new BP number.
    when user press enter button countron should not go to BP number generation coding..how can i do this?
    How can i identify user press ENTER button or SAVE Button?
    where event is trigring ?where they are calling the Events?
    i want to do when user press ENTER button it should not create BP number but user press SAVE button it should create BP number..
    how they are linking PCUI & SAP CRM-GUI?
    how can i do this ? plz help me..
    Thanks,

  • Check Vendor Master when Creating Customer Master

    Hi,
    When we create customer master, we would like to check against vendor master for similar names so we can alert the user to link the customer to vendor (for contra purpose).
    Is there any standard checks we can configure?  If not, user either has to check manually or an enhancement has to be developed.
    Thanks.

    Hi, exit LXF05U01

  • Supressing creation of BP record when creating Customer / Vendor in MDG.

    Hi MDG Experts
    As far as i understand the Business Partner record is always created when Vendor / Customer record(s) are created. This is true even when the Lean Vendor / Customer scenario is setup.
    Is it possible to suppress the creation of Business Parter record when Vendor / Customer record(s) are created ? If this possible, how can it be achieved ?
    Thanks in advance.
    Regards
    Neelesh

    Hello,
    No, you can't. BP will always be created first and then a corresponding supplier/customer will be created depending on CVI configurations.

  • Problem when create custom BP number through PCUI

    Hi Experts,
    we are working on CRM 5.0 & EP7.0
    i have created custom function module (z function module) for generate the customs BP number( Dep country ,region) for BP t-code in GUI (CRM) System , when test through PCUI i can not get the PCUI field values like counry , region....so i cant generate the custom BP number depend upon the country and region,
    when user type the country,region,company name,city in PCUI
    how can i get PCUI field values ( country,region,company name,city)
    in GUI (SAP- CRM) System.
    PCUI field values ( country,region,company name,city) is not stored in ABAP memory, like
    1. CALL FUNCTION 'BUP_BUPA_MEMORY_GET_ALL'
    TABLES
    t_but000 = t_but000
    t_but001 = t_but001
    t_but0bk = t_but0bk
    t_but100 = t_but100
    t_but0cc = t_but0cc
    t_but0is = t_but0is
    t_but0id = t_but0id.
    2. CALL FUNCTION 'BUA_BUPA_ADDRESSES_GET'
    EXPORTING
    i_xall = 'X'
    TABLES
    t_address = t_add.
    this two function modules are not giving values when user enter the values in PCUI
    plz help me
    thanks,
    Ganesh,R

    hi karthik,
    i am working in CRM 5.0 ,& PCUI
    i have created custom BP number depend upon country and region ( through PCUI ), it is working fine but when more then one user trying to create account( BP) by uing same country and region it is generating same BP number becoz they are press ENTER button after giving the input data in PCUI , if they press SAVE button it is creating new BP number.
    when user press enter button countron should not go to BP number generation coding..how can i do this?
    How can i identify user press ENTER button or SAVE Button?
    where event is trigring ?where they are calling the Events?
    i want to do when user press ENTER button it should not create BP number but user press SAVE button it should create BP number..
    how they are linking PCUI & SAP CRM-GUI?
    how can i do this ? plz help me..
    Thanks,

  • Border issue when creating custom text captions

    Applicable to: Captivate 5
    OS: Windows XP, SP3
    I seem to be experiencing an issue that I cannot locate an answer too, there are various discussions within the forums related to custom text caption issues but nothing specifc to mine. I hope someone can help.
    I am creating custom text captions for a project I am working on and have read & followed the help documentation related to customising text captions though I seem to be presented with issues displaying the border I have created.
    Scenario 1
    I copied the AdobeBlue1.bmp and associated .FCM from the Captions folder, created my own image based on the size of the .bmp and renamed the .FCM file then placed the 2 files into the Captions folder. Unfortunately the border on my custom image is not showing, all I see is the black background.
    Scenario 2
    I copied the AdobeBlue1.bmp and associated .FCM from the Captions folder, edited the image changing the colours of the border (green) and background (white) and renamed the .FCM file then placed the 2 files into the Captions folder. Unfortunately the border on my custom image is still not showing, all I see this time is the white background.
    Can anyone tell me why this is happening and if there are any ways of controlling the border of the text captions within the Captivate UI? There are various output options when saving the .bmp as I am working in GIMP but I have chosen all of them and this still does not affect the border in anyway, I just cannot see it. Help please!
    Thank you
    Tom

    Hi Rick
    GIMP has various options for saving as bitmap and I needed to save as Windows 24 bit bitmap (default 32 in GIMP). I did as you mentioned and created in a new project and repeated the steps appropriately and that seems to be working great now! Thanks for your help on this one, though it's very pernickity (fiddly)!!!!
    P.S. Formatting in text captions when using variables is a nightmare!!!! Raising on another post though.
    Cheers
    Tom

  • Missing Account information when creating Planned Activity in Account

    Hi Expert,
    When creating planned activity in Account inwebUI, I am expecting that the Account information would be populated in the Account field of a planned activity but it is not. Could you please tell me if this is a SAP standard? Thanks

    Check Partner Determination Procedure of Activity Transaction
    regard,
    vijay.

  • Error when creating custom controller

    I have a non-visual WebDynpro DC that contains a single data model.  The model has been added to the public part of the DC.
    I have another visual WebDynpro DC that makes use of the data model in the first DC.  If I explicitly reference the model in the first DC, everything works just fine.  I can input data, invoke the model, and see the response displayed on the page.
    However, I'm trying to create a custom controller that hides the data model.  When in the data modeller for the visual WD DC, I right click on the 'Custom Controllers' pane, and select 'Apply Template'.  I create a Service Controller, and select the model that's been imported (actually, that's been referenced as a used component) from the first DC.  I then select the data elements from the context that I want bound into this custom controller.  Click next, give a more descriptive method name, and then click Finish.  I get an internal error as follows:
    Source controller implementation file is not accessible (D:/src/.dtc/LocalDevelopment/DCs/example.com/test-wd-view/_comp/gen_wdp/packages/com/example/wd/AdderModelCust.java)
    Exception: java.lang.NullPointerException
    Am I doing this correctly, or am I missing a step or two?

    Hi Ken,
    you didn't miss some steps, this seems to be a bug in the tools. Please open a OSS message with the following information:
    - which Studio version you use (NW04/04s? SP?)
    - description of how to reproduce the effect
    - Studio's error log attached (.log file in <YourWorkspaceFolder>/.metadata)
    In the meanwhile to circumvent the error you should try to
    - create a new custom controller manually in WD explorer and launch Service Controller template from this controller (context menu in WD explorer)
    - if this fails as well, manually create the context definitions and method implementation that the template would produce.
    Regards
    Christian

  • Performance problem when creating XML-file

    Hi,
    I want to create a XML-file with customer data from an internal table. This internal table has appr. 62000 entries. It takes hours to create the elements of the file.
    This is the coding I have used:
      loop at it_debtor.
        at first.
        Creating a ixml factory
          l_ixml = cl_ixml=>create( ).
        Creating the dom object model
          l_document = l_ixml->create_document( ).
        Fill root node
          l_element_argdeb  = l_document->create_simple_element(name = 'argDebtors'
                      parent = l_document ).
        endat.
      Create element 'debtor' as child of 'argdeb'
        l_element_debtor  = l_document->create_simple_element(
                     name = 'debtor'
                   parent = l_element_argdeb ).
      Create elements as child of 'debtor'
        l_value = it_debtor-admid.
        perform create_element using 'financialAdministrationId'.
        l_value = it_debtor-kunnr.
        perform create_element using 'financialDebtorId'.
        l_value = it_debtor-name1.
        21 child elements in total are created
      endloop.
      Creating a stream factory
      l_streamfactory = l_ixml->create_stream_factory( ).
      Connect internal XML table to stream factory
      l_ostream = l_streamfactory->create_ostream_itable( table =
      l_xml_table ).
      Rendering the document
      l_renderer = l_ixml->create_renderer( ostream  = l_ostream
                                          document = l_document ).
      l_rc = l_renderer->render( ).
      open dataset p_path for output in binary mode.
      if sy-subrc eq 0.
        loop at l_xml_table into rec.
          transfer rec to p_path.
        endloop.
        close dataset p_path.
        if sy-subrc eq 0.
          write:/ wa_lines, 'records have been processed'.
        endif.
      else.
        write:/ p_path, 'can not be opened.'.
      endif.
    form create_element using    p_text.
      check not l_value is initial.
      l_element_dummy  = l_document->create_simple_element(
                    name = p_text
                    value = l_value
                    parent = l_element_debtor ).
                                                                                    endform.                    " create_element
    Please can anyone tell me how to improve the performance.
    The method create_simple_element takes a long time.
    SAP release : 46C
    Regard,
    Christine

    Hi Christine!
    There might be several reasons - but you have to look at the living patient, not only the dead coding.
    You did not show any selects, loop at ... where or read table statements -> the usual slow parts are not included (or visible...).
    Of course the method-calls can contain slow statements, but you can also have problems because of size (when internal memory gets swaped to disc).
    Make a runtime analysis (SE30), have a look in SM50 (details!) for the size, maybe add an info-message for every 1000-customer (-> will be logged in job-log), so you will see if all 1000-packs are executed in same runtime.
    With this tools you have to search for the slow parts:
    - general out of memory problems, maybe because of to much buffering (visible by slower execution at the end)
    - slow methods / selects / other components by SM30 -> have a closer look
    Maybe a simple solution: make three portions with 20000 entries each and just copy the files into one, if necessary.
    Regards,
    Christian

  • 10g on XP: hangs when creating custom database

    Hi
    When installing 10g on Windows XP SP2, I'm successful if I choose the software only. If I try to create the custom database with the Oracle database assistent, the oui stops after 2% with:
    - ORA-00604: error occured at recursive SQL level 1
    - ORA-02248: invalid option for ALTER SESSION
    I've already installed a 10g client, with which I can connect to another Oracle server without problem.
    Any idea, why this happens?

    Review the thread given below it talks about changing couple of oracle registry values as a fix...
    Re: Cant create a new db with dbca on WinXP Pro
    Good luck!
    -Ramesh

  • MISSING TEXT/GRAPHICS WHEN CREATING PDF

    Hello ...
    When I convert FrameMaker files to PDF, text and graphics are missing in the pdf. Sometimes this happens, sometimes not - the pattern seems to be whenever I am working with a large file (1MB or more)or if I have several windows open.
    My temporary work-around is to save the document into PDF 2-5 pages at a time ... but with a 100-page document this becomes very tedious and time-consuming.
    I have 55GB of free space and 2GB of RAM.
    Does anyone know why this might be happening?
    I am using Adobe Acrobat 8.0 with Windows XP.
    Thank you,
    Tina

    Hi Mike ...
    Yes, the graphics are imported by reference.
    But when generating a pdf multiple times from the same file - it's not always the same result. The first attempt may result in some graphics and text not appearing (only several pages may be affected). The second attempt will result in different pages being affected.
    It's not consistent - which really doesn't make sense.
    I have a feeling it's something quirky with my computer - but I wanted to check the forum in case this is a problem with Acrobat 8.0 -before I complain to our IT Dept.

Maybe you are looking for

  • File permission issues after copying from hard drive

    Hi there, I've copied my Sites folder (containing lots of HTML, CSS, PHP files) from a Time Machine backup that lives on an external hard drive onto my new MacBook Air running Lion. Now, I can't edit any of the files. Here are the errors I'm getting:

  • Multiple users in itunes

    i was wondering if you should have separate accounts for each iphone, should there be two accounts

  • Flash Player will NOT load

    I recently insatlled IE11.  Since that installation I am asked to update Flash Player but it will NOT install.  It gets part way, stops and says to retry.  When I do so the same thing happens.  HELP!

  • Use "grid display" for background job of RM07DOCS / MB51

    Hello experts, When you execute program RM07DOCS with transaction MB51, it uses a "hierarchy display" for the output, a list of material documents. User can then use the menus for "Goto>Detail List" and the display changes to a "grid display". If we

  • Optional Prompt for Date type parameter in Crystal Report.

    Hi Every One, I have a date type parameter in crystal report.When I am convert it to optional prompt it is showing following message. But the Type field is gray out when I was selecting list of values Dynamic. Please suggest. Thanks and Regards DEV