ERROR WHILE CREATING XD01 THROUGH WORKFLOE IN BACKGROUND

HI,
I am facing problem while creating xd01 in background.
actually i have created method in workflow in mehhod i am using Z function module
with following  xd01 recoding code with workflow method is foreground it is working fine
if workflow method (Task set background) is giving error like
MSGTYP 00.  MSGID 255    Fieldname          kna1-lifnr            in  BDCMSGCOll
please reply me as soon as possible
perform bdc_dynpro      using 'SAPMF02D' '0100'.
perform bdc_field       using 'BDC_CURSOR'
                              'USE_ZAV'.
perform bdc_field       using 'BDC_OKCODE'
                              '/00'.
perform bdc_field       using 'RF02D-BUKRS'
                               it_customer-bukrs.                    ""'1000'.
perform bdc_field       using 'RF02D-VKORG'
                               it_customer-vkorg.                      ""'1000'.
perform bdc_field       using 'RF02D-VTWEG'
                               it_customer-VTWEG .                     ""'20'.
perform bdc_field       using 'RF02D-SPART'
                               it_customer-spart .                      ""'30'.
perform bdc_field       using 'RF02D-KTOKD'
                              it_customer-KTOKD.                       ""'ZD01'.
perform bdc_field       using 'USE_ZAV'
                             it_customer-check . ""'X'.
                                'X'.
perform bdc_dynpro      using 'SAPMF02D' '0111'.
perform bdc_field       using 'BDC_OKCODE'
                              '/00'.
perform bdc_field       using 'BDC_CURSOR'
                              'SZA1_D0100-SMTP_ADDR'.
perform bdc_field       using 'SZA1_D0100-TITLE_MEDI'
                               it_customer-ANRED.                    ""'Company'.
perform bdc_field       using 'ADDR1_DATA-NAME1'
                              it_customer-name1 .                         ""'NAME 1'.
perform bdc_field       using 'ADDR1_DATA-NAME2'
                                it_customer-name2.                                         ""NAME 2'.
perform bdc_field       using 'ADDR1_DATA-SORT1'
                               it_customer-SORT1.
                                                                  "" 'TEST DATA'.
perform bdc_field       using 'ADDR1_DATA-STR_SUPPL1'
                               it_customer-STR_SUPPL1.           ""'STREET 2'.
perform bdc_field       using 'ADDR1_DATA-STR_SUPPL2'
                              it_customer-STR_SUPPL2 .          "" STREET 3'.
perform bdc_field       using 'ADDR1_DATA-STREET'
                              it_customer-STREET.                  "'STREET 1'.
*perform bdc_field       using 'ADDR1_DATA-STR_SUPPL3'
                              it_customer-STR_SUPPL3.                 ""'STREET 4'.
perform bdc_field       using 'ADDR1_DATA-POST_CODE1'
                                it_customer-POST_CODE1.                        ""'400055'.
perform bdc_field       using 'ADDR1_DATA-CITY1'
                                it_customer-CITY1.                              ""'mumbai'.
perform bdc_field       using 'ADDR1_DATA-COUNTRY'
                               it_customer-country.  ""'IN'.
perform bdc_field       using 'ADDR1_DATA-REGION'
                                it_customer-region.                                      ""'13'.
*perform bdc_field       using 'ADDR1_DATA-TIME_ZONE'
                              it_customer-TIME_ZONE.                                      ""'INDIA'.
perform bdc_field       using 'ADDR1_DATA-TRANSPZONE'
                               it_customer-TRANSPZONE.        ""'201300'.
perform bdc_field       using 'ADDR1_DATA-LANGU'
                              it_customer-langu.                   "   'EN'.
perform bdc_field       using 'SZA1_D0100-TEL_NUMBER'
                               it_customer-TEL_NUMBER.            "'022-677623420'.
perform bdc_field       using 'SZA1_D0100-MOB_NUMBER'
                              it_customer-MOB_NUMBER.                                    ""'9867936636'.
perform bdc_field       using 'SZA1_D0100-FAX_NUMBER'
                               it_customer-FAX_NUMBER.                                   ""'022-67768877'.
perform bdc_field       using 'SZA1_D0100-SMTP_ADDR'
                               it_customer-SMTP_ADDR.                                         
perform bdc_dynpro      using 'SAPMF02D' '0120'.
perform bdc_field       using 'BDC_CURSOR'
                              'KNA1-LIFNR'.
perform bdc_field       using 'BDC_OKCODE'
                              '=OPFI'.
perform bdc_dynpro      using 'SAPLJ1I_MASTER' '0200'.
perform bdc_field       using 'BDC_OKCODE'
                              '=CIN_CUSTOMER_FC2'.
perform bdc_field       using 'BDC_CURSOR'
                              'J_1IMOCUST-J_1IEXCICU'.
perform bdc_field       using 'J_1IMOCUST-J_1IEXCD'
                              it_customer-J_1IEXCD. ""'AAACW6074DXD001'.
perform bdc_field       using 'J_1IMOCUST-J_1IEXRN'
                               it_customer-J_1IEXrn.                          "" 'AAACW6074DXD001'.
perform bdc_field       using 'J_1IMOCUST-J_1IEXRG'
                              ""'KALYAN'.
                               it_customer-j_1iexrg.
perform bdc_field       using 'J_1IMOCUST-J_1IEXDI'
                               it_customer-j_1iexdi.
                                                         ""'IV'.
perform bdc_field       using 'J_1IMOCUST-J_1IEXCO'
                                it_customer-J_1IEXCO.                       "" 'ADDJCK'.
perform bdc_field       using 'J_1IMOCUST-J_1IEXCICU'
                               it_customer-J_1IEXCICU.  ""'1'.
perform bdc_dynpro      using 'SAPLJ1I_MASTER' '0200'.
perform bdc_field       using 'BDC_OKCODE'
                              '=CIN_CUSTOMER_FC3'.
perform bdc_field       using 'BDC_CURSOR'
                              'J_1IMOCUST-J_1ISERN'.
perform bdc_field       using 'J_1IMOCUST-J_1ICSTNO'
                              it_customer-J_1ICSTNO.   "" 'CSTV123983E4B'.
perform bdc_field       using 'J_1IMOCUST-J_1ILSTNO'
                                it_customer-J_1IlSTNO. ""'LST93U4R983FC'.
perform bdc_field       using 'J_1IMOCUST-J_1ISERN'
                              it_customer-J_1ISERN.     ""'AADDK388494M'.
perform bdc_dynpro      using 'SAPLJ1I_MASTER' '0200'.
perform bdc_field       using 'BDC_OKCODE'
                              '=BACK'.
perform bdc_field       using 'BDC_CURSOR'
                              'J_1IMOCUST-J_1IPANNO'.
perform bdc_field       using 'J_1IMOCUST-J_1IPANNO'
                               it_customer-J_1IPANNO.
                              ""'PAND883322M'.
perform bdc_dynpro      using 'SAPMF02D' '0120'.
perform bdc_field       using 'BDC_CURSOR'
                              'KNA1-LIFNR'.
perform bdc_field       using 'BDC_OKCODE'
                              '/00'.
perform bdc_field       using 'KNA1-LIFNR'
                               it_customer-lifnr. ""'100000'.
perform bdc_dynpro      using 'SAPMF02D' '0125'.
perform bdc_field       using 'BDC_CURSOR'
                              'KNA1-KUKLA'.
perform bdc_field       using 'BDC_OKCODE'
                                '=ENTR' .          "" '/00'.
perform bdc_field       using 'KNA1-KUKLA'
                               it_customer-KUKLA. ""'02'.
perform bdc_dynpro      using 'SAPMF02D' '0130'.
perform bdc_field       using 'BDC_CURSOR'
                              'KNBK-BANKS(01)'.
