on 09-18-2007 1:38 PM
Hi,
My requirement is to populate the Profit center field of Vendor line item.
For this, I want to write a substitution where based on the Business Area of Vendor line item, the system should populate the Profit center while saving.
Is it possible thru Validation & Substitutions...
Plz guide me in writing this
Points will be suitable rewarded for replies.
regards
AVM
Hi,
U can try substituion, but whatever substitution u activate, will affect all document entry postings
sridevi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanx for reply.
I will make sure that this subsitution works only for specific cases like Tcode, Account type, Doc type etc.
But only problem is how to write the code in Subsitution rules.
I will manage the Pre-requisite part but what abt the subsitution rules..
Plz guide me as i have never written a subsitution earlier.
regards
Tcode: GGB1
An example shows how to make a G/L account available for line item substitution.
GGB1
Click FA Doc Header
Click Create Substitution icon
Enter the Text
Click Create Step icon
Click the field u want Say - BKPF- BKTXT
Choose the option Say :Constant value
Give description of ur step
Click Prerequisite
Double Click Structure BKPF
Double Click BKPF-AWKEY
Click Constant button
Enter the Text u want to make it appler in the Reference key
Click Substitution and enter the constant value u want
Go to Tcode: GGB4
Click Substituted Fields
Give ur table and field (Here - BKPF- BKTXT)
Do it in a similar way..if u cannot proceed, let me know the exact field values..and i can take screenshots and send u across
Thanks,
Sridevi
User | Count |
---|---|
89 | |
8 | |
7 | |
4 | |
4 | |
3 | |
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.