Vendor Email ID - SAP query

Hi,
   I need to get the vendor email address along with other vendor details using query. I tried using LFA1 and ADR6 with link conditions on ADRNR. This gives me the email address but if there is no value for email address then the corresponding record is not shown. I can give it using the additional field feature but I am not allowed to maintain ABAP code in a query. Is there any other way to go about this?
Thanks
Aparna

Hi,
The table ADR6 only gets updated if you have maintained email id in the vendor master.If no email id has been maintained the table contains no entry for such Vendor masters. I dont think this can be done through ABAP program as well.

Similar Messages

  • SAP QUERY report for vendor line items

    Hi
    I have created a SAP QUERY report for vendor line items with fields vendor no.,vendor name,amount,company code and period.But there is one line item i donot know from wher system is getting it picked with is not in that vedor account,when i compare with fbl1n.I checked the document number too...the same doc number is twice in my query report.One with correct amount and another with wrong one.How do i chk.Where did i go wrong in creating query.I used logical database KDF.
    Please advise.

    i chked...how do we get the amount displayed in query...it just displays amount no debit credit symbol... i have selected BSEG-DMBTR field but no -/+ sign,how is it done in query,please suggest.

  • SAP MDM Vendor email addresses are not in order when sent to SAP R/3

    Hi Experts,
    We were trying to maintain vendor email addresses in this order in SAP MDM:
    E-mail address: massupa@nexus
    Sequence Number: 001
    E-mail address: win@nexus
    Sequence Number: 002
    E-mail address: satita@nexus
    Sequence Number: 003
    But when saving the record, its order get mixed up like below: (I believe it was arranged alphabetically automatically---> is this the standard MDM functionality?!)
    E-mail address: massupa@nexus
    Sequence Number: 001
    E-mail address: satita@nexus
    Sequence Number: 003
    E-mail address: win@nexus
    Sequence Number: 002
    When it gets syndicated to ECC, its order was maintained incorrectly with incorrect IDs:
    E-mail address             ID
    massupa@nexus        001
    satita@nexus              002   -
    > should be 003
    win@nexus                 003  -
    > should be 002
    we checked both the XML Files and the IDOC and found that it has the same order maintained in SAP MDM
    massupa@nexus        001
    satita@nexus              003
    win@nexus                 002  
    But how come the IDs were changed in R/3?
    Many thanks in advance!

    Hi Mike,
    As per your requirement, i feel that for ID either you can create a new field say sequence ID in this e-mail addresses table of MDM and thus can syndicate it or can also use ID as key using remote key concept. I mean for this e-mail addresses table, you can set property Key mapping = yes  in MDM Console and thus can use this IDs as key for this email address e.g. for massupa@nexus you can save ID as Key.
    So during syndication, map this field with target IDOC structure field and I mean Remote Key under e-mail addresses table with IDOC ID target field. In this way you can have correct IDs with their corresponding email addresses.
    Kindly let me know if you are looking for something else.
    Regards,
    Mandeep Saini

  • Query for Vendor Payment in SAP

    Hello All,
    I am a sap abap developer with little knowledge in SAP MM and SAP FI modules.
    As per some requirement of my company ,i have created a PO then its GR and finally IR.
    Now when i checked EKBE table (History per Purchasing Document) , i found two record in this table out of which one with
    VGABE = 1 (Good Receipt) & another with  VGABE = 2 (Invoice Receipt) .
    Now my requirement is ,i want a entry in this table with VGABE = 5 (Payment) but i don't know how to do payment of vendor in sap so that this table will populate with a entry for payment type.
    Please help me and let me know what will be the flow with tcodes to do the vendor payment in sap.
    Please reply ASAP.
    Thanks in advance.
    Regards.
    Abhinav Goel.

    Hello Mr.Raman,
    Thanks for your response to my query.
    As per my company requirement i have to track duplicate payment made to the vendor against same PO.
    So for that after completing the cycle PR-PO-GR-IR-F-53 finally i found two records in BSAK table out of which :
    One record was  with my accounting document no from my invoice receipt of type RE.
    Another record was with the vendor payment clearance document with type KZ.
    Now again i have done payment to the vendor using F-53 tcode and now i found one more record with belnr = last payment document no and augbl = new payment document no. with type KZ.
    So if i use below mentioned logic to track for duplicate payments made to the vendor ,then it will be fine or if not can you suggests me the needful changes in the logic.
    1.) Check If record exists for my belnr no from invoice recipt in bsak.
    2.) Take AUGBL No for this BELNR No and check if record exists for this AUGBL with type KZ.
    Note:Means payment is done to the vendor upto this logic.
    3.) Now if with the found record with type KZ any other record found with type KZ it can be taken of as duplicate payment made to the vendor.
    Please suggest me if above mentioned logic is fine.
    Regards.
    Abhinav Goel.

  • SAP Query - scheduled and emailed?

    SAP Query - is there anything on the SAP ECC side similar to BW that allows you to schedule a query and have it broadcast to an email or ftp sight for it to be displayed?
    Thank you,
    Lynda

    Hi,
    as described above you can schedule a query. To distribute the result to various receivers use SBWP t-code and create a distribution list containing the receivers (e-mail adresses,...).
    Assign this distribution list to the job scheduled in SM37 (button "spool list recipients").
    best regards, Christian

  • *SAP Query on Vendor Master*

    Hello SAP Gurus,
    I have created a SAP query joining SAP tables LFM1, LFA1 & ADRCT.
    The join condition is LIFNR for LFM1 & LFA1.
    The join condition for LFA1 & ADRCT is ADDRNUMBER.
    The query is intended to pick the following fields
    Vendor, POrg, ABC indicator & Remark(field in ADRCT table)
    Problem:
    I have 20 records created for LFM1/LFA1, but the query retrieves only 5 records which has value in remark field. Balance 15 records which had null value in remark field is not getting displayed.
    Request:
    Is there a way to retrieve all the 20 records, so that users can know what are the missing vendors(15) which did not have remark field updated. If I remove the join condition between LFA1 & ADRCT all the 20 records are displayed. User wants to execute the query for all the vendors for a particular PORG.
    Thanks in advance for your inputs.
    Regards,
    Narayan.

    Hi Ramesh,
    Thanks for your immediate response.
    I have linked all the common fields. But still it is not working.
    Any idea why this is happening.
    Regards,
    Narayan.

  • ABAP QUERY FOR THE VENDOR EMAIL ADRESS

    I am asked to create a report that generates the vendor acct number,partner functions and email address of the vendor. Iam able to create a report for the vendor acct number and partner function by using a query on tables LFA1 and WYT3. Iam not able to include the vendor email address from table ADR6. Can any one tell me how I can also include the vendor email adress into the report. How I can  link all the 3 tables LFA1,WYT3,ADR6??
    Regards,
    Sunil

    Hi
    Are you developing  a report for this code?
    Prepare a executable report in Se38 and go to the Tcode
    SE93 and there create a Report Transaction (second radiobutton)  by giving the Program name and screen number 1000. Save it, Come out and execute that transaction code.
    <b>It seems you have forgotten to reward the points for this
    and closed the thread.
    Reward points if useful</b>Regards
    Anji
    Message was edited by:
            Anji Reddy Vangala

  • SAP Query- Reporting on SOD

    Hello everyone,
    I need some help in creating a report in SAP Query based on user's processing Vendor Invoices and also Vendor Payments?
    I would like to have the following columns to report on:
    USNAM u2013 User Name (from BKPF)
    BLDAT u2013 Document Date (from BKPF)
    BELNR u2013 Document Number (from BKPF)
    BUKRS u2013 Company Code (from BKPF)
    BLART u2013 Document Type (from BKPF)
    LIFNR u2013 Vendor Number (from BSEG)
    NAME1 u2013 Vendor Name (from LFA1)
    WRBTR u2013 Amount (from BSEG)
    Vendor Invoice- I would like to restrict to only document type fields that are KA,KR,RC,RE,RN and ZE
    Vendor Payment- I would like to restrict to only document type fields that are ZV,ZS,ZP,ZH and KZ
    I have a few questions:
    First is i am using a logical database (BRM as BSEG cannot be joined) to select my columns however i do not know how to pull the 'Vendor Name' from LFA1. I understand that this table is not in BRM but is there a way to add any extra tables to work along side the logical database?
    Secondly, i have managed to report on all columns except the vendor name (from LFA1) and although i can restrict my output data based on document type fields, i need the report to only show the user's that have process vendor invoices & vendor payments only?
    At the moment i have a list of restricted document type but cannot seem to jsut show only those users who have processed both in both processes. For example User A has processed a vendor invoice (which is shown) and the same user may have processed vendor payment (after searching through the long output list!)
    I want all users who have doen one of the other process and only interested in those that have done both?
    Any feedback is much appreciated and pelase let me know if i have not explained this problem properly (as i am a newbie in this area)
    Many thanks
    Amar

    Hi Pascal,
    Since the IT2501 is a "Simulated Time Infotype" you cannot look at the data in it, but you can confirm the data from the ZL cluster and the data from the employee.  Since it is only this employee or a few employees, it is probably not the configuration of the time buckets for the IT2501, but you may want to make sure all time times are captured as you want.  Then look at the time entries for this individual or individuals.  Did they enter a time type that was not expected or configured?  Is all their time approved and passed through Time Evaluation?  Finally check the Master Data for the employee - is the Planned Working Time (IT0007) infotype correct or has it been recently changed?  Is he in a special Cost Center (IT0027) or Project that is captured differently for time purposes? 
    Since it just one or a few individuals, I would suspect the Master Data and some inconsistant entry that affects the time cummulation for the IT2501.
    Paul

  • Vendor Email Address(Urgent)

    Hi,
    Can some one help me regarding extracting the vendor email address.Email can be obtained from ADR6 but need to know the lifnr and personal number.How do I get a unique personal number for a vendor so that i can query ARD6 and get the mail address.
    Thanks
    Shyam

    hi,
    i am not saying that adrnr number is same as personnumber you misinterpreted me.
    i was saying that for a particular adrnrnumber say 0000000145 , there exists  various person  number and these person number are in many cases same .
    Address Number Person numb
    0000000121               
    0000000145     0000001735
    0000000145     <b>0000002919
    0000000145     0000002919</b>
    0000000145     0000004153
    0000000145     0000004193
    0000000145     0000004211
    0000000145     0000004702
    0000000145     0000005050
    0000000145     0000005161
    0000000145     0000005184
    0000000145     0000005184
    0000000145     0000005186
    0000000145     0000005186
    0000000145     0000005190
    0000000145     0000005209
    0000000145     0000009182
    0000000145     0000010809
    0000000145     0000017254
    0000000145     0000017346

  • Vendor email ID

    Hi experts,
    I need to take a all vendor email Id for a particular plant.
    the solution given as
    Use table - LFA1 and ADR6 and field SMTP ADDR.
    + T code SE11 and LFA1
    +Get the address number from field ADRNR
    + Then from ADR6 table get the record for ADRNR. And from field SMTP ADDR, you will get the e-mail of that vendor
    Also u can creat report by combining tables,
    go to SQVI and join the tables LFA1 and ADR6
    Then select the fields ADRNR and other feilds that you want
    Then genearte the report.
    My query is how to get the address number from adrnr.
    pls explain in detail
    urgent
    regards
    arun

    Dear Arun,
    When use SQVi, then you will insert two tabel :
    1. LFA1
    2. ADR6
    (data soruce = table join)
    By default system will propose ERDAT as key, than,right click on the join and delete the join link because its wrong, then Drag the ADRNR field from LFA1 to ADR6,then use the vendor account number as selection field or any other field that you want, and tick the list field that u need.
    please try it.
    Regards,
    w1n

  • Addition of new column into SAP query program

    Hi freinds,
    There is a query program(joins EKKO,EKPO) which contains columns like vendor,purchase doc,item,material and material description etc..
    I need to insert a new column 'Supplying plant' in 2nd position after vendor column...When I try to add a field into internal table,am getting short dump error...
    Kindly suggest on this problem...
    Thanks in advance...
    Bharat.

    Hi,
    the program you got is it a copy from a SAP QUERY created on TCode SQ01 ?
    If yes got to Tcode SQ01 draw a new one and see the report generated
    Best Regards
    Jaime

  • Help needed on creating a SAP query

    Hi All,
    Can somebody give me the step by step procedures of creating a SAP query and Infoset.
    My requirement is to display asset master details with Asset number or Asset class as input.
    Any pointers or links to create an infoset and query will br highly helpful.
    Thanks,
    Arun

    Here are couple of fields you might be needed :
    AGKO     Cleared Accounts
    ANAR     Asset Types
    ANAT     Asset type text
    ANEK     Document Header Asset Posting
    ANEP     Asset Line Items
    ANEV     Asset downpymt settlement
    ANKT     Asset classes- Description
    ANLA     Asset Master Record Segment
    ANLB     Depreciation terms
    ANLC     Asset Value Fields
    ANLH     Main asset number
    AT02T     Transaction Activity Category- Description
    AT02A     Transaction Code for Menu TIMN
    AT10     Transaction type
    AT10T     Name of Transaction Type
    BKDF     Document Header Supplement for Recurring Entry
    BKORM     Accounting Correspondence Requests
    BKPF     Accounting Document Header
    BLPK     Document log header
    BLPP     Document log item
    BLPR     Document Log Index and Planned Order (Backflush)
    BNKA     Bank master record
    BP000     Business Partner Master (General Data)
    BPBK     Doc.Header Controlling Obj.
    BPEG     Line Item Total Values Controlling Obj.
    BPEJ     Line Item Annual Values Controlling Obj.
    BPEP     Line Item Period Values Controlling Obj.
    BPGE     Totals Record for Total Value Controlling obj.
    BPJA     Totals Record for Annual Total Controlling Obj.
    BSAD     Accounting- Secondary Index for Customers (Cleared Items)
    BSAK     Accounting- Secondary Index for Vendors (Cleared Items)
    BSAS     Accounting- Secondary Index for G/L Accounts (Cleared Items)
    BSEC     One-Time Account Data Document Segment
    BSEG     Accounting Document Segment
    BSID     Accounting- Secondary Index for Customers
    BSIK     Accounting- Secondary Index for Vendors
    BSIM     Secondary Index, Documents for Material
    BSIS     Accounting- Secondary Index for G/L Accounts
    CEPC     Profit Center Master Data Table
    CEPCT     Texts for Profit Center Master Data
    COBRA     Settlement Rule for Order Settlement
    COBRB     Distribution Rules Settlement Rule Order Settlement
    COKA     CO Object- Control Data for Cost Elements
    COSP     CO Object- Cost Totals for External Postings
    COSS     CO Object- Cost Totals for Internal Postings
    CRCO     Assignment of Work Center to Cost Center
    CSKA     Cost Elements (Data Dependent on Chart of Accounts)
    CSKB     Cost Elements (Data Dependent on Controlling Area)
    CSLA     Activity master
    FEBEP     Electronic Bank Statement Line Items
    FPLA     Billing Plan
    FPLT     Billing Plan- Dates
    GLPCT     EC-PCA- Totals Table
    KNA1     General Data in Customer Master
    KOMK     Pricing Communication Header
    MAHNV     Management Records for the Dunning Program
    REGUT     TemSe - Administration Data
    SKA1     G/L Account Master (Chart of Accounts)
    SKAT     G/L Account Master Record (Chart of Accounts- Description)
    SKB1     G/L account master (company code)
    T003T     Document Type Texts
    T007S     Tax Code Names
    T087J     Text
    TAPRFT     Text tab. for investment profile
    TKA01     Controlling Areas
    TKA09     Basic Settings for Versions
    TKVS     CO Versions
    TZB0T     Flow types text table
    TZPAT     Financial Assets Management product type texts
    VBSEGS     Document Segment for G/L Accounts Document Parking
    VTBFHA     Transaction
    VTBFHAPO     Transaction Flow
    VTBFHAZU     Transaction Activity
    VTBFINKO     Transaction Condition
    VTIDERI     Master Data Listed Options and Futures
    VTIFHA     Underlying transaction
    VTIFHAPO     Underlying transaction flows
    VTIFHAZU     Underlying transaction status table
    VTIOF     Options Additional Data
    VWPANLA     Asset master for securities

  • Automatic replication of vendor masters from SAP R/3 to EBP

    Hi
    For this issue I found the below program and steps to do the automatic replication of vendor master from SAP R/3 to EBP
    PROGRAM BBP_VENDOR_SYNC
    The program BBP_VENDOR_SYNC automatically synchronizes the backend vendors with the SRM system.
    To run the program BBP_VENDOR_SYNC, you first have to make the following settings:
    Path in the Implementation Guide (IMG):
    Supplier Relationship Management --> SRM Server  -->Technical Basic Settings -->Settings for Vendor Synchronization --> Make Global Settings
    Supplier Relationship Management --> SRM Server  -->Technical Basic Settings -->Settings for Vendor Synchronization --> Define Settings for Each Backend System
    Then you have to make the following settings in transaction SA38:
    · Enter program BBP_VENDOR_SYNC.
    · Click on the pushbutton Background.
    · Enter the report name BBP_VENDOR_SYNC.
    · Either define a new variant or use an existing variant ( The new Variant as Test Vendor)
    · Click on the pushbutton Schedule.
    · Enter the job.
    · Define the start date.
    · Either schedule once or schedule periodically. Then you have to define the period interval.
    I followed  the above mention steps and I am able to setup the Schedule on timely basis and the job was completed successfully, but the vendors are not replicated successfully .
    I am receiving the below error in transaction code SLG1.
    1.The Specified Node does not Exist in the Org. Plan(Message no. BBP_VENR006).
    2.No Vendor Replicated from Backend MD1CLNT(Message no. BBP_VENR017).
    Please check and advice.
    Thanks & Regards
    Sada

    Hi Sadasivam,
    Make Global Settings
    Use
    In Customizing for vendor synchronization, you define between which mySAP or ERP backend systems and the EBP System you wish to automatically synchronize the vendor master data. This setting is necessary in order to start a job-based execution of the synchronization, so that the vendor master data that is newly created or changed in the backend is updated regularly in the EBP System.
    Requirements
    You wish to use the automatic vendor synchronization functionality.
    In the Implementation Guide (IMG) activity Define RFC Destinations, you have defined the RFC destinations for your systems.
    Under Define Backend Systems, you have defined the backend systems for your systems.
    Activities
    Customizing for Vendor Synchronization consists of two parts. In the first part you make those settings that are valid for all backend systems. In the activity Make Settings for Each Backend System you can define or display detail data for the individual backend systems.
    Make Global Settings
    By setting the indicator Create New Vendors Also, you can determine that those vendors newly created in the backend systems are also newly created during the synchronization. If this indicator is not set, the only data updated is that of the vendors in the Enterprise Buyer System whose data was changed in the backend systems.
    Note:
    If you have not yet made an entry here, an empty screen appears when you start the activity. To make the settings, choose New entries or press F5.
    Further Settings:
    Carry Out Address Check for Duplicates :
    Organizational Unit in EBP for the Vendor
    Enter the eight-digit number, for example, 50001234.
    Vendor Number Assignment Type
    In the dropdown box, choose the method with which the number is to be allocated when a new vendor is created, for example, internal number allocation.
    Hope this makes you more clear. My mail i.d is [email protected]
    Rgds,
    Teja

  • SAP Query (SQ01) - create and save queryies

    Hi Expert;
    We wanted to implement SAP query reporting (SQ01) tool, and already developed custom HR infoset and user groups and transported to QAS.  We experienced the problem that we can not directly "save" any queries in SQ01. We pretty much have the client opened up and set at "Changes without automatic recording".  But keep getting a "transport object create" dialog upon "save" query.  But in Adhoc (PQAH), we don't encounter same problem.    We wanted our users be able to create and save any queries directly without creating any local objects. Is there another setting that needs to be set? 
    Thanks for any information that you can provide.  Points will be awarded.
    Helen

    Hello Helen,
    in SQ01 you can save queries like in HR Ad Hoc Query (or Infoset query as it is called outside HR).
    However this is only possible in the "Standard Area" not in the "Global Area". However as Ad Hoc Query is based on the SQ0x basics it only hides this effect.
    If you are doing HR specifics you should consider the documetnation on the special HR switches:
    http://service.sap.com/~form/sapnet?_SHORTKEY=01200252310000076208&
    In general if you are new to the topic you should consider the courses BC407 for Query Basics and HR580 for reporting in HR.
    Also to get a feeling for the different types of reporting with the InfoSet Query you can look at the following documentation:
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/a8/2e7237a323427ee10000009b38f8cf/frameset.htm
    HR Reporting Tools -> Sap Query -> InfoSet Query -> Calling InfoSet Query.
    Or you can book a special training if you need a contact let me know your email adress
    Best regards,
    Michael

  • Error in sap query

    Dear Experts ,
    I have a query and executing using SQ01 . Here im getting warnings as 
    The query specifications cannot be used to generate a list, i.e. the query will probably not return the list you desire.
    If you still want to execute the query, please use the "Generate" function . -> 'Generate'
    Here im not getitng the output i require . then the system says ** Fields from parallel tables within a line Line: 02
    Field: Account number of supplier or vendor  (LFB1-LIFNR, table LFB1) ;
    Field: Account number of supplier or vendor (LFBK-LIFNR, table LFBK)
    Same thing comes for Bank country key, bank key , bank account number .
    Please heklp as to what is wrong

    Hello,
    I am gettig the Same Error in SAP Query, But i have generated My Infosets & cross checked the Fields with Query.
    Plz let me know what could be the Error.
    Thanks.

