"The root activity type is invalid" while importing a xoml generated by sharepoint designer in visual studio

I am facing a problem with Visual Studio. Following what I did:
Copy and modify a workflow in sharepoint designer 2013
Import the generated files (xoml, rules, config) in a Visual Studio 2012 module
Build
I cannot build nor package the solution, getting the "The root activity type is invalid" error.
I read a lot of forum but I didn't figure out how to solve the issue.
Any help is really appreciated.
Dario

Hi Dario,
According to your description, my understanding is that you got an error when you imported SharePoint Designer reusable workflow into Visual Studio 2012.
Please check your process per the article below, compare the result.
http://msdn.microsoft.com/en-us/library/ee231580(v=vs.110).aspx
If this issue still exists, please feel free to let me know.
Best Regards,
Wendy
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Wendy Li
TechNet Community Support

Similar Messages

  • Error saying "Enter the sender activity type also"

    While trying to upload the HR details from NON SAP to SAP through SE38, an error reflects asking to enter the sender activity type.
    Can any body help me.

    Hi,
    Please refer to the online documentation help whose link is listed below :
    http://help.sap.com/saphelp_erp60_sp/helpdata/en/c3/c6c2a40f4f11d2956400a0c930669b/content.htm
    This link mentions four different data entry scenarios that can be configured for data entry profile in CATS.
    if you want to have the activity transfered to HR, you have to activate this Controlling object for pers. cost assignment in your
    customizing:
    - Personnel Time Management
      - Time Data Recording and Administration
        - Integrating Time Management with Other R/3 Applications
          - Recording Personnel Costs
            - Enter Controlling objs permitted for pers. cost assignment
    here you can find in the documentation:
    'In this step, you specify which Cost Allocation or Funds Management  objects the personnel costs can be assigned to.
      and, in addition, for account assignment to activity type:
      COBL-LSTAR Activity type
       In cac1 'cost accounting variant' is set to 'Assignment of personnel costs to master cost center'. In this case, the cost center is not transferred to HR. Activity allocation is done directly from cats through the other (non-hr) components. Check for 'activity allocation' in the online documentation.
    the cost assignment variant 'B' (Assignment of personal costs to sender) needs a receiving accounting object.
    If there is no receiving object the cost assignment variant changes to '0'.
    regards
    Waman

  • "could not save list changes to the server" while creating a new form in SharePoint Designer - custom content type

    i am getting "could not save list changes to the server" while creating a new form in SharePoint Designer.
    Actually the list was created with a custom content type. When i try to create a new form from the custom content type, it fails.
    However, when i try to create a form using item content type, it creates a form successfully.
    Could you please let me know hte workaroud for this.
    Tnx

    Hello,
    This link may be help you to create custom form using content types:
    http://blog.splibrarian.com/2011/03/21/using-content-types-to-modify-the-newform-aspx-and-editform-aspx-pages/
    Hemendra:Yesterday is just a memory,Tomorrow we may never see<br/> Please remember to mark the replies as answers if they help and unmark them if they provide no help <br/>(On vacation from 16th Oct to 28th Oct 2014)

  • Not able to import visio 2013 workflow in sharepoint designer 2013

    Hi,
    I have installed SharePoint 2013 trial version. I have designed a workflow in Visio 2013. Now trying to import that Visio workflow in Sharepoint Designer, but import  option is only enable for 2010 Visio workflow. I have installed workflow Manager 1.0
    and Bus services also, but it is not working.

    Hi Vikas,
    Do you have SharePoint Workflow 2013 option in Platform Type dropdown list?
    Please check if you have configure Workflow 2013 for your SharePoint environment.
    http://social.msdn.microsoft.com/Forums/sharepoint/es-ES/f32fd648-8372-412d-b749-38dbe8f8a15c/sharepoint-designer-2013-workflow-import-visio-2013-diagram-greyed-out?forum=sharepointcustomization
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/81333cad-c11e-4f75-9a06-7229c0eadd02/spd-2013-workflow-import-from-visio-2013-greyed-out?forum=sharepointgeneral
    http://msdn.microsoft.com/en-us/library/jj658588.aspx
    Thanks
    Daniel Yang
    TechNet Community Support

  • How to skip the fact table  /BI0/9AEDFC01 error  while import phase in Heterogeneous migration

    Hi.
    Please  find the below  issue of the fact table while import phase in OS/DB migration and enclosed the below log for  reference.
    /usr/sap/AQ2/SYS/exe/uc/linuxx86_64/R3load: START OF LOG: 20140924185259
    /usr/sap/AQ2/SYS/exe/uc/linuxx86_64/R3load: sccsid @(#) $Id: //bas/741_REL/src/R3ld/R3load/R3ldmain.c#6 $ SAP
    /usr/sap/AQ2/SYS/exe/uc/linuxx86_64/R3load: version R7.40/V1.8 [UNICODE]
    Compiled Nov 23 2013 13:06:03
    -------------------- Start of patch information ------------------------
    patchinfo (patches.h): (0.009) Support for SUM/ZDM and DMO (note 1778564)
    DBSL patchinfo (patches.h): (0.011) DBSL error corrections in 7.41: (4) LOBs (note 1928526)
    --------------------- End of patch information -------------------------
    process id 14248
    /usr/sap/AQ2/SYS/exe/uc/linuxx86_64/R3load: job completed
    /usr/sap/AQ2/SYS/exe/uc/linuxx86_64/R3load: END OF LOG: 20140924185259
    /usr/sap/AQ2/SYS/exe/uc/linuxx86_64/R3load: START OF LOG: 20140924185259
    /usr/sap/AQ2/SYS/exe/uc/linuxx86_64/R3load: sccsid @(#) $Id: //bas/741_REL/src/R3ld/R3load/R3ldmain.c#6 $ SAP
    /usr/sap/AQ2/SYS/exe/uc/linuxx86_64/R3load: version R7.40/V1.8 [UNICODE]
    Compiled Nov 23 2013 13:06:03
    -------------------- Start of patch information ------------------------
    patchinfo (patches.h): (0.009) Support for SUM/ZDM and DMO (note 1778564)
    DBSL patchinfo (patches.h): (0.011) DBSL error corrections in 7.41: (4) LOBs (note 1928526)
    --------------------- End of patch information -------------------------
    process id 14265
    (DB) INFO: connected to DB
    (DB) INFO: DbSlControl(DBSL_CMD_NLS_CHARACTERSET_GET): UTF16
    (GSI) INFO: dbname  = "AQ220140924040917                                                                                                              "
    (GSI) INFO: vname    = "ORACLE                          "
    (GSI) INFO: hostname = "VA1WIPRSCM03                                                    "
    (GSI) INFO: sysname  = "Linux"
    (GSI) INFO: nodename = "VA1WIPRSCM03"
    (GSI) INFO: release  = "2.6.32-358.el6.x86_64"
    (GSI) INFO: version  = "#1 SMP Tue Jan 29 11:47:41 EST 2013"
    (GSI) INFO: machine  = "x86_64"
    (SQL) INFO: Searching for SQL file SQLFiles.LST
    (SQL) INFO: SQLFiles.LST not found
    (SQL) INFO: Searching for SQL file /data1/SCMEXPORT/EXPAQ2/ABAP/DB/SQLFiles.LST
    (SQL) INFO: found /data1/SCMEXPORT/EXPAQ2/ABAP/DB/SQLFiles.LST
    (SQL) INFO: Trying to open /data1/SCMEXPORT/EXPAQ2/ABAP/DB/SQLFiles.LST
    (SQL) INFO: /data1/SCMEXPORT/EXPAQ2/ABAP/DB/SQLFiles.LST opened
    (SQL) INFO: Searching for SQL file DFACT.SQL
    (SQL) INFO: DFACT.SQL not found
    (SQL) INFO: Searching for SQL file /data1/SCMEXPORT/EXPAQ2/ABAP/DB/ORA/DFACT.SQL
    (SQL) INFO: found /data1/SCMEXPORT/EXPAQ2/ABAP/DB/ORA/DFACT.SQL
    (SQL) INFO: Trying to open /data1/SCMEXPORT/EXPAQ2/ABAP/DB/ORA/DFACT.SQL
    (SQL) INFO: /data1/SCMEXPORT/EXPAQ2/ABAP/DB/ORA/DFACT.SQL opened
    (SQL) ERROR: Invalid entry at line 5 in file /data1/SCMEXPORT/EXPAQ2/ABAP/DB/ORA/DFACT.SQL
    (SQL) ERROR: SQL list was not built successfully
    (DDL) ERROR: check_sql_list() failed for /BI0/9AEDFC01
    (DB) INFO: disconnected from DB
    /usr/sap/AQ2/SYS/exe/uc/linuxx86_64/R3load: job finished with 1 error(s)
    /usr/sap/AQ2/SYS/exe/uc/linuxx86_64/R3load: END OF LOG: 20140924185259
    /usr/sap/AQ2/SYS/exe/uc/linuxx86_64/R3load: START OF LOG: 20140925104442
    /usr/sap/AQ2/SYS/exe/uc/linuxx86_64/R3load: sccsid @(#) $Id: //bas/741_REL/src/R3ld/R3load/R3ldmain.c#6 $ SAP
    /usr/sap/AQ2/SYS/exe/uc/linuxx86_64/R3load: version R7.40/V1.8 [UNICODE]
    Compiled Nov 23 2013 13:06:03
    -------------------- Start of patch information ------------------------
    patchinfo (patches.h): (0.009) Support for SUM/ZDM and DMO (note 1778564)
    DBSL patchinfo (patches.h): (0.011) DBSL error corrections in 7.41: (4) LOBs (note 1928526)
    --------------------- End of patch information -------------------------
    process id 23939
    (DB) INFO: connected to DB
    (DB) INFO: DbSlControl(DBSL_CMD_NLS_CHARACTERSET_GET): UTF16
    (GSI) INFO: dbname  = "AQ220140924040917                                                                                                              "
    (GSI) INFO: vname    = "ORACLE                          "
    (GSI) INFO: hostname = "VA1WIPRSCM03                                                    "
    (GSI) INFO: sysname  = "Linux"
    (GSI) INFO: nodename = "VA1WIPRSCM03"
    (GSI) INFO: release  = "2.6.32-358.el6.x86_64"
    (GSI) INFO: version  = "#1 SMP Tue Jan 29 11:47:41 EST 2013"
    (GSI) INFO: machine  = "x86_64"
    (SQL) INFO: Searching for SQL file SQLFiles.LST
    (SQL) INFO: SQLFiles.LST not found
    (SQL) INFO: Searching for SQL file /data1/SCMEXPORT/EXPAQ2/ABAP/DB/SQLFiles.LST
    (SQL) INFO: found /data1/SCMEXPORT/EXPAQ2/ABAP/DB/SQLFiles.LST
    (SQL) INFO: Trying to open /data1/SCMEXPORT/EXPAQ2/ABAP/DB/SQLFiles.LST
    (SQL) INFO: /data1/SCMEXPORT/EXPAQ2/ABAP/DB/SQLFiles.LST opened
    (SQL) INFO: Searching for SQL file DFACT.SQL
    (SQL) INFO: DFACT.SQL not found
    (SQL) INFO: Searching for SQL file /data1/SCMEXPORT/EXPAQ2/ABAP/DB/ORA/DFACT.SQL
    (SQL) INFO: found /data1/SCMEXPORT/EXPAQ2/ABAP/DB/ORA/DFACT.SQL
    (SQL) INFO: Trying to open /data1/SCMEXPORT/EXPAQ2/ABAP/DB/ORA/DFACT.SQL
    (SQL) INFO: /data1/SCMEXPORT/EXPAQ2/ABAP/DB/ORA/DFACT.SQL opened
    (SQL) ERROR: Invalid entry at line 5 in file /data1/SCMEXPORT/EXPAQ2/ABAP/DB/ORA/DFACT.SQL
    (SQL) ERROR: SQL list was not built successfully
    (DDL) ERROR: check_sql_list() failed for /BI0/9AEDFC01
    (IMP) INFO: a failed DROP attempt is not necessarily a problem
    (SQL) ERROR: SQL list was not built successfully
    (DDL) ERROR: check_sql_list() failed for /BI0/9AEDFC01
    (DB) INFO: disconnected from DB
    /usr/sap/AQ2/SYS/exe/uc/linuxx86_64/R3load: job finished with 1 error(s)
    /usr/sap/AQ2/SYS/exe/uc/linuxx86_64/R3load: END OF LOG: 20140925104442
    /usr/sap/AQ2/SYS/exe/uc/linuxx86_64/R3load: START OF LOG: 20140925124401
    /usr/sap/AQ2/SYS/exe/uc/linuxx86_64/R3load: sccsid @(#) $Id: //bas/741_REL/src/R3ld/R3load/R3ldmain.c#6 $ SAP
    /usr/sap/AQ2/SYS/exe/uc/linuxx86_64/R3load: version R7.40/V1.8 [UNICODE]
    Compiled Nov 23 2013 13:06:03
    -------------------- Start of patch information ------------------------
    patchinfo (patches.h): (0.009) Support for SUM/ZDM and DMO (note 1778564)
    DBSL patchinfo (patches.h): (0.011) DBSL error corrections in 7.41: (4) LOBs (note 1928526)
    --------------------- End of patch information -------------------------
    process id 25323
    (DB) INFO: connected to DB
    (DB) INFO: DbSlControl(DBSL_CMD_NLS_CHARACTERSET_GET): UTF16
    (GSI) INFO: dbname  = "AQ220140924040917                                                                                                              "
    (GSI) INFO: vname    = "ORACLE                          "
    (GSI) INFO: hostname = "VA1WIPRSCM03                                                    "
    (GSI) INFO: sysname  = "Linux"
    (GSI) INFO: nodename = "VA1WIPRSCM03"
    (GSI) INFO: release  = "2.6.32-358.el6.x86_64"
    (GSI) INFO: version  = "#1 SMP Tue Jan 29 11:47:41 EST 2013"
    (GSI) INFO: machine  = "x86_64"
    (SQL) INFO: Searching for SQL file SQLFiles.LST
    (SQL) INFO: SQLFiles.LST not found
    (SQL) INFO: Searching for SQL file /data1/SCMEXPORT/EXPAQ2/ABAP/DB/SQLFiles.LST
    (SQL) INFO: found /data1/SCMEXPORT/EXPAQ2/ABAP/DB/SQLFiles.LST
    (SQL) INFO: Trying to open /data1/SCMEXPORT/EXPAQ2/ABAP/DB/SQLFiles.LST
    (SQL) INFO: /data1/SCMEXPORT/EXPAQ2/ABAP/DB/SQLFiles.LST opened
    (SQL) INFO: Searching for SQL file DFACT.SQL
    (SQL) INFO: DFACT.SQL not found
    (SQL) INFO: Searching for SQL file /data1/SCMEXPORT/EXPAQ2/ABAP/DB/ORA/DFACT.SQL
    (SQL) INFO: found /data1/SCMEXPORT/EXPAQ2/ABAP/DB/ORA/DFACT.SQL
    (SQL) INFO: Trying to open /data1/SCMEXPORT/EXPAQ2/ABAP/DB/ORA/DFACT.SQL
    (SQL) INFO: /data1/SCMEXPORT/EXPAQ2/ABAP/DB/ORA/DFACT.SQL opened
    ------------------ C-STACK ----------------------
    R3load[S](LinStackBacktrace+0x8c)[0x48d167]
    R3load[S](LinStack+0x35)[0x6ca6c5]
    R3load[S](CTrcStack2+0x48)[0x48fba1]
    R3load[S](SigIGenAction+0x212)[0x58b4fb]
    libpthread.so.0[T][0x397680f710]
    R3load[S](check_sql_list+0xab0)[0x61bbb0]
    R3load[S](DBDrop+0xbb)[0x60a8fb]
    R3load[S](import+0xde6)[0x620986]
    R3load[S](main_r3ldmain+0x1cfc)[0x6073bc]
    libc.so.6[T](__libc_start_main+0xfd)[0x397601ed5d]
    /usr/sap/AQ2/SYS/exe/uc/linuxx86_64/R3load: START OF LOG: 20140925125540
    /usr/sap/AQ2/SYS/exe/uc/linuxx86_64/R3load: sccsid @(#) $Id: //bas/741_REL/src/R3ld/R3load/R3ldmain.c#6 $ SAP
    /usr/sap/AQ2/SYS/exe/uc/linuxx86_64/R3load: version R7.40/V1.8 [UNICODE]
    Compiled Nov 23 2013 13:06:03
    -------------------- Start of patch information ------------------------
    patchinfo (patches.h): (0.009) Support for SUM/ZDM and DMO (note 1778564)
    DBSL patchinfo (patches.h): (0.011) DBSL error corrections in 7.41: (4) LOBs (note 1928526)
    --------------------- End of patch information -------------------------
    process id 25932
    /usr/sap/AQ2/SYS/exe/uc/linuxx86_64/R3load: job completed
    /usr/sap/AQ2/SYS/exe/uc/linuxx86_64/R3load: END OF LOG: 20140925125540
    /usr/sap/AQ2/SYS/exe/uc/linuxx86_64/R3load: START OF LOG: 20140925125540
    /usr/sap/AQ2/SYS/exe/uc/linuxx86_64/R3load: sccsid @(#) $Id: //bas/741_REL/src/R3ld/R3load/R3ldmain.c#6 $ SAP
    /usr/sap/AQ2/SYS/exe/uc/linuxx86_64/R3load: version R7.40/V1.8 [UNICODE]
    Compiled Nov 23 2013 13:06:03
    -------------------- Start of patch information ------------------------
    patchinfo (patches.h): (0.009) Support for SUM/ZDM and DMO (note 1778564)
    DBSL patchinfo (patches.h): (0.011) DBSL error corrections in 7.41: (4) LOBs (note 1928526)
    --------------------- End of patch information -------------------------
    process id 25955
    (DB) INFO: connected to DB
    (DB) INFO: DbSlControl(DBSL_CMD_NLS_CHARACTERSET_GET): UTF16
    (GSI) INFO: dbname  = "AQ220140924040917                                                                                                              "
    (GSI) INFO: vname    = "ORACLE                          "
    (GSI) INFO: hostname = "VA1WIPRSCM03                                                    "
    (GSI) INFO: sysname  = "Linux"
    (GSI) INFO: nodename = "VA1WIPRSCM03"
    (GSI) INFO: release  = "2.6.32-358.el6.x86_64"
    (GSI) INFO: version  = "#1 SMP Tue Jan 29 11:47:41 EST 2013"
    (GSI) INFO: machine  = "x86_64"
    (TSK) ERROR: file /tmp/sapinst_instdir/BS2013SR1/SCM703SR1/ORA/COPY/SYSTEM/STD/AS-ABAP/SAPDFACT_1.TSK.bck already seems to exist
                a previous run may not have been finished cleanly
                file /tmp/sapinst_instdir/BS2013SR1/SCM703SR1/ORA/COPY/SYSTEM/STD/AS-ABAP/SAPDFACT_1.TSK possibly corrupted
    /usr/sap/AQ2/SYS/exe/uc/linuxx86_64/R3load: job finished with 1 error(s)
    /usr/sap/AQ2/SYS/exe/uc/linuxx86_64/R3load: END OF LOG: 20140925125540

    Dear Ram Nath,
    It may be late but it will be use full to others.
    I faced similar issue and solved it by commenting the 5th line of DFACT.SQL file.
    The issue was with the indexes not being generated properly to avoid such issues we must ensure to implement SAP note 1991576 in prior, if not we can comment the 5th line.
    Below is the corrected file in my case
    # ORACLE : NATIVE SQL EXPORT GENERATED AT 20150426083248
    #ind:  - commented line (earlier it was just 'ind: ')
    ind: /BI0/E0PPM_VC1~0
    tab: /BI0/F0PPM_VC1
    Please let me know in case of queries if any.
    Regards
    Baranedharan S.

  • ORA- 31684 Object type already exists while import

    Hi All,
    I wrongly imported a user schema "AP_PD@SRV01" to user "A_IT@SRV02" (Instead of "AP_IT@SRV02").
    User AP_IT and Tablespaces are already exists and used remap option while import.
    remap_schema=AP_PD:A_IT (instead of mapping to user AP_IT, I misspelled as A_IT)
    remap_tablespace=AP_PD_DATA:AP_IT_DATA remap_tablespace=AP_PD_INDEX:AP_IT_INDEX
    After successful import to "A_IT@SRV02", I deleted the user "A_IT"
    SQL> DROP USER A_IT CASCADE;
    I restarted the import to the correct user schema .. i.e AP_IT@SRV02
    remap_schema=AP_PD:AP_IT remap_tablespace=AP_PD_DATA:AP_IT_DATA remap_tablespace=AP_PD_INDEX:AP_IT_INDEX
    and import was completed with the following errors
    Processing object type SCHEMA_EXPORT/USER
    ORA-31684: Object type USER:"AP_IT" already exists
    Processing object type SCHEMA_EXPORT/PACKAGE/PACKAGE_SPEC
    ORA-31684: Object type PACKAGE:"AP_IT"."DBMS_NUMSYSTEM" already exists
    Processing object type SCHEMA_EXPORT/PACKAGE/PACKAGE_BODY
    ORA-31684: Object type PACKAGE_BODY:"AP_IT"."DBMS_NUMSYSTEM" already exists
    Job "SYSTEM"."SYS_IMPORT_FULL_01" completed with 3 error(s) at 07:53:32
    My questions ...
    1.Can I assume that import was success as these objects were already exists.
    2.Does this effect in anyway to the end users if I ignore this errors assuming import was successful.
    3.If import is not a success then what should be my next step to import successfully.
    Thanks.

    Ven wrote:
    Hi All,
    I wrongly imported a user schema "AP_PD@SRV01" to user "A_IT@SRV02" (Instead of "AP_IT@SRV02").
    User AP_IT and Tablespaces are already exists and used remap option while import.
    remap_schema=AP_PD:A_IT (instead of mapping to user AP_IT, I misspelled as A_IT)
    remap_tablespace=AP_PD_DATA:AP_IT_DATA remap_tablespace=AP_PD_INDEX:AP_IT_INDEX
    After successful import to "A_IT@SRV02", I deleted the user "A_IT"
    SQL> DROP USER A_IT CASCADE;
    I restarted the import to the correct user schema .. i.e AP_IT@SRV02
    remap_schema=AP_PD:AP_IT remap_tablespace=AP_PD_DATA:AP_IT_DATA remap_tablespace=AP_PD_INDEX:AP_IT_INDEX
    and import was completed with the following errors
    Processing object type SCHEMA_EXPORT/USER
    ORA-31684: Object type USER:"AP_IT" already exists
    Processing object type SCHEMA_EXPORT/PACKAGE/PACKAGE_SPEC
    ORA-31684: Object type PACKAGE:"AP_IT"."DBMS_NUMSYSTEM" already exists
    Processing object type SCHEMA_EXPORT/PACKAGE/PACKAGE_BODY
    ORA-31684: Object type PACKAGE_BODY:"AP_IT"."DBMS_NUMSYSTEM" already exists
    Job "SYSTEM"."SYS_IMPORT_FULL_01" completed with 3 error(s) at 07:53:32
    My questions ...
    1.Can I assume that import was success as these objects were already exists.
    2.Does this effect in anyway to the end users if I ignore this errors assuming import was successful.
    3.If import is not a success then what should be my next step to import successfully.
    Thanks.You mentioned AP_IT schema and tablespaces already exist before doing first import itself.
    Did you check the list of objects in AP_IT schema before performing import?
    The following error is just an informational message and can be ignored:
    ORA-31684: Object type USER:"AP_IT" already exists
    But, the other 2 errors which says that package +"AP_IT"."DBMS_NUMSYSTEM" already exists+ means you have package in AP_IT schema and it wasn't replaced from the dump you imported. If you need the package from the dumpfile, you can drop the package and can import PACKAGE alone.
    Hope this helps.
    Regards,
    Murali Mohan

  • Assign the desired activity type to cost center 1102 within cost center acc

    Dear all,
    I am facing the problem mentioned as subject during entering the activity type.
    please guide me to overcome this problem.
    rgds,
    Vijay Mankar

    Hi Vijay,
    The problem is as expected by me it is due to assignment and acitivty price details missing. This needs to be created in KP26.
    Once you enter txn KP26 you need to type active version generally "0", then enter period 1 to 12, Fiscal Year "2007" and populate field "Cost Center" and "Activity type" now use "F5".
    In the overview screen populate the value "Fixed Price" and "Variable Price" and save the transaction. (We are entering price for individual period but same across all period)
    Now try creating Workcenter and assigning the Cost Center and Activity type. It should work.
    Reward your points,
    Regards,
    Prasobh

  • The specified Resource List is invalid while adding memeber to resource lst

    HI team,
    I am trying add a item to a already exist resource list in Oracle Projects by Using an API with below code but i ma getting an error Single Planning Resource failed!.
    Error: The specified Resource List is invalid.
    Please help me in resolving in this issue.
    CODE:
    DECLARE
    l_return_status VARCHAR2(2000);
    l_msg_count NUMBER;
    l_msg_data VARCHAR2(2000);
    l_resource_list_member_id NUMBER;
    p_chr_temp_str VARCHAR2(512);
    l_chr_error_message VARCHAR2(2000);
    l_list VARCHAR2 (240 Byte) :='AS DEFAULT PRL UKH'; -- Taken from select name from pa_resource_lists
    BEGIN
    FND_GLOBAL.APPS_INITIALIZE(120345,51072,275,0,114);
    PA_RESOURCE_PUB.ADD_RESOURCE_LIST_MEMBER(
    p_commit => FND_API.G_FALSE,
    p_init_msg_list => FND_API.G_FALSE,
    p_api_version_number => 1.0,
    p_resource_list_name =>l_list,
    p_resource_list_id =>1061, -- Taken from select reource_list_id from pa_resource_lists
    p_resource_group_alias =>null,
    p_resource_group_name =>null, --
    p_resource_type_code =>NULL,--'ORGANIZATION',
    p_resource_attr_value =>'ORGANIZATION',
    p_resource_alias =>'TEST12345', -- Alias Name
    p_sort_order => PA_INTERFACE_UTILS_PUB.G_PA_MISS_NUM,
    p_enabled_flag => PA_INTERFACE_UTILS_PUB.G_PA_MISS_CHAR,
    p_resource_list_member_id => l_resource_list_member_id,
    p_msg_count => l_msg_count,
    p_msg_data => l_msg_data,
    p_return_status => l_return_status );
    dbms_output.put_line(SubStr('p_return_status = '||l_return_status,1,255));
    dbms_output.put_line('p_msg_count = '||TO_CHAR(l_msg_count));
    dbms_output.put_line(SubStr('p_msg_data = '||l_msg_data,1,255));
    dbms_output.put_line(SubStr('l_resource_list_member_id = '||l_resource_list_member_id,1,255));
    IF (l_return_status != Fnd_Api.G_RET_STS_SUCCESS) THEN
    dbms_output.put_line('Single Planning Resource failed!.');
    IF (l_msg_count > 0) THEN
    p_chr_temp_str := SUBSTR(Fnd_Msg_Pub.get(Fnd_Msg_Pub.G_FIRST, Fnd_Api.G_FALSE),1,512);
    FOR I IN 1..(l_msg_count -1) LOOP
    p_chr_temp_str := SUBSTR(Fnd_Msg_Pub.get(Fnd_Msg_Pub.G_NEXT, Fnd_Api.G_FALSE),1,512);
    END LOOP;
    dbms_output.put_line('Error: '||p_chr_temp_str);
    END IF;
    END IF;
    END;
    Thanksin Advance,
    Regards,

    You can do it one of two ways:
    1. Change the rule of the top level to deny everything.
    or
    2. Add a rule below your "map C to Z" to deny everything.
    The way it works is that when SGD finds a local drive, it'll try find a matching rule. If it doesn't find it, it'll go up the datastore structure and check for rules. And the first rule that applies, it'll use that rule. So, in your case, when SGD sees drive A (for example), it looks at the rule of the person (or profile) object and it does not find a matching rule since you only have one rule (map C to Z), so it goes up the datastore structure, and try finding a matching rule. Since you have no other rules in between, it goes all the way to the top and try to map drive A to "U" (default first drive letter).
    Hope this helps.

  • Creating app scoped external content type using Provider Hosted App in sharepoint 2013 using visual studio 2012

    Hi,
    I am creating provider hosted app in visual studio 2012 using app scoped external content type having OData with Northwind url
    App manifest start page url  :
    ODataNewAppWeb/Pages/Default.aspx
    In XML it is:
    <StartPage>~remoteAppUrl/Pages/Default.aspx</StartPage>
    When i am deploying app pressing F5 the app gets deployed successfully....
    Now i am changing my start page url in Appmanifest like this:
    ODataNewApp/Lists/Employees
    In XML it looks like:
    StartPage>~appWebUrl/Lists/Employees</StartPage>
    When i am deploying app pressing F5 the app..
    Getting register SOD error.....
    I have followed all the steps like:
    1)Creating app domain
    2)Starting all the required services
    3)Creating root site collection
    But still no success.. Please help me on this.... I am struggling with this from two weeks...

    Have you set up a wildcard DNS entry for the spapps.com domain?
    Also if you're trying to connect from the server you might be hitting loop back check issues.

  • Getting a error while running creating a sample page on sharepoint 2013 and visual studio 2013

    hi,
       When i trying to create a sample web service for create page dynamically to sharepoint 2013 using visualstudio 2013 getting a error message while consume  the web service browser itself. so i have tried to change the target platform but
    to 32 but its not possible but only "Any CPu" available on the list
    Visual Studio :2013
    Sharepoint 2013 
    Error msg :
    Microsoft SharePoint is not supported in 32-bit process. Please verify that you are running in a 64-bit executable.
    at Microsoft.SharePoint.Utilities.SPUtility.CheckFrameworkAndProcess()
    at Microsoft.SharePoint.Administration.SPConfigurationDatabase.get_RegistryConnectionString()
    at Microsoft.SharePoint.Administration.SPConfigurationDatabase.get_Local()
    at Microsoft.SharePoint.Administration.SPFarm.FindLocal(SPFarm& farm, Boolean& isJoined)
    at Microsoft.SharePoint.Administration.SPFarm.get_Local()
    at Microsoft.SharePoint.SPSite..ctor(String requestUrl)
    code :  
    <%@ WebService Language="C#" Class="sharepoint_cust_service" %>
    using System;
    using System.Web;
    using System.Web.Services;
    using System.Web.Services.Protocols;
    using Microsoft.SharePoint;
    using Microsoft.SharePoint.Publishing;
    [WebService(Namespace = "http://tempuri.org/")]
    [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
    // To allow this Web Service to be called from script, using ASP.NET AJAX, uncomment the following line. 
    // [System.Web.Script.Services.ScriptService]
    public class sharepoint_cust_service  : System.Web.Services.WebService {
        [WebMethod]
        public string HelloWorld() {
            return "Hello World";
        [WebMethod]
        public void Export_To_Sharepoint()
            SPSite site = null;
            SPWeb web = null;
            site = new SPSite("http://sites/pages/");
            web = site.OpenWeb();
            PublishingWeb publishingWeb = PublishingWeb.GetPublishingWeb(web);
            SPContentTypeId contentType = new SPContentTypeId("NewContentTypeID");
            PageLayout[] layouts = publishingWeb.GetAvailablePageLayouts(contentType);
            PageLayout pageLayout = layouts[0];
            string pageName = Server.MapPath("/newpage.aspx");
            PublishingPage newPage = publishingWeb.GetPublishingPages().Add(pageName, pageLayout);
            newPage.Update();
            newPage.ListItem.File.CheckIn("created");
            newPage.ListItem.File.Publish("created");
            web.Dispose();
            site.RootWeb.Dispose();
            site.Dispose();
    Software developer

    goto propeties of your project and click on build tab and select 64X or any cpu platformtarget as it should work .

  • Error while deploying Sandbox Solution in SharePoint 2010 using Visual Studio

    Hi,
    I am creating a custom webpart as a sandbox solution.
    While deploying I am getting an error
    Error occurred in deployment step 'Retract Solution': <nativehr>0x80070005</nativehr><nativestack></nativestack>Access denied.
    I have necessary permissions and part of admin group.
    Please suggest what could be the issue.

    Hello,
    can you check if your account have access to the SharePoint_Config database? if it's still doesn't work, check if the used account is a local administrator of the machine
    Best regards, Christopher.
    Blog |
    Mail
    Please remember to click "Mark As Answer" if a post solves your problem or
    "Vote As Helpful" if it was useful.

  • Using the dataset designer in visual studio with ODP

    Hi All
    I can connect to our Oracle database and pull back data using code, this is connection string which works: -
    Dim oradb As String = "Data Source=(DESCRIPTION=" _
    + "(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.1.1)(PORT=1521)))" _
    + "(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=fs1)));" _
    + "User Id=username;Password=password;"
    But using the dataset designer what would I put in the server name box? See the following screenshot: -
    http://i35.tinypic.com/2i6kk61.jpg

    The other thing looking at this post: -
    http://social.msdn.microsoft.com/Forums/en-US/adodotnetdataset/thread/e438f930-975e-4057-9279-2a688804ebb0
    They mention "In the Change Data Source dialog box, select Oracle Database Server from the Data Source list and select Oracle Data Provider for .NET from the Data Provider drop down list. Click OK."
    I don't have Oracle Database Server or Oracle Database which I assume is Microsoft's offering and not ODP.NET.

  • Setting Workflow status not working in imported workflow from SPD to Visual Studio

    Hi all,
    I have created SPD workflow and imported in visual studio. When I deploy imported Workflow using visual studio feature I found that Setting Workflow Status action is not working. Do I need to change Set Workflow status activity in Visual studio to make it
    work.
    Rohit Pasrija

    Hi,
    According to your post, my understanding is that Setting Workflow status did not work in imported workflow from SharePoint Designer to Visual Studio.
    I try to reproduce the issue and the result is the same as yours.
    After I import the workflow, choose the .xoml file, the view is as below:
    To troubleshooting the issue, I add a new item to the project and select “Sequential Workflow” in the template.
    After I click the Tool, I find that there don’t have the “SetCustomWorkflowStatus1” activity.
    To set the status of the state, we need to use the “Set State” Activity in the “SharePoint Workflow” toolbar.
    That is the reason why the “SetCustomWorkflowStatus1” activity does no work.
    More information:
    Apply Custom Values to Visual Studio Workflow Statuses
    Thanks,
    Linda Li                
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Linda Li
    TechNet Community Support

  • CATS Problem with Activity types, it takes the first 6 digits of PERNR

    Hello Gurus!
    I have configured cats and maintained infotype 0315. When i go to CAT2, i dont see any default values on the screen from 315. When i try to call the cost center and activity type,. enter the times and hit enter, it hits an error saying: Activity type 001131is invalid for 00113199. It doesnt speak abt the activity type i assigned, it probably takes the first 6 digits of personal number as the activity type and throws an error.
    Please help me what to do with this... its very urgent..
    Points granted..
    Thanks,
    Soniya Singh

    Which version of SAP are u using. I don't see any message with your description in the message class.
          I think the values on CATS are only defaulted when u give the WBS element and hrs and press ENTER. Try this and u should be able to get the values defaulted from 315 assuming you have set the default values in CAC1 and also please check the settings in the Initial screen of CAT2 if any other values are getting defaulted in Persons tab and also check ur activity type has the valid Controlling area.
    Edited by: Madhu Gudur on Feb 21, 2008 5:58 AM

  • IW41: automatic update of activity type when changing the work center?

    Hello colleagues,
    when doing a time confirmation with IW41, we have following problem:
    In the PM order the operations are assigned to a neutral executing work center, as it not known which individual technician is completing the operation later on.
    Now when the individual technician is entering the time confirmation with IW41, system is proposing the work center indicated in the operation from the PM order, then technician is overwriting the work center proposal with his own individual work center ID (and pressing Enter), but the activity type is not getting updated automatically. So the technician must jump to field "activity type" and choose the correct activity type.
    Is there any solution (hopefully with user exits!) to have the field "activity type" automatically updated with the one indicated in the work center, which was entered manually?
    Thanks for your ideas!
    Regards,
    Patrick

    Hi Maheswaran,
    yes, as usual all PM work centers have only 1 activity type assigned in the costing tab.
    We also checked the settings of the activity type (KL03), but we just found one difference: the price indicator was set on 3 "Determined manually" - we've changed to 1 "Plan price, automatically based on activity" (..same setting as for the act. type of the work center with working update of act.type).
    We tested already all possible constellations and scenarios, but we have not found any good reason for the behaviour.
    Thanks for your efforts so far!
    Patrick

Maybe you are looking for

  • Purchase Order Payment Details.

    Please tell from where i can get the Purchase Order wise Payment Details. I tried using FBL1N but PO Number is not coming. Further after simulating the Payment Document the reference is coming of original Financial Document in "Payment For field". po

  • "Upgrade to USB 2.0" Help Please

    I'm somewhat of a new mac user (almost fully converted) and I'm having trouble with my USB ports. I've learned that mine are 1.1 but my external drive requires 2.0. I read a few forum and learned that I could use a USB 2.0 notebook card. I ordered on

  • Parties involved are not visible in WEB UI..they are onlyvisible in SAP GUI

    Hi, I have created a sales order with some line items. The problem is, When I click on item, in SAP GUI, I can see all the partners determined. However, when I open in WEB UI, I am unable to see any of the partnets in "Parties Involved" assignment bl

  • Most calls I can be heard, except 800/toll free numbers

    For some strange reason that no one can answer, I can call and recieve calls and be heard just fine. But when I call a toll free 800 number (like for customer service) I cannot be heard at all? At first, I thought my microphone was faulty, but I call

  • RFFOUS_T Payment advice printing

    Hi, I needed to change the output of the payment advice form, so I copied the standard sap program RFFOUS_T in my custom copy ZRFFOUS_T, but when I execute the code using the  run date and ID I am getting an info message popup with the message "Payme