Customer Addresses and their Payment Terms

Hello to everyone.
I need to list the customer name, it’s addresses and the payment terms. (Profile:Transaction section of the customer addresses window)
I’m trying to build a query using RA_CUSTOMERS and RA_ADDRESSES_ALL but I don’t know how to link the addresses with the payment terms.
Any help on this issue is highly appreciated.
Octavio

SELECT
substrb(party.party_name,1,50) Customer_Name ,
cust.account_number Customer_Number ,
substrb(look.meaning, 1, 8) Site_Use ,
acct_site.cust_acct_site_id Address_Id,
substrb(loc.address1,1,30) Address_Line_1,
substrb(loc.city,1,15) City ,
substrb(loc.state,1,2) State ,
substrb(loc.postal_code,1,10) Zip_Code ,
cust.status Cust_Status,
site_uses.payment_term_id
FROM
ar_lookups look,
ar_lookups look_status,
hz_cust_accounts_all cust,
hz_parties party,
hz_cust_site_uses_all site_uses,
hz_cust_acct_sites_all acct_site,
hz_party_sites party_site,
hz_locations loc
WHERE
cust.cust_account_id = acct_site.cust_account_id
AND cust.party_id = party.party_id
AND acct_site.party_site_id = party_site.party_site_id(+)
AND loc.location_id(+) = party_site.location_id
AND acct_site.cust_acct_site_id = site_uses.cust_acct_site_id(+)
AND look.lookup_type(+) = 'SITE_USE_CODE'
AND look.lookup_code(+) = site_uses.site_use_code
AND look_status.lookup_type(+) = 'CODE_STATUS'
AND look_status.lookup_code(+) = nvl(cust.status, 'A')
ORDER BY
party.party_name ;

