User restriction to chnage condition value
HI Friends,
My requirement is such that in Pricing I have got a Item discount Condition Type say A004 which has beed configured in the condition type settings in such way that for it manual entry has priority. Now there are 3 users ( A,B and C) who create the sales order in an organization but the business wants that only one user, say user A should have the authority to change the value of the condiion type in the sales order. For the rest users ( Users B and C) the system should not allow to change the value of the condition in the sales order.
How to configure this,
J Nagesh.
Hi
This can be achieved in two different ways
One is Roles and authrorizations as suggested earlier
Another is through userexit
Check this link
http://wiki.sdn.sap.com/wiki/display/ERPLO/UserexitforRestrictingUserModifyingConditiontypeinSales+Order
Same issue we have addressed through userexit in our project
Regards
Raja
Similar Messages
-
Restrict display of Condition Value in the Conditions tab in Purchase Order
Dear All,
We have a requirement that in the Conditions tab the condition value column should be displayed as blank to users other than those related to Purchasing and Costing.
I have checked that there are no standard authorization objects to restrict these.
Any inputs on how to achieve this?
Thanks!
TejasavHi,
you can influence fields using BADI ME_PROCESS_PO_CUST. I don't think that you can disable just your field but you should be able to hide whole tab "Conditions". So you can perform your own authorization check in implementation of this BADI and then display or hide tab.
Cheers -
BADI/USER-EXIT to chnage the value during MIRO
Dear Sir,
We need some help as what BADI / USER_EXIT is available which can allow to change the value during MIRO .
Our business requirement is that during MIRO , we need to populate the PO Number in the Assignment field .
Pl guide us about the availibility of BADI / USER_EXIT and the sample code to implement the same .
We assure to award full points for the suggested solution please .
Regards
B MittalDear Mr Eli Klovski
Thanks for reply . We have already defined sort key as 14 , but in MIRO posted FI document it is not populating PO number . So we need to go for BADI/User_Exit .
As per SAP note 392342 , INVOICE_UPDATE can not change the value in MIRO .
Regards
B Mittal -
Getting header data (condition values) for shipment
For the shipment VI03, the user wants the header Condition values(KWERT) corresponding to condition values(KSCHL).
Some of the condition type having values in item level but these condition types are not maintained in header level, so they want for these condition types values should be Zero.
As I am taking condition values for PRICING function module, it will display at sub-item level values depending on condition values.
Please let me know is there any functiona module or table exist where header data is directly mainatined(Condition values & Condition type).
Thanks & Best Regards,
MaheshFirst find the related salesorder using:
VBFA
VBAK-VBELN = VBFA-VBELV
LIKP-VBELN = VBFA-VBELN
VBFA-VBTYP_N = 'J'.
or
LIPS
VBAK-VBELN = LIPS-VGBEL
After that, with the order, get condition number in VBAK and then search KONV.
VBAK-KNUMV -> KONV-KNUMV.
Regards.
Valter Oliveira. -
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 user to not enter same value in tabular form
Greetings !
i m asking second time the questiion because i was not answered preivously, so please dont mind if it is a duplicate one,
question was: i created tabular form as shown in example.
i want to validate username as you see in my example to restrict user to enter the same value in username field before submit page.
e.g when user is entering data as u see test in username in first row, when he/she goes to second row and type the same username like test " message will appear or restrict user that already typed or in use"..
http://apex.oracle.com/pls/apex/f?p=45296:1:22797340776918:::::
this all be done on typing before submit record.
please gudieHi,
i m asking second time the questiion because i was not answered preivously, so please dont mind if it is a duplicate one,question was: i created tabular form as shown in example.
i want to validate username as you see in my example to restrict user to enter the same value in username field before submit page.
e.g when user is entering data as u see test in username in first row, when he/she goes to second row and type the same username like test " message will appear or restrict user that already typed or in use"..
http://apex.oracle.com/pls/apex/f?p=45296:1:22797340776918:::::
this all be done on typing before submit record.>
Stick the below code in the Page Header > Javascript > Execute when Page Loads field.
$('[input[name="f03"]').blur(function(){
if ($('input[name="f03"][id!="'+$(this).attr('id')+'"]').val() == $(this).val()) {
alert('Duplicate Entry.');
var x = $(this).attr('id');
setTimeout("(function(p){$('#'+p).focus();})('"+x+"')",100);
})Note :
a.f03 is the "name" of your username column in the Tabular form.
b. This validates only the displayed values . If your Tabular Form has multiple pages then all the rows not currently displayed will be ignored.
Cheers, -
Restricting User to Enter Only Date Value
Dear Expertsl,
Can we restrict users to insert only date value (in RRMMDD format ) in a column whose data type is number,
Note that i cannot modify the column because there are already values entered in the column and cannot delete it.
RegardsTry to convert it to a date in the WHEN-VALIDATE-ITEM-trigger, if it works, its a date, like
DECLARE
dt DATE;
BEGIN
dt:=TO_DATE(:THEITEM, 'MMYYYY');
EXCEPTION
WHEN OTHERS THEN
-- Show error message
-- then raise error
RAISE FORM_TRIGGER_FAILURE;
END; -
How to update condition value using e1edp05 segment during order creation
Hi,
I have a requirement where I need to update the item level condition value (komv-kbeter) to the condition type (komv-kschl) from the incoming idocs (orders05).
But the same is configured in such a way to populate automatically with the default condition value zero during the order creation level using VA01 at condition tab.
I am able to populate condition values from incoming idoc using segment E1EDP05 which is good, but it was getting created as new entry with the same condition type instead of updating the condition value to the existing condition type(which got populated from automatically from configuration) .
So I want to restrict to one entry instead of two with same condition type. Is there any userexit/gap to restrict automatic population of condition type thru programming or to update with idoc (orders05) value rather than inserting as new row?
My client doesnt want to restrict the pricing automation from configuration. So I have to handle through programming level.
Your inputs are appreciatedIt doesn't really matter if it's a credit/debit memo, it's the same transaction anyway and pretty much the same functionality. What is your requirement exactly? Do you always have to override the price from Siebel or, let's say, some price is automatically proposed and you might or might not need to override it?
We use a custom (Z..) condition for price override. When a material is entered in VA01, some price (condition PR00, for example) is assigned automatically. Then, let's say, a special price has been negotiated with this customer just for this purchase. So the user goes into Conditions, types in condition code Z... and types in the new price. This basically annuls the previous PR00 condition. I'm not a functional consultant and can't give you all the config details, but your SD person should be able to help.
I'm still positive that conditions cannot be removed or changed by IDoc. One thing I would suggest for your situation: do not create ZCD2 condition initially and then just add ZCD2 condition when you receive the data from Siebel. Otherwise it seems that you would have to write a user exit or a requirement to deal with the duplicate conditions. -
Restrict new price conditions in the return order and credit note
Dear Expert
We are facing a scenario where we make return order; the Price is copied from the invoice. And it is working perfectly. The system does not allow us to change the price.
The issue we are facing here is that user can input new condition like discount /premium and change the net value for the return order pricing, and this will reflect in the credit note for returns.
Is there a way to restrict the user from entering any pricing condition in the header or item conditions tab.
although we cannot change the original price coming from invoice referenced for return order, but the user can input new price conditions as below. This must not be allowed.
The price must come according to the Qty being referenced.
While making the credit for returns, the user has a chance of further making changes to the net value by adding new conditions. Hence this must also be restricted for any changes.
ThanksHi
Firstly,In copy control maintain anyone of the pricing types
D: Copy pricing elements unchanged
E: Copy pricing elements and values unchanged
To avoid all these things go with USEREXIT_FIELD_MODIFICATION but before going with the user exit,also check with transaction variant SHD0.
Regards
Srinath -
Max condition value - exceeds while creating a SO
Hi All,
I have a requirement which we are trying to meet up by a solution:-
Requirement:-
A fund value (e.g. 1,00,000) is to be allocated on a particular spend which is offered to customers (e.g. discounts)
So as and when the discounts are offered on the customer orders (SO) the funds value should get depleted
this process goes on and the discounts are offered to the customers, but the total discounts offered till date has reached (98,000), hence when a new order where the discount offered is lets say (5000) it should not allow user to offer it, since it should not go beyond the total fund value i.e. (1,00,000)
Solution:-
Setup:-
A condition type for discount ZCDS is created with "condition update" flag marked
In the condition records of the above condition --> Additional sales data --> Max condition value we will put the total allowed fund of 1,00,000
Transactions:-
Mutliple SO's are created with ZCDS discounts condition types ((1) 30,000 2) 30,000 3) 30,000)
Now in the cumulative values of the ZCDS condition record shows 90,000 for the above 3 orders
Now a new SO is being created with ZCDS valuee of 30,000... IT SHOULD NOT ALLOW TO POPULATE THE ZCDS - CONDITION VALUE OF 30,000 IN THE SO, SINCE IT WILL EXCEED THE TOTAL FUND AMOUNT OF 1,00,000 WHICH IS ALREADY ASSIGNED IN THE "MAX CONDITION VALUE"
ISSUE:-
I am able to create a 4th SO with 30,000 in ZCDS condition type which is updating the "cumulative values" (1,20,000) in the ZCDS condition records as well
QUESTION:-
Can the above scenario met through the solution we have proposed ?
Will the max condition value of 100000 not restrict the condition value in the SO since it is exceeding it ?
Please suggest in case i may have to configure setup additional in it
Appreciate quick replies!
Jimit ShahHi
This maximum condition value i have tested some time back
But my results were quiet different
In your example for the 4 th order , when i tested system was taking only 10000 ( the balance of the max condition value)
If we create another order say 5 th order, then for that condition type ZCDS system was taking ZERO value
So it was limiting to the maximum of 100000
But it was allowing us to create N number of orders ( after max condition value was reached )
For those extra orders system was taking zero value for ZCDS ( which i think is meaning less)
When i find time i will test this once again and come back to you
I tested this once again today and found that once the maximum condition value is reached for the rest of orders system was taking the nett value as blank
This is the same with my earlier findings
In your example system will not take it to 120000 if the maximum condition value is set to 100000
If that is happening then there is problem somewhere
and in the condition item details analysis system very clearly tells that MAX value is reached for that condition
MAX condition value is working perfectly
Regards
Raja
Edited by: ramanathan raja on Feb 11, 2011 3:56 PM
Edited by: ramanathan raja on Feb 11, 2011 4:04 PM -
Condition Values different fro Billing and Excise Invoice in some cases
Hi All,
Excise Invoice for domestic sales is having different condition values.
I am scenerio like this when Billing doc manually VF01, excise Invoice in generated automatically and condition values
were corrrect.But when I create Billing Document using BAPI in program, Excise Invoice is not generating,then
we are running BDC for T-code J1IIN and creating Excise Invoice.Excise Invoice generated in second case (by BDC)
is having wrong condition values.
Can anyone explain why it is happing.Is there any user exist to copy Billing Doc condition values to Excise Invoice?
Thanks in Advance ,
RayuduThanks for you response Lakshimipathy.
The above mentioned configurations were all ready done.Excise Invoice is getting generated when we create Billing Doc online.
Problem here is Excise invoice is not getting generated automatically when Billing Doc is created by our program,so we were running BDC code to created excise Invoice.
Condition values ( Duties :AED,Ecess,SHEcess) were getting calculated wrongly in excise Invoice which is created by running BDC code in program. But the Excise invoice which was created automatically while saving Billing doc manually is having correct condition values. But the billing document condition values remain the same & correct for both.
Regards,
Rayudu -
How can i restrict the Expenditure Type values at a specific OU ?
Dear Guys,
I would like to ask about the Expenditure Types,
I have implemented two projects for different Operating Units ,
when navigating to any Projects responsibilty,and navigating the Expenditure Type field
the values exist are all the values implemented across the OU not the values entered at this OU
How can i restrict the Expenditure Type values at a specific OU
Regards
Amr HussienHello
When you set up a project there is an option called Transaction Control.
This option allow you to list the allowed or restricted elements of costs for the project.
You may enter the transaction control on a project template and that will be copied to any new project.
The cost elements may be expenditure types, expenditures categories, suppliers, employees, etc.
In your case, I suggest to set up specific project templates for each operating units. On each template enter the list of allowed expenditures types for that OU.
Doing so, the system restricts users from entering any expenditure item, supplier invoice, purchase cost etc, against an expenditure type, which is not allowed.
Dina -
Extracting Purchase doucument Item condition value (Urgent)
Hi Gurus,
Currently, I am extracting purchase order item level data using 2lis_02_itm DS in which the extract structure is modified with fields which are fetching data from Condition Type (KSCHL), Condition Value (KWERT), etc., field at run time for which code is written in CMOD.
Now, user requirement is some what like this: they maintain KWERT for one of the condition type after a week/a month or 2 months (not fixed) of PO creation date.
Problem: In current extraction the data is comming for all the values changed or records added at item level (like material number, quantity, value, net value, etc.) but its not extracting the change in Condition Value (KWERT).
<b>Please explain why?</b>
Also, I tried to create a view based on the tables EKKO, EKPO and KONV but since KONV is pool table it's not allowing to create one.
Tried to create function module by changing standard function module RSAX_BIW_GET_DATA_SIMPLE_1 and passing an custom extract structure created with only few (required) fields. The problem with this one is that in OPEN CURSOR ..... area when I am trying to write select statement which contains INTO clause, its giving error while checking where as query is working when tested as a report output.
<b>Also, pls. let me know weather any provision is available on extraction of Condition data for each item in a PO is available in SAP's standard DS or BC. The one like they have condition level DS for application area SD.</b>
for any further details pls. let me know.
Thank You in advance.
Points will be awarded to satisfying answer.
Regards,<b></b><b></b>Good afternoon Joshi,
It is unfortunnatelly very normal that the changes of the conditions are not loaded into BI... When you enhanced a DS, all the fields you add are simply calculated for each line that are in the delta queue. Here the change of a condition is not recognize as a change for BI, so no record is created in the delta queue so you extra fields are not calculated...
The simplest way to check on which field a change is triggering a record in the delta queue is to check the fields in the extract structure in transaction LBWE for your datasource.
One solution might be to assign one of the sub-totals to that condition (if you already use the 6 available sub-totals I remember that there was a way to create some extra ones...)
If this does not work, to extract data from a pool table, you can always create in infoset query in transaction SQ01. To my knowledge there is no BC datasource for PO condition.
hope it helps,
Rodolphe
I do not think -
ABAP code in to JAVA for overwritting condition value for IPC pricing
Dear experts i am an IPC JAVA developer and i am trying to translate an ABAP Routine in to JAVA code for overwriting condition value in the pricing user exit of IPC
Here is the ABAPcode segment i am trying to transulate
DATA: l_kdkg1 LIKE komk-kdkg1,
l_work TYPE f,
l_umren LIKE marm-umren,
l_umrez LIKE marm-umrez.
SELECT SINGLE peinh FROM mbew INTO mbew-peinh
WHERE matnr = komp-matnr
AND bwkey = komp-werks.
I need some help in the following things
1. I don't know how to transulate the following Line of ABAP code into JAVA
" AND bwkey = komp-werks."
Bwkey stands for plant details. I don't know how to get plant details from Pricing Item.
2. Someone please tell me weather the following JAVA transulation is correct
Vector x = prItem.getUserExitConditions();
db database = pricingEngine.getDatabase();
// set table name
String tableStart = "mbew";
// set query parameters
sys_query_pair[] queryPair = null;
//matnr = komp-matnr . Getting the material Number
String materialNo= prItem.getProduct().toString();
//bwkey = komp-werks.Getting plant.
// TODO: werks stands for plant. Not sure how to get it from prItem
String plant = "";
queryPair = new sys_query_pair[2];
queryPair[0] = new sys_query_pair("matnr", materialNo);
queryPair[1] = new sys_query_pair("bwkey", plant);
// set query columns
String ZZFIELDStart = "peinh";
String ZZFIELD_VALUEStart;
String[] projectionStart;
projectionStart = new String[];
BigDecimal pricingUnit = null;
try{
// execute query
res resultSetStart = database.db_read_table(tableStart, queryPair,projectionStart) ;
if (!res.db_empty_results_p(resultSetStart))
ZZFIELD_VALUEStart = resultSetStart.db_get_row_element_string(0);
pricingUnit = new BigDecimal(ZZFIELD_VALUEStart);
resultSetStart.db_finish();
else
System.out.println("Coudn't find a value of field peinh in table mbew!");
catch (exc_database_error e)
e.printStackTrace();Please login to the server where IPC is installed. In the IPC folder u find libs folder or search for docs in IPC folder. There it is dealt how ABAP routines are mapped to user exits in java coding
Thanks
Surya -
Change of Condition Value in PO after MIGO
Hi Gurus!
I want to change the condition value after migo. I have a scenario in which we have lots of purchase orders which are received.
Unfortunately user has mentioned a wrong value in the tax. We want to change the value of tax in the purchase order after cancelling the MIGO document. But the system is not allowing me to do the changes. I also deactivate the release as well through ME29N.
Regards
ImranHi,
For changing the tax value, you need to change the tax code to the one that has the correct tax % configured. You can use transaction FTXP to find out the tax rates assigned to tax codes. For changing tax code it it not necessary to cancel already posted GRs
Ramesh
Maybe you are looking for
-
11.1.2 High Availability for HSS LCM
Hello All, Has anyone out there successfully exported an LCM artifact (Native Users) through Shared Services console to the OS file system (<oracle_home>\user_projects\epmsystem1\import_export) when Shared Services is High Available through a load ba
-
Hi, I am trying to index image signatures (Using version 9.2 ), but I get the following error report: java.sql.SQLException: ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine ORA-01658: unable to create INITIAL extent for segment
-
Need to create the document with originals and checkin that document
HI Guys, My requirement is to write a method to create the document with originals and checkin that document of DMS. Plz suggest the approach to get this requirement solved. Regards, RSK
-
Manually configure the Oracle 10g EM dbconsole
Hi, I need to configure manually the OEM 10g installend on Unix. I don't have the dbsnmp and sysman passwords. What can I do to reconfigure the OEM? Tks for your assistance, Serg
-
SMTP issues for ports 25, 993 and 995
I recently became suspicious that I wasn't getting mail addressed to [email protected] or [email protected] and I have become even more suspicious the past couple of days when I have received email in my Mail account on the iPod Touch but those email