Академический Документы
Профессиональный Документы
Культура Документы
(http://w
ww.sap.c
Products
om/) (https://www.sap.com/products.html)
Industries (https://www.sap.com/industries.html)
Support (https://www.sap.com/support.html)
Community (https://www.sap.com/community.html)
Developer (https://developers.sap.com/index.html)
Partner About
(https://www.sap.com/partner.html) About (https://www.sap.com/corporate/en.html)
Ask a Question (https://answers.sap.com/questions/ask.html) Write a Blog Post (https://blogs.sap.com/wp-admin/post-new.p
substitution rules
Hi can any body provide me complete steps for substitution with live examples and what it differs from
use exits
Arjun
Moderator: This is the last warning. Upon next violation of SDN rules, your user will be banned
Guest
https://archive.sap.com/discussions/thread/1873301 1/12
12/23/2018 substitution rules
//answers.sap.com/questions/ask.html?primaryTagId=648420875567243523242285841826221)
23 replies
how do others find that there is a substitution or validation for the transaction?
(https://people.sap.com/former.member)
Former Member replied January 19, 2011 at 06:34 AM
Hi,
[http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=51687]
You will also find a lot of articales on this subject over internet.
Regards,
Gaurav
https://archive.sap.com/discussions/thread/1873301 2/12
12/23/2018 substitution rules
(https://people.sap.com/niranjan.kamishetti)
Hi
1.Prerequisite
2.Replacement.
prerequisite:
false,
substitution value:
value.
Hi Niranjan
its is very helpful to me if u can send documents with example with complete one
substition.how aother person can identify there isa substitution for a particular
transaction?
Arjun
https://archive.sap.com/discussions/thread/1873301 3/12
12/23/2018 substitution rules
(https://people.sap.com/former.member)
Former Member replied January 19, 2011 at 06:52 AM
Hi,
Company A would like to create a substitution to replace the FI Document header text
(BKPF-BKTXT) and the Ref key field (BKPF-XBLNR) at the Document Header when
posting an accounting document using the tcode FB01.
Steps:
Create a Substitution in the Financial Accounting module. Keep the cursor on the
Financial Accounting and click on the Substitution Button
Next click on the step button on the application toolbar, a popup with the substitutable
fields will come. Select the field for which we have to substitute:
Enter the substitution method from the screen. In this example we will use the constant
value
After this a step gets created. You can create multiple numbers of steps depending on
your requirement.
If you want to give any prerequisite you can give. it by double clicking on the empty
screen under the Prerequisite:
A screen with the formula editor will come. It will have tree tabs Table fields, rules and
exits.
Select the table fields from the tables available for which you want to use a
prerequisite. In our example we will use the company code. Say if the company code
is 1000 then only this substitution should trigger.
If you click on the highlighted button, then the technical names of the tables and fields
will be displayed. If you click on the required fields, field will be copied to the
prerequisite area
After this click on the Save button, Code will be generated automatically
https://archive.sap.com/discussions/thread/1873301 4/12
12/23/2018 substitution rules
After you assign the Prerequisite and the substitution the screen looks like below:
After this we have to assign the substitution we have created to the company code and
activate it using the tcode OBBH and create a new entry
It will ask for the Transport request number. Give it and save the entry.
Go to FB03, and check whether the Values given in the substitution are reflected or
not
Regards,
ANJI REDDY
Hi Anji gaaru
nijam gaa chalaa thanks.naaku plz documents with screesn shots thoti pampandi. and
first we will do the substitution in development or we can do in prodn directly in a real
scenario?
Arjun
(https://people.sap.com/former.member)
Former Member replied January 19, 2011 at 07:10 AM
Hi,
[http://techbays.files.wordpress.com/2008/08/sap-tip-how-to-use-substitutions-
lakshman-tandra1.pdf]
https://archive.sap.com/discussions/thread/1873301 5/12
12/23/2018 substitution rules
validation complete steps and what for line item and header item and complete
document.
in GGB! there are document header and line item and complete document are there
which one i need to select.if it is a line item substitution i will select the line item if it is a
document header sub iwill select it , then what for complete document?
(https://people.sap.com/former.member)
Former Member replied January 19, 2011 at 07:34 AM
hI,
If you read the my linked PDF document you will understand easily what is substitution
https://archive.sap.com/discussions/thread/1873301 6/12
12/23/2018 substitution rules
For user exit you need abaper help. for normal substitution you do yourselves.
Hi
I reqest u please send ur persoanl e mail id and also send me vaidation steps.
Arjun
(https://people.sap.com/former.member)
Former Member replied January 19, 2011 at 08:05 AM
HI,
Please look into this link where validation is described in a lucid way for you to
understand.
http://www.sap-basis-abap.com/sapfi004.htm
The following link to OSS note shall help in understanding in an advanced mode.
http://www.sap-basis-abap.com/sapfi004.htm
Thanks
ANJI REDDY
Thanks andi
https://archive.sap.com/discussions/thread/1873301 7/12
12/23/2018 substitution rules
hI,
just now got from andrew he asked me to get permission to give mail id
(https://people.sap.com/former.member)
Former Member replied January 19, 2011 at 08:24 AM
Hi,
https://archive.sap.com/discussions/thread/1873301 8/12
12/23/2018 substitution rules
(https://people.sap.com/former.member)
Former Member replied January 19, 2011 at 09:29 AM
M: Thanks andi
M: just now got from andrew he asked me to get permission to give mail id
First of all Did you read the Rules of Engagment of the Forum.
Rule number one: Try to find the answer first. There are tons of resources out
there, show that you have tried to find the answer. A question that shows that
the person is willing to try and help themselves is more likely to be answered
than one which simply demands information. Tell us what you have done to try
and solve the problem yourself - often we can learn from that too!
Obviously you should check SAP's online help, and if you have not looked for
SAP Notes you should make the readers aware of this. Many SDNers are very
helpful and will even search for SAP Notes for you if you don't have that
possibility yourself, but many will assume that you have already searched for
SAP Notes.
Search the forums, the articles, the blog posts and the Frequently Asked
Questions (FAQ) in the Wiki for your topic.
The question you ask and the solution to it is often also interesting for other
users of the community. If you ask somebody to send you the answer per
email, you deprive others of also learning to know the answer. Therefore any
requests for sending material or answers to an email address will be modified
by the forum moderators.
https://archive.sap.com/discussions/thread/1873301 9/12
12/23/2018 substitution rules
Please also avoid 'txt spk'. Many people are not native English speakers and
using abbreviated slang makes it more difficult to understand. Apart from that, it
is also unprofessional. Write as if you are communicating with your boss (or an
English colleague of theirs!)
~Andrew
Hi,
Very common scenario for substitution is of Section in the vendor line item since
section is very imprtat parameters for TDS processing..
1. Prerequisites (IF)
Example:
Prerequisites
BKPF-BUKRS = '1000'
Substitution:
Above means if company code is 1000 then substitute 1000 values in the field of
Section Code.
Regards,
Chintan Joshi
0
https://archive.sap.com/discussions/thread/1873301 10/12
12/23/2018 substitution rules
0
HI
Thanks can u send me one real scenario validation and substituion with screen shots
plss.my point is first we do in development and quality and prodn know?or can we do
direclt in prodn?
Arjun
(https://people.sap.com/former.member)
Former Member replied January 19, 2011 at 07:36 AM
Hi Mallik Arjun,
You can very well search these type of basic questions in the forum or anywhere else
in the net.
1.Didnt Search.
3.Use only English(This is a public forum and others have to understand what you are
telling)
If you really want a particular persons help get his permission/email id and mail him
personally.
4.SMS text.
~Andrew
https://archive.sap.com/discussions/thread/1873301 11/12
12/23/2018 substitution rules
Ok Thanks.
(https://www.facebook.com/sapcommunity) (https://twitter.com/SAPCommunity)
(https://www.youtube.com/c/SAPCommunities) (https://www.linkedin.com/company/sap)
(http://www.slideshare.net/SAP) (https://instagram.com/sap/) ()
use.html)
https://archive.sap.com/discussions/thread/1873301 12/12