Set validation at PA30
Hi experts;
I have a serious issue hope someone can kindly help.
we have two types of employees at the customer site type which are working in the administration and there salaries expenses are to be posted to GL accounts start with 4 and another type for the employees who are working on the operations and their salaries are to be posted to GL accounts start with 5 to post their expenses as cost on the projects which they r serving at it as Labor Cost.
So on the PA30 with info type 1 we set the field contract to read whether that the employee to be from administration in order to accordingly post to GL account starts with 4 assigned on a Cost Center or from Projects to post to GL account starts with 5 assigned to a WBS element.
The problem that if the user selected from the contract field on PA30 the employee to be from administration (which posts to GL account starts with 4 assigned to Cost Center) and then selected a WBS element by mistake the system does not validate that the Expenses Accounts which start with 4, a WBS element should NOT be selected. Accordingly the system posts an entry for salaries expenses for such account which start with 4 associated with WBS element which is not correct.
So I need to know if there is a way to set a validation on the PA30 or else where to give an error in case if a WBS element has been given with the type of employees which are from administration.
Thanks in advance;
Best regards;
Ahmad Mahmud;
Hi Ahmad,
You can try with Info type modification for making default of Contract field based on your employee type,
or you need make make changes in Exit EXIT_SAPFP50M_001 / 002 for controlling the PA30.
check with abaper for possibilities,
All the best,
:Kedhar
Similar Messages
-
UDF - Set Valid Values for Field
I have a UDF created in Marketing Docs / row level called UOM_Ordered (alphanumeric, length 2) using Set Valid Values for Field. Values are:
CS
IN
DZ
PC
Above are CS abrev for Case, IN abrev for Inner, DZ abrev for Dozen .................
If possible could I have say for example "IN" not to appear in the drop down if the value in OITM (UDF called U_Inner_Qty) is either NULL or a Zero? It's would be a way to stop mistakes when orders are inputted.
Any help on this would be appreciated.
Thks - ScottHello
You could try the following:
Insert a formatted search on the field, which contain conditions, ie whether the condition that the value is 0 or null, then bring the required data, while if it is not the case, applies the search formatted with the available data.
On the other hand, leave the form with all the options for disabled users. The latter through additional authorizations for users
I hope it will help
Best regards, -
Hi experts
How can we do data set validation after running csscan and csalter to ensure we have minimal data loss (if any)
any tools available
this is on oracle 11.2.0.3.0, Windows 64 bit
thanksThis is explained in MOS note Csscan output explained [ID 444701.1] that you can also find here: http://maojinyu.itpub.net/post/42658/524473.
-
Hi All
I've just create a Table Validation Value Set(XX_LOV) so what this do it eliminate all the values that have been used when you submit a request.
But now when you use the COPY Button when you submit a request it looks like it's not Validating my Values Set.
I'd like to know when Value set Validation happens or how can i force Validation.
ThanksHi Deepali,
Your understanding on special valueset is incorrect.
Special validation type is used to have a KFF combination value as a single parameter, rather than having individual parameter for each segment.
You can achieve this calculation by using a table valueset , where you can can access the values of C and D by using $FLEX$.C and $FLEX$.D
All you need is to frame a query to get the desired values for E valueset.
Please refer to the 11i Application Developer Guide for more details.
Regards
Justin -
Setting Valid Time to a point in time
What's the recommended way to set the valid time to a point in time? There are cases where we want to execute a select against Valid Time enabled tables, asking for valid records at a point in time (rather than a span of time).
I can't call SetValidTime, passing in the same begin and end date, which complains about a validTill date not greater than the validFrom.
DBMS_WM.SetValidTime(TO_DATE('05-01-2005', 'MM-DD-YYYY'), TO_DATE('05-01-2005', 'MM-DD-YYYY'));
What's the best way to do this?Hi,
You can use dbms_wm.SetValidTimeFilterON to specify the point in time that you are interested in.
SQL> exec dbms_wm.SetValidTimeFilterON(to_date('05-01-2005', 'MM-DD-YYYY')) ;
This date needs to be contained within your session's validtime range.
Regards,
Ben -
Setting validation based on condition on custom list
Hi,
I have a custom Image library. I have two custom columns created as part of metadata.
One is a dropdown choice column, which contains 2 values - "Free", "Paid".
I also have a datepicker column (date only).
I would like to set a validation based on below condition:
If dropdown selected is "Paid", then date should be mandatory field.
Can this be achieved OOB or a JSLink is required.
How to achieve this?
ThanksHi Vankatzeus,
You can achieve this using Javascript. In New and edit forms of your list, add a content editor webpart with the script explained below -
There is a PreSaveAction() function that you can use to do a custom validation. Before submitting any item, sharepoint first do the validation in PreSaveAction().
function PreSaveAction() {
//Step 1 - Read the choice and date fields.
// Step 2 - If choice is 'PAID' and 'date' field is blank { alert('Date can't be blank'); return false;} else {return true;}
In Step 1, write a script that read values from choice and date fields. You can take the script from
here and modify it just to read choice and date fields.
Cheers,
Manvir -
Thanks in advance for any help and advice. I am trying to set a validation for one field that would make sure that the amount entered is 25% of a different field. I tried setting up a validation, but have been unsuccessful. Can anyone offer any insight or solution? Thanks!
You'll need to use a script to do it. Something like this should do:
if (event.value) {
event.rc = true;
var v1 = +this.getField("NameOfOtherField").value;
if (+event.value!=(v1*0.25)) {
app.alert("The value you entered must be 25% of the value of NameOfOtherField.");
event.rc = false;
(This will check if the entered value is exactly 25% of the other value... If you meant something else, please clarify) -
Help setting validation based on route selected
If the LC form only has one submit button, how do you set a validation on submit based on the route selected when running forms in workspace?
For example, if users have the option to Approve or Reject a form, can you determine which route they have selected and validate fields accordingly? So that if "reject" is selected we can validate that the reject comment field was completed, and if "approve" is selected we can validate that the form was signed? Is there some property of the submit button or process field that makes this distiction?
Thanks for your help!You can use a JavaScript if-else statement on the preSubmit event of the button. Do a check to see which of the fields are populated, then perform the required action.
You could even hide the buttons, then if the user fills in a comment in the reject field, you simply show the reject button and keep the approve button hidden. You could have a pop-up when the form opens informing the user of the document's steps / process. -
Hello,
We can assign a role to multiple users.
Is it possible to set a validity date for this assignment, so that the authorizations through this role are available till a specific date only.
I know it is possible to do so in SU01, but if there are multiple users to a role, it will be cumbersome. I tried SU10 also, but without any success.
Please help.
Thanks in advance.
-Nandu Moreyou posted in the wrong forum.
Please post at Security -
XML Forms : Set ' Valid from '& 'Valid to' dates.
Hi,
I have created two fields in xml form for time based publishing & used "Lifetime" property for it .
With this , for first field "Valid From" i can set default value as current date by use of $locDate.
i.e. "Valid From" = current date ($locDate)
And for second field i.e. "Valid To" suggest me any solution to set default value as "current date + 7 days"
i.e.
"Valid To" = current date + 7 days
If any body have any kind of solution on this, please provide.
Thanks ,
Vishal
Edited by: Vishal Randive on Apr 15, 2009 2:17 PMHi Vishal,
did you find a solution for this? I am facing the same problem.
I was thinking about editing the XSL-Stylesheet for the form but didn't find the appropiate code for adding X days to the current date.
Thanks!
Andreas -
HELLO Experts, Please help ,after running the the below anonymous block I am geeting error mentioned in the subject :-
I am not able to understand why 'U' is coming what is the main cause for this??
DECLARE
l_category_rec INV_ITEM_CATEGORY_PUB.CATEGORY_REC_TYPE;
l_return_status VARCHAR2(80);
l_error_code NUMBER; l_msg_count NUMBER;
l_msg_data VARCHAR2(80);
l_out_category_id NUMBER;
BEGIN insert into gkaur values ('Before'); COMMIT;
l_category_rec.segment1 := 'DECAF TEST'; --l_category_rec.structure_id := 50440;
SELECT f.ID_FLEX_NUM INTO l_category_rec.structure_id FROM FND_ID_FLEX_STRUCTURES f
WHERE f.ID_FLEX_STRUCTURE_CODE = 'XXINV_COST_ACCOUNTING'; l_category_rec.description := 'ABC'; l_category_rec.web_status := NULL; l_category_rec.supplier_enabled_flag := NULL;
insert into gkaur values ('Before RUNNING API');
COMMIT;
INV_ITEM_CATEGORY_PUB.Create_Category ( p_api_version =>1.0,
p_init_msg_list =>FND_API.G_TRUE,
p_commit =>FND_API.G_TRUE,
x_return_status =>l_return_status,
x_errorcode =>l_error_code, x_msg_count =>l_msg_count, x_msg_data =>l_msg_data, p_category_rec =>l_category_rec, --p_category_rec.structure_id =>l_category_rec.structure_id, x_category_id =>l_out_category_id ); insert into gkaur values ('After running API'); COMMIT; IF l_return_status = fnd_api.g_ret_sts_success or l_return_status <> fnd_api.g_ret_sts_success
THEN
insert into gkaur values ('Hi After status validation');
insert into gkaur values (l_return_status||'-'||l_error_code||'-'||l_msg_count||'-'||l_msg_data);
COMMIT;
DBMS_OUTPUT.put_line ('Creation of Item Category is Successful : '||l_out_category_id);
ELSE insert into gkaur values ('Bye');
DBMS_OUTPUT.put_line ('Creation of Item Category Failed with the error :'||l_error_code);
ROLLBACK;
END IF;
exception when NO_DATA_FOUND
then
insert into gkaur values ('oho');
commit;
END;HELLO Experts, Please help ,after running the the below anonymous block I am geeting error mentioned in the subject :-
I am not able to understand why 'U' is coming what is the main cause for this??
DECLARE
l_category_rec INV_ITEM_CATEGORY_PUB.CATEGORY_REC_TYPE;
l_return_status VARCHAR2(80);
l_error_code NUMBER; l_msg_count NUMBER;
l_msg_data VARCHAR2(80);
l_out_category_id NUMBER;
BEGIN insert into gkaur values ('Before'); COMMIT;
l_category_rec.segment1 := 'DECAF TEST'; --l_category_rec.structure_id := 50440;
SELECT f.ID_FLEX_NUM INTO l_category_rec.structure_id FROM FND_ID_FLEX_STRUCTURES f
WHERE f.ID_FLEX_STRUCTURE_CODE = 'XXINV_COST_ACCOUNTING'; l_category_rec.description := 'ABC'; l_category_rec.web_status := NULL; l_category_rec.supplier_enabled_flag := NULL;
insert into gkaur values ('Before RUNNING API');
COMMIT;
INV_ITEM_CATEGORY_PUB.Create_Category ( p_api_version =>1.0,
p_init_msg_list =>FND_API.G_TRUE,
p_commit =>FND_API.G_TRUE,
x_return_status =>l_return_status,
x_errorcode =>l_error_code, x_msg_count =>l_msg_count, x_msg_data =>l_msg_data, p_category_rec =>l_category_rec, --p_category_rec.structure_id =>l_category_rec.structure_id, x_category_id =>l_out_category_id ); insert into gkaur values ('After running API'); COMMIT; IF l_return_status = fnd_api.g_ret_sts_success or l_return_status <> fnd_api.g_ret_sts_success
THEN
insert into gkaur values ('Hi After status validation');
insert into gkaur values (l_return_status||'-'||l_error_code||'-'||l_msg_count||'-'||l_msg_data);
COMMIT;
DBMS_OUTPUT.put_line ('Creation of Item Category is Successful : '||l_out_category_id);
ELSE insert into gkaur values ('Bye');
DBMS_OUTPUT.put_line ('Creation of Item Category Failed with the error :'||l_error_code);
ROLLBACK;
END IF;
exception when NO_DATA_FOUND
then
insert into gkaur values ('oho');
commit;
END; -
Is it possible to set valid values at run time?
Hi,
I'am using a BPM Presentation and I want to know if it is possible to set the values of a combo box depending of the value of other field in the same presentation ando if so how to do it? I tried to do somethin like:
var = fiedlValidValues()
I tried to use refreshValidValues but it says that cannot execute the action in a presentation, I don´t know wath else to do
but it doesn´t works, any idea??
Thanks in advance
Marig
Edited by: user646988 on 05-feb-2009 19:30Hi, thanks Anup
I followed your advise but i didn´t success. I have question, if I'm getting the default values of a field with a method using a query. The type field is String and I'm using it into a combo box so the method I'm using returns a String[], is something like this:
for each row in SELECT column
FROM DataBase.SYSBPM.TABLE
where var1 = var2
do
clases[] = row.clase
end
return clases
But if I use a method for the onChange property if the field how to set the default values?
I tried with
for each row in SELECT column
FROM DataBase.SYSBPM.TABLE
where var1 = field1
do
clases[] = row.clase
end
clases = claseValidValues()
But this is not working, do you have any ideas??
Thanks
Edited by: user646988 on 15-feb-2009 19:36 -
Set Validity period to internal catalogs.
Hi All,
I am trying to assign a validity period for Internal catalog on the Supplier catalog CSV2 file. I have defined the characteristic Id
as /CCM/VALID_TO and /CCM/VALID_FROM.
I am unable to upload the supplier catalog. But if I remove this fields it allows me to upload.
I tried with COMT_VALID_FROM and COMT_VALID_TO also.
The date I defined was in YYYYMMDDhhmmss.I tried with different formats of date like DDMMYY,yyyymmdd,ddmmyyyy.
Please suggest how to assign the validity period to the catalogs.
Thanks,
DeviHi Chris,
It says catalog cannot be uploaded for item.
This is error I get in SLG1.
The following exception was raised:
/CCM/CX_CONVERSION_FAILED
The exception occurred at the following point:
Program /CCM/CL_UPDATE_CONTENT_SERVICECP
Include /CCM/CL_UPDATE_CONTENT_SERVICECM00W Line 41
Other properties of the exception: Property Value
KERNEL_ERRID
TEXTID
$STACK_LVL 1
$TXT Characteristic VALID_FROM not found
$EXC_CLASS /CCM/CX_OBJECT_NOT_FOUND
$SRC_PRG /CCM/CL_CHAR_MANAGER==========CP
$SRC_INC /CCM/CL_CHAR_MANAGER==========CM00J
$SRC_LNO 32
$STACK_LVL 2
$TXT Characteristic VALID_FROM not found
$EXC_CLASS /CCM/CX_OBJECT_NOT_FOUND
$SRC_PRG /CCM/CL_CHAR_MANAGER==========CP
$SRC_INC /CCM/CL_CHAR_MANAGER==========CM00K
$SRC_LNO 86
$STACK_LVL 3
$TXT Characteristic VALID_FROM 0000000004 AI_VALID_DATE 0000000001 does not exist
$EXC_CLASS /CCM/CX_INTERNAL_ERROR
$SRC_PRG /CCM/PROCESS_PACKAGE
$SRC_INC
$SRC_LNO 0
V1 10NBC
V2 1428
%LOGNUMBER 00000000000000031567
Regards,
Devi -
Archivelink - how to set valid in only some clients, not in others?
Hi,
Were building an ASP-solution, where storage of outgoing documents will be an optional service, where the customers that choose to use the functionality will have to pay for it. Each customer will run in a separate client in the same instance.
Now, what we need to figure out is how to deactivate the functions for those customers that choose NOT to pay for the service. As the repositories are cross-client, and configuration/customizing will be as close to identical as possible in the different client, we have problems identifying how to do this. It is not a viable option to change configuration for some customers - were talking lots of clients here .
Does anyone have a proposal for how we could handle this situation?
Best regards,
Sten ErikSolved by use of exits
-
Can validation check can be set for vendor master record .
Hi Experts ,
User wants to remove two existing payment methods,instead of removing i think to set validation for the vendor master record .
can validation can be set for vendor master record ?
PLease suggest me with advice.
Thanks
PardhaHi,
To my knowledge, validation can be set up for accounting document.
Though a work around, create a validation such that
Make the user enter the Payment method to be mandatorily entered by the user.
Also, restrict the unwanted payments as well in the same validation.
In case of APP also, the payment method in the document will take precedence.
Regards,
Sridevi
Maybe you are looking for
-
Variable value is not getting set in BEx / WAD
Hi, We have a WAD report where we have selection on Comp Code which is restricted to a variable Var1. In the same WAD, a button group is used to execute a Planning Sequence, it has a filter for Comp Code which is restricted to a mandatory variable Va
-
Swf does not load flv on server
This has been asked before but it doesn't appear to have been answered... On my local workstations the swf loads and runs the flv fine. They are both in the same directory. When I upload the pair to a server (windows 2003) the swf no longer loads the
-
How take a picture of your text message
how do you take a picture of a text message you receive
-
Can't download AE, IT SAYS 'DOWNLOAD ERROR, CONTACT CUSTOMER SUPPORT 49
i'm not able to download AE, IT SAYS 'DOWNLOAD ERROR, CONTACT CUSTOMER SUPPORT 49, can you a advise?
-
Failed volume structures test using TechTool Pro
Tech tool pro not recognizing main hard drive, only the eDrive! How can I initialize the corrupt main drive?