Need Customer Number(KUNNR)

Hi Friends,
I need customer number(KUNNR).
I have the following information G/L account No, Company Code, Fiscal Year. From BSIS table I got all the document numbers corresponding to G/L Account No.....
Now I need to display Customer Numbers(KUNNR) corresponding to Document Numbers(BELNR)
I found values only in BSEG. But I could not write a SAP Query on this because BSEG is a Pool/Cluster table.
I have searched all this tables. BSAD, BSID, BSAK etc.., but I could not find any values in this tables.
Any suggestions please?
Regards,
chaithanya K

There was no other option for me..
Thanks Rob I have used BSEG table...
regards,
chaithanya.

Similar Messages

  • Where is the customer number(KUNNR) stored in VBO3 transaction??

    Where/In which Transparent Table is the customer number(KUNNR) stored in VBO3 transaction??
    In VBO3 transaction>>Enter some agreement number>>press enter>>Click on Condition button>>select some value and proceed.
    Here you will find Customer number(Kunnr).Please tell me,in which table is this value stored??Kindly tell me the procedure to find the same so that I can find In which transparent table others fields stored on this screen......:)
    Regards,
    Shashank.

    dear shashank,
    1.  just go to the screen and -
    > click f1 -
    > then technical details
    > click on dataelement -
    > double click on data element
    > then check menu bar -
    > utilities -
    > where used list
    you will find some tables ... so these are the main tables
    2. or other wise go to st05 ,
        activate trace
       do the transaction
       and deactive trace
       and check the details in that u can view tables from that you have to see in which table it is updating..

  • Customer Num (Kunnr) using Partner Functions (PARVW) in MV45AFZZ

    Hi all,
    Is it possible to get the Customer Number(KUNNR) by using Partner Function (PARVW) in MV45AFZZ, how?
    My requirement is to get the NAME1 and NAME2, for this i need the customer number and by passing only the partner function.
    But in VBPA database table there is different customer numbers for same partner function.
    Thanks iin advance,
    regards,
    NarsiReddy.

    Hi,
    maybe you have different customer for each items.
    VBPA have two fields for the key : The Document number & the item number, because you could specify, for example, different delivery customer for each item.
    regards
    Fred

  • Reg smartforms -  creating a new page for each customer number

    Dear friends,
    This is a sample program for smartform.
    Below is my coding ...
    TABLES : KNA1.
    SELECT-OPTIONS : S_KUNNR FOR KNA1-KUNNR.
    TYPES : BEGIN OF ZFS_KNA1,
            KUNNR TYPE KNA1-KUNNR, 
            NAME1 TYPE KNA1-NAME1,
            ORT01 TYPE KNA1-ORT01,
             END OF ZFS_KNA1.
    DATA : ITAB TYPE STANDARD TABLE OF ZFS_KNA1 INITIAL SIZE 0,
           WA TYPE ZFS_KNA1.
    SELECT KUNNR NAME1 ORT01 PSTLZ LAND1 FROM KNA1 INTO TABLE ITAB WHERE KUNNR IN S_KUNNR.
    Now i am having one secondary window (cusotmer number) and main window(name and city).
    I am able display list of cm nos, names and city in one page.
    But i want to display name, city and number of customer in one single page.
    suppose 5 customer numbers are there.....then 5 seperate pages should be displayed.
    pls help me.
    Regards,
    S. Vinod

    Hi,
    In your loop node... you have sort criteria....
    give the fieldname of the customer number KUNNR and check the check box under the begin of sort event...
    An event node is created... under that event  node... create command node for triggering new page and dont forget to tick the checkbox for " not on first page" in the conditions tab....
    and under that you can create text elements to display the data
    regards
    padma

  • Customer number needed in "GL a/c line item display" for customer gl?

    Hi SAP Experts,
    while running GL account line item display in FBL3N,customer number is not displaying against the gl accounts relating to customer reconcilation account or the gls relating to the customer line item entry.my clients need that in either ASSIGNMENT field(where presently showing the document entry date as defult) or in a different column.for that he even does not want to write any report.
    How can i solve this problem?
    Plz guide me.
    I need a quick response.
    Regards,
    Biswa

    Hi,
    Check If you are using the G/L account which is the reconciliation account for your customer, then it is possible to display the special field1-U_KUNNR and it is ALSO possible to add Sort Key 031 into the Assignment field of that account in FS00 tab Control Data and therefore to display your 'Customer no.' in the Assigment field in FBL3N.
    If you are using the G/L account which is the offsetting entry or the other side of the posting, then it is NOT possible to display your 'Customer no.' neither in the Assignment field, nor adding the
    special field 1-U_KUNNR to the display. At this stage, notes 112312 and 217189 may be of use, which enable you to use a Business Transaction Event to populate offsetting account information.
    I hope these helps.
    Regards
    Ravinagh Boni

  • ACH format needs a new field - AR customer number

    Hi Gurus: The standard ACH format I am using via the Payment medium workbench does not have the customer number in it. The client wants the customer number on the ACH payment medium file that is sent to the bank.
    Can anyone please guide me on how to update this to the same ACH format? It needs to be just after the amount field...
    thanks so much
    Brian

    Dear grahul
    Check the enhancement SAPMF02D and the exits in it.
    Also check the BADI's
    CUSTOMER_ADDRSCR_CHG Change Address Screen in the Master Data Maintenance
    CUSTOMER_ADD_DATA Additional Data at Customers
    Check this link also
    Re: Screen exit for XD01
    Thanks&Regards
    Raghu.k

  • Include Field Kunnr - Customer Number 1

    Dear Friends,
    I want to include field kunnr- Customer Number 1 in the standard program SAPMFDTA. the table is being used in the program, but not the field.
    Please suggest how to include the field kunnr in program SAPMFDTA.
    All the help will be greatly appreciated.
    Regards
    Sridhar

    Hi,
    Please check for the available enhancement spots, exits, etc available. Also search for the OSS notes if any to your requirement.
    Regards,
    Santhosh.

  • Sample values needed for Customer Number And Sales Organisation in BAPI

    Hi Experts,
        I want to execute the Bapi BAPI_SALESORDER_GETLIST with mandatory parameters such as Customer Number & Sales Organisation .
        How would I come to know what values to enter for Customer Number & Sales Organisation inorder to get some Output in the form of table SALES_ORDER.
        Can you ll help me with some sample values which I can enter to get some useful output.
        And what is the logical way to go inorder to test such BAPIs in future.
    Thanks in Advance,
    Pavanmeet Singh

    Hi,
    CALL FUNCTION 'BAPI_SALESORDER_GETLIST'
    EXPORTING
    customer_number = cust
    sales_organization = sorg
    MATERIAL =
    DOCUMENT_DATE =
    DOCUMENT_DATE_TO =
    PURCHASE_ORDER =
    TRANSACTION_GROUP = 0
    PURCHASE_ORDER_NUMBER =
    IMPORTING
    return = it_return
    TABLES
    sales_orders = salesorder_itab.
    Regards
    Sudheer

  • Convert customer number to Unconverted value(in DB format)

    Hello,
    I have a question..
    How to convert the customer number (KONP-KUNNR) to unconverted value which in 10 characters?
    My customer number only has 8 characters, but I need to display it in 10 characters.
    Is there any standard function module that I can use?

    Hi,
    Use this FM CONVERSION_EXIT_ALPHA_INPUT.
    data: lv_kunnr type kunnr.
    lv_kunnr = konp-kunnr.
    CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
      EXPORTING
        input         = lv_kunnr
    IMPORTING
       OUTPUT        = lv_kunnr
    With this function module u get ur kunnr with 10 characters that is with leading zeroes.
    Thanks,
    Anon

  • 7 character field to purchase order ,customer number

    please help
    1)
    data : kunnr1(7) type c.
    data : kunnr like kna1-kunnr.
    kunnr1 has only field length 7 and it is of type character.
    kunnr is a sap field.
    everytime i need to fill the data from the field kunnr1 to sap kunnr and pass to bdc .
    suppose kunnr1 = 1930903 ie 7 characters .
    and in sap shall i simply copy like this
    kunnr = kunnr1. " will this work
    or
    concatnate '000' kunnr1 to kunnr.
    or
    any other one .
    2)same with the purchase order number.
    data : po(7) type c.
    dat : bstdk type vbak-bstdk.
    po = asdefgr
    bsdtk = po
    or
    concatenate '' po to bsdtk.
    if i assign value from po to bsdtk will at end command will work on bstdk?
    example
    loop at itab into workarea.
    at last bsdtk." i need this to work so tell me how to assign the value from po to bsdtk
    endloop.

    i checked the customer number in sap system,
    in the sales order it is stored as 1277494
    i checked in vbak table and it is stored as 1277494and rest blank spaces.
    i checked in kna1 table , the same kunnr is stored as 0001277494.
    why is this difference?
    so i need to use the 'CONVERSION_EXIT_ALPHA_INPUT' for kunnr?
    I checked for po but that is stored as a charater format and no need to add the leading zeros, is that right?
    I used CONVERSION_EXIT_MATN1_INPUT for material do i need to use CONVERSION_EXIT_ALPHA_INPUT for material also?
    thank you for the solutions given.

  • Sold-to Party and Customer Number

    Hi frnds,
        I need to know the relation ship between sold to party and customer number.I know that for a customer number there may be more than one ship to party.But i want to know whether there exist more than one sold to party for a customer number. And i had a confusion that the customer number is either sold to party or ship to party Please explain me.
    Thanks in Advance

    Hi Anand,
    Generally we have some Paarner Functionslike
    SOLD TO PARTY
    SHIP TO PARTY
    BILL TO PARTY and
    PAYER. These are the partner functions.
    If u look in to Table VBAK u can find the Field name KUNNR with the data element KUNAG ( Sold to Party ).
    Customer Number and Sold to party may be same in some scenarios.
    SOLD TO PARTY will be always ONE for one Customer Number
    Customer Number may to Sold to Party or Ship to Party depending on the scenarios and the  requirment
    Best regards,
    raam

  • Replication of BP linked with Customer number from R/3 to CRM

    Hi,
    We are trying to replicate BP linked with the customer number.
    In R/3 when a BP is created automatically a customer is created for this BP (due to activation of synchrozination- BP -->Customer ) with different numbers and is available in the customer-general data tab of the BP in the field - Customer number.
    Both BP and Customer are having different numbers this needs to be replicated to crm as a BP with the Customer number appearing in the Identificatio tab as R/3 customer number (identification type).
    Example - A BP with number-100 is created then automatically a customer with number 2000 is attached to this BP -100. The same needs to be replicated  to CRM. Both BP and customer shud have same GUID.
    With the settings that is done now two records are getting created seperately one with BP number and other with customer number based on settings in PIDE.
    How can we configure this?
    Thanks & Regards
    Prathiba

    Hi,
    I think you are using some IS component in ECC. Hope you are using BUPA_MAIN and BUPA_REL objects for downloading BP's to CRM. In PIDE you do not need to maintain mapping for customer.

  • Customer number in GL line items

    Hello All,
    I have loaded the GL line items data and created a report on customers. i am getting the report like this.
    Doc no--Item NoCustomer NoAccount typequantity--
    balance
    400001--13001D #--
    4000
    400001--2#S80--
    (-3000)
    400001--3#S20--
    (-1000)
    400002--12001D#--
    5000
    400002--2#S600--
    (-5000)
    instead of the above format my user wants to see the report like below. that customer number should also display for line items.
    Doc no--Item NoCustomer NoAccount typequantity--
    balance
    400001--13001D #--
    4000
    400001--23001S80--
    (-3000)
    400001--33001S20--
    (-1000)
    400002--12001D#--
    5000
    400002--22001S600--
    (-5000)
    waiting for the reply.
    Thanks,
    Sneha

    hi,
    here is the code.
        data: i_wa_source like line of SOURCE_PACKAGE,
                  i_wa_source1 like line of source1,
                   l_tabix like sy-tabix.
    source1[]
    = SOURCE_PACKAGE[].                                  "put it in one line
    data: source1 like SOURCE_PACKAGE.
    sort source1 with cust no descending.
    loop at SOURCE_PACKAGE into i_wa_source where Customer No = ' '.
          l_tabix = sy-tabix.
    read table source1[] into i_wa_source1 with key Doc no = i_wa_source-doc no.
    if sy-subrc = 0.
    i_wa_source-cust no = i_wa_source1- cust no.
      modify SOURCE_PACKAGE from i_wa_source index l_tabix.
    endif.
        endloop.
    you will need to add the filedname of the cust njo and the Doc no where evere i have used them in the above code.
    you can also take the help of an abaper for the above code.
    hope this helps.
    regards,
    Mahesh
    Edited by: Mony Maheshsingh on Feb 16, 2010 11:03 AM

  • Customer number to be populated as co pa characteristics in rev line item FB50

    Hi
    FB50
    Debit Customer
    Credit Revenue with profitability segment as cost object
    In profitability segment customer number has one of the characteristics.
    In this credit line above we need to populate the customer field (which is part of co pa characteristics)
    from debit line item as part of co pa characteristics.
    Is it possible. An earliest response would really be appreciated.
    Aparrajith

    Hi Aparajith
    You can write your Code in the exit COPA0005 on the similar lines as provided in the Note
    I have asked people to implement the note in similar occassions in SCN Forum and till date no one has said that this did not work..
    I would suggest ask your ABAP guys to debug and check the reason for not working.. Else, writ your own code
    Br. Ajay M

  • Customer Number in line item assignment fiels for VF01  invoice documents

    Hi,
    how can I get the customer number in assignment field of FI document line item. 
    I have created a sort key with field customer KUNNR but this field will not be populated by invoice documents posted from sales orders via VF11?
    I am looking forward to your solution proposals.
    Thanks and Kind Regards
    Tarik

    Hi Dominique,
    many thanks for your reply.
    the customising for copy control in SD seems very confusing
    How can I arrange that it is aready populated with the customer number ?
    One example would be enogh for me to understand it.
    Can you provide me this example?
    Kind Regards
    Tarik Oznalcin

