Error M7019 BAPI_GOODSMVT_CREATE - Subcontracting process

Hi,
I am developing a subcontracting process and using the BAPI_GOODSMVT_CREATE to return the goods, but when I do the low inputs (mov 543) the BAPI returns the following message.
TYPE       E
ID               M7
NUMBER      19
MESSAGE Combination of movement type 543  and function selected not possible
LOG_NO     
LOG_MSG_NO     0
MESSAGE_V1        543
MESSAGE_V2     
MESSAGE_V3     
MESSAGE_V4     
PARAMETER            GOODSMVT_ITEM
I'm using GOODSMVT_CODE = "07" (MB04).
When I run the same procedure via transaction MB04 I can create the document.
Has anyone experienced this? Would have any suggestions?
Thanks
Sandra Avila

Hi,
Successfully execute the BAPI using the help of SAP
http://wiki.sdn.sap.com/wiki/display/ERPSCM/HowToGoodsMovementswith+BAPI#HowToGoodsMovementswithBAPI-MoreinformationonLINEIDandPARENTID
Thanks to all
Sandra Avila

Similar Messages

  • Error while releasing Billing document in Subcontract process

    Hi All,
    We are working on Subcontract process as explained below:
    Company code X purchases the component A and sends it to Company code Y on Subcontract. Company codes X and Y belongs to one company using single operative chart of Accounts, Controlling area & operating concern. FI configuration has been maintained in OBYA by treating above company codes Inter company GLs. The component A is sent to company code Y as non value added item. Through 501 movement type, as the component is sent by Company code X.
    Company code Y will add some components (like B,C and charges some expenses as service component D for preparing Finished good) and send this FG to Company code X. For this company code Y will raise a Sales order and followed by MRP run and Production order is created.
    In VA02 of above Sales Order, while entering Item details, where the Settlement rule is asking for PA Transfer structure (in Account assignment tab of Item details) and giving the following error analysis:
    Enter a PA transfer structure
    Message no. KD 044
    Diagnosis
    A PA transfer structure is required for settlement to profitability analysis.
    System Response
    You cannot save this settlement rule.
    Procedure
    Enter a PA transfer structure. To do this, choose the "Parameters" function in the settlement rule. As part of customizing, you can also store a default value for the PA analysis structure, in the settlement profile. The system then uses this default value when you enter a settlement rule.
    In addition to above, another issue has raised while releasing the Billing document after doing PGI. Accounting document is not getting generated and while releasing the Billing document (VF02) it is throwing an error as
    “Enter profitability segment as cost object for Revenue and COGS posting”
    Message no. ZC 001.
    MM,PP,SD & FICO configuration settings maintained:
    1. All required OBYC settings
    2. All cost element and Cost element categories have been maintained
    3. From MM side the system is generating FI & CO documents
    4. Settlement profile in Production Order type is maintained (in KOT2). Allocation structure and PA transfer structure were maintained in (OK06, OK07 & KEI1).  In PA transfer structure we have assigned the required Sources and Value fields and settlement cost elements.
    5. In VKOA condition types KOFI and KOFK were maintained for relevant Customer & Material Account Assignment groups.
    6. Required settings have maintained in OKB9.
    Movement types 501 (sub contract), Received back to Company code X through Movement  type 101. In spite of these settings still we are getting the above mentioned errors.
    Could any one help to provide some inputs on the above issue as early as possible.
    Thanks in advance.

    Hi,
    check  in the sales order line item procurement tab . u can get the requirement type. in SPRo check the requiremnt class for the requirement type. in that requirement clas u will get settrlemnt profile for the sales order. Check that settlemnt profile there u have to maintain the PA transfer structure.
    I think both problem will get solved by maintaing the PA structure..
    You are doing sales order costing right....and i hope it is non vsaluated sales order costing .....
    If help ful please assign points.
    cheers
    Prabhat

  • ME59N - Intercompany Third party subcontracting Process

    Hi Experts,
    In Intercompany third party subcontracting process, PR is created from the sales order. PR has the account assignment category X and Item Category L.
    Fixed source of supply exists. Subcontracting Info record has been created.
    Material components icon has been deactivated as it is generating from Sales order.
    While using ME59N, it throws Requisition could not be converted. One of our collegues told that if the subcontracting item has been automatically generated from SD Module, then ME59N will not convert the PR to PO.
    Please let me know if there are any settings needs to be done. Or standard ME59N will not convert the above scenario.
    by
    Prabhu

    There is no restrication that Automatic PO will not be created if the PR is created from the Sales Order.
    Please elobarate on the exact error you are getting.
    However please follow & check if these general settings are in place.
    1.Material has the auto PO checked in Material Master.
    2. Vendor has the Auto PO checked in Vendor Master.
    3.Source list is maintained if material master has source list checked.
    4.Valid conditions exist in the Sub Contracting info record.
    5.Right variant ex - doctype,Plant etc exist or are entered in ME59N.

  • Subcontract Process with vendor supplied component

    Hi,
    We have a subcontracting process, when we send 3 components to the vendor, the vendor apply another component and return the semi finished to me.
    I have a BOM of this semi finished Good that includes all the 4 components.
    We sent the 3 components via mb1b.
    We create a PO of the Semi Finished Good if we verified the components the 4 components are there.
    When we try to receive via MIGO and click in verify The 3 itens that I send is OK ... But the item that is supplied by the vendor show me an error message that there is no stock.
    What should I do to receive the component supplied by the vendor ?

    Hello,
    1. Create subcontracting with item category "L"  and second line item in same PO enter with Item cateogroy means STD.
    2. Item level of the  Delivery address tab, tick SC Vendor and enter the same Vendor code there.
    3.Go for  GR for only for  2nd line item first. This stock will automatically picks 101 O Mvt, and u can view this stock as Vendor stock.
    Check MMBE  stock overview , Material is showing provided to Vendor at plant level.
    4. Provide other 3 components with MB1B- 541 Mvt.
    5. Go for second GR for finished Product.
    4th Material shown as Material provided to Vendor in stock overview. if you want to get back that same material to your stock. reverse that stock use  t code MB1B with help of Movement type 542.
    Or else.
    Through subsequnet settelement you can send the 4th Material to your subcontrcator MB04.
    Regards
    Mahesh Naik

  • Options in excise tab ( subcontracting Process)

    HI,
    Subcontracting business process
    i am getting No excise duty, Create RG23D, and create RG23D for existing excise invoice options in Excise invoice tab at MIGO.
    i have checked above settings in the system...but still the same error
    please suggest
    Regards,
    Girish

    Hi,
    If you are making a process of Subcontracting , then you should be able to get Refer Subcontracting Challan in MIGO , for that in CIN--> Plant Setting you should REMOVE Tick from Depot against that plant  also check that for the Excise Group if it is a subcontracting process Depot Setting should NOT be there.
    If you put a tick against Depot in CIN --> Plant Setting and Depot Setting for the Excise Group, you will get RG23D tabs in MIGO
    Regards,
    Vikas

  • PPDS Subcontracting Process

    Hello Experts,
    I am trying to replicate the subcontracting process through PP/DS run.
    Business case: Handover the components from the destination location (DEST) to the subcontracting vendor (SUBV) to manufacture the finished goods. There is absolutely no operation that we do related to this. Subcontracting vendor provides us back the finished goods and we sell it.
    Steps I followed:
    1. For the finished goods product, I have created the BOM which includes the components which we handover to subcontracting vendor.
    2. I have defined the finished goods product as procurement type X and Special Procurement key as 30 (Subcontracting)
    3. The PDS is created. With production line as Subcontracted workcenter. Routing set up as N.
    4. On the APO system, I have created a handling resource and assigned to model 000 and then assigned this Inbound handling resource for the location DEST. Please note that SUBV is not part of our supply chain, we are planning without source location.
    5. Inforecord is created as a subcontracting inforecord and Production version is assigned at this Inforecord.
    6. SUBV is CIFfed, Part is CIFfed, PDS is CIFfed, Subcontracting Inforecord is CIFfed and it created the transportation lane as well and default means of transport is assigned (and not product specific means of transport). Also there is no transportation resource assigned to this means of Transport.
    7. Now when I ran the PP/DS Heuristics, it creates a Planned order. At this point, there is no subcontracting purchase req or order created on ERP system. And we don't CIF the planned order as well to ERP.
    8. Now I trigger the convert planned order to production order manually by setting the conversion indicator. At this moment, a production order of type PP01 is created on ERP system. And this production order is also visible on APO system.
    But the issue is still there is no Subcontracting purchase requisition or Subcontracting purchase order created in the ERP system. Is there something else like a basic settings which I am basically missing? Or is there anything wrong in my steps?
    Thanks,
    Suresh

    Hi Shankar,
    Yup, I can see the PDS. And regarding the second point, planned order is created as Inhouse. And it doesn't choose the subcontracting PReqs. I see the following error message, if I try to change the source of supply as Externally procured. I have maintained the Inbound Handling resource on DEST location. But I haven't maintained any transportation resource. Is there anything I am doing wrong?
    Subcontracting PurchReq from location SUBV to loation DEST not created
    Message no. /SAPAPO/RRP156
    Diagnosis
    The following causes are possible:
    No handling resource has been specified in one of the locations involved.
    No transportation resource has been specified in the transportation lane between the locations.
    These resources must be available for subcontracting since the system executes detailed scheduling for the relevant orders on the basis of the resource calendar. (The relevant orders are a purchase requisition in your own location and a planned order at the subcontractor's location. The orders are linked by a cross-order relationship.)
    System Response
    The system cannot create the subcontracting purchase requisition.
    Procedure
    Enter the resources required in the location or in the transportation lane.
    Thanks,
    Suresh

  • About subcontracting process

    Hi Sap Gurus,
    While doing the GR for subcontracting process I am getting this error message:
    Field selection for mvmt type 543 / acct 400020 differs for Business Area (033)
    So what could be the possible solution?
    Thanks
    Sha

    Hi
    the problem relates to incompatibility of fields between movement type 543 and G/L Account 400020.
    example;Some fields of 543 movement type are optional and the same fields are suppressed at g/l account level.
    in your case the incompatibility may be in Business area level.
    In order to know which fields are in compatible, you can run programme RM07CUFA.
    after you get the above error, you go to se38 and give the above program and see the incompatible fields in red color.
    Please revert to me in case of difficulty.
    Prasad

  • Subcontract Process: Over Delivery is happening

    Hi Friends
    I have configured for  two delivery item categories in order to avoid  over delivery as below .
    ZTAN ;   B Situation rejected with an error mess
    Note: Delivery Item category u201CZTANu201D is for normal business scenario , first sales order followed by delivery .
    LBN : B Situation rejected with an error mess.
    Note: Delivery item category u201CLBNu201D  Subcontract process , first Purchase requisition and PO are created , followed by subcontract delivery, LB .
    Even though  I made this configuration setting for delivery item category , for avoiding over delivery , LB delivery is not throwing any error , it is simply accepting over delivery.
    I.e , when  are only 100 quantities in PO , at delivery level system is accepting 1000 quantities  despite over delivery configuration settings .
    Can I request you to  help on  how to control over delivery for subcontract process ?  . 
    Thanks In Advance
    Jaya

    Dear Jaya
    Subcontracting is basically a MM process and initiated by a purchase order and not by sales oder
    Thedelivery item category controls ( 0VLP) or zero VLP controls will not work at all
    Delivery item category controls will work only if the delivery process is triggered with sales order and will not work for purchase orders even the STO is also purchase order only there also over delivery can not be controlled by zero VLP controls
    So in your case also it will not work
    It needs to be done thro userexit or development
    But from MM side they have a lot of specific controls for delivery tolerances for purchase orders like over delivery tolerance and under delivery tolerance etc like some % defined
    Check with your MM colleague
    Hope this information helps you
    Regards
    Raja
    Edited by: ramanathan raja on Feb 16, 2009 6:06 PM

  • Intercompany - Subcontracting Process

    Hi
    We have a subcontracting process where RM/PM is issued by Parent company and other company charges processing fees and sends back FG to parent company.
    So this is typically a subcontracting process in SAP where one company sends the material to vendor( 2nd company ) and vendor processes the goods for 1st company and charges processing fees. In 1st company stock will be reflected as stock with vendor and in vendor books (2nd company), this stock will be not appear.
    Both the companies are on SAP and using same client.
    Now our requirement is as under -
    1. Parent Company needs Inventory tracking which is being issued to Vendor for their materials ( because both the companies are on SAP )
    2. Vendor needs to generate an invoice for processing fees with following details:
    1. Material Produced
    2. Quantity produced
    3. Batch details
    This is legal requirement where Invoice should capture Processing charges details at the time of dispatch..
    Kindly advice how this scenario can be mapped with above details. Issues which we are facing are :
    1.     If we use simple sub contracting process, material tracking is not possible in Parent Company
    2.     When material is issued to Vendor (Company Code 2), How to receive/dispatch FG material in Vendor so that complete processing in PP can be mapped. 
    thanks,
    Manoj

    There is no restrication that Automatic PO will not be created if the PR is created from the Sales Order.
    Please elobarate on the exact error you are getting.
    However please follow & check if these general settings are in place.
    1.Material has the auto PO checked in Material Master.
    2. Vendor has the Auto PO checked in Vendor Master.
    3.Source list is maintained if material master has source list checked.
    4.Valid conditions exist in the Sub Contracting info record.
    5.Right variant ex - doctype,Plant etc exist or are entered in ME59N.

  • Error while invoking a process

    Hi Team,
    I get the following error while invoking a process.
    ALC-DSC-125-000: com.adobe.idp.dsc.registry.EndpointNotEnabledException: SOAP endpoint is not enabled for: ExtractingXML/ReadResource
    at com.adobe.idp.dsc.provider.impl.base.AbstractMessageReceiver.validateEndpoint(AbstractMes sageReceiver.java:258)
    at com.adobe.idp.dsc.provider.impl.soap.axis.sdk.SoapSdkEndpoint.invokeCall(SoapSdkEndpoint. java:136)
    at com.adobe.idp.dsc.provider.impl.soap.axis.sdk.SoapSdkEndpoint.invoke(SoapSdkEndpoint.java :81)
    at sun.reflect.GeneratedMethodAccessor755.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:397)
    at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:186)
    at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:323)
    at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
    at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
    at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
    at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:454)
    at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281)
    at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:699)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
    at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper. java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
    at com.adobe.idp.dsc.provider.impl.soap.axis.InvocationFilter.doFilter(InvocationFilter.java :43)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
    at com.adobe.idp.um.auth.filter.CSRFFilter.doFilter(CSRFFilter.java:41)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletC ontext.java:3496)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(Unknown Source)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2 180)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Can anyone please help me with this error.

    I checked my server (which has all the default Adobe services) and the only service I have that comes close is:
    the Repository service's "Read Resource Content" operation.  In the list that comes up as RepositoryService. 
    The Barcode's Extract to XML service.  In the list that comes up as                BarcodedFormsService
    Neither of these is an exact match to the error. Is your process calling a sub process you built?  Does that service actually exist on the server?  If you do a record/playback (in workbench) on which step does the process fail?
    If you look through the entire list of SOAP services (in Adminui) are any of them disabled?

  • A critical error has occured. Processing of the service had to be terminate

    When manager wants to approve the employee leave request its giving following error.
    Critical Error
    A critical error has occured. Processing of the service had to be terminated. Unsaved data has been lost.
    Please contact your system administrator.
    Critical Error
    A critical error has occured. Processing of the service had to be terminated. Unsaved data has been lost.
    Please contact your system administrator.
      Access via NULL object reference not possible., error key: RFC_ERROR_SYSTEM_FAILURE   
      Access via NULL object reference not possible., error key: RFC_ERROR_SYSTEM_FAILURE:com.sap.tc.webdynpro.modelimpl.dynamicrfc.WDDynamicRFCExecuteException: Access via NULL object reference not possible., error key: RFC_ERROR_SYSTEM_FAILURE
         at com.sap.tc.webdynpro.modelimpl.dynamicrfc.DynamicRFCModelClassExecutable.execute(DynamicRFCModelClassExecutable.java:101)
         at com.sap.xss.hr.lea.form.FcForm.getCustomizing(FcForm.java:1020)
         at com.sap.xss.hr.lea.form.FcForm.onInit(FcForm.java:417)
         at com.sap.xss.hr.lea.form.wdp.InternalFcForm.onInit(InternalFcForm.java:2053)
         at com.sap.xss.hr.lea.form.FcFormInterface.onInit(FcFormInterface.java:184)
         at com.sap.xss.hr.lea.form.wdp.InternalFcFormInterface.onInit(InternalFcFormInterface.java:1911)
         at com.sap.xss.hr.lea.form.wdp.InternalFcFormInterface$External.onInit(InternalFcFormInterface.java:2007)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent$FPM.attachComponentToUsage(FPMComponent.java:922)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent$FPM.attachComponentToUsage(FPMComponent.java:891)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent$FPMProxy.attachComponentToUsage(FPMComponent.java:1084)
         at com.sap.xss.hr.lea.worklist.VcWorkList.onInit(VcWorkList.java:267)
         at com.sap.xss.hr.lea.worklist.wdp.InternalVcWorkList.onInit(InternalVcWorkList.java:363)
         at com.sap.xss.hr.lea.worklist.VcWorkListInterface.onInit(VcWorkListInterface.java:164)
         at com.sap.xss.hr.lea.worklist.wdp.InternalVcWorkListInterface.onInit(InternalVcWorkListInterface.java:144)
         at com.sap.xss.hr.lea.worklist.wdp.InternalVcWorkListInterface$External.onInit(InternalVcWorkListInterface.java:220)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent.doProcessEvent(FPMComponent.java:564)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent.doEventLoop(FPMComponent.java:438)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent.wdDoInit(FPMComponent.java:196)
         at com.sap.pcuigp.xssfpm.wd.wdp.InternalFPMComponent.wdDoInit(InternalFPMComponent.java:110)
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.doInit(DelegatingComponent.java:108)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
         at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.init(ClientComponent.java:430)
         at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:362)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.initApplication(ApplicationSession.java:756)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:291)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:713)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:666)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:250)
         at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(AccessController.java:219)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
    Caused by: com.sap.aii.proxy.framework.core.BaseProxyException: Access via 'NULL' object reference not possible., error key: RFC_ERROR_SYSTEM_FAILURE
         at com.sap.aii.proxy.framework.core.AbstractProxy.send$(AbstractProxy.java:150)
         at com.sap.xss.hr.lea.model.LeaveRequestAdaptiveModel.pt_Arq_Customizing_Get(LeaveRequestAdaptiveModel.java:392)
         at com.sap.xss.hr.lea.model.Pt_Arq_Customizing_Get_Input.doExecute(Pt_Arq_Customizing_Get_Input.java:137)
         at com.sap.tc.webdynpro.modelimpl.dynamicrfc.DynamicRFCModelClassExecutable.execute(DynamicRFCModelClassExecutable.java:92)
         ... 47 more
       kindly help ASAP,

    Hi,
    Did you give enough authorizations to the user at the beack end.
    Just Try giving SAP_ALL authorizations and check.
    Regards,
    Santhosh

  • Error in executing a process for compilation for jsp

    We have an iView which has jsp pages in it. We deployed the par & try toaccess the iview & we get an exception. The issue is that the iview has a jsp page. At the run time, this jsp is converted into a .java file
    without problem. But EP engine is having issues compiling this java fileinto .class file.
    On the other hand this same iview works just fine on our windows installation. Only Solaris EP install is having problems. The version onwindows as well as on Solaris is EP6 SP9.
    Here is the exact version on the solaris EP:
    sap.com/SAP-JEECOR 6.40 SP9 (1000.6.40.9.0.20041119045253) 20041122132733
    sap.com/SAP-JEE 6.40 SP9 (1000.6.40.9.0.20041119045409) 20041122132741
    When I copy the .class file from windows to unix machine, the iView works fine. Here is the exception I am getting:
    >>> JSPCompiler >>> error
    [email protected]a188b
    [EXCEPTION]
    com.sapportals.portal.prt.servlets_jsp.server.compiler.CompilingException:
    Error in executing a process for compilation
    at
    com.sapportals.portal.prt.servlets_jsp.server.compiler.impl.J2eeCompiler_6_30.launchCompilerProcess(J2eeCompiler_6_30.java:574)
    at
    com.sapportals.portal.prt.servlets_jsp.server.compiler.impl.J2eeCompiler_6_30.compileExternal(J2eeCompiler_6_30.java:370)
    at
    com.sapportals.portal.prt.servlets_jsp.server.compiler.impl.J2eeCompiler_6_30.compile(J2eeCompiler_6_30.java:672)
    at
    com.sapportals.portal.prt.servlets_jsp.server.jsp.JSPParser.parse(JSPParser.java:2143)
    at
    com.sapportals.portal.prt.servlets_jsp.server.jsp.JSPCompiler.compile(JSPCompiler.java:76)
    at
    com.sapportals.portal.prt.servlets_jsp.server.jsp.JSPCompiler.run(JSPCompiler.java:122)
    at
    com.sapportals.portal.prt.core.broker.JSPComponentItem.compileJSP(JSPComponentItem.java:279)
    at
    com.sapportals.portal.prt.core.broker.JSPComponentItem.getComponentInstance(JSPComponentItem.java:129)
    at
    com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.service(PortalComponentItemFacade.java:355)
    at
    com.sapportals.portal.prt.core.broker.PortalComponentItem.service(PortalComponentItem.java:934)
    at
    com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:435)
    at
    com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:527)
    at
    com.sapportals.portal.prt.component.AbstractComponentResponse.include(AbstractComponentResponse.java:89)
    at
    com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:232)
    at com.sapportals.portal.htmlb.page.JSPDynPage.doOutput(JSPDynPage.java:76)
    at
    com.sapportals.htmlb.page.PageProcessor.handleRequest(PageProcessor.java:129)
    at
    com.sapportals.portal.htmlb.page.PageProcessorComponent.doContent(PageProcessorComponent.java:134)
    at
    com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
    at
    com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
    at
    com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
    at
    com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
    at
    com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
    at
    com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
    at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:646)
    at
    com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
    at
    com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
    at
    com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
    at
    com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
    at
    com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:232)
    at
    com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:522)
    at java.security.AccessController.doPrivileged(Native Method)
    at
    com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at
    com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:153)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at
    com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:385)
    at
    com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:263)
    at
    com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:340)
    at
    com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:318)
    at
    com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:821)
    at
    com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:239)
    at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
    at
    com.sap.engine.services.httpserver.server.Processor.request(Processor.java:147)
    at
    com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
    at
    com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(Native Method)
    at
    com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162)
    I am having the same issue with another iview which has jsp page in it.
    The web dynpro iview works fine.

    Hi, seems like there's some typo in your jsp. Check the .java file listed with a java editor (like eclipse or devstudio.). Maybe you'll find the typo this way faster.
    Most often, a multiline page import hampers jsp compilation,
    e.g.
    <%@page import="java.util.List,
                    java.util.Map"%>
    needs to be
    <%@page import="java.util.List,java.util.Map"%>
    Regards,
    Armin

  • Error in executing a process for compilation

    Hi:
    Our portal version is 6.0.2.28.0 (SAPJ2EE PL29)
    we have the following problem:
    1.- the developer upload a component in portal, but when he tries to run it, the following error appears:
    Mar 28, 2005 4:22:06 PM # Client_Thread_8      Fatal           >>> JSPCompiler >>> ERROR in Compiling :JSPFileInfo :4782283
    JSP File : /usr/sap/J2EE_DP3/j2ee/j2ee_00/cluster/server/services/servlet_jsp/work/jspTemp/irj/root/WEB-INF/portal/portalapps/PRUEBA
    _PCCLibragestMostrarPlantillas/pagelet/MostrarPlantillas.jsp
    Class Name: sapportalsjspMostrarPlantillas
    Java File : /usr/sap/J2EE_DP3/j2ee/j2ee_00/cluster/server/services/servlet_jsp/work/jspTemp/irj/root/WEB-INF/portal/portalapps/PRUEB
    A_PCCLibragestMostrarPlantillas/work/pagelet/_sapportalsjsp_MostrarPlantillas.java
    Package Name : pagelet
    Class File : /usr/sap/J2EE_DP3/j2ee/j2ee_00/cluster/server/services/servlet_jsp/work/jspTemp/irj/root/WEB-INF/portal/portalapps/PRUE
    BA_PCCLibragestMostrarPlantillas/work/pagelet/_sapportalsjsp_MostrarPlantillas.class
    Is out dated : false
    com.sapportals.portal.prt.servlets_jsp.server.compiler.CompilingException: Error in executing a process for compilation
    2.- If I stop/start SAPJ2EE the component, which was uploaded before,can be run without problem, but if you upload it again,when you try to run it again, the compilation error appears
    Any suggestion???
    Thanks

    Hi:
    the problem was not resolved deleting/uploading the components, the problem was resolved increasing the memory in the host and tuning the JVM memory parameters.
    In our host the memory was reduced and this was the origin of the problem
    Thanks

  • Error in creating a process using runtime class - please help

    Hi,
    I am experimenting with the following piece of code. I tried to run it in one windows machine and it works fine. But i tried to run it in a different windows machine i get error in creating a process. The error is attached below the code. I don't understand why i couldn't create a process with the 'exec' command in the second machine. Can anyone please help?
    CODE:
    import java.io.*;
    class test{
    public static void main(String[] args){
    try{
    Runtime r = Runtime.getRuntime();
         Process p = null;
         p= r.exec("dir");
         BufferedReader br = new BufferedReader(new InputStreamReader(p.getInputStream()));
         System.out.println(br.readLine());
    catch(Exception e){e.printStackTrace();}
    ERROR (when run in the dos prompt):
    java.io.IOException: CreateProcess: dir error=2
    at java.lang.Win32Process.create(Native Method)
    at java.lang.Win32Process.<init>(Win32Process.java:63)
    at java.lang.Runtime.execInternal(Native Method)
    at java.lang.Runtime.exec(Runtime.java:550)
    at java.lang.Runtime.exec(Runtime.java:416)
    at java.lang.Runtime.exec(Runtime.java:358)
    at java.lang.Runtime.exec(Runtime.java:322)
    at test.main(test.java:16)
    thanks,
    Divya

    As much as I understand from the readings in the forums, Runtime.exec can only run commands that are in files, not native commands.
    Hmm how do I explain that again?
    Here:
    Assuming a command is an executable program
    Under the Windows operating system, many new programmers stumble upon Runtime.exec() when trying to use it for nonexecutable commands like dir and copy. Subsequently, they run into Runtime.exec()'s third pitfall. Listing 4.4 demonstrates exactly that:
    Listing 4.4 BadExecWinDir.java
    import java.util.*;
    import java.io.*;
    public class BadExecWinDir
    public static void main(String args[])
    try
    Runtime rt = Runtime.getRuntime();
    Process proc = rt.exec("dir");
    InputStream stdin = proc.getInputStream();
    InputStreamReader isr = new InputStreamReader(stdin);
    BufferedReader br = new BufferedReader(isr);
    String line = null;
    System.out.println("<OUTPUT>");
    while ( (line = br.readLine()) != null)
    System.out.println(line);
    System.out.println("</OUTPUT>");
    int exitVal = proc.waitFor();
    System.out.println("Process exitValue: " + exitVal);
    } catch (Throwable t)
    t.printStackTrace();
    A run of BadExecWinDir produces:
    E:\classes\com\javaworld\jpitfalls\article2>java BadExecWinDir
    java.io.IOException: CreateProcess: dir error=2
    at java.lang.Win32Process.create(Native Method)
    at java.lang.Win32Process.<init>(Unknown Source)
    at java.lang.Runtime.execInternal(Native Method)
    at java.lang.Runtime.exec(Unknown Source)
    at java.lang.Runtime.exec(Unknown Source)
    at java.lang.Runtime.exec(Unknown Source)
    at java.lang.Runtime.exec(Unknown Source)
    at BadExecWinDir.main(BadExecWinDir.java:12)
    As stated earlier, the error value of 2 means "file not found," which, in this case, means that the executable named dir.exe could not be found. That's because the directory command is part of the Windows command interpreter and not a separate executable. To run the Windows command interpreter, execute either command.com or cmd.exe, depending on the Windows operating system you use. Listing 4.5 runs a copy of the Windows command interpreter and then executes the user-supplied command (e.g., dir).
    Taken from:
    http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html

  • Error in executing a process for Flex compilation ....exceeds 32K...

    Hi,
    deployin my model i get the following error-message.
    "Error in executing a process for Flex compilation, Error: Branch between 64935 and 97770 around line 0 exceeds 32K span. If possible, please refactor this component.
    Error: Branch between 64935 and 97770 around line 0 exceeds 32K span."
    Do i delete a sort-element from my model it is deployed very well. So what does this message exactly mean and how can I locate where the error occurs and how can i fix that problem because i need this sort-element to be in my model.
    Thanks for your help!
    Tobias

    Hi Tobias,
    You are receiving this error due to a current limitation in the Flex server. How you can fix this is to split the iView you are currently working on into two iViews, and embed one within the other. This will decrease the size of the current iView you are receiving the error for and eliminate this problem.
    Hope this helps
    Cheers,
    Scott

Maybe you are looking for

  • With Multiple Gradients Click&Hold on the dot shows mask and freezes movement

    In LR CC I noticed that if is used multiple gradients, if I switch gradient by clicking on the grey dot, it activates but then it can't be moved. Instead the mask shows. I'm use to be able to move the gradient, and if I needed the mask to show I hove

  • Get the response instead of loading it in the browser

    HI. I would like to make a little program that would read the response of a request to a web page. I'm cant find how to do it. Everything i can foud call's the URL but loads th result in the initial browser window. Heres what I want : 1- A friend as

  • Media Transfer 1.41 deletes all music files

    When i updated media transfer to 1.41 this problem apeared: it first deletes all music files on the phone before it syncs them. If i sync one mp3 file it takes 1-2 hours for media sync to first delete all files ant then copy all files to the phone. (

  • My source does not compile in 1.5 because of generics in libraries

    Hi, I have a problem with my source codes written for 1.3 and 1.4 java. I have been implementing Iterator, Collection, List and extending ArrayList in many ocassions. All works as expected in 1.4 but if I try to compile it with 1.5 it does not compil

  • BPM integration with UCM

    Hi, Can any one suggest me how to integrate BPM with UCM. My requirement is with a human task in BPM i should able to attach a file or document and that particular file should be stored in UCM. Thanks & Regards : PRAMEELA PADAM