User Exit - Purchase Order Create - Payment Exceeded
Hello All,
When i will to save the PO, i need to check payment budget.
I'm using the User Exit MM06E005/EXIT_SAPMM06E_012.
But when the error is about payment budget exceeded, the message is displayed before the program enter in the user exit. So, i can't check because the program do not enter in User exit.
How can i solve it?
Thanks
Hi ,
If ur craeting a accout assigned PO and ur getting the message caled , payment budget exceeded , then it means that,
that account which ur assigning has got some limit of Rs.
But ur total amount of PO is exceeding the limit and basically it s a functional issue, but if u want to ceck the exit for ur case then , what u can do is u craete a po whose total amount is less than that account limit.
Even i was facing the same problem, so what i did i try to crate a po with only one line item and qty 2 with price 100 Rs only , and that error will not come and u can chk ur exit smoothly.
If u face any problem , pls ask if i can reply u
Regards
Similar Messages
-
USER EXIT:Purchase order services
In the user-exit: EXIT_SAPLMLSP_030 which is used for the services in PO has only structure srv_esll.In this user-exit I want the PO item .Please suggest me how to get the PO item details in this userexit.
Dear Danish,
This is while PO creation hence there wont be any PO number.
My scenario is this:While PO creation , I enter 10 items and for each item selected I will be entering the services and while doing this i select from item drop down.This BAdi will not get called and when it gets called first time it gives the last line item but not the selected item for service.
With thanks & regards, -
Can anyone give me user exit name for create/update purchase order partners
Hello guys
Can anyone gives me user exit name for create/update purchase order partners?
Requirement is to insert/update partner when SC flag is checked while creating/updating purchase order (ME22N / ME21N) by using user exit.hi,
check these exits.
Transaction Code - ME21N Create Purchase Order
Enhancement/ Business Add-in Description
Enhancement
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 -
Purchase order to payment cycle report
Dear Sir/Madam
We want to have a report on the purchase order to payment cycle.
this includes the following points:
1. Purchase Requisition is raised in the system
2. PO is raised with various line items
3. Advance payment is done against the PO
4. GRN is made for goods delivered
5. Invoice is processed against each GRN
6. Retention is deducted to be paid in future
7. Liquidated damages (LD) is deducted which is treated as miscellaneous income in companys books
8. Payment is made to the vendor
We require the report in such a way which will give the details of each payment against each GRN line item. tracking of the same should be possible.
Do we have any standard report which will help in identifying the purchase order to payment cycle.
Thanks and Regards
Prashant P. ZingeHi,
It is always a requiremnet to have a report from PO, GR, IV to payment.
But unfortunately, SAP do not have such a report, we develop one locally, the difficult is at payment side.
Several invoices for one vendor has only one payment doc, how to display it need to discuss with end user. -
Email of Purchase Order and Payment Advice
Good Morning All
We wish to implement the emailing of payment advice documents to our vendors. However, we are not sure if the changes to the vendor master data required for this will also mean that purchase orders for that vendor will also be emailed. Does anyone know if this is the case or not?Having done some testing I agree that the requirement for condition data for purchase order output makes it possible to email remittances and not purchase orders i.e. by not creating the MN04 condition data. However, in my testing, when I assigned an email address to the vendor for the purposes of emailing purchase orders, the payment advice produced by the next payment run was also emailed. I'm sure I must be missing something as, if nothing else, this would imply that the vendor would offer the same email address for both purposes. In desperation we are wondering whether we need to maintain multiple email addresses and use the standard number for purchase orders and somehow identify one of the other addresses as that to be used for the remittance.
-
How to find the user exit for order cancellation
I want to find the user exit for order cancellation. And also to ensure that no one amends the order once the canellation has taken place. The cancellation shall be deemed to be affected only if the vendor has confirmed the acknowledgement of the order cancellation.
I have got a Zreport where this order should not come as open order item.
Please tell me the method of finding the users exit for order cancellation and stop the order from getting modified. And also how to find the tables in which the data has to be updated that the order has to be cancelled.
In the PO header i want an additional tab <cancellation> by which the user by the help of userid and password should be able to cancel the order. An order once cancelled cannot be undone. A new order has to be placed. The new order can be placed refencing the cancelled purchased order.
My client has got a very stringent requirement. In the past cancelled order has been undone and caused lot of problems.
Regards.hi
pls tell me t.code so that i will send all user exits related to that particular t.codes
Thanks & Regards
phaneendra -
Capture DocEntry of purchase order created by Proc. Confirmation Wizard
Dear all,
in SAP B1 2007 I developed a UI DI API addon to read the docentry of all purchase orders created by Procurement Confirmation Wizard.
I used the et_FORM_DATA_ADD event created by the wizard when I confirmed the creation of the purchase order.
In this event, the BusinessObjectInfo.ObjectKey string contained the DocEntry of the new purchase order.
But now, with SAP 8.81 PL 06, this event is not raised anymore.
So... now... how can I know the DocEntry (not DocNum) of the new purchase orders created by Procurement Confirmation Wizard?
Can someone help me, please?
Regards
EmanueleDear all,
I solved the problem analyzing the event raised by SAP B1 8.81 Proc. Confirmation Wizard.
Const CONFIRM_PURCHASE_ORDER_FORM_TYPE As String = "540010007"
Const ERROR_STRING As String = "ERRORE: "
Const WIZARD_MATRIX_PO_DOCNUM_MESSAGE As String = "540010007-36]"
Const WIZARD_MATRIX_FORMID As String = "540000036"
Const WIZARD_LINK_COLUMN_ID As String = "540000005"
Const WIZARD_VALIDATE_COLUMN_ID As String = "540000003"
Private Sub SBO_Application_ItemEvent(ByVal FormUID As String, ByRef pVal As SAPbouiCOM.ItemEvent, _
ByRef BubbleEvent As Boolean) Handles SBO_Application.ItemEvent
Try
If pVal.FormType = CONFIRM_PURCHASE_ORDER_FORM_TYPE Then
' event activated by the matrix element
If pVal.ItemUID = WIZARD_MATRIX_FORMID And pVal.BeforeAction = True Then
' if event is "matrix link pressed" or "form/matrix validate"
If (pVal.EventType = SAPbouiCOM.BoEventTypes.et_MATRIX_LINK_PRESSED And pVal.ColUID = WIZARD_LINK_COLUMN_ID) Or _
(pVal.EventType = SAPbouiCOM.BoEventTypes.et_VALIDATE And pVal.ColUID = WIZARD_VALIDATE_COLUMN_ID) Then
Dim recordsetTemp As SAPbobsCOM.Recordset = Nothing
Dim recordsetTemp2 As SAPbobsCOM.Recordset = Nothing
Dim recordsetTemp3 As SAPbobsCOM.Recordset = Nothing
Dim oform As SAPbouiCOM.Form
Try
oform = SBO_Application.Forms.GetForm(CONFIRM_PURCHASE_ORDER_FORM_TYPE, 1)
Dim sQuery As String
Dim oMatrix As SAPbouiCOM.Matrix = oform.Items.Item(WIZARD_MATRIX_FORMID).Specific
Dim ocolumn As SAPbouiCOM.Column = oMatrix.Columns.Item(WIZARD_LINK_COLUMN_ID) ' ("540000005")
If oMatrix.RowCount > 0 Then
For iRow As Integer = 1 To oMatrix.RowCount
Dim oEditText As SAPbouiCOM.EditText
oEditText = ocolumn.Cells.Item(iRow).Specific ' pVal.Row
If Not oEditText.Value.Contains(WIZARD_MATRIX_PO_DOCNUM_MESSAGE) Then
Continue For
End If
Dim DocNum As Integer = 0
Dim stemp As String = oEditText.Value
Dim stemp2 As String = ""
Dim iterRow As Integer = 0
' loop in the string searching for the purchase order docnum
While 1 = 1
If stemp.Contains(" ") Then
stemp2 = stemp.Substring(0, stemp.IndexOf(" "))
Try
DocNum = CInt(stemp2)
Exit While
Catch ex As Exception
stemp = stemp.Substring(stemp.IndexOf(" ") + 1)
DocNum = 0
End Try
Else
Exit While
End If
End While
If DocNum = 0 Then
Continue For
End If
Dim PO_DocEntry As String = ""
recordsetTemp2 = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
sQuery = "SELECT MAX(DocEntry) As MaxDocEntry from OPOR where DocNum = " & DocNum
' execute SQL query
recordsetTemp2.DoQuery(sQuery)
If recordsetTemp2 IsNot Nothing Then
If recordsetTemp2.RecordCount = 0 Then
Continue For
End If
recordsetTemp2.MoveFirst()
PO_DocEntry = recordsetTemp2.Fields.Item("MaxDocEntry").Value
End If
If PO_DocEntry <> "" Then
' check if this Purchase Order has already some textlines
' If it already has text lines, then we don't need to add them to it
recordsetTemp3 = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
sQuery = "SELECT count(*) As ExistYN from POR10 where DocEntry = " & PO_DocEntry
recordsetTemp3.DoQuery(sQuery)
If recordsetTemp3 IsNot Nothing Then
If recordsetTemp3.RecordCount > 0 Then
recordsetTemp3.MoveFirst()
Dim numOfTextLinesForThis_PO As Integer = CInt(recordsetTemp3.Fields.Item("ExistYN").Value)
If numOfTextLinesForThis_PO > 0 Then
Continue For
End If
End If
End If
End If
' if this PO still hasn't any texlines, then we try to add to it reading the textlines of Sales Order
' reopen the purchase order
Dim oPurchaseOrder As SAPbobsCOM.Documents
oPurchaseOrder = oCompany.GetBusinessObject(BoObjectTypes.oPurchaseOrders)
oPurchaseOrder.GetByKey(CInt(PO_DocEntry))
' loop on every lines
For i As Integer = 0 To oPurchaseOrder.Lines.Count - 1
oPurchaseOrder.Lines.SetCurrentLine(i)
' if purchase order line was generetated from a sales order
If oPurchaseOrder.Lines.BaseType = 17 Then
recordsetTemp = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
' search the text lines in the sales order
sQuery = "SELECT t11.LineText As LineText "
sQuery &= " from RDR10 t11 "
sQuery &= " Where t11.DocEntry = '" & oPurchaseOrder.Lines.BaseEntry & "' "
sQuery &= " AND t11.AftLineNum = " & oPurchaseOrder.Lines.BaseLine
sQuery &= " AND t11.LineType = 'T' and t11.ObjType = " & oPurchaseOrder.Lines.BaseType
sQuery &= " order by t11.LineSeq "
' execute SQL query
recordsetTemp.DoQuery(sQuery)
If recordsetTemp IsNot Nothing Then
If recordsetTemp.RecordCount = 0 Then
Continue For
End If
recordsetTemp.MoveFirst()
' loop on each text lines found
While recordsetTemp.EoF = False
If recordsetTemp.Fields.Item("LineText").Value <> String.Empty Then
oPurchaseOrder.SpecialLines.LineType = BoDocSpecialLineType.dslt_Text
oPurchaseOrder.SpecialLines.LineText = recordsetTemp.Fields.Item("LineText").Value
oPurchaseOrder.SpecialLines.AfterLineNumber = oPurchaseOrder.Lines.LineNum
oPurchaseOrder.SpecialLines.Add()
End If
recordsetTemp.MoveNext()
End While ' recordsetTemp.EoF = False
End If ' recordsetTemp IsNot Nothing
End If ' oPurchaseOrder.Lines.BaseType = 17
Next ' end-loop on every lines
' update the purchase order
oPurchaseOrder.Update()
Next
End If
Catch ex As Exception
Finally
recordsetTemp = Nothing
recordsetTemp2 = Nothing
recordsetTemp3 = Nothing
End Try
End If
End If
End If
Catch ex As Exception
End Try
End Sub
Regards
Emanuele
Edited by: Emanuele Croci on Aug 29, 2011 5:05 PM -
my client requirement is status of the po till payment i want to generate a sap query any body pls guide me purchase order ->down payment ->goods reciept-> invoice verification -> vendor payment
i want to generate this report vendor wise as well as the material and po
pls give me indetails tables and fields
advance thanks for kind replyhi,
Seelct EKBE u2013 EBELN, LIFNR
Where EKEB- BUKRS Eq (Company Code entered in the selection screen)
EKBE u2013 BEDAT Eq (Purchasing Document Date entered in the selection screen)
Select all EKBE u2013 EBELN in to EKBE
Invoice and GRN Document Number: -
Select EKEB-BELNR, BUDAT, DMBTR, WRBTR, WAERS
Where EKBE u2013 EBELN Eq EBELN Entered in the selection screen
EKBE u2013 GJAHR Eq GJAHR Entered in the selection screen
EKBE u2013 BUDAT Eq BUDAT Entered in the selection screen
EKBE u2013 VGABE Eq 1 (Goods Receipt) (in case of Invoice GRN)
EKBE u2013 VGABE Eq 2 (Invoice Receipt) (in case of Invoice MIRO)
Eenter all EKBE u2013 BELNR into BKPF and select BKPF- BELENR, WAERS
BKPF - BUKRS Eq BUKRS Entered in the selection screen
BKPF u2013 GJAHR Eq EKBE - GJAHR
BKPF u2013 BUDAT Eq EKBE - BUDAT
BKPF u2013 AWKEY Eq EKBE u2013 BELNR + GJAHR
Eenter all BKPF u2013 BELNR into BSEG and select BSEG u2013 BELENR, DMBTR
BSEG - BUKRS Eq BKPF - BUKRS
BSEG u2013 GJAHR Eq BKPF - GJAHR
BSEG u2013 BUDAT Eq EKBE - BUDAT
BSEG- BELNR Eq BKPF u2013 BELNR
For Payment Document Select BSEG u2013 AUGBL
Where BSEG- BELNR Eq BKPF u2013 BELNR
BSEG - BUKRS Eq BKPF - BUKRS
BSEG u2013 GJAHR Eq BKPF - GJAHR
BSEG u2013 BUDAT Eq EKBE - BUDAT
Eenter all BSEG u2013 AUGBL into BSEG and select BSEG u2013 BELENR, DMBTR ,
Where BSEG u2013 BELNR Eq BSEG - BSEG u2013 AUGBL
For Advance Payment Document Select BKPF u2013 BELNR, WAERS and KURSF
Where BKPF - BUKRS Eq BUKRS Entered in the selection screen
BKPF u2013 GJAHR Eq EKBE - GJAHR
BKPF u2013 BUDAT Eq EKBE - BUDAT
BKPF u2013 TCODE Eq FBA7 and FBA6
Enter all BKPF u2013 BELNR into BSEG and select BSEG u2013 BELENR, DMBTR ,
Where BSEG- BELNR Eq BKPF u2013 BELNR
BSEG - BUKRS Eq BKPF - BUKRS
BSEG u2013 GJAHR Eq BKPF - GJAHR
Reagrds,
Rama Mohan -
Purchase order wise payment details
Hi ,
Requirement : Report for Purcahse order wise payment details
Is there any report , where we can see purchase order wise payment detailsHi,
Better u go with z report, i checked there is no std tcodes/reports for ur req.. and chek the blw link for query
/people/tao.zhang/blog/2009/04/07/magical-function-2-of-sap-query
Edited by: Jayakumar Raju A.S on Jul 6, 2009 7:03 AM -
Problem Purchase order created in SAP R/3 sent in to File XI?
Hi all,
I am new to XI, learning it myself.
I am trying to "send purchase order created in SAP R/3 into XI". For that I am following the document titled as <b>"A Beginners Guide to SAP XI
Settings, Part I "</b>. But I am getting problem in connecting R/3 system to XI system.
I am stuck at very first step in the documentation which says:
<b>Setting Communication ports:</b> in this it asks for "<b>RFC Destination</b>"
Please suggest me the step by step procedure to get through it.
Thanks and Regards,
RaviHi,
go through these links...
1. /people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters
2. IDOC to File
3. /people/michal.krawczyk2/blog/2005/03/29/configuring-the-sender-rfc-adapter--step-by-step
4. /people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters
5. Re: Idoc to File Scenario
regads,
Ansar. -
Purchase order created by "Procurement Document" is not printed automatical
Hi all experts,
After and upgrade to 8.81 (from 2005A) some funcionality was lost.
In Print Preferences it is set that the document Purchase Order shall be printed automatically when adding document.
This works if you add the document directly in Purchase module.
But, if you add the document via a Sales Order
- on the Logistics tab, mark the field Procurement Document to create the PO -
the Purchase order is not printed.
Has anyone seen any changes regarding this functionality or is it a bug?
Thank you!
Kind regards,
SusannaHi all!
Just F Y I - this is an error in this version that is a candidate for future versions:
"After detailed investigation of the Business Impact and the Product Strategy we came to the decision that the correction of the system behaviour is not feasible in the currently supported versions of SAP Business One. Theerror has been recorded and is a candidate to be fixed in a future version.
Please see note 968358 and note 1644710 for further information.
Like a workaround please use the document printing option to print all the purchase order created using the procurement wizard."
Thank you for all help!
//Susanna -
Email Sending of Purchase Order Created versus Print Output
Dear All,
I have been successful in sending the Purchase Order created as a PDF Attachment in email.
The problem i am facing is in the formatting of the attached output.
The attachment has different bold characters as compared to the print output of the PO , though both the outputs are using the same sapscript.
I am not able to find the reason for the difference.
Only because of this reason, my delivery is on hold.
Please guide me on how to find where the difference could be and how to rectify it.
Thanks & Regards,
BhavikaCould you tell us which fonts you tried?
What device type did you choose? (SPAD transaction, select your output device to determine the device type)
Could you upload TrueType fonts (one normal, one bold) with RSTXPDF2 program (do not tick "do not embed font in PDF" option so that the font is embedded in the PDF file)?
Did you make sure that your font is not converted to another one? (SE73, printer font, choose your device type, click conversion button, and check what is the converted font) -
Link between Purchase orders created and ORCM(Recommendation report)
Hi,
In purchase orders created from MRP recommendation report, we want to change the price, warehouse and some UDF's .For this functionality we are stopping the B1 functionality and adding the Purchase orders through our coding,In this scenario once the purchase order is added to B1 the same record should not be visible in MRP recommendation for creating the Purchase order again.
we are not finding the link how can we update the ORCM table from were MRP recommendation is picking data to change the status field to "D" so that it will be not visible for creating purchase order again.
Can any one please help in this issue.
Thanks in Advance.
Thanks & Regards,
OmPrakash.
Edited by: Om Prakash Akarapu on Dec 26, 2008 6:05 AMHi
in <b>EKKN</b> table you have sales order and Item fields (VBELN and POSNR)
using these fields search for the deliveries in LIPS table
EKKN-VBELN = LIPS-VGBEL and
EKKN-POSNR = LIPS-VGPOS
<b>Reward points for useful Answers</b>
Regards
Anji -
User exit for vendor down payment
Dear All,
Can you please provide user exit for vendor advance payment ( F-48).Hi
Please check the below user exits
F050S001
F050S002
F050S003
F050S004
F050S005
F050S006
F050S007
F180A001
FARC0002
FEDI0001
RFAVIS01
RFEPOS00
RFKORIEX
SAPLF051
Thanks & Regards
Phaneendra -
Purchase Order created against sales order.. report
Hi Folks!
I want to see purchase orders created against sales orders.
Is there any report?
RegardsHi,
You can develop your own report by using table VBAK-VBELN(sales document),VBAK-BSTNK(Customer purchase order number).
Just try....
Hope it helps you...
Regards,
Jaheer.
Maybe you are looking for
-
Clients cannot update from WSUS server - error 8024400E
Alright, so I'm troubleshooting our WSUS server and seem to be stuck. I am running WSUS 3.2.7600.226 on Server 2003. The client I have been using for testing is Windows 7 x64, but we have this issue on all clients (XP, 7 x86, and 7 x64). I started
-
How to backup changes only?
Case: My photos are (all in Sony's RAW format) stored in a directory "allfotos" on Drive G: of my desktop computer, Windows XP Pro SP3.. I have a copy of all photos in a directory "allfotos backup" on external drive M:, attached via Firewire to my d
-
DVCProHD to WHAT for Windows Post environment?
If one were editing DVCProHD and had to hand off the output to a Windows Post environment what wrapper would one use. I suspect many flavors of Avid support DVCProHD wrapped in mov but some other Windows NLEs may not. If you attempt to export to AVI
-
IPad 2 wifi only can I call and receive face time
Ipad 2 with wi fi receive and send FaceTime ??
-
Feasibility of upgrading to OS X 10.5 Leopard/iTunes 10 for an iPod Touch?
I have an old, but still functional, PPC G5 that is currently running OS 10.4.11. I recently got an iPod Touch 4G and have been syncing it with my Win7 netbook, since it won't work with my 10.4 Mac. However, the fact that I can't sync contacts with