Similar Messages

  • Query to check BP Payment terms and Document Payment terms

    Hi All,
    Can any one help me to create an approval query to check the BP payment terms and Document Payment terms are same or not?
    Normally we change our BP payment terms regularly as per the agreements between Customer and us.
    but when we copy any previous document into invoice it calculate the Due date as per previous payment terms. so we need an query to check wether the BP payment terms and document Payment terms are same or not? if it is different they it should ask for authorization from manager or else the document should be saved.
    Thanks in Advance,
    Prachi.

    Hi
    I will test this and will let you know if it works or not?
    Thank you very much.
    Prachi.

  • How to get list of Customers and their FOB terms from backend?

    Hi All,
    Can anyone help me with the customers and their FOB terms from the backend? What tables can be linked to get that information??
    Thanks,
    Prathima

    Can you please share your solution ?

  • Different Delivery Addres and Different Payment Terms

    Hi
    Is possible to maintained different Delivery address for one Ship to party and Is possible to maintained Different Payment terms for one Customer
    Regards,

    Hi uday
    for the payment terms , you can change in the line item in the sales order level ,
    for the delivery ship to party address , in the sales order ,  go to item data or header data - > partner functions - > select the ship to party , you will get the address of that ship to party , change it
    I found only this way  but i have not seen the affect as i am not in front of SAP system
    Reward if useful
    Regards
    Srinath

  • How to get PO and vendor payment term number of days??

    Hi Experts,
    I want to have a) Purchase order payment term number of days as well as
    b) vendor Payment term number of days.
    For  a) For  Purchase order payment term number of days I am using table EKKO and taking ZBD1T field which is giving payment
               term number of days.
              Is it correct??
          b) vendor Payment term number of days I am using table LFB1 field Zterm to take payment term key not number of days.
               Based on this key i will go to table T052 and find corresponding number of days as told MM consultants .
               But this is not BW work. We need one single table from which we can take the field or enhance the current extractor
              with that field.
    So is there any other option for (b)
    and Whether steps for (a) is correct???
    Please confirm this.
    Thanks in Advance,
    Uday Shankar.

    For a) For Purchase order payment term number of days I am using table EKKO and taking ZBD1T field which is giving payment
    term number of days.
    Is it correct??
    Payment terms for purchasing doesn't come delivered as part of the R3/ECC tables and is usually is added as a custom field to EKKO and populated via a User Exit. That looks to be the instance in your case because the field that you show as being the payment terms begins with a Z (custom fields begin with Y or Z). That appears, without being able to actually validate in your R3/ECC environment, to be the correct field to use. You would have to validate, however, with the end customer or your MM function consultant to be 100% certain. If this is the correct one to use, you're going to have to enhance the 2LIS_02_HDR extractor by enhancing the extraction structure and creating the User Exit to read it from EKKO and populate into the DataSource.
    b) vendor Payment term number of days I am using table LFB1 field Zterm to take payment term key not number of days.
    Based on this key i will go to table T052 and find corresponding number of days as told MM consultants .
    But this is not BW work. We need one single table from which we can take the field or enhance the current extractor
    with that field.
    You can enhance the 2LIS_02_HDR extractor with the Vendor Payment Terms by joining the following in your User Exit:
    EKKO-LIFNR = LFB1-LIFNR
    EKKO-BUKRS = LFB1-BUKRS
    LFB1-ZTERM = T052-ZTERM
    This could either be done in a SELECT statement in the User Exit to do this equi join, or you could create a view on your R3/ECC environment and SELECT from that view.

  • How to Post Customer invoice and Incoming Payment?

    Hi,
    Please give me some inputs for the below scenario. Please help me where i can do this..I could not find the T.Codes..
    1. Customer Invoice
    2. Customer Payment at Desk
    3. Down payment
    4. Down Payment Clearing
    I could able to find the t.code for Down payment, But i could not find the T.Codes for Invoice and Incoming Payment and Payment Drawer.
    Please help me..its bit urgent...

    Hi Kishore
    IS-H only generates invoices from a pseudo SD. In SD are seen as invoices entered form an external systems and transfered to FI.. So, no posible to do a FI invoice directrly in IS-H.
    Regarding the payment, once the invoice is created in NA30N and correctly transfered to FI, you will see a tab called Incomming, Payments. That tab is shown only when a valid cash desk to the user using the user parameter N_CASH_DESK besides, permitted values for the user parameter are all values that are stored for the field "Cash Desk" in the Customizing table  TN21Z1 (Set Up Cash Desk).
    I hope it helps.
    With best regards
    Matías

  • Need to Update Customer Address and Email Adress in AR

    Hi ,
    I am new to AR.
    I need to update Customer name and Email Address in AR. Can you please provide me if there is any API or Interface Exist.
    Also please provide me the steps and the maditory values which we need to provide during the updation.
    Regards
    Suresh P

    Check irep.oracle.com to find out about all available APIs
    Also check
    Oracle Integration Repository Documentation Resources Release 12 (Doc ID 396116.1)
    IREP - Oracle Integration Repository: The Tool To Find Which API Is Supported and How To Use It ... (Doc ID 554986.1)
    Hope this answers your question,
    Sandeep Gandhi

  • Quick question about exporting email address and their alias from Exchange 2007 mailbox

    Hi Everyone,
    We have Exchange 2007 and 2013 servers. All users are still 2007 servers. I have a list of users around 179 out of 3000 in a CSV file. I would like to export those 179 users primary smtp and their aliases. Is it possible to achieve through any script?
    Thanks in advance.
    Regards,
    Siva

    Hello Siva,
    You don't need a script for this. Information can be obtained with simple command.
    $AllUsers = Get-Mailbox -ResultSize Unlimited | Select DisplayName,Alias,PrimarySMTPAddress,SamACcountName,Database,LegacyExchangeDN
    $AllUsers | Export-Csv Outputfile.csv -NoTypeInformation
    Try this and let me know if it helps!
    if you want PrimarySMTPAddress and alias of only those users whose information on the excel sheet, then what do you have as the column name in the excel sheet which you are using to query on the server.
    Considering that you are using Alias to query the server to get the details you can try below:
    $Global:Output = @()
    $CsvData = Import-Csv Inputfile.csv
    foreach($line in $CsvData)
    {$CurrentObject = $Line.AliasWrite-Host “Processing Obect “$CurrentObject “From Csv File”
    –ForeGroundColor YELLOW$EmailIDJoin = ""$EmailAddresses = @()$UserInfo = "" | Select DisplayName,PrimarySMTPAddress,Alias,SamAccountName,Database,LegacyExchangeDN,EmailAddresses
    $UserInfo.DisplayName = (Get-Mailbox $CurrentObject).DisplayName
    $UserInfo.PrimarySMTPAddress = (Get-Mailbox $CurrentObject).PrimarySMTPAddress
    $UserInfo.Alias = (Get-Mailbox $CurrentObject).Alias
    $UserInfo.SamAccountName = (Get-Mailbox $CurrentObject).SamAccountName
    $UserInfo.Database = (Get-Mailbox $CurrentObject).Database
    $UserInfo.LegacyExchangeDN = (Get-Mailbox $CurrentObject).LegacyExchangeDN
    $EmailAddresses = (Get-Mailbox $CurrentObject)|%{$_.EmailAddresses}
    for($i=0;$i -lt $EmailAddresses.Count;$i++)
    $EmailIDJoin += $EmailAddresses[$i].ProxyAddressString
    if($i -lt $EmailAddresses.Count - 1)
    $EmailIDJoin += ','
    $UserInfo.EmailAddresses = $EmailIdJoin
    $Global:Output += $UserInfo
    #Export output to CSV File
    $Global:Output | Export-Csv GlobalOutput.csv -NoTypeInformation

  • Missing Payment Term field on tcode FBR2 Customer Invoice Display

    Hi Experts,
    This is a more detailed explanation on the Payment terms field issue we are encountering since last week.
    I have some problems with their request that they want to show the payment terms field in the transation code FBR2 - Customer Invoice even if the Sales Area Data for Customer is not maintained but Company Code Payment Terms is maintained. I need help on the configuration on how to show the field.
    What I researched is that there are 2 maintainance of Payment Terms Field:one in the Company Code and another in the Sales Area. As I read on some forums, the Payment Terms in Sales Area should be the default when using the SD Process however, the Payment Terms in the Company Code should be the default value when they use FBR2 - Customer Invoice. But thay still cannot see the payment terms field in the Accounting Document they already created.
    I already checked in transaction OBC4 the Reconcilliation Account Group and the Payment Terms field is optional there and even the Posting Key 01, which is also optional.
    Please help me on this. Thank you.

    I did some checking on the past few posting, and I found some posting to the same account also the same tcode FBR2. However, the other one is with posting key 01 - Invoice.
    The Problem occurs when we use FBR2 then the posting key is 09 - which is a special g/l posting for the account. How can I check why the "Payment Terms" field is still not displayed or cannot maintain in this transaction?

  • Payment terms for the customers and vendors

    Dear FI Experts
    Generally vendoru2019s payment terms purpose we will use document date and customers payment term purpose we will use posting date.
    My query is what the logic behind this was, kindly explain this logic.
    Regards,
    venkataswamy

    Hi,
    For vendor, we store the invoice date of the vendor in the document date field and vendor generally specifies the payment term in their invoices based on their invoice date.
    So we generally use the decoument date (vendor invoice date) for payment term calculation.
    Whereas in case of customer, we issue the invoice and generally the invoice date is the posting date of our system, so we use the posting date for calculating the payment term. The customer have to pay according to out payment term to get the discounts etc.
    I hope it is clear.
    Regards,
    Gaurav

  • Automatic Payment terms without referrring Customer Master nor manual entry

    Hi,
    I have a credit memo with reference to one billing document. It is automatically coming with payment terms which is not maintained in customer master nor manual entry in the document. I had checked all the configuration related settings for the document and payment terms assignment. I had debugged and checked for any user exit or function module.
    I have no clue in this regard and can anybody throw some light regarding to fix the problem.
    Regards
    Sashikanth

    Hi,
    Check if the billing document has payment terms. If yes, even if customer master doesnt contain payment terms the payment terms will be copied to the credit memo through standard copying control maintained in IMG, when you create a document with reference to some document this copying control gets activated.
    Also check user exit RV60AFZZ if there's any code written in it to default payment terms by billing doc type.
    Regards,
    Amit

  • Payment terms - selected customer

    Hi Experts,
    Payment Terms
    Is it possible to define payment term for a selected customer(s) for a selected product,if possible, how to assign.
    Vijay
    Edited by: Vijay on Dec 22, 2007 4:36 PM
    Edited by: Vijay on Dec 22, 2007 4:37 PM

    Hi vijay,
    1.first you create the payment term as required by u,
    2. Maintain the customer master devision( product) wise and assign required payment term.
    3. If you are not maintain the customer master devision wise assign the payment term at the time of sales order creation.
    but one problem was there for payment terms, even if u maintain the customer master division wise with different payment terms, if u create the sales order with defferent materials, payment term will be picked the first line item related material.
    solution for the above is create separate sales order for each product if u maintain the division wise customer master with different payment terms are assigned to the each division.
    i think this may solve your problum, if u have any query let me know.
    assign points if its useful.
    regards
    sai krishna

  • Credit limit check and Payment terms

    HI,
    Is it possibile to enforce new credit limit check when the payment term is changed? Let's say that customer has "Immediate payment", and after few days wants to change payment term for "90 days payment term". In such case system should check new credit limit check on a sales order (va02). Could you tell me how to do that?
    Best regards,
    MK

    Thanks, You were right. It runs well for the sales order with out delivery. After I create delivery in reference to this sales order and change payment terms in sales order there is no new credit control check.
    Is there a possibility to run credit control check after a delivery is created?

  • Payment terms in Customer Master

    Hi,
    In Customer Master,we have payment terms field in Company Code View and Sales Area View.What is the difference between them.If i maintain  different payments in those views,which has the highest priority.
    Vinu

    Hi
    Terms of payment key
    Key for defining payment terms composed of cash discount percentages and payment periods.
    Use
    It is used in sales orders, purchase orders, and invoices. Terms of payment provide information for:
    ·     Cash management
    ·     Dunning procedures
    ·     Payment transactions
    Procedure
    Data can be entered in the field for the terms of payment key in various ways as you enter a business transaction:
    ·     In most business transactions, the system defaults the key specified in the master record of the customer/vendor in question.
    ·     In some transactions (for example, credit memos), however, the system does not default the key from the master record. Despite this, you can use the key from the customer/vendor master record by entering "*" in the field.
    ·     Regardless of whether or not a key is defaulted from the master record, you can manually enter a key during document entry at:
    o     item level in sales orders
    o     header level in purchase orders and invoices
    Note
    Master records have separate areas for Financial Accounting, Sales, and Purchasing. You can specify different terms of payment keys in each of these areas. When you then enter a business transaction, the application in question will use the key specified in its area of the master record.

  • Payment Terms for Customer

    Hi Guys
    We have few payment terms for our company. Now we want to restrict payment terms based on the customer number
    For example Payment term Z0001 for customer group 001 .....
    Is it possible to restrict by doing some configuration
    The next is we want to block few payment terms. Is it possible to block a payment terms
    Warm Regards
    Bala

    Hi
    The payment block is fine, i can either add a new payment block reason or i can assign the existing block reason and i can proceed
    But what ever you have said will not control my user with the solution we have give, then the system will run if my user did things on correct process
    I suppose we can do a validation, for this customer group this payment terms are allowed.
    Something like that.
    Hope it will work, can you put your valid suggestion
    So at any point of time, it cannot be done by any standard configuration - hope iam right
    Warm Regards
    Bala

Maybe you are looking for

  • Memory Leak in NonPaged pool --- Tag = Cont

    Hi All,         We are facing memory leak issue on some of our some servers in similar fashion. Leak in Nonpaged pool and as per Poolmon - Tag CONT is consuming most memory. As per Pooltag, Cont - <unknown>    - Contiguous physical memory allocations

  • Restore SMB Shares

    Hi All I have a problem with my Mac Mini creating a SMB share for my windows laptops to access files over the network. I have created shares in system preferences and selected share over SMB, included the correct user permissions. When I browse to \\

  • FR Layout issue with large number of columns

    Hi! I'm developing a report in FR 11.1.1.3 with over 30 columns. The issue is that when I run the report in web preview, the dropdown of dimension in page goes to the far right and disappears from the display. If I reduce the number of the columns I

  • Query designer - heading in columns of reports

    Hi colleagues, I am quite new to the BW 7.0 Query Designer, and there is one thing I can't figure out! When I add a Key Figures in my columns and call them f.ex Budget Amount, Actual Amount and Deviation, they don't bring these names to the web when

  • Specific SQL statements for custom report?

    I am trying to create a custom report that gives me the System Name, Operating System, Manufacturer, Model, and Last HW Scan. I am not a SQL expert, but which statements would I need to select when I am in SCCM Console and creating a new report? It l