User Exit for PO Calculation Schema Determination by PO Document Type
Hello,
Due to complex pricing requirements for both standard inbound purchase orders and return to vendor purchase orders, we need two separate calculation schemas to be applicable to each vendor.
I have configured the primary calculation schema (ZM1000) which is correctly calculated on our standard purchase orders. Through ENHANCEMENT-POINT mepo_header_fill_neu_01 SPOTS es_saplmepo (program SAPLMEPO) we have implemented code to change the calculation schema to the return schema (ZM1002) if the document type is one of our return purchase order types.
ENHANCEMENT 1 ZMEEI_PO_PRICE_SCHEMA_DETM. "active version
IF fekko-bsart eq 'ZR1' or fekko-bsart eq 'ZR2' or fekko-bsart eq 'ZR3' or fekko-bsart eq 'ZR4' .
fekko-kalsm = 'ZM1002'.
ENDIF.
ENDENHANCEMENT.
We are facing an issue where once the data is correctly entered into the return PO and the pricing has been determined there are errors. The following is observed in the pricing analysis:
1) The correct calculation schema is determined (ZM1002).
2) Pricing conditions which have a condition record under the main calculation schema (ZM1000), but which do not exist in the return one (ZM1002) still appear in the pricing. This is an issue.
3) Price conditions which have a condition record under the new schema (ZM1002), and which should appear, receive the message "Condition record exists, but has not been set". This is an issue.
When the pricing is re-determined manually at the line item level, it recalculates correctly and issues 2 and 3 above are adjusted accordingly.
Question:
Is there something missing in our code above which is cause these issues or is there a better user exit we should be using to address this requirement?
Thanks in advance!
Melih
What we ended up doing was using ENHANCEMENT-POINT item_process_main_01 SPOTS es_saplmepo (program SAPLMEPO) to re-price the line items automatically when processing. This solved our issue.
IF EKKO-BSART = 'ZR1' or EKKO-BSART = 'ZR2' or EKKO-BSART = 'ZR3' or
EKKO-BSART = 'ZR4'.
lf_ext_calctype = 'C'.
ENDIF.
Similar Messages
-
BADI / User exit for Purchase order(ME21N) after saving the document
Hi expert,
I need the BADI / User exit for Purchase order(ME21N) after saving the document
This is for email sending after create the purchase order so PO document number will be the import parameter
pls help me
point will be reward
Regards,
GaneshHi Ganesh,
Could you please share your solution?
Thanks.
Hoops
Edited by: Hoops on Jun 13, 2011 10:51 PM -
USER EXIT FOR CHANGING POSTING DATE IN THE MATERIAL DOCUMENT
Hi,
Pls advise any USER EXIT FOR CHANGING POSTING DATE IN THE MATERIAL DOCUMENT.
Regards,Hi,
There is another user exit for updating material document data Upon posting is MB_CF001
I hope this will fullfill you.
Prem -
User Exits for transaction VF01 before saving the billing document
Can any one say is there any user exit which exits before saving the billing document since i want to check the net value of the billing with the net value of sales order so that it should not go beyond the total amount specified in sales order.
J_3RSINV
SDVFX001 User exit header line in delivery to accounting
SDVFX002 User exit for A/R line in transfer to accounting
SDVFX003 User exit cash clearing in transfer to accounting
SDVFX004 User exit G/L line in transfer to accounting
SDVFX005 User exit reserves in transfer to accounting
SDVFX006 User exit tax line in transfer to accounting
SDVFX007 User exit: Billing plan during transfer to Accounting
SDVFX008 User exit: Processing of transfer structures SD-FI
SDVFX009 Billing doc. processing KIDONO (payment reference numbe
SDVFX010 User exit item table for the customer lines
SDVFX011 Userexit for the komkcv- and kompcv-structures
V05I0001 User exits for billing index
V05N0001 User Exits for Printing Billing Docs. using POR Procedu
V60A0001 Customer functions in the billing document
V60P0001 Data provision for additional fields for display in lis
V61A0001 Customer enhancement: Pricing
These are the Exits Available in the Package
Jus try finding which will suffice ur Requirement.
Regards,
Mithun -
User Exit for Changing G/L account in Accounting Document
hi all,
This one is urgent for me. If you guys can help.
Iam looking for a user-exit to change the G/L account while posting the accounting document.
If someone has worked on a similar user-exit Kindly help.
Thanks and Regards
VarunHi Experts,
The requirement is to change the GL account when PGI is done for a delivery.
I have coded in the above user exit for changing the GL account. I am facing the issue here.
I am changing the GL account through a user exit, but even before the user exit is called the standard SAP is throwing a error.
the Error is GL account is blocked for posting in the company code. This check is happening for the GL account what standard SAP proposes from the customization. The GL account that is getting picked is blocked in SPRO for posting in the mentioned company code. Because of the error message, our z code is not getting executed.
Kindly suggest if some user exits that can be used even before this error message. or let me know if you have any suggestions to over come this.
I have coded this in the enhancement point. Include MM07MFK0_KONTIERUNG_PRUEFEN and subroutine kontierung_pruefen.
Thanks, -
User exit for manually calculating exchange rate in MIRO
Dear All,
i want to change, exchange rate in MIRO transaction.
for that i have used user exit MRMH0003 (Logistics Invoice Verification: Revaluation/RAP), but unfortunately it doesn’t work.
so, can you please suggest, the better way to do this.
thanks and regards,
KaushikI,
Please take a look at BADI AC_DOCUMENT -
Prob. in Implement User Exit for wrong calculation of Surcharge during MIRO
Dear All,
In our system the calculation of Surcharge is wrong during MIRO.
So i write this issue to the SAP, the below solution is provided by them :
Use the user exit 'J_1I7_USEREXIT_PROCESS_TKOMV' to redetermine
the additional VAT condition type value. This user exit will be
called after the FM 'J_1I4A_TAX_CONDITIONS', where the
redetermination of the VAT will take place on the basis of
the changed excise duties.
So, userexit can be implemented by CMOD and SMOD, but this userexit actually a Function Module.
But now the problem is how can i implement the 'J_1I7_USEREXIT_PROCESS_TKOMV' function Module.
Regards,
Nitin GargDear,
Thanks. I already make a enhacement in this function Module and write the below code:
ENHANCEMENT 1 ZMIRO. "active version
DATA : WA_XKOMV TYPE KOMV.
DATA : WA_KBETR TYPE KOMV-KBETR,
IDX TYPE SY-TABIX.
LOOP AT XKOMV WHERE KSCHL = 'ZSUR'.
IDX = SY-TABIX.
WA_KBETR = XKOMV-KBETR / 10.
READ TABLE XKOMV INTO WA_XKOMV WITH KEY KSCHL = 'JVRD'.
XKOMV-KWERT = WA_XKOMV-KWERT * WA_KBETR / 100.
MODIFY XKOMV INDEX IDX TRANSPORTING KWERT.
ENDLOOP.
ENDENHANCEMENT.
ZSUR is a custom surcharge condition type. But still surcharge is wrong calculated.
Nitin Garg. -
Re:User exit for number range assignment assignment to purchase order type
Hi All,
Is there any user exit which assign the purchase order type to number range.
Please help.
Regards,
vivekHi
Implementing the User exit
MM06E003
Number range and document number
Goto Transaction CMOD , Create a Z - Project proceed as follows:
Choose Create.
Describe the nature of the project by providing a short descriptive text.
Choose Save.
The system then prompts you to assign a change request. This assignment allows you to transport the project and its components into a productive system once you have completed it.
Specify which SAP enhancement packages you want to include in your project by choosing SAP enhancements.
Enter the Enhancement MM06E003.
Click on Components
Docuble Click on the Exit & it will Take you to the Function module . Write your ABAP code in the Include ZXM06U17
Activate the Z - Project
Thanks & Regards
Kishore -
User exit for workflow WS20000075 agent determination for PO
Hi,
I have requirement to determine agents for workflow WS20000075 for PO from Ztable entry. Is that customer exit EXIT_SAPLEBNF_005 will work ?Hi ,
Try assigning a new Agent Rule in the Task TS20000166.
You will have to create a custom rule using transaction PFAC. Choose option "F - Agent dertermination function to be executed" and assign a new Z function module which will determine your agent.
You can refer to function module ME_REL_GET_RESPONSIBLE while creating your own function module.
Cheers!!!
Gautam -
Is there a User exit for fast entry transaction PA42
I am trying to find a user exit for transaction PA42 Fast entry.
We currently have custom table that we check before allowing maintenance on employee data. I have found user exits for transaction PA30 and PA40 but am struggling to find one for PA42 Fast Entry.
Any assistance would be greatly appreciated.
ShamshudinYou can check the following...
Determined from program DevClass HRPBAS01 User Exit for HR Master Data
Determined from program DevClass HRPC0001 HR: PC download authorization
Determined from program DevClass HRRPAI01 User exit for FB HR_ENTRY_DATE and HR_LEAVING_DATE
Determined from program DevClass PARA0001 Enhancement for Determining the Number of Periods
Determined from program DevClass PARA0002 Enhancement for Calculating Annual Salary; IT0008,14,15
Determined from program DevClass PBASRP01 PA: User exit distributed reporting
EXIT_SAPFP50M_001 PBAS0001 PA: Pers.Admin./Recruitment: Default values and checks
EXIT_SAPFP50M_002 PBAS0001 PA: Pers.Admin./Recruitment: Default values and checks
EXIT_SAPMP50A_001 PBAS0002 PA: Enhancements for Personnel Administration - Menu -
User Exit for PKMC (Kanban Control Cycle)
Dear Gurus,
I need to know if there is a user exit in PKMC (kanban control Cycle) to create a extra tab next to the print control tab in the bottom.
Best Regards,
KumarList of exits available.
Enhancement/ Business Add-in Description
Enhancement
MPKR0001 Customer fields in kanban control cycle
MPKP0002 Customer-Specific Fields Call Interface
MPKP0001 Customer Defined Display in Kanban Board
MPKD0001 Kanban output as EDI
MPKCCY02 Customer Error in SumJC Control Cycle
MPKCCY01 User-Defined Fields in Kanban Control Cycle (PKMC)
MPKC0001 User exit for kanban calculation
MPKB0002 Customer defined display in kanban board
MPKB0001 User's own functions in the Kanban processing
Business Add-in
BADI_PVBE_UPDATE_APO PVB Publish Changes to the APO
MPKC_REQ_SELECTION BAdI for Requirements Selection for Kanban Calculation
PK_CALL_INTERFACE Customer-Specific Fields Call Interface
PK_CCY_SELECTION Selection for Maintaining Control Cycles
PK_REVERSAL BAdI during reversal of Kanban -
Hi All,
I am looking for a User Exit for MM01
I need to catpure the Document data in MM01>Additional data>Document data tab
I checked with the following enchancements but no use
MGA00001
MGA00002
MGA00003
BADI_Material_Check.
Can any one help me in finding the suitable enhancemet?
Thanks
BhaskerHi Bhasker
Go to Se18 Tcode
and give the definition name is "DOCUMENT_MAIN01"
check the definition in display mode because it is Sap Standard Definition.
there you will find a "TYPE" Tab
under this you have two check boxes
<b>1) Multiple Use</b>
2) Filter-Depend
if you want multiple implementations check this Check box
after this you need to create a request and the system asks Access Key for Changes
for that you will catch that Key from your Basis Team.
Regards
Sreeni -
Need Help for User Exit for Pricing
Dear ABAPers
I created a user exit for pricing where I am comparing a condition type (manually entered(ZD01)) to another condition type(YD01). If the entered value is more than the other condition type than pricing should not be updated.
RATE = 0.
IF KOMP-ZZVBTYP = 'C'.
IF KOMP-PRSFD = 'X' OR
KOMP-PRSFD = 'A'.
IF KOMV-KSCHL = 'ZD01'.
LOOP AT XKOMV WHERE KSCHL EQ 'YD01'.
KOMP-KZWI2 = ( XKOMV-KBETR / 10 ).
ENDLOOP.
RATE = KOMV-KBETR / 10.
IF ( RATE <> 0 ) AND ( RATE < KOMP-KZWI2 ).
MESSAGE W991. "Maximum Allowed Discount Has Exceeded !!!!
CLEAR KOMV-KBETR.
CLEAR KOMV-KWERT.
MODIFY SCREEN.
ENDIF.
ENDIF.
ENDIF.
ENDIF.
It is giving me the message but it is also updating the pricing. I want not to be updated. So in place of modify screen i need to reset pricing procedure.
I need a function module or a abap key word which can reset the pricing procedure.
Thanks in Advance.
regards,
MAMas per i can understand you are coding in user-exits ,.. so if you are giving that
message 'Maximum Allowed Discount Has Exceeded !!!!' type 'E'.
i think it will work. I think there is no way to stop the processing without type e.
regards
shiba dutta -
User Exit for MIRA to default document type
Is there any user exit in MIRA ,which can change the default document type .Because normally the document type is defaulted in the customization ,all the user exits which are available have the incoming structure (INVFO) in which the document type(INVFO-BLART) is coming as IMPORT parameter (e.g. EXIT_SAPLFDCB_001),hence it cannot be changed .
I would like to default the document type based on company codes .
Please let me know if there is any other way of doing this.>
Rahul Saxena wrote:
> I have given the condition"BSEG-ZTERM = 'ZTST'" in Prerequisite, and in the Substitutions when I try to assign constant value '02/16/2009' to the field Baseline Date, I don't see that Baseline date field in Substitute fields for Class '009'.
>
> How do I add Baseline date in that popup to select and assign values.
>
> Please suggest.
>
> Thanks-
i think your date format and system date format is not suitable.
give the date format as 20090216 as system format. -
User Exit for Tax Determination
Hi Friends,
I am working on Purchase Order(PO) creation process and my client requirement is, if the vendor is based in UK and even delievery is going to abroad, system should call normal tax code instead of SAP standard (which is; sap considers it as export and apply customs duty).
Anybody know about the User Exit in the Tax Code (Tax) determination process where I can change the Tax Code during runtime?
Regards,
ShabbarThese are the user exits for the purchase order.
V02V0001-Salesarea determination for stock transport order
V02V0002-User exit for storage location determination
V02V0003-User exit for gate + matl staging area determination (headr)
V02V0004-User Exit for Staging Area Determination (Item)
V50PSTAT-Delivery: Item Status Calculation
V50Q0001-Delivery Monitor: User Exits for Filling Display Fields
V50R0001-Collective processing for delivery creation
V50R0002-Collective processing for delivery creation
V50R0004-Calculation of Stock for POs for Shipping Due Date List
V50S0001-User Exits for Delivery Processing
V53C0001-Rough workload calculation in time per item
V53C0002-W&S: RWE enhancement - shipping material type/time slot
V53W0001-User exits for creating picking waves
VMDE0001-Shipping Interface: Error Handling - Inbound IDoc
VMDE0002-Shipping Interface: Message PICKSD (Picking, Outbound)
VMDE0003-Shipping Interface: Message SDPICK (Picking, Inbound)
VMDE0004-Shipping Interface: Message SDPACK (Packing, Inbound)
Award poits if this was helpful.
Thanks and regards.
Maybe you are looking for
-
Application testing using HttpUnit on SAP netweaver EP
Hi, I'm trying to perform blacbox testing on login page of an application running on SAP netweaver server. The code in the testClass looks like this: URL serverUrl = new URL(url); WebConversation conversation = new WebConversation();
-
hey all, I have been getting the "cannot get mail" error message on my iphone5 suddenly. ive been using iphone to check two email accounts for months now, one is gmail and not troubled. the other is mail from thunderbird and i get this error message
-
Branchcache between 2 2012R2 servers
Hi, I found the BranchCache documentation lacking as more and more usual with MS. There's a lot of info on what it does and a lot of marketing jabbajabba but not much technical info - at least not for troubleshooting. I am having a remote site which
-
Keyboard and Mouse Frozen after wake from Hibernate
My keyboard and mouse are frozen when laptop awakes from hibernate. Running XP Pro SP3 with latest drivers etc
-
How to make jar files run using java.exe and not javaw.exe
Hi , I am developing a project in which there is an GUI which inturn will call a console . I have made it into an jar file now. Here comes the problem. When i run the jar files , i don't get a console. While going through this forum, i came to know t