Cheque Payment PLD - AP Invoice no., Date, Vendor Ref. AP Invoice Amount
hi all,
I am trying to modify the Cheques for Payment PLD to include row details for each AP Invoice, included in the payment(these details are available in Outgoing Payments PLD)
Details needed are:
Invoice Date AP Invoice No Vendor Invoice Ref. AP Invoice Amount
1
2
3
etc
These details are not available in the in standard "Cheques For Payment (system)" PLD.
Would any one have a sample PLD suitable to use for this issue.
Kind Regards
Eric Walker
Update,
We tried copying the cheque PLD from the US Demo database and its worked.
I now have row data that includes, date, AP Invoice, AP Invoice Vendor Invoice number, AP invoice amount.
So I don't how this can be, the US PLD also used variables. When I try to use the US variable No. I get an error indicating they are invalid, in my local system PLD.
Still like to know how to do this with our system PLD or how a variable can be added in our system.
Kind Rgards,
eric
Similar Messages
-
Item Pricing date from ref. Invoice not copied into Credit memo request
Hi SAP experts,
If a reference invoice includes several pricing dates on item level
only the first pricing date will be copied into the credit memo request.
Example: Invoice includes three items. First item has pricing date
2007-03-01 and item 20/30 have pricing date 2007-03-03. When creating
a credit memo request with reference to this invoice,
Pricing date 2007-03-01 will be copied to VBKD-PRSDT field
on header/item level.
When the customer has a foreign currency in use, the exchange rate
in the credit memo request will be from 2007-03-01 and not from
2007-03-03 for items 20/30. This is wrong.
Can you help in finding a solution? Copying routines?Hi,
Yes data transfer routine is the solution for this.You can create and assign a new routine in the copy control at item level for Invoice to Credit memo request.Here you can write the code as to transfer the data of pricing date field form billing document to credit memo request.
This should work.
Reward points if useful.
Regards,
Amrish Purohit -
How can i restrict to punch GRPO/AP Invoice without entering Vendor ref no
Hi
Is there any way to restrict GRPO and AP Invoice without Vendor Ref No.
Regards
Ashish GargHi Ashish,
Please try below.
For GRPO---
if @object_type = '20' and @transaction_type IN ('A', 'U')
Begin
if Exists(SELECT T0.[NumAtCard] FROM OPDN T0 WHERE
(T0.[NumAtCard] is null or T0.[NumAtCard] = '' ) AND T0.[DocEntry]=@list_of_cols_val_tab_del)
Begin
Set @error = -1000
Set @error_message = 'Suppler Reference Number is Mandatory'
End
End
For AP Invoice-----
if @object_type = '18' and @transaction_type IN ('A', 'U')
Begin
if Exists(SELECT T0.[NumAtCard] FROM OPCH T0 WHERE
(T0.[NumAtCard] is null or T0.[NumAtCard] = '' ) AND T0.[DocEntry]=@list_of_cols_val_tab_del)
Begin
Set @error = -1001
Set @error_message = 'Suppler Reference Number is Mandatory'
End
End
Hope this help
Regards::::
Atul Chakraborty -
Outgoing payment vs invoice due date
Dear Forum,
Our management wants to get historical due date outgoing payment compare to invoice due date. So we know if out finance paid accordingly based on the invoice due date.
The fields ;
Invoice Number
Invoice Date
Invoice Value
Invoice Due date
Outgoing Payment Number
Outgoing Payment Date
Type of Payment ( check / cash /bank transfer)
Due Date Check/Cash/Bank Transfer
Out Going Value
If any experts can help me to get the query? thanksHai!
Run this Query in SAP Query Manager.
Declare @FromDate datetime
Declare @Todate datetime
set @FromDate = (select min(S0.DocDate) from OPCH S0 where S0.DocDate >= '[%0]')
set @ToDate = (select max(S1.DocDate) from OPCH S1 where S1.DocDate <= '[%1]')
Select
P0.DocNum as 'Invoice Number',
P0.DocDate as 'Invoice Date ',
P0.DocTotal as 'Invoice Value ',
P0.DocDueDate as 'Outgoing Payment Number',
V0.DocNum as 'Outgoing Payment Date ',
V0.DocDate,
(case
when V0.CashSum > 0 then 'Cash'
when V0.CheckSum > 0 then 'Check'
when V0.TrsfrSum > 0 then 'Bank transfer'
end) as 'Payment Type',
V0.DocDueDate as 'Due Date Check/Cash/Bank Transfer',
V0.DocTotal as 'Out Going Value'
From OPCH P0, OVPM V0, VPM2 V2
Where
V0.Docentry=V2.DocNum and
V2.Docentry = P0.Docentry and
P0.DocDate >= @FromDate and
P0.DocDate <= @ToDate
Regards,
Thanga Raj.K -
BAPI for Vendor Non-PO Invoice processed through MIR7 Transaction
Hi All,
I have a requirement where i will get data from flat file. Using this data Vendor Non-PO Invoice
will be processed through MIR7 transaction with Multiple line items - Invoice Upload Parking the document for vendor non-po invoices.
The data is in below format in flat file:
Header fields in 1st line
Dr. Key related fields in 2nd line
Cr. Key related fields in 3rd line
Header fields in 4th line
Dr. Key related fields in 5th line
Cr. Key related fields in 6th line
etc .... in flat file
In these main fields coming in from flat file are: comp.code, doc.type, vendor no,
Debit/Credit indicatorSHKZG, G/L a/c no, inv/post dates etc..
My issues:
1. I am planning to use F.M BAPI_INCOMINGINVOICE_PARK is it the correct F.M!
But Here PO number seems to be mandatory for this F.M but it is not available as per our flat file,
if so can anybody suggest a BAPI for Vendor Non-PO Invoice parking for MIR7 transaction!
2. What are the parameters need to be used for from above flat file data especially for 2 line itemshttp://Dr./Cr. data other than header data. So as per Header & 2 Line items http://Dr. & Cr. Data which parameters will be updated with which data in above flat file! can anybody clarify!
3. Also in flat file WorkflowNo is available in which parameter this fields will need to be filled & also by doing this will it trigger workflow automatically!
Can anybody clarify about above points!
Thanks in advance.
Thanks,
Deep.Hello Deep,
I know it might be quite late for you for this answer, nevertheless I will write that, because there are lots of question like yours. bapi_incominginvoice_park is also a suitable bapi for you. All you need to do is call it this way:
data: headerdata like bapi_incinv_create_header value is initial,
table_item type table of bapi_incinv_create_item,
gl_account like bapi_incinv_create_gl_account,
table_gl type table of bapi_incinv_create_gl_account.
* fill headerdata and table_gl, leaving table_item empty
CALL FUNCTION 'BAPI_INCOMINGINVOICE_PARK'
EXPORTING
HEADERDATA = HEADERDATA
* ADDRESSDATA =
IMPORTING
INVOICEDOCNUMBER = lv_docnr
FISCALYEAR = lv_year
TABLES
ITEMDATA = table_item
* ACCOUNTINGDATA = table_acc
GLACCOUNTDATA = table_gl
* MATERIALDATA =
* TAXDATA = table_tax
* WITHTAXDATA =
* VENDORITEMSPLITDATA =
RETURN = lt_return.
This works perfectly for me, creating a mir7 document without refering to a PO. The trick here is to fulfill the glaccountingdata importing table while leaving itemdata empty. -
AR DATA FLOW (TABLE LEVEL) - INVOICE편
제품 : FIN_AR
작성날짜 : 2003-09-16
AR DATA FLOW (TABLE LEVEL) - INVOICE편
=====================================
PURPOSE
이 문서에서는 AR table들에 대해 어떻게 data가 들어가는지에 대해
설명한다.
Invoice transaction을 기준으로 설명한다.
Explanation
1. Invoice
User가 invoice를 입력하면, 아래의 table들에 data가 insert된다.
o RA_CUSTOMER_TRX_ALL (Invoice Header)
o RA_CUSTOMER_TRX_LINES_ALL (Line Details)
o RA_CUST_TRX_LINE_GL_DIST_ALL (Information for posting to GL)
o RA_CUST_TRX_LINES_SALESREPS_ALL (Sales Credit Information)
일단, invoice가 "Complete"되면, 아래의 table에 한줄(혹은 그 이상)이
추가로 Insert된다.
o AR_PAYMENT_SCHEDULES_ALL (Running Totals for Invoice Amounts)
대체로 하나의 invoice는 하나의 Payment schedule record를 가지지만,
만약 할부(Installment)로 Pay처리되는 invoice라면, installment하나당
하나의 Payment schedule record를 가진다.
| | /| |
| TRX |---------------<-| PAYMENT |
| | \| SCHEDULE |
| |
| |
^ -------
/|\ |
------------ |
| | |
| TRX_LINES | |
_| | |
/ ------------ |
| | | |
\__/ | |
^ |
/|\ |
| |
| GL_DIST |
| |
1.1 RA_CUSTOMER_TRX_ALL
Invoice의 Header정보(Customer, Invoice Number, date.. etc)를 담고 있는 table이다.
Invoice하나당 한줄의 정보가 Insert된다.
Key = CUSTOMER_TRX_ID (generated from sequence RA_CUSTOMER_TRX_S)
Important Fields
TRX_NUMBER - User Entered Invoice Number
CUST_TRX_TYPE_ID - Foreign key to RA_CUST_TRX_TYPES
BILL_TO_CUSTOMER_ID - Foreign Key to RA_CUSTOMERS
SHIP_TO_CUSTOMER_ID - Foreign key to RA_CUSTOMERS
TRX_DATE - Invoice Date
COMPLETE_FLAG - Y or N
1.2 RA_CUSTOMER_TRX_LINES_ALL
Invoice의 Line정보(수금 item및 금액, Tax등)가 insert되는 table이다.
Invoice하나당 한줄이상을 가진다.
Key = RA_CUSTOMER_TRX_LINE_ID (from sequence RA_CUSTOMER_TRX_LINES_S)
Important Fields
CUSTOMER_TRX_ID - Foreign key to RA_CUSTOMER_TRX
LINE_TYPE - LINE, TAX, FREIGHT
QUANTITY_INVOICED - Line Quantity
UNIT_SELLING_PRICE - Price per unit
EXTENDED_AMOUNT - Quantity * Price
LINK_TO_CUST_TRX_LINE_ID - Null for LINE, for TAX and FREIGHT lines
contains the RA_CUSTOMER_TRX_LINE_ID of
associated LINE record
1.3 RA_CUST_TRX_LINE_GL_DIST_ALL
GL로 Posting될 정보가 담겨져 있다.
Invoice Line당 한줄 + Invoice Header 한줄로 이루어져 있다.
(예를들어, Invoice의 Line이 총 3줄이라면, RA_CUST_TRX_LINE_GL_DIST_ALL table에는 총 4줄의 정보가 담기게 된다.)
Key = CUST_TRX_LINE_GL_DIST_ID (from sequence)
Important Fields
CUSTOMER_TRX_ID - Foreign key to RA_CUSTOMER_TRX
CUSTOMER_TRX_LINE_ID - Foreign key to RA_CUSTOMER_TRX_LINES or
Null if this relates to Invoice Header.
AMOUNT - Value of distribution - entered currency
ACCOUNTED_AMOUNT - Value of distribution - book currency
CODE_COMBINATION_ID - Foreign key to GL_CODE_COMBINATIONS
POSTING_CONTROL_ID - -3 if unposted
GL_DATE - Accounting date.
GL_POSTED_DATE - Date Invoice posted to GL.
1.4 RA_CUST_TRX_LINE_SALESREPS_ALL
해당 invoice가 입력될때 함께 입력된 Sales Person에 대한 정보가
담겨져 있다.
1.5 AR_PAYMENT_SCHEDULES_ALL
해당 invoice에 대해서 Line, Tax, 운송비 등 각각의 항목에 대한 Total값과
Remaining값을 담고 있다.
대체로 Invoice당 한줄이 insert된다.
Key = PAYMENT_SCHEDULE_ID (from sequence AR_PAYMENT_SCHEDULES_S)
Important Fields
CUSTOMER_TRX_ID - Foreign key to RA_CUSTOMER_TRX
STATUS - (OP)en or (CL)losed
ACTUAL_DATE_CLOSED - 31-DEC-4712 if still open, otherwise
date payment schedule closed.
GL_DATE_CLOSED - 31-DEC-4712 if still open, otherwise the
gl date of the closing transaction.
AMOUNT_DUE_ORIGINAL - Invoice Total Amount
AMOUNT_DUE_REMAINING - Total Amount outstanding for Invoice.
AMOUNT_LINE_ITEMS_ORIGINAL - Sum of Invoice Line amounts.
AMOUNT_LINE_ITEMS_REMAINING - Outstanding Line amounts.
TAX_ORIGINAL - Total Tax for Invoice.
TAX_REMAINING - Outstanding Tax for Invoice
FREIGHT_ORIGINAL - Total Freight For Invoice
FREIGHT_REMAINING - Outstanding Freight
AMOUNT_APPLIED - Total payments applied to this Invoice.
AMOUNT_CREDITED - Total Credit Memos applied.
AMOUNT_ADJUSTED - Total value of adjustments.
The payment schedule should balance within itself, ie the following
calculations
should be true:-
AMOUNT_DUE_ORIGINAL = AMOUNT_LINE_ITEMS_ORIGINAL
+ TAX_ORIGINAL
+ FREIGHT_ORIGINAL
AMOUNT_DUE_REMAINING = AMOUNT_LINE_ITEMS_REMAINING
+ TAX_REMAINING
+ FREIGHT_REMAINING
AMOUNT_DUE_ORIGINAL = AMOUNT_DUE_REMAINING
+ AMOUNT_APPLIED
- AMOUNT_CREDITED
+ AMOUNT_ADJUSTED
Reference Documents
Note : 29277.1Hello,
The basic flow of data is
ERP tables - source snapshots - source views (eg MRP_AP%) - staging tables (MSC_ST%) - ODS tables ( MSC%)
Check out note 412375.1. This is the flow for sales order data for ASCP.
regards
Geert -
Invoice cancelation Date to original Billing Date
Hello ALL,
When we try to cancel the invoice which was created in Last Month it is picking invoice created date.When canceling an invoice, the creation date of the initial invoice is the default date for the cancellation. This causes an issue when the invoice was originally created in a month that is now closed.
for example invoice created in July .and July Period were closed. now when we are trying to cancel the invoice it is taking invoice date ie july.but where as it should take current date. please let me know how can i work around.
Thanks
Raju.Hello to all,
I have been reading this subject about how to influence billing date when canceling invoice.
I have the same problem, because copy control does not exit between F2 and S1 in SAP ERP 4.7, and I could not find any user exits that are valid for this purpose.
There are lots of user exit for creating or changing invoice but for cancellation, I could not find any that works.
I would be grateful if you could share how did you resolve your problem, or if you have some tips on how to resolve mine.
Thank you,
Ivana Filipovic
Edited by: Ivana Filipovi263 on Jan 5, 2010 11:22 AM -
Vendor Ref. Number from A/P Invoice & Credit Memo in the Check PLD Form
Hi Guys,
We have standard PLD layout form for the Check Document. In our case the Check Document based on the outgoing payment and outgoing payment referenced on A/P Invoice and Credit Memo documents.
Is there someone who knows how to get "Vendor Ref. Number" (NumAtCard) field from A/P Invoice and Credit Memo in the Cheque form?
Any ideas will be appreciated.
Thanks so much,
SergeyHi Nagarajan,
Thanks a lot for your answer! Yes, you are absolutely right, the variable number for this field was #100.
Unfortunately, this solution worked partially for us. In our case, we also needed to specify a "Document Date" (Tax Date) for the ref. document and there was a problem, because we could not find SAP variable number for this (I don't know if this exists?)
In the final, I just related "OJDT" to "VPM2" table and after that I have got my "TaxDate" field.
So we are good now.
In addition, maybe you know where can I get a variable numbers catalogue or something like that?
Thanks,
Sergey -
Payment of multiple invoices for a vendor using F110
Hi,
Vendor X has been assigned with payment method F. There are 2 invoices posted to this vendor. In the accounting document of these 2 posted invoices, the user explicitly assigned payment F on one invoice and left the other one with blank payment method assignment.
During payment run (F110) for payment method F, the system picked up the 2 invoices but listed them as two separate lines in the proposal list. When we process the payment the system also created two payment documents.
Is there a way for these 2 invoices to be processed as a single proposal and payment eventhough one has a payment method value assigned in the invoice and the other oen derived from the master data?
I have tried assigning both invoices with payment method F in the FI document and it works but we cannot sustain this procedure as we don't know when the user will manually assign payment method to the accounting documents.
Any suggestion how I can fuse these invoices together in a single proposal/payment document?
Thanks,
AloyThis is explained in paragraph 5. of OSS note 305414 - F110: Unintelligible grouping of documents.
This note is very helpful for understanding the grouping of documents in F110.
[https://websmp230.sap-ag.de/sap(bD1mciZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=305414] -
Discount in Outgoing Payment and Cheque for payment PLD
Hi,
Using SBO2007A PL30
I have tried to find whether there are system variables for amount outstanding and discount which show amounts in foreign and local currency.
I can't find any references in the .xls document how to use system variables in SBO 2007., and strangely there is no reference in that document to the system variables which already exist in the in- built layouts
Cheque for Payment
- total amount paid ( variable 97 )
Outgoing Payment
- posting date ( variable 202)
- Doc Ref ( var 200)
- Your Ref ( var 201)
- amount paid ( var 63)
This leads me to suspect that system variables for outstanding amount and discount may well exist.
In the meantime I have had to do this using references to database fields Outgoing Payments - Invoices: Discount Amount and Outgoing Payments - Invoices : Amount before Discount with formulae to determin whether the document is in local or foreign currency.
A further downside to this is that a credit memo is displayed from the latter database field without a negative sign
Does anyone have any suggestions here?
ThanksManaged to figure out most of it but for the record I have discovered an additional 4 system variables in use for paid document details at line level. Here is the complete list so far:
outgoing Payment
PostingDate 202
our Ref 200
your Ref 201
o/S Amt ? ( used formula based on db fields instead)
Discount ? ( used formula based on db fields instead)
Payment 63
Cheque for Payment
posting Date 104
our ref 101
your ref 100
O/s amt 96
Discount ? ( use formula :difference between 96 and 97)
Payment 97
If anyone can supply the missing variables if they exist, I'd be grateful. -
Tables for vendor invoice no, date, amount, tds, deduction
Hi experts, i m new to implementation. i m now doing report for vendor payment voucher.
as per per the payment voucher no and date, in item data i want the tables stores the vendor invoice no, date, po no after MIGO & MIRO, bill amount, tds, deduction (debit note, advance etc).
regards
thanks in advance.hi,
LFA1
LFAS
LFAT.
These tables is not useful for now for Report of Vendor payment voucher.
In header data, i want pament voucher no, date, vendor no, name(i got in table-field REGUP-VBLNR, regup-bldat, regup-lifnr & lfa1-name1) .
now i want in item data vendor invoice no, date, GR no, date, invoice amount, tds amt, deduction amt (separately like advance amt, debit note etc).
till now i found invoice no, inv amt (table-field BSIK-BELNR, BSIK-DMBTR).
Now i need GR no, GR date, tds amt, deduction details amt.
Plz send with table-field names, and how to relate with above.
regards,
debendra -
Purchase order Document date in AP Downpayment invoice PLD
Dear All,
Is it possible to capture purchase order Document Date in AP Down payment invoice PLD.My client want like this.I have tried,but i am not able to capture this field in AP Down payment invoice PLD.please give me the solution for this,If it is possible.
Thanks,
Silpa.Nhi silpa,
Create a user defined field in row level of marketing documents.
Apply formatted search using query
Select $[OPOR.TaxDate]
select auto refresh
when changing field Document Date in header level.
On copying purchase order to ap downpayment invoice Document date will copy to it.
U can also bring it to PLD by creating database field with table DPO1,column U_XXX
Hope it will solve problem.
Jeyakanthan -
Payment program to pick previous years vendor invoices
Dear All
I have posted some vendor invoices for the year 2007, with payment terms immediate.
While i am doing APP today with Run date of 2007 i.e. 10/01/2007, these vendor invoices do not appear in the proposal list.
Can you please highlight the reasons for the same.
regards
eashwarHi
FBL1n shows the invoice is overdue and in F110 the 'documents entered upto' & 'posting date' have been maintained as the dates of invoice posting date + 1.
regards
eashwar -
Outgoing Payments not populating any invoices for a vendor
It seems I have an issue with Outgoing Payments after the turn of the fiscal year.
I have vendors that have invoices due this month and when I enter their vendor code in Outgoing payments, none of the invoices appear. Here are the things I verified:
All invoices have NO payment block checked - this is good
All posting periods have the correct dates for all periods - including doc dates and due dates
No periods are closed, I tried both closing period and unlocked as options
Payment methods are correct including banking info
The fiscal year is properly set in GL determination
I have upgraded to 8.81 p09 to see if this was a patch issue
Payment wizard does not even pull these vendors, though it does pull some and those all are due dates of earlier than Dec 2011
I have tried changing the due dates to be Nov 2011on the invoice, but it still will not show the vendors in outgoing payments
Nothing shows in the payment wizard for Non-incl. transactions
Authorizations are correct and I am signing on using a manager log on w pro license
This issue was not present until Jan 2012, all invoices were entered in Dec 2011
Are there any other areas I am missing to look? Is there something in the tables that would flag these invoices to not show?
Any idea what I can do?? HELP!!
Edited by: Joanne Pencola on Jan 20, 2012 1:54 PMHi,
Check the detect query in the Note No. : 1041101.
Also, check whether you detect any of the reported invoices in the following detect query :
SELECT t2.cardcode,T2.docNum, T1.docentry, T1.status, T2.docstatus,T1.reserved ,T2.reserve FROM
pch6 T1 inner join opch T2 on T2.docentry = T1.docentry Where T1.reserved = 'Y' and T2.docstatus = 'O'
and T1.reserved !=T2.reserve
Kind Regards,
Jitin
SAP Business One Forum Team -
[PLD] vendor ref Number variable in outgoing payment ?
Hello,
How to display the vendor ref Number in PLD on printing outgoing payment document.
We want display the ref in every line.
wath is the variable number ?
Rgds,
ThierryHello Thierry,
On the Outgoing Payments Screen if you check on the
Customer / Vendor Reference Number, you would automatically see the Vendor Reference No in the rows where the invoices are displayed.
This information also carries to the template and when you preview/print the template this information is printed through the <b>Documents paid variable</b>
<b>SYSTEM VARIABLE NO 130</b> This is Field_340 in the
<b>Outgoing Payment (System)</b> template <b>in the End of Report Area.</b>
Best wishes
Suda
Maybe you are looking for
-
Can't update/restore my ipod toch 4g from 4.2.1
I've tried for months now trying to update my 4th gen ipod touch from 4.2.1 but everytime i got the 3194 error. My computer is running Windows 7, up to date, up to date Itune as well, and i've tried many youtube videos, my friends that are computer/i
-
Hello all, I am not sure if I am posting this question in the right forum, anyway I am working on a JSF project. I have some tags in my jsp pages for e.g. <h:inputText size="20" value="#{authentication.userName}" /> <h:i
-
After downloading iOS 8, I lost all my pics. Last i checked, all of them were in photo stream. I cleared my camera roll to install the update but now all the pics are gone. My phone says there is about 700+ photos but only 300+ are displayed.
-
How to use bonjour, how to use bonjour
I try to use a western digital my book world edition for my home network but i am not able to configure it. Ho to do ?
-
hello support team, i purchased 6.99 CAD subscription for calling Philippines 60 mins 1 month on march 8 , 2014 by payment method paybycash... recently my talktime was over so i decided to renew again my subscription ,