Duplicate record should not allow to enter
hi
i have three columns
sno Number;
in time date;
out time date;
this is the multiple taulat layout :
User enter at run time values like this :
1 01:15 03:00
1 01:15 03:00 Here second record User should not allow to enter same Sno for Same In time and End time
Before entering the data the total no of records : 0
can u give me any suggestion.
how to validate the columns.
If you have a Unique Constraint on the table for these there columns it will prevent duplicate records.
1 01:15 03:00 Here second record User should not allow to enter same Sno for Same In time and End timeBy "Second User" do you mean a user in a seperate Forms Session? If so, there is no way to check if the user in session 2 is entering a duplicate of a record entered by a user is session 1 accept through the use of a unique constraint on the table.
There are methods available for checking for duplicates in the same Forms Session. Check out: Avoid duplicates in the same block and Forms: Record Group Processing (Duplicate Value Checking) for more information.
Hope this helps,
Craig B-)
If someone's response is helpful or correct, please mark it accordingly.
Similar Messages
-
Without result recording closing system should not allow for usage decesion
Hi
without result recording closing system should not allow for usage decision.I think it is possible through user status. Please tell the procedure .
Thanks and regards,
vairavanDear vairavan,
You can check for the authorisation object.I can't remember that authoriation object right now.But surely you can restrict that with authorisation object.
Anyone knows the authoristaion object.
Regards,
Sunil Patil -
Restrict the user should not allow to select No Excise entry tab in MIGO
Hi
how to restrict the user should not allow to select No Excise entry tab in MIGO
if the material Excisable user can bale to select the No Excise entry tab in MIGO . my requirement .... if the Pop come Please enter Excise Invoice number and Excise Invoice Date user should not change the No Excise how to restrict pls advise me
@sakhiThese are the options provided by SAP keeping in mind Indian Scenario. Sometimes, vendor forget to send excise invoice copy with the material, in such case, you can select 'Only Part I'.
Even if you have maintain vendor excise details & material excise details (By mistake) in J1ID, system will throw an error message, excise invoice value is zero. In such case, we can select option 'No excise entry'.
Your requirement can't be fulfilled in standard way. Even if you go for any Z- developement, you will lose the option. -
Solution for Bug 13412084: RESTRICT PAYMENT: IT SHOULD NOT ALLOW PAYMENT BE
http://attiqahmed.wordpress.com/2012/03/20/solution-for-bug-13412084-restrict-payment-it-should-not-allow-payment-before-invoice-accrual/
hello sir Octavio
Im sorry.. I failed to tell you that our encoder of invoices is separate from the one who entry for payments.
Therefore, the encoder uses the invoices batches[(N) Invoices>Entry>Invoice Batches] whereas the Paymaster(the one who entered payments?) uses the Payments [Payments>Entry>Payments]
By the way your suggestion did work to disable the Pay in Full checkbox.. but i decided to get rid of the actions button for the encoder.. and another person will be handling the validation and create accounting having such access.
So what i wanted is that the paymaster wouldn't be able see among the LOV of invoices at the Payments Form if its not created accounting.
I wanna make sure that all invoices are created accounting.
thank you so much for the understanding..:-)
Emgee -
Dear All,
How to disable Refresh,Reload in browser and end user should not allow to multiple browser sessions in portal.Where we need to configure the settings or any code in masthead or any other component. My server version is 7.4 - SP5 .Please help us.
Thanks for advance,
BR,
Durga Rao.Dear all,
i am able to logoff the click refresh button on keyboard.I am using this code to log off the user into the portal.
document.onkeydown = function(e)
var key;
if (window.event) key = event.keyCode
else
var unicode = e.keyCode ? e.keyCode : e.charCode
key = unicode
switch (key)
{ //event.keyCode
case 116: //F5 button
LSAPI.sessionPlugin.logoff();
event.returnValue = false;
key = 0; //event.keyCode = 0;
return false;
case 82: //R button
if (event.ctrlKey)
LSAPI.sessionPlugin.logoff();
event.returnValue = false;
key = 0; //event.keyCode = 0;
return false;
case 91: // ctrl + R Button
LSAPI.sessionPlugin.logoff();
event.returnValue= false;
key=0;
return false;
Thanks.
But i am unable to control the multiple windows opening the browser.So any one can tell me the how to block the new window and new tab/duplicate tab option.
BR,
Durga Rao. -
Final GR should not allow if COGI exist.
Hi SAP Gurus,
SAP should allow COGI for all the phases , But at the time of conforming Final Phase if COGI exist in previous phase then system should not allow final phase conformation. i.e. Final GR (Movement type 101) should not allow.
What is the configuration required to make it possible
Best Regards,
Parag Save.Parag,
There is no Standard Setting or Functionality available to perform this, how ever you can look at using the Confirmation related user exit, in the user exit you need to put your code to check AFWW table for the order,if records are found, give an error message and terminate Confirmation.
Hope this helps...
Regards,
Prasobh -
System should not allow PO beyond Maximum price.
Gurus,
My requirement is as follows:
I have a material which has a Max Purchase price of 100.Now whenever I create a PO system should not allow me to create a PO beyond 100.
Pl suggest a way out
SNHi,
According your rquirement while creating PO , material price ( that should be a condition based) does not cross your price limits,
In PO we have number of conditions like
Gross price
Discounts
Surcharge
etc........so on
for each condition type we can give upper limit while maintaining Material-Vendor info record(vendor -material specific).for this combination only it's works.
Regards,
Venkat -
System should not allow to delete PO line Item after GR/IR
Hi,
I am working on a SAP Retail Implementation project.
Currently the system is allowing us to delete the PO line items after doing GR or IR against that PO line item. But the clients requirement is that the system should not allow to delete PO line item after doing GR/IR.
We are using Account Assignment Category-N, Item Category-S.
Please let me know if you have the solution for this requirement.
Thanks in advance
Thanks & Regards,
SureshHi,
Standard SAP will not allowed the PO to be deleted once it was GR done. The controlled is on the attributes of message to set as "E"
Message no. 06115
But if invoiced takes place, the is the point that PO can be deleted.
You have to do have a Enhancement using MM06E005, insert you logic here to check PO history tables like EKBE, then check if invoice " Q" (BEWTP) exist, the PO cannot be deleted once the user delete the PO line and SAVE it. Ask you developer to help you on the following coding.
Use MM06E005 and EXIT_SAPMM06E_012
IF SY-TCODE = 'ME22N'.
IF sy-ucomm = 'MESAVE' OR SY-UCOMM = 'YES'..
LOOP AT TEKPO.
IF TEKPO-LOEKZ = 'L'.
SELECT SINGLE BELNR FROM EKBE INTO BELNR1 WHERE EBELN = TEKPO-EBELN AND EBELP = TEKPO-EBELP AND BEWTP = 'E'.
IF SY-SUBRC = 0.
SELECT SINGLE BELNR FROM EKBE INTO BELNR2 WHERE EBELN = TEKPO-EBELN AND EBELP = TEKPO-EBELP AND BEWTP = 'Q'.
IF SY-SUBRC = 0.
Regards, -
After creation of PO system should not allow to change the price in PO
Hi There,
In my scenario once PO is created then after send to vendor PO print document,Users are changing the price in PO.so system should not allow to change the price in PO once PO got saved.
So please advice.Hi,
you could set in customizing for field selection keys the net price
to display for ME22N so that changes can not be made
(transaction OLME -> purchase order -> Define Screen Layout at Document Level).
Please check that you have set all the relevant field selection
groups to display: AKTV, ME22, ME22N... (read and apply note 30316)
Other workaround is try to do by yourself with the badi
ME_PROCESS_PO_CUST and send your own error message.
Regards,
Edit -
ADOBE Interactive Form in webdynpro not allowing to enter value
Hi,
I have developed a Adobe interactive form in SFP and then i developed webdynpro component , then integrated into webdynpro. while running the webdynpro application which is showing the adobeform but the input fields are not allowed to enter value.
The same adobe form can be allowed to enter values while running from the report. i dunno how to set the value of the importing parameter fillable = 'X' in webdynpro.
regards,
RoopsHi friends,
The above mentioned setting are all active like Zc...Layout, enabled check box etc.. but when i make it to Activex which is not displaying form in the portal while running the application instead it shows red color X mark.. is there any setting required to run adobe with webdynpro ..
1.) any notes or patches ???
2.) is activex mandatory for running interactive form in webdunpro? if yes what are system setting required....
Regards,
Roops. -
Residual payment should not allow more than Vendor Invoice
Hi,
Eg: Vendor has booked invoice 5000 INR, when user make payment through F-53 or F-58 through "Residual" payment user can pay more than invoice 5002 INR and below accounting entry is posting.
Bank Cr 5002 INR
To Vendor Dr 5000 INR (Invoice amount)
To Vendor Dr 02 INR Excess than invoice
Business requirement is system should not allow pay more than invoice amount. How to control suggestion would be appreciated.
I have done below settings for your understanding here system configuration.
1. OBA3: Under "Permitted Payment difference" zero for Gain , Loss , Amount, Percent & Adjust Discount By However "Permitted Payment Differences for Automatic write-Off(Function code AD)" zero.
2. OBA4: Cash discount per line item: Zero and Under "Permitted Payment difference" Revenues, Expense, Percent & Cash discount put Zero.
Regards,
Babu.Hi Prashant,
I have restricted many fields to use through screen variant now user can not pay more than Invoice amount except through Residual payment process.
Client side management strongly says that they want to use Partial and Residual payment process options but user should not allow pay more than invoice amount.
If any solution please guide me.
Regards,
Babu. -
You are not allowed to enter a tax jurisdiction code for country US
Hi All,
We are having this message popping up "You are not allowed to enter a tax jurisdiction code for country US" when we try to add an item to a shopping cart. SRM 4.0 Classic scenario.
Also when i process the shopping cart and create a PO out of it, our R/3 4.6C dosnot let me release the PO and error message is :"no tax jurisdiction code found"
I have looked at some of the earlier threads but i could not find a definite solution. Has anybody faced similar problems? Please let me know !
Thanks
SundeepHi Sudeep,
How did it work? Do you have to implement any BADI's or SRM or R/3 side? As we are getting same error while creating Shopping Cart in SRM.
I have checked the plant data in R/3 and Jurisdiction code has been maintained there.
Please advise
Thank you
Ritesh -
Without standard release confirmation should not allow in process order
Our clients need is that without standard release confirmation should not allow in process order.
We are using CORK,cor6 and MB31 My need is to apply user exit in all cases.
I got input from sdn User exit:-PPCO0006 Function module Exit_SAPLCOZF_003
INCLUDE ZXCO1U06
I need to activate this only during confirmation.ie confirmation to be avoided if cost is not released.
Regards,
PertHi,
You are right. For preventing confirmation in case std cost estimate release is not available you need to do enhancement. You can check for following exit along with exit which you mentioned in your post :
Enhancement CONFPI05
EXIT_SAPLCORF_405 - Process Ord. Conf.: Cust.-Specific Enhancements when Saving
INCLUDE ZXCOFU10
Check either of the enhancements which may fulfill your business requirement.
Regards,
Tejas -
How to write validation in java sript item should not allow more than 20 ch
HI,
I need to write validation in java script for a item it should not allow more than 20 characters.
Thanks
NrIf this answers your question, please mark your question as answered (so everyone knows it is answered) and assign points where you see fit..
Thank you,
Tony Miller
Webster, TX -
Should not allow more than one attendance or absence code on any given day
Hi Hr Experts ,
I need to use customer enhancement in my program.
CATS should not allow more than one attendance or absence code on any given day. requirement is
that each day will be either a full attendance or full absence and there will not be any mixture.
Function/Program: u2022
EXIT_SAPLCATS_006: CATS: Validate Entire Time Sheet
transaction code CAT2.
how to code the same?hai,
check the Time constraint class for absence/attendance types.
Regards,
Chiran Reddy.
Maybe you are looking for
-
HP Officejet Pro 8600 Plus suddenly has scan malfunctions
I have an HP Officejet Pro 8600 Plus which has worked fine up to one week ago. Now and for no apparent reason the scan function has decided to work intermittently. Whenever I use the HP software and use the scan option, the scanner starts up and does
-
How do I install CS6 Design Standard on a 13" Macbook Pro with no disk drive
I have the serial code from online registration but dont know how to install without the disk!
-
No values in the dropdown for Adapter Engine
Hello Colleague, While configuring a sender adapter engine in the integration directory, there are no value displayed when we select an Adapter and do a dropdown on the "Adapter Engine" Field. Could you pls. help. Regards, Gajendra.
-
How to use a third party automation server
I would like to use the methods of another application. The application exposes the methods through an automation server. How can I use this automation server in Labview? Do or do not, there is no try
-
When I sync my 755P I keep getting the following error message (see log below) - can anyone help??? Not sure what "restore synchronization is" and not sure what the rest means - yet it says the operation was completed. Restore synchronization failed