Field modification in ME21N
Hi,
I would like to concatenate material description and material size and to display the result in the field short text after material number in transaction me21n. Which UE should I use?
[Examples >>>|https://www.sdn.sap.com/irj/scn/advancedsearch?cat=sdn_all&query=badi+me_process_po_cust&adv=true&sdn_author_name=&sdn_category=&sdn_forum=&sdn_updated_on_comparator=ge&sdn_updated_on=&sortby=cm_rnd_rankvalue&start=1]
Similar Messages
-
Function Module for REBDBU0012-BU Field Modification Criteria - Sample reqd
We are using three distinct type of Business Entities to look after three types of business of client. For this we have defined three number ranges for each such BE. Now, we wish to use Transaction code "REBDBU0012-BU Field Modification Criteria " and wish to define the field status of based in BE number range criteria.
I have discussed this in detail with my developer but he is unable to find any help/functional module. Is there any sample object available with in SAP library or if any member from SAP community could help us in it.
Regards
Rohit GoelHi Rohit,
function module that gets field status für BU in standard is REBU_REBU_EVENT_FMOD2.
There is no such function module that fulfills your requirement available yet.
For your requirement you have to develop your own function module with the same parameters and in the function module you have to insert the logic to determine the field status as you require it.
You may use REBU_GET_BUSOBJ to get the data of the object and so you should have all necessary information. As I already mentioned you can use RERO_RERO_EVENT_FMOD2_USAGE as an example.
Hope that helps.
Regards, Franz -
Material descri screen level field greyout in ME21N/ME22N/ME23N-Urgent
Hi,
I have a requirement in ME21N/ME22N/ME23N is that when i want to change a PO, the material short description field should be grey out after the material is entered in the item level.
Can anybody suggest me how to do screen level field greyout in ME21N/ME22N/ME23N.
Thanks in advance,
EsakiHi,
This query can be solved by modifying some configuration part. Your MM consultant in project can do this or you can also try this following meintioned path: Goto tcode SPRO
SPRO>Materials Management>Purchase Order-->Define Screen layout at document level.
In this screen layout for the mentioned transactions ME21N/ME22N/ME23N ,material short description field can be greyed out by selecting display mode for that field.
For more clarification refer documentation against this point in SPRO.
Hope this solves your problem.
Regards,
Brajvir -
Hi
I have registered SetFieldModificationWatch+* event for a class
field. When I have received a callback for the same event on field
modification, I want to modify the value to a new value. But that leads to
recursion as per the Spec. So in order to avoid the recursion,
I am disabling the watch and set the field value and resetting the watch
as below ( just skeleton)
on_field_modify_call_back
ClearFieldModificationWatch (field);
setValue(field);
SetFieldModificationWatch(field);
}But it doesn't seem to work.
Any one has any thoughts in avoiding the recursion ?
Appreciate any pointers in advance.
thx,
Srinivas ChamarthiHope you are not kidding (read my post again). I was doing exactly the same. But I am not able to
update to new value. so just wondering where I went wrong. I believe the clear will reset the watch
context and local references. Appreciate help from folks who are
part of JVMTI implementation.
Edited by: srinivas.chamarthi on Feb 29, 2008 5:37 AM -
SAP Standard Field Attributes for ME21n and ME
Hi,
Can anyone suggest me where i can see all the display,Hidden,Mandatory, optional SAP Standard field attributes for ME21N and ME51N.
I looking for Configuration settings
Thanks
VenkiHi ,
All i see is Field Label Reqd.entry Opt. entry Display for ME21N and ME51N
I want to see what SAP Standard Fields are Hidden for these T-codes.
I want to use and Non Used Field ( Hidden SAP Field) for new Enhancement instead of creating a custom Tab
Thanks
Venki -
How to restrict the user to change/enter field value in me21n?
Hi, Experts,
in the me21n screen..for matkl field we need to validate the user authorization.
if that user having the authorization then it should allow to enter value in the matkl(material group) field.
other wise it should not allow.
how to do this validation?
can anybody help me on this.
Thanks and Regards,
venkatHi Aprna,
Thanks for your reply, but can you give some code for that.
actually i am new to badi or userexits...
if you can provide code it will be more helpful for me.
Thanks in Advance,
venkat -
Field Exit for ME21N & ME22N transactions
HI Friends,
I need to make the SAP Standard screen field "Overdeliv. Tol." & "Unlimited" to inactive under the Item level data --> Delivery tab in ME21N & ME22N transaction.
Can i do ths? If so give me the steps and Screen exit for the same...For User Exit's
goto to tcode->status->program name->double click on that,
then goto to-> attribute take the package name and
Goto SMOD tcode ->Utilities->give the package name and F8
then a list of exits will display for that tcode as well as that package.
double click on the exit u can see the Fm exit,screen exit,feild exit,include exit. there
u can check the table MODSAP
For BADI's,
1)goto to tcode SE24 give the CL_EXITHANDLER and display and then double click on the GET_INSTANCE
keep Break point at this location 'call method cl_exithandler=>get_class_name_by_interface'
then the tcode it will trigger there and we can debugg there we can find badi'for that tcode and then remove the break point.
2)Goto to tcode->status->program name->double click on that program will display's
then press crtl+F then cl_exithandler
Thank u,
santhosh -
Purchase Organisation field mandatory in ME21N
Dear All,
Is it possible Purchase Organisation field is mandatory in PO(Me21N),
i have checked in spro define screen layout at document level; wise but there is no Purchase organisation field.
please guide me,
Thanks
ShitalHi Shital ,
Pur.Org is the org level responsible for purchasing activities , u cannot set it to optional as it is hardcoded in the program itself.
Without this ur PO will not be saved .
Note: There is no point in creating a PO without Porg and is not possible in standard SAP .
Regards
Ramesh Ch -
Disabling netprice field in PO(ME21n-Screen)
Hi.,
what are the ways to hide netprice field in item details of a Purchase Order ME21N Transaction .Is there any EXITS or BADI's available for this requirement .
Regards.,
S.SivakumarHi siva.
if you want to hide some fields in Standard transaction. use this.
Go to Transaction SHD0. - Creating Screen Vareant.
Here give your Transaction name like me21n.
and you can select, fields to display from here.
Regarda.
Sreenu. -
Include a new tab and add custom fields in transaction ME21n
Hi All,
I have a requirement to add a new tab at the header level and include 4 custom fields to the tab in ME21N transaction. I need to use BADI for developing this. Can any one help me with the procedure to how to include the tab and add new fields to it.
Regards,
Claracheck
BADI
http://www.esnips.com/doc/e06e4171-29df-462f-b857-54fac19a9d8e/ppt-on-badis.ppt
http://www.esnips.com/doc/10016c34-55a7-4b13-8f5f-bf720422d265/BADIs.pdf
http://www.esnips.com/doc/43a58f51-5d92-4213-913a-de05e9faac0d/Business-Addin.doc
http://www.esnips.com/doc/1e10392e-64d8-4181-b2a5-5f04d8f87839/badi.doc
www.sapgenie.com/publications/saptips/022006%20-%20Zaidi%20BADI.pdf
http://www.sapdevelopment.co.uk/enhance/enhance_badi.htm
http://help.sap.com/saphelp_nw04/helpdata/en/04/f3683c05ea4464e10000000a114084/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/e6/d54d3c596f0b26e10000000a11402f/content.htm
http://help.sap.com/saphelp_nw2004s/helpdata/en/c2/eab541c5b63031e10000000a155106/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/04/f3683c05ea4464e10000000a114084/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/e6/63ee7f486cc143a560799d8803ce29/content.htm
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/srm/badi-general+information&
http://www.esnips.com/doc/e06e4171-29df-462f-b857-54fac19a9d8e/ppt-on-badis.ppt
http://www.esnips.com/doc/10016c34-55a7-4b13-8f5f-bf720422d265/BADIs.pdf
http://www.esnips.com/doc/43a58f51-5d92-4213-913a-de05e9faac0d/Business-Addin.doc
http://www.esnips.com/doc/1e10392e-64d8-4181-b2a5-5f04d8f87839/badi.doc
www.sapgenie.com/publications/saptips/022006%20-%20Zaidi%20BADI.pdf
http://www.sapdevelopment.co.uk/enhance/enhance_badi.htm
http://help.sap.com/saphelp_nw04/helpdata/en/04/f3683c05ea4464e10000000a114084/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/e6/d54d3c596f0b26e10000000a11402f/content.htm
http://help.sap.com/saphelp_nw2004s/helpdata/en/c2/eab541c5b63031e10000000a155106/frameset.htm
The specified item was not found.
http://help.sap.com/saphelp_erp2005/helpdata/en/73/7e7941601b1d09e10000000a155106/frameset.htm
http://support.sas.com/rnd/papers/sugi30/SAP.ppt
http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/abapindx.htm
http://members.aol.com/_ht_a/skarkada/sap/
http://www.ct-software.com/reportpool_frame.htm
http://www.saphelp.com/SAP_Technical.htm
http://www.kabai.com/abaps/q.htm
http://www.guidancetech.com/people/holland/sap/abap/
http://www.planetsap.com/download_abap_programs.htm
http://help.sap.com/saphelp_nw04/helpdata/en/c8/1975cc43b111d1896f0000e8322d00/content.htm
http://www.allsaplinks.com/badi.html
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/3430https [original link is broken] [original link is broken] [original link is broken]:///people/alwin.vandeput2/blog/2006/04/13/how-to-search-for-badis-trace-it
/people/thomas.weiss/blog/2006/04/18/how-to-implement-a-badi-and-how-to-use-a-filter--part-4-of-the-series-on-the-new-enhancement-framework /people/thomas.weiss/blog/2006/05/03/source-code-enhancements--part-5-of-the-series-on-the-new-enhancement-framework
http://www.esnips.com/doc/e06e4171-29df-462f-b857-54fac19a9d8e/ppt-on-badis.ppt
http://www.esnips.com/doc/10016c34-55a7-4b13-8f5f-bf720422d265/BADIs.pdf
http://www.esnips.com/doc/43a58f51-5d92-4213-913a-de05e9faac0d/Business-Addin.doc
http://www.esnips.com/doc/1e10392e-64d8-4181-b2a5-5f04d8f87839/badi.doc
http://www.esnips.com/doc/3b7bbc09-c095-45a0-9e89-91f2f86ee8e9/BADI-Introduction.ppt
<b>TIP :- Suppose you want to find the bapi for creating a sales order, you usually use transaction VA01 for this.
Start va01 go to system-->status
Double click transaction VA01
Double click on package
Read the application component. (this is SD-SLS Sales)
Then open the transaction BAPI
Sales and distribution>Sales>sales order --> createfromdat2
Adding small screen shots to my TIP.
After finding the Application Component go to BAPI and check with the same path
what we got SD-> SLS Sales
You need to go to BAPI tcode
you will find the application path as i mentioned
goto Sales and Distribution
click on createfromdat2 and check the BAPI</b>
Rewards if useful.....................
Minal -
Selection Screen field modification
Hi Experts,
I wanted to disable certain fields based on some selection.
I wanted to know what is the meaning of below statement.
SCREEN-OUTPUT = 1.
SCREEN-INPUT = 0.
SCREEN-INVISIBLE = 1.
Also what is the meaning of SCREEN-ACTIVE = 0.Hi,
Check this program
*& Report YSS_TRIAL2
REPORT yss_trial2.
TABLES:mara,kna1.
PARAMETERS: p_b1 RADIOBUTTON GROUP gr1 USER-COMMAND fc DEFAULT 'X',
p_b2 RADIOBUTTON GROUP gr1.
SELECT-OPTIONS:s_one FOR mara-matnr MODIF ID md1,
s_two FOR kna1-kunnr MODIF ID md2.
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
IF p_b1 EQ 'X'.
IF screen-group1 = 'MD1'.
screen-active = '1'.
screen-input = '1'.
screen-invisible = '0'.
MODIFY SCREEN.
ENDIF.
IF screen-group1 = 'MD2'.
screen-active = '1'.
screen-input = '0'.
screen-invisible = '1'.
MODIFY SCREEN.
ENDIF.
ELSEIF p_b2 EQ 'X'.
IF screen-group1 = 'MD2'.
screen-active = '1'.
screen-input = '1'.
screen-invisible = '0'.
MODIFY SCREEN.
ENDIF.
IF screen-group1 = 'MD1'.
screen-active = '1'.
screen-input = '0'.
screen-invisible = '1'.
MODIFY SCREEN.
ENDIF.
ENDIF.
ENDLOOP.
Hope this will helpReward points if helpful.
Regards
Shibin -
hi,
I want to make batch field in T.Code ME21n as a mandatory field for those material manage in batches
Thanks
aMit Ranjanau first see what is the field selection key assigned with ur PO document type thru spromm-purchasing-purchase order-define document type.
then go to spromm-purchasing-purchase order-define screen layout at document level---double click on the select field selection key,then double click on GR/IR control and make the field Batch as required entry.
regards,
indranil -
Hi all,
This is related to the Tcode ME21N (PO).
I need to put validations on the fields of Purchasing Document and Item in the above Tcode.These are the fields at the item level in the last two columns.For this I have created 2 Field Exits for the Purchasing Document(Data Element-EBELN and Item (Data Element EBELP).
The problem is that there are 2 Item fields (the first column and the Last Column) of the same Data Element EBELP.Now for both these fields the field exit for the Item gets trigerred, once for each (ie first it has the value from the 1st column and next time it has value from last column).Now my validations are required only for the Last Column entry.
So how do I make out in the logic of the field exit that it has been trigerred only for the Last Column Entry.Can I use the Field name in the screen for Last Column in any way for my requirement.
Your Inputs are appreciated and will be rewarded.
Thanks,
Stock.see u need to get the entries as
Ebeln EBELP
12000001 0001
12000001 0002
so if i want to validate on ebeln for item 2 then i need to differentiate it in hte select
12000001 0001
<b>12000001 0002</b> "---> on limit the validation of 2
so i need to feed EBELP in the select statement .
select single EBELN EBELP from EKPO
where EBELN = P_EBELN
and EBELP = P_EBELP
To fetch the right entry u need to reach only that value of ebelp .
Pass the code .
regards,
vijay -
Hello people,
I am facing a problem when creating Customer Screen in ME21N.
I am able to create the customer screen and added my fields in the customer screen at item level in transaction ME21N. However, my problem is that i m not able to retrieve the value i put in my custom fields.
I have a date field, when i input a date and press enter, the value disappears from the screen. What i want to do is that when i input the date, i should be able to pass the value to my custom table when the PO is saved.
Any help would be appreciated and awarded.
Regards,
Sandeep SalariaHi Sandeep ,
Write the table population logic in the below BADI
ME_PROCESS_PO_CUST : Enhancements for Processing Enjoy Purchase Order: Customer
Thanks.
Note:Reward Points if you find useful. -
Making field mandatory in ME21N
Hi All,
I need to make the Purch.Requisition field mandatory in the Purch.Order in ME21N.
it should be mandatory only for one specific company code and DOCtype.
( like, mandatory only for CompCode 3000 and doctype NB ).
the field name is MEPO1211-BANFN.
Should i be using some screen exit or BADI for this purcpose.
Thanks.Making PR mandatory based on Doc Type can be achieved via SPRO. The path is
SPRO>Materials Management>Purchasing>Purchase Order>Define Screen Layout at Document Level. Create a new field selection based on your exisiting field selection or modify your exisiting one. It depends on your requirement. Click on Reference data, item You would find PR and some radio buttons. Click the one for Reqd Entry. Save.
Once this is saved, go to SPRO>Materials Management>Purchasing>Purchase Order> Define Document Type. Enter the updated field selection from above in the document type row for which this change needs to be activated.
Hope this helps!
Thanks!
Maybe you are looking for
-
How to give dynamic name for csv export files?
Hi, how we can give dynamic file name for each csv export file? ex(&item_name.csv) I am using apex 4.1 and IE 6, thanks in advance regards Chandran
-
Best workflow using DNG files from Odyssey 7Q in Premiere 8.1
Finally, the magenta highlights issue has been fixed in this new 8.1 version of Premiere - lovely! :-) I'm wondering though, what the best workflow is when using 2K/4K raw dng image sequences from the Odyssey7Q? In this case, shot on the Sony FS700.
-
The volume line keeps moving to silent so that nothing can be heard for more than a few seconds.
-
How to avoid Lags ? What is Alternative Solution ?
I have studied we should always try to use lag as possible in schedule. How can i avoid lags , what is best practice and alternative solution to avoid lags?
-
How to kill nokia start-up tune on C5?
Does anyone know how to kill the start-up soundtune on the C5? I can't seem to find this option, like i could on my 6300. I would like to start my C5 with no sound after shutdown.