DTW object for project

Hi Experts
I would like to import project with DTW, But I cann't find it.
What is the project object name with DTW?
Glen

Hi Delphi Experts,
   Now, I need to use DI to add project, I can find the VB sample code as follow,
Dim oCmpSrv As SAPbobsCOM.CompanyService
Dim projectService As SAPbobsCOM.IProjectsService
Dim project As SAPbobsCOM.IProject
oCmpSrv = oCompany.GetCompanyService
projectService = oCmpSrv.GetBusinessService(SAPbobsCOM.ServiceTypes.ProjectsService)
project = projectService.GetDataInterface(SAPbobsCOM.ProjectsServiceDataInterfaces.psProject)
project.Code = "1"
project.Name = "Jeremy"
projectService.AddProject(project)
project.Code = "2"
project.Name = "June"
projectService.AddProject(project)
But I use delphi7, Do any body could translate VB code to delphi for me?
Glen

Similar Messages

  • Autharisation object for  project team for WBS element

    Hi all
    My client requirement is when they allotment project team for WBS element some of the user restrict to delete it from menu tab in CJ20N transaction code and particular user only delete it. could any one guide me under which object i can manage this authorization to restrict the user so that in menu tab delete tab is gray out.
    Regards

    Hi,
    Using ACL, you can give four authorizations like 'read', 'write', 'admin' and 'no authorization' for a user for the each element (object) of project.
    For a user, you maintain the ACL for the whole hierarchy(inheritance) or for individual element.
    You can maintain ACL for user group or for Organization Group instead of users as well.
    In the project profile in SPRO, we can see three radio buttons for ACL like 'No ACL', 'ACL (No Inhr.)', 'ACL (with Inh.)'. You choose according to your requirement.
    For more details please go through SAP Help. Explained in detail there.
    Regards,
    Gokul

  • DTW template for Projects

    Hi,
    What is the template to import Projects into sap b1 using DTW?
    Thanks for the replies.
    Thanks & Regards,
    naresh k

    Hi Naresh
    There is an object called ProjectService in the DI API for this, certainly in 2007. I unfortunately don't have 2005 with me so can't check if it was added recently. I also don't recall DTW having a template for this.
    Kind regards
    Peter Juby

  • CJ20N Authorization Object for Project Status Changes

    Hi Gurus,
      Can any one knows the Authorization Object responsible to control the change of status for a project in the CJ20N?
      We want to control who can and who can't change the STATUS of a project independent from other changes.
    Regards
    Gustavo Balboa

    User authorization object B_USERSTAT. Before that u should define authorization key in Tcode:BS52 and assign it to User status in Tcode:OK02.
    In authorization object B_USERSTAT set ERSL=Authorization Key, so that the user can change the status of that perticular status only.
    Venkat

  • Cost object for Revenue Item?

    Dear friends
    When I am posting sales entry in F-02, system is asking Cost Object.
    I have given Cost Center as a Cost Object. In the control tab I have removed lock for Actual Revenues also.
    Even after this also system is asking the Cost Object. And I am getting the below error:
    Account 301001 requires an assignment to a CO object
    "Message no. KI248
    Diagnosis
    All given account assignment objects (order, project) are defined as statistical.
    System Response
    Statistical orders or projects are ignored when FI and CO are reconciled. You must enter a cost center, order, project, or cost object to which the costs are posted for CO postings.
    Procedure
    Enter a cost center, an order, a project, or a cost object that is not statistical. The posting row affected is 002 and the account is 301001."
    Regards
    Kiran A

    Revenues posted to cost center always statistical postings only. System is looking for real cost object. Go to profit segment field and derive manually to post to profit segment. Otherwise you need a Internal Order or Sales order

  • How to download and upload long text for project, WBS , Network,

    Hi all,
    I have two isssues.
    1) I am extracting Projects, WBS , Network , Network activity and network activity element from a SAP 4.7 system using bapi's
    BAPI_PROJECTDEF_GETDETAIL
    BAPI_PROJECT_GETINFO
    BAPI_NETWORK_GETINFO
    BAPI_BUS2054_GETDATA
    I am able to get all the details except long text. I want to know how do i extract the long text other than getting it manually by using select_text and Read_text Function module, is there any bapi to achieve this.
    The reason why i am not using Function modules Read_text and Write_text is, object name( TDNAME ) value stored in STXH table for project, wbs and network are the project, wbs and network itself so i dont have any issues with this but the TDname value for activity and activity element are completely different ( Routing number and counter is stored respectively ) which i am not getting as the part of the bapi(BAPI_NETWORK_GETINFO) output.
    2)  I have to upload the extracted Project and it sub object data to ECC 6.0 system , i am able to achieve this by using BAPI's BAPI_PROJECTDET_CREATE, BAPI_PROJECT_MAINTAIN and BAPI_NETWORK_MAINTAIN. I am not able to load the longtext for the same, is there any way to load the long text .
    All help will be greatly appreciated and rewarded.
    Thanks & Regards,
    Rajanidhi Rajasekeran.

    I don't think there is any BAPI to do it.
    We are doing it by read_text & edit_text . required fields for text name can be fetched by following select
      if not e_activity[] is initial.
        select aaufnr aaufpl baplzl bobjnr b~vornr
          into corresponding fields of table t_longtext
          from afko
            as a
        left join afvc
            as b
            on aaufpl = baufpl
           for all entries in  e_activity
           where a~aufnr = e_activity-network
           and a~aufnr is not null.
      endif.
          txtname = wa_longtext-objnr.
          replace c_nv in txtname with sy-mandt.

  • Can't include C-code in objective-c project

    I am having problems including a little C source code file in an existing objective-c project.
    The problem is that xcode spits out lots of warnings and error messages when it tries to compile the whole project or just the C file, in particular, lots of "parse error"s.
    I thought obj-c is a true superset of C, isn't it?
    The project is the GLSLEditorSample that comes with the XCode Examples.
    The funny thing is that the project contains already two other plain C source code files ...
    If you could give me any hint or suggestion or pointer where to look, i would be very grateful.
    If you want to take a quick look at my xcode project you can download everything from
    http://zach.in.tu-clausthal.de/tmp/Source.zip
    Thanks a lot in advance,
    gabriel.

    Thanks a lot for testing.
    When i build the project (with nano_timer.[ch] included), then i get zillions of errors.
    The first ones in the list are:
    nano_timer.c:13: error: parse error before '*' token
    nano_timer.c:14: warning: no previous prototype for 'nano_init'
    nano_timer.c:15: error: 'nt' undeclared (first use in this function)
    nano_timer.c:15: error: 'true' undeclared (first use in this function)
    And even before those i seem to get an error in nano_timer.h at line 18, which is the declaration of 'first_time' in the struct 'NanoTimer', i.e., in
    struct NanoTimer
    unsigned long long int time_stamp;
    double history[NANOTIMER_NUMHISTORY];
    bool first_time;
    } NanoTimer;
    And the error message there is:
    nano_timer.h:18: error: parse error before 'bool'
    Any ideas?
    Best regards,
    Gabriel.

  • How to refer the BPM objects in Project to Project.

    Hi,
    I have created some BPM obejects in Project A, i want to use the same Obejct in Project B.
    How to refer the Objects across the Project.
    Could pls some one help me on this.
    Regards,
    Anandh P

    Here are a couple ways to share BPM Objects across projects.
    You can right mouse click a BPM Object in a project and then export it. This will create a zip file that can then be imported into a Module in another project.
    There is a new feature in 10g that allows you to create a dependency between projects. If you define one project to be dependent on another then it can use the BPM Objects found in the other one. To do this, right mouse click the project's name in the Project Navigator tab -> Project Preferences -> Dependency -> select the project you want to be dependent on from the dropdown. This is based on the project's currently visible in the Workspace directory (the directory you are prompted for when Studio first starts up).
    Dan

  • Unable to create Entity objects for tables in TimesTen database using ADF

    Hi,
    I am not able to create Entity and View objects for tables in TimesTen database using ADF. I have installed TimesTen client on my machine.
    I have created a database connection by using connection type as "Generic JDBC" and giving driver class and JDBC URL. I am attaching screen shot of the same.
    I am right clicking on Model project and selecting New option after that I am selecting ADF Business components and in it I am selecting Business components from tables and there I am querying for tables.I am getting list of tables and when I am trying to create a Entity object from the table after clicking finish Jdev is closing by itself giving an error.
    Can anyone please help me how to create Entity objects for tables using TimesTen as database.I might be missing some jars or the way I am creating connection might be wrong or any plugins required to connect to TimesTen.

    What is the actual error being given by Jdev? Are you sure that the JDBC connection is using the TimesTen JDBC driver JAR and not some other JDBC driver or the Generic JDBC/ODBC bridge?
    Is ADF even supported with TimesTen?
    Chris

  • Installing BI Content objects for SRM

    Hi Experts,
    I am new to this group and i need your help for installing Business Content Objects for SRM based data flow.
    We are working for a BW - SRM upgrade project and as per our requirements we need to build 11 -  BI standard reports based on Shopping Cart, Shopping Cart Approvar &  Central contracts. We have identified the relevant data sources (0BBP_TD_SC_1, 0BBP_TD_SC_APPR_1 ,  0BBP_TD_CONTR_2) info providers/ characteristics & keyfigures from help.sap.com respective with query details.
    We have checked in BW system and do not found any objects under SRM info area (infoobjects/info providers).  As a first step we have activated the above said data sources in SRM system through RSA5 and ensured the data avaialbility through extractor check in RSA3.
    We have replicated the Meta data and got the data soruce in inactive version. We are planning to install the business content for info objects, info providers, query elements..
    We need your suggestions on  how to proceed further and what are the checks need to be done before installing the objects.
    Can any one provide an step by step document for installing the business content  objects from scratch.
    Regards,
    Saravanan.M

    Hi,
    Tty to install objects in below sequence.
    1. Application component
    2. Info area
    3. Catalogs
    4. Info objects - Chars and Key figs.
    5. DSO/CUBEs
    6. Transformations, info pack and DTPs.
    7. Bex Reports
    While isntalling obejcts from BI content, use grouping option as - only necessary objects , do the simulation and later install in background.
    If any obejcts already in active then use Match copy option there itself.
    From google you may find them,
    Use google search key as "Business Content in SAP BI".
    Thanks

  • Custom processing for Projects workflow

    Hi,
      For Projects, we want to use custom notification functionality for workflow events. We cannot use agents
    assignment nor data from HR as we don't have HR data in SAP. What we want to do the following for all events related to projects.
      1. Users will choose the role to which they want the workflow/notification to go and click on SAVE for any action projects.
      2. At this time,we want to call a custom function module to get the details of the recipients for that event and role from custom tables.
      3. Using the above recipients list, we will send the alerts/notifications.
    Please let me know if there is a place where I can assign the custom function module which gets executed after the event is triggered or when user clicks on save after assigning the role.
    Thanks,
    Sudheer

    Ah... OK, this could be a bit daunting if you've not done it before.
    The short version:
    You need to create a subtype of your object type BUS2001 (SWO1)
    Create a method with appropriate parameters, inside this method you execute the function module. You'll need to use some of the WF macros here.
    Lastly, create a task from the WF builder based on your method. You need to have a container element to hold your agents, which you get back from your method.
    The long version:
    The SAP docu is very good these days. (not trying to be unhelpful, but I could spend quite a while here otherwise). It also has a good tutorial, for the coding look under Business Workflow Programming or in the other WF help, the Business Object Builder. A bit of persistence and a sense of adventure will pay off.
    Cheers
    Mike

  • Performance Based Equipment Document for Projects

    Dear All,
    We are implementing Performance based equipment process in ETM module. We want to create PBE document for projects where we want to enter the WBS against each line item in PBE document.
    Currently we are able to create the recipient with reference type WBS where we assign WBS element and the same we are assigning in the PBE document to populate the WBS in PBE document. Here the issue is, we have to create the recipient for each WBS element to create the PBE document as WBS element will get populated for  the recipient. We are not able to enter the WBS element directly in the PBE document as it is in non editable mode in the screen.
    Could any body suggest how to enter the WBS element directly in the PBE document without the reference of recipient as we have thousands of wbs elements and creating recipient for each wbs element is not feasible.
    Thanks and regards,
    Basavaraj

    Hi,
    There are multiple questions in your query.
    1. You have to define a counter for finding the performance based maintenance
    2. Measurement document needs to be updated regulary by putting the counter reading.
    3. Call objects will happen based on Plan and scheduling Or deadline monitoring by considering the updated measurement reading.
    4. Running Deadline monitoring is based on frequency of the calls needed. may be daily or weekly or monthly (Example: Every week  maintenance  (Week time interval calls) for an equipment needs atleast weeky once deadline monitoring)
    Thanks
    Siva

  • SAP Versus Miscroft Dynaimcs for project and portfolio Management.

    Dear All,
    First of apologies if this is not the right fourm to post this thread.
    I am working in a company at group level, where one of our business unit wants to implement Microsoft Dynamics for project adn portfolio management. We at group level have make sure that before giving a goahead, check is their requirement not met or cannot be met by SAP.
    Their  requirements are:
    u2013     Programmes and projects can be scrutinised and monitored to ensure ongoing alignment with strategic objectives and business imperatives
    u2013     The broad allocation of skilled programme & project resources can be optimised
    u2013     New requirements can be evaluated against current commitments
    u2013     Programme and project demands on operational business can be managed and co-ordinated at a corporate level
    Besides optimisation and evidence-based decision making around the portfolio, the tool will enable automated collation and aggregation of data around the portfolio.
    The tool will also enable the continued evolution of a consistent methodology in delivering Projects
    Would be glad to receive your responses and comments.
    Many Thanks,
    Pritam

    Hi,
    it is an own separate NW AddOn, see SAP Note 1377104  (FAQs - SAP Portfolio and Project Management 5.0).
    Kind regards,
       Florian

  • Any business Object for CJ92?

    Hello friends,
    cam any one of u tell me the standard business object for the transaction CJ92? or any BADI / BTE ?
    I want to trigger my workflow on saving WBS.
    Thanks,
    Romanch

    You can use BUS2054 if WBS Element is attached to project or you can use BUS2001 or bus2001001.
    Thanks
    Arghadip

  • Setting up number range for projects in cProjects

    Hi,
    I am new to cProjects & my apologies if my question may sound very naive. My client wants an alpha-numeric number range to be set up for numbering of projects. Is this possible & if yes how? Which is the object for setting the number range? (I believe the transaction in "SNRO")
    Thanking you for taking a note of my querry.
    Regards
    Deepak

    Sample Code Method SET_DEFAULTS_UPON_CREATION
    Method IF_EX_DPR_ATTRIBUTES~SET_DEFAULTS_UPON_CREATION
    */ This method is called when creating a new project element (i.e. project definition,
    */ phase, task, etc) and can be used to fill in default values for standard as well
    */ as customer defined data fields.
    */ This implementation is provided to assign customer specific numbers to project
    */ elements.
    */ It's interesting to note that when this method is called, the external ID of the
    */ object has already been determined and assigned by the default numbering services
    */ class CL_DPR_NUMBERING_SERVICES. It is also interesting to note that if a user
    */ specified an ID for the object through the user interface, changing the identifier
    */ in this method will have no effect -- meaning the user specified ID will still be
    */ assigned to the object.
    */ Only the example for Project Definition is provided.  For other project elements,
    */ insert similar code between the Beginning and End comments below.  In addition,
    */ the filter for this BADI implementation must be updated to include any other
    */ project element for which custom number assignment is desired.
      DATA:
        lr_parent              TYPE REF TO if_dpr_common,
        lr_project             TYPE REF TO cl_dpr_project,
        lr_approval            TYPE REF TO cl_dpr_approval,
        lr_individual_approval TYPE REF TO cl_dpr_individual_approval,
        lr_phase               TYPE REF TO cl_dpr_phase,
        lr_task                TYPE REF TO cl_dpr_task,
        lr_checklist           TYPE REF TO cl_dpr_checklist,
        lr_checklist_item      TYPE REF TO cl_dpr_checklist_item,
        LV_NUMBER              TYPE DPR_TV_EXTID,
        LV_NUMTEXT             TYPE CGPL_EXTID,
        LV_INTERVAL            TYPE NRIV.
      FIELD-SYMBOLS:
        <ls_project_attrs>             TYPE dpr_ts_project_int,
        <ls_phase_attrs>               TYPE dpr_ts_phase_int,
        <ls_task_attrs>                TYPE dpr_ts_task_int,
        <ls_checklist_attrs>           TYPE dpr_ts_checklist_int,
        <ls_checklist_item_attrs>      TYPE dpr_ts_checklist_item_int,
        <ls_approval_attrs>            TYPE dpr_ts_approval_int,
        <ls_individual_approval_attrs> TYPE dpr_ts_individual_approval_int.
    */  Determine which project element (object category) is being processed
      CASE flt_val.
        WHEN cl_dpr_co=>sc_ot_project.
          ASSIGN cs_attributes TO <ls_project_attrs>.
          lr_project ?= ir_common.
    */ Beginning of custom project number assignment.
    */    In this example, the default system numbering is manipulated to
    */    produce the Project Number...
    */    Get info regarding the number range for operative projects...
          CALL FUNCTION 'NUMBER_GET_INFO'
            EXPORTING
              NR_RANGE_NR              = 'DO'
              OBJECT                   = 'DPR_EXTID'
    *         SUBOBJECT                = ' '
    *         TOYEAR                   = '0000'
            IMPORTING
              INTERVAL                 = LV_INTERVAL
            EXCEPTIONS
              INTERVAL_NOT_FOUND       = 1
              OBJECT_NOT_FOUND         = 2
              OTHERS                   = 3.
          IF NOT SY-SUBRC IS INITIAL.
            RAISE EXCEPTION TYPE CX_DPR_FATAL_ERROR
              EXPORTING
                TEXTID = CX_DPR_FATAL_ERROR=>SC_INVALID_PARAMETERS.
          ENDIF.
    */    Strip off the year that has been appended to the object number
    */    by the default numbering services...
          write <ls_project_attrs>-project_id(20) to lv_number.
    */    Get the incremental number of the project from the number range...
          lv_number = lv_number - LV_INTERVAL-FROMNUMBER.
    */    Format the number according to customer specific requirements:
    */    In this example the number is PROJ-<inc num> where <inc num>
    */    is the incremental number of the project (i.e. for the 33rd project
    */    created, the <inc num> is 33).
          WRITE lv_number to lv_numtext no-zero.
          condense lv_numtext.
          CONCATENATE 'PROJ' lv_numtext INTO lv_numtext SEPARATED BY '-'.
          TRY.
              CALL METHOD LR_PROJECT->SET_PROJECT_ID
                EXPORTING
                  IV_PROJECT_ID              = lv_numtext.
          CATCH CX_DPR_OBJECT_UPDATE_ERROR .
              RETURN.
          ENDTRY.
    */ End of custom project number assignment.
        WHEN cl_dpr_co=>sc_ot_phase.
          ASSIGN cs_attributes TO <ls_phase_attrs>.
          lr_phase ?= ir_common.
    */ Beginning of custom phase number assignment.
    */ End of custom phase number assignment.
        WHEN cl_dpr_co=>sc_ot_approval.
          ASSIGN cs_attributes TO <ls_approval_attrs>.
          lr_approval ?= ir_common.
    */ Beginning of custom approval number assignment.
    */ End of custom approval number assignment.
        WHEN cl_dpr_co=>sc_ot_individual_approval.
          ASSIGN cs_attributes TO <ls_individual_approval_attrs>.
          lr_individual_approval ?= ir_common.
    */ Beginning of custom individual approval number assignment.
    */ End of custom individual approval number assignment.
        WHEN cl_dpr_co=>sc_ot_checklist.
          ASSIGN cs_attributes TO <ls_checklist_attrs>.
          lr_checklist ?= ir_common.
    */ Beginning of custom checklist number assignment.
    */ End of custom checklist number assignment.
        WHEN cl_dpr_co=>sc_ot_checklist_item.
          ASSIGN cs_attributes TO <ls_checklist_item_attrs>.
          lr_checklist_item ?= ir_common.
    */ Beginning of custom checklist item number assignment.
    */ End of custom checklist item number assignment.
        WHEN cl_dpr_co=>sc_ot_task.
          ASSIGN cs_attributes TO <ls_task_attrs>.
          lr_task ?= ir_common.
    */ Beginning of custom task number assignment.
    */ End of custom task number assignment.
      ENDCASE.
    ENDMETHOD.

