Workflow for network activity confirmation CN25
Dear Experts,
In CN25 tcode for network i am giving the input and pressing save button. In that tcode there are three activity status namely partial confirmation, manual confirmation and confirmation i.e PCNF, MCNF and CNF. I am using BO AFVC_NETW to trigger my workflow. As per workflow design i have given CNF, PCNF, MCNF as starting events. So when any one of the status gets from CN25 my workflow will trigger. Also at a time only one status has to be set. But when i press save button in CN25 its triggering all the three statuses. This is quite surprising. How are three statuses set at same time ? So three workitems are generated for all three start events.
I used SWU_OBUF and checked again but still all three statuses are set. Is it problem with BO or problem with Project System (PS) if any for that tcode.
Dear Experts,
Can you please help me out in this regard. I hope my requirement is clear.
Regards,
S Bharath
Similar Messages
-
BAPI for Network activty confirmation.
Dear All,
I am using BAPI "BAPI_NETWORK_CONF_ADD" for network activity confirmation. When I am entering the activity data and running this function module, I am getting system message network confirmation is saved and also get a confirmation number. But when I look at AFRU (confirmaiton table), I can not see this number, also same is not reflected on the network activity.
Has anybody came across the error like this ? What can be the probalbe reasons for this ? I am using version 4.7 here.
Thanks in advance !
Regards,
MahendraMahendra, there is a blog available on how to use BAPI in PS, it shows in steps what are the necessary step to be carried out for executing the BAPI like BAPI_TRANSACTION_COMMIT evern with a sample code, you can search for it, the details are available.
-
Network activity confirmations
1) Hi guys please advise is it possible to avoid (by means of error ) the second confirmation of an activity whihc was already fully confirmed and completed.
2) The milestone once it has received an actual date should not be possible to change the first actual date. So may be is it possible to get the field greyed out after doing the actual postings to milestone.I am not using the confirmation by means of a percentage completion of milestone and activity, instead my scenario requires the confirmation manually.
3) How can we control that the milestone actual date should not be less than 3 days of the system date.
The issue is important and urgent .Kindly advise
Thanks
RKSHi,
Thanks once again.
I have been trying the SPRO and Enhancements listed under Confirmations node, but have a feeling that they may work for controlling network activity confirmation and not for milestones.
Can you please confirm if these can work to control the milestone actual dates as per my requirement i.e. the actual dates once posted manually to milestone should not be possible to be changed.
Kindly let me know of any other enhancement or exits if you are aware.
Thanks and Regards
Rajeev -
Dear Experts,
I am triggering a workflow when activity is confirmed in CJ20N. Confirmed, Manually confirmed, Partially confirmed are the start events of my workflow. I tested the workflow in sandbox. In SWEL tcode i can see only confirmed event is triggered. I am getting one workitem for confirmed event.
I transported the same workflow to quality and tested there. But in SWEL tcode i can see all three events are triggered twice for same scenario. As a result i am getting 6 workitems. Can you please tell me reason for this.
KR,
S BharathDear Swami,
Thanks a lot for all your inputs. I have solved the problem.
Reasons for why I got more workitems in quality.
1. In BSVW tcode I put three entries for confirmed, manually confirmed and partially confirmed events
2. For doing activity confirmation in CJ20N there will be 2 steps first create the activity save it and then open activity again and confirm it and save it. As you see I will click save button twice for the confirmation process
3. BSVW tcode responds to every change in CJ20N tcode. So first time when I create activity and save 3 workitems for 3 events in BSVW are created. When I confirm activity and save again 3 more workitems are created so totally 6 workitems.
4. I removed the BSVW entries and opted for BADI WORKORDER_CONFIRM.
5. In method BEFORE_UPDATE of this BADI i inserted the below code. Note: This method will be called only when the user clicks save button after confirming the activity.
type-POOLs: cobai.
data: AFVC_NETW TYPE SWETYPECOU-OBJTYPE,
EVENT TYPE SWETYPECOU-EVENT,
OBJKEY TYPE SWEINSTCOU-OBJKEY,
lv_aufpl TYPE afrub-aufpl,
lv_aplzl type afrub-aplzl,
wa_aafvc type afrub.
READ TABLE it_confirmation into wa_aafvc INDEX 1.
lv_aufpl = wa_aafvc-aufpl.
lv_aplzl = wa_aafvc-aplzl.
CONCATENATE lv_aufpl lv_aplzl into objkey.
if sy-tcode = 'CJ20N'.
CALL FUNCTION 'SWE_EVENT_CREATE'
EXPORTING
OBJTYPE = 'AFVC_NETW'
OBJKEY = OBJKEY
EVENT = 'Confirmed'.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
ENDIF.
This perfectly solved my problem and now I am getting only one workitem.
KR,
Bharath -
Cancellation of network activity confirmation
Hi,
Can any one please tell me how do i undo a network activity confirmation.
somesh.nSaving not necessary - no confirmations were created
this is the error i get when i enter and save. I have confirmed an activity three times. Each time i have confrimed 1 hour of the total planned hours.
when i select the item and exectute it i dont get any pop up for reasons.
Also another issue regarding the same is i have confirmed an activity with the cost as 'x' and then i have changed the cost in kp26 to 'y'. kinldy let me know if the cost which has been changed shall be updated to the confirmed activity or the actual cost should remain the same as per the old cost. -
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 advanceHi 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 -
Hi,
Can any pne tell me the BAPI for Network Activity.
I have to pass the below listed fields.
PROFID
AUART
DISPO
WERKS
AUFNR
KTEXT
GLTRP
GLTRP
PRONR
PROJN
PRCTR
VORNR
LTXA1
STEUS
PROJN
ARBID
ARBEI
ARBEH
LARNT
DAUNO
SAKTO
PRKST
WAERS
EKORG
EKGRP
MATKL
LOSME
KTEXT1
SRVPOS
MENGE
MEINS
KSTAR
LTXT
APLZL_VOR
APLZL_NCH
AOBAR
I also need to pass few Z fields.
Asset Class
Investment Type
Payment profile
Asset Category
Part Number
Part Description
Contract Number
1st Investment Check
First off tool part qty
Final investment check
Mass production
Tool Register
Shared
Shared Part number
Trouble Code
Can anyone please tell me the BAPI which suits my requirement.
Thanks,
Vignesh
Moderator message: please stop posting duplicates, whether same user ID or not, do some research of your own.
Is there any BAPI for T-Code : CN21 with custom fields ?
Edited by: Thomas Zloch on Mar 5, 2012Dear deepthi dandibh,
Do you know how to solve it? I got the problem similar as you.
When I debug via BAPI_PO_CREATE1 function, I found the KNT has the G/L Account inside, But when I call BAPI_PO_CREATE1 by Zxxx program and debuging it. It doesn't has the G/L Account inside KNT table.
Could you please help to advise me how to do ?
Best Regard,
NNP -
Hi all,
does exist a workflow for Network.
I would to use a workflow for managing the user status of the network.
thanks in advantage
enzoDear Experts,
Can you please help me out in this regard. I hope my requirement is clear.
Regards,
S Bharath -
DSEX status for Network Activity
Hi,
1. How do I set DSEX status for Network Activity using BAPI?
2. How do I update scheduled dates for an activity once DSEX status is set, through BAPI?
Regards
ShrikantHi Abhishek,
Thanx for ur reply. I am already aware about that BAPI but looking for functionality which PM order maintain BAPI provides. In that BAPI, if you pass X in constraints DSEX flag gets set. Later if you pass dates in constraint dates field, the scheduled dates get updated. So I am interested to find out how one can update the scheduled dates, once DSEX is set.
Regards
Shrikant -
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 -
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 -
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,
-Nickyou 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 -
Re: Internal Orders after REL for Network Activity
Dear all,
Purchase Requisition (PR) will be automatically created after the Network Activity is Released (REL). However, for the PR created, Internal Order (IO) number would need to be maintained for reporting of the expenses in the FICO.
Hence, is the a method where we can maintain an Internal Order number in the PR automatically created through PS module? Or is enhancement development required to prompt a field for user to enter the IO number at the time the Network Activity is released?
Please advise.
Thanks.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!! -
Undo of deletion flag for network activity
Dear Gurus,
When I am uploading the network activity from MSP, unfortunately deletion flag was set to all the activities and network. I undo the flag for network, but I couldn't find and activity under the network. Also, I am unable to create with the same number as well.
Kindly help me undo the deletion flag for the act ivies.
Regards,
Punith.When you are in CJ20N, click settings and option, there select "Display deleted objects", now open your project, you will see activities with deletion flag status now. select and undo the deletion flag status.
Maybe you are looking for
-
Error while registering for index relevant events: Invalid RID: No reposito
Hi, I created an index and assigned a datasource to search the Windows network drive. I activated the index and now when I am monitoring the application log, I see the error <b>Error while registering for index relevant events: Invalid RID: No r
-
After editing in Photoshop, unable to save
I'm on a Mac, using LR 3.2 and Photoshop CS4. My image files are on a network drive. Catalog of course is local (since we can't work with networked catalogs). If I right-click a PSD (not raw file) in Lighroom and "Edit in Photoshop", then edit, when
-
Can't remove keywords from multiple files
I can't believe I can't get this working. Say I have 15 images with the same 10 keywords in every file. One of the keywords is "banana" and I want to remove it from all 15 files. I select all the 15 files. When I do that one becomes "active" (it gets
-
IMac intel core 2 duo plus 20" apple monitor any performance issues?
Hi, I am considering adding a second monitor to the setup above. Hardware, 2gb Ram, 256megvram, 2.33 ghz. Has anybody tried the new iMacs with this particular setup? I'd like to add a second monitor, but not if it will downgrade performance substanti
-
Hey! Problem's stated in in the subject line... Other question is, is it harmful for the computer to shut it down with the power button? grisu