Any Exit/BADI/Enh point to modify COOI table contents before PR/PO save
Hi Experts,
whenever we create/change Purchase requisition/Purchase Order,
table COOI(Commitment line items) gets updated with the Purchase requisition/purchase order
item details and table COSP gets updated with the sum values of COOI entries order by primary keys
of the table.For better explanation i am taking fields from tables
COOI (taken few fields for example)
REFBT REFBN RFKNT LIFNR HRKFT OBJNR WTGBTR(Total value in transaction cuu)
1234 0010 00512 (empty) (empty) PR00148 10
1234 0020 00512 (empty) (empty) PR00148 10
1234 0030 00512 (empty) (empty) PR00149 20
table updated COSP with sum value of COOI order by it's primary keys
COSP (taken few fields for example)
OBJNR KSTAR HRKFT WTG010
PR00148 00512 (empty) 20
PR00149 00512 (empty) 20
I want to pass the value HRKFT(CO key subnumber/Origin grp) to table COOI
to update each commitment line item,so that sum will update table COSP order by it's primary keys
The same example revised with origin group.
COOI
REFBT REFBN RFKNT LIFNR HRKFT OBJNR WTGBTR(Total value in transaction cuu)
1234 0010 00512 (empty) 3100 PR00148 10
1234 0020 00512 (empty) 3200 PR00148 10
1234 0030 00512 (empty) 3300 PR00149 20
table COSP get update with sum value of COOI order by it's primary keys
of COSP considering HRKFT values now(taken few fields for example)
OBJNR KSTAR HRKFT WTG010
PR00148 00512 3100 10
PR00148 00512 3200 10
PR00149 00512 3200 20
and this table is used in report painter to show the commitment
COSTS's segregated by Origin Group.
I need to show the report in report painter HRKFT(origin grp) wise cost's for commitments.
which is using the COSP table to display.
Now my requirement is any exit/BADI/Enhancement where i can modify table COOI contents
with HRKFT value for each line item before sum calucalation for COSP table in detail while creating
Purhcase requisition/Purchase order.
We are using SAP GUI version 6.0
Helpfull answeres will be rewarded
<< Moderator message - Please do not promise points >>
Edited by: Rob Burbank on May 15, 2011 4:28 PM
Moderator message -
When closing old threads, there is no need to add a comment. Adding a pasted answer like "answered" only brings old threads to the top of the forum list and pushes current ones down. If you do add a comment, please indicate just how the problem was resolved.
Similar Messages
-
User Exit/BADI/Enhancement Point in VF01 before new document no assignment
Hi Expert,
I am looking for a user exit/BADI/Enhancement point which will trigger in VF01 before the new document no (Billing document no assign).
I need to cross check few things in Billing via VF01 at billing document save and give error message accordingly. The problem is if new number assign and there is error due to my code then when user save the document next he get a new no. its mean a no skip.
Example: The invoice no is 1000. User start creating a billing document with Vf01 and he get an error message due to my code at exit , at this point of time the next number assign to billing which is 1001 but document not save due to my error message. Now after applying correction user save data and billing document created with no 1002. So there is no skip.
I tried BADI BADI_SD_ACCOUNTING but this will trigger after no assignment. Can someone provide me a user exit/BADI/Enhancement point in VF01 which trigger before no range assignment and contain at least Billing header data to use in my code?
Regards
Swati
Edited by: Swati Namdev on Nov 16, 2010 9:55 PMHI Brad and team,
BRED is right. I check few user exit normally all of us have that list or easily available on net.
BRED: my question is: I need to check the billing date VBRK-FKDAT of document should not be less than the sales order plan billing date VBAP-Oldate.
If this check fail then won't allow the user to create billing document. The problem is I used one user exit SDVFX001 already define previously that's work fine but issue is that user exit trigger after the billing no assignment. That's why when user get that error message he correct the document and create billing this time he get a new number which is skip of one no.
That why I need a User Exit/BADI/Enhancement Point which trigger at save but before document no assignment.
Please update more about your comment "Why not use a header level copy requirement routine to perform the checks and log the messages? This is the standard process." .
Suggest user exit USEREXIT_FILL_VBRK_VBRP trigger before save. I need at save the reason is VBRK-FKDAT this can be change.
Feel free to contact me back if you need more clarification.
Regards
Swati
Edited by: Swati Namdev on Nov 17, 2010 6:22 PM
Edited by: Swati Namdev on Nov 17, 2010 6:25 PM
Edited by: Swati Namdev on Nov 17, 2010 6:32 PM
Edited by: Swati Namdev on Nov 17, 2010 6:47 PM -
User Exit/BADI/Enhancement Point in VF01 after generating new billingdocno.
Hi Experts,
I am looking for a user exit/BADI/Enhancement point which will trigger in VF01 after generating the new document no (Billing document no assign). The Billing document no is generating in the FM RV_INVOICE_DOCUMENT_ADD ( NUMBER_GET_NEXT).
Now the Billing document no is generating like '0000152', i want to concatenate 'ECR' to the generated Billing document no and it should be updated like ECR0000152 in Billing tables (VBRK, VBRP).
Kindly let me know is there any EXIT/BADI to achieve this functionality.
Regards,
VenuHi Venu,,
These are the enhancements and badis for vf01, please check which will be helpful to you,,
<exit farm removed by moderator>
<points begging removed by moderator>
Warm Regards
Zulfikhar Ali
Edited by: Thomas Zloch on Oct 1, 2011 3:57 PM -
EXIT/ BADI/ Enhancement point for User Status change in Order
Hi all,
I am looking for an EXIT or a BADI or an enhancement point specifically for user status change in an order thru IW31/IW32.
I have the exit names for Order PBO, PAI, 'SAVE' event etc. so m not looking for generic answers.
I have to put some validations for the Order on USER STATUS CHANGE. Let me know if any of u have any pointers on that.
Thanks and Regards,
SonalHi,
Use this Enhancement IWO10009 and call these function module to change the User Status
STATUS_TEXT_EDIT --> To Read the existing status.
STATUS_CHANGE_INTERN_VB --> to change the status.
Regards,
Satish -
Purchase order user exit / BADI / Enhancement points
Hello experts,
Please Help me to get the user exit or any way to enhance the PO functionality. I am trying to set the PO line item status to "Blocked" or "Unblocked" whenever a change is triggered in PO line item for transactions Me21N / Me22N. The blocked status will be triggered by the custom enhancement, this is the requirement.
Thanks in advance for your help.
I tried the user exit MM06E005, but not working.
- NagarajanHello Nagarajan Ramudu,
inside of MM06E005 you should try the function module EXIT_SAPMM06E_012,
i'm using this user-exit from all things in my company.
Regards,
Welinton Rocha -
Any exits to change the ship-to-party in VA01 before its display
Hi All,
I'm having a situation here that i would need your help.
From IW51 i'll create a sales order VA01 and just before creation i would need to do some validation on the plant and service center and then change the Ship-to-party value to another.
I am not sure on which exit or badi offers that functions. the ones that i've found is EXIT_SAPLV46H_002 and EXIT_SAPLV09A_004. Both of this doesn't work.
If any one of you has encountered this problem and manage to resolve it please help me resolve mine as well.
Thank you.
VinodHi,
here u will find complete example:
http://sap.niraj.tripod.com/id21.html
Jogdand M B -
Exit / badi for individual service line item detail with internal orders.
Hello guys,
<b>Issue 1.</b>as per our scenario we want to get the individual service line item details with Internal Orders.
Please provide me any exit/badi with each item level with individual service line item Internal Orders.
<b>Issue 2:</b> Remain same for issue 3 for blocking status. We want to delete item level for particular line what about the service rows which assigned in particular item.
point will be rewarded for the suitabel answers.
please give me response ASAP.
With Regards
yogeshHey Yogesh,
I have the same scenario... Could you please drop a mail to [email protected] with the details of BADI and other details that you implemted for the same.
Thanks a lot in advance. -
Exit/BADI For Blocking Good Receipt(MIGO0
Hi,
I have requirement ,that if Standard Price(MBEW-STPRS) is equal to zero while doing MIGO , I have to block Goods Receipt. Is there any exit/badi to do it
thanks
PankajTransaction Code - MIGO Goods Movement
Exit Name Description
MBCF0002 Customer function exit: Segment text in material doc. item
MBCF0005 Material document item for goods receipt/issue slip
MBCF0006 Customer function for WBS element
MBCF0007 Customer function exit: Updating a reservation
MBCF0009 Filling the storage location field
MBCF0010 Customer exit: Create reservation BAPI_RESERVATION_CREATE1
MBCF0011 Read from RESB and RKPF for print list in MB26
MB_CF001 Customer Function Exit in the Case of Updating a Mat. Doc.
No of Exits: 8
Reward points if find useful..........
Regards,
Minal -
EXIT/BADI for ME31L and ME31K for changing Incoterms in header and item
Hi All,
I am facing an issue in ME31L,ME32L transactions.
In vendor master , incoterm is maintained .So whenever a PO is created with particular vendor, the same incoterm(EKKO-INCO1& EKKO-INCO2) will get defaulted into PO as well. Now i need to change the incoterms2 on basis of some logic, but i was not able to find the correct BADI/EXIT to do these changes.
This relation can be seen in vendor master partner profile.
SO if I create a PO/SA with a vendor and goods supplier is different the incoterm from vendor is getting defaulted there, not from goods supplier .
So am looking for any EXIT/BADI which will enable changing of Incoterms2 based on the incoterms1 value.
Thanking you in advance.
satheeshHI Sharma,
Thank you for your response.
This particular BADI ME_PURCHDOC_POSTED is getting triggered when i am creating a SA in ME31L but when I am changing the values in the BADI that is not getting updated on the screen.
thanks,
satheesh -
User exit/BADI for Return PO item delivery Address
Hi Guyz,
We have a requirement where in when a PO item is marked as return PO item(In ME21n/ME22n/ME23n We have check box at item level) and click on enter/Check/Save, In delivery address of item details we have to populate Vendor address. By default SAP populates Plant address. If we manually give Vendor number in item details=>Delivery address tab then it populates vendor address. We want to automate this functionality.
Is there any Exit/BADI which serve this purpose.
Note: We need this functionality for few doc types(i.e PO doc type should also be available in the exit).
Any ideas could be really helpfull.
Thanks,
Vinod.Hi,
there are some user-exit & enhancements....
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
MELAB001 Gen. forecast delivery schedules: Transfer schedule implem.
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
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
M06B0003 Number range and document number
Some BADI s:
ME_PROCESS_PO Enhancements for Processing Enjoy Purchase Order: Intern.
ME_PROCESS_COMP Processing of Component Default Data at Time of GR: Customer
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_DEFINE_CALCTYPE Control of Pricing Type: Additional Fields
ME_COMMTMNT_REQ_RE_C Check of Commitment Relevance of Purchase Requisitions
ME_COMMTMNT_REQ_RELE Check of Commitment Relevance of Purchase Requisitions
ME_PROCESS_PO_CUST Enhancements for Processing Enjoy Purchase Order: Customer
SMOD_MRFLB001 Control Items for Contract Release Order
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_PURCHDOC_POSTED Purchasing Document Posted
ME_PROCESS_REQ_CUST Enhancements for Processing Enjoy PReqs: Customer
ME_PROCESS_REQ Enhancements for Processing Enjoy PReqs: Internal
ME_COMMTMNT_PO_REL_C Check for Commitment-Relevance of Purchase Orders
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
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)
ME_CCP_DEL_DURATION Calc. of Delivery Duration in CCP Process (Not in Standard)
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
ME_CHECK_ALL_ITEMS Run Through Items Again in the Event of Changes in EKKO
ME_CHANGE_OUTTAB Enrich ALV Output Table in Purchasing
ME_CHANGE_CHARACTER Customer-Specific Characteristics for Product Allocation
No.of Exits: 35
No.of BADis: 55
Arunima -
User exit/BADI for PO item blocking
Hi All,
Is there any userexit/BADI available for blocking PO item?
We want block PO item based on some header and item data validations. We need an exit which will be triggered before displaying the first screen(In case of PO change-ME22N). While creating/changing existing the item we got the BADI ME_PROCESS_PO_CUST. Here we can set im_item-loekz to value S so that item will be blocked. This is working fine only for creation/Change of item. Because this BADI will be triggered when ever we make some change in existing PO item/Creating new item.
But say we have blocked a PO item now. later we have maintained necessary data which is used in validations. Then when we enter into same PO for next time it should automatically unblock that item.
So we need exit which will be triggered before displaying first screen. If one exit is not available the we can use EXPORT/IMPORT logic to get all the data at one place. Hope there is no confusion in the requirement.
Please let me know if there is any EXIT/BADI available for this scenario.
Thanks for your help in Advance.
Does any one has some solution for this?
Thanks,
Vinod.
Edited by: Vinod Reddy Vemuru on Dec 10, 2008 12:37 PMHi vinod,
I have come accross similar issue of blocking PO at item level. but we wanted to do it using Tcode MEMASSPO .Can you please give any suggestion in this regard. -
VF01 Exit BADI to Postpone or block items in billing plan.
Hi Experts,
The business requirement is where they are not suppose to bill the customer more than the Sales Order value.
While positng a invoice with referenceto to an Sales order (VF01) for a perticular order type with a billing plan.
I want block items in invoice / billing plan of order if the value of billing items is exceeding the order netvalue.(only while posting the invoice document).
Please suggest any EXIT, badi.
Thanks in advance.
Regards,
MaheshHi,
Exits for VF01:
SDVFX007 User exit: Billing plan during transfer to Accounting
V60A0001 Customer functions in the billing document
SDVFX009 Billing doc. processing KIDONO (payment reference number)
V05I0001 User exits for billing index
V05N0001 User Exits for Printing Billing Docs. using POR Procedure
J_3RSINV User Exits for Printing Billing Docs. using POR Procedure
BADIs
SD_CIN_LV60AU02 BADI for billing
VOR_WA_FAKTURA Billing before Goods Issue -
Import purchase-EXIT /BADI
Dear All,
Scenario:
In import PO you are well aware that CVD condition types are used...now against these condition types we can maintain Custom vendor code (directly in PO or can flow from any condition record)...now we have four custom vendor codes in our system...user wants that in header level in PO they will enter a certain data in a customized field...based on that entered data system will automatically determine the custom code against the custom condition types i.e. lets say if user enter A at that customized field then system will automatically determine the custom code for Kolkata against the custom condition types or if user enter B at that customized field then system will automatically determine the custom code for Mumbai against the custom condition types.
Questions:
Whether any Exit / BAdI present in the system to solve this scenario?What will be the logic?
Regards,
IndranilHi Indranil,
Try these exits:
Enhancement LMEKO001 Extend communications structure KOMK for pricing
Enhancement LMEKO002 Extend communications structure KOMP for pricing
Badi:
ME_DEFINE_CALCTYPE Control of Pricing Type: Additional Fields
Thank you,
Thanks,
AMS -
Exits / BADI's for WRFMATCOPY
Hi!!
I'm not a programmer so sorry if I don´t use the right terms to do the question:
Does anyone can tell me if there's any EXIT / BADI (or anything else where we can write code to do some validations) in transaction code WRFMATCOPY?
Thanks a lot!!
Célia MendesCopy Material 'WRFMATCOPY' this is the standard sap report it is not having any ueser exits or Badi's.
If you want to write code in Badi Implement that Badi in transaction SE19.
for user-exits use transaction CMOD .
Regards,
Siva -
Moifying values in PA30 through exit/BADI
Hi experts,
I have a requiremnt whrein when the user enters a value for wagetype in PA30 for infotypes 0008, 0015, 0759 and hits the enter key or saves the data, the value should get rounded off based on some custom logic.
Can you tell me any exit/BADI where I can implment this?
I tried to used BADI: HRPAD00INFTY but did not get the updated value on the screen.
Waiting for your replies.
regards
AshwiniIF i001p-molga = '01' .
TYPES: BEGIN OF ty_trfgr,
trfgr TYPE p0008-trfgr,
END OF ty_trfgr.
DATA: gt_trfgr TYPE TABLE OF ty_trfgr,
gs_trfgr LIKE LINE OF gt_trfgr.
DATA: r_trfgb TYPE RANGE OF char10,
rs_trfgb LIKE LINE OF r_trfgb,
v_bet TYPE ansal_15,
v_betrg(9) TYPE p DECIMALS 2.
* v_betrg TYPE pad_amt7s.
DATA: v_sal_type TYPE lgart,
v_freq TYPE ansal_15,
v_sal TYPE ansal_15,
v_others TYPE ansal_15.
DATA: gt_t511 TYPE TABLE OF t511,
gs_t511 LIKE LINE OF gt_t511,
gt_t510i TYPE TABLE OF t510i,
gs_t510i LIKE LINE OF gt_t510i,
v_longpack(16) TYPE p,
v_result TYPE p.
* IF ipsyst-inpst = '2'.
* get the ps group
SELECT trfgr INTO TABLE gt_trfgr FROM t510 WHERE molga = '01' AND
( trfar = 'Z2' OR trfar = 'Z7' OR
trfar = 'Z4' OR trfar = 'Z5' OR
trfar = 'Z6' ).
IF gt_trfgr[] IS NOT INITIAL.
LOOP AT gt_trfgr INTO gs_trfgr.
rs_trfgb-sign = 'I'.
rs_trfgb-option = 'EQ'.
rs_trfgb-low = gs_trfgr-trfgr.
APPEND rs_trfgb TO r_trfgb.
CLEAR: rs_trfgb , gs_trfgr.
ENDLOOP.
ENDIF.
IF wa_p0008-trfar = 'Z7' AND wa_p0008-trfgb = 'Z1' AND
wa_p0008-trfgr IN r_trfgb[] AND v_sal_type = '9010'.
v_ansal = ( v_others + v_bet ) * 13.
ELSEIF wa_p0008-trfar = 'Z5' AND wa_p0008-trfgb = 'Z4' AND
wa_p0008-trfgr IN r_trfgb[] AND v_sal_type = '9010'.
v_freq = '13.7' .
v_ansal = ( v_others + v_bet ) * v_freq .
ELSEIF wa_p0008-trfar = 'Z2' AND wa_p0008-trfgb = 'Z1' AND
wa_p0008-trfgr IN r_trfgb[] AND v_sal_type = '9010'.
v_ansal = ( v_others + v_bet ) * 12.
endif.
* pass the new value to screen
CALL METHOD cl_hr_pnnnn_type_cast=>pnnnn_to_prelp
EXPORTING
pnnnn = wa_p0008
IMPORTING
prelp = innnn.
Please sap Gurus reply asap as the values are not reflecting in the pa30 screen .willcalling the function popup_to_confirm solve the problem . as the values are there in db but not reflectingthe in the screen
Maybe you are looking for
-
Am on Win 8.1 and Thunderbord won't accept my email-p/w
Have just downloaded Thunderbird and have tried to configure it but it doesn't accept my email address/ password combination. I have entered it correctly, including the use of capitals. Presumably it *was* asking for my email account password in the
-
RFC destination from XI instance to R/3 instance.
Hi This is sekhar i am searching for a job and while practicing XI i am not able to connect to the R/3 while from R/3 i can able to connect to XI instance as iam not concerned about basis can give any suggestion to solve it out
-
Inaccurate GPS data when exporting from iPhoto
I'm trying to export geotagged photos from iPhoto, and I'm experience some odd behavior. 1) When I tag the photos outside of iPhoto, the photos' geo information comes up correctly in Places, but when I try to export the photo (either drag to desktop
-
Using Automator to Save a Version?
I was trying to use Automator on 10.7.4 to get this task done. So I have buch of encrypted pdf files. I have the passwords to open the file to read or print it. I want to decrypt all of them for access conveniency but I don't have the permission pass
-
Hi, Can any one point me the step by step to connect, retrieve data from SAP MDM with NetWeaver Developer studio.. I have installed NWDS and MDM 5.5 SP06 .. I tried by importing jar files in to NWDS preferences.. But I am unable to connect to MDM.. I