Get vendor number BAPI or functional module

Hi,
I recently found one standard functional module(or BAPI) to get vendor number if i pass user ID and i forgotten to make a note of it.
I couldn't able find this functional module(or BAPI) again SRM system. can anyone help in finding this functional module(or BAPI).
any help is appreciated.
Thanks,
Murali.

Hi
What's your detailed requirement ? Which SRM and R/3 versions are you using ?
<u>Incase you want SRM local Vendor details use the Function module BBP_PARTNER_GETDETAIL</u>
<b>Otherwise, go for META function modules to fetch R/3 data from SRM System.</b>
<u>Meta functions (similar to BAPIs) are generic call to external system. Depending on system kind and release, the function to call is different. The bapi that the Meta will effectly call in a backend is defined in table bbp_function_map.</u>
<b>Other related links -></b>
Function Module to send Vendor Master Data from SRM to ECC
Partner GUID and partner function
Changing vendor number in BE PO
Re: BAPI before sending PO to R3 and Vendor
Hope this will definitely help.
Regards
- Atul

Similar Messages

  • BAPI or Function Module to Update Vendor Details

    Hi Friends,
    I need to update Vendor Details (Street) in my program using a BAPI or Function Module. Is there such thing available which can do my job?
    Regards,
    Raju...

    Hi,
    Thanks for the Reply.
    I tried to use the FM Vendor_Update... It updates the adrress field in the table LFA1. But it is not reflected in the transaction FK02.
    So, Is there any thing that I have to do after the FM Vendor_Update is called so that the address field is also get reflected in address field of FK02 transaction.?
    Regards,
    Raju...

  • BAPI or Function Module to get open orders and open quotation details

    Hi,
    I have requirement to get all the open orders(as in VA05) and all the open quotations( as in VA25) for a sold-to-party. Could you please let me know if there are any BAPIs or Function Modules for the same.
    Thanks,
    Surekha.

    Hi,
    Check if the below helps:
    1.  BAPI_SALESORDER_GETLIST for VA05
    2. BAPI_QUOTATION_GETDETAILBOS for VA25.
    Regards,
    Vivek

  • 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

  • Document number generated from function module K_COSTS_PLAN_INTERFACE_TOTAL

    Dear friends,
      I am using function module K_COSTS_PLAN_INTERFACE_TOTAL to upload the Planning costs, After this function module call I need the document number generated for that item, but there is no return parameter from this function module which would give me the document number generated. Please let me know how to get the document number after this function module call.

    Hi...
    Try this function module..
    CALL FUNCTION 'BAPI_DOCUMENT_GETLATEST2' "
      EXPORTING
        documenttype =              " bapi_doc_aux-doctype  Document type
        documentnumber =            " bapi_doc_aux-docnumber  Document number
        documentpart =              " bapi_doc_aux-docpart  Documentation - text lines
        documentversion =           " bapi_doc_aux-docversion  Document version
        multilevelexplosion = 'X'   " bapi_doc_aux-flag  Document management indicator
    *   docbomchangenumber = SPACE  " bapi_doc_draw2-ecnumber  Change number
    *   docbomvalidfrom = SY-DATUM  " bapi_doc_draw2-validfromdate  Valid-From Date
    *   docbomrevisionlevel = SPACE  " bapi_doc_draw2-revlevel  Revision level
    *   loadlatest = 'X'            " bapi_doc_aux-flag  Document management indicator
    *   loadlatestreleased = 'X'    " bapi_doc_aux-flag  Document management indicator
    *   search_new_maindoc = SPACE  " bapi_doc_aux-flag  Document management indicator
    *   getdocdata = SPACE          " bapi_doc_aux-flag  Document management indicator
    *   getobjectlinks = SPACE      " bapi_doc_aux-flag  Document management indicator
    *   getdocdescriptions = SPACE  " bapi_doc_aux-flag  Document management indicator
    *   getlongtexts = SPACE        " bapi_doc_aux-flag  Document management indicator
    *   getstatuslog = SPACE        " bapi_doc_aux-flag  Document management indicator
    *   getdocfiles = SPACE         " bapi_doc_aux-flag  Document management indicator
    *   getcomponents = SPACE       " bapi_doc_aux-flag  Document management indicator
    *   getclassification =         " bapi_doc_aux-flag  Document Management Indicator
    *   getstructures =             " bapi_doc_aux-flag  Document Management Indicator
    *   getwhereused =              " bapi_doc_aux-flag  Document Management Indicator
    *   sortf_exclude = SPACE       " stpox-sortf   Sort string
    *   sortf_stop_expl = SPACE     " stpox-sortf   Sort string
    *   expl_docs_only_once = 'X'   " bapi_doc_aux-flag  Document management indicator
    *   stop_on_first_error = SPACE  " bapi_doc_aux-flag  Document Management Indicator
      IMPORTING
        return =                    " bapiret2      Return parameter
        newversion =                " bapi_doc_aux-docversion  Document version
      TABLES
        docstructure =              " stpox         BOM Items (Extended for List Displays)
    *   changedversions =           " tchg_vers     Table for Transferring Changed Document Versions
    *   statuslist =                " tstate_order  Sequence of Status Check
    *   documentdata =              " bapi_doc_draw2  BAPIS DMS: document data
    *   objectlinks =               " bapi_doc_drad_keys  BAPIS DMS: document data
    *   documentdescriptions =      " bapi_doc_drat_keys  BAPIS DMS: document data
    *   longtexts =                 " bapi_doc_text_keys  BAPIS DMS: document data
    *   statuslog =                 " bapi_doc_drap_keys  BAPIS DMS: document data
    *   documentfiles =             " bapi_doc_files2_keys  BAPIS DMS: document data
    *   components =                " bapi_doc_comp_keys  BAPIS DMS: document data
    *   all_returns =               " bapiret2      Return Parameters
    *   characteristicvalues =      " bapi_char_values_keys  BAPI Structure for Characteristic Value Assignment (Docs)
    *   classallocations =          " bapi_class_allocation_keys  BAPI Structure for the Assignment of Classes to Several Objects
    *   documentstructures =        " bapi_doc_structure_keys  BAPIs DMS: Structure Data for Several Documents
    *   whereusedlists =            " bapi_doc_structure_keys  BAPIs DMS: Structure Data for Several Documents
        .  "  BAPI_DOCUMENT_GETLATEST2
    And also check this link..
    Send original document from DMS as mail attachment
    Hope this will help you..
    Regards,
    Jhings

  • Is there any BAPI or function module  to delete entries from a table (VBAK)

    Hi Everybody,
    this is my first thread in SDN...
    my problem follows...
    A report is be created that selects all sales orders created by e-Sales that are more than 20 minutes old and still have a delivery block:
    tables:
    VBAK     sales document: header data
    selection fields:
    VBAK-LIFSK      &#8800;     <BLANK>
    VBAK-ERNAM     =     userID used by e-Sales / IVE
              (EP-BATCH / EAI-BATCH)
    VBAK-ERDAT      <=     Current system Date
    VBAK-ERZET     <=     Current system Time - 20 minutes
    These orders should be deleted from SAP system.
    This report should be scheduled to run regularly every 10 minutes.
    my doubt : is ther any BAPI or Function module to delete entries from a standard table...if no what is the way to delete the enteries from a std table...
    best replies will be rewarded....
    regards
    Reddy

    Hi Vasanth ,
    thanks for your reply.
    i tried in the same manner what u mentioned.
    but how to pass only one parameter to the functionmodule..
    here in this case we have to pass only update flag as 'D'..
    i did the same it giving dump..
    An exception occurred that is explained in detail below.                          
    The exception, which is assigned to class 'CX_SY_DYN_CALL_ILLEGAL_TYPE', was      
      not caught and                                                                   
    therefore caused a runtime error.                                                 
    The reason for the exception is:                                                  
    The call to the function module "BAPI_SALESORDER_CHANGE" is incorrect:                                                                               
    In the function module interface, you can specify only                            
    fields of a specific type and length under "ORDER_HEADER_INX".                    
    Although the currently specified field                                            
    "INT_ORDER_HEADER_INX" is the correct type, its length is incorrect.              
    my pgm :
    *& Report  YNEW_ORDER_DELETION
    REPORT  ynew_order_deletion.
    TABLES:vbak.
    PARAMETERS:
         p_lifsk LIKE vbak-lifsk DEFAULT '02'.
    SELECT-OPTIONS:
       s_lifsk FOR vbak-lifsk DEFAULT '10',
        s_ernam FOR vbak-ernam,
        s_erdat FOR vbak-erdat,"DEFAULT sy-datum.
        s_erzet FOR sy-uzeit.
    *PARAMETERS:
    p_erzet LIKE sy-uzeit.
       s_erdat like vbak-erdat,
       s_erzet like vbak-erzet.
    DATA:
       BEGIN OF int_final OCCURS 0,
            w_vbeln TYPE vbak-vbeln,
       END OF int_final.
    DATA:
      int_return LIKE bapiret2 OCCURS 0 WITH HEADER LINE.
    DATA: int_order_header_inx LIKE bapisditmx OCCURS 0 WITH HEADER LINE.
    DATA:
      wf_time TYPE sy-uzeit.
    INITIALIZATION.
      s_ernam-low = 'KULKARMA'.
      s_ernam-sign = 'I'.
      s_ernam-option = 'EQ'.
      APPEND s_ernam.
    s_ernam-low = 'EAI-BATCH'.
    s_ernam-sign = 'I'.
    s_ernam-option = 'EQ'.
    APPEND s_ernam.
    wf_time = sy-uzeit - 1200.
    p_erzet = sy-uzeit - 1200.
    p_erzet-low = wf_time.
    APPEND s_erzet.
      int_order_header_inx-updateflag = 'D'.
      APPEND int_order_header_inx.
    START-OF-SELECTION.
      SELECT vbeln FROM vbak
                       INTO TABLE int_final
                       WHERE lifsk EQ p_lifsk
                         AND ernam IN s_ernam
                         AND erdat IN s_erdat
                         AND erzet IN s_erzet.
      IF sy-subrc = 0.
        LOOP AT int_final.
          CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
            EXPORTING
              salesdocument         = int_final-w_vbeln
      ORDER_HEADER_IN             =
        order_header_inx            = int_order_header_inx
      SIMULATION                  =
      BEHAVE_WHEN_ERROR           = ' '
      INT_NUMBER_ASSIGNMENT       = ' '
      LOGIC_SWITCH                =
      NO_STATUS_BUF_INIT          = ' '
            TABLES
              return                      = int_return
      ORDER_ITEM_IN               =
      ORDER_ITEM_INX              =
      PARTNERS                    =
      PARTNERCHANGES              =
      PARTNERADDRESSES            =
      ORDER_CFGS_REF              =
      ORDER_CFGS_INST             =
      ORDER_CFGS_PART_OF          =
      ORDER_CFGS_VALUE            =
      ORDER_CFGS_BLOB             =
      ORDER_CFGS_VK               =
      ORDER_CFGS_REFINST          =
      SCHEDULE_LINES              =
      SCHEDULE_LINESX             =
      ORDER_TEXT                  =
      ORDER_KEYS                  =
      CONDITIONS_IN               =
      CONDITIONS_INX              =
      EXTENSIONIN                 =
        ENDLOOP.
        LOOP AT int_return.
          WRITE:/ int_return-type,
                  int_return-id,
                  int_return-number,
                  int_return-message.
        ENDLOOP.
      ENDIF.
    please help me ..its a very urgent issue to be solved...
    am waiting for ur reply...
    regards
    gangareddy

  • How to get sysnr value in a Function Module

    Hi all,
    I need to get the sysnr(system number) value of the R/3 system. I execute a RFC function module and need to get the value of sysnr of the system it executes in as a return parameter. Can somebody tell me how to get this value in the function module and return it.
    Thanks and Regards,
    Pratik

    Hello Pratik
    The system number has to be defined in the RFC destination. Thus, select on your local system (where you call the RFC function module) the corresponding RFC destination from table <b>RFCDES</b>. In field RFCDES-RFCOPTIONS you will find a string like this:
    H=<ip address>,S=21,R=N, ...
    S=system number
    Regards
      Uwe

  • Request number of a function module.

    Hi Experts,
    Can anybody plz send me the table where the request number of a function module get stored.
    (Function groups are stored in E071,But i need the request number for function module.)
    If any function module for the same plz send it
    Regards,
    Anoop Chandran

    Hi Martin,
    My scenario  is ;
    i have 2 fn modules
    Fn mod1 and Fn mod2 in fn group A
    and i transported this to another server.
    now i changed fn mod1 and transported.
    so the request number of fn mod 1 get changed.
    So my req is to not based on fn group.
    And it depends on fn modules.
    Can u plz gv me some idea to get the request number (tables or fn mods) of fn module??
    Regards,
    Anoop Chandran

  • BAPI or Function Module for F-53 and FBZ1

    Hi Gurus,
    I am currently executing two transactions F-53 and FBZ1. I would like to know if there are any read BAPIs or function modules that take BELNR_D(Document Number) and Company code and Fiscal Year as input and give the rest of the details I enter in these transactions like, partial payment, residual payment.
    Kindly help.
    Many Regards,
    Sagar

    Hi, Sagar:
    Nice to see your thread here
    No matter what kind of transactions you are using, finally, there will be a document posted in General Ledger Accounting, which is what you want. So to read the result, you can always try function module, like FI_DOCUMENT_READ.
    Hope it will help.
    Best Regards, Lawrence

  • Help required in bapi or function module..

    Hi,
    Is there any BAPI or Function Module to get cost center description by giving cost center as input parameter? please suggest me.Thanks in advance.
    Regards,
    Sandy.

    Hi,
    write a simple select query instead of FM or BAPI.
    select single ltext
    into lv_ltext
    from cskt
    where spras = sy-langu
    and kokrs = lv_kokrs           " put your controlling area
    and kostl = lv_kostl             "put your cost center
    and datbi = lv_datbi.          "put your valid-to date
    Thanks,
    Srilakshmi.
    Edited by: Srilakshmi Moola Ram on Sep 17, 2009 7:19 AM

  • BAPI or function module to change Assignmnet no. (ZUONR) of T code FB02.??

    dear all
    is there any BAPI or function module to change Assignmnet no. (ZUONR) of T code FB02.
    i want to change it in a mass.
    i have tried FI_ITEMS_MASS_CHANGE but its not working...is there any way to do BDC for the same...
    or we can give any condition in BDC to read any particular line item details..actually i have to double click on vendor line item and there i have to change the asignment field text.
    pls help...
    jigar p

    Check the Post
    Any BAPI for "FB02"
    Code is given how to use FI_ITEMS_MASS_CHANGE .
    Regards,
    Abhishek

  • Hi, Bapi or function module to update RBCO table from an internal table.

    I have a requirement to  update RBCO table from an internal table.  is there any Bapi or function module  or any other method other than update, modify statements.
    Moderator message: Welcome to SCN!
    Moderator message: please do more research before asking, show what you have done yourself when asking.
    [Rules of engagement|http://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement]
    [Asking Good Questions in the Forums to get Good Answers|/people/rob.burbank/blog/2010/05/12/asking-good-questions-in-the-forums-to-get-good-answers]
    Edited by: Thomas Zloch on Jul 12, 2011 12:28 PM

    I don't know if any FM exists for your requirement. But you may like to copy it into a custom table and modify it according to your enterprise needs.

  • BAPI or Function Module to create the Rebate Agreement

    Hi All,
    I have a requirement where I get the flat file which consists of the header and item level data. Using that I have to create the REBATE AGREEMENT. The transaction code to create the Rebate Agreement is VBO1 (Create Rebate Agreement).
    Is there any BAPI or FUNCTION MODULE available in SAP to create the Rebate Agreement. Please tell me if you know any suitable BAPI or FM.
    Thanks in advance.
    Best Regards,
    Paddu.

    Hi Paddu
    Were you able to find a BAPI or Function Module to create Rebate Agreement. We have a similar requirement where we have to create Rebate Agreements with Conditions.
    If you have found a solution do share it with us.
    Regards
    Salil

  • Migrating BAPI & RFC function modules into web services

    What is the advantage of migrating BAPI & RFC function modules into web services?

    Hi.
    That's a very good question. Why did you ask it, are you considering doing so?
    I wouldn't think there would be any performance advantages using WebServices.
    You could make your BAPI's available for other systems than Web Dynpro or SAP systems by turning them into WebServices.
    That could be an issue when you want to use different integration engines perhaps.
    A WebService might also be better for dealing with large number of requests I guess.
    When dealing with XML you can also use the advantage of XSLT for validating your data.
    The main advantages would still be the availability of your service for non-SAP systems.
    /Mikael

  • BAPI or Functional Module Reads Profit Segment From PR

    Hello, does anybody know about BAPI or Functional module to read profit segment, created in Purchase requisition?
    Or another technic to get: PAOBJNR

    Here is a solution which was useful to us:
    Take paobjnr form ebkn, and then: CALL FUNCTION 'RKE_CONVERT_PAOBJNR_COPADATA' and just read exported table with fields inside the profit segment
    + 1 simple select for customer description for example J

Maybe you are looking for

  • Fit Screen command in PSE 9

    Until receently the fit screen command in full editor performed as advertised for me - ie it zoomed the image to fit the available screen space (about 21% zoom) - however it's suddenly started zooming the image to considerable less than the full scre

  • GSD and ONS Offline

    Hello, We have recently installed clusterware and Database on Solaris Sparc 5.9 (SPARC)64 bit machine. We installed 10.2.0.1 clusterware and database , and applied patch for 10.2.0.3.It was successful.After creating database I am getting the followin

  • Confirm Outbound Delivery with HU number via iDoc

    Hello SAPman, I am trying to confirm a outbound delivery thanks to iDoc, the context is the following : Storage location is managed with HU but there is no SAP WM. The goal is to get an iDoc from a external WMS with the HU which had been picked. I tr

  • How to Assign T-code to a KE30 report

    Hi Experts, How can i assign t-code to ke30 COPA reports, could you plz tell me the solution step by step, Regards

  • Getting footage to play in widescreen format

    I am having trouble getting my projects to play in a regular 4:3 tvs as widescreen format. On my old mac there was no problem I want to import my footage and then output it to play in 16:9 format. Is there new set ups thtat i need to configure?? in f