on 04-10-2007 9:38 PM
Hi SAP Gurus,
I wrote a substitution through GGB1 under 'Application Area' Financial accouting 'Section' Line item.
Basic requirement is to avoid posting to a particular profit center for the given company code
Prerequisite: If Company code= 5000 and Profit center= CHEM1
Substitute Profit Center= LIQ1
Pasting the exact GGB1 lines:
BSEG-ANFBU = '5000' AND BSEG-PRCTR = 'CHEM1'
Substitute Profit Center= 'LIQ1'
Substitution green light is on,showing no error in syntax.But when I tried to post document in this company code through FB50, system didn't substitute the required profit center (LIQ1).
Any clue why substitution didnt work out? Please help!
thanks
Nellikka
Hi,
Try the below one, it will work
BKPF-BUKRS = '5000' AND BSEG-PRCTR = 'CHEM1'
Substitute Profit Center= 'LIQ1'
Rgds
sunfico
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI,
I just created a substituion in my test system as follows its working fine as per your requirement.
OBBH at line item level. Please check whether you have activated the substituion or not?
BSEG-BUKRS = '1000' AND BSEG-PRCTR = '600' AND
Substitute Profit Center 1000.
Please asign points if it useful
Regards
Ravinagh Boni
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This may sound quite obvious but instead f using a sunstitution, why not just deactivate the company code in that profit center via KE52 -> Company Codes tab.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Krishna,
Try looking in the document you posted, if the field BSEG-ANFBU = '5000'. I belive this will not be the case.
I belive that what you are trying to do is substitute the profit center if the company code of the heather is '5000'. This field is BKPF-BUKRS. You should create a substitution at "Complete document" level.
To test your substitutions, you can go in the menu Substitution -> Simulate.
Also, you can activate the trace. Go to menu Extras -> Activate total trace. Then execute again transaction FB50, and check the log.
Regards,
Mauricio
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
100 | |
12 | |
11 | |
6 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.