How to restrict the job start conditions (only "Immediate" type) ?
Hi,
We allow our users to schedule and execute in background mode transactions (example IP19, IW38). We gave them for that authorizations (object S_BTCH_JOB with LIST, PROT, RELE and SHOW - objetct S_PROGRAM with BTCSUBMIT).
We would like that users can schedule and execute their jobs only with the u201CImmediateu201D job start condition (in the Start Time screen for the type of start condition : Immediate, Date/Time, After job, After event, or At operation mode).
Another solution: prohibit the scheduling and the execution background job in a certain time interval ...
How can restrict the job start conditions ?
Thank you.
Patrice.
Hi Jan,
Yes, sa38 makes it possible indeed to execute in background into immediate mode a job but
the user have to know the name of the program to be carried out ...
The user knows only the name of these transactions trade. For example, IW38.
In the menu of this transaction, SAP gives the possibility to execute in background :
Program --> Execute in Background --> display of Start Time screen for the type of start condition :
Immediate, Date/Time, After job, After event, or At operation mode).
It is at this time there that we want that the user can only choose the "immediate" mode.
We must thus prohibit the other choices (Date/Time, After job, After event, or At operation mode) ... and
and we don't know how to restrict these other options in this screen "Start Time screen for the type of start condition".
Thank you.
By.
Similar Messages
-
How to capture the job start time
Hi,
how do i capture the time the job start running and the time the job end? when i query this
SQL> select * from user_jobs;no column are showing when the job start time (only last_sec and next_sec). I want to copy user_jobs view into ajob_history table, like this:
Job history table
Job_start Job_end
(?) (last_sec)Why not add a log time into the job call itself? That way, you can collect the information yourself for the jobs you're interested in.
So instead of the "what" parameter being "my_proc(p1, p2....)", change it to something like:
declare
v_start_time TIMESTAMP;
v_end_time TIMESTAMP;
begin
v_start_time := systimestamp;
my_proc(p1, p2....);
v_end_time := systimestamp;
log_job_time('Unique identifier', v_start_time, v_end_time);
end;and have the log_job_time process insert a row into a logging table that captures the name of the job and it's start and end time.
That's if you can't include the timings in your procedure, of course. -
How to restrict the user to enter only numeric values in a input field
How to restrict the user to enter only numeric values in a input field.
For example,
i have an input field in that i would like to enter
only numeric values. no special characters,alphabets .
reply ASAPHi Venuthurupalli,
As valery has said once you select the value to be of type integer,once you perform an action it will be validated and error message that non numeric characters are there will be shown. If you want to set additional constraints like max value, min value etc you can use simple types for it.
On the project structure on left hand side under local dictionary ->datatypes->simple types create a simple type of type integer
The attribute which you are binding to value property ;make its type as simple type which you made
Hope this helps you
Regards
Rohit -
How to restrict the dropdown values in Att/abs type in Record Working Time
Hello experts,
We are implementing ESS business package. In the Record Working time, within the Weekly View and Daily View tabs, there is a column Att/abs.type which has several drop down values - like: floating value, Funeral Leave, Military Reserve, Regular Attendance, etc. Our requirement is to restrict the dropdown values by means of showing only one of these values (say: Regular Attendance) and others should not be shown. How do we achieve this?
Thanks
Vicky R.Hi Siddarth,
Thanks for the info. By the way, this table info is not mentioned in the Business Package documentation. Which documentation are you referring to?
Thanks
Vicky R. -
How to run the job using DBMS_SCHEDULER
How to run the job using DBMS_SCHEDULER
pleas give some sample Iam very new to DBMS_SCHEDULERHi
DBMS_SCHEDULER
In Oracle 10g the DBMS_JOB package is replaced by the DBMS_SCHEDULER package. The DBMS_JOB package is now depricated and in Oracle 10g it's only provided for backward compatibility. From Oracle 10g the DBMS_JOB package should not be used any more, because is could not exist in a future version of Oracle.
With DBMS_SCHEDULER Oracle procedures and functions can be executed. Also binary and shell-scripts can be scheduled.
Rights
If you have DBA rights you can do all the scheduling. For administering job scheduling you need the privileges belonging to the SCHEDULER_ADMIN role. To create and run jobs in your own schedule you need the 'CREATE JOB' privilege.
With DBMS_JOB you needed to set an initialization parameter to start a job coordinator background process. With Oracle 10g DBMS_SCHEDULER this is not needed any more.
If you want to user resource plans and/or consumer groups you need to set a system parameter:
ALTER SYSTEM SET RESOURCE_LIMIT = TRUE;
Baisc Parts: Job
A job instructs the scheduler to run a specific program at a specific time on a specific date.
Programs
A program contains the code (or reference to the code ) that needs to be run to accomplish a task. It also contains parameters that should be passed to the program at runtime. And it?s an independent object that can referenced by many jobs
Schedules
A schedule contains a start date, an optional end date, and repeat interval with these elements; an execution schedule can be calculated.
Windows
A window identifies a recurring block of time during which a specific resource plan should be enabled to govern resource allocation for the database.
Job groups
A job group is a logical method of classifying jobs with similar characteristics.
Window groups
A window groups is a logical method of grouping windows. They simplify the management of windows by allowing the members of the group to be manipulated as one object. Unlike job groups, window groups don?t set default characteristics for windows that belong to the group.
Using Job Scheduler
SQL> drop table emp;
SQL> Create table emp (eno int, esal int);
SQL > begin
dbms_scheduler.create_job (
job_name => 'test_abc',
job_type => 'PLSQL_BLOCK',
job_action => 'update emp set esal=esal*10 ;',
start_date => SYSDATE,
repeat_interval => 'FREQ=DAILY; INTERVAL=10',
comments => 'Iam tesing scheduler');
end;
PL/SQL procedure successfully completed.
Verification
To verify that job was created, the DBA | ALL | USER_SCHEDULER_JOBS view can be queried.
SQL> select job_name,enabled,run_count from user_scheduler_jobs;
JOB_NAME ENABL RUN_COUNT
TEST_abc FALSE 0
Note :
As you can see from the results, the job was indeed created, but is not enabled because the ENABLE attribute was not explicitly set in the CREATE_JOB procedure.
Run your job
SQL> begin
2 dbms_scheduler.run_job('TEST_abc',TRUE);
3* end;
SQL> /
PL/SQL procedure successfully completed.
SQL> select job_name,enabled,run_count from user_scheduler_jobs;
JOB_NAME ENABL RUN_COUNT
TEST_ABC FALSE 0
Copying Jobs
SQL> begin
2 dbms_scheduler.copy_job('TEST_ABC','NEW_TEST_ABC');
3 END;
4 /
PL/SQL procedure successfully completed. Hope it will help you upto some level..!!
Regards
K -
How to restrict the changes in Relesed PO?.
Hi all,
How to restrict the users to make a changes in the Released PO?. User should make the changes only if it is unreleased by the respective codes.
1. Is there any user parameters like functional authorisation?
2. I have already suggested two solutions to the clients that
1. To restrict the authorisation of TCodes ME22n at the user level, but it's not a suitable solution, if user want to make any changes before releasing, then system is not allow to do the changes.
2. I have made release indicator as a 1 - not changeable if it is released, in release strategy settings. But the system is not allowing the all the users including release codes to make the changes?.
If there is any solution, please reply immediately.
with regards,
Raja.hi,
if u set release indicator 1, after release is taken place, for any changes, u need to revoke the release. and then change the PO.
even u cant directly block the changes to already released PO, because, in future if at all qty or some changes is required to change, it should allow u to change! -
How to restrict the change access in CRM for OLTP orders
Hi Guru's,
Please let me know how to restrict the change access in CRM for the orders that are created in ECC. The ECC orders will only for display in CRM but not for change,
We have the orders that are created in ECC, it will flows to CRM and should restrict the access to get in to the change mode in CRM but as of now CRM system is allowing change mode for ECC orders and ending up with errors.
Is there any additional middleware parameter that needs to be added to SMOFPARSFA table to get this functionality! Please advice! Thank your for your help.
Regards
SuneelHi.
You can use the PFCG role to control if the user is able to create, change, delete or only display a business transaction type.
Regards. -
How to restrict the user in MIRO for not modifying price
Hi All
My requirement is How to restrict the users in MIRO screen for not modifying Material Prices of only the for specific ROH types .
For example :
Valuation class RM description
3021 RM - A
3022 RM - B
3024 RM - C
when ever we procure the above Raw materials A,B and C and
the Quantity of each Raw material @ 10 units and value @ 1 INR for each unit
RM - A procured qty 10 @1 total price is INR 10
RM - B procured qty 10 @1 total price is INR 10
RM - C procured qty 10 @1 total price is INR 10
total price of PO is INR 30
when we received invoice material prices are assume it INR 1 is excess for each material.Now the invoice price for each RM has become INR 11.
in MIRO we want restrict the user to change the price from INR 10 to 11.
suggest the best possible ways to restrict in MIRO screen
Thanks & Regards
MalaDear:
Take help of ABABPER fo implement exit using INVOICE_UPDATE or MRMH0003 Logistics Invoice Verification: Revaluation/RAP exit. If this does not help then seek help of MM functional who will help you to find exit for the required task.
rEGARDS -
How to restrict the quantity & rate of MIRO with MIGO and PO
Hi friends,
Can any body tell me how to restrict the quantity & rate of MIRO with MIGO and PO.
e.g. if we have done MIGO for quantity 10 and the rate maintained in the PO is Rs.100.Then at the time of MIRO system should not allow to change the quantity and rate.
How we can do this?
Regards
Purnesh SharmaHi,
You are misunderstanding the use of MIRO.
If you change the details in MIRO you are NOT changing anything. You are just entering the price and quantity from the Invoice.
If this price and or qty is different from the GR aqty and PO price then the system will block the invoice for payment (and it can issue messages toinform the buyer if configured correctly).
The whole design of MIRO is based on the principle that you enter EXACTLY what the vendor has put on the invoice. By preventing the users from changing anything you will get NO mismatched invoices, but you will not be paying the vendor the amount specified on their invoice. This will surely cause problems.
If you do want to ensure that ONLY the GR qty and the PO price are used and cannot be changed then why not consider using ERS (Eveluated Receipt Settlement. this is basically self billing.
Effectively you will be paying the vendor based on what you have received in MIGO multiplied by the price from the PO. (which is what you would be doing if you stop any changes in MIRO)
Steve B -
How to restrict the upload file size in me21n/me22n/me23n?
Hi Guru's,
I have a requirement to restrict the user from attaching a local file more than 20MB in Purchase Order.
In standard SAP system, the user can attach a file of any size in PO. How to restrict the size of the file?
I have no clue how to achieve this? Any kind of help would be great...
Thanks in Advance...
Regards,
SatyamHi Guru's,
The file size is now restricted in function GUI_UPLOAD. But this function module is used at many places. I want to restrict it only for Tcode: ME22n and ME23n.
I thought of restricting it by sy-tcode field but sy-tcode value is not passed to this function module in the run time.
Could anyone help me on this how to restrict it for the above mentioned tcodes??
Regards,
Satyam -
How to restrict the user from making any changes in Sales order- item level
Hi to all
How to restrict the users from making any changes in sales order at item level if the same sales order is released by senior user through status profile.
Regards
Anish Parikh
Edited by: anish parikh on Jan 24, 2008 5:16 AMHi Anish,
This can be achieved through the roles and authorization.
This can be done through the basis team. they can create user profiles and roles.
For the roles they assign some transaction codes so that they can view the only assigned tr. codes.
Like that ur requirement can be done.
Also u can prevent the user to change any fields in the sales order screen (VA02). for that please modify the authorisations.
Hope i answers.
Reward points if useful.
Edited by: kaleeswaran bhoopathy on Jan 24, 2008 9:57 AM -
How to restrict the decimal entry on dynamic table in adf 11 .6
Hi All,
JDev version 11.6
I have a usecase based on dynamic VO. How to restrict the decimal numbers on table columns . When user enter the decimal number .I have to show error message.
In order to achieve above requirement .I have added value change listener on table column .its not working as expected
<af:table rows="#{bindings.EmployeeDynamicVO.rangeSize}"
fetchSize="#{bindings.EmployeeDynamicVO.rangeSize}"
emptyText="#{bindings.EmployeeDynamicVO.viewable ? 'No data to display.' : 'Access Denied.'}"
var="row" rowBandingInterval="0"
value="#{bindings.EmployeeDynamicVO.collectionModel}"
selectedRowKeys="#{bindings.EmployeeDynamicVO.collectionModel.selectedRow}"
selectionListener="#{bindings.EmployeeDynamicVO.collectionModel.makeCurrent}"
rowSelection="single" id="t1"
styleClass="AFStretchWidth" autoHeightRows="-1"
columnStretching="last" contentDelivery="immediate" >
<af:forEach items="#{bindings.EmployeeDynamicVO.attributeDefs}"
var="def">
<af:column headerText="#{bindings.EmployeeDynamicVO.labels[def.name]}"
sortProperty="#{def.name}" id="c1">
<af:inputText value="#{row[def.name]}" id="ot1"
valueChangeListener="#{backingBeanScope.EmployeeBean.validateINputs}"
autoSubmit="true">
</af:inputText>
<af:outputText value="#{row[def.name]}" id="ot6"
visible="#{def.name eq 'Dummy'}"/>
</af:column>
</af:forEach>
</af:table>
So appriciate if any alternatives on above usecase. Thanks in advanceHI
Expected :as soon as user enter the decimal values in table column , it should throw the error message in new small new window
Getting the value change listener and validating , but its working only tab out (Because VO is dynamic )
please suggest us any reg expression and Validators to achieve the above scenario ? -
How to restrict the display of report variants
Hello All,
I want t know how to restrict the display of report variants.
I mean, when a user saves a variant for his/her purpuse on some report program, only he/she can refer the variant while other users cannot.
I know that by setting the attribute of the variant ("Protect Variant ", "Only Display in Catalog"), this would be possible, but I want to know another way, without this setting.
Thank you for your help in advance.
Regards,Hi,
Can you just try this
DATA:it_varid TYPE TABLE OF varid.
DATA:wa_varid TYPE varid.
INITIALIZATION.
SELECT * FROM varid INTO TABLE it_varid
WHERE report = sy-repid
and ename = sy-uname.
IF sy-subrc = 0.
LOOP AT it_varid INTO wa_varid .
CALL FUNCTION 'RS_SUPPORT_SELECTIONS'
EXPORTING
report = sy-repid
variant = wa_varid-variant
EXCEPTIONS
variant_not_existent = 1
variant_obsolete = 2
OTHERS = 3.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
ENDLOOP.
ENDIF. -
How to find the job and job status from RSPCM
hi all,
suppose we got an error and in rspcm the process was failed.i want to know the status of that particular job.and if any i want to stop that job in SM37.
plz tell me how to find the job and job ststus from RSPCM...and how to stop that job in SM37
thanks,
jackHi Jack,
RSPCM: T.Code
This transaction is used to monitor the process chains
First:
here you need to add the process chains into the sheet
Second:
Then you can monitor the process chains in this transaction code
Like you can see the : status ,proces chain ,Last run date ,Last run time ,Log ID
Status : Green when sucessful,Yellow when running & Red when you get errors
Now when yoy click on any of the process chain in RSPCM you will go to the LOG VIEW as you see in RSPC transaction
SM37:T.code
This transaction is used for Job Overview
you can see many options in SM37
like Released,active,cancelled,finished,etc
Just select the ACTIVE jobs and also pass STAR in JOB ID & USER ID
here you can only see the active jobs
Goto Step in toolbar
select the program displayed
then chose option GOTO - Variant in main menu bar
in the variant you can see the job belong to which Process chain
if you want to cancel this job come back to SM37 Display screen
Select the Job and select the JOB DETAILS tab in Tool Bar
Collect the WIP ( Work Permit ID)
Go to SM50 T.code and find the WIP
in Main Menu Bar you find the option Cancel with Core choose this it will cancel the Job
Regards
Hari -
HOW to Restrict the input Help for 0MATERIAL in the BPS Layout
Hi,
I have requirement to Restrict the input Help for 0MATERIAL in the BPS Layout.
For Example if the Planning Package is Restricted to SALES ORGANISATION ( 3000 ) then the system shuold check the 0MAT_SALES where SALES ORGANISATION IS "3000" )AND PASS THE Material Numbers to the 0material list.
I have Copied the standard Funtcion group "UPF_VARIABLE_USER_EXIT" to Z fucttion and have attached to Z Variabe as User Exit .
this Variable is Attached to 0material in the Planning Pakage. So tha now the 0MATERIAL is restricted to the variable which is having the User Exit.
But how to acces the Values of Planning Package for which the Layout is bein Executed from this Z User Exit ???
I Know how to restrict the input help, but my only problem is that how to get the values of Planning package through this User Exit.
Please suggest if it is possible.
Regards,
Nilesh LabdeHi Nilesh,
As I understand from your question,you know how to restrict but the issue is to know the value in the package with which you need to restrict.
There are two tables which can help you finding the value used in package for sales organisation:
1. UPC_PACKAGE
2. UPC_OPTIOS
How to use ?
From UPC Package you will get one GUID, Hit the second table UPC_OPTIOS with this GUID.
In field "FIELDNAME" enter the name of the characteristic whose value is req (sales organisation in your case)
Hope this helps you
Mann
Maybe you are looking for
-
Hi All, i want to know if from performace side ,if it's good to select data and see if it's need to be update,or update any way. e.g. i get data on user and my quesion is if to do select single and see if the user is exist and if the user exist see i
-
ESS + EhP5: Need to add an Button to an FPM_FORM_UIBB based ESS Szenario
Hello Community, I have an requirement to add an 'Upload' Button to an EhP5 ESS Szenario (Address Change). Hence (almost) all ESS based on the FPM framework, difficulties to modify/enhance in a "free way". In my case the ESS was created by an Compone
-
N96 podcast problem...
Well I finally find the time to learn how to set the podcast application up and it all goes wrong. I have downloaded two podcasts OK but when I go into the music application and select podcasts and then play my handset reports "unable to play selecti
-
HT3743 error 23 when restoring the iphone 4 to the original setting
how to fix this problem so I can reset the iphone 4 back to it original setting
-
Business transaction event in MM
What is the T-Code for Business Transaction event in MM like we have FIBF in FI