WBS Elements upload with settlement rule& classification
I have created project profile & WBS elements with a BAPI bapi_project_maintain.
Now i need to apply characterstic values and settlement rules to those WBS elements.
I have been searching for a FM since long time.
I tried with LSMW also,it did not work.
Only way left to me is to write a BDC programs to full fill this.
If anybody has got some solution for this let me know.
regards
KTSS
Sreenivas,
I´m afraid that none of the 3 options is available via standard tools
I´m so sorry.
Rgds
Martina
Similar Messages
-
Standard WBS Elements Screen layout/Settlement rule/IM assignment
Few questions about Standard WBS elements
1. Is possible to have my own layout for the WBS element detail screens while creating/changing the standard WBS element (CJ91/CJ92)?
2. Is it possible to maintain the settlement rules for the standard WBS elements?
3. Is it possible assign the standard WBS elements to the IM program/position?
I know that all the above possible are only in case of operavtive WBS.
If possible with Std WBS elements, please help me and let me know.
Regards
SreenivasSreenivas,
I´m afraid that none of the 3 options is available via standard tools
I´m so sorry.
Rgds
Martina -
PS report: wbs element relation with PO, Pur Req. and vendor
Hello,
I need to build a report on WBS element which also shows PO number, Pur. Requisition, vendor details along with budget, actual, committements.
I found datasources that can provide informations except PO, Pur Req.
Can anyone help in providing a soln to build a relation between wbs and vendor to bring the correct PO and pur req related to wbs.
Thanks
AnimaHi Sushil,
Which version of BW are you using?
If its BW 7, then look at the datasource 2LIS_02_ACC
http://help.sap.com/saphelp_nw04s/helpdata/en/ed/62073c44564d59e10000000a114084/frameset.htm
Hope this help you
Anima -
Hi,
What is the difference between Standard WBS element (CJ91) and WBS element (CJ11)
I want to upload WBS elements, which method will you suggest BAPI or BDC?
If it is BDC which T.code shall i use for recording.
Please give me some guidelines,
Regards,
ChandraRefer BAPI documentation in SE37. Typically all PS BAPIs require initialisation BAPI at start and commit BAPI at end. You need to define a processing unit consisting of all tis. Open the BAPI in SE37 and refer documentation, everything is detailed out there.
Refer a similar thread:
Re: create project
Regards
Edited by: Shrikant Rakate on Aug 18, 2008 7:06 PM -
Skipping errors in WBS elements closure with a SAP / Excel script.
Hai there!
I have a Excel / SAP macro for closing WBS elements in transaction CJ20N. This macro works fine until error messages occur (or warnings) in SAP because something was not completed on the WBS element.
So then I thought the macro may be able to skip the WBS element that has errors on it and continue trying to close the next one instead? And then make a little mark in my list of WBS elements to close. That would save loads of time.
Is this possible? This is what I have in the code right now.
WBSToClose = ActiveCell.Offset(0, 1).Value
session.findById("wnd[0]").maximize
session.findById("wnd[0]/shellcont/shellcont/shell/shellcont[1]/shell/shellcont[1]/shell").topNode = " 23"
session.findById("wnd[0]/shellcont/shellcont/shell/shellcont[0]/shell/shellcont[0]/shell").pressButton "OPEN"
session.findById("wnd[1]/usr/ctxtCNPB_W_ADD_OBJ_DYN-PRPS_EXT").Text = WBSToClose
session.findById("wnd[1]/usr/ctxtCNPB_W_ADD_OBJ_DYN-PRPS_EXT").SetFocus
session.findById("wnd[1]/usr/ctxtCNPB_W_ADD_OBJ_DYN-PRPS_EXT").caretPosition = 0
session.findById("wnd[1]").sendVKey 0
session.findById("wnd[0]/mbar/menu[1]/menu[1]/menu[6]/menu[0]").Select '<--- This is the close button, after this errors sometimes occur.
session.findById("wnd[0]/tbar[0]/btn[11]").press '<--- save button.
session.findById("wnd[0]/shellcont/shellcont/shell/shellcont[1]/shell/shellcont[1]/shell").topNode = " 23"
Below is an example of an error message popping up while trying to close.
session.findById("wnd[0]").maximize
session.findById("wnd[0]/shellcont/shellcont/shell/shellcont[1]/shell/shellcont[1]/shell").topNode = " 23"
session.findById("wnd[0]/shellcont/shellcont/shell/shellcont[0]/shell/shellcont[0]/shell").pressButton "OPEN"
session.findById("wnd[1]/usr/ctxtCNPB_W_ADD_OBJ_DYN-PRPS_EXT").text = WBSToClose
session.findById("wnd[1]/usr/ctxtCNPB_W_ADD_OBJ_DYN-PRPS_EXT").setFocus
session.findById("wnd[1]/usr/ctxtCNPB_W_ADD_OBJ_DYN-PRPS_EXT").caretPosition = 18
session.findById("wnd[1]").sendVKey 0
session.findById("wnd[0]/mbar/menu[1]/menu[1]/menu[6]/menu[0]").select '<--- Selecting close
session.findById("wnd[1]/usr/btnOPTION2").press '<--- Here I click "Continue" on the error message
session.findById("wnd[0]/tbar[0]/btn[3]").press '<--- Back button
session.findById("wnd[0]/shellcont/shellcont/shell/shellcont[1]/shell/shellcont[1]/shell").topNode = " 23"
I would also like the script to put a little mark in my excel file showing which WBS elements that had errors on them. Just a number or so. But thats a bonus.
Is this possible?
Thanks, MattiasHello again!
Thanks alot! I got it to work perfectly with some modifications to the code.
Posting the solution in case someone can find it useful.
If (ActiveCell.Value = 0) Then
Row = 2
Column = 1
WBSToClose = ActiveCell.Offset(0, 1).Value
session.findById("wnd[0]").maximize
session.findById("wnd[0]/shellcont/shellcont/shell/shellcont[1]/shell/shellcont[1]/shell").topNode = " 23"
session.findById("wnd[0]/shellcont/shellcont/shell/shellcont[0]/shell/shellcont[0]/shell").pressButton "OPEN"
session.findById("wnd[1]/usr/ctxtCNPB_W_ADD_OBJ_DYN-PRPS_EXT").Text = WBSToClose
session.findById("wnd[1]/usr/ctxtCNPB_W_ADD_OBJ_DYN-PRPS_EXT").SetFocus
session.findById("wnd[1]").sendVKey 0
session.findById("wnd[0]/mbar/menu[1]/menu[1]/menu[6]/menu[0]").Select '<-- Selecting close
session.findById("wnd[0]/tbar[0]/btn[11]").press '<-- Save button.
On Error Resume Next
session.findById("wnd[1]").Close '<-- Close window button on any error message or warning
If Err.Number = 0 Then
ActiveCell.Value = 2
session.findById("wnd[0]/tbar[0]/btn[3]").press '<--- Back button if error message
End If
On Error GoTo 0
session.findById("wnd[0]/shellcont/shellcont/shell/shellcont[1]/shell/shellcont[1]/shell").topNode = " 23"
Row = Row + 1
End If
If ActiveCell.Value = 2 Then GoTo Fortsaett '<-- Skipping writing "1" in "processed"
ActiveCell.Value = 1
Fortsaett:
n = n + 1
ActiveCell.Offset(1, 0).Select
'Some looping hereafter
Points awarded.
Thanks, Mattias -
WBS element integration with Trade Claims Management Module
Hi All,
anybody knows if Trade Clams Management module of CRM is integrated with management of WBS elements?
We actually want to post the amounts paid to customers through Trade Claims Management into CO-PA; we're trying to understand if using WBS element is a viable solution. Moreover if this is the case i'd be curious also to understand how COPA posting of accruals would work.
Regards
Cm
-
hi all,
from where i will get info that a order is settle with which settlement rule and which settlement receiver ?
please help.
thanks in advanceHello,
Please check the Table COBRB and In this Table put the values for Field OBJNR (Object number) OR+Order Number.You will get all inormation you need.
Regards,
Rakesh -
Profit Center not getting copied from WBS master data to settlement rule
Hello,
I am facing issues during settlement to G/L. From FI side we have set up some validations that the FI postings shld always carry a Profit Ctr. Now when I am doing settlement to B/S account, the profit ctr from WBS master data gets copied to settlement details and hence on FI posting (Credit line).
However when I am trying to settle to Expenxse/P&L account this is not happening. The profit Ctr is not getting copied from WBS master data to Settlement details and hence the settlement is not going thru. The profit derived is a dummy profit ctr and not the one on WBS master data.
I have posted this query on FI forum too but no satisfactory answers.
Pls let me know, what is the system behaviour....will the prof ctr on WBS master data gets copied on settlement rule details automatically ?
SarangWhich exit do I use in OPSN? any thts or some exit in FI?
I am on ECC-6.0...
One thing to mention, the prof ctr is getting copied to settlement rules for Balance sheet account but not for P&L.This is more confusing...
Sarang -
Validating department in WBS element code with dept in Investment program
Hello Guru's,
While assigning Investment program, in WBS in CJ20N or CJ11, in our current business process we need to to validate the Department code in both WBS code and Investment program code.
At present we have planned to used same department code in WBS Code and Investment program code.
Need to to do this enhancement for our current project.
Please suggest the way to do it.
Regards,
AmlanHi,
I assume this "Department Code" is one of your customer specific field that is made available both in WBS as well as the iM program. If that is the case then either you can use any of the user exits for the WBS Elements to write your code or create a validation for the WBS and put your code in one of those exits invalidation.
Regards
Sreekanth -
i have zprojn type projn(i tried ps_pnr too)
and after i made conversion func i see my number is==004800
but i need to see it like this 4/008 or 4.800 how i can do it???Dear Szymon,
this the setting of allocation structure
Assignment 10
Source
Settle Cost Element
Assignment 30
Source
Settle Cost Element
need your advice.
Thank you,
Iwan S -
Hi ,
Can anybody tell me how can WBs created in PS can be uploaded to 0027 (cost distribution) infotype in master of HR.
Regards,
EvaniEvani ..i think you need to get an upload program developed from abapers.
because i dont see anything standard which does this.
If you get anything standard ..please let me know.
regards
Sandeep -
WBS Element wise settlement report
I require a report having the all WBS element code with settlement rule details the input shall be Project Deffinition. The report can be a standard report or from database table. Please suggest.
I have already tried in the Table COBRB & COBRA. But it is not giving the suitable report.
With regards,
Uttam Maity
Edited by: Uttam Maity on Aug 9, 2011 2:36 PMThere is a standard report available in ECC 6.0 EHP4, KOSRLIST_PR. menu path Logistics - Project System - Financials -
Period End Closing - Single functions - Settlement Rule - KOSRLIST_PR - List. You can create your own variant with inputs like project definition no, network number you can also choose a variant from list and then execute the report. -
Making Settlement rule mandatory for creating any WBS element
Hello All,
We have an requirement that system should not allow us to save any WBS element until the settlement rule is maintained.
This we want only for WBS elements where Investment rule is not assigned.
Can alyone help me to find out if this is possible, if yes then how.
Points Assured.
Thanks & Regards,
Jatinder BansalHi,
The only way it seems possible is using exists in validations.
if not try to check the status of the wbs element in a validation. function module is STATUS_CHECK. and i think the system might set a special status, if a settlement rule has been maintained for a wbs element.
Rgds
Sudhir Reddy -
Generation of WBS Settlement Rule
Hi Folks!
I was wondering if there is any function module that allow me to generate a WBS Settlement Rule for a specific project and for elements on level 3.
If there is no FM for this, is there any workaround to do this.
Thx for any advise.
Regards,
Gilberto LiHi Gilberto,
Hm, not a question that has a simple answer. Settlement rules are first of all defined in customizing how the should be behave and secondly lies the question how to update a CO cost object with this settlement rule.
Let us first assume that customizing is done with a settlement profile named ZZ_PROF for instance. This is defined in customizing like path (from R/3 4.7): Trans SPRO -> Project System -> Costs -> Automatic and Periodic Allocations -> Settlement -> Settlement Profile -> Create Settlement Profile.
My first advice would be to use the "automatic settlement derivation feature" that can be setup in customizing alike. Trans SPRO -> Project System -> Costs -> Automatic and Periodic Allocations -> Settlement -> Settlement Rule for Work Breakdown Structure Element. Read the docu for this node (right click and choose Display documentation) to understand what possibilities and limitations this functionality has. Below this node you have the possibility to define a "settlement strategy" and allocate this to a project profile. There is also an option to define a BADi whereby you you can somewhat influence the automatic generation of settlement rules. You must "obey" the rules in the "settlement strategy" but can do some filtering of SD orders influence and derive a "settlement strategy" baseed on some coding logic of your choice.
To execute these settings on operative projects you run trans CJB1 (collective processing) or CJB2 (indicidual processing).
All in all: This is good functionality but maybe not what you are looking for due to the built in "restrictions" in the "settlement strategy" profile.
My second advice would be: What I did in the past was to write a batch input program that was run just before period end closing (that is before settlement - of course) that did read all relevant WBS elements without a settlement rule and derived a new settlement rule. Finally, updated the setttlement coding block with this info. Processing of the BDC is then done via trans SM35 the normal way.
I also did a check for trans CJB2: In include LKAZBF15 there is the "magic" call to the update FM with name KSRG_GENERATE_RULE. One option could be to set a break point here and run the trans to see what parameters has to be filled. This implies that the customizing is done before, of course. I have a feeling that this is NOT the easist solution to use - to fill the parameters correctly may be difficult
I hope this helps you in deciding what action to take.
Sometimes a simple BDC will do the trick although it may not be a "good" solution.
Disclaimer: There might be some other relevant FM to solve your problem as I am not aware of. If you find one for WBS elements then I would certainly be interested in any findings.
Regards, Johan -
Auto Run Program not updating Settlement Rules for few WBS elements
Hi,
Addition of settlement rules for OPEX WBS.
In producion system, two jobs are running daily for generating settlement rules of WBS elements but, all WBS elements are not updating with Settlement rules.
It is becoming a problem in the Period end while doing the settlement. Currently we are updating the settlement rule manually.
We have investigated and found the following WBS element with Profile name are not updating Settlement rule.
H-U0DU0204DE-EX-J0 - HHDC01
H-N0U00ULD01-P1-D1-W2 - 000090
H-U0DU0204DE-EX-U0-T1-OB - HHDC01
H-U0DU0204DE-EX-U1-W1-ON - HHDC01
H-U0DU0204DE-EX-U2-W1-ON - HHDC01
H-U0DU0204DE-EX-I0-E1 - HHDC01
H-U0DU0204DE-EX-I0-B1 -HHDC01
H-U1DU0204DE-EX-U0-W1-ON - HHDC01
Job Names :
ZFPD_UK_SETTLEMENT_RULE_GEN
ZFPD_NO_SETTLEMENT_RULE_GEN
Please suggest on this issue
RegardsHi,
I suppose these are background jobs. Usually there is an issue with background jobs that are run for a custom developed program. Not sure why that happens. Even i faced this issue with a couple of jobs in my system. I have still not found out the reason as to why this happens. There might be a possibility that these projects were being processed in the foreground by some user and hence they were omitted from the run.
I would suggest you to consult your technical guys on this.
Regards,
Gokul
Maybe you are looking for
-
Receiver File Adapter with File content Conversion
I have a requirement to send 2 different files to the target directory. Source is the same and different mapping for the 2 files. This I can achieve through multi-mapping but there is a problem. How can I use the File content for receiver File adapte
-
How do I change the address bar search provider in FF4
I installed a program which made Yahoo my default search engine. I deleted it under manage search engines and chose Google there, but Yahoo is still my default search engine in the address bar even though I tried going to about:config-typing in keywo
-
My IPhone all of a sudden pops up saying sim card failed. I turn it off and turn it back on and it works but the next day it happens again. what do you think is wrong with it?
-
I used to have an iphone 3G, i have a lot of purchased items so I was interested to know that when putting them onto my iphone4s using the icloud will i need to pay for them again? i know it sounds silly because youve already paid for the song, but i
-
ZDM Agent "Invalid Drive Path"
We use Zenworks to install software and use the Zenworks folders to display the program shortcut icon. After installed, it will launch (Run options tab > Application > Path to file) and the program will start. I'm having an issue for the last couple