Error while generating Work Order

I have a problem while generating Work orders in SNC.
I set the configuration as belows.
<General setting for Work Order generation>
1.Granularity -> Work Order per Purchase Order Item
2.Create WOs with Report -> Check
3.Publish Work Order Upon Creation and PO change -> check
4.Send Work Order Information -> Upon Agreement and when a Phase Is Completed
5.Send Production Progress Notification -> When a Phase Is Completed
<Phase Structure>
1.Comp. from SC Order -> Use SC Comp. as Input, Product and Co-Products as Output
<Master Data Assignment>
1.MD Used for WO -> Phase Structure
2.Active -> Check
When I use the program /SCA/WO_CREATE for generate Work Orders, Run time error occurs with below messages.
Runtime Errors         OBJECTS_OBJREF_NOT_ASSIGNED
Except.                CX_SY_REF_IS_INITIAL
<Error analysis>
The exception, which is assigned to class 'CX_SY_REF_IS_INITIAL', was not caught in
procedure "GET_PIO_LCTYPE" "(METHOD)", nor was it propagated by a RAISING clause.
Since the caller of the procedure could not have anticipated that the exception would occur, the current program is terminated.
The reason for the exception is:
You attempted to use a 'NULL' object reference (points to 'nothing')
access a component (variable: "LS_NODEREF-R_NODE").
An object reference must point to an object (an instance of a class)
before it can be used to access components.
Either the reference was never set or it was set to 'NULL' using the
CLEAR statement.
<Missing RAISING Clause in Interface>
Program                                 /SCA/CL_WO_PHASE==============CP
Include                                 /SCA/CL_WO_PHASE==============CM00V
Row                                     1
Module type                             (METHOD)
Module Name                             GET_PIO_LCTYPE
<Trigger Location of Exception>
Program                                 /SCA/CL_WO_PHASE==============CP
Include                                 /SCA/CL_WO_PHASE==============CM00V
Row                                     45
Module type                             (METHOD)
Module Name                             GET_PIO_LCTYPE
Please let me know what I have to do for this error.
Thanks and Regards
JT

Hi JT
Clearly the problem is with the method GET_PIO_LCTYPE of interface /SCA/CL_WO_PHASE
Check whether note 1363834 should be implemented
It could be because of some corrupted WO entries in database
or some customizing entry it is expecting
suggest you to debug the method and try to check what it is expecting
Best Regards
Vinod

