Enhancement for ME21N t-code ?
Dear ABAP Experts..,
I have a requirement that in ME21N t-code Delivery / Invoice tab there is a field called Payment Terms. If user select Payment Terms as '0010'
then he wants to new screen which have different entries .
How can i do this issue when the user is selected Payment Terms as '0010' to generate new Tab in header part ?
Thaks & Regards.
K. Chinna..!
Hi,
Use this user exit MM06E005 Or BADI
ME_GUI_PO_CUST
ME_PROCESS_PO_CUST
and write your code based on requirement .
Regards,
kumar.
Similar Messages
-
Hi,
I have to do an enhancement in Standard t-code CAA3(Display Contract account). One field has to be added in the 2nd screen.
Can you please guide me for a solution.
Thanks in advance.
Regards,
Sreenivas.Hi, SAP has a tool, BDT (Business Data Toolset) that help you to modify the screen of some IS transaction.
You may check out the following document to give you more idea about BDT. And the area menu of BDT for contract account is CAWM
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/6173fb9e-0701-0010-6083-a0001827a6ff
Hope it helps.
Maine -
Dear Sdn'ers
I am facing a problem while updating the data from newly created tab in header for ME21N . Let me clarify I have designed the screen for adding the tab in header of me21n . Tab is diplay is over but New field added is not updated while in debugging.
badi : ME_GUI_PO_CUST
Method : IF_EX_ME_GUI_PO_CUST~TRANSPORT_FROM_DYNP
break-point.
CASE IM_NAME.
WHEN SUBSCREEN1.
CALL FUNCTION 'ZMEPOBADIEX_POP'
IMPORTING
EX_DYNP_DATA = DYNP_DATA_PAI. "
IF DYNP_DATA_PAI NE DYNP_DATA_PBO.
something has changed therefor we have to notify the framework
to transport data to the model
RE_CHANGED = MMPUR_YES.
ENDIF.
WHEN OTHERS.
Regards
Pradeep
ENDCASE.DONE THROUGH USER EXIT
-
Product enhancement for confidential BP codes
Currently, I am not aware of a way to restrict access to certain BP accounts, including the related activities for a BP. For example, our bank, HR consultants, etc. where I would like to limit the access to these BP accounts and related attachments to certain users, such as our management group.
Primary importance would be to limit access to related activities where sensitive information may be stored in the form of emails, attachments, etc.
Our previous CRM allowed us to flag BP accounts as restricted and set up permissions to authorized users.
Is anyone aware of a way to limit access to these activities?
If not, this is a great enhancement for future releases.Hi Deb,
that's right! Assigning your config key to business role allows you using your own configuration for this business role.
I thought, that you enhanced GET_I_DATAORIGIN_TEXT by redefining the I-GETTER. For me, this means, that the SAP creates a new z-class which inherits the SAP standard class. In this case you have to assign your enhancement set to your client...
Did you set a break-point to your GET_I_DATAORIGIN_TEXT and checked the returning parameter? If rv_disable = "FALSE" and the DDLB is still disabled, this could mean, that the entity belonging to your field is not changeable...
best wishes,
Hakan -
Enhancement for ME21N in MM Module
Hi experts,
My customer gives me a requirement is that when the end user uses ME21N to create a purchase order,he/she inputs the data and then click the button "save" to save the data,then it needs to check whether the vender is valid or not.If the vender is valid,then the end user can save data.Otherwise,we should not create the purchase order.
I find out many customer functions and some BADIs,but I don't know which enhancement I should use.Could you please help me to find out which enhancement I should use??
Thanks a lot.
best regards,
Villy,LvDear Villy,
You should use BADI ME_PROCESS_PO_CUST mathod CHECK. This mathod is called before saving the PO and also if you press check button. This is best place to put your check.
If you do not have this BADI (Below release 470) or you do not want to use BADI, a user exit will also give this opportunity.
You may use EXIT_SAPMM06E_012 (Enhancement MM06E005).
If you do not acess of required data for this check, please use set data / get data to bring data into the enhancement.
I am sure this will meet the purpose.
Sanjeev -
Hello experts,
I have a couple of queries regarding the BADI implementations ME_GUI_PO_CUST/ME_PROCESS_PO_CUST .
1. I want to add a new tab under the PO item <b>based on the PO item type</b>. E.g., If the PO item type is 'D' (service) then the new tab should be displayed otherwise not.
2. How can I disable the editing of a PO item field (say PO item number) or a PO header field (say Company code) in edit mode? I know its through fieldselection but a detailed example would be of great help.
Thanks for your help in advance.
Best regards,
YuvarajHi,
FIrst you need to implement the 2 BADIs in SE19.
The BADI ME_GUI_PO_CUST is responsible for Screen display and data exchange b/n db and the screen.
The second BADI ME_PROCESS_PO_CUST is responsible for PO upadate.
To get the screen in the Transaction you need to code in the method SUBSCRIBE of the first BADI.
Example:
ls_subscriber-name = subscreen4.
ls_subscriber-dynpro = 0700.
ls_subscriber-program = prog_name.
ls_subscriber-struct_name = structure.
ls_subscriber-label = TEST.
ls_subscriber-position = 4.
ls_subscriber-height = 6.
ls_subscriber-height = 8.
append ls_subscriber to re_subscribers.
clear ls_subscriber.
Plz go through the sample code provided by SAP for the BADIs in SE18.
Hope this will help.. -
Hi experts,
My customer gives me a requirement is that when the end user uses ME21N to create a purchase order,he/she inputs the data and then click the button "save" to save the data,then it needs to check whether the vender is valid or not.If the vender is valid,then the end user can save data.Otherwise,we should not create the purchase order.
I find out many customer functions and some BADIs,but I don't know which enhancement I should use.Could you please help me to find out which enhancement I should use??
Thanks a lot.
best regards,
Villy,LvHi guys,
I find that I can use the enhancement MM06E005 to satisfy this requirement.There is a customer function EXIT_SAPMM06E_012 in this enhancement.SAP tips that this function can check customer-specific data before saving.
Thanks guys,
best regards,
Villy,Lv -
Is there any enhancement for me21n for controlling gl account field in po
I got requirement that when iam creating a new PO in ME21n i want account gl value to be 5175, when i choose account assignment category as order.
Hi Shrikant,
Is it showing g/l acc in your PO after specifying the WBS element? If yes then there could be some wrong selection in your MIRO screen, if NO then you need to correct your PO 1st to check with your PS guy to assign a correct g/l acc to the WBS element.
Regards
Shiva -
Enhancement for ME21N & ME22N new subscreen
Hi all,
I'm looking to ad a new subscreen using definition ME_GUI_PO_CUST. I looked at the example CL_EXM_IM_ME_GUI_PO_CUST to understand how it works. Do you know why in the example the include "LMEVIEWSF01" is used? How the logic in the PBA and PAI works with the new subscreen? And where to put the new logic?
Thanks.DONE THROUGH USER EXIT
-
Enhancement for ME21N and ME22N
Hi Expert,
I need to change the delivery priority in STO, according to the data entered in the header(EKKO). But i am not able to find an exit or BAdi which is having the parameter delivery priority. The table and field names: ( EKPV LPRIO).
In case anybody working similar requirements please let me know.
Thanks and Regards
Joby Jacobin method Post you can do this stuff like that
DATA: ls_mepo TYPE mepoitem,
ls_items TYPE purchase_order_item,
lt_items TYPE purchase_order_items.
lt_items = go_header->get_items( ).
LOOP AT lt_items INTO ls_items.
ls_mepo = ls_items-item->get_shipping_data( ).
then set_shipping_data...
ENDLOOP. -
Enhancement for F-02 T.Code
Hi all,
Can any one help me with a enhancment. i want a enhancment for the t.code F-02.or Any user exit.
Thanks.hi
execute this report
report zbadi_find .
tables : tstc,
tadir,
modsapt,
modact,
trdir,
tfdir,
enlfdir,
sxs_attrt ,
tstct.
data : jtab like tadir occurs 0 with header line.
data : field1(30).
data : v_devclass like tadir-devclass.
parameters : p_tcode like tstc-tcode,
p_pgmna like tstc-pgmna .
data wa_tadir type tadir.
start-of-selection.
if not p_tcode is initial.
select single * from tstc where tcode eq p_tcode.
elseif not p_pgmna is initial.
tstc-pgmna = p_pgmna.
endif.
if sy-subrc eq 0.
select single * from tadir
where pgmid = 'R3TR'
and object = 'PROG'
and obj_name = tstc-pgmna.
move : tadir-devclass to v_devclass.
if sy-subrc ne 0.
select single * from trdir
where name = tstc-pgmna.
if trdir-subc eq 'F'.
select single * from tfdir
where pname = tstc-pgmna.
select single * from enlfdir
where funcname = tfdir-funcname.
select single * from tadir
where pgmid = 'R3TR'
and object = 'FUGR'
and obj_name eq enlfdir-area.
move : tadir-devclass to v_devclass.
endif.
endif.
select * from tadir into table jtab
where pgmid = 'R3TR'
and object in ('SMOD', 'SXSD')
and devclass = v_devclass.
select single * from tstct
where sprsl eq sy-langu
and tcode eq p_tcode.
format color col_positive intensified off.
write:/(19) 'Transaction Code - ',
20(20) p_tcode,
45(50) tstct-ttext.
skip.
if not jtab[] is initial.
write:/(105) sy-uline.
format color col_heading intensified on.
Sorting the internal Table
sort jtab by object.
data : wf_txt(60) type c,
wf_smod type i ,
wf_badi type i ,
wf_object2(30) type c.
clear : wf_smod, wf_badi , wf_object2.
Get the total SMOD.
loop at jtab into wa_tadir.
at first.
format color col_heading intensified on.
write:/1 sy-vline,
2 'Enhancement/ Business Add-in',
41 sy-vline ,
42 'Description',
105 sy-vline.
write:/(105) sy-uline.
endat.
clear wf_txt.
at new object.
if wa_tadir-object = 'SMOD'.
wf_object2 = 'Enhancement' .
elseif wa_tadir-object = 'SXSD'.
wf_object2 = ' Business Add-in'.
endif.
format color col_group intensified on.
write:/1 sy-vline,
2 wf_object2,
105 sy-vline.
endat.
case wa_tadir-object.
when 'SMOD'.
wf_smod = wf_smod + 1.
select single modtext into wf_txt
from modsapt
where sprsl = sy-langu
and name = wa_tadir-obj_name.
format color col_normal intensified off.
when 'SXSD'.
For BADis
wf_badi = wf_badi + 1 .
select single text into wf_txt
from sxs_attrt
where sprsl = sy-langu
and exit_name = wa_tadir-obj_name.
format color col_normal intensified on.
endcase.
write:/1 sy-vline,
2 wa_tadir-obj_name hotspot on,
41 sy-vline ,
42 wf_txt,
105 sy-vline.
at end of object.
write : /(105) sy-uline.
endat.
endloop.
write:/(105) sy-uline.
skip.
format color col_total intensified on.
write:/ 'No.of Exits:' , wf_smod.
write:/ 'No.of BADis:' , wf_badi.
else.
format color col_negative intensified on.
write:/(105) 'No userexits or BADis exist'.
endif.
else.
format color col_negative intensified on.
write:/(105) 'Transaction does not exist'.
endif.
at line-selection.
data : wf_object type tadir-object.
clear wf_object.
get cursor field field1.
check field1(8) eq 'WA_TADIR'.
read table jtab with key obj_name = sy-lisel+1(20).
move jtab-object to wf_object.
case wf_object.
when 'SMOD'.
set parameter id 'MON' field sy-lisel+1(10).
call transaction 'SMOD' and skip first screen.
when 'SXSD'.
set parameter id 'EXN' field sy-lisel+1(20).
call transaction 'SE18' and skip first screen.
regards
Nagesh.Paruchuri -
Hi,
Need your help for solving an issue related to ME21N ( Purchase Order Creation)
I am having ZVRL(say) condition type that is mandatory and is defined in pricing schema ZVVA01(say).ZVVA01 is further attached to purchase organisation 4000 (say).
I am having a document type ZVVN . I want to save the purchase order without ZVRL (Defined as Mandatory condition) for particular document type ZVVN. But as ZVRL is mandatory condition , So system does not allow me to save the purchase order.
For solution following option have been ruled out by the client-
1) Through a separate vendor schema with different purchase organization.
2) Entering any value like .01 or .002 for the mandatory condition type that is for ZVRL.
Other than above two, Can anyone please tell me if there is any exit/badi/ or pricing routine available through which we can avoid mandatory ZVRL condtion for particular document type ZVVN at the time of saving and changing the Purchase order.
Thanks
Deepak GuptaHi,
Check all user exit for ME21N
Transaction Code - ME21N Create Purchase Order
Exit Name Description
LMEDR001 Enhancements to print program
LMELA002 Adopt batch no. from shipping notification when posting a GR
LMELA010 Inbound shipping notification: Transfer item data from IDOC
LMEQR001 User exit for source determination
LMEXF001 Conditions in Purchasing Documents Without Invoice Receipt
LWSUS001 Customer-Specific Source Determination in Retail
M06B0001 Role determination for purchase requisition release
M06B0002 Changes to comm. structure for purchase requisition release
M06B0003 Number range and document number
M06B0004 Number range and document number
M06B0005 Changes to comm. structure for overall release of requisn.
M06E0004 Changes to communication structure for release purch. doc.
M06E0005 Role determination for release of purchasing documents
ME590001 Grouping of requsitions for PO split in ME59
MEETA001 Define schedule line type (backlog, immed. req., preview)
MEFLD004 Determine earliest delivery date f. check w. GR (only PO)
MELAB001 Gen. forecast delivery schedules: Transfer schedule implem.
MEQUERY1 Enhancement to Document Overview ME21N/ME51N
MEVME001 WE default quantity calc. and over/ underdelivery tolerance
MM06E001 User exits for EDI inbound and outbound purchasing documents
MM06E003 Number range and document number
MM06E004 Control import data screens in purchase order
MM06E005 Customer fields in purchasing document
MM06E007 Change document for requisitions upon conversion into PO
MM06E008 Monitoring of contr. target value in case of release orders
MM06E009 Relevant texts for "Texts exist" indicator
MM06E010 Field selection for vendor address
MMAL0001 ALE source list distribution: Outbound processing
MMAL0002 ALE source list distribution: Inbound processing
MMAL0003 ALE purcasing info record distribution: Outbound processing
MMAL0004 ALE purchasing info record distribution: Inbound processin
MMDA0001 Default delivery addresses
MMFAB001 User exit for generation of release order
MRFLB001 Control Items for Contract Release Order
AMPL0001 User subscreen for additional data on AMPL
See which is suitable for your requirement. -
Exit for ME21N - Change value on SAVE
Hi everyone,
i'm looking for an exit or BADI in ME21N that allows me to change a specific value in table eket.
The idea is that after the SAVE, the field EINDT of EKET must be changed.
I had aldready tried to use some exits, but not even one worked.
Here's the list i tried:
EXIT_SAPMM06E_006
EXIT_SAPMM06E_007
EXIT_SAPMM06E_008
EXIT_SAPMM06E_009
EXIT_SAPMM06E_012
EXIT_SAPMM06E_013
EXIT_SAPMM06E_014
EXIT_SAPMM06E_016
EXIT_SAPMM06E_017
EXIT_SAPMM06E_018
Can anyone help me please?
Best regards,
Pedro
Message was edited by:
Pedro Rosa
Message was edited by:
Pedro Rosa
Message was edited by:
Pedro RosaCheck all available for ME21N
Transaction Code - ME21N Create Purchase Order
Exit Name Description
AMPL0001 User subscreen for additional data on AMPL
LMEDR001 Enhancements to print program
LMELA002 Adopt batch no. from shipping notification when posting a GR
LMELA010 Inbound shipping notification: Transfer item data from IDOC
LMEQR001 User exit for source determination
LMEXF001 Conditions in Purchasing Documents Without Invoice Receipt
LWSUS001 Customer-Specific Source Determination in Retail
M06B0001 Role determination for purchase requisition release
M06B0002 Changes to comm. structure for purchase requisition release
M06B0003 Number range and document number
M06B0004 Number range and document number
M06B0005 Changes to comm. structure for overall release of requisn.
M06E0004 Changes to communication structure for release purch. doc.
M06E0005 Role determination for release of purchasing documents
ME590001 Grouping of requsitions for PO split in ME59
MEETA001 Define schedule line type (backlog, immed. req., preview)
MEFLD004 Determine earliest delivery date f. check w. GR (only PO)
MELAB001 Gen. forecast delivery schedules: Transfer schedule implem.
MEQUERY1 Enhancement to Document Overview ME21N/ME51N
MEVME001 WE default quantity calc. and over/ underdelivery tolerance
MM06E001 User exits for EDI inbound and outbound purchasing documents
MM06E003 Number range and document number
MM06E004 Control import data screens in purchase order
MM06E005 Customer fields in purchasing document
MM06E007 Change document for requisitions upon conversion into PO
MM06E008 Monitoring of contr. target value in case of release orders
MM06E009 Relevant texts for "Texts exist" indicator
MM06E010 Field selection for vendor address
MMAL0001 ALE source list distribution: Outbound processing
MMAL0002 ALE source list distribution: Inbound processing
MMAL0003 ALE purcasing info record distribution: Outbound processing
MMAL0004 ALE purchasing info record distribution: Inbound processing
MMDA0001 Default delivery addresses
MMFAB001 User exit for generation of release order
MRFLB001 Control Items for Contract Release Order
No of Exits: 35
Reward points if useful.........
Minal -
Enhancement for partner determination in STO
Hello, SAP gurus!
We are working on enhancement to copy CR partner role (forwarding agent) from supplying plant's vendor master to STO partner tab. We have found a way, how to select the data and fill it in structure MMPA, which will update STO partner data during STO save. The problem we are facing now is the missing partner data in parnters tab on ME21N screen, when the data is copied. Data is filled in MMPA structure, but something is still missing so it is not displayed on screen, thus it cannot be changed or seen.
Has anyone figured out working solution for this, as SAP does not support partner determination for STO's sccording to note 117537?
Thanks in advance!Hi,
You need debug the T-code ME21N and see from which run time structure does ME21N displays data on the screen.
And you will also write an enhancement for ME21N.
Hope this is of help to you!
Reetesh -
Hi All,
I have a doubt in BADI's for ME21N T'code i:e
how to disible HOLD button on ME21n T'code screen and also how to handle that BADI in that ME21n T'code.
Plz give me ASAP.
Thanks.
Srinivas.hi,
Use the BADI
ME_PROCESS_PO_CUST
Other wise u can handle this by using SHDO recording.
Regards
Maybe you are looking for
-
Running a SSIS package with SQL Job and Linked Server
I have a SSIS 2008 package. In one of the Script task I am calling a stored procedure which is using Openquery using linked server. I deployed this package with protection level as "EncryptWithPassword" and gave a password to the package. Created a
-
Netctl: resource usage and password encryption
Hi everyone, I recently installed ArchLinux on a not so powerful netbook. I opted to use netctl for managing wireless connections. Is netctl actully lighter in resource than other programs (eg: Network Manager)? I learned that it stores password unen
-
BI Publisher configured with BI Server Security not working for the admins.
Hello Everyone, I have configured the BI publisher to work with the BI server security. Everything is working well with the exception that all users part of the BI Server "Administrators" group are unable to login and get the following error message
-
I would like to know is it possible to "unclass" a class file to get the java. Any ideas? Fergal
-
The option bar is covering the top of my window
The top of the window that I have opened, is covered by the option bar meaning I can't move that window around. I don't know how to move this window with the bar there, or how to make a window open so that it isn't covered by this bar.