How tio restrict the generation of Calib.Maint Order for Previous dates
Dear PM Guru's
i required one restriction option to prevent the generation of calibration maintenance orders for previous dates.please under stand the full information in following example.
one of my gauge frequency was every 6months. for every 6months user wants one calibration order. in between these 6months frequency user checks the gauge for every 1month as a Inspection / verification of gauge. while uploading the data in SAP, user enters the dates 02.02.2011 as a start of cycle, but we upload the data in sap 02.05.2011. on 05.05.2011 we will go for live. here system should generate the order every month as 02.03.2011,02.04.2011,02.05.2011,02.06.2011,02.07.2011,02.08.2011. As per out condition 02.08.2011 has Inspection / verification and calibration remaining months are inspection / verification. Now here how i can restrict the order generation for 02.03.2011,02.04.2011,02.05.2011dates. Please give me the suggestion and solution to avoid the order generation. if i left same as it is somany orders should be generated.
please help me. thanks so much in advance to all PM gurus.
regards
PM
First method:
You can define offset in strategy so that first call will be created after the offset period (in your case, it is 4 months).
Second method:
You can define the start date of cycle as 02.05. instead of 02.02, as system is going live only by 05.05.
Similar Messages
-
PM: how to track the operations in prev.maint order against object list
Dear PM Guru's.
i have one issue in my preventive maintenance scenario. i clubed the same type of machines in one maintenance order under object list tab. and i mention the list operations in maintenance order. suppose in one preventive maintenance order 10 operations are maintained and 5objects are mentioned in that order. Now i like to mention all these 10 operations activities against to 5 objects. how i can assign sequentially? i required like 10operations one by one row wise and 5objects side by side column wise. i would like to update the each operation activity against each machine column? how i have to do this one?
Please suggest me and help me.
regards
Jalendhar MeruguUsing Object functionality, we can maintain many equipments in the order.
But the constraint is that one operation can be assigned to only one equipment. In your case, you have 5 objects. If all 10 operations will be performed on 5 objects, then you have to maintain 50 operations & you should assign the objects.
In other words, if one operation will be performed on 5 objects, then you should define that one operation 5 times & you have to assign to technical objects. You can't share one operation to many equipments. -
How to restrict the user to change ALV layout for Standard Report Output
Dear All,
How can i restict the Users to change Output layout of Standard ALV reports,
kindly suggest to solve the issue.
Regards,
Niranjan.GHi NIranjan,
In the ALV function module , the i_save can have the below paramater values.
You can add based on your requirement.
I_SAVE = SPACE Layouts cannot be saved.
I_SAVE = 'U' Only user-defined layouts can be saved.
I_SAVE = 'X' Only global layouts can be saved.
I_SAVE = 'A' Both user-defined and global layouts can be saved.
Check the Authorization Object - S_ALV_LAYO in SUIM (Objects by Complex Search)
Activity -23.
Edited by: Raj on Jul 13, 2010 3:05 PM -
How to restrict the the oreder reason list while creating sales order
Hi gurus,
Can anyone suggest me
how to restrict the Order rerson list
while creating the sales order in VA01
Thanks & Regards
kalyan.hi,
Try this exit:
Enhancement MMFAB001 User exit for generation of release order
Thanks,
AMS -
How to restrict the number of Records into the Table?
Is there any way that I can restrict the number of records can be entered into the table?
For example I have created a table TAB1 with size category 0( zero).
User dont want to enter more than 100 values, How to restrict the number entries? Whether Basis can do it?
Regards,
PrathapHi Prathap,
You can write a code in table maintenance events to restrict the number of Records added into the Table to constant.
Solution:
Se11 -> enter table name (TAB1) -> F6 -> Utlities -> Table maint. generator -> Envirnment -> modification -> events -> write here the form routine name.
Double click on routine name. You will get into include section of the code. Write here code like:
IF current_rec_num > 100.
messgae error 'Entry restriceted to 100'
ENDIF.
Somewhat this way you can achieve your target.
Regards,
Sachin -
How to Restrict PO generation from PR
Dear All,
how can we restrict the generation of PO to one with reference to PR, as we can create as many PO as we can, even though the closed check is flagged in PR item details.please suggest some solution.
Thanks,
Sathya kumarMr. Sathya kumar,
You can create a proxy purchasing group viz. HOLD. Assign this purchasing group to PR's for which you don't want to create PO.
Purchasing Group HOLD can be excluded while creating PO.
I hope this will solve your problem.
If not then --->
Please confirm on followings --
You have created PR's and you don't want to created PO's for few of them.
Also tell me which tcode you are using for PO creation.
Regards,
SATYAJIT -
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 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. -
How to restrict the department to not user other departments' equipment?
Dear SAPIENTS,
How to restrict the department to not user other departments' equipment? If suppose any one creating order for equipment having different authorization group then system should not allow me to do this.
Regards,
Kaushal RaiKaushal Rai,
Use Authorization group for technical objects, create authorization gruops in IMG and assign the same to the Equipment master and block the other department with the same authorization group. For ristricting the authorization group to other departments after creating and assigning it to the equipment seek help from your BASIS team.
goto the below path for cerating the Authorization group:
IMG - PMCS - Master data in PMCS - Technical Objects - Define Authorization groups:
Here you define the authorization groups, after completion of this step go to the Equipment master in General Data tab page there is a feild Authourization Group, mention the respective authorization group and provide this Authorization gruop value to the respective user in the user role with the help of BASIS Team.
Regards,
Praveen. -
How to restrict the duplicate values in lov column of VO based Adv Table
Hi Gurus,
I want to restrict the duplicate values at lov which is a colunm in an Adv Table.
If user enters duplicate values then first it should show an error msg that Duplicate values have been entered.
After the duplicate values have been removed, then the user can save all the values in the table.
My Adv Table is based on a VO.
The link how to restrict the duplicate values at form level
talks about Adv Table based on a EoVO, which doesnot work in my case.
My Approach,
I am iterating through RowSetIterator and committing through PROCEDURE.
I am able to avoid duplicate entry through a function checkRespId. (given below)
Below code is for iterating and committing.
public void saveline(String reqid,String userid)
System.out.println("RequestId/saveline"+reqid);
System.out.println("UserId/saveline"+userid);
OAViewObject vo = (OAViewObject)getRespLineVO1();
RespLineVORowImpl row = null;
int fetchedRowCount = vo.getFetchedRowCount();
RowSetIterator deleteIter = vo.createRowSetIterator("deleteIter");
if (fetchedRowCount > 0)
deleteIter.setRangeStart(0);
deleteIter.setRangeSize(fetchedRowCount);
for (int i = 0; i < fetchedRowCount; i++)
System.out.println("Inside the for LOOP");
row = (RespLineVORowImpl)deleteIter.getRowAtRangeIndex(i);
String respoidid = row.getAttribute("ResponsibilityId")+"";
String respname = row.getAttribute("ResponsibilityName")+"";
String stdate = row.getAttribute("StartDate")+"";
String enddate = row.getAttribute("EndDate")+"";
String linestatus ="A";
if(userid!=null)
if(!(respoidid.equals("null")) && respoidid!=null)
String checkingrespid=null;
checkingrespid = checkRespId(userid,respoidid);+contains no if not duplicate and yes if its duplicate+
System.out.println("checkingrespid for Resp with ID :"+respoidid+"exists or not "+checkingrespid);
if(checkingrespid.equals("No"))
String message, result = null;
Connection txn = getOADBTransaction().getJdbcConnection();
try
calling PROC ...
catch(Exception e)
message = "Error in Inserting into line" + e;
throw new OAException(message, OAException.ERROR);
else
throw new OAException("You have entered duplicate no. of values", OAException.ERROR);
else
System.out.println("respoidid is null");
break;
deleteIter.closeRowSetIterator();
public String checkRespId(String userid,String respoidid)
String createRow="No";
OAViewObject vo = (OAViewObject)findViewObject("CheckRespVO1");
if (vo != null)
vo.setWhereClauseParams(null);
vo.setWhereClauseParam(0, userid);
vo.setWhereClauseParam(1, respoidid);
vo.executeQuery();
System.out.println("ROW COUNT IS "+vo.getRowCount());
if(vo.getRowCount()>0)
createRow="Yes";
else
createRow="No";
return createRow;
Problem:
I remove the duplicate entries and click on save and get this error.
Unable to perform transaction on the record. \nCause: The record contains stale data. The record has been modified by another user.
\nAction: Cancel the transaction and re-query the record to get the new data.
Thanks,
SombitHi Anil,
I am trying out your code but stuck in inserting the rows
using your code in URL: http://oracleanil.blogspot.com/2010/09/oaf-passing-table-type-object-to-oracle.html
I am always getting the same exception i.e COde blast in when I run.
My modified code is:
String[] as = null;
Number[] vNumber = null;
Number[] vNumberrespid = null;
Number reqidnumber = null;
reqidnumber = new Number(Integer.parseInt(reqid));
Connection txn = getOADBTransaction().getJdbcConnection();
String mCreateSearchRequestStatement = null;
OAViewObject vo = (OAViewObject)findViewObject("RespLineVO1");
int j = vo.getFetchedRowCount();
try
System.out.println("abouce try");
vo.reset();
if (vo.getFetchedRowCount() > 0)
System.out.println(String.valueOf("Fetched row count ").concat(String.valueOf(vo.getFetchedRowCount())));
int i = 0;
as = new String[j];
vNumber = new Number[j];
vNumberrespid = new Number[j];
while (vo.hasNext())
vo.next();
System.out.println(String.valueOf("Inisde the do while loop").concat(String.valueOf(i)));
vNumber[i] = (reqidnumber);
vNumberrespid = ((Number)vo.getCurrentRow().getAttribute("ResponsibilityId"));
as[i] = String.valueOf(vo.getCurrentRow().getAttribute("ResponsibilityName")).concat(String.valueOf(""));
System.out.println("Request ID "+reqidnumber[i]);//getting null even there is some value selected
System.out.println("ResponsibilityId "+vNumberrespid[i]);//getting null even there is some value selected
System.out.println("Resp Name "+as[i] );//getting null even there is some value selected
i++;
CallableStatement cs = txn.prepareCall("{call XX_PassTableType.XX_PassTableType_prc(:1, :2,:3)}");
ARRAY array = new ARRAY(new ArrayDescriptor("APPS.JTF_NUMBER_TABLE", txn), txn, vNumber);
ARRAY arraynew = new ARRAY(new ArrayDescriptor("APPS.JTF_NUMBER_TABLE", txn), txn, vNumberrespid);
ARRAY array1 = new ARRAY(new ArrayDescriptor("APPS.JTF_VARCHAR2_TABLE_100", txn), txn, as);
cs.setArray(1, array);
cs.setArray(2, arraynew);
cs.setArray(3, array1);
cs.registerOutParameter(3, 2003, "JTF_VARCHAR2_TABLE_100");
cs.execute();
ARRAY error = null;
error = (ARRAY)cs.getArray(2);
if ((error != null) && (error.length() > 0))
System.out.println(String.valueOf("Error is ").concat(String.valueOf(error.getArray())));
String[] retError = new String[j];
retError = (String[])error.getArray();
System.out.println(String.valueOf("Error in saving data").concat(String.valueOf(retError[0])));
cs.close();
catch (Exception exception)
throw new OAException("code blast", OAException.ERROR);
Thanks,
Sombit -
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 Rows In Pivot Table
Hi All,
how to Restrict the Row in the Pivot table.
My Requirement is like this.
i have to show the top 10 values in the pivot table but My report is show all the values.
how can we achieve this.
any quick solution for this appreciated.
Thanks,
Yogi.Yogi1729 wrote:
Hi All,
how to Restrict the Row in the Pivot table.
My Requirement is like this.
i have to show the top 10 values in the pivot table but My report is show all the values.
how can we achieve this.
any quick solution for this appreciated.
Thanks,
Yogi.You can't really restrict the rows in a pivot table, but you can do this:
http://oraclebizint.wordpress.com/2008/01/17/oracle-bi-101332-pagination-in-pivot-tables/ -
How to restrict the GR for Production Order when Goods Issue is not done
Hi Gurus
How to restrict the GR for Production Order when all the required components for production order are not issued with all required quantity. Even for partial issue system should not allow GR with 101. The user status with RMWA, RMWF & CGFB is not working.
Pls suggest best solution.
Abhijit.Hi,
You can club together the GI nad GR at the time of confirmation..
I.e Backflush for the components and auto GR for the Product.
So that you can stream line the Process.
The best Option would be to use the User Exit:
Enhancement - MBCF0002
Functional Module - EXIT_SAPMM07M_001
Include - ZXMBCU02
Refer below link for further details..
How to stop the goods receipt before issueing the goods for production orde
Regards,
Siva -
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 delivery quantity not more than target quantity?
Dear Gurus,
How to restrict the delivery quantity not more than target quantity in a scheduling agreement? I think there are 2 methods.
1. I found that setting 0 in Overdelivery Tolerance Limit in Info Record is not effective. Why?
2. I want to set E for the message but can't find the place. The message is generated when entering and saving quantity as delivery quantity that is larger than target quantity. How can I set E to a message (067, as I remember)
Any other effective method? Please advice. Thanks.
Regards,
DavidDear all,
It is not OK after checking everywhere you mentioned. I tested in 2 clients. In the development enviroment client, it works whatever E or W. In test enviroment, it does not work (meassge is W).
I think there must be somewhere besides of those you menetioned.
I notes that SAP help for the overdelivery tollerance setting of scheduling agreement:
Overdelivery Tolerance Limit
Percentage (based on the order quantity) up to which an overdelivery of this item will be accepted.
Dependencies
If you have set the indicator in the Partial delivery/Item field to 'D' (partial delivery allowed), this takes priority. It makes no sense to define a tolerance limit for overdelivery in such case.
Where can I see: 'the indicator in the Partial delivery/Item field to 'D' (partial delivery allowed)'? I want to check it.
Pls help! Thanks.
Regards,
David
Maybe you are looking for
-
n
-
IPad frame on projector too small
I'm connecting my newest iPad to an Epson projector (powerlite home cinema 710hd) using an adapter. I think it's this one, http://store.apple.com/us/product/MD098ZM/A/apple-digital-av-adapter, but I'm not entirely sure. It certainly looks just like t
-
In the upper right of the display screen, it shows "Wed 8:13 AM EDT." How can I get it to add the date also so I don't have to click on it to see the date? Thanks.
-
How to resolve unindexed search
Knocking up some perl to do a search for all users in our ldap dir who do not have the attribute dspswuserlink set. Error log is showing [30/Nov/2005:11:19:45 +0000] conn=109915 op=1 msgId=2 - SRCH base="o=kent.ac.uk,o=uni" scope=2 filter="(!(dspswus
-
Clean migration from internal drive to 2nd internal
My hardware and software have always been tidy compared to others (judging from questions posted here, elsewhere, and seeing/using other people's Macs). However, after upgrading to Leopard, a couple of quirky problems have been driving me nuts -- pro