Error during object generation - EEWB - Urgent

Hi,
We are using standalone CRM 5.0
While trying to create custom fields via EEWB, we are getting the following error.
Task BUPA_CI_FILL_CRDCLNT200
No CRDCLNT200 transport request exists for System Workbench.
When I double click on the system message, I get the following detail:
"Error during object generation - Message no. OXT_MISC313"
Error during object generation
    Message no. OXT_MISC313
Diagnosis
    Errors occurred when generating objects of your extension.
Procedure
    You can analyze the errors as tasks in the error log of your extension
    (register Log in the extension detail screen) or as tasks marked with
    errors in the navigation tree.
Have anybody experienced this before? your inputs will be helpful.
Regards,
Anil

Hi Anil,
While you create EEWB extention, it will ask you for creation of transport request.
Most likely reason is your transport system is not configured.
Thus plz contact your basis admin to first configure transport landscape for your system and then try the same.
Best Regards,
Pratik Patel
<b>Reward with Points!</b>

Similar Messages

  • EEW "Error during object generation"

    Hi,
    I am trying to enhance object BUPA (table BUT000) with a few fields using tansaction "EEWB". I am using a Netweaver 2004S system (without CRM, just a WAS 7.0 with a java and ABAP stack).
    However, when I try to enhance BUPA I get the message "Error during object generation". When I check the function group that was created by EEW I see that the generated ABAP code is trying to copy my new BUT000 field. The problem seems to be that there is no new field created in BUT000. Please let me know if this is a bug or if I am doing something completely wrong.

    Hello Frédéric,
    The problem is solved. You put me on the right track.
    Include CI_EEW_but000 contained two includes (that where generated by EEW) onr of them contained my custom field but the other had status 'new' and since it did not realy exist CI_EEW_but000 could not be generated.
    As a solution I created the include (that had status new) with a dummie field and generated CI_EEW_but000. Then I set the enhancement category to char/numc and generated my EEW project again and it worked. Next I deleted the structure with the dummie field but then I could not generate BUT000 again (oops). To fix that I tried to generate my EEW project again and YES everything worked fine.

  • VLD-1141: Internal error during mapping generation.

    I am getting the "VLD-1141: Internal error during mapping generation" error when deploying a mapping. This mapping was previously working fine. As part of a re-factoring effort, for all the underlying tables and views, we replace 2 existing columns with a new column. All the objects were successfully re-imported and synchronized in the mapping. The mapping is using Mapping Input Parameter, Lookups, Expression Transformations, Splitter, Set Operator, Source & Target Tables. All these transformation were part of the earlier working version of the mapping.
    On doing validation within the mapping, I get a success message followed by 4 warning for the Lookup Condition on key Lookup does not contain a complete unique key. Before the re-factoring effort, I was getting the same 4 warning messages, however the mapping was executing correctly.
    When I do Generate within the mapping, I get the following message:
    Code cannot be generated.
    Click the message tab for details.
    In the Design Center, when I do a validation on the mapping I get the following error:
    VLD-1141: Internal error during mapping generation.
    java.lang.NullPointerException
    at oracle.wh.service.impl.mapping.component.Sequence.getSequenceExpressions(Sequence.java:138)
    at oracle.wh.service.impl.mapping.component.Sequence.doSequenceValidation(Sequence.java:239)
    at oracle.wh.service.impl.mapping.component.entity.EntitySqlDelegate.prepareOutputContext2(EntitySqlDelegate.java:123)
    at oracle.wh.service.impl.mapping.component.entity.EntitySqlDelegate.prepareOutputContext2(EntitySqlDelegate.java:97)
    at oracle.wh.service.impl.mapping.component.entity.EntitySqlDelegate.prepareOutputContext(EntitySqlDelegate.java:78)
    at oracle.wh.service.impl.mapping.generation.WBMappingGenerator.generate(WBMappingGenerator.java:240)
    at oracle.wh.service.impl.mapping.generation.PlSqlGenerationMediator.assembleSetBasedInternal(PlSqlGenerationMediator.java:2108)
    at oracle.wh.service.impl.mapping.generation.PlSqlGenerationMediator.assembleSetBased(PlSqlGenerationMediator.java:2090)
    at oracle.wh.service.impl.mapping.generation.PlSqlGenerationMediator.assemble(PlSqlGenerationMediator.java:541)
    at oracle.wh.service.impl.mapping.generation.WBMappingGenerator.generate(WBMappingGenerator.java:798)
    at oracle.wh.service.impl.mapping.generation.WBMappingGenerator.generate(WBMappingGenerator.java:335)
    at oracle.wh.service.impl.mapping.generation.WBDeployableMappingGenerator.generate(WBDeployableMappingGenerator.java:102)
    at oracle.wh.service.impl.generation.common.WBGenerationService.generateCode(WBGenerationService.java:433)
    at oracle.wh.service.impl.generation.common.WBGenerationService.generateCode(WBGenerationService.java:311)
    at oracle.wh.service.impl.generation.service.WhValidationGenerationTransaction.run(WhValidationGenerationTransaction.java:251)
    Any help in this regards would be appreciated.
    Naval

    Hi,
    I think your mapping is corrupted by converting two columns to one. The owb has always a problem if you change the structure of a table which is bound to a table operator. The way to avoid this is to drop the table operator after changing the table in the table editor and recreate it with the changed table definition.
    Make a test: select the new attribut in the table operator and look left on the configuration window. To which table and attribute it's bound?
    Regards,
    Detlef

  • Error during context generation

    Dear Friends,
    In interactiveForm UI, when i put adobe form name in Templatesource and try to generate context automatically,
    i get an error message ' Error during context generation ' and an empty context node is created.
    i manually create attributes under that node and populate them in wddoinit method.
    but i dont get those values on PDF output.
    What may be the error ??
    Kindly suggest.

    Hi Otto,
    I want to display data of an internal table in adobr form using web dynpro abap and adobe interactive form.
    my web dynpro abap application is ready and adobe form is also ready.
    when i integrate adobe interactive form on WDA and put form name in TEMPLATESOURCE and press enter
    it throws an error message - 'Error in context generation' and an empty node is generated in WDA.
    on running the application adobe form is displayed but no data is displayed.
    what may be the error ?
    i maintained attributes of node manually but then also no data is displayed.
    that means data binding is not successful.
    what may be the case ???
    kindly suggest

  • Internal memory error during SQL generation. (QP0002)

    Post Author: Rajesh Kumar
    CA Forum: WebIntelligence Reporting
    Hi,
    I developed one Report in BO 5.1 version (Report size à 13 MB) and I Migrated this Report to BO XIR2,
    After I Migrated this Report to BO XI R2 this Report was worked perfectly in DESKI & also in WEBI
    But now for the past few Days (nearly 1 week) this Report is not working in WEBI, but itu2019s perfectly working in DESKI. In WEBI itu2019s showing error message à u201CInternal memory error during SQL generation. (QP0002)u201D
    Iu2019m having one PDF documentation for BO Error Messages Listing, in that Documentation I have found the below à
    Internal memory error during SQL generation. (QP0002)
    Cause This error occurs when there is no longer enough memory to generate the SQL.
    Action You should close other applications and then rerun the query.
    I tried this alsou2026.
    I closed all other applications and I Refreshed this Report, but again the same error is coming in WEBI
    Report is working in DESKI but itu2019s not working in WEBI, I donu2019t know how to rectify this problem
    Can anyone help me in this to rectify.. please
    Thanks in advance
    Rajesh Kumar

    Hi,
    I investigated further and if the previous solution doesn't help you to resolve the issue please test the below mentioned solution.
    When several contexts are possible for a query, the system tests if they produce the same set of tables. If they are identical, it is not necessary to prompt the user. It is the default behavior. But for some particular universes, the designer defines different contexts with the same tables, but with a different set of joins. This will compare the context with the joins. When this happens, InfoView fails with this error.
    Resolution
    1. Import the universe.
    2. Modify the following parameter:
    COMPARE_CONTEXTS_WITH_JOINS = No
    3. Export the universe.
    4. Open the Desktop Intelligence report in InfoView and refresh it.
    It will refresh successfully
    Regards,
    Sarbhjeet Kaur

  • Error during netlist generation and log audit trail error

    I am not able to run the simulation application on my Multisim 10.  The two following error were generated every time I try to run the simultion:
    Error: log /Audit Trail, C: \document~1\xxx: Permission denied
    Error during netlist generation, C:\document~1\xxx: Permision denied
    Can any body help me fix this problem that make it impossible for me to use the Multisim10 simualtion tool?

    There are two KBs I would like for you to see, since they might have the answer to the problem you are having:
    1. This KB is related to having access to the TEMP directories where Multisim stores temp files for simulation:
    http://digital.ni.com/public.nsf/allkb/15526EB2464F3EDD8625722C00696BB0
    2. This other KB deals with non-Administrator users of Windows, it talks about v9 but the idea is the same for v10, just look for the v10 installation paths:
    http://digital.ni.com/public.nsf/allkb/0DF597C217A235BE862571FB004F24BD
    Nestor
    National Instruments

  • Internal Memory Error During SQL Generation

    Hi,
    Please find below the details:
    Issue: I am using BO XI R3 DeskI.
    When I try to refresh/edit the Dataprovider of a report, it says "Internal Memory Error During SQL Generation"
    I am sure that there is no case of Multiple contexts with this report and its a very simple one too.
    I get this error in WebI as well
    Workaround: Restarting the DesktopIntelligence Processing Server solves the issue for some time but then it reoccurs-for some other report -at a later time.  
    Could anyone please explain the root cause of this and is there a permanent solution to this problem.
    Thanks
    Prabhat Jha

    Hi,
    I investigated further and if the previous solution doesn't help you to resolve the issue please test the below mentioned solution.
    When several contexts are possible for a query, the system tests if they produce the same set of tables. If they are identical, it is not necessary to prompt the user. It is the default behavior. But for some particular universes, the designer defines different contexts with the same tables, but with a different set of joins. This will compare the context with the joins. When this happens, InfoView fails with this error.
    Resolution
    1. Import the universe.
    2. Modify the following parameter:
    COMPARE_CONTEXTS_WITH_JOINS = No
    3. Export the universe.
    4. Open the Desktop Intelligence report in InfoView and refresh it.
    It will refresh successfully
    Regards,
    Sarbhjeet Kaur

  • Error during TableScript Generation

    We are installing one new MSV client for QA testing and we get error during table script generation. I tried generating only middleware tables and one selected table.
                    1094       Error Executing Helper Scripts : [Microsoft][ODBC SQL Server Driver][SQL Server]Must declare the scalar variable "@qry".
                    0              Fetching Scripts from server...
                    1091       Error Executing Table script for CDBC_ACCPL_AUTHG : [Microsoft][ODBC SQL Server Driver][SQL Server]Must declare the scalar variable "@isnullable".
                    0              Table Script Generation Completed.
    The IDES DSN works, IDES has rights, Site id can be assigned, in fact the METADATA generation is successful too (I tried it just to see how it progresses)
    But because this middleware and none of the table scripts are generated the conntrans wont work. I do not see the conntrans folder getting created under SAP\Mobile.
    Any help??
    The SQL server installed is Microsoft SQL server 2005 and Mobile is Release 7.0 Sp 01/ 5.0 SP12.
    Thanks in advance.
    Edited by: Aparna Palve on Nov 17, 2010 7:05 PM

    Hi Aparna,
    I've not seen this error before. Maybe what you can do is generate the Table Scripts(and don't execute them on IDES) using Client Console. THen browse to this TableIndexScripts.sql in BIN.NET and see if these 2 scalars 'qry' and 'isnullable' are present in the same case(upper or lower) across the script.
    And then run the script directly on IDES.
    Thanks,
    Rohit

  • OWB 11.2 internal error during mapping generation

    Dear all,
    Ever since switching to OWB 11.2 I have been sporadically receiving unexplicable errors during mapping deployment. It only happens when I generate more than 1 mapping simultaneously, and it appears to be completely random. One or more mappings will fail during the generation phase of the deployment with an 'internal error', after which I get the option to continue deployment of those mappings that did generate correctly. What I usually do next is trying to deploy the failed mappings again, which always works - the internal error does not reoccur. But it seems to be that this second generation does not work properly either.
    For example, today I had to redeploy my entire set of mappings, due to a server change. Of the 60 mappings I had, about 5 failed with the forementioned error. (Sadly I can't include the exact error here since the job logs in the control center do not record this failure to generate, it looks like the failed mappings never were included in the job in the first place.) One of them I deployed aftewards, and found the query in the pacakge to look like:
        INSERT
        /*+ APPEND  */
        INTO
          "SA_BETMD_01" "SA_BETMD_01"
          ("DEWNKNR",
          "DEBTMCE",
          "DEBTMOM",
          "DEBTMO2",
          "DEBTMO3")
          (SELECT
    /*+ NO_MERGE */
    /* DRBETMD_RS.INOUTGRP1 */
      "DRBETMD_RS"."DEWNKNR" "DEWNKNR",
      "DRBETMD_RS"."DEBTMCE" "DEBTMCE",
      "DRBETMD_RS"."DEBTMOM" "DEBTMOM",
      NVL("DRBETMD_RS"."DEBTMO2", "DRBETMD_RS"."DEBTMOM")/* ATTRIBUTE NVL_BTMO2.OGRP.DEBTMO2: EXPRESSION */ "DEBTMO2",
      NVL("DRBETMD_RS"."DEBTMO3", "DRBETMD_RS"."DEBTMOM")/* ATTRIBUTE NVL_BTMO3.OGRP.DEBTMO3: EXPRESSION */ "DEBTMO3"
    FROM
      "SRC"."DRBETMD_RS"@"SRCDBP@SAFE_SRC_PRD_RET"  "DRBETMD_RS"
        ;However, generating the preview code in OWB results in a more correct and complete version of the code:
        INSERT
        /*+ APPEND  */
        INTO
          "SA_BETMD_01" "SA_BETMD_01"
          ("DEWNKNR",
          "DEBTMCE",
          "DEBTMOM",
          "DEBTMO2",
          "DEBTMO3",
          "DEBTMO4")
          (SELECT
    /*+ NO_MERGE */
    /* DRBETMD_RS.INOUTGRP1 */
      "DRBETMD_RS"."DEWNKNR" "DEWNKNR",
      "DRBETMD_RS"."DEBTMCE" "DEBTMCE",
      "DRBETMD_RS"."DEBTMOM" "DEBTMOM",
      NVL("DRBETMD_RS"."DEBTMO2", "DRBETMD_RS"."DEBTMOM")/* ATTRIBUTE NVL_BTMO2.OGRP.DEBTMO2: EXPRESSION */ "DEBTMO2",
      NVL("DRBETMD_RS"."DEBTMO3", "DRBETMD_RS"."DEBTMOM")/* ATTRIBUTE NVL_BTMO3.OGRP.DEBTMO3: EXPRESSION */ "DEBTMO3",
      NVL("DRBETMD_RS"."DEBTMO4", "DRBETMD_RS"."DEBTMOM")/* ATTRIBUTE NVL_BTMO4.OGRP.DEBTMO4: EXPRESSION */ "DEBTMO4"
    FROM
      "SRC"."DRBETMD_RS"@"SRCDBP@SAFE_DGN_PRD_RET"  "DRBETMD_RS"
        ;The same goes for other packages, all of which crash due trying to insert NULL values in a mandatory column! (In case, DEBTMO4.)
    Funny enough, if I generate the mapping again a bit later - without making any changes to the mapping - the code is complete and everything works properly.
    Does anyone else ever had this problem? My main problem is that I can't just reproduce this problem, so I can't exactly report it as a bug and expect it to be solved...
    Kind regards,
    Kurt Geens

    Good morning Dave,
    I do mean during deployment. As you probably know all too well, the deployment of a package is split in two parts: generation of the code, and the actual deployment. The internal error occurs during that first part - the generation of code. The exact steps I went through when the error occured are the following:
    1) I selected about 15 mappings, and chose to 'replace' these mappings in the database. The code was generated, with 4 mappings having the forementioned 'internal error'. After pressing the play button the deployment of the 11 remaining packages continued without problem.
    2) Within the same session, I selected the 4 failed mappings, and chose to 'replace' these again. The generation and deployment was succesful - no internal errors occured.
    3) I exited OWB and started a daily workflow process. One of the mappings that had an internal error in step 1 crashed with a 'cannot insert null into' error.
    4) I restarted OWB, opened the mapping, chose to generate the code, and compared the generation result with the package code in the database. This resulted in the difference mentioned in my original mail.
    5) I deployed (replace) the mapping once more, and verified the code in the database. This time the code was complete (no missing column).
    Regards,
    Kurt

  • Encountered IE500 Internal Server Error during rpt generation within a rpt

    Hi,
    I encountered an IE 500 Internal Server Error during the second report generation within a report. The report that was not generated came from another crystal report.
    To clearly illustrate my problem, here is the scenario:  Our application has a reporting module. From the reporting module, the graph reports(e.g bar graph) are generated. The generated graph report also includes the values which was represented in the graph. These values are clickable. When clicking these values, another report will be generated aside from the graph report. The second report will contain the details of the values in the graph report. The first report(graph report) was successfully generated however, the second report(detail report) was not. Instead, the IE 500 Internal Server Error was encountered.
    This scenario works completely using the application with this setup:Crystal XI in Win XP having IIS 5.1 but when tried using the application in this setup: Crystal XI in Win 7 having IIS 7, the error mentioned above was encountered.
    Additional Info: The second report was generated by using the HTML property of the formula field. A url was assigned to the formula field HTML attribute and included in the url is the session id and the report parameters.
    Thanks

    I guess to start with the obvious, IE 500 Internal Server Error resolves to Permission denied: 'GetObject'.
    Before chasing that error, what version of CR and .NET are you using?
    Once we determine that you are using a version of CR that is actually supported on the OS, we can move on to [Process Monitor|http://technet.microsoft.com/en-ca/sysinternals/bb896645.aspx] to see if it tell us something - look for "Access Denied" messages.
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup
    Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]

  • SPAM - SAPKB70016 error during phase Generation of Programs and Screens

    Hi experts,
    I am trying import package SAP BASIS 700 level 16, but i have still errors in phase Generation of Programs and Screens:
    Program /OSP/SAPLR3_REPORT, Include /OSP/LR3_REPORTU38: Syntax error in line 000014
    Type '/OSP/REP_BADI' is unknown
    Program CL_HRBAS_INFTY_BL_COMPUTATION=CP, Include CL_HRBAS_INFTY_BL_COMPUTATION=CI: Syntax error in line 000005
    Type 'HRBAS00INFTYBL' is unknown
    Program CL_HRBAS_OBJECT_OPERATIONS====CP, Include IF_HRBAS_BUF_INTEGRATION_TO_PAIU: Syntax error in line 000007
    Type 'HRBAS_PD_PA_INTEGRATION' is unknown
    Program CL_HRBAS_RHOMBUFFER===========CP, Include IF_HRBAS_BUF_INTEGRATION_TO_PAIU: Syntax error in line 000007
    Type 'HRBAS_PD_PA_INTEGRATION' is unknown
    Program CL_PROXY_WSDL2ABAP============CP, Include CL_PROXY_WSDL2ABAP============CM03G: Syntax error in line 000004
    Type 'SPRX_PROXY_NAMEPROPOSAL' is unknown
    Program CL_WDR_CFG_PERSISTENCE_COMP===CP, Include CL_WDR_CFG_PERSISTENCE_COMP===CM005: Syntax error in line 000014
    Transformation 'WDR_CFG_COMP_TRANSL' has no activeversion
    Program CL_WSSE_PROCESSOR=============CP, Include CL_WSSE_PROCESSOR=============CM009: Syntax error in line 000131
    Transformation 'SEC_SAML_ASSERTION' has no activeversion
    Program SAPLPA_PACKAGE_CHECKS, Include LPA_PACKAGE_CHECKSTOP: Syntax error in line 000030
    Type 'WB_PACKAGE_COMPONENT_CHECK' is unknown
    System is: SAP ERP 6.0 IDES EHP3, kernel221, WIN2003, Oracle 10.2.0.4
    Can you help me pls?

    thank you for your help Sunny
    I solved problem:
    1.)
    Program /OSP/SAPLR3_REPORT, Include /OSP/LR3_REPORTU38: Syntax error in
    line 000014
    Type '/OSP/REP_BADI' is unknown 
    (SE18 -> reactivated Enhancement Spot /OSP/REP_ENH_SPOT  )
    2.)
    Program CL_HRBAS_INFTY_BL_COMPUTATION=CP, Include
    CL_HRBAS_INFTY_BL_COMPUTATION=CI: Syntax error in line 000005
    Type 'HRBAS00INFTYBL' is unknown
    Program CL_HRBAS_OBJECT_OPERATIONS====CP, Include
    IF_HRBAS_BUF_INTEGRATION_TO_PAIU: Syntax error in line 000007
    Type 'HRBAS_PD_PA_INTEGRATION' is unknown
    Program CL_HRBAS_RHOMBUFFER===========CP, Include
    IF_HRBAS_BUF_INTEGRATION_TO_PAIU: Syntax error in line 000007
    Type 'HRBAS_PD_PA_INTEGRATION' is unknown
    Program CL_PROXY_WSDL2ABAP============CP, Include
    CL_PROXY_WSDL2ABAP============CM03G: Syntax error in line 000004
    Type 'SPRX_PROXY_NAMEPROPOSAL' is unknown
    Program SAPLPA_PACKAGE_CHECKS, Include LPA_PACKAGE_CHECKSTOP: Syntax
    error in line 000030
    Type 'WB_PACKAGE_COMPONENT_CHECK' is unknown
    (SE18 -> reactivated types)
    3.)
    Program CL_WDR_CFG_PERSISTENCE_COMP===CP, Include
    CL_WDR_CFG_PERSISTENCE_COMP===CM005: Syntax error in line 000014
    Transformation 'WDR_CFG_COMP_TRANSL' has no activeversion
    CL_WDR_CFG_PERSISTENCE_COMP===CP ,
    Program CL_WSSE_PROCESSOR=============CP, Include
    CL_WSSE_PROCESSOR=============CM009: Syntax error in line 000131
    Transformation 'SEC_SAML_ASSERTION' has no activeversion
    (Tcode STRANS -> reactivated Transformations
    Edited by: Miroslav Mihok on Oct 6, 2009 3:37 PM

  • Package error during bit generation.

    hai,
    while bit generation i am getting these errors.package error.if anyboby know the reason for this error please tell me.
    ERROR:PhysDesignRules:1492 - Incompatible programming for comp mb_plb_M_ABus<29>. The pair of luts SLICEL_B5LUT and
    SLICEL_B6LUT must have a compatible equation, lower bits must be programmed the same. The SLICEL_B5LUT hex equation
    is <O5=0x08080808> and the SLICEL_B6LUT hex equation is <O6=0x607AA67800008888>.
    ERROR:PhysDesignRules:1492 - Incompatible programming for comp mb_plb_M_ABus<29>. The pair of luts SLICEL_C5LUT and
    SLICEL_C6LUT must have a compatible equation, lower bits must be programmed the same. The SLICEL_C5LUT hex equation
    is <O5=0x08080808> and the SLICEL_C6LUT hex equation is <O6=0x607AA67800008888>
    ERROR:PhysDesignRules:1492 - Incompatible programming for comp mb_plb_M_ABus<1>. The pair of luts SLICEL_C5LUT and
    SLICEL_C6LUT must have a compatible equation, lower bits must be programmed the same. The SLICEL_C5LUT hex equation
    is <O5=0x08080808> and the SLICEL_C6LUT hex equation is <O6=0x607AA67800008888>.
    ERROR:PhysDesignRules:1492 - Incompatible programming for comp mb_plb_M_ABus<1>. The pair of luts SLICEL_D5LUT and
    SLICEL_D6LUT must have a compatible equation, lower bits must be programmed the same. The SLICEL_D5LUT hex equation
    is <O5=0x08080808> and the SLICEL_D6LUT hex equation is <O6=0x607AA67800008888>.
    ERROR:Pack:1642 - Errors in physical DRC.
    Mapping completed.
    See MAP report file "system_map.mrp" for details.
    Problem encountered during the packing phase.
    Design Summary
    Number of errors : 32
    Number of warnings : 19
    ERROR:Xflow - Program map returned error code 2. Aborting flow execution...
    make: *** [__xps/system_routed] Error 1
    Done!

    Hi Gaetano;
    Oracle databases are not ceritifed wiht Linux 6 yet. But tim has site entery about this topic
    http://www.oracle-base.com/articles/11g/OracleDB11gR2InstallationOnOracleLinux6.php
    For rpm, you can find all related rpm in dvds, if you can not check below thread:
    RPM confirmation
    Re: Package install for oracle11gr2
    Regard
    Helios

  • Error during GR(very very urgent)

    Hi all,
    i am using a developed program for GR.i used this program before.there was no error.but now i am facing error like
    <b>PO ordered quqntity exceeded by 18,000 EA.</b>.i am using <b>BAPI_GOODSMVT_CREATE</b> for goods transfer.
    In the selection screen, i am putting
    PO number- PO1
    material number- MAT
    GR quantity- 18,000
    delivery order-111
    i want to receive the material MAT of quantity 18,000 from that PO.initially i have ordered PO quntity as 1 lakh. Till now i have received 42,000 materials,now i try to receive 18,000 materials.but it is showing this type of error.
    This error is fired from the return parameter of that BAPI only.error having message class-M7 & error no-022
    is comming.
    i am giving my coding below.plz suggest where is the problem.it is very very urgent.recently my company has added some patches to update the SAP.is this the cause for that error.plz suggest.
    any idea will be highly appreaciated.
    Regards
    REPORT zmui001
           LINE-SIZE 140
           LINE-COUNT 65
           NO STANDARD PAGE HEADING.
    *-- DATA DECLARATION--
    *-- tables
    TABLES : ekpo,
                ekbe,
             marv.
    *--Includes
    INCLUDE : <icon>.                   " Include for Icons
    *-- Types
    TYPES : BEGIN OF t_mseg,
              ebeln LIKE ekko-ebeln,
              name1 LIKE lfa1-name1,
              lifnr LIKE lfa1-lifnr,
              eknam LIKE t024-eknam,
              mblnr LIKE mkpf-mblnr,
              matnr LIKE ekpo-matnr,
              maktx LIKE makt-maktx,
              lgort LIKE mseg-lgort,
              charg LIKE mseg-charg, "chg: 10/17/2005
              menge LIKE mseg-menge,
              budat LIKE mkpf-budat,
              bldat LIKE mkpf-bldat, " chg : 08/18/2003
              xblnr LIKE mkpf-xblnr,
              END OF t_mseg.
    DATA:  BEGIN OF t_ekbe,
              ebeln LIKE ekbe-ebeln,
              ebelp LIKE ekbe-ebelp,
              bwart LIKE ekbe-bwart,
              matnr LIKE ekbe-matnr,
              menge LIKE ekbe-menge,
              END OF t_ekbe,
              BEGIN OF t_ekpo,
              ebeln LIKE ekpo-ebeln,
              ebelp LIKE ekpo-ebelp,
              matnr LIKE ekpo-matnr,
              menge LIKE ekpo-menge,
              END OF t_ekpo.
    TYPES : BEGIN OF t_options.
            INCLUDE STRUCTURE itcpo.
    TYPES : END OF t_options.
    *--Internal tables
    DATA: BEGIN OF i_item OCCURS 50.    "Create Material Document Item
            INCLUDE STRUCTURE bapi2017_gm_item_create.
    DATA: END OF i_item .
    DATA: BEGIN OF i_return OCCURS 20.  "Return parameter
            INCLUDE STRUCTURE bapiret2.
    DATA: END OF i_return.
    DATA: BEGIN OF i_part OCCURS 0,     " Internal table for split data
            part(20),
          END OF i_part.
    DATA: BEGIN OF i_return1 OCCURS 20.  "Return parameter
            INCLUDE STRUCTURE bapiret1.
    DATA: END OF i_return1.
    *-- Work areas
    DATA: BEGIN OF wa_header .       "Material Document Header Data
            INCLUDE STRUCTURE bapi2017_gm_head_01.
    DATA: END OF wa_header .
    DATA: BEGIN OF wa_return .       "Output Structure
            INCLUDE STRUCTURE bapi2017_gm_head_ret.
    DATA: END OF wa_return .
    *-- Work areas
    DATA: wa_mseg TYPE t_mseg,
             wa_ekbe LIKE t_ekbe,
             wa_ekpo  LIKE t_ekpo,
          wa_options TYPE t_options,
           i_ekbe LIKE STANDARD TABLE OF  t_ekbe,
            i_ekbe2 LIKE STANDARD TABLE OF  t_ekbe,
           i_ekpo  LIKE STANDARD TABLE OF  t_ekpo.
    *---Variables
    DATA: v_first,         " variable to get first digit
          v_set TYPE c,
          v_found TYPE p,
          v_menge TYPE p,
          v_ebeln LIKE ekko-ebeln,
          v_lifnr LIKE ekko-lifnr,
          v_belnr LIKE ekbe-belnr,
          v_postdate LIKE mkpf-budat,
          v_bukrs LIKE marv-bukrs,
          v_datum LIKE sy-datum,
          v_lgort LIKE mard-lgort,   " Stge. location
          v_bwart LIKE mseg-bwart,   " Movement type
          v_infnr LIKE eina-infnr,   " Info record no.
          v_ltsnr LIKE eina-ltsnr.
    *---Constants
    CONSTANTS: c_comma TYPE c VALUE ',',   " For splitting data at commas
               c_01(2) TYPE c VALUE '01',  " For movement code in Bapi
               c_b     TYPE c VALUE 'B',   " For mvt. Indicator in Bapi
               c_save(4) TYPE c VALUE 'SAVE', " For button text
               c_clear(5) TYPE c VALUE 'CLEAR', " For clear button
               c_mvmt(4) TYPE c VALUE 'MVMT',
               c_ok(2)   TYPE c VALUE 'OK',
               c_error(5) TYPE c VALUE 'Error'.
    *--SELECTION SCREEN DESIGN--
    SELECTION-SCREEN BEGIN OF BLOCK blk1 WITH FRAME.
    PARAMETERS:     p_bar(75) ,  " Scanned data from barcode
                p_ebeln LIKE ekko-ebeln, " PO number
                p_matnr LIKE ekpo-matnr, " Material number
                p_menge LIKE ekpo-menge, " Quantity
               p_lifnr LIKE ekko-lifnr, " Vendor code
                p_frbnr LIKE mkpf-frbnr, " Reference doc for goods mvt
                p_status(5) TYPE c.
    SELECTION-SCREEN END OF BLOCK blk1.
    SELECTION-SCREEN PUSHBUTTON 15(10) v_save USER-COMMAND mvmt.
    SELECTION-SCREEN PUSHBUTTON 40(10) v_clear USER-COMMAND clear.
      INITIALIZATION -
    INITIALIZATION.
      v_save = c_save .
      v_clear = c_clear.
    *--AT SELECTION_SCREEN--
    AT SELECTION-SCREEN .
      IF sy-ucomm = c_clear.
        PERFORM f_clear.
      ELSE.
        IF sy-ucomm <> c_mvmt.
           if not  sy-tabix is initial and  sy-ucomm <> c_mvmt.
    *--- Extracting the data by splitting the scanned values.
          PERFORM f_get_split_data.
    *--- Validating the input data.
          PERFORM f_check_inputs.
        ELSE .
    *--- Validating the input data.
          PERFORM f_check_inputs.
    *-- Determining the posting date and period check.
          PERFORM f_get_posting_date.
    *---Post goods movement
          PERFORM f_post_receipt.
        ENDIF.
      ENDIF.
               SUBROUTINES                                               *
    *&      Form  f_check_inputs
        Validating the input parameters
    FORM f_check_inputs.
    *-- Validating material no.
      SELECT SINGLE matnr INTO p_matnr
        FROM mara
          WHERE matnr = p_matnr.
      IF sy-subrc = 4.
        p_status =  c_error.
        MESSAGE e003(zm) WITH 'Material no.'.
      ENDIF.
    *-- Validating JHT reference no.
      SELECT SINGLE ebeln
                    lifnr
                    bukrs
                    INTO (p_ebeln, v_lifnr , v_bukrs)
                    FROM ekko
            where unsez = p_unsez. chg:07072003
              WHERE ebeln = p_ebeln.
      IF sy-subrc = 4.
        p_status =  c_error.
        MESSAGE e003(zm) WITH 'Purchase order no.'.
      ENDIF.
    *-- Validating material po combination
      SELECT SINGLE *
           FROM ekpo
             WHERE ebeln = p_ebeln
               AND matnr = p_matnr.
      IF sy-subrc = 4.
        p_status =  c_error.
        MESSAGE e003(zm) WITH 'Purchase order no.' ' and Material no.'.
      ENDIF.
    *--- Checking for DO entry . (chng : 30/06/2003)
      IF  p_frbnr IS INITIAL.
        MESSAGE e018(m7) WITH 'Delivery no.'.
        p_status =  c_error.
        PERFORM f_clear.
      ENDIF.
    *-- Validating material po do combination
      SELECT SINGLE a~belnr
                    INTO v_belnr
                    FROM ekbe AS a
                      INNER JOIN mkpf AS b
                       ON   abelnr = bmblnr
                       AND agjahr = bmjahr
                      WHERE a~ebeln = ekpo-ebeln
                        AND  a~ebelp = ekpo-ebelp
                        AND  b~xblnr = p_frbnr.
      IF sy-subrc = 0.
        MESSAGE e019(zm) WITH v_belnr.
        p_status = c_error.
        PERFORM f_clear.
      ENDIF.
      p_status =  c_ok.
    ENDFORM.                    " f_check_inputs
    *&      Form  f_get_split_data
       Extracting the data by splitting the Scanned data
    FORM f_get_split_data.
    *-- Splitting the data at commas
      SPLIT p_bar AT c_comma INTO TABLE i_part.
    *-- Assigning the parts to variables.
      LOOP AT i_part.
        v_first = i_part-part+0(1).
        TRANSLATE  v_first TO UPPER CASE.
        CASE v_first .
         WHEN 'V'.
           p_lifnr =  i_part-part+1(10).
          WHEN 'P'.
            p_matnr = i_part-part+1(18).
          WHEN 'Q'.
            p_menge = i_part-part+1(13).
          WHEN 'K'.
            p_ebeln = i_part-part+1(10).
          WHEN 'D'.
            p_frbnr = i_part-part+2(16).
          WHEN OTHERS.
            CONTINUE.
        ENDCASE.
      ENDLOOP.
    ENDFORM.                    " f_get_split_data
    *&      Form  f_get_posting_date
    Determing the posting date for document
    FORM f_get_posting_date.
    *-- get the current period for todays date.
      DATA: l_period LIKE t009b-poper.
      CALL FUNCTION 'DATE_TO_PERIOD_CONVERT'
        EXPORTING
          i_date               = sy-datum
          i_periv              = 'K4'
       IMPORTING
         e_buper               = l_period
      E_GJAHR              =
       EXCEPTIONS
         input_false          = 1
         t009_notfound        = 2
         t009b_notfound       = 3
         OTHERS               = 4
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    *-- Determining whether the open period
      SELECT SINGLE *
                    FROM marv
                    WHERE bukrs = v_bukrs.
      IF sy-subrc = 0.
        IF l_period = marv-lfmon .
          v_postdate = sy-datum.
        ELSE.
          CALL FUNCTION 'BAPI_CCODE_GET_FIRSTDAY_PERIOD'
               EXPORTING
                    companycodeid       = v_bukrs
                    fiscal_period       = marv-lfmon
                    fiscal_year         = marv-lfgja
               IMPORTING
                    first_day_of_period = v_postdate
                    return              = i_return1.
          IF NOT i_return[] IS INITIAL.
            LOOP AT i_return1.
              MESSAGE i016(zm) WITH i_return-message.
            ENDLOOP.
          ENDIF.
        ENDIF.
      ENDIF.
    ENDFORM.                    " f_get_posting_date
    *&      Form  f_post_receipt
    Post the goods receipt for entered data.
    FORM f_post_receipt.
      PERFORM f_fill_item.
      PERFORM f_fill_header.
      PERFORM f_execute_transfer.
      PERFORM f_clear.
    ENDFORM.                    " f_post_receipt
    *&      Form  f_fill_item
      Updating the item data for the GR
    FORM f_fill_item.
    Checking for IQC cycle is done here.(chng : 23/07/2003)
      PERFORM f_check_iqc.
    *---- Assigning movement type as per IQC cycle.(chng : 23/07/2003)
      IF v_lgort IS INITIAL.
        MOVE '101'   TO i_item-move_type.
        SELECT SINGLE lgort INTO i_item-stge_loc
        FROM ekpo
         where ebeln  = v_ebeln and  " chg :07/07/2003
           WHERE ebeln  = p_ebeln AND
               matnr = p_matnr .
      ELSE.
        MOVE v_lgort TO i_item-stge_loc.
        MOVE v_bwart TO i_item-move_type.
      ENDIF.
      MOVE p_matnr TO i_item-material.
      MOVE p_menge TO i_item-entry_qnt.
    move v_ebeln to i_item-po_number. " 07/07/2003
      MOVE p_ebeln TO i_item-po_number.
      MOVE v_lifnr TO i_item-vendor.
      MOVE c_b TO i_item-mvt_ind.
    select single ebelp into i_item-po_item " chg :29/07/2003
       from ekpo
          where ebeln  = p_ebeln
            and   matnr = p_matnr
           and elikz = ''.
      SELECT ebeln
                ebelp
                matnr
                menge
                INTO CORRESPONDING FIELDS OF TABLE i_ekpo
                FROM ekpo
                WHERE ebeln = p_ebeln
                   AND matnr = p_matnr
                   AND loekz = '' .
      SORT i_ekpo BY ebeln ebelp matnr.
      LOOP AT i_ekpo INTO wa_ekpo.
        IF v_found = 0.
          SELECT ebeln  ebelp
                bwart  menge
                INTO CORRESPONDING FIELDS OF TABLE i_ekbe
                FROM ekbe
                WHERE ebeln = p_ebeln
                AND ebelp = wa_ekpo-ebelp
                AND matnr = p_matnr.
                          and elikz = '' .  CHG -- 03/19/2004
          IF sy-subrc = 0.
            LOOP AT i_ekbe INTO wa_ekbe .
              IF wa_ekbe-bwart = '101'.
                v_menge = v_menge + wa_ekbe-menge.
              ENDIF.
              IF wa_ekbe-bwart = '102'.
                v_menge = v_menge - wa_ekbe-menge.
              ENDIF.
              IF wa_ekbe-bwart = '122'.
                v_menge = v_menge - wa_ekbe-menge.
              ENDIF.
            ENDLOOP.
    chng: 03/19/2004 compare po qty against receipt
            v_menge = v_menge + p_menge .
            IF wa_ekpo-menge >= v_menge .
              v_found = 1.
              MOVE wa_ekpo-ebelp TO i_item-po_item.
            ENDIF.
          ELSE .
            v_found = 1.
            MOVE wa_ekpo-ebelp TO i_item-po_item.
          ENDIF.
        ENDIF.
        CLEAR : wa_ekbe, i_ekbe, v_menge.
      ENDLOOP.
      IF v_found = 0 .
        MESSAGE e003(zm) WITH ' delivery items'.
      ENDIF.
      APPEND i_item.
      CLEAR : i_item, v_found .
    ENDFORM.                    " f_fill_item
    *&      Form  f_check_iqc
    Checking the storage location for the (chng : 23/07/2003)
    FORM f_check_iqc.
      CALL FUNCTION 'Z_M_GET_IQC_STATUS'
           EXPORTING
                matnr          = p_matnr
                lifnr          = v_lifnr
           IMPORTING
                lgort          = v_lgort
                bwart          = v_bwart
                ltsnr          = v_ltsnr
                infnr          = v_infnr
           EXCEPTIONS
                non_iqc_vendor = 1
                OTHERS         = 2.
      IF sy-subrc <> 0.
        CLEAR : v_lgort , v_bwart , v_ltsnr.
      ENDIF.
    ENDFORM.                    " f_check_iqc
    *&      Form  f_fill_header
      Updating data in the header
    FORM f_fill_header.
      MOVE v_postdate TO wa_header-pstng_date.
      MOVE sy-datum TO wa_header-doc_date.
      MOVE p_frbnr TO wa_header-ref_doc_no.
    ENDFORM.                    " f_fill_header
    *&      Form  f_execute_transfer
          Executing the goods movement.
    FORM f_execute_transfer.
      CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
           EXPORTING
                goodsmvt_header  = wa_header
                goodsmvt_code    = c_01
           IMPORTING
                goodsmvt_headret = wa_return
           TABLES
                goodsmvt_item    = i_item
                return           = i_return.
      IF i_return[] IS INITIAL .
        COMMIT WORK.
    *---  UPdating Info record for IQC cycle ind.(chng : 23/07/2003)
        IF NOT v_ltsnr IS INITIAL.
          UPDATE eina SET ltsnr = v_ltsnr
          WHERE infnr = v_infnr.
        ENDIF.
        REFRESH : i_item.
        CLEAR : wa_header,v_ltsnr , v_infnr,v_bwart,v_lifnr.
        MESSAGE i012(migo) WITH wa_return-mat_doc.
        PERFORM f_do_print.
      ELSE.
        REFRESH : i_item.
        CLEAR : wa_header,v_ltsnr , v_infnr,v_bwart,v_lifnr.
        PERFORM write_errors.
      ENDIF.
    ENDFORM.                    " f_execute_transfer
    FORM write_errors.
      WRITE: 0(90) sy-uline ,
             /0'|',
              3 'System messages for GR posting',
              90 '|',
             /0(90) sy-uline .
      LOOP AT i_return.
        CASE  i_return-type.
          WHEN 'E'.
            MESSAGE i016(zm) WITH i_return-message.
          WHEN 'W'.
            MESSAGE i017(zm) WITH i_return-message.
          WHEN 'I'.
           WRITE: /0'|',
                  icon_yellow_light AS ICON ,
                  '|',
                  10 i_return-message,
                  90 '|'.
            MESSAGE i018(zm) WITH i_return-message.
          WHEN 'S'.
           WRITE: /0'|',
                  icon_green_light AS ICON ,
                  '|',
                  10 i_return-message,
                  90 '|'.
            MESSAGE i018(zm) WITH i_return-message.
          WHEN OTHERS.
           WRITE: /0'|',
                  icon_red_light AS ICON ,
                  '|',
                  10 i_return-message,
                  90 '|'.
            MESSAGE e016(zm) WITH i_return-message.
        ENDCASE.
       AT LAST .
         WRITE:/0(90) sy-uline .
       ENDAT.
      ENDLOOP.
    ENDFORM.                    " write_errors
    *&      Form  f_clear
    Clearing the input parameters
    FORM f_clear.
      CLEAR : p_ebeln ,
              p_bar,
              p_matnr,
              p_frbnr,
              v_lifnr,
              p_menge,
              p_status.

    Hi all,
    can anyone suggest any idea?
    Regrds
    pabitra

  • Report Server Internal Error During Report Generation

    Hi,
    We are running 9iAS on Sun Enterprise server. Though we have
    successfully installed Form & Report Servers. The Form Server is
    running perfectly but while reports are generated from Report
    Server, it gives Internal Server Error (HTTP Error Code: 500) --
    The server has encountered error or misconfiguration...
    Checking the hard disk, we found that the report in PDF file has
    been generated but it gives error being delivered.
    We have no idea what had happened. Can someone kindly enlight me
    some possibilities?

    I guess to start with the obvious, IE 500 Internal Server Error resolves to Permission denied: 'GetObject'.
    Before chasing that error, what version of CR and .NET are you using?
    Once we determine that you are using a version of CR that is actually supported on the OS, we can move on to [Process Monitor|http://technet.microsoft.com/en-ca/sysinternals/bb896645.aspx] to see if it tell us something - look for "Access Denied" messages.
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup
    Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]

  • Error during P.O...urgent

    Hi Gurus,
    I am trying to release P.O for a raw material. But i am getting the error as "for quality reason only 0 ea remain release for procurement"
    Is it a QM issue?
    Can any one help me to find out what is the reason behind this?
    Thanks,
    D.Dutta
    Points guaranted

    Hi
    check for quality info record. If it is maintianed for that particular material then go and remove the check box, if it is blocked.
    Regards,
    satyajit

Maybe you are looking for

  • How to get stock details as on date

    Dear All How to get opening stock and closing stock   details as on date . Tell me any function module is there  to get as on date. Moderator Message: FAQ. Please search in the forums before posting your question. Edited by: Suhas Saha on Nov 4, 2011

  • IPod Nano directory does not show loaded tracks

    I have a 7th Gen iPod Nano that was formatted by iTunes for Windows 7 that does not show the tracks loaded on it once it is ejected. Apple has replaced the Nano twice with no change. Working with AppleCare Support I have removed iTunes and everything

  • Kernel panic 10.6.8

    this is whats showing up as the report Interval Since Last Panic Report:  -5 sec Panics Since Last Report:          1 Anonymous UUID:                    B07AED9C-7C91-4123-B7B3-04E257E43BEA Wed Aug 10 04:12:18 2011 panic(cpu 0 caller 0x2abf6a): Kerne

  • Copying text in Sql*Plus

    I seem to be unable to copy and paste text using the "highlight text and right-click" procedure in Sql*Plus 8.0.6.0.0. The right-mouse button seems to work in everything else so it doesn't seem to be the mouse that is the problem. Does anybody know i

  • MBP eating up all of my bandwidth

    Hello, here is a little background info - these are the computers/devices involved 15" MBP unibody 13" MBP unibody 24" iMac Xbox 360 My router is a Buffalo WHP 54 GS thats been flashed with Tomato. My issue is that the 13" MBP eats up ALL of my bandw