perform bdc_field       using 'BDC_OKCODE'
                              '=ENTR'.
perform bdc_dynpro      using 'SAPMF02D' '0340'.
perform bdc_field       using 'BDC_CURSOR'
                              'RF02D-KUNNR'.
perform bdc_field       using 'BDC_OKCODE'
                              '=ENTR'.
perform bdc_dynpro      using 'SAPMF02D' '0370'.
perform bdc_field       using 'BDC_CURSOR'
                              'RF02D-KUNNR'.
perform bdc_field       using 'BDC_OKCODE'
                              '=ENTR'.
perform bdc_field       using 'KNA1-CIVVE'
                             it_customer-CIVVE.""'X'.
                                 'X'.
perform bdc_dynpro      using 'SAPMF02D' '0360'.
perform bdc_field       using 'BDC_CURSOR'
                              'KNVK-NAMEV(01)'.
perform bdc_field       using 'BDC_OKCODE'
                              '=ENTR'.
IF ( it_customer-KTOKD <> 'ZD02' ) .
perform bdc_dynpro      using 'SAPMF02D' '0210'.
perform bdc_field       using 'BDC_CURSOR'
                              'KNB1-FDGRV'.
perform bdc_field       using 'BDC_OKCODE'
                              '/00'.
perform bdc_field       using 'KNB1-AKONT'
                             it_customer-akont."" '213002'.
perform bdc_field       using 'KNB1-ZUAWA'
                              it_customer-ZUAWA.""'001'.
perform bdc_field       using 'KNB1-FDGRV'
                              it_customer-FDGRV. ""'E2'.
perform bdc_dynpro      using 'SAPMF02D' '0215'.
perform bdc_field       using 'BDC_CURSOR'
                              'KNB1-ZWELS'.
perform bdc_field       using 'BDC_OKCODE'
                              '/00'.
perform bdc_field       using 'KNB1-ZTERM'
                             it_customer-ZTERM.""'0001'.
perform bdc_field       using 'KNB1-ZWELS'
                               it_customer-ZWELS. ""'C'.
perform bdc_dynpro      using 'SAPMF02D' '0220'.
perform bdc_field       using 'BDC_CURSOR'
                              'KNB5-MAHNA'.
perform bdc_field       using 'BDC_OKCODE'
                              '/00'.
perform bdc_dynpro      using 'SAPMF02D' '0230'.
perform bdc_field       using 'BDC_CURSOR'
                              'KNB1-VRSNR'.
perform bdc_field       using 'BDC_OKCODE'
                              '/00'.
perform bdc_dynpro      using 'SAPMF02D' '0610'.
perform bdc_field       using 'BDC_OKCODE'
                              '/00'.
perform bdc_field       using 'BDC_CURSOR'
                              'RF02D-KUNNR'.
ENDIF.
perform bdc_dynpro      using 'SAPMF02D' '0310'.
perform bdc_field       using 'BDC_CURSOR'
                               'KNVV-VERSG'.
perform bdc_field       using 'BDC_OKCODE'
                              '/00'.
*perform bdc_field       using 'KNVV-AWAHR'
                             it_customer-awahr.  ""'100'.
perform bdc_field       using 'KNVV-VKBUR'
                               it_customer-vkbur.  ""'1000'.
perform bdc_field       using 'KNVV-WAERS'
                               it_customer-WAERS.                   ""'INR'.
perform bdc_field       using 'KNVV-KALKS'
                              it_customer-KALKS.  "'1'.
perform bdc_field       using 'KNVV-VERSG'
                              it_customer-VERSG.
                                                        ""'1'.
perform bdc_dynpro      using 'SAPMF02D' '0315'.
perform bdc_field       using 'BDC_CURSOR'
                              'KNVV-VSBED'.
perform bdc_field       using 'BDC_OKCODE'
                              '/00'.
perform bdc_field       using 'KNVV-LPRIO'
                             it_customer-LPRIO.  "'1'.
perform bdc_field       using 'KNVV-KZAZU'
                              it_customer-KZAZU.""'X'.
                                'X'.
perform bdc_field       using 'KNVV-VSBED'
                              it_customer-VSBED.""'20'.
perform bdc_field       using 'KNVV-ANTLF'
                             it_customer-ANTLF. ""'9'.
                               '9'.
if ( it_customer-ktoKd <> 'ZD02' and it_customer-ktoKd <> 'ZD01' ).
perform bdc_dynpro      using 'SAPMF02D' '0320'.
perform bdc_field       using 'BDC_CURSOR'
                              'KNVV-INCO2'.
perform bdc_field       using 'BDC_OKCODE'
                              '=ENTS'.
perform bdc_field       using 'KNVV-INCO1'
                             it_customer-INCO1." 'CIF'.
perform bdc_field       using 'KNVV-INCO2'
                              it_customer-INCO2. "" 'mumbai'.
perform bdc_field       using 'KNVV-ZTERM'
                              it_customer-ZTERM. ""'0001'.
perform bdc_field       using 'KNVV-KKBER'
                              it_customer-kkber.""'1000'.
ENDIF.
if it_customer-ktokd <> 'ZD04'.
  perform bdc_dynpro      using 'SAPMF02D' '0320'.
perform bdc_field       using 'BDC_CURSOR'
                              'KNVV-INCO2'.
perform bdc_field       using 'BDC_OKCODE'
                              '=ENTS'.
perform bdc_field       using 'KNVV-INCO1'
                             it_customer-INCO1." 'CIF'.
perform bdc_field       using 'KNVV-INCO2'
                              it_customer-INCO2. "" 'mumbai'.
perform bdc_field       using 'KNVV-ZTERM'
                              it_customer-ZTERM. ""'0001'.
perform bdc_field       using 'KNVV-KKBER'
                              it_customer-kkber.""'1000'.
perform bdc_dynpro      using 'SAPMF02D' '1350'.
perform bdc_field       using 'BDC_CURSOR'
                              'KNVI-TAXKD(03)'.
perform bdc_field       using 'BDC_OKCODE'
                              '=ENTR'.
  DATA : FNAM(20) TYPE C,
       IDX(2)      TYPE C.
  MOVE 1 TO IDX.
loop at gt_tax where kunnr = it_customer-kunnr.
CONCATENATE 'KNVI-TAXKD(' '0' IDX ')' INTO FNAM.
perform bdc_field       using FNAM
                       GT_TAX-TAXKD.
idx = idx + 1.
ENDLOOP.
ENDIF.
perform bdc_dynpro      using 'SAPMF02D' '1350'.
perform bdc_field       using 'BDC_CURSOR'
                              'RF02D-KUNNR'.
perform bdc_field       using 'BDC_OKCODE'
                              '=ENTR'.
perform bdc_dynpro      using 'SAPMF02D' '0324'.
perform bdc_field       using 'BDC_CURSOR'
                              'KNVP-PARVW(01)'.
perform bdc_field       using 'BDC_OKCODE'
                              '=ENTR'.
CALL TRANSACTION C_XD01 USING IT_BDCDATA
     OPTIONS FROM x_options
                         mode  C_MODE
                      update  C_UPDATE
                     MESSAGES INTO IT_BDCMSGCOLL.
regards,
K.satyanarayana

Hi
We are in 11.5.10.2 and I already checked notes which you sent before and setups are fine as the relationship type' Ship to' having 'contacts' enabled in the setup.
I am also seeing a differernt issue as once I update existing item instnace with the status 'Return for Credit' through API, system is not allowing me to update the extended attributes through front end application manually and I am seeing a note at the end of the screen as 'Note: This item instance cannot be updated. ' and this is only happening when I update the item instance status to 'Returned for Credit' not when I create new item instances with status as 'Created'. Is this intended functionality to restrict update on extended attributes if I change the status of item instnace to 'Return for Credit' ?
Thanks