Maybe you are looking for

  • 'Ñ' Problem in Character Mode Report

    i made a report in Character Mode, using PRT. The problem is, when i generate report directly to the Dot Matrix Printer it didn't print the 'Ñ' character in my output, a corresponding ASCII character is printed instead. What could be the problem in m

  • How do I transfer my music from my macbook pro to my iPhone using iCloud

    I have set up iCloud on my macbook pro and iPad2. But I cannot transfer all of my purchased apps and music to my iPad. I also cannot transfer my iTunes purchases from my macbook pro to my new iPhone 4S. How do I get iCloud to do this?  Have I missed

  • Change image on expand/contract of tree table node.

    I have a tree table. If the branch node is expanded show an image of open folder. If the branch node is closed, then show an image of closed folder. How can we know whether the node is expanded or collapsed ? Any help appreciated !!

  • Problem viewing photos in PE Organiser

    Desperately need help with a problem viewing my pics in PE 9 Organiser. Many (most) of my photos will not display properly - instead, in their frames are yellow (?)'s in the upper left hand corner and  blue (?)'s in the center. That is the situation

  • Addonics "external" hard drive - not recognizing

    I just bought an Addonics external drive case with firewire interface - part #AE5SACSUF, and then installed the 250GB internal drive from my imac G5 (which died) to it, and then connected it to my imac G4 through the firewire port. The drive seems to