Function module for Vendor

Hi
Pls help me out,
Any function module , which takes Input as a Vendor ID and returns Vendor Name(Formatted Name).
Regards
Arya

Hi,
Check this FM
WB2_READ_VENDOR_NAME
PARAMETERS:lifnr LIKE lfa1-lifnr.
DATA:name1 LIKE adrs-name1.
DATA:name2 LIKE adrs-name2.
DATA:name3 LIKE adrs-name3.
DATA:name4 LIKE adrs-name4.
DATA:name_total LIKE adrs-linek.
CALL FUNCTION 'WB2_READ_VENDOR_NAME'
EXPORTING
   vendor                    = lifnr
*   I_BYPASSING_BUFFER        =
*   I_REFRESH_BUFFER          =
CHANGING
   vendor_name1              = name1
   vendor_name2              = name2
   vendor_name3              = name3
   vendor_name4              = name4
   vendor_name_display       = name_total
EXCEPTIONS
   vendor_not_found          = 1
   OTHERS                    = 2
IF sy-subrc <> 0.
  MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
          WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
WRITE:/ 'Vendor name For', lifnr,'id is', name_total.

Similar Messages

  • Remote Function Module for Vendor Master creation

    Dear Forum Members,
    There is a BAP function module BAPI_VENDOR_CREATE which calls SAP transaction XK01. Due to this, this Remote Function Module (RFM) cannot be called from a Java Application that uses SAP Java Connector.
    Is there any other remote function module available in SAP for creating vendor master record so that it can be called from non-SAP development tools such as Java using SAP Java Connector or Microsoft Visual Studio .NET tools using SAP .NET Connector?
    Eagerly expecting favourable reponse.
    Regards,
    K. Rangarajan
    SAP ABAP & Java Programmer

    Hi Prakash,
    you can use FM 'VENDOR_INSERT' , However its not remote enabled you need to copy to Custom BAPI and make it as remote enabled. 
    Apart from the Vendor creation BAPI, you may need to use some other BAPI's for Adress updation and Bank details Updation.
    Please refer the link for some more information [Re: Create Vendor;.  The same problem is mentioned there and was solved.

  • Function Module for Vendor Classification characteristics

    Hello,
    Iam trying to extract Vendor Classification characteristic values for each vendor into BW.
    I see the drawbacks of using CTBW to creata a datasource,
    1. you will only get the first value of a characteristic.(as multiple values are not supported)
    2.You will get a seperate datasource which would only give the characteristic values , then again I need to join related infoobjects to 0VENDOR_ATTR info objects.
    Pls suggest the best way to achive this.
    Thanks
    Jagadish

    hi Jagadish
    yes you are right if you multiple value it is not pertinent to use tx ctbw.
    A good way would be to create a generic ds based on a function module that deals with call function with a bapi.
    regards
    Boujema

  • Function module for vendor balance

    i m creating a creditor report for that i use any bapi as well as function module available in sap for better perfomance and better quality of report.
    waiting for reply
    thanking you in advance

    Hi,
         use FM BAPI_VENDOR_GETDETAIL
    Regards
    amole

  • BAPI/Function Module for Vendor Down Payment Clearing(F-54)

    My requirement is to clear Vendor Down Payment Document(F-54). One way is to use BDC but I am looking for other options.
    Is there any other way(BAPI/FM) possible except BDC recording to achieve above requirement?
    Thanks in advance,

    Hi Nilesh,
    I have the same requirement. How did you achieve it?
    Regards
    Prashant

  • Function module for vendor balances

    Hello all,
    Need ur help on below requirement.
    For a perticuler vendor & Company code, for previous N months(say 15 months), balances needs to be read into an internal table.
    PLease suggest a FunctionModule for this, if any.
    And one more question.
    In transaction FK10n (also in table LFC1), I could see 16 periods. What does it mean ? For an year, there are 12 months.. Then how 16 periods ? Please explain.
    Thanks in advance.

    hi,
    please try this FM
    BAPI_VENDOR_GETDETAIL

  • BAPI or Function Module for Vendor Creation.

    I have found a BAPI - "BAPI_VENDOR_CREATE" but it is of noe help for creating a vendor offline becuase it is simply calling Txn XK01.
    There is also a FM "VENDOR_INSERT" which directly inserts an entry into vendor master tables but without any validations.
    Can anyone please give me a way to create and update vendors WITHOUT using BDCs and which has all standard validations.
    If anyone has made a similar Z-object / ZBAPI, will be a great help if you could share it.

    plz try folowing fm's
    FI_WT_CREATE_VENDOR
    RM_ONETIME_VENDOR_MAINTAIN    Log.IV One time vendor data maintenance
    kanishak

  • Function Module  for FB01 Vendor line items postings in 3.1 Version

    Hello all,
    Is there any Function Module  for FB01 Vendor line items postings in 3.1 Version. I do not want to go for BDC. Please suggest.
    Thanks,
    Subba

    Hi,
    search for function module ACCPOSTING* or get development class of transaction FB01 and goto SE80, enter development class - and search in function group's function module.
    Cheers.
    ...Reward if useful.

  • Function module for GL account open items at a key date

    Is there a function module for "GL account open items at a key date" similar to following for customer and vendor accounts?
    BAPI_AR_ACC_GETOPENITEMS Customer account open items at a key date
    BAPI_AP_ACC_GETOPENITEMS Vendor account open items at a key date
    If not, please suggest any alternatives. I am looking to capture the output of FBL3N (GL account line item display) in a program.
    Thank you in advance.
    Prasanna Pujari

    hi,
    please go through the below link i think it will help u.
    http://sapfunctional.com/FI/GL/Balance.
    Regard
    Abhishek Tripathi

  • Standard BAPI or Function Module for FB01posting

    Hi Experts,
    My requirement is as follows.
    Invoice details would be sent across from Middleware to SAP and for which I have developed a Custom Remote Enabled Function Module. The Function Module needs to post the data using FB01 Transaction.
    I had planned for recording a BDC for FB01 and post the data, however, we are on the verge of getting upgraded from 4.7 to ECC 6.0. To avoid problems that we might face for change of screens in ECC 6.0, I would prefer using a BAPI or Function Module for FB01 posting, if available, instead of BDC.
    Data coming from Middleware are as follows.
    HEADER:
    BKPF-BLDAT :  Document Date
    BKPF-BUDAT : Posting Date
    BKPF-XBLNR: Reference (Invoice#)
    BKPF-BLART : Document Type
    BKPF-BUKRS : Company Code
    BKPF-BKTXT : DocHeader Text
    BKPF-WAERS : Currency
    LINE ITEM:
    BSEG-LIFNR : Vendor no
    BSEG-WRBTR - Total amt -Debit/Credit -Vendor
    BSEG-ZUONR : Assignment field
    BSEG-EMPFB : Alternative Payee
    BSEG-UZAWE : Payment Method Supplement
    BSEG-ZTERM : Pmt terms
    BSEG-KOSTL : Costcenter
    BSEG-HKONT : GL AccountNumber
    BSEG-WRBTR : Amount for GL
    BSEG-SGTXT : Line item text
    The Vendor Line Item would be one where as GL line items could me more than one.
    Can any of you suggest me a standard BAPI or Func Mod?
    Points will be awarded for valuable inputs.
    Thanks to all!!!!

    You can use RFBIBL00 program for FB01 postings. Go through the program help on how to use this program.
    This program requires a file to be on application server in a certain format.
    You may also refer the program RFBIBLT0 on how the file format should be.
    Hope this helps.
    Thanks,
    SKJ

  • Function Module for Opnning Balance

    Hello All,
    Is there any Function Module for getting Openning Balance of Customer and Vendor on a particuler Date.
    Point Assured.
    Thanks & Regards,
    Message was edited by:
            SAPLOVER

    Hi
    Check the fun module
    K_CO_OBJECT_BALANCE_GET
    use the tables BSID and BSAD to get the Customer Opening Balances
    and BSIK and BSAK for the Vendor opening Balances
    Regards
    Anji
    Message was edited by:
            Anji Reddy Vangala

  • Function Module For F-04

    Hi
    Is there any function module for F-04 transaction.
    Please help with answers.

    Hi,
    Check the following Exits
    SAPLF051                     Workflow for FI (pre-capture, release for payment)
    RFKORIEX                    Automatic correspondence
    RFEPOS00                   Line item display: Checking of selection conditions
    RFAVIS01                  Customer Exit for Changing Payment Advice Segment Text
    FEDI0001                    Function Exits for EDI in FI
    FARC0002                  Additional Checks for Archiving MM Vendor Master Data
    F180A001                  Balance Sheet Adjustment
    reward if useful
    regards,
    Anji

  • Function Module for GL open Itmes

    Could any body from forum tell me that "there is any Function Module for General Ledge open Items".
    Rgds,
    Raju

    Try the below FMs
    BAPI_AR_ACC_GETOPENITEMS -->  Customer account open items at a key date
    BAPI_AP_ACC_GETOPENITEMS -->  Vendor Account Open Items at a Key Date
    Hope this helps.
    Thanks
    Balaji

  • Functional module for automatic creation of pur requisition & pur order

    hello,
    what is the functional module for automatic creation of puchase requisition and automatic creation of purchase order which we will assign in action box in service order processing management.
    please let me know as early as possible
    regards,
    rajesh kumar raju

    Hi,
             Please check with following.
    IDOC_INPUT_ACC_PURCHASE_REQUI
    IDOC_INPUT_ACC_PURCHASE_ORDER
    /ISDFPS/OR_PURCHASE_ORDER_CR
    BS01_PURCHASE_DOCUMENT_CREATE
    CO_MP_CREATE_PURCHASE_ORDER
    Thanks & Regards
    Sadhu Kishore

  • Please update the functional specifications for Vendor Balance Report

    Dear All,
    Please update the functional specifications for Vendor Balance Report with
    proper descriptions.
    Please include
    1. How your selection screen should look like..
    2. Output format ( in an excel sheet)
    3. Logic for every field in the output format (viz. .. how do link the
    vendors from the selection screen to the BKPf and BSEG tables, how do you
    find open and closed items in BSEG , etc.)
    Please avoid statements like 'The total value of all the break-up should
    tally with the balance as shown in FBL1N for a given vendor for the given
    day.'
    You need to give the logic for the FBL1N, in that case.
    Regards
    Rama Mohan

    Hello again,
    Regarding having them update the specs, one can dream. Dreams are free. LOL. Hopefully the memory makers will update their specs as more makers start supporting a large memory configuration.
    The 4GB sticks I am using are http://shop.kingston.com/partsinfo.asp?ktcpartno=KTL-TP667/4G
    I did not do an extended test of the sticks in my MBP. Their home is in the ThinkPad I have because it is running Windows Server 2008 with Hyper-V.
    As you can see from the link above, these little suckers are pricey. But consider the price of 2GB SoDIMMs were $950 when they entered the market a couple of years ago. The price will drop.
    I asked the Kingston rep that sent these to me if online sites like newegg.com would have them soon. She indicated no, but the corporate buying sites like CDW and Zone would. So check around. They just started shipped a couple of weeks ago so be patient.
    If you have any other questions, please stop by http://blogs.technet.com/keithcombs/archive/2008/07/05/testing-my-apple-macbook- pro-with-8gb-of-ram.aspx and ask there. I'll see them much more quickly.
    Cheers,
    Keith Combs
    Microsoft

Maybe you are looking for

  • Convert Object to Float

    Hello, I'm trying to convert an Object to a Float and can't seem to get it to work properly. I'm using a HashMap to store object key-value pairs. The values inserted into the HashMap were originally of type float. I can extract the value found in the

  • Help not available????

    If I try to access the Help in iCal, it says very bluntly and without any indication as to the reason that the "Help is not available for iCal." Why??? and how do I get it fixed?

  • Reach 2.0 does not match preriquisite in SAINT on SAP ECC 6.0 EHP5

    hi experts, I upgraded ECC 6.0 EHP5 and then try to add-on SAP Product and REACH Compliance 2.0 in SAP ECC 6.0 EHP5. I aleady knew REACH 2.0 is available with ERP 6.0 EHP5 through Note 1389561 - SAP PRC 2.0: Installation and upgrade for ERP 6.0 and S

  • How to use DS's text processing to parsel the text data stored in DB table?

    I want to use DS's text processing to parse the text data stored in a database table, but all the demo I see is parsing text from a flat file. I tried with the blueprint  sample and edit the input from a flat file to database table, but can not map t

  • Graphics generated using awt.graphics not displaying when run through a jar

    I've created a small application that works fine when compiled and ran normally. When I create a jar and run it, the application works mostly fine too, the button (there's a button in it) shows up, but the graphics produced with java.awt.Graphics don