Automatic account assignment OKB9 ( Set Acc. Assignment “3 Profite center is mandatory”)
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.
I_PRCTR = COBL–PRCTR