Related to ME22N
Hi i needed to change Purchase order automatically . i got confusion to use BDC ,BADI. my friend told that ME22n transaction sometimes will not work in bdc recording . so better go for ME22 .but in ME22 ,copy function is not working i m in need to know how to copy an item to create similar item . then which method is best BDC or BADI?
please if any body knows ,tell me friends.
regards,
diana.
Yes i think it is Possible.
See the Supplier Relationship Management Implementation Guide (IMG): SRM Server ® Business Add-Ins for Enterprise Buyer (BAdIs) ® Define Grouping Criteria for Local Purchase Orders
http://help.sap.com/saphelp_srm30/helpdata/en/38/4cc5376848616ae10000009b38f889/content.htm
Regards,
Jagadish
Similar Messages
-
Hi,
I am Mohan. I faced on Problem with the User Exit. I write the user exit for the ME21n for PO Creation. While Creation of the PO the Purchase Requition is mandatory. it is working for the ME21n. But PO creation is another two ways is there. Those are ME22N (Purchase order---> Create) and ME23N
(Purchase order---> Create) for this case also my condition applicable but it is not working for this case. How to write the Code for this. by using Sy-ucomm also. but it is not working.
Please help me.
Regards,
MohanFollowing the user exit's related to ME22N transaction.
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
Regards. -
Need to call sap transaction when the work item got rejected.
Hi all,
I need to call the ME22n transaction once i reject the Work item. Once i press the rejection button on the work item it should direct to the sap transaction. how can i make this functionality in the decision task. Do i need to implement an ext for this.
Thanks.
Neslin.You simply create a task for executing the SAP transaction (business object TSTC)
you use this task as a dialog step at the rejected outcome of the user decision with the same agent as the user decision and in the details of the workflow step you tick the advance with dialog box.
And... you're done.
Kind regards, Rob Dielemans
Edit: Instead of using BO TSTC it would be better to check the BO normally related to Me22n and see if a dialog maintain method exists
Edited by: Rob Dielemans on Jul 16, 2009 9:55 AM -
No Functional Area Found Error while creating service data in me22n
Hello,
While creating service data for a purchase order in ME22n I am getting error like " No functional area found" .
Please tell me how to maintain the Functional area for a particular GL account
In the help i can found that we can find the functional area "The functional area can be determined either using the cost element, the account assignment object (such as the cost center or order)"
How we can determine this please through some light on this statement.
Thanks
Pradeep
Moderator message: not directly related to ABAP development, please post again in the appropriate functional forum.
locked by: Thomas Zloch on Oct 15, 2010 9:55 AMHello Madhav,
You have to maintain your 'business transaction profile' (SPRO->CRM->IC Web->Business Transaction->Define bus. trans. prof.) in the customizing and assign that profile to your IC WebClient profile (the one you assigned in the org. model)
In the business transaction profile you must make sure that at least one transaction type (e.g. ZSRV) is assigned as 'Dependent business transaction' and that entry is flagged as 'Service'.
Also make sure that that transaction type (ZSRV) has leading business transaction category 'Service process' (BUS2000116).
This should solve your problem!
Kind regards,
Joost -
BADI for ME22n - Component Object List
Hi ,
I am working with transaction ME22n. When the item category is L. The material data tab shows a button called Components (Object List). On clicking this button i am taken to another screen which has childeren material items and the related data. I need to capture the values on this screen and compare them with the database values to identify any changes.
I am working with BADI ME_PROCESS_PO_CUST , method CHECK and OPEN. Please tell me in which method parameter those screen values are stored and i can fetch them.
Also please suggest me any other approach possible which i can use to capture the screen field values in the component screen.
Any help would be deeply appreciated.
Thanks in advance.
Moderator message : Duplicate post locked. Continue with thread [BADI for ME22n - Component Object List|BADI for ME22n - Component Object List]
Edited by: Vinod Kumar on Aug 9, 2011 12:25 PMHi,
Please check this thread
User exit for component data in ME21n/ME22n
Thanks -
How to change order unit in ME22n for particular vendor
Dear All,
We have defined ordering unit in material master as "L".
For other vendors & new PO we get proper ord.unit display.
But we r not getting in PO of particular vendor.
How to get order unit in ME22n ? What is the relation of order unit with Vendor ?Hi
Did you ordere the particular material for the vendor concerned already with different Order unit (SKU), this might be the reason why you are not getting the ordering unit in PO while ordering. Did you maintain the details of conversion in master between SKU & Ordering unit,if yes, then check for Info Record for the material and vendor combination and in the Genaral Data Tab chek for the variable order unit activation if not available then activate it and if the system is asking the conversiondetails enter herr the conversion also. Now if you create PO you will be able to assigne the new order unit.
Regards -
Attach PDF to PO object services list works for ME23N but not ME22N
Manualy attach a PDF file from users PC to a PO. The attachment works for ME23N as described in SAP documentation for creating an attachment to the object services attachments list.
When ME22N is used the "attachment created" message displays but exiting the PO and reenter ME22N and the attachment is not saved in the services attachment list.
Where is the configuration for this object service attachmentS?
What is needed for ME22N that is different than ME23N?Hi,
I don't think any difference b/w these 2 Transaction related to attachment of document through Services for Object.
If you have the authorization for ME22N transaction definitely you can attachment any document both in ME22N & ME23N transaction throught this Services for Object.
Check once again.If still you face the problem discuss with your Basis Consultant
rgds
Chidanand -
In ME22N deleted line item should not be Re-activate
Dear Sap Guru's
For Purchase order in T.code ME22N deleted line item should not be reactivate.
If i create some line items in this t.code and i delete these items then ince again someone wants to views these they he should not be able to view the deleted line items.
plz give me reply as soon as possible.Urgenthi
version management
SPRO > Material Management > Purchasing -> Version Management .
After activating version management you can see the Version tab in ME53N near to source of supply tab in PR.
http://help.sap.com/saphelp_srm30/helpdata/en/46/882fdd8bfc1743bd5ef8b532f94402/content.htm
SAP Enterprise Buyer provides you with version management for purchasing documents. As a first step, you can display versions of purchase orders and contracts.
The system creates a version in the background if you, as a purchaser, carry out one of the following actions:
· You change a posted purchase order
· You order a posted purchase order again
· You change a contract that has already been released
· You release an already released contract again
In contrast to the change documents that retain a change history, a version displays the status of a document at a specific point in time.
Version management provides a check for you as a purchaser, for example, if you wish to display a purchase order in the form in which you transferred it to the vendor on day X. A version provides clarity, for example, in negotiations on a contract.
Features
You can use versions as follows:
· Display
· Compare and list differences in tabular form. The comparison result has separate areas that can be displayed:
Header data (including organizational data, tax and payment data; partner data and documents)
Item data (including taxes and limits if they exist; partner data, documents; account assignment and conditions)
· Archive, if it relates to transaction data (you can archive versions of purchase orders, but not contract versions)
You cannot change or output versions. This is only possible for the active document.
Also, visit the following thread:
regards
kunal -
BAPI_PO_CHANGE me22n add profit center for purchase requisition number
Hello all,
I have to add an item line for a specific sales order( p_vbeln ).
for that i use BAPI_SALESORDER_CHANGE and it works and the item is inserted.
( p_posnr = sales order item and ln_etnr = schedule_line = 1 )
Now I have to maintain the specific po item line and to insert the Profit Center related to the Purchase Requisition Number that was assigned to the above sales order item like using transaction ME22N.
when i use the transaction all i have to do is to ADD the Purchase requisition number to the PO Order Number and to add the PROFIT CENTER.
for this i use BAPI_PO_CHANGE.
i colect the folowing data:
from table VBFA( vbelv = sales order number vbeln = l_ebeln)
PO Number = p_ebeln.
from table VBEP ( vbeln = sales order number, posnr = the previously inserted sales order item )
Purchase Requisition Number = l_banfn
Purchase Requisition Item = l_bnfpo
from table VBAP (vbeln = sales order number, posnr = the previously inserted sales order item )
Profit Center = l_prctr
from table EKKN
select max( ebelp )
from ekkn
into l_ebelp
where ebeln = l_ebeln.
add 10 to l_ebelp
Purchase Order Item = l_ebelp .
and i move the data:
i_t_poitem-po_item = l_ebelp.
i_t_poitem-preq_no = l_banfn.
i_t_poitem-preq_item = l_bnfpo.
i_t_poitem-acctasscat = cc_x.
APPEND i_t_poitem.
i_t_poitemx-po_item = l_ebelp.
i_t_poitemx-po_itemx = cc_x.
i_t_poitemx-preq_no = cc_x.
i_t_poitemx-preq_item = cc_x.
i_t_poitemx-acctasscat = cc_x.
APPEND i_t_poitemx.
i_t_poaccount-po_item = l_ebelp.
i_t_poaccount-itm_number = p_posnr.
i_t_poaccount-SCHED_LINE = ln_etnr.
i_t_poaccount-profit_ctr = l_prctr.
APPEND i_t_poaccount.
i_t_poaccountx-po_item = l_ebelp.
i_t_poaccountx-profit_ctr = cc_x.
APPEND i_t_poaccountx.
then i use the function BAPI_PO_CHANGE:
CALL FUNCTION 'BAPI_PO_CHANGE'
EXPORTING
purchaseorder = p_ebeln
testrun = l_test
TABLES
return = i_t_return_po
poitem = i_t_poitem
poitemx = i_t_poitemx
poaccount = i_t_poaccount
poaccountx = i_t_poaccountx.
BUT i get the folowing result ( messages in return table)
Insert item for PO-order
Message: Changing of PO using Enjoy BAPI unsuccessful ;
Message: Purchase order item 00120 still contains faulty account assignments ;
Message: Enter Profit Center ;
what should i do?
best regards,
emiliahello,
i debugged the function.
first the data from poaccount is copied in lt_account.
then this happens:
PERFORM get_current_data
TABLES poitem poschedule poaccount
pocondheader pocond
extensionout
poexpimpitem allversions popartner
potextheader potextitem return
USING
l_po lf_header_currency
CHANGING
expheader exppoexpimpheader.
exppoexpimpheader = poexpimpheader. "foreign trade export workaround
after this form is executed poaccount-profit_ctr is empty.
lt_account-profit_ctr in not empty but then it is not anymore.
in the form this happens:
item data
CALL METHOD im_po->get_items
IMPORTING
ex_items = lt_items.
LOOP AT lt_items INTO an_item.
l_item ?= an_item-model.
CALL METHOD l_item->get_data
IMPORTING
ex_data = ls_mepoitem.
ls_mepoitem-ebeln = ls_header-ebeln.
APPEND ls_mepoitem TO lt_item.
schedules
accountings*
CALL METHOD l_item->get_po_accountings
IMPORTING
ex_accountings = lt_accountings.
LOOP AT lt_accountings INTO an_item.
l_accounting ?= an_item-model.
CALL METHOD l_accounting->get_data
IMPORTING
ex_data = ls_mepoaccounting.
ls_mepoaccounting-ebeln = ls_header-ebeln.
APPEND ls_mepoaccounting TO lt_account.
ENDLOOP.
item conditions
foreign trade (item data; EIPO)
ENDLOOP.
so it acctualy copies every item from purchase number ebeln in lt_item.
for each one of them it copies the account data into lt_account.
so the last loop is for the item that i want to enhance.
here it copies all the necessary data in lt_account except of course the profit center because that's the one that i need to insert.
after this loop there is a form:
PERFORM move_account_out TABLES lt_account
ext_poaccount
USING header_currency.
where the ext_poaccount is the poaccount parameter.
this form:
clears ext_poaccount.
copies the data from lt_account into ext_poaccount.
and returns the ext_poaccount with the empty Profit center field
and so after performing get_current_data my parameter is deleted.
then it's almost the end of the function and nothing else related to the poaccount parameter.
so it's no use for me to insert the field Profit_Center?
is there another FM that i should use to be able to insert the profit center?
what should i do?
Best regards,
Emilia -
Hi All,
There is requirement to enhancement in Release strategy (ME22N). If user increase the OP price the release strategy being changed but he decrease the OP the price release strategy not being changed. The reauirement is there if they make any change in OP price either incrase or decrease, release strategy should be change. therefore there is any User-Exit or BADI which change the release strategies related informantion. I have aslo tried some user exit and BADI but in these exit and BADI the OP header information not in export parameters (this information is import parameters) so I can not make change it. there is any other user exit or BADI for do that.
Thanks in Advance
Jitendra SinghI need to make some fields output only at item level
> in transaction ME22N i.e. during PO change. Is there
> any exit or BADI available for that.
>
> Regards
This is mainly config.
Check in SPRO - IMG
Materials Management > Purchasing > Purchase Order > Define Screen Layout at Document Level
Also these BAdis are available:
ME_PROCESS_PO_CUST - For Custom logic in Enjoy transactions
ME_GUI_PO_CUST - For Additional Custom screens in ME2xn
Read the documentation, it will help.
Also, read the config section about enhancements in Purchasing using old enhancement technology. See below.
OSS is also a good place for documentation. OSS 496083.
Good luck!
Leonardo De Araujo
Develop Enhancements for Purchasing
In this step, you develop enhancements for Purchasing.
The following SAP enhancements are available for the Purchasing area:
o AMPL0001
User subscreen for additional AMPL data (Manufacturer part number)
o LMELA002
Adoption of batch number from shipping notification at time of
posting of a goods receipt
o LMELA010
Incoming shipping notification: adoption of item data from IDoc
o LMEQR001
User exit for source determination
o M06B0001
Role determination for release of requisitions
o M06B0001
Changes to communication structure for release of requisitions
o M06B0003
Number range and document number
o M06B0004
Number range and document number
o M06B0005
Changes to communication structure for overall release of purchase
requisitions
o M06E0004
Changes to communication structure for release of purchasing
document
o M06E0005
Role determination for release of purchasing documents
o ME590001
Grouping of requisitions for PO split in transaction ME59
o MEETA001
Determination of schedule line type (backlog, immediate requirement,
forecast)
o MEFLD004
Determination of earliest delivery date for checking at time of
goods receipt (PO only)
o MELAB001
Generation of forecast delivery schedule: realization via creation
profile
o MEQUERY1
Enhancement for document overview ME21N / ME51N
o MEVME001
Calculation of default GR quantity and over/underdelivery tolerances
o MM06E001
User exits for inbound EDI messages and outbound purchasing
documents
o MM06E003
Number range and document number
o MM06E004
Control of import data screens in purchase orders
o MM06E005
Customer fields in purchasing documents
o MEREQ001
Customer's own data in purhcase requisitions
o MM06E007
Change document for requisitions when converting into POs
o MM06E008
Monitoring of contract target value in case of release orders
o MM06E009
Relevant texts for "Texts exist" indicator
o MM06E010
Field selection for vendor address
o MM06E011
Activation of requisition block
o MM06L001
Exits for determination of ratings in vendor evaluation
o MMAL0001
ALE source list distribution: outbound processing
o MMAL0002
ALE source list distribution: inbound processing
o MMAL0003
ALE purchasing info record distribution: outbound processing
o MMAL0004
ALE purchasing info record distribution: inbound processing
o MMDA0001
Default values for delivery addresses
o MMFAB001
User exit for generation of releases
o MRFLB001
Control items during release creation
o LWBON001
Enhancement of LIS update through extension of the communication
structure MCKONA (business volumes and rebate income)
o LWBON003
Change settlement data for end-of-period rebate settlement before
creation of settlement documents
o LWSUS001
Customer-specific source determination in Retail
Activities
1. Either create a new project or use an existing one and then enter
the enhancement.
2. Activate the project
Your enhancement will only become effective after activation.
Further notes
In contrast to modifications, enhancements are basically
release-insensitive since they are not implemented in the SAP original
but in a name range that is reserved for the customer.
The general procedure for creating enhancements can be found in the
enhancement transaction at Help -> Application help.
If you want to display the documentation for an enhancement, choose Goto
-> Documentation in the enhancement transaction.
Return ->
Application -
To Change PO without having Transactions ME22, ME22N...
Dear All,
I have face the Problem one of our User Can change the Purchase Order without having the Authorization like ME22, ME22N.
kindly tell me is there any possible option that i have change the purchase order w/o mentioned transactions.
Thanks & Regards,
Kshitiz GoyalME21N, ME22N and ME23N all are inter related. it depends on the user access,
If you have all three access in the role, you can directly change the purchase order from ME23N screen by clicking display/change button. Likewise you can directly create a purchase by clicking the create button or you can display the purchase order from ME21N. Apart from all these you can also attachment in ME23N as told in the previous post.
If you go to ME21N and use "other purchase order" and change to change mode, in the change history and CDHDR tables, it will show only ME21N and ME22n. This is normal in standard SAP. If this is the case, we need educate the user change the POs only through ME22N and not through ME21N for tracking purpose.
Go to the user profile through SU01(d) or PFCG if you know the role name and check whether that user or role has ME22N access. If he has ME21N access, He surely has ME22N access.. Usually roles are created with ME21N and ME22N. -
Field Selection Keys related to Purchase Order
Hi,
I have a query regarding Field Selection Key.
When we go to Field Selection Screen connected to Purchase Order, we can find so many Field Selection Keys viz., $$$$, $$$2, AKTH, ME21N, etc.
How to judge which is to be used when?
I like to know how these Field Selection Keys are linked to Purchase Order Screen in the background.
Please guide me in this regard by giving proper suggestions in this regard.
Thanks in advance.
Thanks & Regards,
Srinivasa M.S
+91-9910077829Hi Karthik,
Thanks for your valuable information.
I like to know few more things.
1) Is it possible to create our own Field Selection Key?
2) If you observe the list of Field Selection Keys related to Purchase Order Screen, you can see that there are Field Selection Keys by name ME21N, ME21, AKTH, etc.
If the Field Selection Keys are predefined by SAP, it is OK. But, if there is an option to create our own Field Selection Key, then what is the procedure to do the same?
It seems that ME21N, ME21, and AKTH are used for Create Purchase Order Screen.
There are also keys ME22N and ME23N used for Change Purchase Order Screen and Display Order Screen.
I am little bit confused about this.
We are linking the Field Selection Keys to the Document Types.
But, I think it is only for create Purchase Order Screen. Please correct, if I am wrong.
Also, I like to know how we are linking the Field Selection Keys related to Change Purchase Order Screen and Display Purchase Order Screen?
Please clarify all my doubts by giving proper suggestions.
Thanks in advance.
Thanks & Regards,
Srinivasa M.S
+91-9910077829 -
Bapi to update delivery date in confirmation tab in purchase order me22n tc
Hi All,
I am writing a BDC to update the data in confirmation tab for puchase orders for enjoy transaction.
Please let me know how to updated delivery date in confirmation tab in purchase order(ME22N) using a bapi.
I tried using BAPI_PO_CHANGE but found no parameter related to confirmations tab. this BAPI has every thing to update like header data, item data, scheduling data..... except confirmation.
So please let me know how to update the data in confirmation.
We need to use only enjoy transaction ME22N not ME22 in BDC thats why we are looking for a BAPI.
Regards,
VenkatHi
Check the table parameter POCONFIRMATION in BAPI_PO_CHANGE
U can see the field DELIV_DATE in the structure BAPIEKES.
DELIVERY_DATE in the structure BAPIMEPOSCHEDULE as well.
Regards,
Dwaraka.S
Edited by: Dwarakanath Sankarayogi on Feb 5, 2009 7:57 AM -
Hi All -
We are currently using ME22N to park and post a PO.
User with just the PO Processor role is now able to post with AR Approver role
(without the PO Approver role). The authorization objects related to
post are being shared across different modules. These object are
available in all the approver roles and it gives the ability for the
user to post a PO even without a PO Approver role.
It appears as if the F_FICA_FOG, F_FICA_FSG, F_FICB_FKR, and F_FMMD_MES
are being shared across multiple FI modules. One role has the park
(actvt 11) access (PO Processor) and the other role (AR Approver) has
posting capabilities (actvt 10).
We are leaning towards creating custom authorization objects to achieve this. We are trying to prevent Segregation of Duty conflicts in our system. Are there any standard was to prevent someone from posting a parked document in the purchasing module (a PO) if the person has access to post AR documents (AR Invoices)?We decided to have the DEV team create a custom auth object and custom table to handle this issue. In the table there is a listing of activities, for example:
PO1 - PO Processor Park
PO2 - PO Approver Post
AR1 - AR Processor Park
AR2 - AR Processor Post
In the PO Processor role, in the custom object, the value would be PO1, and in the AR Approver, the custom object would have AR2. This will require a lot of testing. I hope this helps someone in that may have this problem in the future.
Edited by: T on Feb 10, 2011 9:43 AM -
User exit for checking the vendor emailid in me22n or me21n
hi all,
can anybody suggest me a user exit for checking the email id of the vendor in me21n or me22n or me29n.
plz suggest me a solution its urgent.hi yaan,
i checked with the user exit that u suggested me, it is getting triggered, i am able to check whether the vendor email id is present or not, but this is happening all the time that is even when the user dont want to send a email to the vendor i.e. he just wants to print the purchase order, even at that time this user exit is getting triggered and giving a message that the vendor email id is not maintained.
the reson why this is happening is there is no import parameter to this user exit which gives the "medium of data transfer" the user has entered. if i get this parameter visible inside the user exit, then i can check this parameter inside the user exit and do the required operation. i checked up with all the user exits in "me" package and even the other related packages but none of them is getting triggered,
do u know a user exit or badi which imports this parameter and also gets triggered at the time of creation of purchase order.
plz give me a solution.
regards,
santosh.
Maybe you are looking for
-
Front Row doesn't, iTunes does play an album
Many times I've experienced the following: I bought an album in the iTunes store and backed it up at the Mini I use as a jukebox. When I want to listen to it through Front Row the message appears that this computer is not certified to play the music,
-
Hi! I have FWSM running 4.1(6) with two security contexts. The context test config is: FWSM/test# sh run : Saved FWSM Version 4.1(6) <context> hostname test domain-name fwsm.spbstu.ru enable password 8Ry2YjIyt7RRXU24 encrypted names dns-guard interfa
-
Hi all sap expert. i have been looking for pegged requirement table. i able to find out few table PBIM , PBED and PBHI, but none of the able for me to key in planned order number. but i puzzled with the how to get the pegged requirment. since i have
-
My utilities folder has been deleted.
Well don't ask me how but my utilities folder has been deleted. I don't have disk utility or any of that anymore. How can i fix this?
-
Possible to run NXT program on PC simulate before I run it on nxt brick?
1. Is it possible to run NXT program on PC simulate before I run it on nxt brick? For example, NI has this program http://legoengineering.com/library/doc_download/126-play-the-scale.html so I want to run it on my PC first to check it and or modify i