Function module for Profit Center group and Cost Center group changes
All,
The requirement is to change the profit center group and cost center group from one node to another. Please remember it is trying to simulate the transactions KCH5 and OKEO programatically.
I would like to know if somebody had this requirement previously and had made use of some function module or some other technique which will help in changing the standard hierarchy nodes.
Help is much appreciated.
Regards,
Hari
All,
The requirement is to change the profit center group and cost center group from one node to another. Please remember it is trying to simulate the transactions KCH5 and OKEO programatically.
I would like to know if somebody had this requirement previously and had made use of some function module or some other technique which will help in changing the standard hierarchy nodes.
Help is much appreciated.
Regards,
Hari
Similar Messages
-
No functional area derived from GL account and cost center ccombination sel
Hi,
When doing a goods issue for a delivery, am getting this error. Hope somebody could advice.
"No functional area derived from GL account and cost center combination selected."Hi,
Go to FS00 and specify the functional area for the gl account. Go cost center change mode specify the functional area. Define the f area in Tcode OKBD, FSP2,KA02,KS12,
Hope this is clear, if yes assign points
Regards,
Sankar -
Profit center hierarchy and cost center hierarchy
Hi
What are the things we have to consider to create Profit center hierarchy and cost center hierarchy and what is the need to assign profit center hierarchy to profit center and cost center hierarchy to cost center. What levels does this fall into? Can some one please guide me.
Thanks.As you would for any other infoobject
Activate the business content hierarchy datasources on R3 for cost centre and profit centre
Go into BW - replicate the metadata
Then just connect via transformations or transfer rules the datasources to yoru infosources or master data objects
Create an infopackage per hierarchy!!!!! - press the button available hirachies from OLTP - click the one you want on the left - fire it off
Then repeat new infopackages for all hierachies -
P&L by Profit Center Wise and COst Center wise
Hi All,
Profit Center Reporting u2013 I need a P&L by Profit Center. Unfortunately in SAP, there is no way to u201Cmarryu201D the profit center and cost center accounting into a single report that is filtered by PC/CC. Example: I need to see the P&L for my Orlando region (Profit Center and Cost Center Range = 5450 to 5459). The report should return exactly what is returned when I run a company-wide P&L through standard report: S_ALR_87012284.
In fact, if I could simply filter the standard report in SAP there would be no problem, but there is no way to do that successfully u2013 the filters inhibit the correct results. Also, the standard profit center reports are only provided at the line level, so the report is so ugly it cannot be evaluated like a simple P&L whereas S_ALR_87012284 draws upon a u201Cdesignu201D called Financial Statement Version (which I have manipulated to be what I need).
Thanks,
MadhuHi, Go to tcode KDH1 and maintain your account group (like 127) as following format. I am 100% sure this will be result as per your wish. Execute report S_ALR_87013340 give Profit Center and Group as you created.
127 Profit After Taxation
129 Provision for Taxation
201 Provision for taxation
128 Profit Before Taxation
130 Operating Profit
210 Gross Profit
310 Sales
400 External Sales
711001 Whole Sale
711002 Retail
711003 Direct
Feel free to come back incase. -
Profit center accounting and cost center relationship
Experts, in the future as we look to tie the PCA cube with the CO cube, the referential integrity will be important. What I see as being important is capturing the profit center, cost center and account that was used at the transactional level and not from an arbitrary hierarchy. As such, in the PCA cube, it would be optimal to have the cost center assigned to the transaction be available. This assumes that the PCA totals are by profit center, cost center and account. Furthermore, I will want to build a jump target from the PCA cube to the CO cube where we can see this data by cost center and cost element or vice versa. There seems to be some uncertainty on if the PCA cube has the cost center informaiton, so how would I do this?
I don know if i understood it correctly but If you assign you profit center in your cost center you should be able to get all that you need.
Assign points if helpful -
Function module for open sales order and open PO
hi all,
can anyone please tell me that is there any function module to get open sale order and also for open purchase order?
regards saurabh.Hi ,
In EKPO Table u select this fields Purchase Document no and Item no of Purchsing Document , Material no , and Purchase Order Qty.
In MSEG Table u select this fields Purchase Document no and Item no of Purchsing Document , Material no , and Qty.
Both Tables having Purchase Document no , So Purchase Doucment no throguh u will get the Material and qty , Finally u Subract the both Material Qty's .
u will get the Open Po For particular Material.
If ur not getting ,Inform me .
Regards ,
Shankar GJ -
Generic function module for input two Infocubes and output one infocube-APO
Hi All,
My requirement is we have to pick data from two infocubes(Billing and Backlog) and send to One info cube.
can you please send me an;y generic function module is available in APO or explain me how to solve my requirement.
waiting for your response.
Thanks for Advance.
Shubhojit.Hi,
I recommend using a multi-cube also but if you insist in JOINing two cubes then you can do that in an ABAP SELECT statement. You need to join the fact table and the dimension tables for all dimensions (for all InfoCubes). Please only retrieve data whose OBJVERS="A".
Please post again if you need more help.
Regards,
Emmanuel -
Regarding BAPI/Function Module for updating fields FAKSK and LIFEX
Hi All,
I have a requirement wherein i need to update the fields FAKSK(Billing block ) and LIFEX(External Identification number).
We have already tried using the function Module WS_DELIVERY_UPDATE and also BAPI_OUTB_DELIVERY_CHANGE but we didnt find both the fields in any of the above BAPI or function module.
To be more specific to the requirement we need to remove the Billing block and update the LIFEX filed.
If anyone have come accross such situation Please advice.
Thanks ina dvahi satya ranjan,
put an append to structure 'vbkok' which is used as input parameter for WS_DELIVERY_UPDATE / WS_DELIVERY_UPDATE_2.
enter faksk and lifex and data field plus an active-flag for every data field.
e.g.:
ZZKZTRSPG ZZKZTRSPG CHAR 1 0
ZZTRSPG TRSPG CHAR 2 0
find include 'LV50SFZ2' in WS_DELIVERY_UPDATE am implement like this:
if vbkok_wa-ZZKZTRSPG <> space .
perform likp_bearbeiten_vorbereiten(sapfv50k).
if not vbkok_wa-ZZKZTRSPG eq space.
likp-trspg = vbkok_wa-zztrspg.
endif.
perform likp_bearbeiten(sapfv50k).
endif.
regards
marcus -
Need Function Module for Printing Rates,Discounts and Taxes in Invoice.
Hi All,
For our Invoice printing I need to get a function module which will provide me the rates,discounts and taxes against each item line of the Invoice No.
Finall it will be printed accordingly.
Can anyone help me regarding this with input parameter example.
Thx in Adv.Hi,
As far as I know there is no fun module to print all this stuff.
You have to get this data from KONV table by passing the VBRK table KNUMV field.
Then check for all the Rates and amount KBETR and KWERT fields for the respective condition Types.
You have to loop the KONV internal table and write all the condition rates and amounts in the script driver program.
see any Std script for this.
Regards,
Anji -
Function Modules for creation of characteristics and Measurement Points
Hello everybody
I'm new in ABAP (trainee) and especially the use of characteristics. I'd be very happy if somebody could help me :).
Can anybody out there with some experience in creating characteristics and measurement points tell me how to create them with function-modules or by changing database tables?
I'm happy about every hint and ready to give some reward points.
Best Regards,
SteffenFM and TABLES
http://72.14.235.104/search?q=cache:71IXBMWcX_8J:reflexcontracts.co.uk/SAP_R3_QUICK_REF.xlsupdatetable+tse05&hl=en&ct=clnk&cd=1&gl=in
FUNCTION MODULES
http://www.erpgenie.com/abap/functions.htm
http://www.sapdevelopment.co.uk/fmodules/fmssap.htm
http://www.erpgenie.com/abap/index.htm
http://www.geocities.com/victorav15/sapr3/abapfun.html
Rewards if useful..........................
Minal -
Function module for logical file path and name
Hello all,
I am wondering is there any function module available to translate a logical file path to a physical file path and a logical file name to a physical file name? Thanks a lot!
Regards,
AnyiPlease check the FM FILE_NAME_GET.
CALL FUNCTION <b>'FILE_GET_NAME'</b>
EXPORTING
logical_filename = 'ZDELCHKREP'
parameter_1 = it_cntry-cntry
IMPORTING
file_name = l_file
EXCEPTIONS
file_not_found = 08.
CALL FUNCTION <b>'FILE_GET_NAME_USING_PATH'</b> EXPORTING
logical_path = 'ZDELCHKREP'
file_name = l_file
IMPORTING
file_name_with_path = l_file.
Message was edited by: Anurag Bankley
Message was edited by: Anurag Bankley -
Function Modules for System Status update and reservation for service order
I am sending the service orders data using IDOCS.
once the IDOC is received successfully i need to do 2 things:
1. Update the system status of the service order with the status 'SPV2'.
2. Create the reservation for the service order.
Is there any function modules avilable for both of these process.
If not how i can do these two things in ABAP Code.
please help me out in it.check whether this Fm's helps you
STATUS_CHANGE_INTERN
CO_IH_SET_STATUS_EXTERNAL
CO_IH_STATUS_FM_SET
BAPI_ORDER_CHANGE_STATUS_GET
BAPI_APPREQUEST_SETSTATUSVARNT
BAPI_ALM_ORDER_MAINTAIN
BAPI_RESERVATION_CREATE
Edited by: Keshu Thekkillam on Oct 26, 2009 5:10 PM -
Standard Function modules for t-codes FBV3 and FB03
Dear SDN Community,
Can you please tell me what are the standard function module that I should use to simulate the following transaction codes from Web.
FBV3- Display Parked document
FB03 - Display posted document
Thanks!
Surya.Hi,
Please check these BAPI and FM.
BAPI_ACC_DOCUMENT_DISPLAY
FI_DOCUMENT_DISPLAY_RFC
Regards,
Ferry Lianto -
Function Module for Excise and VAT Calculation
Dear All,
I required one Function module for calculation of Excise % and amount of Invoice Verification Document.
We are use TAXINN tax procedure. I am try to make Purchases Register where we required the Break up of Full tax amount as basic excise duty, Education Cess, S&H Education Cess and VAT Amount.
Thanks
MukeshHi,
Locks are usually appliend on Tables. So you could find the table names affecting.
Then you could goto SE11 and n Lock objects search for table name
Once you identify the lock object. Display. Goto->Lock Modules.
You will get 2 module names one for enqueue and 1 for dequeue.
e.g. Lock object EBKK_ACCNT.
and FMs are DEQUEUE_EBKK_ACCNT and ENQUEUE_EBKK_ACCNT
Hope this helps.
Regards
Megha -
Problem using function module for infotype 21
hi
im uploading the infotype 21 (family details) through function module hr_infotype_operations. i found that infotype 0106 (family/related person)
is a secondary infotype and that a record is created for 0106 ,everytime you create a record in 21. so i upload the family data of an employee using the function module for infotype 21 initially. and then fetch the same record from the table pa0106 and modify the same record with other information.
for example : u have the address details of a dependent(father subtype 11) in infotype 21. this address data is stored in the table pa0106 . im not able to modify the record for infotype 0106 using the function module 0106.
i would like to know the reason for the same. Is it because that infotype 0106 is a secondary infotype and u cannot modify the record using the fn module..?/
thanks
sridharanHi Sir,
I am also facing the same issue...i need to update dependents Information Date Of Birth n Perid(Which is stored in IT0106)...in IT 0021..
Kindly correct my code....
I am using the following code for this...
data: w_return type bapireturn1.
data: p0021_struc TYPE p0021,
p0106_struc TYPE p0106,
p_pskey TYPE pskey.
start-of-selection.
get pernr.
p0021_struc = p0021.
p0021_struc-favor = 'Gaurav'.
p0021_struc-fgbdt = '05/10/1955'.
Move p0021_struc-favor to p0021-favor.
p0106_struc = p0106.
p0106_struc-stras = '2235 BOmbay Road'.
p0106_struc-perid = '123456789'.
MOVE p0106_struc-stras to p0106-stras.
Enqueue personnel number
call function 'BAPI_EMPLOYEE_ENQUEUE'
exporting
number = pernr-pernr
importing
return = w_return.
CALL FUNCTION 'HR_INFOTYPE_OPERATION'
EXPORTING
infty = p_pskey-infty
number = p_pskey-pernr
subtype = p_pskey-subty
objectid = p_pskey-objps
lockindicator = p_pskey-sprps
validityend = p0021-endda " '99991231'
validitybegin = p0021-begda
record = p0021_struc
operation = 'mod'
tclas = 'A'
dialog_mode = '2'
nocommit = p_test
VIEW_IDENTIFIER = '07' "p0003-viekn
secondary_record = p0106_struc
IMPORTING
return = w_return
key = familykey
EXCEPTIONS
OTHERS = 0.
Enqueue personnel number
call function 'BAPI_EMPLOYEE_DEQUEUE'
exporting
number = pernr-pernr
importing
return = w_return.
Maybe you are looking for
-
I have to say that i am getting really tired of upgrading and spending money to have things go wrong with apple !!!! It seems like there is always something going wrong. I always sync my iphone, but today i realized that i did not sync for a while,so
-
started to run recovery disc assistant on a backup hard drve-stopped when it said it would erase all data-but now can't inialize the external drive nor repair it with disc utility. what to do?
-
My MBP won't recognize my external hard drive
I have an external hard drive that used to work just fine on my MBP, but now it won't recognize it. When I plug it in (USB), the green light turns on the hard drive, but nothing happens on my MBP. Maybe it is recognizing but not letting me know? I di
-
"ERROR Failed to find either 24-bit TrueColor or 8-bit PseudoColor Visual"
I have a X200T with the integrated graphics. I'm trying to connect to a server and set up a X Windows kind of thing, but I get this error message: "ERROR Failed to find either 24-bit TrueColor or 8-bit PseudoColor Visual" Whe I go to Control Panel--
-
Why do i have to log into iTunes match repeatedly?
I have about four devices synced with iTunes match. Almost every time I log into my computer I have to sign out, sign in, enable iTunes match again. Over and over and over and over again... I love iTunes match but I dont understand why I have to enab