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.
Similar Messages
-
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 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,
sbmelHi
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 -
Table for Substitution rules for profit center
Can anybody help me with the table name for Substitution rules for profit centers ?
Thanks
SandeepHi
Check This tables
CEPC - Profit Center
CSKS - Cost Center
Ranga -
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 YouHi,
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 -
How to define Substitution rule for Businee area
Hi experts,
Could you please guide me to define substitution rule for Business are.
Below is the requiremnt :
I want to assign different business area for this cost centre.
While posting document in FB01, we are entering cost centre in line itme. Businee area is picking from cost centre master.
Example : Cost centre 11310 and businee area Y020.
Businee area Y020 is picking from cost centre 11310 while posting document.
I want to assign different business area for this cost centre.
For that I want to define substitution rule.
I have defined substitution rule and activated in comapany code but it is not working. Please guide me how to define Substitution rule for the same.
I have defined prerequisit as Comapny code = 2053 and Cost centre =11310 and transaction code = FB01 then
Substitute business area with Y045.
It is not working .
Please guide me where I did mistake and how to rectify the same.
Thanks in advance for your quick response and points will also assign for helpfull answer.
Regards,
AmarHi Paul,
Thaks for your reply.
Yes, you are correct. SAP is changing this back to BA from Cost centre.
Why can't we use Substitition for the above issue.
Then what is solution for my issue.Please suggest any alternative solution.
Thanks in advance for your help.
Regards,
Amar. -
Workprocess for Infinite background job in ABAP
Dear all,
I have a background job which has an infinite loop i.e. WITHOUT any exit condition. The loop contains WAIT UPTO x mins statement.
So my query is if I run this program in background then will the Background Work process which executes this job, always be occupied and cant be used for other background jobs ? In other words, will I be wasting 1 BG workprocess for this job since it will never be freed to be used for other background jobs?
LOOP AT ITAB
WAIT UP TO x MINS.
ENDLOOP.
Requesting your expert insights .
Thanks in advance.
BR
NileshI am not so sure if this is correct. To my knowledge, BTC processes, as opposed to DIA, never perform "roll out" (e.g. during an RFC call) but just wait until processing continues. I just made a quick test in NW 740 release, there the BTC process remains occupied by my job when it does WAIT UP TO xxx SECONDS. So you occupy one BTC process as long as your job runs.
Please try out yourself and then award points to whoever is right, please.
Regards,
Alex -
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
UmeshI 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 -
Substitution rule for STO - changing business area.
Hello Experts,
We are transferring stock from one plant to another plant. Each plant is business area. We are doing stock transfer at some profit element of Rs. 250. Transfer is done from Business Area D002 to Business Area D001.
When we do outbound delivery, it posts following entry:
Stock A/c... Dr (Business Area D001) Rs.1250
To Stock A/c (Business Area D002) Rs.1000
To Profit on transfer (Business Area D001) Rs.250
However, I want to substitute business area for third line. I want that, business area D001 should be replaced with business area D002. However, there is some substitution rule for the same. Please tell me, how this substitution can be done.
Please help
DeepakWhat is your price control for your material for both plant ?
What is the process for your stock transfer ?
However, as of my knowledge, you can't achieve this accounting entry in standard.
See, if you are using MAP for material for both plant, then accounting entry will be
Stock A/C debit for plant D001
Stock A/C credit for plant D002.
If you are using standard price for material, then accounting entry will be
Stock A/C debit for plant D001
Stock A/C credit for plant D002
Price diff account credit or debit (as per the price difference for material price for both plant). -
Runtime analysis(SE30) for a Background job
Hi Experts,
How to get runtime analysis for a Background job in SE30 transaction. Please advise.
Thanks in advance,
Vivenchandar RMeasuring 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. -
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.
DavidHi 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 -
Reg Super user for schedule background Jobs
Hi Experts,
I have created new user copied from DDIC with the same authorization. This is for scheduling Background Jobs. Now all the standard background Jobs are running fine. After scheduling the Jobs I have changed to system user. Now for audit purpose I need SAP note to do same. Please help me to get the sap note for the same. Please respond ASAP. treat this is as high priority.
Thanks & Regards,
Haseem.HI,
It is not necessary for user having SAP_ALL authorization under which background job is running.
Define specific users to use for background processing. Define them as system users (non-dialog) and give them only the necessary authorizations that are needed for the executed programs
check http://help.sap.com/saphelp_nw04/helpdata/en/db/f6f3393bef4604e10000000a11402f/frameset.htm
also check Note 101146 - Batch: authorization object S_BTCH_JOB, S_BTCH_NAM
regards,
kaushal -
Can we change the selection criteria for RV60SBAT Background Job for Billin
We have a requirement to add a new selection criteria for RV60SBAT Background Job for Billing. We want to process back order invoices first. So we want a specific background job to select these. So we want to select any orders that are eligible to be invoiced where order date < the date of background job(r sy-datum ). Any ideas where we can introduce this logic for selection criteria?
Thanks,
MattHi Matt
For your requirement , copy the standard RV60SBAT program to Z program and in that copied RV60SBAT program , maintain the logic that the backorder invoices should be first processed.Then after that regular background job for billing should take happen .Then your requirement can be fulfilled
Regards
Srinath -
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-ITPWHello,
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
Maybe you are looking for
-
The "hide" shortcut doesn't work
Hello, I want to know why the shortcut "hide bottom" (control E on PC) doesn't work on my illustrator, I need to install all the program again?
-
Home network - How can I get Tiger & Windows 2000 to connect?
This has been an ongoing annoyance for some time now. I cannot get my G4 iMac running the latest updated Tiger to connect to a PC running Win2K (home network) through a basic router and junction box. Both are connected to the internet (DSL) via a rou
-
Facebook games keep giving draggable not defined error
hi i keep getting draggable not defined when trying to click tab ( link ) pages on facebook games. both firexox and java are latest versions, this is a fresh install of vista 64 and i have tried it on my windows 7 also 64 bit. sorry im not java minde
-
Name of connection in package name tab?
Hello Is it possible to add the name of the connection in the tab name? When I have to open connections this would be handy. Something like : p_utils (user@dev) other tab: p_utils (user@tst) Kind regards Erik
-
Hello Gurus, my DTP is in the process chain. set in DTP is " valid records update, no reporting (request red)" , but no " error DTP " created. my question is : when some records errors occure, this DTP process stoped in the process c