Network activity create

Hello frnds!!
I m using BAPI_PROJECT_MAINTAIN to create,update n delete project,wbs,network etc.......i took some documentary help from      BAPI_NETWORK_MAINTAIN.Bt while creating NetworkActivity document says to pass the following parameter :---
IMethodProject
OBJECTTYPE  = NetworkActivity
METHOD = Create
OBJECTKEY = TRAINING00010010
bt  frm whr can we get this object key........becoz even whn we create a network the object key we mention doesnt get reflected anywhr in cj20n.Same probs com while creating networkactivityelement.When we have to pass parameter in NETWORK.....network is not accepted....

Hello frnds!!
I m using BAPI_PROJECT_MAINTAIN to create,update n delete project,wbs,network etc.......i took some documentary help from      BAPI_NETWORK_MAINTAIN.Bt while creating NetworkActivity document says to pass the following parameter :---
IMethodProject
OBJECTTYPE  = NetworkActivity
METHOD = Create
OBJECTKEY = TRAINING00010010
bt  frm whr can we get this object key........becoz even whn we create a network the object key we mention doesnt get reflected anywhr in cj20n.Same probs com while creating networkactivityelement.When we have to pass parameter in NETWORK.....network is not accepted....

Similar Messages

  • Run time Error while creating Network Activity.

    Getting Runtime -
    > Runtime error: ILLEGAL_TEMPORARY_OBJNR  ("TM0000000008NV" " " " ")
    While trying to create the Network activity in the following sequence.
    CALL FUNCTION 'BAPI_PS_INITIALIZATION'.
    *--> Create the Network Activity
      CALL FUNCTION 'BAPI_BUS2002_ACT_CREATE_MULTI'
        EXPORTING
          i_number     = i_number
        TABLES
          it_activity  = t_activity
          et_return    = it_preturn.
         extensionin  = extensionin
         extensionout = extensionout.
      LOOP AT it_preturn INTO wa_preturn.
        IF wa_preturn-type EQ c_error OR
           wa_preturn-type EQ c_termination OR
           wa_preturn-type EQ c_exit.
          l_error = c_yes.
        ENDIF.
      ENDLOOP.
      IF l_error IS NOT INITIAL.
        ROLLBACK WORK. " satish 09/02/2008
        EXIT.
      ENDIF.
      CALL FUNCTION 'BAPI_BUS2002_SET_STATUS'
        EXPORTING
          number                   = i_number
          set_system_status        = 'CRTD'         " changed 'REL' to 'CRTD'  satish 11/04/2008
        IMPORTING
          return                   = lwa_ret1
        TABLES
          i_activity_system_status = lt_act_status_set
          e_result                 = lt_stat_ret.
      IF lwa_ret1-type EQ c_error OR
         lwa_ret1-type EQ c_termination OR
         lwa_ret1-type EQ c_exit.
             call function 'BAPI_TRANSACTION_ROLLBACK'.
        EXIT.
        endif.
      CALL FUNCTION 'BAPI_PS_PRECOMMIT'
        TABLES
          et_return = lt_return.
       CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
        EXPORTING
          wait = 'X'.
    Help really appriciated.
    Thanks
    Mani

    Hi,
    Go through the SAP NOTES 777934
    Symptom
    When a new network activity is created using BAPI, BAPI_BUS2002_ACT_CREATE_MULTI and then the newly created activities are
    reverted by using BAPI BAPI_TRANSACTION_ROLLBACK,the control objects of newly created activities are not reverted, therefore when you perform a
    commit of the transaction by using BAPI_TRANSACTION_COMMIT, a short dump'ILLEGAL_TEMPORARY_OBJNR' occurs.
    Other terms
    short dump 'ILLEGAL_TEMPORARY_OBJNR', CKCOUEB, Costing Sheet, Posting Date, Overhead key, CK_F_CO_OBJECT_ALL_REFRESH, BAPI_PS_INITIALIZATION.
    Reason and Prerequisites
    This is caused by program error. This note references SPC 770601 and created for corrections to be included in support package.
    Solution
    Implement the source code corrections.
    Regards,
    Dwaraka.S

  • Create long text for network activity

    Hello,
    I'll create a long text for a network activity, but I found no BAPI for that.
    When I create long text for an order activity I use the BAPI BAPI_ALM_ORDER_MAINTAIN. There it is possible to specifiy the long text lines.
    In the BAPI BAPI_NETWORK_MAINTAIN there ist no table for specifying long text.
    Did anyone know how to create a long text for an network activity?

    Hello Vivek,
    I'll tried this too. My problem was, if I add long text to a existing network activity, everything works well. But in my programm I create a new network plan with one network activity (0010). After commit I become the correct network plan number. Then I try to add long text to the network activity. I get correct return codes but if I look in the transcation CJ20N I could not see some text. If I use the READ_TEXT function with the key I insert the text, I see the text, but not with the transaction CJ20N.
    I compared the key I used in my program with the key if I insert text with transaction CJ20N. I could'nt found some differences.
    SELECT SINGLE afvcp~mandt afvcp~aufpl afvcp~aplzl
                      INTO (mandant,aufpl,aplzl)
                      FROM afvcp INNER JOIN
                      afko ON
                      afko~mandt = afvcp~mandt
                      AND afko~aufpl = afvcp~aufpl
                      AND afko~aufnr = ordernumbernew.
                        "*Create Identifier
                        CONCATENATE
                        mandant aufpl aplzl
                        INTO lv_name.
                        header-tdobject = 'AUFK'.
                        header-tdname = lv_name.
                        header-tdspras = sy-langu.
                        header-tdform = 'SYSTEM'.
                        header-tdid  = 'AVOT'.
                        header-mandt = sy-mandt.
                        header-TDLINESIZE = '079'.
                        CALL FUNCTION 'SAVE_TEXT'
                          EXPORTING
                            client          = sy-mandt
                            header          = header
                            insert          = 'X'
                            savemode_direct = 'X'
                            owner_specified = ' '
                            local_cat       = ' '
                          IMPORTING
                            function        = func
                            newheader       = newheader
                          TABLES
                            lines           = lines
                          EXCEPTIONS
                            id              = 1
                            language        = 2
                            name            = 3
                            object          = 4
                            OTHERS          = 5.
                          CALL FUNCTION 'COMMIT_TEXT'
                           EXPORTING
                             OBJECT                = header-tdobject
                             SAVEMODE_DIRECT       = 'X'
                           IMPORTING
                             COMMIT_COUNT          = commit_count
                          COMMIT WORK AND WAIT.
    For example in the debug the header ist filled with:
    1 TDOBJECT C 10 AUFK
    2 TDNAME C 70 210000044156300000001
    3 TDID C 4 AVOT
    4 TDSPRAS C 1 D
    5 TDTITLE C 50
    6 TDFORM C 16 SYSTEM
    7 TDSTYLE C 8
    8 TDVERSION N 5 00000
    9 TDFUSER C 12
    10 TDFRELES C 4
    11 TDFDATE D 8 00000000
    12 TDFTIME T 6 000000
    13 TDLUSER C 12
    14 TDLRELES C 4
    15 TDLDATE D 8 00000000
    16 TDLTIME T 6 000000
    17 TDLINESIZE N 3 079
    18 TDTXTLINES N 5 00000
    19 TDHYPHENAT C 1
    20 TDOSPRAS C 1
    21 TDTRANSTAT N 1 0
    22 TDMACODE1 C 16
    23 TDMACODE2 C 16
    24 TDREFOBJ C 10
    25 TDREFNAME C 70
    26 TDREFID C 4 4
    In CJ20N the header is filled with
    1 TDOBJECT C 10 AUFK
    2 TDNAME C 70 210000044156300000001
    3 TDID C 4 AVOT
    4 TDSPRAS C 1 D
    5 TDTITLE C 50
    6 TDFORM C 16 SYSTEM
    7 TDSTYLE C 8
    8 TDVERSION N 5 00000
    9 TDFUSER C 12
    10 TDFRELES C 4
    11 TDFDATE D 8 00000000
    12 TDFTIME T 6 000000
    13 TDLUSER C 12
    14 TDLRELES C 4
    15 TDLDATE D 8 00000000
    16 TDLTIME T 6 000000
    17 TDLINESIZE N 3 079
    18 TDTXTLINES N 5 00007
    19 TDHYPHENAT C 1
    20 TDOSPRAS C 1
    21 TDTRANSTAT N 1 0
    22 TDMACODE1 C 16
    23 TDMACODE2 C 16
    24 TDREFOBJ C 10
    25 TDREFNAME C 70
    26 TDREFID C 4

  • How to make cost element field appear when create network activity service

    Hi All,
    Please help. We create a project ,wbs and network activity using external service. How can we make appear the cost element when the service master appear. The system require cost element but we cannot see the cost element field.
    Steps :
    *. CJ20n.
    *. Create WBS and network header
    *. Then network activity for external service.
    *. Then it appears service specifications : ext specs Task List Maintain
    *. I Put Service no, and the error message appears :
    Please enter a cost element
    Message no. SE121
    *. But we can find where the cost element is. It seems the field disappear.
    PLease help.
    Thank you.
    Nies

    Hi,
    Yes. It is already blank. But the cost element field still not appears when we create activity service. It shows :
    Please specify a valid account assignment
    Message no. SE181
    Diagnosis
    You have entered an account assignment category in the document item for which an account assignment is mandatory.
    All account assignment lines in the service specifications either have been deleted or are inactive (e.g. account assignment lines of a contingency item).
    Procedure
    Please enter an account assignment for the services or value limits.
    The entry of an account assignment is unnecessary if you choose "unknown account assignment" in the document item.

  • How to create network activity

    how to create network activity using bapi_network_maintain bapi
    i am getting the error as incorrect object key for activity
    reagrds

    ok

  • Create Inspection lot at 'Network - Activity' level

    hi all,
    We are having a requirement to see if there's a possibility to Create inspection lot at 'Network - Activity' level for activities that are "In-house" processing. So that the user can record the Inspection information against a Network - Activity.
    Ex - Network Activity:
    1)Plate cuttingu2014 Inspect cut edges 
    2)Welding - Inspect Weld joint 
    3)Rolled tube - Check Inner diameter

    Any suggestions plz!!.

  • Investment measure for network activity?

    I can manually create AuC and settle from network activity to the AuC, but is there an option for the investment profile?  Basically network is also an order, while for Internal orders we can have IM profile...

    Hi Raj
    I have tried as you have suggested.
    I still could not raise an AuC against a network activity. As you have suggested the AuC was only available against the WBS.
    Please let advise how can I get an AuC against a network activity.
    Regards
    Virendra

  • Status of WBS element triggering confirmation of network activity ?

    Hello,
    Can you please let me know if the following requirement could be solved using workflow in PS module :
    Setting of 'Fully invoiced' status (FNBL) on WBS element in CN02 transaction should trigger the confirmation of network activity (transaction CN25).
    How this possibly could be done using workflow ?
    Regards, Wieslaw

    Hi,
       its possible to raise a workflow on Setting of 'Fully invoiced' status (FNBL) on WBS element in CN02 transaction .
      BOR: bus2054
      Do status managemnet to raise a  evnt of this BOR  ( BSVW  ).
      In the work flow in one of the method of extended BOR,
        do the confirmation of network activity thru  some bapis,etc.
    For confirmation:
       BOR: PSAFRU method:    NetworkConfirmation.Create
       check if this is helpfu
      create an instance of this nd check if this method helps.

  • Substitution  for Sap ps on Network Activity

    Dear All ,
       i want to create substitution in project system .My requirement is to create substitution  in  network activity .Here i have to write ,if proj- PSPID is k* ,then   AFVGD-SAKTO will be 43000000. But when i am going to create ,then i am not getting PROJ structure  or PSPID field  there . please help me for that to create in t code OPSN .
    Thanks & Regards
    Sambit

    Hi,
    It would have created wonder if all your K Series projects must be having a separate and specific project profile. In that case, you just need to assign the network profile by defaulting cost element into it.
    Anyways, can you try to pick up one common field in AFVGD except project definition. I am just thinking for other way round solution.
    I hope, SHD0 (Screen and Transaction Variant) will also not work in this case because in your case project series is fixed.
    Lets wait for other experts to comment on this.
    Regards,
    Amit

  • Report S_ALR_87013533 not showing Network activity

    Hi,
    Our client user has created a Network activity (2410247/DLIA). However he is unable to see the same in the report S_ALR_87013533. I have checked the dates and work centers that have been assigned under this activity; everything seems to be fine.
    Can you please guide me how to resolve this.
    Thanks in advance.
    Hari

    Hi Shrikanth,
    Thanks for your response. We have noticed that costs were not calculated for the network. Now the activitiy is showing up on the report S_ALR_87013533.
    Thank you,
    Bye
    Hari

  • PS tables for Network Activity elements

    Hi,
    I am trying to find the tables for Network Activity elements and its relationship with Activity (PS Module).
    There are Std BAPIs to get the data.
    But I want the table field names since it would be used by the XI team for data mapping.
    Thanks in advance

    Hi Pranav
    Thanks for yr information. we can select the object WBS, and shall be able to view PS texts in overview and create PS Texts.
    My requirement rather, question is, can we attach any documents without having DMS. ie., can we assign any of the Windows document which are available in hard disc?
    please thorough some light on this and thanks in advance and belated happy diwali wishes to you.
    Thanks
    Sudhakar

  • Which log in GW Module to -tail for network activity?

    We are having some issues with some GW modules dropping offline. I would like to boot one up and monitor it's logs in CLI to see what it is doing before it falls off however I am not sure which log to monitor or look at. Can someone help me identify the best way to go about this?
    Thanks, 
    -Nick

    you can create another customer field on the activity using an exit
    go to txn SMOD
    enter CN* and click on the match code button
    you should get the CNEX0xxx number for fields on network activity
    note - the PR created will have an account assignment of the network activty number
    When creating PO you will need to ensure that the assignment is changed to internal order
    I still do not beleieve this is a correct way - obviously your client have got it wrong and need to change
    Lastly what is the benefit of having the Internal order number in the network activity as it will not automatically in the PO!!

  • Settlement rule for Network activity

    hi,
    in my project, settlement rule of network activity is automatic to the superior WBS..  however i noticed that the default settlement rule is FUL.. is it possible to make setting such that the default settlement rule would still be to the superior WBS but it is PER (periodic settlement insted of full)
    how to do this?
    thanks in advance.

    see OSS note 317871
    Summary
    Symptom
    When you create a network or a new network activity, the respective settlement rules can be generated automatically by default. In the standard system, default rule PS1 is currently supported for this. This default rule creates a settlement rule for the full settlement.
    A default rule for the generation of a settlement rule for periodic settlement does currently not exist.
    Additional key words
    CN21, settlement rule
    Cause and prerequisites
    At present, the function is not supported in the standard system.
    Solution
    The attached program creates a corresponding new default rule PS2 which generates a periodic rule. In Customizing, you can assign this default rule to the affected network types afterwards.
    It is planned to include this default rule in a future release in the standard system.
    Source code corrections
    Header Data
    Release Status: Released for Customer
    Released on: 18.06.2007  07:57:36
    Priority: Recommendations/additional info
    Category: Advance development
    Primary Component: PS-COS-PER Automatic and Periodic Allocations
    Secondary Components: PS-COS-PER-SE Settlement
    Affected Releases
    Software
    Component Release From
    Release To
    Release And
    subsequent
    SAP_APPL 40 40B 40B  
    SAP_APPL 45 45B 45B  
    SAP_APPL 46 46B 46B  
    SAP_APPL 46C 46C 46C  
    SAP_APPL 470 470 470 X
    SAP_APPL 500 500 500  
    SAP_APPL 600 600 600

  • Consideration of network activity factory calender

    Hi,
    I am facing problem regarding considering of  factory calendar.
    scenario: we are assigning the personnel nos in person assignment tab in internal activity. confirmation of activities will be done through CATS. at the time of confirmation it is considering the calender given in work scheduling in HR master data rather considering the factory calendar of network activity.
    i require how to select the factory calendar of network activity rather selecting the calendar from work scheduling of HR data.
    With Regards
    Prasanth.N

    Hi Prashant,
    This is solution for PS without HR integration..............Please do the following steps:
    1.  Create a person responsible using OPS6
    2.  Assign a desired factory calender in the particular activity at internal tab of the activity.
    3.  Then Plan your work and save and release.
    4.  Then do the confirmation in CATS
    Hope it will be clear now.  Appreciate if it is useful
    Thanks and Regards
    Vetrivelan

  • Time entries booked against network & activity are not transferring to PS

    Hi every one,
    We have scheduled a job to transfer time entries which were booked against network & activity on daily basis,  but for some reason the time entries are not getting posted against the network (Only for certain network, see attachment), though it is not showing any error message when i saw the spool log for the job in SM37. When i ran CAT5 in test mode it is showing time entries which needs to be booked against the network and activity.
    Can some one help me out to transfer the time entries via the job??
    I have attached the screenshot from CAT5 transaction.

    Hi Ram,
    Variant will determine the selection of personnel numbers and other parameter defined on CAT5 selection screen. If manually posting is happening on network then it means network are fine.
    What I can suggest is, you can create a new variant and then run it thought SM36 and check in SM37.
    Go in CAT5 transaction, and untick test run, log and dates transfer can be ticked. Then save. Then variant attributes screen will open save the variant with a name and description .lets assume you saved the variant with name TEST. If you wish you can on save the variant on certain number of network or personnel number, it depends on you to keep it blank or run variant for limited number of records.
    Now go in SM36 and click on STEP, in the ABAP program TAB enter "RCATSTPS", then select the variant using search help and you will find the variant defined above i.e. TEST.Check and save from bottom of the window. Come back once. Then click on START CONDITION, Date/Time - define a date and time for the variant "TEST" to run as a JOB.
    Check in SM37 you will find the schedule JOB run time and date. After the JOB is finished you check report CJI3 for actual posting of network.
    This will work fine, if in case you need few more fields to be defined in variant then I will suggest to create a variant via CATA instead of CAT5, their you will get more options to post time.
    Regards,
    Sandeep

Maybe you are looking for

  • Can't transfer video to iPod either, but different problem. :(

    So I just got my iPod and am trying to put mpgs that I've got on my computer on the pod. I know that I'm supposed to put the file in iTunes and then convert the selection, but when I do I get an error message (-3000, which is an Invalid Component ID)

  • S20 Hard drive - maximum size?

    Hi Folks - I'd like to fit 2x 2TB drives in my S20, but our IT procurement department says the computer will only support 1TB drives maximum. Is this right? Solved! Go to Solution.

  • I cannot open safari on my iPad or mini iPad

    It still works on phone and Mac, but not on Ipad or Mini Ipad. Not sure if Apple update or new update on present app's caused it.

  • Oracle 11i Financials

    Hi, I was looking for Oracle 11i Financial software for download and I am not able to find out. Can anyone help me with this. Thank you

  • Open Hub - SAP's future direction

    Is anyone aware of the direction that SAP has planned for the future of Open Hub ? Would appreciate your feedback.