BAPI - BUS2014 - Purchasing contracts

Hi guru's,
I am using LSMW(BAPI - BUS2014) to create purchasing Contracts(MRO outline agreements). I am getting the following error - Tax Code I1 in procedure is invalid.
But I am passing the right tax code and also checked the tax procedure. (everything is right.
Still getting the error. But I manually tried to create using the sample tax code - no error. I am not sure what's is the problem.
Can anyone help me .......please

OK - stupid question. I did figure it out myself. Sorry for my impatience. This is my first BAPI program, so a bit too shaky
Cheers
EssKay

Similar Messages

  • BAPI for Purchasing Contract

    Hi  All,
    Can anybody suggest some BAPI for uploading pricing conditions in a purchasing contract.
    Thanks,
    Arun

    Hi Arun,
      refer to the link for BAPI's:
    http://www.sapbapi.com/bapi-list/
      Also refer to the link:
    Re: VK11,
    With luck,
    Pritam.

  • BAPI for Release Purchase Contracts

    Hi Experts,
    I have an ECC with a Workflow for approve Purchase Contracts, ok!!
    I have too an External Program for approve this contracts, but I don´t know a BAPI or FM for export this requisitions to the External Program.
    I know that for PO and PR exist BAPI's, but I did not found for the aprove Purchase Contracts.
    Could you help me?
    Regards,
    Ariel Prebianca
    Edited by: Rob Burbank on Sep 16, 2010 2:22 PM
    Edited by: Ariel Prebianca on Sep 16, 2010 10:38 PM

    Hi
    The BAPI which you found for purchase orders works for Purchasing contracts also.
    Please test.
    Regards
    Sachin

  • Standard remote enabled bapi for creation of purchaser contract in srm

    Hello Friends
    Plz tell me is there any standard,remote enabled FM/BAPI in SRM system for creation of purchaser contract.
    I found BBP_PD_CTR_CREATE. But this is normal FM.
    I need BAPI like BAPI_CONTRACT_CREATE which there in ECC system.
    Plz help.
    Thanks & regards,

    One idea is to write a wrapper FM that is remote enabled and internally call BBP_PD_CTR_CREATE for your own use.

  • Purchasing Contract bapi for rejection

    Hi
    Please I need to create a RFC to reject a Purchasing Contract  workflow, I´ve found just BAPI_CONTRACT_CHANGE bapi but it just works with contracts with material itens, it doesn´t work with contracts with service itens.
    helpful answers will be awarded.
      DATA:
         wl_header TYPE bapimeoutheader,
         wl_headerx TYPE bapimeoutheaderx.
      wl_header-procstat = '08'.
      wl_headerx-procstat = 'X'.
      CALL FUNCTION 'BAPI_CONTRACT_CHANGE'
        EXPORTING
          purchasingdocument = i_ebeln
          header             = wl_header
          headerx            = wl_headerx
        TABLES
          return             = bapiret2.
      READ TABLE bapiret2 TRANSPORTING NO FIELDS
      WITH KEY type = 'E'.
      IF sy-subrc NE 0.
        CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
      ENDIF.

    Hi Michel,
    I also have same requirement , Can you please send me the code.
    My Email ID : [email protected]
    Appreciate your help!
    Thanks,
    Sivaji.

  • I want to create purchase Contract through workflow

    Hi All,
    I am working on Purchase contract through workflow. In that I am using business object BUS2014,
    But in this business BUS2014, there is no event called create, So I take copy of business object BUS2014 to ZBUS2014.And I craeted event create & method end_date for checking the end date of contract.
    The problem is, When I am using for t-code ME31k for release, If i am going to check t-code SWEL the event is not trigger on for release.
    My requirement is when the contract is going to over then before 10 days the workflow event is trigger and give the remainder to creator & the vendor. And also same thing before 5 days it will give the 2nd remainder.
    Please help me out regarding this.
    Thanks & Regards,
    Pankaj Sinha.
    Edited by: Pankaj Sinha09 on May 11, 2009 10:07 AM

    Hi there Sebastian,
    You will need this 'extra Action' and QuickTime Pro...
    http://www.apple.com/downloads/macosx/automator/quicktimecompressionactionsandwo rkflow.html
    Regards
    Ric

  • Updating purchasing contracts in SRM from external system ( XI )

    Hello friends,
    We have a requirement to update / create purchasing contracts in SRM from external system ie e-sorcing . We are getting the structure of contract from
    xi proxy.
    We are using function modules
    BBP_PD_CTR_CREATE
    BBP_PD_CTR_UPDATE
    to create / update contracts.
    The issue is , how we will come to know an existing contract is got updated in
    the external system and , is there any function module/ bapi available to get those
    updated contract records or is there any way to do this.
    It would be great if anybody can provide some helpful information.
    Thanks..
    Jayaram

    Hello BABA,
    Try this link. Hope this helps.
    [Re: Creating SRM PO with Smartforms BBP_PO;
    Please discuss this issues in SRM- General forum for better replies.
    Cheers,
    Suvendu

  • Updating Revision level in purchase contract

    Hi All,
    I want to update the Revision level field (EKPO-REVLV) in a Purchase contract. The BAPI_CONTRACT_CHANGE is not updating the field. Please suggest me some options to update the same. 
    Thanks in Advance.
    Senthil J

    Hi Senthil,
    Have you seen  the documentation of this bapi .Please check
    Notes
    Master conditions
    When creating outline agreements, you can specify only one period per variable key. This means that just one period can be specified for the document header (i.e. condition table A019). The same applies to each item (i.e. condition table A016) and to each item/plant combination (i.e. condition table A068).
    You can use any periods. However they must not overlap for a variable key.
    When conditions are changed, new condition records are nevertheless written.
    Because volume rebate conditions are not taken into account in outline agreements, they are not processed.
    No subitems (e.g. inclusive/exclusive bonus quantities, display, etc.) are taken into account.
    The control key for quality management in procurement (EKPO-SSQSS) and the certificate category (EKPO-ZGTYP) are only taken into account to a certain extent. These two items of information are copied from the reference contract or material master, but cannot be changed; neither are any checks carried out for these two fields.
    The revision level (EKPO-REVLV) cannot be changed because various quality management routines were not implemented.
    Version management (Document Change Management) is not supported.
    External services (planned or unplanned) are not supported.
    The creation or changing of configurations is not supported.
    Post if need help here.
    Regards,
    Madhu.

  • Issue with Idoc for creating purchasing contracts

    Hello everyone,
    I'm trying to create purchasing contracts using Idoc BLAORD3 through LSMW.
    But i have a problem : all informations concerning account assignement are missing on this Idoc.
    Does anyone know how to solve this problem? Maybe is there a BAPI which could replace my Idoc? Or is there another Idoc which could create account assignement seperatly?
    Thanks in advance for your help.
    Cédric

    Hi,
    Try using E1EDK18 segment. Put "Number of days" ,Qualifier and check if this achievs the desired result or not? If yes then you have to use an user exit to put the number of days in the IDOC.
    Cheers,

  • Purchase Contract creation in SRM

    Hi everybody,
    I have a requirement. I need to create purchase contracts in SRM. Data is comming as a file from Oracle server. I tried searching for a BAPI to create contract, not able to find it out. Tring to use eCATT for this. Transaction BBP_CTR_MAIN is giving error in the recording of eCATT.
    Pleae advice we how can I create the contracts in background from flat file.
    Thanks in advance.
    Mahitha

    Hi all experts,
    I was unsuccessful like some of the users here in trying to create a contract at the backend. I have tried using "BBP_PD_CTR_CREATE" but i alway get 2 error message: create exactly one vendor and create exactly one employee. What could be wrong with the codes??
    data: pc_id like CRMD_ORDERADM_H-OBJECT_ID.
    data: pc_header_out like BBP_PDS_CTR_HEADER_IC.
    data: pc_header_in like BBP_PDS_CTR_HEADER_D.
    *data: pc_item type table of BBP_PDS_CTR_ITEM_D with header line.
    data: pc_item type table of BBP_PDS_CTR_ITEM_ICU with header line.
    data: pc_text type table of BBP_PDS_LONGTEXT.
    data: pc_partner type table of BBP_PDS_PARTNER.
    data: wa_part like line of pc_partner.
    data: pc_org type table of BBP_PDS_ORG with header line.
    data: pc_message type table of BBP_PDS_MESSAGES with header line.
    Insert dummy data*****************************************************
    pc_header_out-CURRENCY = 'SGD'.
    pc_header_out-PROCESS_TYPE = 'PCTR'.
    Insert Purchase Org data *********************************************
    pc_org-PROC_ORG_RESP_ID = 'O 50000026'.
    pc_org-PROC_ORG_ID = 'O 50000025'.
    pc_org-PROC_GROUP_ID = 'O 50000026'.
    Insert BP data - vendor, employee Purch Org and DSTA******************
    *DSTA
    wa_part-PARTNER_ID = '0000000001'.
    wa_part-PARTNER_GUID = '4BD22A16AFA2B74D844E1595998AE7E5'.
    wa_part-PARTNER_FCT = '00000038'.
    wa_part-ADDR_TYPE = '1'.
    wa_part-ADDR_NO = '0000010469'.
    append wa_part to pc_partner.
    clear wa_part.
    *employee
    wa_part-PARTNER_ID = '0000000006'.
    wa_part-PARTNER_GUID = 'E3D4AAE842930D41B7B107F3CC60B44D'.
    wa_part-PARTNER_FCT = '00000026'.
    wa_part-ADDR_TYPE = '3'.
    wa_part-ADDR_NO = '0000010472'.
    wa_part-PERS_NO = '0000010474'.
    append wa_part to pc_partner.
    clear wa_part.
    *vendor
    wa_part-PARTNER_ID = '0000000311'.
    wa_part-PARTNER_GUID = 'F0BC646129BE2D4BB7E301F8F3708B1E'.
    wa_part-PARTNER_FCT = '00000019'.
    wa_part-ADDR_TYPE = '1'.
    append wa_part to pc_partner.
    clear wa_part.
    *purch org
    wa_part-PARTNER_ID = '0000000002'.
    wa_part-PARTNER_GUID = '48459C575651D04091BAF1B9A554CF51'.
    wa_part-PARTNER_FCT = '00000051'.
    wa_part-ADDR_TYPE = '1'.
    wa_part-ADDR_NO = '0000010470'.
    append wa_part to pc_partner.
    clear wa_part.
    Item data
    pc_item-CATEGORY_ID = 'ARMOUR'.
    pc_item-QUANTITY = '233'.
    pc_item-PRICE = '1234'.
    pc_item-VALUE = '4321'.
    pc_item-UNIT = 'EA'.
    pc_item-PRODUCT = 'B78A60018B6018418F6D0F1632E10F69'.
    pc_item-DESCRIPTION = 'Russian T72 Tanks'.
    *--Reset Buffer Tables
    CALL FUNCTION 'BBP_PROCDOC_RESET_BUFFER'.
    Create PC*************************************************************
    call function 'BBP_PD_CTR_CREATE'
      exporting
        I_HEADER = pc_header_out
      importing
        E_HEADER = pc_header_in
      tables
        I_ITEM = pc_item
        E_PARTNER = pc_partner
        I_ORGDATA = pc_org
        I_LONGTEXT = pc_text
        E_MESSAGES = pc_message.
    write: pc_header_in-guid.
    the guid will be all 0s due to the error..... Thanks for taking time to read this. I will really appreciate if anyone is able to help me solve this. Of course point will be rewarded. Thanks again!

  • How to copy custom fields in purchasing contract

    Dear all, we have added to the standard field in the purchase contract position two custom fields.
    These two fields (in value) are not taken when the user create a new contract by copying from another.
    Are there some exit or BADI functions that allows to copy also custom ields into corresponding destination fields whitout modify the standard code ?
    In customizing it seams there are aoly rulse for copy position texts.
    Regards,
    Riccardo Galli - Hera group.

    Hi
    Try to check the BADIs ME_PROCESS_OUT_CUST or ME_PROCESS_PO_CUST or the enanchement M06E0005, perhaps u can do something in the routines triggered as soon as the document is saved.
    Max

  • Distribution of purchase contracts from SRM4.0 to ERP 2004

    Hello all,
    Any body has experience in distributing Purchase contract from SRM to R/3.
    i have activated BADIs
    BBP_DETERMINE_LOGSYS;BBP_CTR_BE_CREATE in SRM and BBP_CTR in R/3.
    Right now i can create contracts in EBP,but i unable to transfer them to backend.
    Until now i have followed the documentation stategic sourcing configuration guide.
    Please give your valuble information to distribute service contracts.
    Thanking you,
    Mahesh Madasu.

    Hi Mahesh,
    If you are using classic scenario then try these:
    Go to Table: BBP_DOCUMENT_TAB. Check whether your contract no.
    Then go to T. Code: WE20 in Backend system.
    Check for the Partner TYPE of you backend system in Partner profiile.
    Go to classification TAB. And check the partner status is Activate or not. The status should be 'A'. Check the inbound Parameter BLAORD is present or not.
    Then go to YOur SRM system and go to WE20 and activate the partner status by setting the parameter to 'A'. Then redo the processes.
    This may help you.
    Regards,
    Charles

  • BAPI for Purchase Order Confirmation and update EKES table

    Hi all,
    I have a requirement to update the PO confirmation soon after successful creation of PO in an IDOC.
    I have used BAPI_PO_CHANGE function module which didnt serve the purpose as it cannot update confirmations.
    I tried using ME_CONFIRMATION_UPDATE where I was able to add a confirmation entry in EKES table but that is not being reflected in ME23N transaction when I display the PO.
    Please help me out on this.
    Thanks & Regards
    Pavan

    NB: Never use a standard update FM (check attributes of ME_CONFIRMATION_UPDATE) its often only a SQL statement collector without any check, logging of changes or database consistency, if you perform a where-used you should find it is never called alone but with a bunch of other update FM after checks and other update preparation.
    Get back to the BAPI and table parameter POCONFIRMATION, also use BAPI_PO_GETDETAIL1 to get current data for the call of BAPI_PO_CHANGE.
    Regards,
    Raymond
    PS: If it is not in 197958 - BAPIs for purchase orders: Missing functions, you should be able to do it

  • SD Customer Contract and MM Purchase Contract

    Good day
    I need to know if anyone has a solution on forming a relationship between these documents, and be able to report at item level for example Item x bought at $10 in the Purchase contract and sold at $15 in the Sales Contract. We need to form such a relationship between these contracts so we can report and compare line items.
    Regards,
    Iggy

    I had similar requirement and used Purchase Order Header field 'Collective No' EKKO-SUBMI and put the Contract number in there. Then I used BADI ME_PROCESS_PO_CUST to do the budget check. I configured a new Contract Doc type and New PO Document type (with field selection requiring entry for EKKO-SUBMI) to provide more control. You will also want to create a custom report that lists the run rate/burn of the contract.
    Other considerations
    1) When the check fails, do you want error or warning ? we programmed it to be changeable via a ztable entry.
    2) do you want to do any date checking of the PO header date(s) and the Contract validity date ?
    3) do you want to check / verfiy the Purchasing organization of the Contract vs the PO ?
    Sorry its late !

  • Tables for Purchase contract Tax pricing

    Hi ,
         I want to display purchase contract detail in the standard layout.
    For Displaying pricing we need the Document condition number of the contract.
    Normally in Purchase order pricing document number is in EKKO table and field name is KNUMV.
    In same procedure i search for Contract pricing but am not able to find the pricing document number table and the pricing table.
    Please guide me how can we pick the pricing values from purchase contract.
    what is the tables for purchase contract  Tax pricing ?
    Regards,
    Madhan  - Chennai .

    hii,
         it is
                   KONH                                    Conditions header
                    KONP                                    Conditions items
                    KONV                                    Procedure ( billing doc or sales order)
                    KOND
                          VEDA                                     Contract data
    regards,
    Shweta

Maybe you are looking for

  • Jabber for Windows On Premise Webex Integration

    Hi, I just upgraded to 9.0.4 and am having an issue integrating Webex into Jabber.  Our Webex meeting center site is SSO enabled.  In jabber, when I attempt to setup my meetings account I get the below message: I've tried clicking the edit button and

  • Apple ID Question/problems

    Ok, i'm sure by now this quesiton or questions like it have been asked adnausium, i'm quite sorry but i simply don't have the time, or patience to sift through possible answers or try to find similar situations. here is the lowdown, i have two apple

  • Material Ledger for Stock Transfer Postings

    Hi All, I have a question about the way material ledger is calculated for stock transfer postings (movement type 641). I will give an example to illustrate this issue: Material A has a Standard cost of $10 Material B has a Standard cost of $8 During

  • Hyper-sensitive sleep/wake switch

    Whenever the s/w switch is set to wake, touching the upper third of the phone has the same effect of flicking the switch off then on very quickly, making it vibrate and flashing the bell/crossed out bell images, even vibrating even if the screen isnt

  • After call summary messages

    Dear Apple Customer Care I am using iphone4, guide me how to stop after call summary messages. it is eating up my battery lifte in data