Add Customer_PO number to SQR Invoice
I need to add customer po number to our invoice.I am very new to PeopleSoft and SQR
when I look at biivcpn.sqr and bisubp00.sqc I can't tell where(What Table) it pulls from
How do I tell that?
How do I need to add the Customer PO line to bisubp00.sqc
see any where in the sqr or in sqc for the string "begin-select". begin-select is the command that will fetch the data from the peoplesoft tables. so somewhere you must see "begin-select".
In that begin-select try to locate any of the data(column of the table) which is getting printed right now on the invoice and see that table name(locate the from in that begin-select, you can see the table name). go to app designer and see if that has PO_ID. if that has PO_ID then modify the begin-select to get this extra column.
Hope this helps.
Similar Messages
-
I am using SQR Invoice Biivcpn and need to add the PO Number to it.has anybody done this? HOW?
see any where in the sqr or in sqc for the string "begin-select". begin-select is the command that will fetch the data from the peoplesoft tables. so somewhere you must see "begin-select".
In that begin-select try to locate any of the data(column of the table) which is getting printed right now on the invoice and see that table name(locate the from in that begin-select, you can see the table name). go to app designer and see if that has PO_ID. if that has PO_ID then modify the begin-select to get this extra column.
Hope this helps. -
How do you add Serial Number in Sales AR Invoice
How do we add Serial Numbers in AR Invoice.What is the query. Can anybody guide me with the procedure.
Sanjay,
The sql sample I have given is to demonstrate the use of functions and not the exact SQL to be used for your requirement. BP Contacts is not relevant for you.
Serial numbers by default print on a seperate sheet along with the Invoice if your business process is Sales Order > Invoice (without the delivery step)
If you process involved the delivery step, then the serial number will be printed on a seperate sheet along with the delivery.
The $\[$ is SAP's syntax to dynamically use Form values in your queries.
To understand the usage of this you need to completely understand about formatted seaches.
I was suggesting the usage of functions so that when you add the Invoice, the function would go to the OSRI and SRI1 tables and go in a loop to gather all the Serial number and add them to the User field which can be later printed on the PLD.
Suda -
I recently subscribed to Acrobat XI after the trial expired but when I went to activate it I was asked for the serial number. I only have the order number on the invoice. How do I get the serial number for the trial software that is on my computer?
Please do not try to send attachments in mail responses to forum messages. Please return to the forum and click Reply. You can then use the CAMERA icon to add your pictures. Looking forward to seeing what is wrong with your license screens - the general advice is simply to sign in, and everything is done. Make sure you use the SAME Adobe ID that you used to purchase, and check your account details to be sure the subscription is active.
-
Equipment Series number in Billing (Invoice) Document
Dear Experts,
Good day to you.
There is a request to add the equipment Series No in the invoice form. When user print the DO form, the series number will be printed on the DO form but not the Invoice, so user requested to add the Series number onto the Invoice form. Any advise how to add this?
For the invoice form, coding below:-
SPACE_LINE
HEADER_DATA
INCLUDE &VBDKL-VBELN_VAUF(K)& OBJECT VBBK ID 0002 NEW-PARAGRAPH TH
HEADER_TEXT
ITEM_HEADER
ITEM_LINE
DEFINE &ORDERNO1& = &VBDPL-VGBEL+(5)&
DEFINE &ORDERNO2& = &VBDPL-VGBEL+5(5)&
PERFORM XVBAP1 IN PROGRAM ZSRS0002_OCE
USING &ORDERNO1&
USING &ORDERNO2&
USING &VBDPL-VGPOS&
USING &VBDPL-LFIMG&
CHANGING &BACKORDER&
CHANGING &ORDERQTY&
CHANGING &NETPR&
CHANGING &NETWR&
CHANGING &DISTXT1(80)&
CHANGING &DISTXT2(80)&
CHANGING &DISTXT3(80)&
CHANGING &DIS1(80)&
CHANGING &DIS2(80)&
CHANGING &DIS3(80)&
CHANGING &VBAPREF&
CHANGING &MATGRP&
ENDPERFORM
DEFINE &ZNHGVPN&
DEFINE &ZNHGBIN&
PERFORM GET_VPN_BIN IN PROGRAM ZSRS0002_OCE
USING &VBDPL-MATNR&
USING &VBDPL-WERKS&
USING &VBDPL-LGORT&
CHANGING &ZNHGVPN&
CHANGING &ZNHGBIN&
ENDPERFORM
VPN : &ZNHGVPN& BIN : &ZNHGBIN&
,,,,,,,,,,VPN : &ZNHGVPN& BIN : &ZNHGBIN&
&VBDPL-POSNR+03(03)&,,&VBDPL-MATNR(10)&,,&VBDPL-VRKME(03)&
,,&ORDERQTY(6)&,,&VBDPL-LFIMG(6)&,,&MATGRP(C)& &VBDPL-ARKTX&
,,&NETPR&,,&NETWR&
,,&VBDPL-LFIMG(6)&,,&MATGRP(C)& &VBDPL-ARKTX&,,&NETPR&,,&NETWR&
,,,,,,,,,,&distxt1(20)& &dis1(15)&
,,,,,,,,,,&distxt120(20)& &dis115(15)&
,,,,,,,,,,&distxt140(20)& &dis130(15)&
,,,,,,,,,,&distxt160(20)& &dis145(15)&
,,,,,,,,,,&distxt2(20)& &dis2(15)&
,,,,,,,,,,&distxt220(20)& &dis215(15)&
,,,,,,,,,,&distxt240(20)& &dis230(15)&
,,,,,,,,,,&distxt265(20)& &dis245(15)&
,,,,,,,,,,&distxt3(20)& &dis3(15)&
,,,,,,,,,,&distxt320(20)& &dis315(15)&
,,,,,,,,,,&distxt340(20)& &dis330(15)&
,,,,,,,,,,&distxt360(20)& &dis345(15)&
INCLUDE &VBAPREF& OBJECT VBBP ID 0001 PARAGRAPH TH
ITEM_LINE_DG_HEADER
ITEM_LINE_DG
ITEM_LINE_DG_TEXT
ITEM_LINE_BATCH
,,&'Batch 'VBDPL-CHARG&,,&VBDPL-LFIMG(I15)&,,&VBDPL-VRKME&
,,&VBDPL-NTGEW(I15)&,,&VBDPL-GEWEI(03)&
ITEM_LINE_CONFIGURATION_BATCH_
,,With the following batch valuation:
,,&CONF_OUT-ATBEZ&,,&CONF_OUT-ATWTB&
ITEM_LINE_CONFIGURATION_BATCH
,,&CONF_OUT-ATBEZ&,,&CONF_OUT-ATWTB&
ITEM_LINE_CONFIGURATION_HEADER
,,With the following configuration:
,,&CONF_OUT-ATBEZ&,,&CONF_OUT-ATWTB&
ITEM_LINE_CONFIGURATION
,,&CONF_OUT-ATBEZ&,,&CONF_OUT-ATWTB&
ITEM_REFERENCE
,,&'Order'VBDPL-VBELN_VAUF& &'from'VBDPL-AUDAT_VAUF&
,,&'Purchase order no.'VBDPL-BSTNK&
ITEM_PURCHASE_DATA
,,&'Purchase order no._K /Item:'VBDPL-BSTKD& &'/'VBDPL-POSEX&
,,&'Purchase order no._W /Item:'VBDPL-BSTKD_E& &'/'VBDPL-POSEX_E&
DG_STANDARD_TEXT
INCLUDE &RDGTXTPRT-TDNAME& OBJECT HZ01 ID HZ01
SUPPLEMENT_TEXT
IF &VBDKL-LFART& = 'CRDO' OR &VBDKL-LFART& = 'LR' OR &VBDKL-LFART& = 'CP >
DEFINE &ORDERNO1& = &VBDKL-VGBEL+(5)&
DEFINE &ORDERNO2& = &VBDKL-VGBEL+5(5)&
PERFORM XVBAK1 IN PROGRAM ZSRS0002_OCE
USING &ORDERNO1&
USING &ORDERNO2&
CHANGING &ORDERREASON&
ENDPERFORM
**Order Reason: &ORDERREASON&
ENDIF
DEFINE &ORDERNO1& = &VBDKL-VBELN_VAUF+(5)&
DEFINE &ORDERNO2& = &VBDKL-VBELN_VAUF+5(5)&
PERFORM XVBAKWAERK IN PROGRAM ZSRS0002_OCE
USING &ORDERNO1&
USING &ORDERNO2&
CHANGING &WAERK&
CHANGING &VBAKREF&
CHANGING &DEPOSIT&
ENDPERFORM
INCLUDE &VBAKREF& OBJECT VBBK ID 0001 NEW-PARAGRAPH THDear ,
I assume that your requirement is to Print the Equipment number in Invoice.
If you are asking for the logic of getting the Equipment number from the invoice, then please try the following logic.
Input 'invoice number' as VBELN in VBFA and get VBELV with VBTYP_V= J
Input 'VBELV' from the above step in SER01 as LIEF_NR and get 'OBKNR'
Input 'OBKNR' from the above step in OBJK as 'OBKNR' and get 'EQUNR'.
This EQUNR will be the equipment number and SERNR will be the Serial number.
Please check and confirm whether your requirement is fulfilled with the above logic.
Thanks & Regards,
Hegal -
Hi There,
i just need to add my VAT number on my invoices, possibly past and future to be on standard about the Italian laws.
I subscribed an annual photographer pack paying monthly. Can you please help me about that.
ThanksAll orders placed are subject to sales tax as per country guidelines. Adobe charges sales tax according to the ship-to location.
To remove the sales tax from your order, contact Adobe Customer Service.Please provide the VAT ID to Support agent.
Note: You cannot place a tax-exempt order on the Adobe Store. Contact Adobe Customer Service to place a tax-exempt direct order.
http://helpx.adobe.com/x-productkb/policy-pricing/place-tax-exempt-order.html
Regards
Rajshree -
Adding new Batch Number to AP Invoice
i am working on adding new batch number to an existing AP IN by SDK function. I try the following codes, no errors prompt but also nothing updated. Can anyone advise me how to add new batch number to AP Invoice? Many Thanks!
Dim ErrMsg As String
Dim ErrCode As Integer
Dim opch As SAPbobsCOM.Documents
opch = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oPurchaseInvoices)
opch.GetByKey(5)
opch.Lines.BatchNumbers.Add()
opch.Lines.BatchNumbers.BatchNumber = "3"
opch.Lines.BatchNumbers.Quantity = 3
ret = opch.Update
If ret <> 0 Then
oCompany.GetLastError(ErrCode, ErrMsg)
MsgBox(ErrCode & " " & ErrMsg)
End IfHi ,
Steps to do:
1.Create an User Defined Field on Document Row Level:
Name: Serial / Batch Details
Type: Alphanumeric
Structure: Text
- Create a Formatted Search which will populate the data from Delivery note.
- Put the UDF into the Print Layout of Delivery Order.
Displaying Batch Details
2. Decide with information is needed from Batch details to be printed out on A/R Invoice
On Bacth Details form (Inventory\Item Management\Batches\Batch Details) we can see all the possible details.
- Batch Number
- Delivered Quantity
- Expiration Date
3. Build the formatted search SQL command.
By a SQL cursor driven result set we can build a text which contains the list of the delivered batch details separated by new lines. The relations between A/R Invoice and Delivery note is defined on A/R Invoice Form. in columns 45, 46, and 43
declare @batch as nvarchar(100)
declare @txt nvarchar(max)
set @txt = ''
declare P cursor for SELECT T0.[BatchNum] + space(1)
+ cast(cast(T1.[Quantity] as decimal(19,2)) as nvarchar)
+ space(1) + case when T0.[ExpDate] is null then '' else convert(nvarchar,T0.[ExpDate],102) end
FROM OIBT T0 INNER JOIN IBT1 T1 ON T0.ItemCode = T1.ItemCode and T0.WhsCode = T1.WhsCode
and T0.BatchNUm = T1.BatchNum
WHERE T1.[BaseEntry] =$[$38.45.0] and T1.[BaseLinNum] =$[$38.46.0]
open P
fetch next from P into @batch
while @@fetch_status = 0
begin
set @txt = @txt '\n'@batch +','
fetch next from P into @batch
end
close P
deallocate P
select @txt
4. Defined the formatted search on the A/R Invoice. -
Blocking of Duplicate Customer Ref Number in AR Invoice
Good Morning Experts,
Just want to know how to block duplicate customer reference number in AR Invoice Entry. System is currently give message that "Customer ref number already exists in this document type..".
My set up for Document Remarks Include in Document Settings is BP Reference Number. Is there any additional set up that needs to be done so that system will block duplicate reference number?
Version SAP 2007A
PL 30
Localisation Australia/New Zealand
Thanks
SandraHi
You can try this sp_transaction notification : Copy the given code to store procedure sp_transaction notification where it says --add code here
if (@object_type = '13' or @object_type = '15')
and (@transaction_type= 'A' or @transaction_type= 'U')
begin
declare @venno as varchar(100)
if @object_type = '15'
begin
select @venno = NumAtCard
from opdn
where docentry =@list_of_cols_val_tab_del
if 1 != (select count(docentry) from ODLN with(nolock) where NumAtCard = @venno)
begin
select @error = 1
select @error_message = 'Duplicate Customer ref no in SO Receipts. ! '
end
end
else
if @object_type = '13'
begin
select @venno = NumAtCard
from opch
where docentry =@list_of_cols_val_tab_del
if 1 != (select count(docentry) from OINV with(nolock) where NumAtCard = @venno)
begin
select @error = 2
select @error_message = 'Duplicate vendor ref no in AR Invoices. ! '
end
end
end
This will block the transaction when you have duplicate customer reference . It will let you put same customer reference in Sales order but it will block from delivery
<b>Please test it in test environment </b>
Thank you
Bishal -
Add PO Number to Account Analysis Report in R12
Hi Guys,
I have a requirement to Add PO Number to Account Analysis report under sub ledger Accounting application in R12.
Could you please help, if this requirement is feasible and what are the joins require for it.
As per my knowledge it goes like xla_transactions-> AP_invoices_all then to PO_headers_all.
Is there any other alternative for this.
Quick response will highly be appreciated.
ThanksYou can't go from ap_invoices_all to po_headers_all.
You will have to go from ap_invoice_distributions_all to po_distributions_all using the po_distribution_id.
And remember to perform an outer join because for some invoice distributions, you may not have a po.
Hope this helps
Sandeep Gandhi
Independent Techno-functional Consultant -
Add the number of handling units
Hi Friends,
In outbound IDOC . Enter the invoice number (VBRP- VBELN) in table VBRP and get the delivery number (VBRP-VGBEL).
2. Enter the delivery number (VEPO-VBELN) and get the number of handling units for each delivery line item and add the number of handling units for each delivery line item.
Thanks,
LaviHello
VEKP
Handling Unit - Header Table
VEPO
Packing: Handling Unit Item
Check VEKP
VBELN_GEN
Delivery in Which Packaging Material Generated
POSNR_GEN
Generated delivery item
Regards
JP -
Goods receipt number and purchase invoice nubember info objects
hi experts
i have the requirement to build the report with the info objects of goods receipt number(document) , purchase invoice numbers and purchase document numbers from standard cubes or ods.i have checked in inventory management and purchasing cubes&ods i am not success got the purchase document number it is from ods (0PUR_O02) the InfoObject is 0OI_EBELN(purchasing document number),like this i want InfoObject for Goods receipt number and purchase invoices from where can i get these fields.
if u need any more information i will provide.
thanks and regards
Sreenivas.Hi Ahamed,
thanks for your reply,do u have any information about purchase invoice number.
i need one more help from you, how to find out Debtors turnover ratio from Acceount Receivables(AR) (or)G/L (General ledger account).is there any standard queries from Business content,i was checked and i was failed,if you have any solution for this please let me know.
thanks and regards
Sreenivas. -
Finding out Idoc number of the Invoice List
Hi!
how to find out Idoc numberr if I have number of Invoice List?
For example, I have number of Invoice List for checking it in tcode VF22, but how to get Idoc number of the Invoice List in order to check it in WE02?
Will reward,
MindaugasHi,
Use NAST with the invoice to get the latest record for that output type..
use the table CMFP to get the IDOC number..The combination is
NAST-CMFPNR = CMFP-NR..
Then in the column CMFP-MSGV1 you can find the idoc number
<b>Reward points</b>
Regards -
Number range for Invoice & Accounting document to be same
Forum Members
The client requirement is to have same document number for both invoice & Accounting document.
Earlier for fiscial year 2006 it was same where as for fiscial year 2007 it is coming as different.
Can somebody help in providing the details & configuration details?
Regards,
VengatHi Vengat,
Go through this link and it may be helpful for you.
http://www.ficoexpertonline.com/archive/Volume_03_(2004)/Issue_05_(May)/V3I5A1.cfm?session=
Regards,
RitiG -
Dunning (Want to add interest calculation on unpaid invoices (open items)
We have a requirement in dunning program. we would like to add interest calculation on unpaid invoices (open items) to our dunning letters. This interest should be not posted, but calculated only for information purposes. At this moment we can calculate interest only on cleared items.
anyone has any idea about this ? what possibilities are there in SAP for this requirement?
Thanks,
NaveenHello Vimal ,
I want to understand we have setting in Dunning FBMP and OB42. if i will set the interest in OB42 and Select the interest indicator in FBMP.! the interest will be calculated for open items and no posting will be done in customer A/c?
Will you please elobrate about the setting that will be required to do the setting as per the requirement.
Thanks,
Naveen
Edited by: Naveen.Rana on May 26, 2011 9:22 AM -
Invoice Number and Performa invoice number
Hi all
I want to get the combination of invoice Number and Performa invoice number, I have got the VBFA Table, but its very slow, any alternative program or function please help me
Thanks
KanishkaTry AC_DOCUMENT_RECORD. It returns all kind of accounting documents.
Maybe you are looking for
-
How do I delete an old email account?
After change of internet service provider I need to delet an old email account. How can I do so?
-
Moving average price of the material is negative
Hi GUrus, Can anybody please expklain me why we get the moving average price of the material to be negative. PLz xplain with an example clearly. Thanks in advance Thanks Anusha
-
Delete records in status holding on Adapter Engine
Hi all We are running on XI 3.0 and Netweaver 04 with SP20 installed I had a problem with a lot of message in status holding on Adapter Engine (develoment system) I'm not able to restart (resend) or delete this message. I had look around on SDN and i
-
I am trying to view my photos and it is saying i am not account manniger and need to upgraid to that but it wont let me how do i fix this ?Help!
-
create table abc (code number , qty number , lot varchar2(20)); insert into abc values (39 , 120 , 'M12-39-1'); insert into abc values (39 , 120 , 'M12-39-2'); insert into abc values (39 , 120 , 'M12-39-3'); insert into abc values (150 , 60 , 'M12-15