Professional Documents
Culture Documents
work
Posted by RAHEEM BAKSH in SAP ERP Financials - Controlling on Apr 22, 2013 1:04:49 PM
inShare2
Applies to:
All releases of SAP for Financial postings made from a various applications like SAP-Logistics, SAPFinancials, etc for more information, visit the Enterprise Resource planning homepage
Summary
Automatic assignment occurs during postings in external accounting (with in the FI,
MM, or SD components) if you did not enter a CO account assignment object (cost
center, order, or project) for a cost accounting relevant posting. This is always the
case if the R/3 System automatically created the posting row in question.
This paper highlights an alternative approach where standard default account
assignment (OKB9) based on Valuation area or Profit Center is not sufficient and a
default account assignment based on Valuation area and Profit center is required.
Author:
Company:
Created On:
Raheem Baksh
NovelERP Solution Pvt.Ltd.
Apr 2013
But system does not determined Default cost object from OKB9 for automatically
generated lines that reference the entire document and not individual items.
105024, and 32654
Example: Key"DIF" (minor differences)
"UPF" (unplanned delivery costs)
"KDT" (tax exchange rate difference)
OFF (GTA)
"KDR" (exchange rate rounding)
For More Information Read SAP Notes
You can define automatic account assignments In OKB9 or defaults in the cost
element masters data record .The cost element master data record can determine
these assignments per controlling area, and the IMG per company code, business
area, and/or valuation area.
Transaction Code - OKB9
Here whenever Prerequisite met from your Transaction System will pickup default
cost center as per Valuation area.
0010 Order: Used for order background processing and irrelevant for
account assignment checks.
0100 - Document header: Used for manual postings in CO, such as reposting
costs or activity allocation.
Activities
1.
1. Determine in which controlling area you want to substitute values.
2.
2. Create a substitution.
Proceed as follows:
a) Choose the "New entries" function.
b) Enter the controlling area in which the substitution is to be
executed.
c) Enter a callup point.
d) Save your entries
e) Choose "Environment -> Substitution".
f) Enter a name and a callup point for the substitution.
You can use an existing substitution as a reference.
Note : see below changes are based on organization structure here you need to
determine which field you can enter to get Cost center, if you are using Business
area so OKB9 can be determine by Business area .
We have made OKB9 account assignment as per Valuation Area, but here system
does not determine profit center and Valuation Area for auto generated line item,
Our Business Place and Section Code is equal to Plant (Valuation Area)
*&---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------*
*&
Form UOKB9
*&--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------*
*
text
*----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------*
FORM UOKB9 .
"*!
IF COBL-AUFNR IS INITIAL
AND NOT LD_AUFNR IS INITIAL.
COBL-AUFNR = LD_AUFNR.
ENDIF.
"*!
IF COBL-PRCTR IS INITIAL
AND NOT LD_PRCTR IS INITIAL.
COBL-PRCTR = LD_PRCTR.
ENDIF.
"*!
IF COBL-PAOBJNR IS INITIAL
"*!
AND NOT LD_PAOBJNR IS INITIAL.
COBL-PAOBJNR = LD_PAOBJNR.
ENDIF.
ENDFORM.
"UOKB9
*&---------------------------------------------------------------------------*
Assign Z program in to Client specific user exit GCX2
Please also refer Next related post Automatic account assignment OKB9 ( Set Acc. Assignment "3
Profite center is mandatory")
11129 Views Products: sap_erp_financials Topics: enterprise_resource_planning Tags: account, automatic, assignme
nt, okb9
24 Comments
Hello Raheem,
Good article.
Thanks
Like (1)
o
RAHEEM BAKSH Apr 23, 2013 8:19 AM (in response to Godavari SAP)
Dear Raheem,
Very good article. Good work !!!!
Thanks,
Srini
Like (1)
o
RAHEEM BAKSH Apr 27, 2013 10:36 AM (in response to Srinivasa Velupula)
Dear Srinivasa,
Thanks!!!!!
Rate the article if u like it
Regards
Raheem
Like (0)
o
RAHEEM BAKSH Apr 29, 2013 10:23 AM (in response to Jason Shao)
Dear Jason,
Thanks!!!!!
Like (0)
o
RAHEEM BAKSH Jul 18, 2013 1:21 PM (in response to Sean Xiao)
Sachin j
Like (1)
o
RAHEEM BAKSH Sep 5, 2013 2:13 PM (in response to sachin djadhav)
Thanks sachin,
Like (0)
o
RAHEEM BAKSH Sep 5, 2013 2:23 PM (in response to Naresh Krishnamoorthy)
Thanks Naresh,
Like (0)
o
RAHEEM BAKSH Oct 10, 2013 2:02 PM (in response to niran orkkatteri kariyadan)
Thanks Niran
Like (0)
Hello Raheem,
Very useful and informative article.
Thnx 4 ur fabulous article.
Regards,
Satendra
Like (1)
o
RAHEEM BAKSH Oct 10, 2013 2:02 PM (in response to Satendra Singh Sikarwar)
Thanks Satendra
Like (0)
Hi Raheem
Its very good and useful info...
Like (1)
o
RAHEEM BAKSH Feb 4, 2014 10:36 AM (in response to Sada Bandla)
Thanks
Like (0)
Hello Raheem,
Its a very good article. Thanks for sharing your knowledge and keep sharing.
Regards,
Lakshmi S
Like (1)
o
RAHEEM BAKSH Feb 4, 2014 1:37 PM (in response to Lakshmi Sama)
Thanks Lakshmi,
Like (0)
Good one.....
Like (1)
o
RAHEEM BAKSH Feb 7, 2014 6:07 AM (in response to JS 55)
Thanks
Like (0)
Hi Ramesh,
Nice document.....
Regards,
Pavan Kumar Arvapally
Like (1)
Thanks Pavan,
Its Raheem
Regards
Raheem
Hi All,
I am writing here My Next blog which is related to Automatic account Assignment OKB9 does not work.
In My previous Blog there was Mention that in OKB9 set Acc assignment 1 As valuation area is
mandatory, Now here in case if you have set Acc assignment 3 Profit Center is mandatory.
All steps will remain same as mention in Previous blog Please refer the Link Automatic account
assignment OKB9 does not work.
Now question is here, if you have set Account assignment In OKB9 "3 Profit Center is mandatory"
The System not able to get Cost center from OKB9 for Auto-generated line item or for Eg. You have
Created COGS Account as cost element and assigned it on GBB-VAX.
Make Some Addition changes in Program "ZRGGBS000_1"
IF COBL-PRCTR IS INITIAL .
COBL-PRCTR = COBL-PPRCTR.
and
I_PRCTR = COBL-PRCTR
10 Comments
o
RAHEEM BAKSH Feb 5, 2014 6:16 AM (in response to Sada Bandla)
Thanks
Like (0)
Muthyam G Feb 5, 2014 6:11 PM
Hello Raheem,
Thanks for the above 2 Blogs and it helps alot but i need your advice on OKB9 as Business
Area as mandatory
As attached 2 snaps we have designed our system, but we are not getting what kind of test
can be done
Please guide me ?
Like (1)
o
RAHEEM BAKSH Feb 6, 2014 6:46 AM (in response to Muthyam G)
Hi Muttu G,
We have mention here for order combination in this program Just do one thing, add
code as below and check------------------------------------------------------------------------IF COBL-GSBER IS INITIAL .
COBL-GSBER = COBL-GSBER.
--------------------------------------------------------------------------
In case not resolved after mention above code , Please share steps what you have
done.
Regards
Raheem
Like (0)
o
RAHEEM BAKSH Feb 6, 2014 6:35 AM (in response to JS 55)
Thanks Dear
Like (0)
Raheem Bhai
Shukriya for sharing.
Rajneesh
Like (1)
o
RAHEEM BAKSH Feb 18, 2014 1:10 PM (in response to Rajneesh Saxena)
o
RAHEEM BAKSH Feb 19, 2014 5:13 AM (in response to Satendra Singh Sikarwar)
Thanks Satendra
Regards
Raheem