BAPI for Network Activity
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, 2012
Dear 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
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.
-
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 -
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 -
Hi,
i'am searching a bapi to lock a network plan.
Is one BAPI for this mission available?
Thanx
TonyHi,
I think use these BAPI for network lock.
BAPI_NETWORK_MAINTAIN
and also i am giving some bapi list regarding that one.
BAPI_NETWORK_GETLIST
BAPI_NETWORK_GETDETAIL
BAPI_NETWORK_EXISTENCECHECK
BAPI_NETWORK_CONF_ADD
BAPI_NETWORK_CONF_CANCEL
If it is usefu, Please reward me the points.
Thanq,
Satish. -
Hi all,
I am using BAPI_NETWORK_CONF_ADD to confirm actual duration against the network/activity. I am executing the BAPI in se 37 and I am getting successfully message i.e. confirmation has been posted for network xxxxxxxxxxx .
But it is not updated into database i.e. its is not visible in table AFRU.
Please can you tell what are necessary parameters to be passed for database updation?
Thanks,
SridharHi Sridhar,
Try in a simple program by passing your values into this BAPI and use the BAPI_TRANSACTION_COMMIT after that and it will update the tables.
Cheers
JK
PS: Award points if this helps you -
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 -
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 -
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 -
BAPI for Creating Activity Journal
Dear Experts,
i am able to create the Activity through standard function module BAPI_ACTIVITYCRM_CREATEMULTI, now i want to create the Activity Journal, how can i create Activity Journal, BAPI_ACTIVITYCRM_CREATEMULTI is the right bapi for that or is there any other bapi to create Journal. Actually i have seen in the Create bapi, but i dont know how to create the journal, plz help me how to create the journal for an Activity, what r the necessary fields for creating the journal.
Regards
eswarhi prasad,
i have gone through this interface program, but i m unable to create the activity journal, plz tell me the process while using this interface, and wht are the necessary fields to give for the bapi because i need standard interface, plz help me how to create the journal for an activity.
Regards
eswar -
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.
-
Issues about substitution for network activity
Hi guys,
Today we have tried to creat a substitution for the network activity (Tcode: OPSN). we also create some by reference the existing ones. When we choose form menu Edit->Validation/Substitution->Substitution, it really triger the our defined exit. But when we save the network, after we change the activity. It trigger nothing! So I am very confused.
Welcome any suggestion!
thanks very much!
--JamesHi James,
check settings in network profile. For automatic substitution you need to make settings there.
Cheers
Thorsten
Maybe you are looking for
-
Z97 PC MATE - Second GPU will not display / black screen
Using Z97 PC MATE with 2 nvidia cards (GeForce GTX970 and GeForce GETX750ti). My goal is to use the 750ti for dual display with the 970 reserved for compute in a 3D software package (houdini simulations). If both cards are installed on the mobo and o
-
DEAR All, In our manufacturing scenario,we have created the profit centers product wise. My doubt is that should we assign the profit centers to Raw Materials /Consumables/Components apart from assiging to Finished Products. If Profit Center is not a
-
Problem after deployment---urgent please help
Hi All I have deployed my application and the bc4j on 9IAS..i am getting the following error while committing a new record. Can u please tell me how should i go about resolving this problem or even editing my bc4j..file oracle.jbo.AttrValException: J
-
Help! How do I import Hotmail without Entourage?
I'm not sure if I should keep my pbook G4. I can't believe that I'd have to use Entourage from Office 2004 for Mac ($399.95) just to get Hotmail! Is there an uncomplicated way or good program for me to use? I have old mail from Outlook that I would l
-
Menubar Icons disappearing/reappearing in a cycle
I have just installed Snow Leopard on a Macbook Pro. After installing I migrated my older macbook pro's data (also running Snow Leopard) using migration assistant from Time Machine. After migration had finished I started up the new MBP to discover th