Maybe you are looking for

  • What internal HD can I use on my Satellite Pro A200 PSAE1E-01700EN5

    I need to replace my laptop's broken internal HD. I was wondering, what internal HD can I get for Satellite Pro A200 PSAE1E-01700EN5? The only one available for me to order for cheap is 250Gb large, but will my laptop support it? I had 80Gb previousl

  • IPhoto albums not showing up in screensaver

    I have just updated to iLife 09. Now when I go to system preferences - screen saver - pictures, my iPhoto albums no longer come up. I can only choose a folder called Pictures folder and it contains all of my iPhoto pictures. I cannot narrow it to one

  • Unable to use warp in script - Photoshop CS2

    Hi, I could not warp the image using javascript from Adobe Extendscript interface. This is what I tried. 1) Created an action with warp, converted the action to jsx using xtools. 2) Used Scriptlistener to record ward and used the javascript. When the

  • Searching TC with Spotlight

    I am trying to find two files on my MacBookPro and on my MacPro and I am totally stumped as to why I can't find them. I've tried a search for a word in the text and just can't find these two files. I would like to search Time Capsule in some way that

  • Calling webservice from Peoplecode to upload pictures

    Hi, I need to create and call a webservice from Peoplecode to upload pictures from a SQL server database. Has anybody done this before? Does anybody have a sample peoplecode which calls a webservice? We are on PS 9.1 using Oracle 11g database. Any he