Similar Messages

  • Error while creating Work Order

    Hello Experts,
    I am getting below error while creating work order via add-on named beas but the error seems to coming from SBO.
    Please advise.
    Thanks
    Deepak

    Hi,
    Plz check this thread:
    What does this error mean?

  • Error while creating work order from purchase order

    Dear All,
    We are having a subcontracting scenario where we are creating a Work order from PO but getting the below error.
    Error - "No master data assigned to partners-locations-product combination."
    Done all the setting mentioned in the below thread but the error still persist.
    Error in Generating Work order from Purchase Order
    Any suggestions on which master data we need to check?
    Thanks,
    mahesh.

    Hi Mahesh
    In the below transaction
    /SCA/MFGCFG - Work Order Configuration
    Can you maintain Master data Assigment properly
    Valid From
    Valid To
    Active---Checked
    Can you please list what you maintained
    Regards
    Vinod

  • Error while generating Work Schedules

    Hello,
    I am trying to generate Work Schedules manually. I have configured all the previous steps like creating daily WS, Period WS, assigning PSA grouping, assigning Public Holidays etc. When I generate Work Schedules manually, I get the following error message -
    Error while accessing public holiday calendar on 20110101
    Diagnosis
    The function module HOLIDAY_CHECK_AND_GET_INFO has generated an error.
    Please guide.
    Thanks.

    Hi,
    First check the validity period of your Holiday calendar.  If it is until 2010, then the Validity needs to be extended beyond 2010, Write to SAP and ask them to extend the validity period for your Holiday calendar.  Once the validity is extende then generate the workschedules.  As of now generate the workschedules until 112010.
    Regards
    Sri

  • Error while generating Production Order from Recommondation Report

    Hi..
    I have got few production orders to be created through Recommendation Report. 
    After getting them 'Checked' when i try to create production order, following error message appears :
    No matching records found 'Product Tree' (OITT) (ODBC - 2028) [message 131-183]
    Please let me know what went wrong ?
    Regards
    Rakhi

    Hi.......
    I think you are trying to make production orders who has no BOM. First prepare BOM and then Create Production Order from Recomemdation Report. Because it supports only Standard Production Order and not Special......
    Regards,
    Rahul

  • Custom Purchase Order template causes Error while generating PDF

    The standard XSLFO works, my custom one errors:
    History of the world:
    1) I downloaded the XML Publisher thing for Word, installed it no problems
    2) Downloaded the XML data definition for the Standard Purchase Order from XML Publisher Administrator
    3) Created a blank word document and created the purchase order layout from scratch using the XML Publisher plug-in
    4) Previewed it as a PDF in word - it looked fine (well, it was a start)
    5) Exported the XSLFO
    6) In XML Publisher created a new template and uploaded the XSLFO
    7) Assigned the new template to the document in Purchasing
    All good... the new template is defintately the one being used by the PO Output for Communication program. The problem of course is that it throws a useless error message :) - namely:
    PoPrintingUtil.getBlobPDF(input,input) - After initializing the FOProcessor
    PoPrintingUtil.getBlobPDF(input,input) - After setting the i/o stream and output format
    PoPrintingUtil.getBlobPDF(input,input) - Error while generating the PDForacle.apps.xdo.XDOException
    genDoc() : Exceptionjava.lang.Exception: Error while generating PDF :null
    java.lang.Exception: Error while generating PDF :null
    java.lang.Exception: Error while generating PDF :null
         at oracle.apps.po.communicate.PoGenerateDocument.genDoc(PoGenerateDocument.java:2011)
         at oracle.apps.po.communicate.PoGenerateDocumentCP.runProgram(PoGenerateDocumentCP.java:421)
         at oracle.apps.fnd.cp.request.Run.main(Run.java:148)
    When I run POXPOPDF in Debug I get:
    getArchiveOn(): APPROVE
    After calling genDocThu May 18 12:50:05 EST 2006
    Adding the blob to vector
    java.lang.NullPointerException
    java.lang.NullPointerException
         at java.io.ByteArrayInputStream.<init>(ByteArrayInputStream.java:89)
         at oracle.apps.po.communicate.PoGenerateDocumentCP.runProgram(PoGenerateDocumentCP.java:304)
         at oracle.apps.fnd.cp.request.Run.main(Run.java:148)
    I know no one can magically fix this for me (I wish!) but does anyone have any suggestions on what to do next? I have no conditional formatting or any other more complex functionality, just a really boring PO layout with a logo.
    Any suggestions welcome, in the meantime I will keep trawling through Metalink in search of a clue ;)
    Thanks
    Jo

    Hi Jo,
    The first version for which the Template Builder was released is 5.0
    Well, I guess I am one of the few who has a backported 4.5 version of the template builder. I did that for testing exactly your case. I just replaced our xdocore.jar file with the 4.5 version and it worked. The core.jar is not easily available. The files are part of the 4.5 patch, but I think it is too much work to get them out.
    However, I would strongly recommend to upgrade to a later version of XML Publisher. We made huge improvements, since 4.5 - performance, translation, RTF template capabilities....
    I just checked the process of converting an RTF template to FO and uploading it to EBS with 5.6.2 and it still worked. So it seems you can go straight to the latest version.
    Hope that helps,
    Klaus

  • Error While Generating Form-16 (HR_INF16_2012_B in language EN does not exist)

    Dear Experts
    My client is using SAP ECC6 EHP4 and We recently updated the HR Service Pack to SAPK-60464INSAPHRCIN in order to apply the SAP Note 1829618 - PY-IN: Union Budget Changes for Year 2013.
    After upgrading Service Pack we are getting the below error while generating Form-16.
    Layout set HR_INF16_2012_B in language EN does not exist
    How to resolve this issue
    Thanks

    This a Blunder from SAP. And this issue we are getting in almost all the client.
    For this we have to download respective Form from Golder client 000 and upload again in our working client.
    Better please raise an OSS message with SAP to provide you the steps.
    Thanks & Regards
    Rupesh Jain

  • Error while generating a role

    Hi SAP Techies,
    I am getting the following error while generating a role,
    "18 field value(s) for object K_CCA were not entered in the profile"
    Can you please provide me a solution to fix this problem.
    Thanks.
    Regards,
    Agustuss

    How many cost centres are you putting in the role?  Do you have cost centre set as an org level?
    From your User Name I assume that you are at the BBC...Do you still use a program to populate the cost centres in the role based on the cost centre group names?  If so it is possible that you are trying to put too many cost centres in the field and the the profile will not generate because of this (we had it back in 2001 when I was working there).
    Do you have the technical error message details?

  • Error while generating the report on Test env (for divide condition)

    Hi All,
    I am facing the below error while generating the report in test environment while the same report is working fine on Prod environment.
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 16001] ODBC error state: S1000 code: 1791 message: [Oracle][ODBC][Ora]ORA-01791: not a SELECTed expression. [nQSError: 16001] ODBC error state: S1000 code: 1791 message: [Oracle][ODBC][Ora]ORA-01791: not a SELECTed expression. [nQSError: 16015] SQL statement execution failed. (HY000)
    Actually the error is coming for the below logics:
    COUNT(DISTINCT RMA.RMA)/COUNT(DISTINCT User."User Name")
    "RMA Fact"."Module Backlog"/COUNT(DISTINCT User."User Name")
    Can anyone please tell if I need to make any configuration changes as the same logic works perfectly fine on production but not on test.
    Thanks in advance

    Is anyone having any idea about it...

  • Error while generating JAR using adadmin

    Hi all,
    EBS Version: R12.1.1
    I am in the middle of migrating the EBS from windows 2003-32bit to Linux 5-64Bit.
    I am getting the below error while generating the JAR files using adadmin.
    Error generated in adadmin
    Signing product JAR files in  JAVA_TOP -
      /u01/appltest/TEST/apps/apps_st/comn/java/classes
       using entity TEST_vm1213l and certificate 1.
    Successfully created javaVersionFile.
    Generating product JAR files in JAVA_TOP -
      /u01/appltest/TEST/apps/apps_st/comn/java/classes with command:
    adjava -mx512m -nojit oracle.apps.ad.jri.adjmx @/u01/appltest/TEST/apps/apps_st/appl/admin/TEST/out/genjars.cmd
    Failed to generate product JAR files in JAVA_TOP -
       /u01/appltest/TEST/apps/apps_st/comn/java/classes.
    adogjf() Unable to generate jar files under JAVA_TOP
    Backing up restart files, if any......Done.
    You should check the file
    /u01/appltest/TEST/apps/apps_st/appl/admin/TEST/log/gen_jar.log
    for errors.
    Entries from gen_jar.log
    Reading language information from applUS.txt ...
      Temporarily resetting CLASSPATH to:
      "/u01/appltest/TEST/apps/apps_st/appl/ad/12.0.0/java/adjava.zip:/u01/appltest/TEST/apps/tech_st/10.1.3/appsutil/jdk/lib/dt.jar:/u01/appltest/TEST/apps/tech_st/10.1.3/appsutil/jdk/lib/tools.jar:/u01/appltest/TEST/apps/tech_st/10.1.3/appsutil/jdk/jre/lib/rt.jar:/u01/appltest/TEST/apps/apps_st/comn/java/lib/appsborg.zip:/u01/appltest/TEST/apps/tech_st/10.1.2/forms/java:/u01/appltest/TEST/apps/tech_st/10.1.2/forms/java/frmall.jar:/u01/appltest/TEST/apps/tech_st/10.1.2/jlib/ewt3.jar:/u01/appltest/TEST/apps/tech_st/10.1.2/j2ee/OC4J_BI_Forms/applications/formsapp/formsweb/WEB-INF/lib/frmsrv.jar:/u01/appltest/TEST/apps/apps_st/comn/java/classes"
      Calling /u01/appltest/TEST/apps/tech_st/10.1.3/appsutil/jdk/jre/bin/java ...
    The JDK version is 1.6.0_10
    Validating the files/directories specified for -areas option
    ERROR: File/directory 61A9A14779A1A8 does not exist
    ERROR: File/directory -keyPass does not exist
    ERROR: File/directory AA65D2F9B26DDBABEF33 does not exist
    ERROR: File/directory -storePass does not exist
    ERROR: File/directory -keysEncrypted does not exist
    Validating the files/directories specified for -outputSpec option
    Validating the directory specified for -lstDir option
    Error(s) have occurred; exiting with status 1
    Failed to generate product JAR files in JAVA_TOP -
       /u01/appltest/TEST/apps/apps_st/comn/java/classes.
    Kindly provide some inputs to troubleshoot further.
    If you need further details, kindly let me know.
    Regards,
    Krish.

    Hi all,
    I have applied the consolidated JRI fixes - patch 17191279 .
    Then, when generating Jar, received keypass is tampered error.
    re-generated the key using $ adjkey -initialize.
    Now, its working fine.
    Regards,
    Krish.

  • "Error while generating pdf" error come when clicking on "Print Version "

    Hello ,
    When we execute Query in the Portal there is a 'Print version' button.
    When you select it, it opens up print dialog and click OK
    It is supposed to send 'pdf' stream to  Web browser client on end user but it is not able to generate the pdf .
    getting ' Error while generating pdf '
    I am working on BI 7.0 .
    The same is running fine in the Q Environment .But in Production we are getting this error .
    Thanks ,
    Rahul

    Hi,
    I think this is an ADS error. This is a reason why pdf's are not working. We had the same issue.
    You can check your installation:
    Usage of SAP NetWeaver BI Diagnostics & Support Desk Tool
    SAP Note Number: [937697|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_bw_bex/~form/handler%7b5f4150503d3030323030363832353030303030303031393732265f4556454e543d444953504c4159265f4e4e554d3d393337363937%7d]
    Exceptions: Prerequisites for messages in the area BI Java
    SAP Note Number: [1224043 |https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_bw_bex/~form/handler%7b5f4150503d3030323030363832353030303030303031393732265f4556454e543d444953504c4159265f4e4e554d3d31323234303433%7d]
    Solution in our case was to update the SAPADS package to 7.00 17.1
    Regards
    Andreas

  • Error while generating PDF ( BEx Web Analyzer )

    Hi,
    Is there any limit to the number of pages we can print using ADS? We always get
    " Error while generating PDF" Error when we try to print reports with more than 500 lines.
    Thanks
    Niveda

    Great. It worked.
    Points assigned.
    Niveda

  • Error while generating HTML

    Hi,
    I have a design studio application I want to share publicly on BI Launch Pad for my company. The dashboard/application made in design studio works fine locally and on BI Platform public folder (through my login credentials).
    However, when other people from the company try to view this DS application, it throws "Error while generating HTML"
    The root cause is:
    The initial exception which caused the request to fail was:
    Index: 0, Size: 0
    Any clue why such a thing might be happening?

    What version of BI4x/patch?
    Looks like this error has been shown before on older versions of the BI Platform - see Error HTML in Mobile BI App, not in local (version 1.4)

  • Error while generating Data provider

    We are facing a weird issue while using Design Studio 1.2. Locally the tool works fine but when we use it from BI-Launchpad or through BI Enterprise it gives intermittent error "Error while generating Data Provider"
    Same setup works fine in our Validation Environment.
    We have tried running repair for Design Studio, redeploy the war files, creating new view but issue still exist.
    We have BI 4.0 SP7 installed on Windows 2008 R2 system.
    4 CMS running in cluster, Design Studio 1.2 is installed on 3 Nodes out of 4.
    For now we are using 1 tomcat to access the system to narrow down the issue.
    Experts please help us to resolve this issue.
    Attach is the error message we are receiving

    I am not clear what your data source is, but I recommend checking the PAM https://websmp102.sap-ag.de/~sapidb/011000358700001013822013E because there are some limitations with Design Studio and BI4.0

  • Error while generating PDF in portal but not in WAD

    Hi,
    When I execute the command to export to pdf, I have a screen to fill settings of my pdf, then I valid my choice and I have this message : "Error while generating PDF" in my portal.
    However, when I want to execute on Web Application Designer and click on my command "export to pdf", I have a same screen and I can open or save my document.
    Is someone have an idea : why it is possible to generate my pdf on WAD but not in my portal ??
    Any information is much appreciated !
    Thanks in advance
    V.K.

    Hi Pradnya,
    Thanks for your answer. However it is for an old version of SAP NetWeaver..
    I work with SAP BI 7.0 version.
    Regards,
    V.K.