Similar Messages

  • Error while creating project through import.wdl

    Hi
    We are having issues creating project using the import.wdl.
    We are able to create content administration and merchandising projects though.
    We are getting the following error while creating a programatic import project through import.wdl
    [12/8/13 23:26:27:259 CST] 00000021 SystemErr     R atg.workflow.WorkflowException: The inner project was not created. Check that your project workflow has been initialized by the workflow engine.
    [12/8/13 23:26:27:260 CST] 00000021 SystemErr     R  at atg.epub.project.ProcessHomeMethods.initializeProcess(ProcessHomeMethods.java:450)
    [12/8/13 23:26:27:260 CST] 00000021 SystemErr     R  at atg.epub.project._ProcessHome_Impl.initializeProcess(_ProcessHome_Impl.java:53)
    [12/8/13 23:26:27:260 CST] 00000021 SystemErr     R  at atg.epub.project._ProcessHome_ReposImpl.initializeProcess(_ProcessHome_ReposImpl.java:3)
    [12/8/13 23:26:27:260 CST] 00000021 SystemErr     R  at atg.epub.servlet.CreateProcessFormHandler.handleCreateProcess(CreateProcessFormHandler.java:380)
    We have checked all the workflow manager settings. The workflowProcessManager.xml is properly pointing to the system name and drp port.
    We had delete entries from
    epub_wf_server_id
    epub_coll_workflow
    epub_workflow_info
    dss_server_id
    dsi_server_id
    upon enabling the logdebugs of WorkFlowProcesManager, we are seeing the following debugs.
    [12/8/13 23:31:08:101 CST] 00000020 SystemOut     O /atg/epub/workflow/process/WorkflowProcessManager received message on port IndividualEvents message: ObjectMessage()
    [12/8/13 23:31:08:101 CST] 00000020 SystemOut     O /atg/epub/workflow/process/WorkflowProcessManager [message]: received an individual event message StartWorkflowMessage[messageId=96000003subjectId=prc272003,subjectType=process,processName=/Commerce/import.wdl,segmentName=main,user=user : admin null] of type atg.workflow.StartWorkflow
    [12/8/13 23:31:08:101 CST] 00000020 SystemOut     O /atg/epub/workflow/process/WorkflowProcessManager [message]: created individual execution context ProcessExecutionContextImpl[individual,subject=process:prc272003,messageType=atg.workflow.StartWorkflow,message=StartWorkflowMessage[messageId=96000003subjectId=prc272003,subjectType=process,processName=/Commerce/import.wdl,segmentName=main,user=user : admin null],sessionId=Tw-Yr5CQqqkADS3q8MadASz,parentSessionId=Tw-Yr5CQqqkADS3q8MadASz,request=atg.servlet.DynamoHttpServletRequest@1009990707,response=atg.servlet.DynamoHttpServletResponse@3c9e3c9e]
    [12/8/13 23:31:08:103 CST] 00000020 SystemOut     O /atg/epub/workflow/process/WorkflowProcessManager [message]: 0 individual instances found for subject process:prc272003
    [12/8/13 23:31:08:103 CST] 00000020 SystemOut     O /atg/epub/workflow/process/WorkflowProcessManager [message]: going through process segments registered for type atg.workflow.StartWorkflow for subject process:prc272003

    If you have a support contract with Orcale you can find out hoe to fix this error by checking out Knowledge Article 1038072.1 How to troubleshoot "atg.workflow.WorkflowException: The inner project was not created. Check that your project workflow has been initialized by the workflow engine."
    The article says you should:
    1.
    delete from epub_wf_server_id
    delete from epub_coll_workflow
    delete from epub_workflow_info
    restart server and retest
    2. If problem exists check that you have configured the Workflow Process Editor Server correctly.
    The problem is that probably the workflow has not been not been initialized correctly by the Workflow Editor Server.

  • Getting Error while creating Project through API:PA_PROJECT_PUB.CREATE_PROJ

    Hi Gurus,
    I'm getting an error while creating a New project.
    My code looks like this:
    APPS.PA_PROJECT_PUB.CREATE_PROJECT
    (p_api_version_number => l_object_version_number --IN Parameter
    ,p_commit => l_commit --IN Parameter
    ,p_init_msg_list => l_init_msg_list --IN Parameter
    ,p_msg_count => l_msg_count --OUT Parameter
    ,p_msg_data => l_msg_data --OUT Parameter
    ,p_return_status => l_return_status --OUT Parameter
    ,p_workflow_started => l_workflow_started --OUT Parameter
    ,p_pm_product_code => g_pm_product_code --IN Parameter
    ,p_op_validate_flag => l_op_validate_flag --IN Parameter
    ,p_project_in => g_project_in --IN Parameter
    ,p_project_out => g_project_out --OUT Parameter
    ,p_tasks_in => g_task_in --IN Parameter
    ,p_tasks_out => g_task_out --OUT Parameter
    The out put params are: p_msg_count => 1
    p_return_status => E
    p_workflow_started => N
    g_project_out.pa_project_id => 170000000000000000000
    g_project_out.pa_project_number => ^
    g_task_out_rec.pa_task_id => 170000000000000000000
    End process record p_proj_insert => 1
    Resetting the task count variable
    when I checked the API code I found this:
    PA_INTERFACE_UTILS_PUB.G_PROJECt_ID := null; --bug 2471668 ( not in the project context )
    PA_PM_FUNCTION_SECURITY_PUB.check_function_security
    (p_api_version_number => p_api_version_number,
    p_responsibility_id => l_resp_id,
    p_function_name => 'PA_PM_CREATE_PROJECT',
    p_msg_count => l_msg_count,
    p_msg_data => l_msg_data,
    p_return_status => l_return_status,
    p_function_allowed => l_function_allowed
    . I think I am getting the error because of this.
    Now, question.
    Do I need to run the Create Project from a specific Responsibility?
    because when I ran the underlined query, I fpound the final status as 'N'.
    I'm a HR guy and PA is a new world for me. Any help will be appreciated.
    Thanks!!
    Viky

    You need to find any responsibility and userid that lets you create a project using the screen.
    And then in your code, you need to set your context to that resp/userid.
    Hope this helps
    Sandeep Gandhi

  • Error while creating hierarchy through " Create Hierarchy field" option

    Hi All,
    while trying to create hierarchy through Create Hierarchy field option i am facing the following error
    I am giving the following inputs
    Hierarchy field name : XYZ
    Parent field                : Level1
    Child Field                  : Level2
    Node name field        : Level3
    Cannot find the parent ID value "abc" in Field ID Level2 of Table " Hierarchy"
    FYI
    The source hierarchy is in Columns format with Level1(Parent)---->Lever2(Child of Level1) and Level3(Child of level2)
    Kindly guide me where i am going wrong
    Thanks in Advance
    Regards
    Sharma

    Hi Sharma,
    Your input file should have 3 columns for hierarchy one which will store level 1 information,2nd will have corresponding level 2 information and 3rd will have corresponding level 3 info.
    Now in Import Manager go to Partition,select 1st ,2nd and 3rd column.Donot combine the fields. Now map the partition fields with the target hierarchy field.Perform the value mapping and import.
    Or
    YOu can have one column in the excel file.with values L1>L2>L3(split by some delimiter).
    In import manager go to source hierechy pany select the Column and from context menu select option split into hierechy as per the delimiter.
    Now map the parttion field and target field ,do value mapping and import.
    Regards,
    Neethu Joy

  • Error while creating delivery through VL01N

    Hi
    The material master availability check group for plant 1001 is 02 (field MARC-MTVFP) and delivery plant as 1002 (different plant) .So while creating sales order automatically it picks plant 1002 and populate VBAP-WERKS field.  There is no stock or production order or PO. So availability check is showing 0 qty.  Now while creating outbound delivery via VL01N it is throwing error  "Order cannot be delivered (see long text) Message no. VL461".
    Now when I create a new sales order line item and change the plant to 1001 manually and try to create delivery, it is not giving any error and allowing me to proceed. In this plant too there is no stock or prodcution order or PO (exactly same as in plant 1002, during avalibility check qty is 0). So when a system suggested plant is changed in VA02 why VL01N transaction is not checking for availability and giving any error?
    Pls suggest
    Thanks

    Hi
    Kindly check the belwo points
    1. check the  item category  for the line item.
    2.  When you change the plant kindly cloick on availabilty and deliver the order
    3. Check the availablity check  field mainatined in  both the plants in the material master sales org/plant data
    4. Check the schedule line data for both the plants in the sales order
    Regards
    Damu

  • Error while creating asset through AS91

    Hi All,
    When i am trying to create asset through AS91 for a new company i am getting error AY 252 " Current fiscal year 2007 has to be after transfer daet 31.12.2007. In this company the Asset accounting has been recently customised but when i am trying for the upload of asset master data i am getting the above given error.
    Please tell what should be done to remove this error.
    Thanks & regards,
    Prachi

    Check the transfer date for asst data transfer...make sure the current fiscal yr is after the transfer date
    Asset accounting>Asset data transfer>Parameters for data transfer>date specifications>Specify transfer date/last closed fiscal yr.

  • CScript.exe error while creating DB through OMPM 2010

    Hello,
    I am trying to create a new database through OMPM 2010. While executing the CreateDB.bat file following error message is coming up:
    Runtime Error!
    Program: C:\Windows\system32\cscript.exe
    R6034
    I've tried various solutions available on internet but none of em are working. Please let me know how can I resolve this issue.
    Thanks,
    Shikhar

    To fix the Runtime Error! R6034, try this:
    Full-Scan harddisk through antivirus software tool to remove your system virus
    Try to run it in Windows safe mode.
    Remove the following registry entry:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ShellExecuteHooks\{AEB6717E-7E19-11d0-97EE-00C04FD91972},
    http://social.technet.microsoft.com/Forums/windows/en-US/ec4058d5-f1c5-49d5-826f-f67f95e0ab29/run-time-error-r6034?forum=w7itprogeneral
    Thanks.
    Tony Chen
    TechNet Community Support

  • Error while creating contact through API in Install Base

    Hello
    I am trying to create contacts when creating a install base through API...
    I tried below code as per metalink note# 215456.1 and giving the below error. I checked setup andI have 'Ship To' exists in Instnace Party Account Relationsship setup in the aplication and also I have a party Id 1232890 exist in hz_parties table with party type as 'Person' and I passed contact_ip_id as instance_party_id from CSI_I_PARTIES table for the instance to be update...
    Also, can anybody help me how to purge the error messages before calling the API, suppose if i have 2 records and all two records will error then my second record error getting contatenated with my first error and message count also getting increased(see error message below as message count coming as 2 even though there is only one error)
    SET SERVEROUTPUT ON SIZE 1000000
    DECLARE
    p_instance_rec CSI_DATASTRUCTURES_PUB.INSTANCE_REC;
    p_ext_attrib_values_tbl
    CSI_DATASTRUCTURES_PUB.EXTEND_ATTRIB_VALUES_TBL;
    p_party_tbl CSI_DATASTRUCTURES_PUB.PARTY_TBL;
    p_account_tbl CSI_DATASTRUCTURES_PUB.PARTY_ACCOUNT_TBL;
    p_pricing_attrib_tbl CSI_DATASTRUCTURES_PUB.PRICING_ATTRIBS_TBL;
    p_org_assignments_tbl CSI_DATASTRUCTURES_PUB.ORGANIZATION_UNITS_TBL;
    p_asset_assignment_tbl CSI_DATASTRUCTURES_PUB.INSTANCE_ASSET_TBL;
    p_txn_rec CSI_DATASTRUCTURES_PUB.TRANSACTION_REC;
    x_instance_id_lst CSI_DATASTRUCTURES_PUB.ID_TBL;
    x_return_status VARCHAR2(2000);
    x_msg_count NUMBER;
    x_msg_data VARCHAR2(2000);
    x_msg_index_out NUMBER;
    t_output VARCHAR2(2000);
    t_msg_dummy NUMBER;
    BEGIN
    p_party_tbl(1).instance_party_id := null;
    p_party_tbl(1).instance_id := 1216497;
    p_party_tbl(1).party_source_table := 'HZ_PARTIES';
    p_party_tbl(1).party_id := 1232890;
    p_party_tbl(1).relationship_type_code := 'Ship To';
    p_party_tbl(1).contact_flag := 'Y';
    p_party_tbl(1).contact_ip_id := 1699185;
    x_msg_count := 0;
    p_party_tbl(1).OBJECT_VERSION_NUMBER := 1;
    -- Now call the stored program
    csi_item_instance_pub.update_item_instance(
    1.0,
    'F',
    'F',
    1,
    p_instance_rec,
    p_ext_attrib_values_tbl,
    p_party_tbl,
    p_account_tbl,
    p_pricing_attrib_tbl,
    p_org_assignments_tbl,
    p_asset_assignment_tbl,
    p_txn_rec,
    x_instance_id_lst,
    x_return_status,
    x_msg_count,
    x_msg_data);
    -- Output the results
    if x_msg_count > 0
    then
    for j in 1 .. x_msg_count loop
    fnd_msg_pub.get
    ( j
    , FND_API.G_FALSE
    , x_msg_data
    , t_msg_dummy
    t_output := ( 'Msg'
    || To_Char
    ( j
    || ': '
    || x_msg_data
    dbms_output.put_line
    ( SubStr
    ( t_output
    , 1
    , 255
    end loop;
    end if;
    dbms_output.put_line('x_return_status = '||x_return_status);
    dbms_output.put_line('x_msg_count = '||TO_CHAR(x_msg_count));
    dbms_output.put_line('x_msg_data = '||x_msg_data);
    -- COMMIT;
    END;
    ERROR
    SQL> @p
    Msg1: The Party Relationship Type (Ship To) entered is either invalid or it does
    not exist in the Installed Base Lookups
    Msg2: The Party Relationship Type (Ship To) entered is either invalid or it does
    not exist in the Installed Base Lookups
    x_return_status = E
    x_msg_count = 2
    x_msg_data = The Party Relationship Type (Ship To) entered is either invalid or
    it does not exist in the Installed Base Lookups
    PL/SQL procedure successfully completed.

    Hi
    We are in 11.5.10.2 and I already checked notes which you sent before and setups are fine as the relationship type' Ship to' having 'contacts' enabled in the setup.
    I am also seeing a differernt issue as once I update existing item instnace with the status 'Return for Credit' through API, system is not allowing me to update the extended attributes through front end application manually and I am seeing a note at the end of the screen as 'Note: This item instance cannot be updated. ' and this is only happening when I update the item instance status to 'Returned for Credit' not when I create new item instances with status as 'Created'. Is this intended functionality to restrict update on extended attributes if I change the status of item instnace to 'Return for Credit' ?
    Thanks

  • FELX-SSV EXCEPTION Error while creating SIT through concurrent program

    I am trying to create an SIT through concurrent program using API with all hard coded values for all API parameters, I am getting FLEX-SSV Exception error but the same code is working fine in TOAD.
    Procedure :-
    CREATEORREPLACEPROCEDURE XX_ABSENCE_TEST
    P_ERR_BUF OUTVARCHAR2,
    P_RETCODE OUTNUMBER
    IS
    L_ANALYSIS_CRITERIA_ID        NUMBER;
    L_OUT_PERSON_ANALYSIS_ID      NUMBER;
    L_PEA_OBJECT_VERSION_NUMBER   NUMBER;
    L_ERR_MESG varchar2(3000);
    BEGIN
    INSERTINTOXX_DEBUGVALUES('Starting',0,0);
    HR_SIT_API.CREATE_SIT
    (P_VALIDATE                       =>FALSE,
    P_PERSON_ID                      =>59021,
    P_BUSINESS_GROUP_ID              =>3036,
    P_ID_FLEX_NUM                    =>50320,
    P_EFFECTIVE_DATE                 =>'02-APR-15',
    P_DATE_FROM                      =>'02-APR-15',
    P_SEGMENT1                       =>'Annual Leave',
    P_SEGMENT3                       =>'02-APR-15',
    P_SEGMENT5                       =>'05-APR-15',
    P_SEGMENT10                      =>59021,--I.PERSON_ID,
    P_SEGMENT15                      =>'02-APR-15',
    P_ANALYSIS_CRITERIA_ID           => L_ANALYSIS_CRITERIA_ID,
    P_PERSON_ANALYSIS_ID             => L_OUT_PERSON_ANALYSIS_ID,
    P_PEA_OBJECT_VERSION_NUMBER      => L_PEA_OBJECT_VERSION_NUMBER
    INSERTINTOXX_DEBUGVALUES('Created',NULL,NULL);
    COMMIT;
    EXCEPTION
    WHENOTHERSTHEN
    L_ERR_MESG :=
                                 L_ERR_MESG || SUBSTR(SQLERRM,1,250)
                                 || CHR(10);
    INSERTINTOXX_DEBUGVALUES('Exception',L_ERR_MESG,NULL);
    commit;
    END;
    Regards,
    Pradeep

    It looks like more of an issue with connecting to essbase, usually "java.lang.UnsatisfiedLinkError: no HspEssbaseEnv in java.library.path" means planning has not been installed or deployed correctly, what OS is it running on?
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Error while creating WBS through BAPI

    I am using BAPI_PROJECT_MAINTAIN to create WBS L2 & L3.
    There is only 1 WBS at both levels.
    For some cases it is running fine, but I am getting the following error in some cases:
    "WBS element 3UTWB_BSRHT_001 can no longer be shifted"
    What could be the reason?

    As you told you are creating WBS vai BAPI. This may not be  exact relevant Normally you cannot  change  hierarchy of WBS Elements after you have done some sort of execution / planning on it. If you are getting error than please share details of error message with no.
    With Regards
    Nitin P.

  • Sam error while creating users through sim

    Hi
    We have protected sun identity manager with sun access manager.We have a custom workflow for user creation ijn SIM but user creation fails with following error
    java.lang.NoClassDefFoundError: com/iplanet/am/sdk/AMGroup
    this seems like sam error, can someone please tell me how can i resolve this.
    regards
    karthik

    Hi
    We have protected sun identity manager with sun access manager.We have a custom workflow for user creation ijn SIM but user creation fails with following error
    java.lang.NoClassDefFoundError: com/iplanet/am/sdk/AMGroup
    this seems like sam error, can someone please tell me how can i resolve this.
    regards
    karthik

  • *Error while creating Trave Requset through ESS*

    Hi,
    We are getting following error while creating request through ESS:
    Entry not found in table T706V. Argument: 40P IN 0010120090608
    The estimated travel amounts could not be determined
    Errors have been discovered when checking the Expense Report. Please correct them in order to proceed.
    Whereas we have already maintained entries in the same table.
    Please reply urgently...
    Thanks
    Neha

    Hello,
    The solution is documented in Travel Wiki:
    https://wiki.sdn.sap.com/wiki/display/ERPHCM/Entrynotfoundintable+T706V
    Regards,
    Raynard
    Edited by: Raynard Coscolluela on May 8, 2009 10:53 AM

  • Error while creating TO in background

    Hi Guys,
    I am getting error while creating TO in background using Transaction code LB13.
    The error is "No batch input data for screen SAPLSTXBC 0100" this is the screen which comes after saving a TO. Here we can give the printing details. If we are doing the TO in foreground with same transaction the data for this screen comes automatically. but in background it is showing the error.
    So help me in getting rid of the problem.
    Thanks and Regards
    Sukant

    Hi Manasa,
    What is your source for creation of CVC? Are you trying to create CVCs from infocube?
    Could you try out the following to identify the root cause?
    In the create CVC (/sapapo/mc62) variant, uncheck the check boxes for all the 3 checks at bottom of the variant, and also uncheck the "adjust time series objects" checkbox.
    Come to "selection condition", and select one or few CVCs from your source (Infocube, or flat file, whatever).
    Then try to run the job, which should only create one or few CVCs as per your selection criteria.
    If you are able to create CVCs in this way, that could mean that you might be having some issue during some check or generation of time series. Delete the created CVCs and again try to create them by activating the checks one by one.
    If the above helps in identification of the issue, then it might be possible to attack and resolve the issue e.g. special character, etc.
    PS: You could also try the "load to worklist" option to try to identify the CVC having issue. There you can specify one or few CVCs to be created in one go, and this might help in identifying if there is an issue with a certain CVC.
    Thanks - Pawan

  • Creating SessionMBean error while deploying OSB through WLSt script

    Hi All,
    I am trying to deploy my OSB by using WLST scripts.
    After setting the required properties in files,I ran the import.py script.But I got an error while creating an session bean
    I have pasted the whole stcak here.It is going fine till creating a session.After that it is failing:
    Any pointers in this regard will be helpful.
    ****************************the stack************************88
    Your environment has been set.
    CLASSPATH=E:\Oracle\Middleware\patch_wls1033\profiles\default\sys_manifest_class
    path\weblogic_patch.jar;E:\Oracle\Middleware\patch_oepe1033\profiles\default\sys
    manifestclasspath\weblogic_patch.jar;E:\Oracle\Middleware\patch_ocp353\profile
    s\default\sys_manifest_classpath\weblogic_patch.jar;E:\Oracle\Middleware\jrockit
    _160_17_R28.0.0-679\lib\tools.jar;E:\Oracle\Middleware\wlserver_10.3\server\lib\
    weblogic_sp.jar;E:\Oracle\Middleware\wlserver_10.3\server\lib\weblogic.jar;E:\Or
    acle\Middleware\modules\features\weblogic.server.modules_10.3.3.0.jar;E:\Oracle\
    Middleware\wlserver_10.3\server\lib\webservices.jar;E:\Oracle\Middleware\modules
    \org.apache.ant_1.7.1/lib/ant-all.jar;E:\Oracle\Middleware\modules\net.sf.antcon
    trib_1.1.0.0_1-0b2/lib/ant-contrib.jar;;E:\Oracle\Middleware/Oracle_OSB1/lib/sb-
    kernel-api.jar;E:\Oracle\Middleware/Oracle_OSB1/modules/com.bea.common.configfwk
    _1.3.0.0.jar;E:\Oracle\Middleware/modules/com.bea.common.configfwk.wlinterop_10.
    3.1.0
    Apache Ant version 1.7.1 compiled on June 27 2008
    Buildfile: ..\scripts\build.xml
    Detected Java version: 1.6 in: E:\Oracle\Middleware\jrockit_160_17_R28.0.0-679\j
    re
    Detected OS: Windows XP
    parsing buildfile C:\osb\build\scripts\build.xml with URI = file:/C:/osb/build/s
    cripts/build.xml
    Project base dir set to: C:\osb\build\scripts
    [antlib:org.apache.tools.ant] Could not load definitions from resource org/apach
    e/tools/ant/antlib.xml. It could not be found.
    [property] Loading Environment env.
    [property] Loading C:\osb\build\dev\ant.properties
    Build sequence for target(s) `import' is [import]
    Complete build sequence is [import, ]
    import:
    [echo] importscript: c:/osb/build/scripts/import.py
    [echo] importconfig: c:/osb/build/dev/import.properties
    dropping E:\Oracle\Middleware\patch_wls1033\profiles\default\sys_manifest_classp
    ath\weblogic_patch.jar from path as it doesn't exist
    dropping E:\Oracle\Middleware\patch_oepe1033\profiles\default\sys_manifest_class
    path\weblogic_patch.jar from path as it doesn't exist
    dropping E:\Oracle\Middleware\patch_ocp353\profiles\default\sys_manifest_classpa
    th\weblogic_patch.jar from path as it doesn't exist
    dropping E:\Oracle\Middleware\wlserver_10.3\server\lib\weblogic_sp.jar from path
    as it doesn't exist
    dropping E:\Oracle\Middleware\modules\com.bea.common.configfwk.wlinterop_10.3.1.
    0 from path as it doesn't exist
    dropping E:\Oracle\Middleware\patch_wls1033\profiles\default\sys_manifest_classp
    ath\weblogic_patch.jar from path as it doesn't exist
    dropping E:\Oracle\Middleware\patch_oepe1033\profiles\default\sys_manifest_class
    path\weblogic_patch.jar from path as it doesn't exist
    dropping E:\Oracle\Middleware\patch_ocp353\profiles\default\sys_manifest_classpa
    th\weblogic_patch.jar from path as it doesn't exist
    dropping E:\Oracle\Middleware\wlserver_10.3\server\lib\weblogic_sp.jar from path
    as it doesn't exist
    dropping E:\Oracle\Middleware\modules\com.bea.common.configfwk.wlinterop_10.3.1.
    0 from path as it doesn't exist
    [wlst] <WLSTTask> Executing the command line :
    [wlst] E:\Oracle\Middleware\jrockit_160_17_R28.0.0-679\jre\bin\java.exe -Dd
    ebug=true -DfailOnError=true -DexecuteScriptBeforeFile=true -DpropertiesFile=c:/
    osb/build/dev/import.properties -DfileName=c:/osb/build/scripts/import.py -class
    path E:\Oracle\Middleware\modules\org.apache.ant_1.7.1\lib\ant-launcher.jar;E:\O
    racle\Middleware\jrockit_160_17_R28.0.0-679\lib\tools.jar;E:\Oracle\Middleware\w
    lserver_10.3\server\lib\weblogic.jar;E:\Oracle\Middleware\modules\features\weblo
    gic.server.modules_10.3.3.0.jar;E:\Oracle\Middleware\wlserver_10.3\server\lib\we
    bservices.jar;E:\Oracle\Middleware\modules\org.apache.ant_1.7.1\lib\ant-all.jar;
    E:\Oracle\Middleware\modules\net.sf.antcontrib_1.1.0.0_1-0b2\lib\ant-contrib.jar
    ;E:\Oracle\Middleware\Oracle_OSB1\lib\sb-kernel-api.jar;E:\Oracle\Middleware\Ora
    cle_OSB1\modules\com.bea.common.configfwk_1.3.0.0.jar;E:\Oracle\Middleware\modul
    es\org.apache.ant_1.7.1\lib\ant-antlr.jar;E:\Oracle\Middleware\modules\org.apach
    e.ant_1.7.1\lib\ant-apache-bcel.jar;E:\Oracle\Middleware\modules\org.apache.ant_
    1.7.1\lib\ant-apache-bsf.jar;E:\Oracle\Middleware\modules\org.apache.ant_1.7.1\l
    ib\ant-apache-log4j.jar;E:\Oracle\Middleware\modules\org.apache.ant_1.7.1\lib\an
    t-apache-oro.jar;E:\Oracle\Middleware\modules\org.apache.ant_1.7.1\lib\ant-apach
    e-regexp.jar;E:\Oracle\Middleware\modules\org.apache.ant_1.7.1\lib\ant-apache-re
    solver.jar;E:\Oracle\Middleware\modules\org.apache.ant_1.7.1\lib\ant-commons-log
    ging.jar;E:\Oracle\Middleware\modules\org.apache.ant_1.7.1\lib\ant-commons-net.j
    ar;E:\Oracle\Middleware\modules\org.apache.ant_1.7.1\lib\ant-jai.jar;E:\Oracle\M
    iddleware\modules\org.apache.ant_1.7.1\lib\ant-javamail.jar;E:\Oracle\Middleware
    \modules\org.apache.ant_1.7.1\lib\ant-jdepend.jar;E:\Oracle\Middleware\modules\o
    rg.apache.ant_1.7.1\lib\ant-jmf.jar;E:\Oracle\Middleware\modules\org.apache.ant_
    1.7.1\lib\ant-jsch.jar;E:\Oracle\Middleware\modules\org.apache.ant_1.7.1\lib\ant
    -junit.jar;E:\Oracle\Middleware\modules\org.apache.ant_1.7.1\lib\ant-netrexx.jar
    ;E:\Oracle\Middleware\modules\org.apache.ant_1.7.1\lib\ant-nodeps.jar;E:\Oracle\
    Middleware\modules\org.apache.ant_1.7.1\lib\ant-starteam.jar;E:\Oracle\Middlewar
    e\modules\org.apache.ant_1.7.1\lib\ant-stylebook.jar;E:\Oracle\Middleware\module
    s\org.apache.ant_1.7.1\lib\ant-swing.jar;E:\Oracle\Middleware\modules\org.apache
    .ant_1.7.1\lib\ant-testutil.jar;E:\Oracle\Middleware\modules\org.apache.ant_1.7.
    1\lib\ant-trax.jar;E:\Oracle\Middleware\modules\org.apache.ant_1.7.1\lib\ant-web
    logic.jar;E:\Oracle\Middleware\modules\org.apache.ant_1.7.1\lib\ant.jar;E:\Oracl
    e\Middleware\modules\org.apache.ant_1.7.1\lib\xercesImpl.jar;E:\Oracle\Middlewar
    e\modules\org.apache.ant_1.7.1\lib\xml-apis.jar weblogic.management.scripting.WL
    STInterpreterInvoker
    dropping E:\Oracle\Middleware\patch_wls1033\profiles\default\sys_manifest_classp
    ath\weblogic_patch.jar from path as it doesn't exist
    dropping E:\Oracle\Middleware\patch_oepe1033\profiles\default\sys_manifest_class
    path\weblogic_patch.jar from path as it doesn't exist
    dropping E:\Oracle\Middleware\patch_ocp353\profiles\default\sys_manifest_classpa
    th\weblogic_patch.jar from path as it doesn't exist
    dropping E:\Oracle\Middleware\wlserver_10.3\server\lib\weblogic_sp.jar from path
    as it doesn't exist
    dropping E:\Oracle\Middleware\modules\com.bea.common.configfwk.wlinterop_10.3.1.
    0 from path as it doesn't exist
    dropping E:\Oracle\Middleware\patch_wls1033\profiles\default\sys_manifest_classp
    ath\weblogic_patch.jar from path as it doesn't exist
    dropping E:\Oracle\Middleware\patch_oepe1033\profiles\default\sys_manifest_class
    path\weblogic_patch.jar from path as it doesn't exist
    dropping E:\Oracle\Middleware\patch_ocp353\profiles\default\sys_manifest_classpa
    th\weblogic_patch.jar from path as it doesn't exist
    dropping E:\Oracle\Middleware\wlserver_10.3\server\lib\weblogic_sp.jar from path
    as it doesn't exist
    dropping E:\Oracle\Middleware\modules\com.bea.common.configfwk.wlinterop_10.3.1.
    0 from path as it doesn't exist
    [wlst] Executing 'E:\Oracle\Middleware\jrockit_160_17_R28.0.0-679\jre\bin\j
    ava.exe' with arguments:
    [wlst] '-Ddebug=true'
    [wlst] '-DfailOnError=true'
    [wlst] '-DexecuteScriptBeforeFile=true'
    [wlst] '-DpropertiesFile=c:/osb/build/dev/import.properties'
    [wlst] '-DfileName=c:/osb/build/scripts/import.py'
    [wlst] '-classpath'
    [wlst] 'E:\Oracle\Middleware\modules\org.apache.ant_1.7.1\lib\ant-launcher.
    jar;E:\Oracle\Middleware\jrockit_160_17_R28.0.0-679\lib\tools.jar;E:\Oracle\Midd
    leware\wlserver_10.3\server\lib\weblogic.jar;E:\Oracle\Middleware\modules\featur
    es\weblogic.server.modules_10.3.3.0.jar;E:\Oracle\Middleware\wlserver_10.3\serve
    r\lib\webservices.jar;E:\Oracle\Middleware\modules\org.apache.ant_1.7.1\lib\ant-
    all.jar;E:\Oracle\Middleware\modules\net.sf.antcontrib_1.1.0.0_1-0b2\lib\ant-con
    trib.jar;E:\Oracle\Middleware\Oracle_OSB1\lib\sb-kernel-api.jar;E:\Oracle\Middle
    ware\Oracle_OSB1\modules\com.bea.common.configfwk_1.3.0.0.jar;E:\Oracle\Middlewa
    re\modules\org.apache.ant_1.7.1\lib\ant-antlr.jar;E:\Oracle\Middleware\modules\o
    rg.apache.ant_1.7.1\lib\ant-apache-bcel.jar;E:\Oracle\Middleware\modules\org.apa
    che.ant_1.7.1\lib\ant-apache-bsf.jar;E:\Oracle\Middleware\modules\org.apache.ant
    _1.7.1\lib\ant-apache-log4j.jar;E:\Oracle\Middleware\modules\org.apache.ant_1.7.
    1\lib\ant-apache-oro.jar;E:\Oracle\Middleware\modules\org.apache.ant_1.7.1\lib\a
    nt-apache-regexp.jar;E:\Oracle\Middleware\modules\org.apache.ant_1.7.1\lib\ant-a
    pache-resolver.jar;E:\Oracle\Middleware\modules\org.apache.ant_1.7.1\lib\ant-com
    mons-logging.jar;E:\Oracle\Middleware\modules\org.apache.ant_1.7.1\lib\ant-commo
    ns-net.jar;E:\Oracle\Middleware\modules\org.apache.ant_1.7.1\lib\ant-jai.jar;E:\
    Oracle\Middleware\modules\org.apache.ant_1.7.1\lib\ant-javamail.jar;E:\Oracle\Mi
    ddleware\modules\org.apache.ant_1.7.1\lib\ant-jdepend.jar;E:\Oracle\Middleware\m
    odules\org.apache.ant_1.7.1\lib\ant-jmf.jar;E:\Oracle\Middleware\modules\org.apa
    che.ant_1.7.1\lib\ant-jsch.jar;E:\Oracle\Middleware\modules\org.apache.ant_1.7.1
    \lib\ant-junit.jar;E:\Oracle\Middleware\modules\org.apache.ant_1.7.1\lib\ant-net
    rexx.jar;E:\Oracle\Middleware\modules\org.apache.ant_1.7.1\lib\ant-nodeps.jar;E:
    \Oracle\Middleware\modules\org.apache.ant_1.7.1\lib\ant-starteam.jar;E:\Oracle\M
    iddleware\modules\org.apache.ant_1.7.1\lib\ant-stylebook.jar;E:\Oracle\Middlewar
    e\modules\org.apache.ant_1.7.1\lib\ant-swing.jar;E:\Oracle\Middleware\modules\or
    g.apache.ant_1.7.1\lib\ant-testutil.jar;E:\Oracle\Middleware\modules\org.apache.
    ant_1.7.1\lib\ant-trax.jar;E:\Oracle\Middleware\modules\org.apache.ant_1.7.1\lib
    \ant-weblogic.jar;E:\Oracle\Middleware\modules\org.apache.ant_1.7.1\lib\ant.jar;
    E:\Oracle\Middleware\modules\org.apache.ant_1.7.1\lib\xercesImpl.jar;E:\Oracle\M
    iddleware\modules\org.apache.ant_1.7.1\lib\xml-apis.jar'
    [wlst] 'weblogic.management.scripting.WLSTInterpreterInvoker'
    [wlst]
    [wlst] The ' characters around the executable and arguments are
    [wlst] not part of the command.
    dropping E:\Oracle\Middleware\patch_wls1033\profiles\default\sys_manifest_classp
    ath\weblogic_patch.jar from path as it doesn't exist
    dropping E:\Oracle\Middleware\patch_oepe1033\profiles\default\sys_manifest_class
    path\weblogic_patch.jar from path as it doesn't exist
    dropping E:\Oracle\Middleware\patch_ocp353\profiles\default\sys_manifest_classpa
    th\weblogic_patch.jar from path as it doesn't exist
    dropping E:\Oracle\Middleware\wlserver_10.3\server\lib\weblogic_sp.jar from path
    as it doesn't exist
    dropping E:\Oracle\Middleware\modules\com.bea.common.configfwk.wlinterop_10.3.1.
    0 from path as it doesn't exist
    dropping E:\Oracle\Middleware\patch_wls1033\profiles\default\sys_manifest_classp
    ath\weblogic_patch.jar from path as it doesn't exist
    dropping E:\Oracle\Middleware\patch_oepe1033\profiles\default\sys_manifest_class
    path\weblogic_patch.jar from path as it doesn't exist
    dropping E:\Oracle\Middleware\patch_ocp353\profiles\default\sys_manifest_classpa
    th\weblogic_patch.jar from path as it doesn't exist
    dropping E:\Oracle\Middleware\wlserver_10.3\server\lib\weblogic_sp.jar from path
    as it doesn't exist
    dropping E:\Oracle\Middleware\modules\com.bea.common.configfwk.wlinterop_10.3.1.
    0 from path as it doesn't exist
    [wlst] Using input " "
    [wlst] <WLSTTask> Loaded and set the properties from c:/osb/build/dev/impor
    t.properties
    [wlst] <WLSTTask> sys.argv is ['c:/osb/build/scripts/import.py']
    [wlst] Connecting to server: t3://localhost:7001
    [wlst] Connecting to t3://localhost:7001 with userid weblogic ...
    [wlst] Successfully connected to Admin Server 'AdminServer' that belongs to
    domain 'base_domain'.
    [wlst]
    [wlst] Warning: An insecure protocol was used to connect to the
    [wlst] server. To ensure on-the-wire security, the SSL port or
    [wlst] Admin port should be used instead.
    [wlst]
    [wlst] Location changed to domainRuntime tree. This is a read-only tree wit
    h DomainMBean as the root.
    [wlst] For more help, use help(domainRuntime)
    [wlst]
    [wlst] Starting import of: c:/osb/configuration/sbconfig.jar on ALSB Admin
    Server: t3://localhost:7001
    [wlst] Read import jar file
    [wlst] Import file read successfully c:/osb/configuration/sbconfig.jar
    [wlst] Creating unique session name
    [wlst] Created session name : ALSBImportScript-1279101189649
    [wlst] Creating SessionMBean
    [wlst] Unexpected error: java.lang.RuntimeException
    [wlst] Unexpected error: java.lang.RuntimeException
    [wlst] No stack trace available.
    [wlst] Traceback (innermost last):
    [wlst] File "c:\osb\build\scripts\import.py", line 179, in ?
    [wlst] File "c:\osb\build\scripts\import.py", line 47, in importToALSBDom
    ain
    [wlst] File "c:\osb\build\scripts\import.py", line 167, in getSessionMBea
    n
    [wlst] File "<iostream>", line 1162, in findService
    [wlst] at weblogic.management.jmx.MBeanServerInvocationHandler.newProxy
    Instance(MBeanServerInvocationHandler.java:621)
    [wlst] at weblogic.management.jmx.MBeanServerInvocationHandler.invoke(M
    BeanServerInvocationHandler.java:418)
    [wlst] at $Proxy11.findService(Unknown Source)
    [wlst] at weblogic.management.scripting.WLScriptContext.findService(WLS
    criptContext.java:209)
    [wlst] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [wlst] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
    sorImpl.java:39)
    [wlst] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
    hodAccessorImpl.java:25)
    [wlst] at java.lang.reflect.Method.invoke(Method.java:597)
    [wlst]
    [wlst] java.lang.RuntimeException: java.lang.RuntimeException: java.lang.Cl
    assNotFoundException: com.bea.wli.sb.management.configuration.DelegatedSessionMa
    nagementMBean
    [wlst]
    [wlst] Exception in thread "Main Thread" java.lang.IllegalStateException: T
    raceback (innermost last):
    [wlst] File "c:\osb\build\scripts\import.py", line 179, in ?
    [wlst] File "c:\osb\build\scripts\import.py", line 47, in importToALSBDom
    ain
    [wlst] File "c:\osb\build\scripts\import.py", line 167, in getSessionMBea
    n
    [wlst] File "<iostream>", line 1162, in findService
    [wlst] at weblogic.management.jmx.MBeanServerInvocationHandler.newProxy
    Instance(MBeanServerInvocationHandler.java:621)
    [wlst] at weblogic.management.jmx.MBeanServerInvocationHandler.invoke(M
    BeanServerInvocationHandler.java:418)
    [wlst] at $Proxy11.findService(Unknown Source)
    [wlst] at weblogic.management.scripting.WLScriptContext.findService(WLS
    criptContext.java:209)
    [wlst] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [wlst] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
    sorImpl.java:39)
    [wlst] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
    hodAccessorImpl.java:25)
    [wlst] at java.lang.reflect.Method.invoke(Method.java:597)
    [wlst]
    [wlst] java.lang.RuntimeException: java.lang.RuntimeException: java.lang.Cl
    assNotFoundException: com.bea.wli.sb.management.configuration.DelegatedSessionMa
    nagementMBean
    [wlst]
    [wlst] at weblogic.management.scripting.WLSTInterpreterInvoker.printErr
    or(WLSTInterpreterInvoker.java:110)
    [wlst] at weblogic.management.scripting.WLSTInterpreterInvoker.executeP
    yScript(WLSTInterpreterInvoker.java:103)
    [wlst] at weblogic.management.scripting.WLSTInterpreterInvoker.main(WLS
    TInterpreterInvoker.java:27)
    BUILD FAILED
    C:\osb\build\scripts\build.xml:13: Java returned: 1
    at org.apache.tools.ant.taskdefs.Java.execute(Java.java:108)
    at weblogic.ant.taskdefs.management.WLSTTask.execute(WLSTTask.java:115)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav
    a:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.Target.execute(Target.java:357)
    at org.apache.tools.ant.Target.performTasks(Target.java:385)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1307)
    at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExe
    cutor.java:41)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1191)
    at org.apache.tools.ant.Main.runBuild(Main.java:758)
    at org.apache.tools.ant.Main.startAnt(Main.java:218)
    at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
    at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
    Total time: 16 seconds
    C:\osb\build\dev>^A

    Hi,
    I tried debugging it and i am still getting the same error. I used the script provided byoracle and the script which is given here.
    Below is the error i am getting :
    [java] ImportError: cannot import name SessionManagementMBean
    I am getting an error at
    def getSessionManagementMBean(sessionName):
    SessionMBean = findService("SessionManagement", "com.bea.wli.sb.management.configuration.SessionManagementMBean")
    SessionMBean.createSession(sessionName)
    return SessionMBean
    Its able to create a unique session , after that for creating session name its throwing error.
    C:\Development\Build\scripts\build.xml:31: Java returned: 1
    at org.apache.tools.ant.taskdefs.Java.execute(Java.java:108)
    at weblogic.ant.taskdefs.management.WLSTTask.execute(WLSTTask.java:115)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav
    a:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.Target.execute(Target.java:357)
    at org.apache.tools.ant.Target.performTasks(Target.java:385)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
    at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExe
    cutor.java:41)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
    at org.apache.tools.ant.Main.runBuild(Main.java:758)
    at org.apache.tools.ant.Main.startAnt(Main.java:217)
    at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
    at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
    Any help on this??

  • Error while creating user on Unix through OIM timeout waiting for user password

    Hello all ,
    we made integration with Unix using connector  , while creating user  we receive the following error
    <Jun 27, 2013 1:30:14 PM AST> <Error> <ORACLE.IAM.CONNECTORS.ICFCOMMON.PROV.ICPROVISIONINGMANAGER> <BEA-000000> <oracle.iam.connectors.icfcommon.prov.ICProvisioningManager : createObject : Error while creating user
    org.identityconnectors.framework.common.exceptions.ConnectorException: Exception occured while setting the password.org.identityconnectors.framework.common.exceptions.OperationTimeoutException: Command timed-out while waiting for: new[\s](unix[\s])?password:
            at org.identityconnectors.genericunix.GenericUnixConnection.setUserPassword(GenericUnixConnection.java:866)
            at org.identityconnectors.genericunix.operation.GenericUnixCreate.setUserPassword(GenericUnixCreate.java:193)
            at org.identityconnectors.genericunix.operation.GenericUnixCreate.analyzeResult(GenericUnixCreate.java:233)
            at org.identityconnectors.genericunix.operation.GenericUnixCreate.createOp(GenericUnixCreate.java:180)
            at org.identityconnectors.genericunix.operation.GenericUnixCreate.create(GenericUnixCreate.java:111)
            at org.identityconnectors.genericunix.GenericUnixConnector.create(GenericUnixConnector.java:200)
            at org.identityconnectors.framework.impl.api.local.operations.CreateImpl.create(CreateImpl.java:80)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at org.identityconnectors.framework.impl.api.local.operations.ConnectorAPIOperationRunnerProxy.invoke(ConnectorAPIOperationRunnerProxy.java:93)
            at $Proxy363.create(Unknown Source)
    any one can support me how to fix this

    Try increasing the commandTimeout from 100seconds to 200seconds and see if this works?
    Also, look at the Section 5.2.5 in the connector doc.

Maybe you are looking for

  • Binary to XML format

    Hi all, To post a document to bank i have used digital signature using SSF functions. It is working fine. And my recipient received the data with digital signature. Now I have a problem, when i use SSF function my input data is converted into binary

  • Skype Number to yearly basis

    I'd like to change monthly payment of Skype Number to yearly basis. How can I do? Solved! Go to Solution.

  • Invoice is awaiting approval

    hi sap gurus, i have an issue with one invoice that was routed to us. The blocking reason is "no receipt in system" which i see on my inbox. The invoice is with referrence to one PO. By checking invoice A, it was cancelled by a credit memo invoice. F

  • Price from Requisition to PO

    Hi, when I create a Purchase Order Requistion (POR) I have to indicate a price. Is it possible to copy this price automatically into the Purcahse Order (PO) when I create the PO? You, know, whit ME21N I take the POR and I move it into the basket. Mat

  • ABAP QUERY - Adding a new field in the output

    Hello , I am creating a ABAP query in which i need to do a calculation and display it in the output. How do i do it? I have added the field PLAF-GSMNG and PLAF-AVMNG in the infoset. The calculation that i have to do is CALCULATEFIELDS = PLAF-GSMNG -