To create an activity under WBS element
Dear experts,
Is there any way to create an activity under the WBS element directly w/o network in the PS module?
I heard this from a user, as he claims that he read it some where, I am not sure about this.
Can some one through some light on this?
Thanks in advance,
Regards,
Praveen B
hi,
addiing to sharad change the setting for project profile opsa in plg board/dates tab network asst as 1 and don't inidcate the
display netwk header so that netwk header can't be displayed to end user.
regards,
Similar Messages
-
Hello ABAPers,
I have been using BAPI_PROJECT_MAINTAIN to create Project and WBS elements and I have done them without any errors.
Now I need help on how to create network activities.
Can anyone share on how to pass data to I_NETWORK table and I_ACTIVITY table and a brief description on what they are ?
Thanks in advance,
KiranHi Kiran,
Do the following steps
1.pass the following to i_method_project
method_project-refnumber = lv_refnum.
method_project-objecttype = 'NETWORK-ACTIVITY'.
method_project-method = 'UPDATE'.
concatenate aufnr(network nr) vornr(activity) into method_project-objectkey.
2.Into i_activity
activity-network = aufnr.
activity-activity = vornr.
3.i_activity_update
activity_update-network = 'X'.
activity_update-activity = 'X'.
It should work.If not let me know.
Rgds,
K.S. -
While creating the networks under WBS it's giving error
Hi experts,
i am not able to create the network under WBS element. while creating the Networks it's asking Scheduling type under scheluling tab. I tryed giving with backwards and forwards options, after press the enter it's says"The factory calendar does not exist (contact system administrator)". I am facing this error..
Could anyone please help on this....
Many Thanks in advance
SrinivasHi,
Check if you have maintained a factory calendar in the following;
1. OPSA - For project profile
2. SPRO --> Enterprise structure --> Defintion -> Logistics General -> Define, Copy, Check plant. Check the factory calendar for the plant.
Ensure the calendar is created and defined in your system.
Also, maintain scheduling type in OPU6 T-code for the network.
Regards,
Kabir -
Extension structure for a bapi to create project definition and wbs element
Hi,
is there a bapi that have an extension structure for custom fields, that can be used to create a project with wbs elements.
thanks for your help.i yhink BAPI_PROJECT_MAINTAIN dont have extension structure, so i cant use it because i have custom fields.
BAPI_BUS2054_CREATE_MULTI seems meet my requirement because it has extension structure, -
Creating a Validation for WBS Element in the Asset Master Record
I would like to know how to create a validation in the AMR for the WBS Element field. I would like to have a particular Business Area when used be required to only use a WBS element that starts with, let's say, AL. Can someone shed some light on how I would set up my check in OACV?
Hello
You can validate or substitute data directly at the input stage. You make the settings for validation and substitution in the Implementation Guide (IMG) for Controlling, under Controlling General ® Account Assignment Logic ® Define Validation or Define Substitution
Substitution and validation are only intended for actual postings
For a complete description of validation and substitution, see the SAP Library under Accounting - FI Financial Accounting ® Special ledger ® Tools ® Validation and Substitution Rules
Coordinate with ABAPer and make settings.
Reg
*assign points if useful -
BAPI's for creating of Project and WBS elements in SAP system.
Hi Guys,
I was able to use a Wrapper FM for creating the
We have a FM which combines 5 different BAPIs
FM/Wrapper: "Z_LEED_PROJ_WBSELEMT_CREATE"
1) BAPI_PS_INITIALIZATION
2) BAPI_BUS2001_CREATE
3) BAPI_BUS2054_CREATE_MULTI
4) BAPI_PS_PRECOMMIT
5) BAPI_TRANSACTION_COMMIT
Requirement: To automate the process of creation of Project and WBSE(Tasks) and create an entries in the PS tables based on the user inputs from the user interface in Visual Composer.
Basically user should be able to create the Projects and WBSE.
Issue: We were able to create the Project with the FM (BAPI_BUS2001_CREATE) but having the issue with the creation of WBSE(Tasks), the user will be entering the inputs for Project Definition, Project Profile and WBSE which are to be created in the UI.
The problem is we are not able to create the WBS elements using BAPI BAPI_BUS2054_CREATE_MULTI .i will send u the code below .Can anybody correct
CLEAR it_return.
CALL FUNCTION 'BAPI_BUS2054_CREATE_MULTI'
EXPORTING
I_PROJECT_DEFINITION = i_project_definition-project_definition
TABLES
IT_WBS_ELEMENT = it_wbs_element
ET_RETURN = it_return.
APPEND LINES OF it_return[] TO et_return[].
Thanks,
Gopi.Hi Ramiro,
This is the entire FM code which is below.
""Local Interface:
*" IMPORTING
*" VALUE(I_PROJECT_DEFINITION) LIKE BAPI_BUS2001_NEW STRUCTURE
*" BAPI_BUS2001_NEW
*" TABLES
*" IT_WBS_ELEMENT STRUCTURE BAPI_BUS2054_NEW
*" ET_RETURN STRUCTURE BAPIRET2 OPTIONAL
*" EXTENSIONIN STRUCTURE BAPIPAREX OPTIONAL
*" EXTENSIONOUT STRUCTURE BAPIPAREX OPTIONAL
DATA: it_return LIKE STANDARD TABLE OF BAPIRET2 WITH HEADER LINE,
v_error TYPE boolean VALUE IS INITIAL.
CLEAR: et_return, it_return.
CALL FUNCTION 'BAPI_PS_INITIALIZATION'.
Do checks for creating project definition
CALL FUNCTION 'BAPI_BUS2001_CREATE'
EXPORTING
I_PROJECT_DEFINITION = i_project_definition
TABLES
ET_RETURN = it_return.
APPEND LINES OF it_return[] TO et_return[].
LOOP AT it_return.
IF it_return-type CA 'EAX'.
CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'.
v_error = 'X'.
EXIT.
ENDIF.
ENDLOOP.
IF v_error = 'X'.
EXIT.
ENDIF.
Do checks for creating WBS elements
CLEAR it_return.
CALL FUNCTION 'BAPI_BUS2054_CREATE_MULTI'
EXPORTING
I_PROJECT_DEFINITION = i_project_definition-project_definition
TABLES
IT_WBS_ELEMENT = it_wbs_element
ET_RETURN = it_return.
APPEND LINES OF it_return[] TO et_return[].
LOOP AT it_return.
IF it_return-type CA 'EAX'.
CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'.
v_error = 'X'.
EXIT.
ENDIF.
ENDLOOP.
IF v_error = 'X'.
EXIT.
ENDIF.
CALL FUNCTION 'BAPI_PS_PRECOMMIT'
TABLES
ET_RETURN = it_return.
APPEND LINES OF it_return[] TO et_return[].
LOOP AT it_return.
IF it_return-type CA 'EAX'.
CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'.
v_error = 'X'.
EXIT.
ENDIF.
ENDLOOP.
IF v_error = 'X'.
EXIT.
ENDIF.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
WAIT = 'X'.
ENDFUNCTION.
can u please look at the code and let me know the changes?
Thanks,
Gopi. -
List of PO's created with reference to WBS element
Dear Experts,
I am looking for all the PO's that are created with reference to a WBS element, Can you please suggest a T-code?
Thanks & Regards,
ManishAnswered in this link List of POs for a WBS Element
-
Create shopping cart with WBS element
Hi,
Creating SC with WBS element ( assignment no ) getting the error that "The account assignment objects are defined for different business areas"
Give me some input what could be the cause??
Thanks
HareeshaHi Hareesha,
As Sreedhar has rightly said the issue is definitely with the correctness of the data.
Check the assignment of WBS to the proper business area which you are using to create the shopping cart.Check your org. structure and attributes and their assignments once again.
Neverthless some OSS notes for your reference if in case you can not able to make P.Os or the SC's / P.Os are not getting transfered to back end R/3.
<b>Note 727897 - WBS element conversion in extended classic scenario</b>
<b>Note 1000184 - Account assignment error when document transfer to back end</b>
Even after validating the data if the problem still persists please explain it clearly with the errors for further help.
Rgds,
Teja -
Creating Billing document for WBS Element(Transaction: CJ02 )
Hi Guys,
I am using FM BILLING_SCHEDULE_MAINTAIN to create billing document with milestone data,
it is giving sy-subrc eq 0. but billing document is not saving in FPLA table,
I am using FM GRSV_UPDATE_GRPGA_FROM_CJDW to update project.
and more over iam using COMMIT WORK.
Thansk in advance
Regards
Peram SrinivasKindly refer following Links:
Excise modvat accounts not defined for DLFC transaction and excise group
STO Account Determination
j1iin error message
Accounting document for Excise Invoice
Regards,
Ashutosh -
Create WBS Element under Specific existsing Level1 WBS Element
Hi friends,
In a Project definition, once the User creates the Level 1 WBS Element,
I need to Create a Level 2 WBS Element by default. Please suggest me any function modules or BAPI
to Create the WBS element under Particular WBS Element.
I checked the BAPI BAPI_BUS2054_CREATE_MULTI
I hope it creates WBS elements, but not under Specific WBS element.
I am checking the function module CJWB_CREATE_PRPS
Please suggest how to go ahead.........
Thanks in Advance,
Ganeshwbs cant b created under network,
just go to cj20n, select network/activity, then right click there, u ll never see any wbs element in create tab.
Graphically network is above a wbs in cj20n, does not mean that wbs is coming under network.
ashis -
How to create and use templete or standard network / activity and wbs
dear
i have define the structure for my project which have WBS elements, network and activties. the strucutre is same for all the projects that i define.
i wanna know whether to use templete or standard wbs network and activities as templete for the project.
for a network there are almost 150 activties across 10 wbs elements i want this structure as a templete what can i do create it.
Further, how can i use LSMW to create relationship for ativities?
regards
saqib usmanI have create std wbs level 1 5 wbs further i create std nwrk and activities and assignMENT are as follows
h1.*Create std wbs from CJ91 *
STD DEFINITION IS
E00-BSS-CO-BTS-0000 STANDARD BTS
LEVEL 1 WBS ELEMENTS
E00.BSS.CO.BTS.0000.RFP RADIO FREQUENCY PLANNING
E00.BSS.CO.BTS.0000.SA SITE ACQUISITION
E00.BSS.CO.BTS.0000.TXN TRANSMISSION
E00.BSS.CO.BTS.0000.CW CIVIL WORKS
E00.BSS.CO.BTS.0000.PMO PMO
RELEASE THE STD PROJECT OPTIONAL BY EDIT > STATUS > RELEASE
h1.CREATE STD NETWORK FORM "CN01" tcode
NEWORK HEADER WITH FOLLOWING SETTING
9000000 STD NETWORK CORPORATE BTS 0001
Network usage UNIVERSAL
Planner group 1 1
Network status RELEASE (GENERAL)
Std.WBS element E00.BSS.CO.BTS.0000.BSS
Predefined plnt CO01
press activity overview button or (shiFt+F7)
I ASSIGN ACTIVITY TO STD WBS ELEMENTS
ACTIVITY OPR. SHORT DESC STD WBS ELEMENT
A01 ZERO VERIFICATION E00.BSS.CO.BTS.0000.RFP
A02 DESIGN DOCUMENT E00.BSS.CO.BTS.0000.RFP
B01 SITE SURVEY 1 E00.BSS.CO.BTS.0000.SA
B02 SITE SURVEY 2 E00.BSS.CO.BTS.0000.SA
C01 CIR Doc Input E00.BSS.CO.BTS.0000.CW
C02 CIR CW Input by RM E00.BSS.CO.BTS.0000.CW
D01 CIR Doc Input E00.BSS.CO.BTS.0000.TXN
D02 CIR TXN Input by RM E00.BSS.CO.BTS.0000.TXN
E01 Rollout Month E00.BSS.CO.BTS.0000.PMO
E02 ON Air Date E00.BSS.CO.BTS.0000.PMO
h1.PREREQUISITE FOR ASSIGNMENT OF STD NETWORK and WBS are:
PROCESS TRANSACTION "CJ20N" TO INCLUDE STD NETWORK ALONG WITH ASSIGNED ACTIVITIES AND STD WBS.
FURTHER, I WANT TO COPY STD NTWORK SEVERAL TIMES with different network number. EACH TIME I COPY STD NWK TO OPERATIVE STRUCTURE THE SYSTEM SHOULD PROMPT NEW NUMBER FOR NETWORK AND ALSO PROMPT TO ENER ASSIGNED STD WBS ELEMENTS WITH REPLACE OPTION for operative WBS NUMBER.
STANDARD WBS OPERATIVE WBS
E00.BSS.CO.BTS.0000.RFP REPLACE BY E00.BSS.CO.BTS.0003.RFP
E00.BSS.CO.BTS.0000.SA REPLACE BY E00.BSS.CO.BTS.0003.SA
E00.BSS.CO.BTS.0000.TXN REPLACE BY E00.BSS.CO.BTS.0003.TXN
E00.BSS.CO.BTS.0000.CW REPLACE BY E00.BSS.CO.BTS.0003.CW
E00.BSS.CO.BTS.0000.PMO REPLACE BY E00.BSS.CO.BTS.0003.PMO
IN MY OPERATIVE STRUCTURE
I HAVE TWO LEVEL FOR WBS I.E.:
E00.C0.BSS LEVEL 1
E00.BSS.CO.BTS.0001 LEVEL 2 ASSIGNED NWK 0001 WITH ACTIVITIES AND WBS
E00.BSS.CO.BTS.0002 LEVEL 2 ASSIGNED NWK 0001 WITH ACTIVITIES AND WBS
E00.BSS.CO.BTS.0003 LEVEL 2 WHERE I WANT TO ASSIGN STD NWK AND WBS
(I HAVE CREATED EXTERNAL NUMBER FOR NETWORK)
I GO TO THE TEMPLETE AREA AND CLICK ON STD NETWORK BUTTON AND DRAG STD NETWORK 09000001-1 TO E00.BSS.CO.BTS.0003. ENTER NAME FOR NETWORK "BTS 0003". SYSTEM PROMPT TO ENTER EXTERNAL NETWORK NUMBER I.E.
Enter network number
WBS elem:E00.BSS.CO.BTS.0003
Copy from network:
E00-BTS-0003
h1.CLICK CONTINUE BUTTON NOW REAL PROBLUM COMES A DIALOG BOX APPEARS
Include standard network
You want to include a standard network that has assignments to standard WBS elements. However, the selected WBS element does not correspond to the standard WBS element.
Copy Assignment Ignore Assignment
In case, if i select button Copy assignment or select Ignore Assignment then:
New network created E00-BTS-0003 under WBS E00.BSS.CO.BTS.0003 with all assigned activitites but no WBS elements i.e.
STANDARD WBS OPERATIVE WBS
E00.BSS.CO.BTS.0000.RFP REPLACE BY E00.BSS.CO.BTS.0003.RFP
E00.BSS.CO.BTS.0000.SA REPLACE BY E00.BSS.CO.BTS.0003.SA
E00.BSS.CO.BTS.0000.TXN REPLACE BY E00.BSS.CO.BTS.0003.TXN
E00.BSS.CO.BTS.0000.CW REPLACE BY E00.BSS.CO.BTS.0003.CW
E00.BSS.CO.BTS.0000.PMO REPLACE BY E00.BSS.CO.BTS.0003.PMO
After all my finding i am not able to bring activity assigned WBS elements. Kindly help and provide information to resolve the problum. -
Create a Campaign as WBS ele. under a Project which doesn't exist in CRM
Hello Gurus,
We are trying to create a campaign as WBS element under a project definition which does not exist in CRM system as Marketing Project. We looked at the BADI CRM_MKTPL_R3_INT and could see that we can change the XML data in method CHANGE_XML_DATA. But in ECC , system is looking for GUID of the project definition and is not able to replicate the campaign as per the requirement. Please suggest a way to replicate Campaign as WBS element under a project definition which is not available as Marketing project in CRM but exists in ECC.
ECC system is looking for Project Definition guid in FM PR_assignments_pre_read.
Regards,
AshwiniHello Randhir,
Sure...We have a system Landscape in which Non-SAP systems communicate to SAP system.In our Scenario, the project definition (in our terminology it is called project code) is defined in non-SAP system and it gets replicated to SAP ECC and then whatever campaign that we create in SAP CRM should be created as WBS element under that project code which was replicated from non-sap system.Reporting will be done based on the project code in other systems.
For information, We are not replicating Marketing Plans to ECC.
Regards,
Ashwini. -
Is there a way to bypass activity type/ cost element for CJ20n Activity?
Hi Experts,
Is there a way to bypass the activity type set in the Internal tab of a particular activity in CJ20n?
Here's a background of the scenario:.
- In CJ20n, under WBS element 100->Network 10->Activity 1, under the internal tab, the activity type set up is ACT1
- Under person assignment, I have 2 resources assigned Person 1 and Person 2, with the following values:
Person 1 Work: 1.0h Dur. 10D
Person 2 Work: 2.0h Dur. 15D
- In infotype 135, person 1 has a cost element set as ACT2 and person 2 has a cost element ACT3.
- The problem is that when you bring up the Plan/ Actual comparision report (ctrl+F11 in CJ20n), the costs are consolidated for ACT1 and negates the cost elements for Person 1 and Person 2
Is there a way to bypass this and use the individual cost elements set up for person 1 and person 2?I dont think this is possible for the scenario that you explained. I mean, you have a single activity which has 2 resources assigned and each of these resources has a different activity type. Standard SAP allows only 1 activity type for an activity.
Just a query, why dont you create 2 different activities for these resources since the activity types are diff for both? -
Issue in BAPI_PS_PRECOMMIT in mass creation of WBS Elements
Hi,
I am facing a issue with BAPI_PS_PRECOMMIT.
we have the following WBS Hierarchy:
S - Proj, (level1)
S-XXX WBS Element (level2)
S-XXX-001 WBS Element (level3)
I have created a program for mass creation of WBS elements creation
which uses the following BAPI's
BAPI_PS_INITIALIZATION
BAPI_BUS2054_CREATE_MULTI
BAPI_PS_PRECOMMIT
BAPI_TRANSACTION_COMMIT
The proj: 'S' and the level2 WBS element: 'S-XXX' already exist in the system.
When I run the program for delta load, so as to create the following level3 WBS elements:
S-XXX-001
S-XXX-002
S-XXX-003
The system is throwing the following errors at the BAPI_PS_PRECOMMIT:
1. Final Check of the project definition and WBS elements: Error
2. Validation unsuccessful
Pls help me on this.
Thanks,
DeepakCheck the WBS elements doesn't exist already in your system.
Here is what I coded some days back for deletion of Network Activities, most of the things are same.
You are doing for WBS element.
* Call to initialization BAPI Before Delete
CALL FUNCTION 'BAPI_PS_INITIALIZATION'.
* Call to Network Activity Deletion BAPI
CALL FUNCTION 'BAPI_BUS2002_ACT_DELETE_MULTI'
EXPORTING
i_number = t_bapi_activity-network
TABLES
it_delete_activity = l_t_del_vornr
et_return = l_t_bapiret2.
DELETE l_t_bapiret2 WHERE type <> 'E'.
READ TABLE l_t_bapiret2 INDEX 1.
IF sy-subrc EQ 0. "If error in Deletion
MOVE: f_idoc_contrl-docnum TO t_idoc_status-docnum,
l_t_bapiret2-type TO t_idoc_status-msgty,
'CNIF_PI' TO t_idoc_status-msgid,
l_t_bapiret2-number TO t_idoc_status-msgno,
l_t_bapiret2-message TO t_idoc_status-msgv1.
MOVE c_idoc_status_error TO t_idoc_status-status.
APPEND t_idoc_status.
ROLLBACK WORK.
EXIT.
ELSE. "If Delete is successful COMMIT
* Call to PreCOMMIT BAPI
CALL FUNCTION 'BAPI_PS_PRECOMMIT'
TABLES
ET_RETURN = l_t_bapiret3.
* Call COMMIT BAPI
* CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
ENDIF.
The other solution is use BAPI_PROJECT_MAINTAIN. -
Problem while assigning service activity to WBS
when i assign service activity to WBS element without filling any fields (like Purchase groupand Material group) it is going straight to Service Specifications.
if we fill the service specifications and save the project we can save the project with out any errors
i require entry of PurchaseGroup and Material Group is mandatory
and then system should go to Service specifications
Please adviceHi,
Just check in Network profile, on Activity tab (TC: OPUU). You must have maintained required details like Material group, Purchasing group etc in Service activity section. Whenever you create a service activity these values get defaulted in activty. Let me know if it solves your problem.
Reward points if helpful.
Regards
Message was edited by:
Shrikant Rakate
Maybe you are looking for
-
Any ideas on how to connect hard drive back into LR5?
-
Getting only name of the physical disk from cluster group
hi experts, i want to know the name of my cluster disk example - `Cluster Disk 2` available in a cluster group. Can i write a command something like below. Get-ClusterGroup –Name FileServer1 | Get-ClusterResource where ResourceType is Physical Dis
-
I currently have 19000 emails and growing in my Mail application. I know this may seem stupid to have so many, but I run a small business and often have to quickly 'search' Mail to reference questions about previous communication with customers. I ha
-
Upgrade Failed, WL Express 6.1 to 8.1
Last nite, we finally upgraded our WL servers to 8.1 from 6.1 (Express). This lasted about 4 hours, and then the connection pool started throwing a massive amount of errors. (so much so, that we had to roll back @ 6 am this morning). Configuration: W
-
Modeling recursive Business Object in Oracle SOA Suite 11g
I'm trying to model a complex Business Object (named Prenda) that contains an attribute of the same type of the object (Prenda) using JDeveloper 11g. This is my xsd <?xml version="1.0" encoding="UTF-8"?> <?bpmo version="11.1.1" build="6.84" fullName=