How to disable amount field in me21n/me22n
Hi all,
In me22n how to disable amount field in condition tab based on condition type.
Regards
suni
Hi, check SPRO
Similar Messages
-
BADI for Disabling NetPrice field in ME21N & ME22N based of Material Type.
Hi.
I had a requirement to disable "net price" field while creating or changing a PO (ME21N & ME22N) based on the type of material entered.
Please asssit me in finding the BADI or exit name which can meet my requirement. Thanks.Hi Ranga nadh,
The BAdi what you have mentioned is correct.
ME_PROCESS_PO_CUST - In this BAdi, we are having a method PROCESS_ITEM. These method is used to process all the Item data. As the field Netprice is at the level. You can use this method.
Here inside this method we are having a parameter IM_ITEM
So, You create a implementation and inside this method you can code here to appear the field in disable mode.
Cheers,
Swamy Kunche -
To get f4 help for salesperson field ,transaction me21n & me22n
Hi Super-Techies,
I am a new-bie in the world of enhancement.
The reuirement here is I need to create a custom table with 1 field (prep_name). (This is done)
Now the reuirement is that whenever user goes to transaction ME21N/ME22N, he wants me to add a f4 help for salesperson field (navigation : ME21N/ME22N -> CLICK ON COMMUNICATION TAB -> SALESPERSON). The f4 help should display the field from my custom table.
As far as my knowledge is cond=cerned, I can use the function module 'F4IF_INT_TABLE_VALUE_REQUEST' to achieve this requirement.
But the issue I am facing is where to write this logic and how to proceed. Can anyone help me in this case?
Any help in this regard would be appreciated.
Thanks & Regards,
Vinit
Edited by: vinit005 on Nov 1, 2010 12:43 PMHi Vinit,
I also had that requirement. There is no customer exit/BADI by which we can achieve that(as far as my knowledge), we have to use access key to achieve that. So we have gone for customer exit "MM06E005" to add Customer data tab in header and added our own fields, like Sales Person, Buyer Details etc.
Thanks & Regards,
Faheem. -
How to disable a field in a standard transaction
Good day,
Can any one tell me , with an example of , how to disable (the field should not allow any input ) a parameter or a select option in a standard transaction.Probably the only way to achieve this is by creating transaction variants:
In the SAP Reference IMG, you can create transaction variants. Choose Basis Components ® Application Personalization ® Tailoring of Application Transactions ® Configure Transaction-Related Display Values for Fields (Transaction SHD0). Transaction variants allow you to preset values for fields in a transaction, set field attributes, or hide entire screens.
To execute a transaction variant, you define a variant transaction using the Transaction Maintenance transaction (SE93).
Once you have entered a transaction code and short description, choose transaction type Transaction with variant (Variant transaction).
To define a variant, enter the name of the transaction and the name of the variant. You can then use the new transaction code to start the special variant of the transaction.
Steps :-
Transaction SHD0 - Create a variant for the required transaction bychanging the layout through hiding fields and screens.
Transaction SE93 - Create a variant transaction (e.g. for VA02 you canname it as ZA02). Next allocate the transaction variant to this varianttransaction. -
How to block amount field and layout field in transaction MIR7
Hi Expert,
Please tell me how to block amount field and layout field in transaction MIR7 for a particular user .
i am trying to block through SHD0 tcode but it is not blocked.please give me the right ans
Thanks In AdvanceHi Rajuka,
I wasn't refering to SHD0 transaction variants. User exists and Customer exists are a very interesting enhancements in ABAP which helps to add custom logic to SAP delievered programs/function modules without actually modifying the original program.
Just to add a little more details to the concept of Custom Exits (Customized user exits), please refer the links below:
[http://wiki.sdn.sap.com/wiki/display/ABAP/CustomerExits(CMOD)]
[http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=189893877]
[http://wiki.sdn.sap.com/wiki/display/ERPFI/Creatinguserexitsforsubstitutions]
You will find a lot of information about custom exists and its types over the web. Also, your developer might provide you a better insight into this concept and its relevancy to your requirement.
Cheers!
Sandipan
Edited by: Sandipan Choudhury on Dec 10, 2010 8:02 AM -
How to disable the field-input in xd01
Hi Abappers,
I have created subscreen in xd01 using BADI: CUSTOMER_ADD_DATA_CS. After giving input to field, it has to go disable mode how is it possible.How to disable that field.
Regards,
simba.Hi,
after u add some data to that field. Now check the field, if it is not initial then make that field in disable mode.
for eg:
loop at screen.
if itab-<fieldname> is not initial.
screen-input = 0.
modify screen.
endif.
endloop.
Regards,
Kasuladevi Srinivas
Edited by: Kasuladevi Srinivas on Sep 11, 2008 7:26 AM -
Enable fields in ME21N/ME22N(WBS Element & Network)
Hi, need your help!
How to enable the fields WBS Element and Network in transaction codes: ME21N and ME22N?
Thanks in AdvanceHi,
You can implement BADI ME_PROCESS_PO_CUST and implement the method FIELDSELECTION_ITEM. For srep by step process check below link. Thanking you.
how to keep wbs element field in display mode in me22n? -
Non Editable NETPR field in me21n, me22n
Hi
I have a requirement where in PO I need to make NETPR (Net Price) field editable or non editable based on KONNR (Outline agreement number).
For this BAdI 'me_process_po_cust' has to be used and method 'fieldselection_item'.
In this method we have got an internal table 'ch_fieldselection' that actually allows to change the field properties.
The issue is I am not getting NETPR value in it in anyform (MMMFD code is used inside it).
Can anybody help me out how to push value of NETPR (MMMFD value 62) in this internal table so that I can do operations on this field as desired.
Thanks in Advance
ZafarHi,
If my understanding is correct, you can manipulate the NETPR field using method,
ls_mepoitem-NETPR = 'xxxxxx'.
im_item->set_data( ls_mepoitem ).
If you want to enable or disable the field, you can use
FIELD-SYMBOLS: <fs> LIKE LINE OF ch_fieldselection.
READ TABLE ch_fieldselection ASSIGNING <fs> WITH TABLE KEY metafield = '079'.
<fs>-fieldstatus = '*'. " Display
Regards,
Sudhakar Rayala
Edited by: SudhakarRayala on Feb 14, 2010 8:53 PM -
In vf01 tcode how to increase amount field decimals?
Hi experts,
while maintain the price for the item in PR00 conditions In VF01 THE AMOUNT FIELD IS TAKING ONLY 2 DECIMALS.
MY REQUIREMENT IS TO ENTER MORE THAN 2 DECIMALS (3).
HOW TO INCREASE THE AMOUNT FIELD DECLMALS.
PLS GIVE ME THE PROCEDURE.PLS HELP ME.Hi
The decimals depend on the currency you're using to post the bill, I suppose you're using a currency support two decimals only
If you want to use more than 2 decimals you need to define a new currency having all decimals you need.
For example I've sometime defined an internal currency EUR3, just like EUR but with 3 decimals instead of 2
Anyway this new currency is like a foreign currency so it needs to maintain the exchange rate
Max -
How ti disable screen fields in Module pool
hi
How to change screen fields to DISPLAY MODE aftr clicking on a particular pushbutton in Module pool prg .
regards
chetan
Edited by: chetan teli on Jul 29, 2008 1:04 PMhiiii
use following code for disabling field
IF p_rad2 IS INITIAL .
LOOP AT SCREEN.
IF screen-name CS 'p_docno'.
screen-active = 0.
MODIFY SCREEN.
ENDIF. " IF screen-name CS 'p_docno'.
ENDLOOP. " LOOP AT SCREEN.
ELSE.
LOOP AT SCREEN .
IF screen-name CS 'p_docno'.
screen-active = 1.
screen-input = 1.
MODIFY SCREEN.
ENDIF. " IF screen-name CS 'p_docno'.
ENDLOOP. " LOOP AT SCREEN .
ENDIF. " IF p_rad2 IS INITIAL .
regards
twinkal -
How to make amount field as mandatory in portal
Hi experts,
We are working on EHP5 , Ecc 6.0. I am working on claims and reimbursements module . We have already done the configurations and in the portal i need to make an amount field as mandatory . I have gone to content administration - Portal Content - Content provided by SAP- End user content - Employee self Service - I views- Benefits and payments - India- Claim Advance request . Here i have selected an iview then Right click on that we can see the properties. there i have made the field as mandatory . It is getting applicable. But when i close the particular screen and click on that iview the same screen comes across with the field not getting mandatory . Wat are the other steps which i need to make this field as mandatory and gets applicalble to all claim types. So please reply .
. So please respond experts.
Thank you
LokeshHello Lokesh,
For all specific claim types while configuring customized header fields in view V_T77WWW_CLHLDC
& configuring customized multiple line fields in view V_T77WWW_CLMLDC there is an option in the form of checkbox to make those fields mandatory.
The mandatory checkbox can be seen inside the box generic properties.
I trust this clarifies.
Regards,
Pankaj -
How to disable individual field of a search view
Hi All,
Is there a way to disable individual search field of an advance search view ?
The reason for this is that for a particular search field I am defaulting the value and do not want the user to be able to change this default value, in effect filtering out their search.
I have tried get_i method but the advance search (thtmlb:advancedSearch) does not seem to trigger the get i method, disabled just disable every fields likewise the global edit/viewgroup context.
Thanks in advance for your assistance.
Edited by: ANDREW NGUYEN on May 12, 2010 10:45 AMHi,
I checked it now and found that the GET_I_FIELD is not getting triggered. Sorry for my wrong solution.
You can use the rt_result parameter in GET_POSSIBLE_FIELDS method in IMPL class.
It returns the search fields visible in the view.
Regards,
Arun Kumar
Edited by: Arun Kumar on May 12, 2010 11:35 AM
Edited by: Arun Kumar on May 12, 2010 11:38 AM -
How to disable a field on the basis radio button value selected.
hello to all,
i am facing one problem.I have declared two selection screen blocks.
In one i hvae declared two radio button r1 -Fiscal year and r2--Datewise.
And in another selection screen block all i/p fields. like plant. date.year etc.
Now if user select r1-Fiscal year then i/p field - date of second block should be disable.
And if user select r2-Datewise then i/p field - year of second block should be disable.
SELECTION-SCREEN BEGIN OF BLOCK BLK WITH FRAME
TITLE TEXT-002.
PARAMETERS: R1 RADIOBUTTON GROUP RA1 user-command ucomm,
R2 RADIOBUTTON GROUP RA1 DEFAULT 'X'.
SELECTION-SCREEN END OF BLOCK BLK.
selection-screen begin of block b1 with
frame title text-001.
parameters : gjahr like ZSA_DETAIL-gjahr MODIF ID YAR,
aedat like ZSA_DETAIL-aedat MODIF ID DAT,
werks like ZSA_DETAIL-werks .
selection-screen end of block b1.
AT SELECTION-SCREEN on RADIOBUTTON GROUP RA1.
BREAK-POINT.
IF R1 = 'X'. "fiscal
LOOP AT SCREEN.
IF screen-group1 = 'DAT'.
screen-active = 0.
screen-invisible = 1.
MODIFY SCREEN.
ENDIF.
endloop.
ELSEIF R2 = 'X'.
LOOP AT SCREEN.
IF screen-group1 = 'YAR'.
screen-active = 0.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
ENDIF.Hi Shikha,
Regarding your query, when you select a particular radio-button then the fields pertaining to that radio-button should get activated or get displayed, otherwise it should be hidden.
This can be done adding the addition to the Radiobutton 'USER-COMMAND' this will automatically enable-up
the functionality of the fields related to that radiobutton, while disabling the others.
If USER-COMMAND isn't given, then ENTER key serves the purpose.
DATA:
w_carrid LIKE sflight-carrid,
w_connid LIKE sflight-connid.
PARAMETERS:
p_carrid RADIOBUTTON GROUP airl USER-COMMAND airline,
p_connid RADIOBUTTON GROUP airl.
SELECT-OPTIONS:
s_carrid FOR w_carrid,
s_connid FOR w_connid.
INITIALIZATION.
p_carrid = 'X'.
Now enabling desired fields and disabling the others, can be done by the following snippet.
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
IF p_carrid EQ 'X'.
IF screen-name CS 'S_CONNID'.
screen-active = 0. " Disable the field S_CONNID
MODIFY SCREEN.
ELSEIF screen-name CS 'S_CARRID'.
screen-active = 1. " Enable the field S_CARRID
MODIFY SCREEN.
ENDIF.
ELSEIF p_connid EQ 'X'.
IF screen-name CS 'S_CARRID'.
screen-active = 0.
MODIFY SCREEN.
ELSEIF screen-name CS 'S_CONNID'.
screen-active = 1.
MODIFY SCREEN.
ENDIF.
ENDIF.
ENDLOOP.
Hope, this would help you solve your problem.
Thankyou,
Zahack. -
Purchase order - disable amount field
Hi,
In PO, i want the field in Condition Tab - Amount field should be only for output . ie the amount should be picked up from info record pricing procedure. should i take access and in attributes of that field make it input not possible or there is another way.
Regards,Hi,
Check the BADi ME_PROCESS_PO_CUST.
Read the documentation on the method FIELDSELECTION_ITEM .
Regards,
Ankur Parab -
How to make the logs captured for Z fields in ME21N/ ME22N
Hi
I have devloped new tab(Screen) and added Z field in the PO header (ME21N) as per my requirement. But whenever I do changes to the perticular Z field, logs are not captured (ME21N->ENVIRONMENT-->HEADERLOG). How to make the logs captured for Z fields like standard fields. Is there any way?
Regards
Raj.HI Ranjitha
For the data element of Z fields go to further caracteristics of tab and make change document checkbox ticked.
Maybe you are looking for
-
How do I copy a dvd to my macbook pro retina
I have a series of lectures on dvd that I would like to copy to my macbook pro retina, so I dont need the super drive when I am listening to them. I am not interested in burning them to a blank, just watching them without the disc. Thanks
-
The additional content downloads and installs, but it won't show up in my Logic Pro X. I cannot find the "Library" folder where this additional content is downloaded to and can't seem to activate the new loops and instruments in my Logic Pro X (i.e.
-
HDMI multichannel audio?
Hello, I really hope someone can help.. Right now I have DVI (computer) to HDMI (TV) cable and separate optical cable to home theatre "receiver". I'm using DDL (which I have bought) to get the multichannel sound over optical connection. I have plans
-
Satellite A105-S2061: Fatal error occurred. Code: 0x57
I just installed service pack 3 and when I reboot my computer I keep getting this message. Fatal error occurred. This program will be terminated. Code: 0x57. I have a Satellite Series A105-S2061 notebook computer. Are there any known fixes for this p
-
Pse 9 - organize disapear from my desktop when I want to open it
Hi, When I click to open my Pse 9 I get two choises, either EDIT or ORGANIZE. When I click on ORGANIZE it seems like the program flash up before it close down. It just disappear from my desktop. It doesnt close, as I can se the prorgram runs in my ta