Steps to create substitution rule for field BSEG-RECID

MIRO generates FI document. FI document has BSEG-RECID field. I need to apply substitution for BSEG-RECID depending on the value of the RSEG-GEBER field in MIRO. The substitution must be activated only if account to be booked is PL account in FI and derived MM document based on ZNPP PO type.
Field values are as follows:
RSEG-GEBER     BSEG-RECID
No value                          No value
N                              N
D                              D
A                              A
Could anyone please let me know the steps to create the above substitution rule for the FI document
Thank You

Hi,
You can do it as below:
Prerequisite : Select the document type for which you want check, here you have to select the BKPF-BLART = " " (Give the document type for the MIRO)
Substitution: Use the User exit with the logic as you said.
If you want you can use the user exit in both PREREQ & SUBSTITUTION. It will be applicable in your case
VVR

Similar Messages

  • CREATE SUBSTITUTION RULE FOR u0093COPYING LINE ITEM TEXT FOR LINE ITEMSu0094

    Hi every body
    When user post transactions in FB60 we have give the line item text, Suppose no.of lineitems are there in tht instnace my client asked to create the substitution rule to “COPYING LINE ITEM TEXT FOR LINE ITEMS”
    pls tell me the processes how to create the substitution rule
    Plz can anyboby help me out...
    laxmi velaga

    sorry,
    link doesn't work:
    here's the content:
    you must add your rules at event 3 (complete document)
    in an exit of ZGGBS000:
    data htext type bseg-sgtxt.
    *find
      LOOP AT BOOL_DATA-BSEG INTO BSEG
                      WHERE    bseg-sgtxt <> space.
      move  bseg-sgtxt to htext.
      ENDLOOP.
    *copy
      LOOP AT BOOL_DATA-BSEG INTO BSEG
                      WHERE    bseg-sgtxt = space.
      move  htext to bseg-sgtxt
    *modify
      MODIFY BOOL_DATA-BSEG FROM BSEG.^
      ENDLOOP.
    http://help.sap.com/saphelp_47x200/helpdata/en/5b/d231a843c611d182b30000e829fbfe/frameset.htm
    please reward useful answers
    thanks and regards
    Andreas

  • Substitution Rule for Payment Term

    Hi Expert,
    I have to have Substitution for payment term the following criteria:
    Company Code = '1000' AND Document Type = 'L1' AND Posting key = '14', then ... substitution bseg-zterm with certain payment term.
    Problem: there is no substitution for bseg-zterm.
    I read the post at http://sap.ittoolbox.com/groups/technical-functional/sap-acct/substitution-rule-for-payment-term-489202
    and found that I need to apply a SAP note 42615 in order to enable the BSEG-ZTERM field in Substitution Rule for Payment Term, and after that run Program RGUGBR00 to regenerate the substitution.
    But, problem again, our SAP is ECC 6.0, and the said SAP note is not applicable.
    Kindly advise is there any other way that I can enable the bseg-zterm field at substituion.
    Thanks,
    sbmel

    Hi
    1. Go to SE16N and enter Table GB01
    2. Enter &SAP_EDIT in the command prompt i..e the space where you type your T code and press enter
    3. BCL TAB = BSEG and Field = ZTERM... Execute
    4. Remove the X for the field BEXCLUDE.. SAVE....
    5. Select this entry and menu Table > Transport > Include in tr request
    6. Run RGUGBR00
    Br, Ajay M

  • Substitution rule for Business area in F-02

    Dear SAP gurus,
    The client has 2 plants at different locations. 2 plants are created as business areas.
    Our requirement is, when users at bus area 1 are posting expenditure in f-02, the field business area should be automatically filled with '1000'(bus area 1). the users need not manually update the field Business area since they only operate and post in that location. Same functionality is needed at plant 2 also.
    I came to know that this requirement can be fulfilled with Substitutions in SAP.
    Can anybody please tell me how to write a substitution rule for the above requirement. Any other ideas are also welcome.
    Please help me in this issue.
    Thank you very much in advance.
    Regards,
    Vishnu
    VST-ITPW

    Hello,
    You have to do two things.
    1. First you write the substitution in GGB1
    2. Assign the substituion to your comany code OBBH
    In OBBH, write substituion at line item level of the document.
    If the plant = A
    Substitute business area with A
    Check if there are any standard substitutions are available in your system
    just for your reference.
    Hope this resolves your problem.
    Regards,
    Ravi

  • Steps to create f4 help for a table

    steps to create f4 help for a table

    These are the steps you have to take first:
    1. Please elaborate, your question does not all too clear.
    2. Search on SCN.
    3. Search on help.sap.com (for creating F4 search help).
    I guess you get the picture. Creating an F4 help is quite easy (you can find that on SCN for sure), but what do you mean by
    for a table
    1.Do you want to create a field which has an F4 help for searching tables or
    2. is this field part of a table and you need to have a search help for that field of that table in order to select some sort of value
    3. Is this a custom table.
    4. Is this a custom field for which F4 help should be added.
    5. Won't a domain value do.
    6. etc.

  • Trigger substitution rule for a background job

    Hi all,
    I ve written a subroutine in Substitution rules for FI in GGB1 tcode for F110 transaction to replace the section code (bseg-secco) while posting a fi document.
    but the substitution rule is not getting triggered as F110 runs a background job to post the document...
    The substitution is active and the activation level is active all the time.
    Could u please suggest how to get it triggered for a background job...

    Measuring External Processes
    Use
    The runtime analysis allows you to switch into work processes that are already running and to measure the runtime of dialogs running in them as though they were running in the current session. You can have up to ten external sessions, which may be of any type – for example, dialog, update, or spool. This runtime analysis variant is ideal for monitoring long-running background jobs.
    Filename and Directory
    If you do not want to use the default filename and directory to store files, you can change them using the profile parameter abap/atrapath. If the profile parameter does not contain an entry at all, an error occurs when you start the runtime analysis.

  • Need steps to create ant scripts for publishing and deploying projects.

    Need steps to create ant scripts for publishing and deploying projects.
    Have got ant, Oracle BPM Enterprise WL edition installed , Need to know what are the other configurations to be done.
    Any working example would help me to understand, please do mail me at [email protected]
    Thanks in advance.
    -Sree

    Sreekant,
    Please find the build file to publish and deploy.
    <project name="deployProject"
    xmlns:fuego="antlib:fuego.tools.ant.enterprise"
    xmlns:fuego.j2ee="antlib:fuego.tools.ant.j2ee" default = "publish">
              <property file="./Properties/fuego_deploy.properties"/>
              <fuego:passport id="fuego.passport"
    directoryid="${fuego.directoryid}"
    preset="engine" />
    <target name="publish" description="Publish and deploy processes" depends = "takeInputs">
    <!-- Open a session to the Oracle BPM directory -->
    <fuego:session
    passportref="fuego.passport"
    verbose="true"
                   properties="${fuego.basedir}/conf/directory.xml"
    haltonerror="true" >
    <!-- Publish processes -->
    <fuego:publish fpr="${fuego.project.name}"
    deploy="true"
    engine="${fuego.engineName}"
                        importdata = "${fuego.importdata}"
                        automaproles="${fuego.automaproles}"
                        automapbuspars = "${fuego.automapbuspars}"
                        automapvars="${fuego.automapvars}"
                        automapconfigs = "${fuego.automapconfigs}">
    </fuego:publish>
    </fuego:session>
    </target>
    <target name= "takeInputs" >
    <input
    message="Please enter admin-username:"
    addproperty="fuego.participant"
    />
    <input
    message="Please enter admin-password:"
    addproperty="fuego.password"
    >
    </input>
    </target>
    </project>
    and find the properties I have used..
    fuego.basedir=C:\OraBPMEnterpriseHome
    fuego.directoryid=default
    fuego.engineName = bpmengine
    fuego.project.name = E:/antExamples/Project/CommonUtilities
    # If the below property is true then ant script imports data from the project, as defined in Studio.
    # This includes importing:
    #      •Holiday and Calendar rules
    #      •Organizational Units
    #      •Roles
    #      •Resource configurations
    #      •External Variables
    fuego.importdata = true
    #If the below property is true ant script automatically map abstract roles to real ones with the same name.
    fuego.automaproles=true
    #If the below property is true ant script automatically map business parameter variable names (as defined in the project design) to an business parameter variable id with the same name (as defined in the Fuego Enterprise directory).
    fuego.automapbuspars = true
    #If the below property is true ant script automatically map external variable names (as defined in the project design) to an external variable id with the same name (as defined in the Fuego Enterprise directory).
    fuego.automapvars=true
    #If the below property is true ant script automatically map External Resources configurations (as defined in the project design) to real Configurations with the same name (as defined in the Fuego Enterprise directory).
    fuego.automapconfigs = true

  • Trigger a substitution rule for a background job

    Hi all,
    I ve written a subroutine in Substitution rules for FI in GGB1 tcode for F110 transaction to replace the section code (bseg-secco) while posting a fi document.
    but the substitution rule is not getting triggered as F110 runs a background job to post the document...
    Could u please suggest how to get it triggered for a background job...

    Hi,
    Please mainatain another substitution rule.
    PREREQUISTE : 40(POSTING KEY )=SPARE PARTS(gl) and 50(posting key )=Inventory write off
    Sustitute : Dtype = VA
    Regards
    jabeen

  • Substitution Rule for F110

    Hi gurus,
    Currently, my substitution rule for tcode 'F110', is not triggered. Because I need to change the value of BSEG-AUFNR (Order Number) to blank after F110. Can you tell me if there's a workaround?
    Thanks gurus.

    Hi,
    Can you please elaborate your scenario. As per my knowledge you can not edit already posted document by using substitution rule.
    Once document is posted substitution is triggered and change that particular documnet, it will not go to any other document whcih is posted earlier and make any changes.
    You can very well go and repost the document or change the document if it is possible.
    Regards,
    Anand Raichura

  • Substitution Rule for Assessment Cycle

    Hii All,
    Can anybody suggest how do i define substitution rule for Assessment Cycle??
    Reg
    Umesh

    I have created a assessment cycle thru KSU1 where i assigned SKF key , Thru SKF key i have to define allocation numbers with receiver cost centers but  before that i have to set substitution rule for cycle.
    All the common expenses booked under one common cost center
    For eg. Expensed booked in GL series 3 - Common Cost Center
    in Cycle - Assesment CEle start with 9
    In FI - Common Exp GL start with 8
    Above Example , when i run the cycle expenses will be allocated in 8 series with receivers cost center
    Can ny1 suggest me how to do the process,how to define the rule
    REg
    Umesh

  • Asset substitution rules for mass changes

    Dear all,
    I create worklist in order to use substitution rule for mass change.
    But when running transaction AR31 I have following error message:
    No administrator found for the task
    Message no. 5W141
    I found transaction OAWF but what must I do with this?
    Thanks for your help.
    David

    Hi David,
    In sight of resolving the error 5W141 when running the workflow in AR31, maybe following information can help.
    1- Transaction OAWF: check if the responsible users are assigned to the workflow tasks
    Menu path: Basic Functions
                                   Assign tasks to agent
                                             Correct worklist
                                                      Release worklist
                                                                Correct and release worklist
    2- Then also check if the users are assigned to the workflow-tasks in the basis-component (transaction PFTC).
       Menu path: Task type: TS   - Standard task
                             Task     : corresponding task
    Also check the minimum customizing for workflow:  SWU3 => automatic customizing
    Maybe the following SAP Notes help you in addition:
    127931  Workflow for Mass change in FI-AA from 40B on
    322526  Analysis for workflow problems
    152871  Release Upgrade considerations for workflow
    Best regards,
    Brigitte

  • How to create incident rule for SOA composite faulted instances

    Hi Experts,
    How can I create an incident rule for creating an incident when a SOA composite instance goes faulted. I want to notify the administrator when any of the SOA composite instance gets faulted but I am not able to undestand in my incident rule what type of event should be used,in-short I am not able to understand how can I create a rule for eveluating SOA composite faulted instances.
    I am posting this query third time here. Please suggest me a solution or is this a limitation of OEM 12c Cloud Control ?
    Please help...its eally urgent!!!

    Creating Incident rules is a very simple process as long as you know what event you wanna create your rule one. In your case specifically, its even more simple since you already know your target type and metric name.
    Steps:
    1) Create a rule set.
    2) On the same page hit "Targets" tab and select "All target types" and select "SOA Composite" from the target type list.
    3) Now hit "Rules" tab and then hot "Create" and then select first radio button - "Incoming events" since you wanna wrap SOA composite fault metric alert event into a rule.
    4) Now select "Type" and select "Metric Alert"
    5) Now since you are interested in a "specific event" - SOA composite fault metric alert event, select that radio button and hit "Add"
    6) From the "Target Type" dropdown, select "SOA Composite" target type and type "%Fault%" in the Metric name textbox and hit Search.
    7) Select you Metric name and select you severity as you wish.
    8) Add Actions - create notification, emails etc. (Refer docs to understand how best you can use these options as needed)
    9) Save your rule and save your Rule set.
    You have a rule (Make sure its enabled) that will execute your specified actions when any SOA Composite will breach your the selected metric (Fault metric in your case)

  • Create search helps for fields of custom tables

    Hi,
    Could any one please provide me the step by step process to create search helps for fields in custom tables?
    Thanks in advance,
    Nobin.

    Hello Nobin
    There is basically no difference between a search help for standard vs. customer tables.
    An important choise is the selection method for your search help:
    Either you use your custom table, a view or a search help user-exit if you need to implement very specific requirements.
    Assuming that you can use your DB table as selection method the further implementation of the search help is quite straightforward:
    (1) Define the parameters you would like to have a selection criteria (SPos = SPos) and which should appear on the result list (= LPos).
    (2) Define the parameters that can be used as input for the selection (flag IMP) and are returned by the search help (flag EXP)
    Regards
      Uwe

  • Error while Creating a formula for field AZNOR (T-Code : OP17)

    Dear Experts,
    i am facing a problem in Transaction OP17 while creating a formula for field AZNOR ( No of indivual capacity in work center) in work center (T-Code : CR02) .
    It shows the error
    The data object "F" has no component called "AZNOR''..
    Please let me know the solution..
    Thanks & Regards
    Birendra Kumar

    Hi,
    I have the same problem.
    Could You tell me witch is the correct origin?
    Thanks a lot!
    Bye
    Laura

  • Table for Substitution rules for profit center

    Can anybody help me with the table name for Substitution rules for profit centers ?
    Thanks
    Sandeep

    Hi
    Check This tables
    CEPC - Profit Center
    CSKS - Cost Center
    Ranga