Maybe you are looking for

  • How do i check what's taking up all of my space on the macbook air?

    Hi, I've only just got the macbook air 2012 with 64gb of space and now it seems that i have run out of space..Apparently i'm using 54gb and i just can't see how thats possible, because i've only download atleast 2 apps and got iphoto and imovie. Also

  • Dual Boot with Snow Leopard and Mavericks not possible?

    I have a Early 2011 Macbook Pro with 2,3 GHz i7 Quad and two 512 GB SSDs (the secondary disk in an optical drive bay enclosure). This Macbook Pro can run Snow Leopard and Mavericks on the primary disk without problems. When I try to set up a dual boo

  • Oracle Servlet Connectivity

    Hello When i try to connect my servlet with oracle it didnt detect oracle driver. My Simple java class was connect successfully but when i move to servlet i didnt work. Classnotfoundexception Occur tell me what i do and where i place classes12.zip fo

  • Alternative BOM creation problem in CS01

    Hi. I have created a BOM with CS01 with list of components. Now i want to create an alternative BOM for the same FG. When I am trying to create alternative BOM using CS01, I added the components, system is showing me in the header as Alternative BOM

  • Transaction Type for Activities

    Hi, In Web UI, I open an activity and select the option 'More -> Send E-Mail'. A popup opens, asking me to select a transaction type. However, there are no entries in the popup. I think the data in this popup comes from some customizing setting. Can