User does not exist in this period / ESS does not work anymore ;-(

Hello experts,
starting any ess application on portal side (leave request), I get the follwoing error code:
com.sap.pcuigp.xssfpm.java.FPMRuntimeException: User TESTUSER does not exist in this period
Starting application personal data I get the message: "There are no services in the area."
I know, that this error has often been discussed in this forum. So I check the hints I found, but I could not solve my problem.
The HR user TESTUSER is assigned to the portal user TESTUSER in IT0105 and the user is not exceeded.
TESTUSER got SAP_ALL on HR side.
The error appears for all users, that worked propably a few days before.
Login on portal side and HR works. ESS overview is shown for TESTUSER. For a user that has not a login to HR system it does not appear. So the single singn on (SSO) between portal and HR system seems to work.
The ESS applications worked fine until two days ago. Portal guys said, they had not done any changes on portal side.
Where could the error occure on HR side? How can I recognize if any changes have been made on HR side?
Thank you for your help.

TX HRUSER seems not working.
Using the function 'Set Up and Maintain ESS User (Overview)' in TX HRUSER with my test-PERNR it is shown under 'Employees with deleted users'.
Clicking on it I got the Information:
PERS.NO: 12345678 (i.e.) NAME: Test User FROM: 01.01.2011 TO: 31.12.9999 USER: Name:  FROM: TO: User does not exist.
But in IT0105 the PERNR is assigned to user TESTUSER in that period.
When I try to assign  PERNR to TESTUSER with TX HRUSER under 'Assign Employees to Existing Users' I read the follwing information:
USER: TESTUSER Name: FROM: 01.01.2011 TO: 31.12.9999 USER GROUP: IT PERS.NO.: NAME: FROM: TO: no employee assigned.
Trying to 'assign employees' I get the message 'Error occurred when creating relationship for user ESSUSER-B to employee'.
Please create the appropriate assignment manually in HR master data.
But I have assigned it manualy in IT 0105.
Concurrent employment (CCURE PAUIX) is not activated.

Similar Messages

  • ESS Error- User Username Does Not Exist in this Period

    Hi all,
    I am getting the error as follows when I tried to get into any of the Sub iview like Address, Change Own Data etc
    A critical error has occured. Processing of the service had to be terminated. Unsaved data has been lost.
    Please contact your system administrator.
      User <Username> does not exist in this period  
    I saw a thread but it doesn't resolve that error.
    Actually I didnt assign my user to any employee.Is it mandatory to assign an employee to the user in PA30 because my user is a test user.
    Then in the logon ticket the name should be same as my userid in portal and ECC.
    Please this is very important gimme some good suggestion.

    Hi  Jayesh,
    Thank you. It was solved but while tried to access 'Change Own Data'. I am getting the error like
    A critical error has occured. Processing of the service had to be terminated. Unsaved data has been lost.
    Please contact your system administrator.
      An exception occurred that was not caught., error key: RFC_ERROR_SYSTEM_FAILURE 
    Please give me some suggestion.
    Thank you.

  • Employee Self Service ESS User username does not exist in this period

    Hi,
    1. I have created portal user and mapped to ECC6 user.
    2. I have linked the ECC6 user in PA30 in 105 infotype/subtype 001.
    3. the Begin Date / End Date is right.
    but still,
    <b>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.</b> 
    <b>   User <username> does not exist in this period  </b> 
    Please let me know if there is anything i have to do.
    Thank you,
    Boobalan

    Hi,
    I have assigned the PA30 infotype and also checked the validity of the employee and the R/3 user. but still i get the same error.
    i have also went to the administrator console /webdynpro/welcome/welcome.jsp
    I have also given the new username in the JCo Connection which has been created tempority. It shows the same error. I could find that it is not related to PA30, as the new user was not assigned while testing.
    Before and after changing of the personalize of the user also it is showing the same error.
    Please let me know is there anything.
    <b>I have cheked in R/3 by typing the Transaction Code PZ01, it shows the same error.</b>
    Regards,
    Boobalan
    Message was edited by:
            Boobalan S

  • User does not exist in this period

    Hi ,
       I am facing the problem when i access Overview -> Who's who
    com.sap.pcuigp.xssfpm.java.FPMRuntimeException: User <Username> does not exist in this period
         at com.sap.pcuigp.xssfpm.java.MessageManager.raiseException(MessageManager.java:112)
         at com.sap.pcuigp.xssfpm.java.MessageManager.raiseException(MessageManager.java:122)
         at com.sap.pcuigp.xssutils.pernr.FcEmployeeServices.initPernr(FcEmployeeServices.java:267)
         at com.sap.pcuigp.xssutils.pernr.FcEmployeeServices.onInit(FcEmployeeServices.java:222)
         at com.sap.pcuigp.xssutils.pernr.wdp.InternalFcEmployeeServices.onInit(InternalFcEmployeeServices.java:249)
         at com.sap.pcuigp.xssutils.pernr.FcEmployeeServicesInterface.onInit(FcEmployeeServicesInterface.java:135)
         at com.sap.pcuigp.xssutils.pernr.wdp.InternalFcEmployeeServicesInterface.onInit(InternalFcEmployeeServicesInterface.java:183)
         at com.sap.pcuigp.xssutils.pernr.wdp.InternalFcEmployeeServicesInterface$External.onInit(InternalFcEmployeeServicesInterface.java:243)
         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.wiw.FcWiwBusinessLogicComp.onInit(FcWiwBusinessLogicComp.java:217)
         at com.sap.xss.hr.wiw.wdp.InternalFcWiwBusinessLogicComp.onInit(InternalFcWiwBusinessLogicComp.java:414)
         at com.sap.xss.hr.wiw.FcWiwBusinessLogicCompInterface.onInit(FcWiwBusinessLogicCompInterface.java:115)
         at com.sap.xss.hr.wiw.wdp.InternalFcWiwBusinessLogicCompInterface.onInit(InternalFcWiwBusinessLogicCompInterface.java:298)
         at com.sap.xss.hr.wiw.wdp.InternalFcWiwBusinessLogicCompInterface$External.onInit(InternalFcWiwBusinessLogicCompInterface.java:358)
         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.wiw.selection.VcWiwSelectionComp.onInit(VcWiwSelectionComp.java:212)
         at com.sap.xss.hr.wiw.selection.wdp.InternalVcWiwSelectionComp.onInit(InternalVcWiwSelectionComp.java:206)
         at com.sap.xss.hr.wiw.selection.VcWiwSelectionCompInterface.onInit(VcWiwSelectionCompInterface.java:162)
         at com.sap.xss.hr.wiw.selection.wdp.InternalVcWiwSelectionCompInterface.onInit(InternalVcWiwSelectionCompInterface.java:144)
         at com.sap.xss.hr.wiw.selection.wdp.InternalVcWiwSelectionCompInterface$External.onInit(InternalVcWiwSelectionCompInterface.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.doApplicationProcessingPortal(ClientSession.java:733)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:668)
         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.clientserver.session.core.ApplicationHandle.doProcessing(ApplicationHandle.java:73)
         at com.sap.tc.webdynpro.portal.pb.impl.AbstractApplicationProxy.sendDataAndProcessActionInternal(AbstractApplicationProxy.java:869)
         at com.sap.tc.webdynpro.portal.pb.impl.AbstractApplicationProxy.create(AbstractApplicationProxy.java:229)
         at com.sap.portal.pb.PageBuilder.updateApplications(PageBuilder.java:1344)
         at com.sap.portal.pb.PageBuilder.createPage(PageBuilder.java:356)
         at com.sap.portal.pb.PageBuilder.init(PageBuilder.java:549)
         at com.sap.portal.pb.PageBuilder.wdDoRefresh(PageBuilder.java:593)
         at com.sap.portal.pb.PageBuilder$1.doPhase(PageBuilder.java:865)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processPhaseListener(WindowPhaseModel.java:755)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doPortalDispatch(WindowPhaseModel.java:717)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:136)
         at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
         at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:321)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:684)
         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(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
    Kindly help me to solve this problem.
    Thanks
    Jibin

    Hi,
    you have to map the EP user to an employee at the backend for the ESS services to work.
    Go to transaction HRUSER and check whether an employee is connected to this USER_ID. If it is not there, go to transaction pa30,select an employee and create a new record for the infotype 105 ( subtype 0001) with the USER_ID.
    may be the dates were correct but the user maintained incorrect entry in IT0105...wrong username...
    This should solve your issue.

  • ESS mixed up users & ESS user not existing in this period

    Hi all
    I really hope you can help me in one way or an other. I am still quite new to SAP and SDN so have a bit leniency
    At my company we have two demo system here and my job is right now to implement the ESS scenario. We have on the one side a EP 7.0 SP 09 and and on the other side an ERP 2005.
    There have been allready the needed Business Packages for the ESS scenario deployed.
    My job is right now to implement the ESS scenario between the EP and the ERP.
    But I got nearly the same problems. Every time i am going to test some ESS- iViews, for example:
    ESS->working time->leave request (iview)
    or ESS->employee search ->change own data (iView)
    the following Massage appears:
    "User MISTRY does not exist in this period"
    <b>And now something really wired!</b>
    I am <b>logging into the system with the user "stefan"</b> (which is has the super admin role) <b>but the user wihch is reffered in this message is an user from another admin</b> (also super admin, but he was the person who deployed the Business Packages).
    So now i don't get further... i searched already on SDN and service.sap.com , i found a JDI /NWDI Cook book...but all of these doesn't really help me out...
    BTW: is that the ESS cook book you were talking about?
    Perhaps one of You allready knows a solution or another purchase (starting point) i could investigate ...
    Thanks very much for your efforts !!!
    Kind and best regards
    Stefan

    And here is the Exception itself:
    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.
    User MISTRY does not exist in this period
    User MISTRY does not exist in this period:
    <b>com.sap.pcuigp.xssfpm.java.FPMRuntimeException: User MISTRY does not exist in this period
         at com.sap.pcuigp.xssfpm.java.MessageManager.raiseException(MessageManager.java:111)
         at com.sap.pcuigp.xssfpm.java.MessageManager.raiseException(MessageManager.java:121)
         at com.sap.pcuigp.xssutils.pernr.FcEmployeeServices.initPernr(FcEmployeeServices.java:257)
         at com.sap.pcuigp.xssutils.pernr.FcEmployeeServices.onInit(FcEmployeeServices.java:220)
         at com.sap.pcuigp.xssutils.pernr.wdp.InternalFcEmployeeServices.onInit(InternalFcEmployeeServices.java:249)
         at com.sap.pcuigp.xssutils.pernr.FcEmployeeServicesInterface.onInit(FcEmployeeServicesInterface.java:135)
         at com.sap.pcuigp.xssutils.pernr.wdp.InternalFcEmployeeServicesInterface.onInit(InternalFcEmployeeServicesInterface.java:183)
         at com.sap.pcuigp.xssutils.pernr.wdp.InternalFcEmployeeServicesInterface$External.onInit(InternalFcEmployeeServicesInterface.java:243)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent$FPM.attachComponentToUsage(FPMComponent.java:920)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent$FPM.attachComponentToUsage(FPMComponent.java:889)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent$FPMProxy.attachComponentToUsage(FPMComponent.java:1082)
         at com.sap.xss.hr.cod.FcCodBusinessLogicComp.onInit(FcCodBusinessLogicComp.java:188)
         at com.sap.xss.hr.cod.wdp.InternalFcCodBusinessLogicComp.onInit(InternalFcCodBusinessLogicComp.java:355)
         at com.sap.xss.hr.cod.FcCodBusinessLogicCompInterface.onInit(FcCodBusinessLogicCompInterface.java:115)
         at com.sap.xss.hr.cod.wdp.InternalFcCodBusinessLogicCompInterface.onInit(InternalFcCodBusinessLogicCompInterface.java:147)
         at com.sap.xss.hr.cod.wdp.InternalFcCodBusinessLogicCompInterface$External.onInit(InternalFcCodBusinessLogicCompInterface.java:215)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent$FPM.attachComponentToUsage(FPMComponent.java:920)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent$FPM.attachComponentToUsage(FPMComponent.java:889)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent$FPMProxy.attachComponentToUsage(FPMComponent.java:1082)
         at com.sap.xss.hr.cod.start.VcCodStartComp.onInit(VcCodStartComp.java:168)
         at com.sap.xss.hr.cod.start.wdp.InternalVcCodStartComp.onInit(InternalVcCodStartComp.java:145)
         at com.sap.xss.hr.cod.start.VcCodStartCompInterface.onInit(VcCodStartCompInterface.java:161)
         at com.sap.xss.hr.cod.start.wdp.InternalVcCodStartCompInterface.onInit(InternalVcCodStartCompInterface.java:144)
         at com.sap.xss.hr.cod.start.wdp.InternalVcCodStartCompInterface$External.onInit(InternalVcCodStartCompInterface.java:220)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent.doProcessEvent(FPMComponent.java:563)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent.doEventLoop(FPMComponent.java:437)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent.wdDoInit(FPMComponent.java:195)
         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(Inlined Compiled Code))
         at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java(Inlined Compiled Code))
         at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.init(ClientComponent.java(Compiled Code))
         at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:362)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.initApplication(ApplicationSession.java:700)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:269)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingPortal(ClientSession.java:731)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:667)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:232)
         at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:152)
         at com.sap.tc.webdynpro.clientserver.session.core.ApplicationHandle.doProcessing(ApplicationHandle.java:73)
         at com.sap.tc.webdynpro.portal.pb.impl.AbstractApplicationProxy.sendDataAndProcessActionInternal(AbstractApplicationProxy.java:879)
         at com.sap.tc.webdynpro.portal.pb.impl.AbstractApplicationProxy.create(AbstractApplicationProxy.java:222)
         at com.sap.portal.pb.PageBuilder.updateApplications(PageBuilder.java:1280)
         at com.sap.portal.pb.PageBuilder.createPage(PageBuilder.java:354)
         at com.sap.portal.pb.PageBuilder.init(PageBuilder.java:552)
         at com.sap.portal.pb.PageBuilder.wdDoRefresh(PageBuilder.java:596)
         at com.sap.portal.pb.PageBuilder$1.doPhase(PageBuilder.java:827)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processPhaseListener(WindowPhaseModel.java:755)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doPortalDispatch(WindowPhaseModel.java:717)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:136)
         at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
         at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:299)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:683)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:232)
         at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:152)
         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(Compiled Code))
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java(Compiled Code))
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java(Inlined Compiled Code))
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java(Compiled Code))
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java(Compiled Code))
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java(Compiled Code))
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java(Inlined Compiled Code))
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java(Compiled Code))
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java(Compiled Code))
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java(Compiled Code))
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java(Compiled Code))
         at java.security.AccessController.doPrivileged1(Native Method)
         at java.security.AccessController.doPrivileged(AccessController.java(Compiled Code))
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java(Compiled Code))
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java(Compiled Code))
    </b>

  • Header ID does not exist on this record or does not match ID

    Hi ,
    I'm trying to import the sales order using OE_ORDER_PUB.process_order() API. If all my orders has equal no. of lines, I can able to import all the orders at one stoke. But if each order has different no. of lines, I'm unable to import all the orders at single stoke. At first run, certain no. of records are getting processed and remaining records are ending up with error stating *'Header ID does not exist on this record or does not match ID specified on header record. You require a valid header ID if the operation is Create*'. If I re-execute the errored records, its getting processed successfully.
    Please help me in getting it resolved.
    Find below the procedure code which I'm using to import sales order.
    CREATE OR REPLACE PROCEDURE XXRT_SALES_ORDER (ERRBUF VARCHAR2, RETCODE NUMBER)
    AS
    l_header_rec OE_ORDER_PUB.Header_Rec_Type;
    l_line_tbl OE_ORDER_PUB.Line_Tbl_Type;
    l_line_adj_tbl OE_ORDER_PUB.Line_Adj_Tbl_Type;
    l_return_status varchar2(200);
    l_msg_count number;
    l_msg_data varchar2(20000);
    l_header_val_rec OE_ORDER_PUB.Header_Val_Rec_Type;
    l_Header_Adj_tbl OE_ORDER_PUB.Header_Adj_Tbl_Type;
    l_Header_Adj_val_tbl OE_ORDER_PUB.Header_Adj_Val_Tbl_Type;
    l_Header_price_Att_tbl OE_ORDER_PUB.Header_Price_Att_Tbl_Type;
    l_Header_Adj_Att_tbl OE_ORDER_PUB.Header_Adj_Att_Tbl_Type;
    l_Header_Adj_Assoc_tbl OE_ORDER_PUB.Header_Adj_Assoc_Tbl_Type;
    l_Header_Scredit_tbl OE_ORDER_PUB.Header_Scredit_Tbl_Type;
    l_Header_Scredit_val_tbl OE_ORDER_PUB.Header_Scredit_Val_Tbl_Type;
    l_line_val_tbl OE_ORDER_PUB.Line_Val_Tbl_Type;
    l_Line_Adj_val_tbl OE_ORDER_PUB.Line_Adj_Val_Tbl_Type;
    l_Line_price_Att_tbl OE_ORDER_PUB.Line_Price_Att_Tbl_Type;
    l_Line_Adj_Att_tbl OE_ORDER_PUB.Line_Adj_Att_Tbl_Type;
    l_Line_Adj_Assoc_tbl OE_ORDER_PUB.Line_Adj_Assoc_Tbl_Type;
    l_Line_Scredit_tbl OE_ORDER_PUB.Line_Scredit_Tbl_Type;
    l_Line_Scredit_val_tbl OE_ORDER_PUB.Line_Scredit_Val_Tbl_Type;
    l_Lot_Serial_tbl OE_ORDER_PUB.Lot_Serial_Tbl_Type;
    l_Lot_Serial_val_tbl OE_ORDER_PUB.Lot_Serial_Val_Tbl_Type;
    l_action_request_tbl OE_ORDER_PUB.Request_Tbl_Type;
    v_remarks varchar2(250);
    v_count number;
    v_transaction_type number;
    v_cust_id number;
    v_invoice_to number;
    v_ship_to number;
    v_itemid1 number;
    v_itemid2 number;
    v_itemid3 number;
    v_itemid4 number;
    v_itemid5 number;
    v_item_type1 varchar2(15);
    v_item_type2 varchar2(15);
    v_item_type3 varchar2(15);
    v_item_type4 varchar2(15);
    v_item_type5 varchar2(15);
    cursor c_data_val is select * from XXSC_SALES_ORDER_IMPORT
    where process_flag='N';
    cursor c_data is select * from XXSC_SALES_ORDER_IMPORT
    where process_flag='N';
    Begin
    fnd_global.apps_initialize(1681,51411,660);
    for c_data_val_rec in c_data_val
    loop
    v_remarks:=NULL;
    select count(*) into v_count from apps.oe_order_headers_all
    where cust_po_number=c_data_val_rec.iwb_no;
    if v_count > 0 then
    v_remarks:='Customer PO already used';
    end if;
    BEGIN
    select transaction_type_id into v_transaction_type
    from apps.OE_TRANSACTION_TYPES_tl
    where name like c_data_val_rec.BILL_TO||'-DOMESTIC';
    EXCEPTION
    WHEN NO_DATA_FOUND THEN
    v_remarks:=v_remarks||'Invalid trans type';
    END;
    BEGIN
    select cust_account_id into v_cust_id
    from apps.hz_cust_accounts hca,
    apps.hz_parties hp
    where hca.party_id=hp.party_id
    and hp.party_name=c_data_val_rec.CUSTOMER_NAME;
    EXCEPTION
    WHEN NO_DATA_FOUND THEN
    v_remarks:=v_remarks||'Invalid Customer name';
    END;
    BEGIN
    select SITE_USE_ID into v_invoice_to
    from apps.hz_parties hp,
    apps.hz_party_sites_v hps,
    apps.hz_cust_acct_sites_all hcasa,
    apps.hz_cust_site_uses_all hcsua
    where
    party_name=c_data_val_rec.CUSTOMER_NAME
    and hp.party_id=hps.party_id
    and hps.address1 like '%'||c_data_val_rec.BILL_TO||'%'
    and hps.site_use_type='BILL_TO'
    and hps.party_site_id=hcasa.party_site_id
    and hcasa.cust_acct_site_id=hcsua.cust_acct_site_id
    and SITE_USE_CODE='BILL_TO'
    and hcsua.Status='A';
    EXCEPTION
    WHEN OTHERS THEN
    v_remarks:=v_remarks||'Invalid BILL_TO';
    END;
    BEGIN
    select SITE_USE_ID into v_ship_to
    from apps.hz_parties hp,
    apps.hz_party_sites_v hps,
    apps.hz_cust_acct_sites_all hcasa,
    apps.hz_cust_site_uses_all hcsua
    where
    party_name=c_data_val_rec.CUSTOMER_NAME
    and hp.party_id=hps.party_id
    and hps.address1 like '%'||c_data_val_rec.SHIP_TO||'%'
    and hps.site_use_type='SHIP_TO'
    and hps.party_site_id=hcasa.party_site_id
    and hcasa.cust_acct_site_id=hcsua.cust_acct_site_id
    and SITE_USE_CODE='SHIP_TO'
    and hcsua.Status='A';
    EXCEPTION
    WHEN OTHERS THEN
    v_remarks:=v_remarks||'Invalid SHIP_TO';
    END;
    IF c_data_val_rec.item1 is not null then
    BEGIN
    select distinct inventory_item_id into v_itemid1
    from apps.mtl_system_items_b
    where segment1=c_data_val_rec.item1;
    EXCEPTION
    WHEN OTHERS THEN
    v_remarks:=v_remarks||'Invalid ITEM1';
    END;
    BEGIN
    select distinct Item_type into v_item_type1
    from apps.mtl_system_items_b
    where segment1=c_data_val_rec.item1;
    EXCEPTION
    WHEN OTHERS THEN
    v_remarks:=v_remarks||'Invalid Itemtype1';
    END;
    END IF;
    IF c_data_val_rec.item2 is not null then
    BEGIN
    select distinct inventory_item_id into v_itemid2
    from apps.mtl_system_items_b
    where segment1=c_data_val_rec.item2;
    EXCEPTION
    WHEN OTHERS THEN
    v_remarks:=v_remarks||'Invalid ITEM2';
    END;
    BEGIN
    select distinct Item_type into v_item_type2
    from apps.mtl_system_items_b
    where segment1=c_data_val_rec.item2;
    EXCEPTION
    WHEN OTHERS THEN
    v_remarks:=v_remarks||'Invalid Itemtype2';
    END;
    END IF;
    IF c_data_val_rec.item3 is not null then
    BEGIN
    select distinct inventory_item_id into v_itemid3
    from apps.mtl_system_items_b
    where segment1=c_data_val_rec.item3;
    EXCEPTION
    WHEN OTHERS THEN
    v_remarks:=v_remarks||'Invalid ITEM3';
    END;
    BEGIN
    select distinct Item_type into v_item_type3
    from apps.mtl_system_items_b
    where segment1=c_data_val_rec.item3;
    EXCEPTION
    WHEN OTHERS THEN
    v_remarks:=v_remarks||'Invalid Itemtype3';
    END;
    END IF;
    IF c_data_val_rec.item4 is not null then
    BEGIN
    select distinct inventory_item_id into v_itemid4
    from apps.mtl_system_items_b
    where segment1=c_data_val_rec.item4;
    EXCEPTION
    WHEN OTHERS THEN
    v_remarks:=v_remarks||'Invalid ITEM4';
    END;
    BEGIN
    select distinct inventory_item_id into v_item_type4
    from apps.mtl_system_items_b
    where segment1=c_data_val_rec.item4;
    EXCEPTION
    WHEN OTHERS THEN
    v_remarks:=v_remarks||'Invalid Itemtype4';
    END;
    END IF;
    IF c_data_val_rec.item5 is not null then
    BEGIN
    select distinct inventory_item_id into v_itemid5
    from apps.mtl_system_items_b
    where segment1=c_data_val_rec.item5;
    EXCEPTION
    WHEN OTHERS THEN
    v_remarks:=v_remarks||'Invalid ITEM5';
    END;
    BEGIN
    select distinct inventory_item_id into v_item_type5
    from apps.mtl_system_items_b
    where segment1=c_data_val_rec.item5;
    EXCEPTION
    WHEN OTHERS THEN
    v_remarks:=v_remarks||'Invalid Itemtype5';
    END;
    END IF;
    IF v_remarks is not null then
    update XXSC_SALES_ORDER_IMPORT
    set process_flag='E', remarks=v_remarks
    where iwb_no=c_data_val_rec.iwb_no;
    commit;
    END IF;
    end loop;
    for c_data_rec in c_data
    loop
    select transaction_type_id into v_transaction_type
    from OE_TRANSACTION_TYPES_tl
    where name like c_data_rec.BILL_TO||'-DOMESTIC';
    select cust_account_id into v_cust_id
    from hz_cust_accounts hca,
    hz_parties hp
    where hca.party_id=hp.party_id
    and hp.party_name=c_data_rec.CUSTOMER_NAME;
    select SITE_USE_ID into v_invoice_to
    from hz_parties hp,
    hz_party_sites_v hps,
    hz_cust_acct_sites_all hcasa,
    hz_cust_site_uses_all hcsua
    where
    party_name=c_data_rec.CUSTOMER_NAME
    and hp.party_id=hps.party_id
    and hps.address1 like '%'||c_data_rec.BILL_TO||'%'
    and hps.site_use_type='BILL_TO'
    and hps.party_site_id=hcasa.party_site_id
    and hcasa.cust_acct_site_id=hcsua.cust_acct_site_id
    and SITE_USE_CODE='BILL_TO'
    and hcsua.Status='A';
    select SITE_USE_ID into v_ship_to
    from hz_parties hp,
    hz_party_sites_v hps,
    hz_cust_acct_sites_all hcasa,
    hz_cust_site_uses_all hcsua
    where
    party_name=c_data_rec.CUSTOMER_NAME
    and hp.party_id=hps.party_id
    and hps.address1 like '%'||c_data_rec.SHIP_TO||'%'
    and hps.site_use_type='SHIP_TO'
    and hps.party_site_id=hcasa.party_site_id
    and hcasa.cust_acct_site_id=hcsua.cust_acct_site_id
    and SITE_USE_CODE='SHIP_TO'
    and hcsua.Status='A';
    IF c_data_rec.item1 is not null then
    select distinct inventory_item_id into v_itemid1
    from apps.mtl_system_items_b
    where segment1=c_data_rec.item1;
    select distinct Item_type into v_item_type1
    from apps.mtl_system_items_b
    where segment1=c_data_rec.item1;
    ELSE
    v_itemid1:= null;
    v_item_type1:= null;
    END IF;
    IF c_data_rec.item2 is not null then
    select distinct inventory_item_id into v_itemid2
    from apps.mtl_system_items_b
    where segment1=c_data_rec.item2;
    select distinct Item_type into v_item_type2
    from apps.mtl_system_items_b
    where segment1=c_data_rec.item2;
    ELSE
    v_itemid2:=null;
    v_item_type2:= null;
    END IF;
    IF c_data_rec.item3 is not null then
    select distinct inventory_item_id into v_itemid3
    from apps.mtl_system_items_b
    where segment1=c_data_rec.item3;
    select distinct Item_type into v_item_type3
    from apps.mtl_system_items_b
    where segment1=c_data_rec.item3;
    ELSE
    v_itemid3:=null;
    v_item_type3:=null;
    END IF;
    IF c_data_rec.item4 is not null then
    select distinct inventory_item_id into v_itemid4
    from apps.mtl_system_items_b
    where segment1=c_data_rec.item4;
    select distinct Item_type into v_item_type4
    from apps.mtl_system_items_b
    where segment1=c_data_rec.item4;
    ELSE
    v_itemid4:= null;
    v_item_type4:= null;
    END IF;
    IF c_data_rec.item5 is not null then
    select distinct inventory_item_id into v_itemid5
    from apps.mtl_system_items_b
    where segment1=c_data_rec.item5;
    select distinct Item_type into v_item_type5
    from apps.mtl_system_items_b
    where segment1=c_data_rec.item5;
    ELSE
    v_itemid5:= null;
    v_item_type5:= null;
    END IF;
    l_header_rec := OE_ORDER_PUB.G_MISS_HEADER_REC; -- Required attributes (e.g. Order Type and Customer)
    l_header_rec.order_type_id := v_transaction_type;
    l_header_rec.ordered_date := c_data_rec.iwb_date;
    l_header_rec.sold_to_org_id := v_cust_id;
    l_header_rec.price_list_id := 93174;
    l_header_rec.cust_po_number := c_data_rec.iwb_no;
    l_header_rec.ship_to_org_id := v_ship_to;
    l_header_rec.invoice_to_org_id := v_invoice_to;
    l_header_rec.CONTEXT:='566' ;
    l_header_rec.ATTRIBUTE1:=c_data_rec.DELIVERY_TYPE;
    -- l_header_rec.freight_term_code = NULL;
    l_header_rec.operation := OE_GLOBALS.G_OPR_CREATE;
    -- FIRST LINE RECORD. Initialize record to missing
    if c_data_rec.item1 is not null and
    c_data_rec.item2 is not null and
    c_data_rec.item3 is not null and
    c_data_rec.item4 is not null and
    c_data_rec.item5 is not null then
    l_line_tbl(1) := OE_ORDER_PUB.G_MISS_LINE_REC;
    l_line_tbl(1).inventory_item_id :=v_itemid1;
    l_line_tbl(1).ordered_quantity := c_data_rec.quantity1;
    l_line_tbl(1).CALCULATE_PRICE_FLAG :='N';
    l_line_tbl(1).UNIT_SELLING_PRICE := c_data_rec.price1;
    l_line_tbl(1).UNIT_LIST_PRICE := c_data_rec.price1;
    l_line_tbl(1).attribute13:= v_item_type1;
    l_line_tbl(1).operation := OE_GLOBALS.G_OPR_CREATE;
    --end if;
    -- SECOND LINE RECORD
    --elsif c_data_rec.item2 is not null then
    l_line_tbl(2) := OE_ORDER_PUB.G_MISS_LINE_REC;
    l_line_tbl(2).inventory_item_id := v_itemid2;
    l_line_tbl(2).ordered_quantity := c_data_rec.quantity2;
    l_line_tbl(2).CALCULATE_PRICE_FLAG :='N';
    l_line_tbl(2).UNIT_SELLING_PRICE := c_data_rec.price2;
    l_line_tbl(2).UNIT_LIST_PRICE := c_data_rec.price2;
    l_line_tbl(2).attribute13:=v_item_type2;
    l_line_tbl(2).operation := OE_GLOBALS.G_OPR_CREATE;
    --end if;
    -- THIRD LINE RECORD
    --elsif c_data_rec.item3 is not null then
    l_line_tbl(3) := OE_ORDER_PUB.G_MISS_LINE_REC;
    l_line_tbl(3).inventory_item_id := v_itemid3;
    l_line_tbl(3).ordered_quantity := c_data_rec.quantity3;
    l_line_tbl(3).CALCULATE_PRICE_FLAG :='N';
    l_line_tbl(3).UNIT_SELLING_PRICE := c_data_rec.price3;
    l_line_tbl(3).UNIT_LIST_PRICE := c_data_rec.price3;
    l_line_tbl(3).attribute13:=v_item_type3;
    l_line_tbl(3).operation := OE_GLOBALS.G_OPR_CREATE;
    --end if;
    -- FOURTH LINE RECORD
    --elsif c_data_rec.item4 is not null then
    l_line_tbl(4) := OE_ORDER_PUB.G_MISS_LINE_REC;
    l_line_tbl(4).inventory_item_id := v_itemid4;
    l_line_tbl(4).ordered_quantity := c_data_rec.quantity4;
    l_line_tbl(4).CALCULATE_PRICE_FLAG :='N';
    l_line_tbl(4).UNIT_SELLING_PRICE := c_data_rec.price4;
    l_line_tbl(4).UNIT_LIST_PRICE := c_data_rec.price4;
    l_line_tbl(4).attribute13:=v_item_type4;
    l_line_tbl(4).operation := OE_GLOBALS.G_OPR_CREATE;
    --END IF;
    -- FIFTH LINE RECORD
    --elsif c_data_rec.item5 is not null then
    l_line_tbl(5) := OE_ORDER_PUB.G_MISS_LINE_REC;
    l_line_tbl(5).inventory_item_id := v_itemid5;
    l_line_tbl(5).ordered_quantity := c_data_rec.quantity5;
    l_line_tbl(5).CALCULATE_PRICE_FLAG :='N';
    l_line_tbl(5).UNIT_SELLING_PRICE := c_data_rec.price5;
    l_line_tbl(5).UNIT_LIST_PRICE := c_data_rec.price5;
    l_line_tbl(5).attribute13:= v_item_type5;
    l_line_tbl(5).operation := OE_GLOBALS.G_OPR_CREATE;
    elsif c_data_rec.item1 is not null and
    c_data_rec.item2 is not null and
    c_data_rec.item3 is not null and
    c_data_rec.item4 is not null then
    l_line_tbl(1) := OE_ORDER_PUB.G_MISS_LINE_REC;
    l_line_tbl(1).inventory_item_id :=v_itemid1;
    l_line_tbl(1).ordered_quantity := c_data_rec.quantity1;
    l_line_tbl(1).CALCULATE_PRICE_FLAG :='N';
    l_line_tbl(1).UNIT_SELLING_PRICE := c_data_rec.price1;
    l_line_tbl(1).UNIT_LIST_PRICE := c_data_rec.price1;
    l_line_tbl(1).attribute13:= v_item_type1;
    l_line_tbl(1).operation := OE_GLOBALS.G_OPR_CREATE;
    --end if;
    -- SECOND LINE RECORD
    --elsif c_data_rec.item2 is not null then
    l_line_tbl(2) := OE_ORDER_PUB.G_MISS_LINE_REC;
    l_line_tbl(2).inventory_item_id := v_itemid2;
    l_line_tbl(2).ordered_quantity := c_data_rec.quantity2;
    l_line_tbl(2).CALCULATE_PRICE_FLAG :='N';
    l_line_tbl(2).UNIT_SELLING_PRICE := c_data_rec.price2;
    l_line_tbl(2).UNIT_LIST_PRICE := c_data_rec.price2;
    l_line_tbl(2).attribute13:=v_item_type2;
    l_line_tbl(2).operation := OE_GLOBALS.G_OPR_CREATE;
    --end if;
    -- THIRD LINE RECORD
    --elsif c_data_rec.item3 is not null then
    l_line_tbl(3) := OE_ORDER_PUB.G_MISS_LINE_REC;
    l_line_tbl(3).inventory_item_id := v_itemid3;
    l_line_tbl(3).ordered_quantity := c_data_rec.quantity3;
    l_line_tbl(3).CALCULATE_PRICE_FLAG :='N';
    l_line_tbl(3).UNIT_SELLING_PRICE := c_data_rec.price3;
    l_line_tbl(3).UNIT_LIST_PRICE := c_data_rec.price3;
    l_line_tbl(3).attribute13:=v_item_type3;
    l_line_tbl(3).operation := OE_GLOBALS.G_OPR_CREATE;
    --end if;
    -- FOURTH LINE RECORD
    --elsif c_data_rec.item4 is not null then
    l_line_tbl(4) := OE_ORDER_PUB.G_MISS_LINE_REC;
    l_line_tbl(4).inventory_item_id := v_itemid4;
    l_line_tbl(4).ordered_quantity := c_data_rec.quantity4;
    l_line_tbl(4).CALCULATE_PRICE_FLAG :='N';
    l_line_tbl(4).UNIT_SELLING_PRICE := c_data_rec.price4;
    l_line_tbl(4).UNIT_LIST_PRICE := c_data_rec.price4;
    l_line_tbl(4).attribute13:=v_item_type4;
    l_line_tbl(4).operation := OE_GLOBALS.G_OPR_CREATE;
    elsif c_data_rec.item1 is not null and
    c_data_rec.item2 is not null and
    c_data_rec.item3 is not null then
    l_line_tbl(1) := OE_ORDER_PUB.G_MISS_LINE_REC;
    l_line_tbl(1).inventory_item_id :=v_itemid1;
    l_line_tbl(1).ordered_quantity := c_data_rec.quantity1;
    l_line_tbl(1).CALCULATE_PRICE_FLAG :='N';
    l_line_tbl(1).UNIT_SELLING_PRICE := c_data_rec.price1;
    l_line_tbl(1).UNIT_LIST_PRICE := c_data_rec.price1;
    l_line_tbl(1).attribute13:= v_item_type1;
    l_line_tbl(1).operation := OE_GLOBALS.G_OPR_CREATE;
    --end if;
    -- SECOND LINE RECORD
    --elsif c_data_rec.item2 is not null then
    l_line_tbl(2) := OE_ORDER_PUB.G_MISS_LINE_REC;
    l_line_tbl(2).inventory_item_id := v_itemid2;
    l_line_tbl(2).ordered_quantity := c_data_rec.quantity2;
    l_line_tbl(2).CALCULATE_PRICE_FLAG :='N';
    l_line_tbl(2).UNIT_SELLING_PRICE := c_data_rec.price2;
    l_line_tbl(2).UNIT_LIST_PRICE := c_data_rec.price2;
    l_line_tbl(2).attribute13:=v_item_type2;
    l_line_tbl(2).operation := OE_GLOBALS.G_OPR_CREATE;
    --end if;
    -- THIRD LINE RECORD
    --elsif c_data_rec.item3 is not null then
    l_line_tbl(3) := OE_ORDER_PUB.G_MISS_LINE_REC;
    l_line_tbl(3).inventory_item_id := v_itemid3;
    l_line_tbl(3).ordered_quantity := c_data_rec.quantity3;
    l_line_tbl(3).CALCULATE_PRICE_FLAG :='N';
    l_line_tbl(3).UNIT_SELLING_PRICE := c_data_rec.price3;
    l_line_tbl(3).UNIT_LIST_PRICE := c_data_rec.price3;
    l_line_tbl(3).attribute13:=v_item_type3;
    l_line_tbl(3).operation := OE_GLOBALS.G_OPR_CREATE;
    end if;
    -- CALL TO PROCESS ORDER
    OE_Order_PUB.Process_Order(
    p_api_version_number=>1.0,
    p_header_rec => l_header_rec,
    p_line_tbl=> l_line_tbl,
    p_line_adj_tbl=> l_line_adj_tbl,
    -- OUT variables,
    x_header_rec =>l_header_rec
    , x_header_val_rec =>l_header_val_rec
    , x_Header_Adj_tbl =>l_Header_Adj_tbl
    , x_Header_Adj_val_tbl =>l_Header_Adj_val_tbl
    , x_Header_price_Att_tbl =>l_Header_price_Att_tbl
    , x_Header_Adj_Att_tbl =>l_Header_Adj_Att_tbl
    , x_Header_Adj_Assoc_tbl =>l_Header_Adj_Assoc_tbl
    , x_Header_Scredit_tbl =>l_Header_Scredit_tbl
    , x_Header_Scredit_val_tbl=>l_Header_Scredit_val_tbl
    , x_line_tbl =>l_line_tbl
    , x_line_val_tbl =>l_line_val_tbl
    , x_Line_Adj_tbl =>l_Line_Adj_tbl
    , x_Line_Adj_val_tbl =>l_Line_Adj_val_tbl
    , x_Line_price_Att_tbl =>l_Line_price_Att_tbl
    , x_Line_Adj_Att_tbl =>l_Line_Adj_Att_tbl
    , x_Line_Adj_Assoc_tbl =>l_Line_Adj_Assoc_tbl
    , x_Line_Scredit_tbl =>l_Line_Scredit_tbl
    , x_Line_Scredit_val_tbl =>l_Line_Scredit_val_tbl
    , x_Lot_Serial_tbl =>l_Lot_Serial_tbl
    , x_Lot_Serial_val_tbl =>l_Lot_Serial_val_tbl
    , x_action_request_tbl =>l_action_request_tbl,
    x_return_status=> l_return_status,
    x_msg_count=> l_msg_count,
    x_msg_data=> l_msg_data);
    if l_msg_count > 0 then
    for l_index in 1..l_msg_count loop
    l_msg_data := oe_msg_pub.get(p_msg_index => l_index, p_encoded => 'F');
    update XXSC_SALES_ORDER_IMPORT
    set process_flag='E',remarks=l_msg_data
    where iwb_no=c_data_rec.iwb_no;
    commit;
    dbms_output.put_line('Order Failed.'||l_msg_data);
    end loop;
    end if;
    -- Check the return status
    if l_return_status = FND_API.G_RET_STS_SUCCESS then
    update XXSC_SALES_ORDER_IMPORT
    set process_flag='Y',ORDER_NUMBER=l_header_rec.order_number,remarks='SUCCESS'
    where iwb_no=c_data_rec.iwb_no;
    commit;
    fnd_file.put_line (fnd_file.output,'Order no:'||l_header_rec.order_number||' Created for the IWB no:'||c_data_rec.iwb_no);
    dbms_output.put_line('Order..'||l_header_rec.order_number);
    Else
    dbms_output.put_line('Order Failed.');
    end if;
    commit;
    END LOOP;
    End;
    /

    Your code always sends 4 line records with each header. Code is not checking if it belongs to same header or not. Please check your code.

  • IT105 warning message "user does not exist in this period"

    Does anyone know if we can change the warning message on IT105 subtype 0001 to be an error message?  This is causing an issue when HR are entering the User ID before it's been created in SU01, so sometimes there is a mismatch.
    Hope you can help, thanks in advance!

    This message is hardcoded as a warning in the method CHECK_USERID_EXISTENCE. Like it was suggested above, you will need an access key to change it into a message type 'E'. Other option is to do this validation via the AFTER_INPUT Method of the BAdI HRPAD00INFTY.
    ~Suresh

  • User xyz does not exist/not attached in this period

    _we checked InfoType 0105, SubType 0001 the value was correct,date range covering the period of validity also not expire.
    so any one suggest solution for this issue ?_
    User xyz does not exist/not attached in this period.
    [EXCEPTION]
    com.sap.pcuigp.xssfpm.java.FPMRuntimeException: User xyz  does not exist/not attached in this period.
    at com.sap.pcuigp.xssfpm.java.MessageManager.raiseException(MessageManager.java:112)
    at com.sap.pcuigp.xssfpm.java.MessageManager.raiseException(MessageManager.java:122)
    at com.sap.pcuigp.xssutils.pernr.EmployeeGroupInfo.init(EmployeeGroupInfo.java:140)
    at com.sap.pcuigp.xssutils.pernr.wdp.InternalEmployeeGroupInfo.init(InternalEmployeeGroupInfo.java:183)
    at com.sap.pcuigp.xssutils.pernr.FcEmployeeServices.initPernr(FcEmployeeServices.java:270)
    at com.sap.pcuigp.xssutils.pernr.FcEmployeeServices.onInit(FcEmployeeServices.java:226)
    at com.sap.pcuigp.xssutils.pernr.wdp.InternalFcEmployeeServices.onInit(InternalFcEmployeeServices.java:273)
    at com.sap.pcuigp.xssutils.pernr.FcEmployeeServicesInterface.onInit(FcEmployeeServicesInterface.java:135)
    at com.sap.pcuigp.xssutils.pernr.wdp.InternalFcEmployeeServicesInterface.onInit(InternalFcEmployeeServicesInterface.java:198)
    at com.sap.pcuigp.xssutils.pernr.wdp.InternalFcEmployeeServicesInterface$External.onInit(InternalFcEmployeeServicesInterface.java:258)
    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.essceservices.vcceassignmentselection.VcCEAssignmentSelection.onInit(VcCEAssignmentSelection.java:235)
    at com.sap.xss.essceservices.vcceassignmentselection.wdp.InternalVcCEAssignmentSelection.onInit(InternalVcCEAssignmentSelection.java:174)
    at com.sap.xss.essceservices.vcceassignmentselection.VcCEAssignmentSelectionInterface.onInit(VcCEAssignmentSelectionInterface.java:162)
    at com.sap.xss.essceservices.vcceassignmentselection.wdp.InternalVcCEAssignmentSelectionInterface.onInit(InternalVcCEAssignmentSelectionInterface.java:144)
    at com.sap.xss.essceservices.vcceassignmentselection.wdp.InternalVcCEAssignmentSelectionInterface$External.onInit(InternalVcCEAssignmentSelectionInterface.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:783)
    at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:303)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingPortal(ClientSession.java:761)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:696)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:253)
    at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
    at com.sap.tc.webdynpro.clientserver.session.core.ApplicationHandle.doProcessing(ApplicationHandle.java:73)
    at com.sap.tc.webdynpro.portal.pb.impl.AbstractApplicationProxy.sendDataAndProcessActionInternal(AbstractApplicationProxy.java:869)
    at com.sap.tc.webdynpro.portal.pb.impl.AbstractApplicationProxy.create(AbstractApplicationProxy.java:229)
    at com.sap.portal.pb.PageBuilder.updateApplications(PageBuilder.java:1344)
    at com.sap.portal.pb.PageBuilder.createPage(PageBuilder.java:356)
    at com.sap.portal.pb.PageBuilder.init(PageBuilder.java:549)
    at com.sap.portal.pb.PageBuilder.wdDoApplicationStateChange(PageBuilder.java:303)
    at com.sap.portal.pb.wdp.InternalPageBuilder.wdDoApplicationStateChange(InternalPageBuilder.java:197)
    at sun.reflect.GeneratedMethodAccessor5506.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.doApplicationStateChange(DelegatingComponent.java:139)
    at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.doApplicationStateChange(ClientComponent.java:667)
    at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.doApplicationStateChange(ClientApplication.java:537)
    at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:120)
    at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:333)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:741)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:694)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:253)
    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(Native Method)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
    ras

    Hi,
    In transaction HRUSER check if the user XYZ has been attributed to a valid pernr and if the user is valid in period.
    regards,
    Fabio Louzada Saito

  • Parameter CMS_USER_ID does not exist on this report

    does any one know solution about the problem on reporting user for error message  "Parameter CMS_USER_ID does not exist on this report" ?
    Regards,
    ALi

    Your code always sends 4 line records with each header. Code is not checking if it belongs to same header or not. Please check your code.

  • [nQSError: 59014] The  requested column does not exist in this table.

    Hi
    As you know this error has been discussed in other threads.. the difference in mine is that not only the time series measures but all the columns are giving me the error...none of the columns are being displayed... The rpd has no consistency errors. can anyone suggest what may be going on?
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 59014] The requested column does not exist in this table. (HY000)
    SQL Issued: SELECT column1 saw_0 FROM Paint3 ORDER BY saw_0
    Thank you
    mm58

    I guess you have the column in RPD, and it is available for queries.
    are you using any time measures? if so check you chronological keys.

  • The requested column does not exist in this table

    Hi All,
    I am getting the following error:
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 59014] The requested column does not exist in this table. (HY000)
    SQL Issued: SELECT "Customers - Dim".CITY FROM MVDEMO ORDER BY 1
    When I tried viewing data online I am able to view the data in the physical Layer. Also I tried connecting thru ODBC Client and issued the same SQL (above) and it returns the data.
    I am using Oralce BIEE 10.1.3.2.1 version.
    Please let me know if any faced this kinda issue and how to resolve this.
    Thank you.

    Check your column mapping in the BMM layer in your Customers - Dim logical table. Does the CITY column point to a physical table column?

  • Link Reports -item  does not exists on this page

    I have two tables Person table with Primary Key of PersonID, and Person_Qualification Table with a FK of Person_ID.
    I have a report for each table. I have created a report on the Person Table(Page 3000) with a link column to the Person Qualification Report (Page 3119).
    In the link column I created in the person report I have my parameters set as P3000_PersonID and #Person_ID# as field to populate the URL with, and the target page as 3119.
    However anytime I click this link that takes me to the PersonQualification report I get an error stating the Item P3000_Person ID does not exists on this page (3119).
    I have linked a form and report together before, but not two reports.
    I want the person qualification report to be only for the personID that was clicked on.
    I tried adding P3000_PersonID to the query in the person_qualification page I.E. where PersonID=:P3000_PersonID but I still get the item P3000_Person ID does not exists on this page or something to this effect.
    Thanks

    Hello gtjr,
    You need to define an item (usually hidden) on page 3119 to hold the person ID and use that in your second report's query.
    Then in the column link for the first report, specify this new item to be set to the person ID linked.
    The reason for the error is you're telling ApEx to set an item p3000_person_id on page 3119, but that item doesn't exist on page 3119.
    Hope this helps,
    John
    Please remember to reward helpful or correct responses. :-)

  • Target 'install' does not exist in this project ",this is the error i get..

    i get this error when i try to install ,with the command : ant install,
    a webservice on tomcat, and when i type
    ant install it gives me this error:
    " Target 'install' does not exist in this project "
    i have a file in the same directory with the build.xml named install.xml
    and when i type ant build there is no error but by tiping ant install the error above occurs!

    ant install will execute the target install. As you did not define the build file, the standard one is taken: build.xml.
    These options could be of interest for you:
      -buildfile <file>      use given buildfile
        -file    <file>              ''
        -f       <file>              ''

  • Target 'install' does not exist in this project (TOmcat)

    i get this error when i try to install a webservice on tomcat, and when i type
    ant install it gives me this error:
    " Target 'install' does not exist in this project "
    i have a file in the same directory with the build.xml named install.xml
    and when i type ant build there is no error but by tiping ant install the error above occurs!
    Message was edited by:
    TheBeginner_77

    ant install will execute the target install. As you did not define the build file, the standard one is taken: build.xml.
    These options could be of interest for you:
      -buildfile <file>      use given buildfile
        -file    <file>              ''
        -f       <file>              ''

  • Default Target Main Build does not exist in this project

    I am learning ant with eclipse and wanted to use ant build.xml to compile and run my class. I was getting the following error when i just tried to use ant.
    Default Target Main Build does not exist in this project
    package src;
    public class Ch05_02 {
        public static void main(String[] args) {
            System.out.println("This code was built using Ant.");
    <?xml version="1.0" encoding = "UTF-8"?>
    <project name="Ch05_02" default="Main Build" basedir=".">
    </project>Ref: http://www.javabeginner.com/Ch05_02.zip
    Edited by: hemanthjava on Oct 28, 2007 5:43 AM

    You gave a default target in the build.xml, and then didn't define the target.
    This is an Ant question. You're better off asking Ant questions on an Ant forum.

Maybe you are looking for

  • Conversion of a float to IEEE 754 hexa (and vice versa)

    Hello everyone, I need to convert a float into an hexadecimal value to transmit it on a communication bus (I also have to decode the hexa into a float). I need this hexadecimal to respect the IEEE 754 technical standart. I'm trying to do it with the

  • Powerbook 14" to 12" inter changeability??

    Hello, I am curious to know more about the possibilities of exchanging parts from an 14" Powerbook to a 12" one, such as the... 1. Superdisk drive 2. HDD 3. Logic board / motherboard Thank you

  • Withholding tax screen in AP Invoice

    Hi,     I have an issue in that with holding tax screen is not getting enabled in AP Invoice screen. All the values are getting calculated but I cant edit any of the values. Kindly your valuable views on this. Thanks in advance. Regards, Maheswaran.

  • Steps in payroll processing

    Dear All, Can anyone tell me the steps involve in payroll processing. Regards, Kumar

  • Call two programs from one program.

    HI all, I have two BDC interface in seperate programs. I want to call that two programs from one program based on a condition. Is there any way. I tried with call transaction 'SE38'. set parameter ID but it is taking buffered value. Thanks, sri