BAPI for attaching Parnter to a Vendor

Hi,
  Is there a BAPI which can be used to assign a partner to a vendor ?
what is the usual procedure followed to assign Partner to a Vendor ?
this is an urgent requirement.... Please help me in this regard. I will certainly not forget to grant points for the appropriate answers.
Regards,
Vara

Partner functions are assigned in vendor master through XK01,XK02 or MK01, MK02.
Sai

Similar Messages

  • BAPI for attachment to incoming invoice

    Hello,
    I am creating documents for incoming invoices with an RFC that uses BAPI_INCOMINGINVOICE_CREATE. I also want to attach an external file to the document created. Is it possible to achieve this with a BAPI or an fm?
    Thanks in advance,
    Ali

    Hi,
    I am giving a brief about the flow you should follow.
    PERFORM file_upload USING p_file.  (This is the perform in which you will upload your file with the business object of the document, document key, archiv type, the local path of attachment etc...)
      PERFORM validate_file.   ( This is to validate your entries from the file)
      PERFORM bo_existence_check. (This is to check the the existence check of the business object and document key in the system)
    LOOP AT gt_upload_file INTO gs_upload_file.  (This is looping through the file for each entry i.e. each document)
          PERFORM upload_attachment. ( This is to upload scanned attachment to optical archiv drive)
    Use FM SCMS_AO_FILE_PUT_FE for uploading the file
           PERFORM link_archiv.  (This is to link the uploaded document in archiv drive with the document in SAP system)
    USE FM ARCHIV_CONNECTIONTABLE_INSERT  for linking the document and attachment.
    ENDLOOP.
    Let me know if you find it useful.
    Thanks and Regards,
    Kiran Mohan

  • BAPI for creating Return delivery to vendor using transaction MIGO

    Hi All,
             My requirement is to create Return delivery to vendor using transaction MIGO.
    In MIGO transaction to create return delivery, the following steps needs to be followed.
    i) Select the option A02 Return delivery, R02 Material document,
        Enter Material document xxxxxxxx.
        Reson for movement:xxxx
        By selecting the option item ok and via delivery check box, then save.
    After saving return delivery needs to be created.
    Is there any BAPI/FM exist for this requirement?
    I made lot of search in sdn, but i could not find any thing helpful.
    Appreciate quick help.
    regards
    surya

    Hi
    In VL02n->Extras->Delivery Output->Header
    Check if you see any message type (LD00 ?).
    If you do not see any, insert a message type LD00.
    If you want to check the IMG settings, see Txns : V/71 (for delivery types RL/RLL) and V/73 (for Item category RLLN)
    Best regards
    Ramki

  • Finding FM/RFC/BAPI For PO list In Perticular Vendor

    Hi,
      Can u help for Finding PO list For a perpicular vendor.
      i.s i want to pass Vendor No as In put it will give list of PO as out put
    Regards,
    Sunil sahoo

    Hi
    Try the below code
    types : begin of ty_ekko,
               ebeln type ekko-ebeln,
               lifnr type ekko-ebeln,
              end of ty_ekko.
    data : it_ekko type table of ty_ekko,
             wa_ekko type ty_ekko.
    parameters : lifnr like ekko-lifnr.
    select ebeln lifnr into table it_ekko from ekko where lifnr = lifnr.
    loop at it_ekko into wa_ekko.
    write : / wa_ekko-lifnr,
                wa_ekko-ebeln.
    endloop.
    Regards
    Madhan
    Edited by: Madhan Doraikannan on Oct 8, 2008 12:23 PM

  • Any BAPI for Auto clearing of Vendor accounts

    Hai,
    Any body know, any BAPI for Auto clearing of the Vendor account(transaction F.13).
    This urgent issue.
    Reward will promote you.
    Bye ,
    Elamaran

    no, there's no bapi
    -> another report is rfbibl00 with transaction fb05
    -> you've to fill structures bselk and bselp
    regards Andreas

  • Very urgent::: Standard BAPI for creating quotation in vendor side

    hi all
    i need a standard bapi for creating Quotation in the vendor side
    i found 2 bapi's :
    bapi_quotation_createfromdata,
    bapi_salesorder_createfromdat1.
    but these are related to customer side itseems...
    i want standard bapi's for vendor side Quotation creation....
    points will be awarded for useful answer...

    hi all
    i need a standard bapi for creating Quotation in the vendor side
    i found 2 bapi's :
    bapi_quotation_createfromdata,
    bapi_salesorder_createfromdat1.
    but these are related to customer side itseems...
    i want standard bapi's for vendor side Quotation creation....
    points will be awarded for useful answer...

  • Is there any bapi for salary

    hi all,
    is there any bapi for salary

    hi,
    BAPI_ACC_EMPLOYEE_PAY_CHECK    Accounting: Check Vendor Acct Assignment for HR Posting
    BAPI_ACC_EMPLOYEE_PAY_POST     Accounting: Post Vendor Acct Assignment for HR Posting

  • BAPIs for Vendor Balances

    Hi!
    I need a BAPI for extract the Vendor Balances and other for load the Vendor Balances.
    Do they exist?

    try to search in Se37
    BAPI_AP_ACC_GETBALANCEDITEMS   Vendor Account Clearing Transactions in a given Period
    BAPI_AP_ACC_GETCURRENTBALANCE  Vendor Account Closing Balance in Current Fiscal Year
    BAPI_AP_ACC_GETKEYDATEBALANCE  Vendor Account Balance at Key Date
    BAPI_AP_ACC_GETPERIODBALANCES  Posting Period Balances per Vendor Account in Current Fiscal Year
    regards
    Prabhu

  • Bapi for vendor payment with details of tunover and blocked payment

    Dear all
    I want to know whether any BAPI available for the details of vendor payment made and the open item with  blocked payment (with the reason for the blocked payment) and the turnover of the vendor for a particular fiscal year...................
    The client want to get the output as mentioned below.
    e.g...
    PO no : 45629810
    Inv.No : 73409 (Vendor's Invoice no.)
    Payment : Paid amt with date and details
    Payment : Outstanding (Due and Over Due with no.of days)
    Blocked Payment : Amt with the reason for blocking the payment.
    Turn Over : Total turn over for that fiscal year.
    This is an urgent req. from my client,i will be very grateful if any one can  help me over this issue ..............
    Appreciate for any relevant answers and suggestion ...........
    I am in ECC 6.0
    Regards
    Praveen

    Hello Raj,
    Unfortunately there is no BAPI for payment detals and other company code data. The only possibility is via direct input (external data transfer).
    Please have a look at the following Easy-Access-path:
    SAP Menu
    -> Accounting
      -> Bank Applications
       -> Loans Management
        -> Environment
         -> External Data Transfer
    Within this menu entry you find diverse functions. Please start the function KCLJ to transfer data. Before you can do this you need to
    prepare the transfer by creating your own transfer structure and so on. You can get further information on what to do here by navigating to
    "Help   > Application help" within transaction KCLJ. From here you get to the right area of SAP library.
    Thanks Amber

  • BAPI for Vendor Non-PO Invoice processed through MIR7 Transaction

    Hi All,
    I have a requirement where i will get data from flat file. Using this data Vendor Non-PO Invoice
    will be processed through MIR7 transaction with Multiple line items - Invoice Upload Parking the document for vendor non-po invoices.
    The data is in below format in flat file:
    Header fields in 1st line
    Dr. Key related fields in 2nd line
    Cr. Key related fields in 3rd line
    Header fields in 4th line
    Dr. Key related fields in 5th line
    Cr. Key related fields in 6th line
    etc .... in flat file
    In these main fields coming in from flat file are: comp.code, doc.type, vendor no,
    Debit/Credit indicatorSHKZG, G/L a/c no, inv/post dates etc..
    My issues:
    1. I am planning to use F.M BAPI_INCOMINGINVOICE_PARK is it the correct F.M!
    But Here PO number seems to be mandatory for this F.M but it is not available as per our flat file,
    if so can anybody suggest a BAPI for Vendor Non-PO Invoice parking for MIR7 transaction!
    2. What are the parameters need to be used for from above flat file data especially for 2 line itemshttp://Dr./Cr. data other than header data. So as per Header & 2 Line items http://Dr. & Cr. Data which parameters will be updated with which data in above flat file! can anybody clarify!
    3. Also in flat file WorkflowNo is available in which parameter this fields will need to be filled & also by doing this will it trigger workflow automatically!
    Can anybody clarify about above points!
    Thanks in advance.
    Thanks,
    Deep.

    Hello Deep,
    I know it might be quite late for you for this answer, nevertheless I will write that, because there are lots of question like yours. bapi_incominginvoice_park is also a suitable bapi for you. All you need to do is call it this way:
    data: headerdata like bapi_incinv_create_header value is initial,
            table_item type table of bapi_incinv_create_item,
            gl_account like bapi_incinv_create_gl_account,
            table_gl type table of bapi_incinv_create_gl_account.
    * fill headerdata and table_gl, leaving table_item empty
    CALL FUNCTION 'BAPI_INCOMINGINVOICE_PARK'
        EXPORTING
          HEADERDATA                = HEADERDATA
    *   ADDRESSDATA               =
        IMPORTING
          INVOICEDOCNUMBER          = lv_docnr
          FISCALYEAR                = lv_year
        TABLES
          ITEMDATA                  = table_item
    *      ACCOUNTINGDATA            = table_acc
          GLACCOUNTDATA             = table_gl
    *   MATERIALDATA              =
    *      TAXDATA                   = table_tax
    *   WITHTAXDATA               =
    *   VENDORITEMSPLITDATA       =
          RETURN                    = lt_return.
    This works perfectly for me, creating a mir7 document without refering to a PO. The trick here is to fulfill the glaccountingdata importing table while leaving itemdata empty.

  • Bapi for vendor non po invoice parking

    Hello,
    We have a requirement to Create a Non PO Invoice and also parking invoice.
    I could able to create Vendor Invoice (Non PO) using BAPI: BAPI_ACC_DOCUMENT_POST.
    But i am unable to find a BAPI for Parking the Vendor Invoice (Non PO). When i try to use BDC on FB01 transaction for creating Parking Vendor Invoice, it is throwing an error that "Parking Invoice creation is not allowed in batch input".
    Can anybody help me for creating Parking Invoice (Non PO).
    Note: There is a BAPI: BAPI_INCOMINGINVOICE_PARK, which wont support for Non PO Invoice creation. It is PO based.
    Thanks in Advance for your support.
    Thanks & Regards,
    Sreedhar.

    Hi,
    Please see the given link, hope It will help you.
    Re: BAPI to Park the Invoice Document
    Regards,
    Shamma

  • BAPI for Vendor invoice Park FV60

    Hi All,
       Do you knwo any BAPI for vendor invoice Park through FV60, I have tried
       BAPI_INCOMINGINVOICE_PARK  - Got struck where It is asking to pass teh PO data in Itme level, where as i have to uplaod only
       GLaccounts data.
      and i tryed for another  BAPI_ACC_DOCUMENT_POST   but is not working its not related to my requiremment it seems...
    Can any one know better about the process to do this.. pleas let me know..?
      Can anybody did the same, if ues please share with me... its very urgent it need it...
    Thanks,

    use bapi: BAPI_INCOMINGINVOICE_PARK

  • BAPI for Purchase Order Vendor Confirmations

    Can any body suggest me the BAPI for the purchase order vendor confirmations transaction code me22n - Tab<b>-(Confirmations)</b> alone.
    regs,
    Raja

    Dear Asha,
    Pls find the below code, this handles only the BDC part of the program.Updates only the EKES table thru standard confirmation tab on ME22N.
    Kindly clarify any doubts in this reg.
    regs,
    Raja.
    FORM ins_stdtable .
      DATA:var TYPE c LENGTH 30,
      cstr(02) TYPE n value '01'.
      data istr(02) type n value '00'.
      DATA recno TYPE i.
      data: eblc type c length 5,
      ebli type i.
      DATA: kebeln LIKE utab-ebeln.
      DATA: BEGIN OF indx,
             ebelp type ekes-ebelp,
             eindx type i,
            END OF indx.
      DATA : CNT TYPE I value 1.
      DATA: COUNTER(2) TYPE N VALUE '01',
      ROWS TYPE P.
      DATA: w_textout            LIKE t100-text.
      DATA: gd_update TYPE i,
            gd_lines TYPE i.
      data :waek like indx,
      itabek LIKE TABLE OF waek.
    *Used to stores error information from CALL TRANSACTION Function Module
      DATA: BEGIN OF messtab OCCURS 0.
              INCLUDE STRUCTURE bdcmsgcoll.
      DATA: END OF messtab.
      SELECT MAX( ETENS ) FROM ekes INTO zetens WHERE ebeln =
      ekko-ebeln.
      recno = zetens.
      LOOP AT utab.
        SELECT distinct ebelp INTO CORRESPONDING FIELDS OF TABLE
        itabek  FROM eket  WHERE ebeln = ekko-ebeln.
        loop at itabek into waek.
          ebli =  ebli + 1.
          waek-eindx = ebli.
          modify itabek from waek.
        endloop.
        loop at itabek into waek where ebelp = utab-ebelp.
          eblc = waek-eindx.
          condense eblc.
        endloop.
        AT NEW ebeln.
          PERFORM bdc_dynpro      USING 'SAPLMEGUI' '0014'.
          PERFORM bdc_field       USING 'BDC_OKCODE'
                                        '=MECHOB'.
          PERFORM bdc_dynpro      USING 'SAPLMEGUI' '0002'.
          PERFORM bdc_field       USING 'BDC_OKCODE'
                                        '=MEOK'.
          PERFORM bdc_field       USING 'BDC_CURSOR'
                                        'MEPO_SELECT-EBELN'.
          PERFORM bdc_field       USING 'MEPO_SELECT-EBELN'
                                         utab-ebeln.
          AT New EBELP.
            perform bdc_dynpro      using 'SAPLMEGUI' '0014'.
            perform bdc_field       using 'BDC_CURSOR'
                                      'DYN_6000-LIST'.
            perform bdc_field       using 'DYN_6000-LIST'
                                     eblc.
            perform bdc_field       using 'BDC_OKCODE'
                                          '=DDOWN3200'.
            PERFORM bdc_dynpro      USING 'SAPLMEGUI' '0014'.
            PERFORM bdc_field       USING 'BDC_OKCODE'
                                          '=TABIDT15'.
            perform bdc_field       using 'DYN_6000-LIST'
                                    eblc.
            PERFORM bdc_dynpro      USING 'SAPLMEGUI' '0014'.
            PERFORM bdc_field       USING 'BDC_OKCODE'
                                          'PICK'.
          ENDAT.
        ENDAT.
        PERFORM bdc_field       USING 'DYN_6000-LIST'
                                          eblc.
        recno = recno + 1.
        cstr = recno.
        counter = cstr.
    *This is to check whether the scheduled line item exceeding 12 rows. if so, use *page up
        if counter >= 13.
          rows = counter MOD 13.
          istr = ( ( counter - rows ) / 13 ).
          do istr times.
            perform bdc_dynpro      using 'SAPLMEGUI' '0014'.
            perform bdc_field       using 'BDC_OKCODE'
                                    '=EINB_CREATE'.
          enddo.
          DO 2 TIMES.
            perform bdc_dynpro      using 'SAPLMEGUI' '0014'.
            perform bdc_field       using 'BDC_OKCODE'
                                    '=P+'.
          enddo.
          COUNTER = '03'.
          cstr = '03'.
        ENDIF.
        CONCATENATE 'EKES-EBTYP('  cstr  ')' INTO var.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                          var.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                    '/00'.
        PERFORM bdc_field       USING var
                                    utab-ebtyp.
        CONCATENATE 'RM06E-EEIND('  cstr  ')' INTO var.
        PERFORM bdc_field       USING var
                                       utab-eeind.
        CONCATENATE 'EKES-MENGE('  cstr  ')' INTO var.
        PERFORM bdc_field       USING var
                                       utab-menge.
        CONCATENATE 'J_3ASZDI-J_3ASIZED('  cstr  ')' INTO var.
        PERFORM bdc_field       USING var
                                       utab-j_3asize.
        AT END OF Ebelp.
          PERFORM bdc_dynpro      USING 'SAPLMEGUI' '0014'.
          PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '=MESAVE'.
          perform bdc_dynpro      using 'SAPLMEGUI' '0014'.
          perform bdc_field       using 'BDC_OKCODE'
                                    '/00'.
          CALL TRANSACTION 'ME22N' USING bdcdata MODE 'E'.
          IF sy-subrc EQ 0.
            savedone = 'Y'.
            saveflag = 'Y'.
            initflag = 'N'.
            MESSAGE 'SAVED' TYPE 'I'.
          else.
            saveflag = 'N'.
            savedone = 'N'.
            initflag = 'Y'.
            MESSAGE 'Not Saved' Type 'I'.
          endif.
          CLEAR: bdcdata.
          REFRESH bdcdata.
        ENDAT.
      ENDLOOP.
    ENDFORM.
    Hope this will help u

  • Need BAPI for F-54 Clear Vendor Down Payment

    HI Gurus,
    Is there any BAPI available for clearing vendor down payment? We can use F-54 tcode to do it manually.
    I need to clear the vendor down payment from an USER-EXIT.
    how can I do this?
    Pls guide me.
    Thanks & regards,
    Murphy

    Hi,
    Looks we don't have any dedicated BAPI for F-54..You can check 'BAPI_ACC_INVOICE_RECEIPT_POST' for your requirement...
    User-Exit you need to search for F-54.

  • FM/BAPI for creating the credit memo request for Vendor

    Hi Experts,
        I need an RFC/BAPI,  for creating the credit memo request for Vendor.
    Thanks in Advance,
    Kiruba.R

    Hi,
    Use this BAPI 'BAPI_DRMCREDITMEMOREQ_CREATE' - Credit Memo Request Creation
    Regards,
    Jyothi CH.

Maybe you are looking for

  • Photoshop cc 2014 slow after update from mac os 10.9 to 10.10.2

    hello i have update from 10.9 to 10.10.2 i am using a mac pro 2012  2.4 ghz 6 cores 48GB ram and a NVIDIA Quadro K5000 3583 MB since i update photoshop is extremely slow any function takes much longer to render , and i am now trying to reverte to the

  • Is it mandatory to create a project for every enhancement?

    Hello Gurus, I have written some code in one user exit. Now i have activated it and it is working fine. I wanted to know. is mandatory to create a project(in CMOD) for every user exit? Also what is the functionality of the project?

  • Output of REF CURSOR

    I have a PL/SQL ref cursor, I would like to pass the output from REF CURSOR to a ORACLE table The output is Comma separated values of VARCHAR2 datatype Pls suggest how to pass this output to a ORACLE table dynamically? Thanks Edited by: 859486 on Oct

  • SR # 10915007191

    I opened SR # 10915007191 on Friday 19th September, Engineer took the remote via Bomgar same day and spent 3 hours. Then again he took the remote on Monday 22nd September and spent couple of hours without luck. Then I didn't heard anything from Suppo

  • Dunning level not automated change in Customer Master

    Dear All, We have an issue- once we completed F150, the dunning level was not automated change in customer master data after the first dunning was successfully run. Do suggest.