sap - Getting customer master -


How can I get and print client master data from a report?

I have customer number but I do not know other details such as:

  • Name
  • Street address Communication
  • (Contact persons in the future)

    In my research I have found the option as:

  • To do a query on KNA and other customer master data tables

  • BAPI_CUSTOMER_GETLIST

  • BAPI_CUSTOMER_GETDETAIL2

    ridden I need a snippet report The customer can print the master.

    You can try the function module BAPI_CUSTOMER_GETDETAIL2 , the CUSTOMERADDRESS .

    More importantly, one minute

    • Start the transaction BAPI
    • Click on the 'Alphabetical' tab
    • Find a customer (looks good on my part, but not very predictable)
    • Stick at the ways and see that only GETDETAIL, GETDETAIL1 & amp; Likely GETDETAIL2
    • Click twice on GETDETAIL2 is the version number (end means)
    • View the name of the function module in the right-hand detail pane.

      My shoulder is called cipher surfing buddies that you simply BAPI_CUSTOMER _ * ask because Biapiai you to clearly follow a pattern Have done

      As a snippet, you should at least try and tell us where you fail.

        data: wa_address TYPE bapicustomer_04 parameters P_kunnr TYPE kunnr call functions exported 'BAPI_CUSTOMER_GETDETAIL2' Kstmrno = p_kunnr to import client n = Write: wa_address-name, wa_address-name_2, wa_address-city, wa_address -country    

Comments

Popular posts from this blog

excel vba - How to delete Solver(SOLVER.XLAM) code -

c# - Add Image in a stackpanel based on textbox input -

java - Reaching JTextField in a DocumentListener -