Maybe you are looking for

  • Issue with Monitoring of Subscription Orders

    Dear Experts , Recently we are facing an issue in the monitoring of subscription orders. We have scheduled the Monitoring ( Tcode : JKRM) in the background during the night time. Since last few days, our basis guy is complaining about creation of too

  • Credit block the customer with no transactions

    I have a requirement i.e Credit Block the customer with no transaction for past 6 months how can this be achieved

  • NaN and Export Issue in Excel

    Hi I have an Issue that I need to calculate value on below condition  ((ReportItems!txtPayaClick.Value/ReportItems!txtPayExpLH.Value)-1)*100. But Above give me errorthat is showing  "NaN" as an Result. Then I used;=IIF(ReportItems!txtPayExpLH.Value=0

  • Shooting with the HVX200 for the first time, any advise?

    I am shooting with the HVX200 for the first time. I have not decided on the format but I do ant to use one of the 1080 formats: 60i, 30p, 24p. I am renting the camera and 16GB P2 cards. In the field. I will have a Power Mac 16.7 w/1GB ram. (It is run

  • Register a DescriptorEventAdapter Class via XML Descriptor

    Hi, I've created some audit_logging classes extending DescriptorEventAdapter class of TopLink API, i'm trying to register these classes in entity descriptor xml using event-policy tag. <event-policy> <event-listerners> <event-listerner>xxx.MyDescript