Maybe you are looking for

  • My z10 does not sync to my outlook

    For many years I have supported  Blackberry but I am at the end.  This is the 3rd z10 I have had, the battery lasts 3 hours and it does not sync with my outlook.  Where do you get  Blackberry support  ?  No wonder why Blackberry is going to go away.

  • Phone Dropping calls and disappointed in Verizon

    Very disappointed in Verizon Wirelessly. Over the past year my phone has continuously dropped calls. It's getting worse and worse. I went from have decent service  3 years ago to only being able to talk in my bedroom and kitchen over the past year. o

  • Hard Drive and Startup Failure Code(Model: G61-429WM) Notebook

    Windows won't start because it is missing a .DLL file.  I ran the system diagnostic tests( Hard Drive and Startup) they both gave me the same failure code(UOC7HA-52H74A-XD0021-60X603).  When I turn the computer on, it tells me to insert the system di

  • Essbase load rule file

    I am trying to use load rule to append some data to Essbase cube. How do you define the rule on Essbase side, as a data file or SQL data source? I am trying to avoid the second option as the SQL Interface was not configured on Essbase Unix box. Is it

  • When i try to upgrade iPad, i cannot proceed with terms and conditions page

    i forgot my apple ID password when i after i upgrade my ipad. So i changed reset my password online. After i entered new password, terms and conditions page appeared, however there was no response no matter what option i choose be it agree, disagree