User Exit to make Payment Term field non editable in item level .
Hi all,
User wants to make the Payment Term field in sales order as non editable and Payment terms is copied from Customer Master to Sales order.
I use user exit MV45AFZZ (USEREXIT_FIELD_MODIFICATION) to make Payment Term field non editable in header level.
I am not able to do it in item level. Pl help to to make Payment Term field non editable in item level.
Thanks,
sunil
Hi,
You can try implicit enhancement in the include MV45AF0T_TCTRL_U_ERF_AUFTRAG_I
use below code.
DATA: WA_COLS LIKE LINE OF TCTRL_U_ERF_AUFTRAG-COLS.
LOOP AT TCTRL_U_ERF_AUFTRAG-COLS INTO WA_COLS.
IF WA_COLS-SCREEN-NAME = 'VBAP-ZTERM'. " Check the field name
WA_COLS-SCREEN-INPUT = 0.
WA_COLS-SCREEN-OUTPUT = 1.
MODIFY TCTRL_U_ERF_AUFTRAG-COLS FROM WA_COLS.
ENDIF.
ENDLOOP.
It better to control it via a custom authorization object.
put a authorization create a custom authorization object so that you can restrict it for a certain users.
AUTHORITY-CHECK OBJECT 'ZTERM'
ID 'ACTVT' FIELD '02'.
IF SY-SUBRC NE 0.
LOOP AT TCTRL_U_ERF_AUFTRAG-COLS INTO WA_COLS.
ENDLOOP.
ENDIF.
Regards
Aromal
Similar Messages
-
Make the Payment Terms field only editable by a user
In the customization, itu2019s possible to make Payment Terms of a Purchase Order as display only field (Delivery/InvoiceTab - Header of a PO). This configuration applies for every user who creates or updates the purchase order. It is possible to make that only one user can edit this field as optional entry?
Iu2019ve checked on security and thereu2019s not an authorization object for this configuration. Is there any other way to do this?
Thank you.
Best Regards.Hello,
You cannot change property of field selections at user level. One way you can accomplish this requirement is by using transaction variant (Transaction SHD0).
Thanks,
Venu -
How to make Resource Forms fields non editable (OIM)
Hi all!
I would like to know if there's any way to make some resource fileds non editable.
I have one resource which is getting 3 fileds from the oim user profile. When i change the oim user profile, these values are updated on the resource form associated.
But i want to prevent the situation in which those fields are directly updated on the resouce form.
I now i can propagate those changes back to oim profile but it will be much appropiate for what we want if we just could prevent anyone from changing those values on the resource form.
Is it possible to make those fields non editable? How?
OIM version is 9.1.0.1.
Thanks in advance.Hi, thanks.
Finally i found this: http://kr.forums.oracle.com/forums/thread.jspa?threadID=591683
and after setting the fields to required=false, it worked without any errors ("The Resource has not been configured properly" because of the prepopulate adapters)
Bye -
Need a user exit to add custom partner function in sales order @ item level
Hi,
Need a user exit to add custom partner function in sales order at item level. Goto --> Item --> Partner.
Thanks,
ThiyagiHI Leo
To add a condition price for a condition type, this has to be assigned in the <b>pricing procedure</b>. For each condition type in a pricing procedure, we will have <b>access sequences</b>. If we follow this approch, the price is automatically extracted basing on the access sequences when condition records are maintained. For this, no coding is required and everything can be done by configuration by Functional consultant.
Naren is right to point out on the same.
If you need to change the price for a particular condition which already exists, you can go by <b>pricing routines</b>. Go through transaction <b>VOFM</b> for the same.
I advice you to discuss with your functional consultant and understand the requirement and then go for modifying accordingly.
Kind Regards
Eswar -
VA42 user exit to update contract start and end dates at Item level
Hi Experts,
I need to update contract start and end dates at Item level in 'VA42' transaction, for this i am using user-exit 'USEREXIT_FIELD_MODIFICATION' in the include 'MV45AFZZ'. i am able to display the data into item level through my coding but the data is not getting updated into 'VEDA'
Note: No need to change contract start date and end date in header level. Only at item level i want to change dates.
Thanks,
Sateesh.Thanks For your reply Vikram,
i tried with 'USEREXIT_MOVE_FIELD_TO_VBAP' user-exit earlier it self its not working. Can you suggest me any another way how we can achieve this functionality. modification of Contract start date and end date in only item level.
'USEREXIT_MOVE_FIELD_TO_VBAP':
FORM USEREXIT_MOVE_FIELD_TO_VBAP.
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""$"$\SE:(3) Form USEREXIT_MOVE_FIELD_TO_VBAP, Start A
*$*$-Start: (3)---------------------------------------------------------------------------------$*$*
ENHANCEMENT 1 ZSD_CONT_DATE. "active version
DATA : lv_var TYPE CHAR10.
lv_var = '0040000219'.
if sy-tcode = 'VA42'.
IF VBAK-VBELN EQ lv_var.
VEDA-VBEGDAT = '20140502'.
XVEDA-UPDKZ = 'X'.
VEDA-VENDDAT = '20140602'.
XVEDA-UPDKZ = 'X'.
ENDIF.
ENDIF.
ENDENHANCEMENT. -
User exit/BADI to have a validation in MIRO for item level
Hi Experts,
My requirement is to do a validation in MIRO (Invoice Verification) transaction, when the user enters the PO details ( T.code - MIRO ) and if the material group in the line item belongs to specific set of material groups, then I want to show a popup stating to choose a different GL account.I am searching for a suitable User exit to implement the above change which I have mentioned. So Could you please suggest me any User exit or BADI Which can be used to incorporate my changes.
Thanks in advance.
Regards,
SrinivasHi,
check this thread:
BADI IN MIRO
Best regards. -
Make Item level field Non-Editable in VA01
Dear Experts,
I have a requirment to make ITEM Category field in item level of VA01
make Non-editable based on the value of Sale order Type in the main screen
i am using Program MV45AFZZ to make necessary changes i am able change any thing on the header level but i am not geting the control of item level Please suggest me how to change or make fields non-editable in Item level.Hi,
Try writing code in FORM userexit_field_modification.
*** Lock field pricing date in SO if delivery occured
IF screen-name = 'VBAP-PSTYV' AND
sy-tcode NE 'VA01' AND l VBAK-AUART EQ 'your document type'.
screen-input = 0.
ENDIF.
ENDFORM. "USEREXIT_FIELD_MODIFICATION
KR Jaideep, -
Make payment terms in sales order editable after billing
Hi,
i checked orders in two different systems. In one system payment term is editable even after completely billing the sales order. In other system the payment term field in sales order is grayed out after complete billing and it is not editable.
Not sure what is the standard way. Is there any configuration / develpement throgh which we can control this?
I want to make payment terms editable in SO even after completely billing the order.
Any suggesion friends?
Thanks,
TusharHello Tushar,
The fields:
VBKD-INCO1 (Incoterm 1)
VBKD-INCO2 (Incoterm 2)
VBKD-ZTERM (Payment terms)
remain open at header level even after the order has been billed.
At the item level these fields are greyed out but at header level
they remain open in the event that a user may want to add more items
to the sales document.
The possibilities where the payment term disabled for edit at header
level could be done by modification/userexits, or screen definition.
Could you please check if you are using exits in MV45AFZZ particularly USEREXIT_FIELD_MODIFICATION or screen variant ?
Regards,
Raghavendra YN -
during IV process users are changing the payment terms field, we want restrict this field changes by users during IV process.
Plz suggest the way ...HI,
The below three methods could be used.
1. T-cd:SM30->add theerror-> "E" into allowed column of F5231 in T001S, untick the switch off flag , then go to OBA5 to set this msg into "E" ,then when ZTERM is changed, the error:F5231 will be issued.
2.Define transaction variant in SHDO for FB60 and MIRO.
3.Using validation to check whether ZTERM is changed in OB28 using user exit.
Regards
KK -
Payment terms field display at MIRO screen
Hi,
How can I make Payment terms field "Display" at MIRO screen??
Regards,
SattujHi,
The fields on MIRO are not configurable as with other transactions.
You have no config control of these fields.
You should not really block the field, because what happens if you ever need to change it (believe me this WILL happen).
Steve B -
In PO -Me21N Material PO text field non editable
Dear All ,
We have specific requirment in PO (ME21N). In Item level ther is free text field "Item Texts". In Item texts we have 4 text fields
(1) Item Text
(2) Info Record PO text
(3) Material Po text
(4) Deivery Text
As per our configuration in "Material PO text" Material long description picking from Material master .We want to make this text field Non Editable.
In SAP there is facility to configure non editable Texts , But it will non editable all text fields.
How we can non editable only Material Po text .
Thanks in Advance.
Regards
Abhishek TiwariDear Chetan,
I think you have not understood my complete question. First thing i dont want to non editable Short text field.
In my problem i In Item level ther is free text field "Item Texts". In Item texts we have 4 text fields
(1) Item Text
(2) Info Record PO text
(3) Material Po text
(4) Deivery Text
In above text fields ,I want to non editable only "Material PO Text" only....
Regards
Abhishek Tiwari -
Payment Term field to be set as Non Editable in Sales Order
Hi,
I have a requirement, in which the user wants to make the Payment Term field in Sales Order as Non Editable in case the Payment terms is copied from Customer Master to Sales order.
In case no value is copied, it should be editable.
Is there any setting to make this happen.
Can anyone help on this?
Please advise.
Regards,
HarshHarsh,
2 Options,
1 by changing screen variants by SHD0
2. By modifying USEr Exit.
Thanks,
Raja -
Payment term Field at header level
Hello
my requirment is while creating sale order the payment term field at header level should be in display mode. or not shown while creating sale order. doesnot want to maintain user exit. or anyone have knowledge of field (of payment term ZTERM ) object ?
RegardsDear Mr. M Yasir Dogar,
To this requirement as Lakhsmi says, to make the Payment term in display mode, without user exit you can do with Tansaction variant SHD0. It actually make a view sort of control.
Steps:
Run T CODE: SHD0
Transaction VA01
Variant ZVA01_VARIANT
create a sales order.
during the process system, records all the details of object involved in the sales order creation.
and it records with the screen number as variant name.
After execution go to details, Go to
Name of screen variant: ZVA01_VARIANT_4440
and in Payment terms VBKD-ZTERM, select Output only (means it will only display the data from master) and others option also will be there like * Invisible, Required.*
Select the appropriate one.
Along with this activity,in the authorization - profile the Variant should be assign to the USERS having T CODE : VA01. This can be done by the Basis team.
We did similar to control the manual entry of Payment terms.
Regards,
Mani -
Make 1 field non-editable while using transaction VA02.
Hi,
I want make a field non-editable under tab 'shipping' for transaction VA02. I know one way of doing it by adding code to MV45AFZZ -> USEREXIT_FIELD_MODIFICATION. is there any other way ( other user-exit / BADI) to achieve the same.Hi,
Please go through this link... It tells you the step to follow....
http://www.sap-basis-abap.com/sapbs010.htm
Also please refer these posts..
Re: Transaction Variants & Variant Transactions
Re: Transaction Variants -
How to make payment terms as disable in sales order and quotation
My requirement is to make payment terms(vbkd-zterm) as display in sales order and quotation at overview ,header data and item data.
Regards
Edited by: vijay vijay on Jun 29, 2010 7:43 AMUsing user exit USEREXIT_FIELD_MODIFICATION in MV45AFZZ, use it when you are going for particular case.
Or you can go for or screen variant, use it when you are going for all cases
Hope this can assist you.
Thanks & Regards
JP
Maybe you are looking for
-
My daughter lost her iPhone 5 in Las Vegas. She said that it has Findmy iPhone app however, it does not show up on the site. Can I access the phone remotely to leave a message that it is lost? Can I set up find my iPhone if it does not have it after
-
Size of exported pages doc is too big to print on normal computer paper
My mac is at home but I print things at the office on the office printer with a PC. I export in both pdf and word but when i go to print the size of the pictures and wording is too large and it is ballooned out. How can I get a normal exported size s
-
How can i set a homepage in ff mobile?
Cant find a place for the default homepage url on FF mobile Nokia n900
-
How can I set firefox as default browser in citrix server, only for few groups. does -silent -setdefaultbrowser option working in latest version?
-
Missing lines in Piano Roll grid
Hellow , In Piano roll window (Matrix editor before Logic 8 tsunami), some of the grid lines are missing after inserting , p.e. ,a 3/8 bar an going on in 4/4 bar .This is really uncomfortable . ¿Can anybody tell me how should I overcom this lack of v