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,
emilia
hello,
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
Similar Messages
-
Profit center for purchase order without account assignment
I've requirement to include profit centers in purchase orders without account assignment category.
The trouble is when there is no profit center maintained in material master.
Is there a way to determine profit center in purchase order for such cases?Dear Abinash,
Define substitution in GGB1 at line item level as shown below:
Prerequisite : BSEG-WERKS = Maintain plant
Substitution : BSEG-PRCTR = maintain profit centre as constant value
After define it, assign to the co.code.
Regards,
Mukthar -
User Exit for Purchase Requisition Number Range
Dear Experts,
I searched on sdn, i got M06B0003 &M06B0004 this 2 user exit for PR Number range.
I have activated both User exits but while creating PR is not getting effect of that user exit.
I have checked by putting Break-point in respective user exit but while saving the PR it should go to that break-point but it not going there aslo.
And also i have checked user exit MM06E003 but it is for Purchase Order number range.And for PO it is working.
Please help me to solve this issue.Solution will be appreciated.
Regards,
Sanket.Hi,
Sorry that badi will not help try this one ...EXIT_SAPLMEREQ_009 in MEREQ001 where the export parameters is purchase requisition number....
Thanks,
Shailaja Ainala. -
Restriction for purchase Requisition Number in ME21N
Hi All,
I want to raise an error message in ME21N, if the user creating PO without perchase rechase requisition number. For this i choosed one BADI.
Definition Name: ME_PROCESS_PO_CUST
Interface Name : IF_EX_ME_PROCESS_PO_CUST
i have implemented the BADI ZCHECK_PR
Method : IF_EX_ME_PROCESS_PO_CUST~PROCESS_ITEM
I have written code like this in PROCESS_ITEM method
DATA: ls_mepoitem TYPE mepoitem,
ls_customer TYPE mepo_badi_exampl,
ls_tbsg TYPE tbsg.
INCLUDE mm_messages_mac. "useful macros for message handling
* here we check customers data
ls_mepoitem = im_item->get_data( ).
BREAK-POINT.
if ls_mepoitem-bstyp = 'ZV01'.
if ls_mepoitem-banfn is INITIAL.
message 'Enter Purchase Requisition Number' type 'E'.
endif.
endif.
Saved & Activated this.
But while testing this in ME21N, it is not at all going to debug mode( I have created PO for ZV01 order type only).
Is there any thing not finished for BADI?
Can any one help me.
Thank You.Vishnu,
Very strange, just try deactivating and deleting your implementation and create a fresh one in the same client where you are testing and assign it to a transport request and check.
Actually this BADI is already migrated to an Enhance spot in ECC 6 with same name 'ME_PROCESS_PO_CUST' but I still believe that SIMPLE badi implementation is still supported. OR Better do it with the latest way.
Create an enhancement implementation of Enh spot ME_PROCESS_PO_CUST in SE19 and then for that Enh implementation, create a BADI implementation and an implementing class. Code the required thing in the implementing class methods and then check if it works. It's actually almost same way as implementing a simple BADI. If you need any help, search Forums or get back here.
Pls note that Enh framework implementations are much faster than conventional BADIs and should always be used.
BR,
Diwakar -
How to add a new line item to a Purchase Requisition number
Hello All,
Can anyone please provide me with some FM or BAPI to add a new line item to an existing Purchase Requisition number.
Can it be done using BAPI_REQUISITION_CHANGE; if yes, then how do I pass the parameters into the BAPI tables..?
Useful pointers would be appreciated...!!
Thanks & Regards,
Tarun Gambhir@Gautham,
Thanks for the quick reply.
I want to update the table EBAN, so should I use the parameter table XEBAN to put in the new line item and then execute..
Also to fill up this table I need to pass certain value, so can I use BAPI_REQUISITON_GETDETAIL and pass the same details as found from the same BAPI and create a new line item...
Regards,
Tarun Gambhir -
How to add 'profit center' under documents of dynamic selections in FBL5N
Dear Friends,
In fbl1n (vendor line item display) if i choose dynamic selection ..left side of the window consists of fields....under document ...'profit center' is there....
In fbl5n(customer line item display) for the same ,profit center is not there.....!!!
How to add 'profit center' into the available list in FBL5N
Regards,
Madhu..!!!Hi,
Do Ctrl + f8 (Change layout). In it u have profit center for FBL5n
Pls. assign points, if useful
Regards,
Sridevi -
How to add profit center in fbl5n selection screen
how to add profit center in fbl5n selection screen
and
it is save to copy ddf from sap to cus
wll it affect anything elseWhen you are on selection screen of FBL5N, press (Shift + F4) DYNAMIC SELECTIONS, there you will see a Dynamic selection screen along with your normal FBL5N selection screen, you will find Profit Centre ther, if you don't find Profit Centre in Dynamic Selection Screen you can add the same from the list on the left, search for profit centre, place your cursor on Profit centre and press the Arrow Button(Copy Selected) on top of the list. Now you will find Prfit Centre in Dynamic selection screen, fill the field with values and press save, that's it.....
Reward points if useful, get back in case of query...
Cheers!!! -
Can't use Overall Release for Purchase Requisitions
I have two groups, AA and ZZ. Each group has it's own Class.
Group AA uses Cost Center Class (CN) (uses Characteristics Cost Center and Line Amount)
Group ZZ uses Order Class (OC) (uses Characteristic Order)
I have built one and only one Release Strategy for each of these Groups. These Strategies both work successfully when I select the other group to be the group for Overall Release. That is, if I set ZZ to be for Overall Release, then create a requisition, the release strategy for Group AA is applied successfully. However, if I modify the req the strategy for ZZ, does not get applied.
The opposite is true. When AA is set to be for Overall release, then ZZ works. However, if I modify the req, then AA's release strategy does not get applied.
Again, both strategies work correctly when the other Group is set to be the one to use for Overall Release. However, neither strategy works if its group is set to be the one for Overall Release.
What am I missing? I only have two classes, two groups, and two release strategies.SAP Standard system allows only 8 levels of release codes.If client requirement is more than 8 then for excess release codes customisation is done by the technical team (Abapers).Lets take an example of 15 release levels required for a client according to his Business needs then in this case initial 7 codes are customised and remaining 8 release codes are configured in the system.
Release procedure is of two types
Release Procedure without classification
This procedure is applicable only for Purchase Requisitions.
Here PR is released Item by Item only.
Release Procedure with classification
This procedure is applicable to PR,RFQ,Service Entry sheet,RFQ,PO,Contract and scheduling agreements.
Item by Item and Header level releases can be configured
For PR - both item by item and Header level release can be configured
For external purchasing documents - Release is possible only at Header level.
Step 1:
Create Characteristics
In this step we need to create characteristics - conditions to be satisfied for triggering Release startegy.For example client has asked to set release strategy based on 3 inputs.Combination of value, Plant and Purchasing group
1) Total value of PR more than Rs 50,000
create characteristic as "Release_PR_total_value" in transaction code CT04.
Tab - Basic data " Data type --- CURR currency format", "Decimal places - eg. 2 " and "currency eg. INR or USD"
Tab -values key in > 50000 INR
Tab - Additional Data- Table Name "CEBAN" and Field Name "GSWRT"
Tab - Restrictions - class type - 032 - Release strategy
2) Plant
Create characteristic "Release_PR_plant" in transaction code CT04.
Tab - Basic data - Data type - CHAR; Number of chars - 4
Tab - Values - Key in all the plants for which you are required to configure release proc. eg. 1000,2000,3000
Tab - Additional data - Table name CEBAN and Field Name is WERKS.
3) Purchaisng Group
Create characteristic "Release_PR_PurchasingGroup" in TCode CT04
Tab - Basic data - Data Type - char, Number of chars eg. 3
Tab - values - Key in all the purchasing Groups for which Release proc. is to be configured as required by Client.
Tab - Addnl Data - Table Name CEKKO and field name - EKGRP
Step 2:
Define class in transaction code CL02
Menu path SPRO>Materials Mgmt>Purchasing>Purchase Requisition>Release Procedure>Procedure with Classification>Edit classes
Here we assign all the above created Characteristics to a CLASS so that a release strategy to be triggered when all the conditions are met.
Create a new class with free choice of names as "PR_Release_proc" in transaction code CL02.*Key in the class name and select class type as 032 - RELEASE STRATEGY then click on symbol create to enter all the details as mentioned below.
Tab - Basic data - Enter description as "PR_Release-Proc",
status- Released, Same classification - check the push button - Warning Message
Tab- CHAR Enter above created 3 characteristics
1.Release_PR_total_value
2.Release_PR_plant
3.Release_PR_PurchasingGroup
step3:
Menu path is
SPRO>Materials Mgmt>Purchasing>Purchase Requisition>Release Procedure>Procedure with Classification>set up procedure with classification>
here define
1.Release Groups
Release group 01 is used for Purchase requisitions and 02 for Purchase orders.
Here assign class "PR_Release_proc" against release code "01"
check "OvRelPReq" indicator for over all release (All line items )of document in one shot else it will be released line item wise.
2.Release codes
Release codes are assigned to Release groups, in Workflow these release codes are tagged to users' SAP IDs through which they will be able to approve or reject a PR in SBWP(Inbox in SAP Business workplace.
PRs are released by users in transaction code ME54N.
Eg
Type of user - Level - Release code
PR creator - clerk or Business user -
Approver - Supervisor - R1
Approver - Project Lead - R2
Approver - Asst. Manager - R3
Approver - HOD/General Manager - R4
Release codes R1 to R5 are assigned to corresponding users.Manager R4 can only approve the PR if prior approvals till R3 are completed else not in ideal situation.
For detailed info please refer
http://help.sap.com/saphelp_erp60_sp/helpdata/en/75/ee1fa755c811d189900000e8322d00/frameset.htm
3. Release Indicator:
Release indicators show the release status of a Purchase Requisition.
For detailed info please refer SAP Help official site
http://help.sap.com/saphelp_erp60_sp/helpdata/en/75/ee1fa755c811d189900000e8322d00/frameset.htm
4.Release Pre requisites:
These define the order in which individuals or departments release the PR in sequence.
3.Release strategies
Create a new release startegy eg ."A1" or "U1" , write its description PR release for value >1 lakh
Now select release codes according to the Chart of Authority set by your client.
Eg.
Release startegy " A1 - PR release for value >1 lakh"
R1 - Supervisor
R2- Project Lead
R3- Asst. Manager
R4- General Manager
Now click on" Release Prerequisites "push button and check all the boxes in ascending order.Save the document
click on "Release statuses" push button, check release statuses then click on "Continue" push button.
In third push button you can maintain CLASSIFICATION data or later you can directly mainatain in transaction code CL20N for this strategy.
Classification data for example
1. Value - > 100000
2. Plant - 1000,2000,3000 etc
3. Purchasing groups - 101,102,103 etc
By clicking on "Release Simulation" push button you can check whether release is getting affected for configured release codes or not.
In this way you can configure all the required Release startegies.
Now create a PR in T code ME51N with the above conditions then a new tab will appear in PR creation screen at the time of check.Save the document and this can be released by respective users in TCode ME54N.
Tcode - ME54N - For Individual Release
Tcode - ME55 - For Collective Release
For detailed info please visit SAP HELP website
http://help.sap.com/saphelp_erp60_sp/helpdata/en/75/ee1fa755c811d189900000e8322d00/frameset.htm
http://help.sap.com/saphelp_erp60_sp/helpdata/en/75/ee1fa755c811d189900000e8322d00/frameset.htm
Regards,
Indranil -
Creating structured texts for purchase requisitions
Hello,
I would like to know if it's possible to define structured texts for purchase requisitions. By example, the item text would be like this :
Building :
Room :
and the user should only complete the missing information.
Does anybody have an idea on how to realize this ?
Thanks in advance.Hi,
It is not a simple thing to do.
The item text comes from the material master (if you are using one) and so you could easily have the text for that as "Building Room" and the material text can be changed (if you configure the system correctly) so they could just add the information.
But you are limited to the size of the material text and so many people just use a non-material approach and manually key in the information in the text options rather than the Item text on the requisition line on the main screen. But in this case it is not a standard option to preformat the text as you require.
It is almost as if configurable materials may help, these use the classification function and so they have characteristics, it would be easy enough to have a characteristic for room and one for building. The user would then be prompted to enter just the values for each and so it would do exactly what you need.
But I don't have enough detailed experience of configurable materials to know for sure that you could use them like this, perhaps someone who knows them well could confirm if this would work?
Whatever happens it is not a simple standard option, but SAP is very flexible and so there may be a reasonable work-around option.
Steve B -
Badi for Purchase Requisition Release Strategy
Can any help me to know about the BADI for Purchase Requisition Release Strategy .Is their any BADI to control the PO Price for a PR release strategy
Thanks for your helpThis badi is for schedule agreement ?
BAdI: Release Creation for Scheduling Agreements with Release Documentation
Use
You can use this Business Add-In (BAdI) to influence release creation.
This BAdI is used in the application component Scheduling Agreements (MM-PUR-OA-SCH).
This BAdI includes the following methods:
Change Data Before Release Creation (BEFORE_CREATION)
Change Data After Release Creation (AFTER_CREATION)
This BAdI is called during manual and automatic release creation. -
Customer Subscreen for Purchase Requisition
Hello All,
I need a custom subscreen on requisition at <b>HEADER</b> level. 'MEREQ001' adds a screen at item level. Is there any Screen Exit / BADI to add a custom screen at header level? Any kind of help is really appreciated.
Thank you all,
ChandniHi Chandi Reddy,
The t.code is ME51 For this available exits are :
AMPL0001 User subscreen for additional data on AMPL
LMEDR001 Enhancements to print program
LMELA002 Adopt batch no. from shipping notification when posting
LMELA010 Inbound shipping notification: Transfer item data from
LMEQR001 User exit for source determination
LMEXF001 Conditions in Purchasing Documents Without Invoice Rece
LWSUS001 Customer-Specific Source Determination in Retail
M06B0001 Role determination for purchase requisition release
M06B0002 Changes to comm. structure for purchase requisition rel
M06B0003 Number range and document number
M06B0004 Number range and document number
M06B0005 Changes to comm. structure for overall release of requi
M06E0004 Changes to communication structure for release purch. d
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., previe
MEFLD004 Determine earliest delivery date f. check w. GR (only P
MELAB001 Gen. forecast delivery schedules: Transfer schedule imp
MEQUERY1 Enhancement to Document Overview ME21N/ME51N
MEVME001 WE default quantity calc. and over/ underdelivery toler
MM06E001 User exits for EDI inbound and outbound purchasing docu
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 P
MM06E008 Monitoring of contr. target value in case of release or
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 proces
MMAL0004 ALE purchasing info record distribution: Inbound proces
MMDA0001 Default delivery addresses
MMFAB001 User exit for generation of release order
MRFLB001
For t.code we51n the available exits and badi are :
Enhancement/ Business Add-in Description
Enhancement
MEREQ001 Customers' Own Data in Purchase Requisition
Business Add-in
ME_COMMITMNT_PARKING BAdI for Redefining Commitment Interface When Parking
ME_MEREQ_PARKING BAdI Purchase Requisition: "Hold"
ME_REQ_HEADER_TEXT Copy Header Text: Enjoy Purchase Requisition
o.of Exits: 1
o.of BADis: 3
Rewards some points.
Rgds,
P.Naganjana Reddy -
Issuing storage location for purchase requisition
Hi All,
Anyone knew how to have a default issuing storage location on purchase requisition (source of supply tab) created through MRP?
Thanks.
JumpHi,
For this you need to implement BADI MD_EXT_SUP in combination with special procurement type 40 or 45.
Documentation of this badi:
Business Add-In for Determination of Issuing Storage Locatio
Use
You can use this Business Add-In (BAdI) to control the determination of
the issuing storage location during stock transfer processing.
The BAdI is used in the following components:
Material requirements planning (PP-MRP)
The BAdI runs both for manual creation of externally procured planned
orders, and in the MRP during creation of stock transfer procurement
proposals.
Purchasing (MM-PUR)
The BAdI runs as part of the source determination for purchase
requisitions and during purchasing.
Standard settings
o The Business Add-In is not active in the standard.
o The Business Add-In cannot be used multiple times.
Example
Sample coding is stored.
Further notes
Documentation on BAdI method GET_SUPPLYING_SL
Documentation on BAdI method GET_PLIFZ
MZ -
User exit/BADI for Purchase requisition through release of Process order
Hi ,
i need to add some text to the Pur Req.
The Pur Req will be created THROUGH the release of PROCESS order. Please let me know any exits are available for the same.
regardsHi
Check the following Exits and BADI for Pur Requisition
Enhancement
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
MM06E011 Activate PReq Block
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
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
MEQUERY1 Enhancement to Document Overview ME21N/ME51N
MELAB001 Gen. forecast delivery schedules: Transfer schedule implem.
MEFLD004 Determine earliest delivery date f. check w. GR (only PO)
MEETA001 Define schedule line type (backlog, immed. req., preview)
ME590001 Grouping of requsitions for PO split in ME59
M06E0005 Role determination for release of purchasing documents
M06E0004 Changes to communication structure for release purch. doc.
M06B0005 Changes to comm. structure for overall release of requisn.
M06B0004 Number range and document number
Business Add-in
ME_PROCESS_REQ_CUST Enhancements for Processing Enjoy PReqs: Customer
ME_PROCESS_REQ Enhancements for Processing Enjoy PReqs: Internal
ME_PROCESS_PO_CUST Enhancements for Processing Enjoy Purchase Order: Customer
ME_PROCESS_PO Enhancements for Processing Enjoy Purchase Order: Intern.
ME_PROCESS_COMP Processing of Component Default Data at Time of GR: Custome
ME_PO_SC_SRV BAdI: Service Tab Page for Subcontracting
ME_PO_PRICING_CUST Enhancements to Price Determination: Customer
ME_PO_PRICING Enhancements to Price Determination: Internal
ME_INFOREC_SEND Capture/Send Purchase Info Record Changes - Internal Use
ME_HOLD_PO Hold Enjoy Purchase Orders: Activation/Deactivation
ME_GUI_PO_CUST Customer's Own Screens in Enjoy Purchase Order
ME_FIELDSTATUS_STOCK FM Account Assignment Behavior for Stock PR/PO
ME_DP_CLEARING Clearing (Offsetting) of Down Payments and Payment Requests
ME_PURCHDOC_POSTED Purchasing Document Posted
SMOD_MRFLB001 Control Items for Contract Release Order
EXTENSION_US_TAXES Extended Tax Calculation with Additional Data
ARC_MM_EKKO_WRITE BAdI: Enhancement of Scope of Archiving (MM_EKKO)
ARC_MM_EKKO_CHECK BAdI: Enhancement of Archivability Check (MM_EKKO)
MM_EDI_DESADV_IN Supplementation of Delivery Interface from Purchase Order
MM_DELIVERY_ADDR_SAP Determination of Delivery Address
ME_WRF_STD_DNG PO Controlling Reminder: Extension to Standard Reminder
ME_TRIGGER_ATP Triggers New ATP for Changes in EKKO, EKPO, EKPV
ME_TRF_RULE_CUST_OFF BADI for Deactivation of Field T161V-REVFE
ME_TAX_FROM_ADDRESS Tax jurisdiction code taken from address
ME_REQ_POSTED Purchase Requisition Posted
ME_REQ_OI_EXT Commitment Update in the Case of External Requisitions
ME_RELEASE_CREATE BAdI: Release Creation for Sched.Agrmts with Release Docu.
ME_DEFINE_CALCTYPE Control of Pricing Type: Additional Fields
ME_CHANGE_OUTTAB Enrich ALV Output Table in Purchasing
ME_CHANGE_CHARACTER Customer-Specific Characteristics for Product Allocation
ME_CCP_DEL_DURATION Calc. of Delivery Duration in CCP Process (Not in Standard)
ME_CCP_BESWK_AUTH_CH BAdI for authorization checks for procuring plant
ME_CCP_ACTIVE_CHECK BAdI to check whether CCP process is active
ME_BSART_DET Change document type for automatically generated POs
ME_BAPI_PR_CREATE_02
ME_BAPI_PR_CREATE_01
ME_BAPI_PO_CREATE_02
ME_BAPI_PO_CREATE_01
ME_BADI_DISPLAY_DOC BAdI for Internal Control of Transaction to be Invoked
ME_ACTV_CANCEL_PO BAdI for Activating the Cancel Function at Header Level
MEGUI_LAYOUT BAdI for Enjoy Purchasing GUI
ME_CHECK_ALL_ITEMS Run Through Items Again in the Event of Changes in EKKO
ME_COMMTMNT_REQ_RE_C Check of Commitment Relevance of Purchase Requisitions
ME_COMMTMNT_REQ_RELE Check of Commitment Relevance of Purchase Requisitions
ME_COMMTMNT_PO_REL_C Check for Commitment-Relevance of Purchase Orders
ME_COMMTMNT_PO_RELEV Check for Commitment-Relevance of Purchase Orders
ME_COMMITMENT_STO_CH BadI for checking if commitments for STOs are active
ME_COMMITMENT_RETURN Commitment for return item
ME_CIP_REF_CHAR Enables Reference Characteristics in Purchasing
ME_CIP_ALLOW_CHANGE Configuration in Purchasing: Changeability Control
ME_CIN_MM06EFKO Copy PO data for use by Country version India
ME_CIN_LEINRF2V BADI for LEINRF03 excise_invoice_details
ME_CIN_LEINRF2R BADI for CIN India - Delivery charges
ME_CHECK_SOURCES Additional Checks in Source Determination/Checking
ME_CHECK_OA Check BAdI for Contracts
Reward points if useful
Regards
Anji -
Release strategy for purchase requisition does not kick in
Hi Gurus!
I've been struggling with this issue for some weeks now.
I have set up the release strategy configuration for purchase requisitions with classifications.
However, if I create a purchase requisition the release functionality is not taken into account by the system.
See below some more information regarding my configuration:
1. I've created a new characteristic "REL_PR_GROUP". Status: released, Multiple values, Number of Chars 3, 7 values (TR1, TR2, TR3....TR7), Table name: CEBAN, Field name: EKGRP, Procedure for value assignment set to not ready for input.
2. I've created a new class: "REL_PR_ANPC". Class type 032, Status: released, Same classification: do not check, Char: "REL_PR_GROUP"
3. I have one release group "T1", Rel. object 1, OverReqRel is marked, Class: "REL_PR_ANPC"
4. I have 5 release codes. Grp: T1, Code: 01....05
5. I have 2 release indicators:
"R = Released", Rel. for ordering is marked, Changeabil: 4, Value chgs. 100,0
"X = Blocked", Changeabil: 4, Value chgs. 100,0
6. I have 1 release strategy:
"T1 with Grp T1"
- one release group, 01 Manager
- release prerequisites not applicable because of only one release group
- release status, nothing marked = blocked, 01 marked = released
- classification, purchasing group is TR1 or TR2 or TR3 or TR4 or TR5 or TR6 or TR7
I intentionally kept the configuration as simple as possible so I can try to get it working first.
Now if I create a purchase requisition for an item with release group T1, I would expect the release strategy to be activated. However, this is not the case. I don't see the "release status" tab in the PR, and if I try to relase via ME54 the system says the PR is not relevant for release.
Could you please assist in getting this working?Hi,
Have you checked in CL30/CL30N if your release strategy is derived successfully?
See section 3 of Note 365604. A small section of it:
You can use transaction CL30 search for an object using the data
of the purchase requisition/purchase order. Here, it is important
that the object search determines exactly one strategy. If this
is not the case, this indicates that there are overlapping
strategies in the system or that the release strategies in
Customizing do not correspond with those from transaction CL24.
See the previous point. If the object search returns more than
one result, the system subsequently determines an incorrect
release strategy or no release strategy at all.
If it is derived successfully, next, check the user exit EXIT_SAPLEBND_001 as per Note 371667:
The following assignment statement has to exist within activated SAP
enhancements M06B0002 (include zxm06u13) and M06B0005 (include zxm06u31)
for purchase requisitions:
E_CEBAN = I_CEBAN.
Regards,
Purnima. -
Difference in Profit center for GR/IR account in MIGO & MIRO Transaction
1) We have created material 106267 with material type ROH. We have assigned profit center 1001052999 (common profit center) to material.
2) We have created WBS element MUM-RIV002.SS.RC.RF with profit center 1001052002.
3) We have created PO 4000000236 for account assignment category u2018Qu2019 for the above material with WBS element MUM-RIV002.SS.RC.RF . After posting GRN for PO 4000000236 we have identified that for GR/IR account profit center is taken from material master & for stock account profit center is taken from WBS element.
Please find the below Flow
In MIGO
Entry
Accounting Document number in Entry View
5000001125
PSKY G/L Code Description
Amount
Curr.
Profit Center
WBS element
89 231101 RAW MATERIAL STOCK 2,000.00 INR 1001052002 MUM-RIV002.SS.RC.RF
96 162101 GR/IR-Material -2,000.00 INR 1001052999 MUM-RIV002.SS.RC.RF
Document number in Ledger View
L.item PK SG Account Description Amount Curr. Tx Profit Ctr WBS element
1 89 231101 RAW MATERIAL STOCK 2,000.00 INR 1001052002 MUM-RIV002.SS.RC.RF
2 96 162101 GR/IR-Material -2,000.00 INR 1001052999 MUM-RIV002.SS.RC.RF
3 50 162001 InterSegment Clrg -2,000.00 INR 1001052002
4 40 162001 InterSegment Clrg 2,000.00 INR 1001052999
It should take profit center from WBS element for GR/IR account & Stock account but for GR/IR account profit center is taking form material master & for stock account profit center is taking from WBS element.
MIRO
Entry
Accounting Document number Entry View
5100000657
PK SG Account Description Amount Curr. Tx Profit Ctr WBS element
31 100000 Ambuja Cement Ltd -1,996.00 INR V4
86 162101 GR/IR-Material 2,000.00 INR V4 1001052002 MUM-RIV002.SS.RC.RF
40 254001 VAT Receivable 80 INR V4
50 172103 TDS PAYABLE -194C -42 INR
50 176101 WCT-TDS payable -42 INR
Document number in Ledger View
PK SG Account Description Amount Curr. Tx Profit Ctr WBS element
31 160100 CRS-Domestic Supp -1,996.00 INR V4 1001052002
86 162101 GR/IR-Material 2,000.00 INR V4 1001052002 MUM-RIV002.SS.RC.RF
40 254001 VAT Receivable 80 INR V4 1001052002
50 172103 TDS PAYABLE -194C -42 INR 1001052002
50 176101 WCT-TDS payable -42 INR 1001052002
In the MIRO Accounting Document profit center for [162101] GR/IR-Material A/C has taken from WBS element
Please note that we are using document splitting with Profit center is mandatory
We have created same scenario for Cost center. After posting the GRN profit center is taken from cost center for both GR/IR account in MIGO & MIRO accounting documents.
Plez helpHello
ANy suggestion for question & if solved do let me know
Maybe you are looking for
-
Hi All, I need to use unix command (MOVE) in ABAP code for transfering a file from one directory to another directory. Can any one help with how to used unix commands in ABAP? Thanks in advance. Regards, Hemendra
-
I got the following CRITICAL error at C370: The Critical message is: An application fault occurred: ('snmp/ipmi_handlers.py _handle_fan_result|370', "<type 'exceptions.ValueError'>", "invalid literal for int() with base 10: 'no reading'", '[_coro.pyx
-
Premiere pro cs5 Adobe After effects cs 5 Dynamic link issue
Hi i have a project in premiere all on the time line cut into different snips of footage the videofiles are avi ... i want to take i snip of footage into after effects to make some edits and effects on it i have tried the following 1....opening a ne
-
Problem in configuring my Laptop to run JSP files
I am having problem in testing my finished JSP files in my laptop. Everytime I run my JSP, it continues requesting for internet connections. It cannot run in an offline modus. I am using Mindows 2000, JDeveloper 3.2.3 and Oracle 9i database.I install
-
Playing audio books loaded using Overdrive Media Console
I have iTunes 10.1.0.54, Overdrive Media Console 3.2.0.5.... I checked out a book from the Maine online library and used Overdirve Media Console to put it on my iPod Shuffle 4th Generation 1.0.1.... If I play the book from iTunes, it works fine.... P