FM to create contracts

Hi,
Is there a FM or BAPI to create contracts (VA41). We don't want to create a batch-input to transaction VA41.
Thanks.
Carlos.

I think you can create contracts using BAPI_SALESDOCU_CREATEFROMDATA1.
Cheers
( Dont forget to reward if answers were helpful )

Similar Messages

  • Possible to change the business Partner from a created Contract in ICWEB??

    Hello experts,
    I would like to know if it is posible to change the BP from a created contract in ICWEB.
    I check the option "CONTRACT MANAGMENT" and there is an option to change the premise with the button "Move To Other Premise" but I don't find an option to change the Business Partner from a created contract.
    Can you help me, please??
    Thank in advance.
    Edited by: Javier Garcia on Aug 19, 2008 7:01 PM

    Hello S Reddy and a lot of thanks for your help.
    But I don't know where I can select this option, there isn't the  where I can associate the option in customizing or what transaction. Could you explain me with more details, please ??
    Thanks in advance.
    Regards.

  • Error in using IDOC create contract

    Hi experts,
                   I am using standard IDOC BLAORD03 to create contract,but comes across error 'Enter purchase group' as Purchase group is a mandatory filed,but in my IDOC i have value in EKGRP which is Purchase group,I look into FM IDOC_INPUT_BLAORD and found it is using BDC to update data,but EKGRP is not filled into bdc table, then how can I resolve this issue?

    For each SAP GUI screen for contract creation, the BDC data is generated with a user exit. If you look into FORM blaord_fill_batch_input_table (called in FM IDOC_INPUT_BLAORD), you will see calls to user exits, e.g. "PERFORM user_exit_003_call". Those are the exits you can implement to fill out data, such as purchasing group, that is not filled by standard codes.

  • Popup : OrgUnit doesn't exist. while creating Contract in SRM 7.0

    Hi Experts,
    I am using Extended classic senario and upgraded from SRM5.0 to SRM7.0.
    While creating Contract I am getting popu : OrgUnit doesn't exist. This error is not stopping to create contract.
    How to remove this error popup? please suggest.
    Reg,
    Rajesh.

    Hi Rajesh,
    I am also getting the same message  while creating a contract in SRM 7.0.
    we have upgraded from SRM 5.0 to SRM 7.0
    Whether you have raised any OSS message
    Regards
    G.Ganesh Kumar

  • Best Practice while creating Contract, Purchase Requisition, Purchase Order

    Hi
    What is the best practice with respect to Contract & Purchase Requisition?
    IN T Code ME31K, there is a button Reference to PReq, meaning that we can create contract with using Purchase Requisition. (We have done the same)
    While creating the Purchase Order using Contract, we could find Purchase Requisition reference in the Purchase Order; similarly when we created the Purchase Order using Purchase Requisition, we could find Contract reference in the Purchase Order.
    I have done the following:
    1. Create a Contract.
    2. Create a Purchase Requisition
    3. Assign Requisition and Create Purchase Order using T Code ME57.
    4. Create Purchase Order
    Here in this case we could find references of both Contract & Purchase Requisition.
    I just want to know what Practice should we adopt / advise while creating Contract, Purchase Requisition. & Purchase Order?
    Regards,

    Hi,
    In ME51N Screen, enter Contract number in the "AGREEMENT" TAB and if more items in the contract, you can mention the item number in the next TAB to the AGREEMENT TAB and then proceed with creating PR by entering other details. This TAB you can find in the 4th column from extreme right end of PR screen.
    Regards,
    Biju K
    Edited by: Bijay Kumar Barik on Sep 10, 2009 2:23 PM

  • Ways of creating contract and process flow of contracts

    hi friends
    ways of creating contract and process flow of contracts
    thanks for ur help
    regards
    krishna

    hi,
    In the MM Purchasing component, a contract is a type of outline purchase agreement against which release orders (releases) can be issued for agreed materials or services as and when required during a certain overall time-frame.
    Contracts can take the following forms:
    Quantity contracts
    Use this type of contract if the total quantity to be ordered during the validity period of the contract is known in advance. The contract is regarded as fulfilled when release orders totaling a given quantity have been issued.
    Value contracts
    Use this type of contract if the total value of all release orders issued against the contract is not to exceed a certain predefined value. The contract is regarded as fulfilled when release orders totaling a given value have been issued.
    You can also set up corporate buying contracts with your vendors. These are valid for all plants and company codes within a client (see Centrally Agreed Contract).
    You can create a contract as follows:
    Manually
    You enter all data relating to the contract manually.
    Using the referencing technique
    As reference document (the document you copy from), you can use:
    Purchase requisitions
    RFQs/quotations
    Other contracts
    CREATION OF CONTRACT MANUALLY:
    Choose Outline agreement --> Contract --> Create(ME31K)
    The initial screen appears.
    Enter the necessary data. If you make any specifications under the group heading Default data, this data will appear as the default data in each item.
    In the Agreement type field, specify whether you are creating a quantity or value contract, for example.
    Press ENTER .
    The header data screen appears.
    Enter the contract validity period. Check the other fields on this screen and make any necessary changes (e.g. the terms of payment) and define the header conditions.
    Press ENTER .
    The item overview screen appears.
    On this screen, enter the information for each item (material number, target quantity, price, receiving plant, or account assignment, etc.) using the same procedure as with purchase orders.
    Material without a master record: leave the field for the material number empty and enter the following:
    u2013 Short description of the relevant material or service in the Short text field
    u2013 Material group to which the material belongs, in the Material group field
    u2013 Account assignment category
    You can enter u (unknown) or the category of an account assignment.
    u2013 The target quantity and the order unit
    If you specify an account assignment category other than U (field A), you must enter the relevant account assignment data for the item. To do so, choose Item ® Account assignments (see also Account Assignment).
    If necessary, review the details for each item. Select the item(s) to review. Then select Item -> Details.
    Enter the desired conditions.
    Enter further text for the item if any additional instructions to the vendor or Goods Receiving are necessary. Choose Item -> Texts -> Text overview.
    Save the contract.
    Hope it helps..
    Regards
    Priyanka.P
    AWARD IF HELPFULL
    Edited by: Priyanka Paltanwale on Aug 25, 2008 7:20 AM

  • Can't Create Contract From RFx Response (SAP SRM 7.0)

    Dear Expert,
    Could you help me,
    i have create rfx, response the rfx and accepted the rfx response.
    After i have accepted that RFx, i would like to make a contract from this RFx response. Via menu Create Contract.
    But this error is show up.
    Error application is coming up.
    20111020
    RHESAS
    093450
    sapgsd
    http://sapgsd.garuda-indonesia.com:8011/sap/bc/webdynpro/sapsrm/wda_l_fpm_oif
    OBJECTS_OBJREF_NOT_ASSIGNED
    Access via 'NULL' object reference not possible.
    Method: PST95E57RQRHC49FBLT5QTJBJT9Z of program /1BCWDY/NC67WCWB50U4IGZ40GZ1==CP
    Method: IF_WDR_VIEW_DELEGATE~WD_DO_MODIFY_VIEW of program /1BCWDY/NC67WCWB50U4IGZ40GZ1==CP
    Method: DO_MODIFY_VIEW of program CL_WDR_DELEGATING_VIEW========CP
    Method: MODIFY_VIEW of program CL_WDR_VIEW===================CP
    Method: DO_MODIFY_VIEW of program CL_WDR_CLIENT_COMPONENT=======CP
    Method: DO_MODIFY_VIEW of program CL_WDR_WINDOW_PHASE_MODEL=====CP
    Method: PROCESS_REQUEST of program CL_WDR_WINDOW_PHASE_MODEL=====CP
    Method: PROCESS_REQUEST of program CL_WDR_WINDOW=================CP
    Method: EXECUTE of program CL_WDR_MAIN_TASK==============CP
    Method: IF_WDR_RUNTIME~EXECUTE of program CL_WDR_MAIN_TASK==============CP
    http://sapgsd.garuda-indonesia.com:8011/sap/bc/webdynpro/sapsrm/wda_l_fpm
    Do you have any idea to solve this issue?
    (we are activate Procurement for Public Sector Functions )
    Regards,
    Rhesa Syahrial

    Hi All,
    I have solved this issue.
    I missed the configuration in Partner Grouping schema ID.
    Regards,
    Rhesa Syahrial

  • Program to create contract in SRM

    Hi All,
    Iam trying to create contract in SRM using the FM  BBP_PD_CTR_CREATE
    iam getting the below errors
    06.06.2014 11.06.2014
    Interface data contains errors
    Interface data contains errors
    Enter at least one item
    Enter exactly one partner of type Responsible Employee
    Enter exactly one partner of type Supplier
    Incorrect interface data for set #3 in method C
    Incorrect interface data for set #4 in method C
    Incorrect interface data for set #5 in method C
    Incorrect interface data for set #6 in method C
    Incorrect interface data for set 21 in method C
    Incorrect interface data for set 34 in method C
    Incorrect interface data for set 35 in method C
    Incorrect interface data for set 61 in method C
    Incorrect interface data for set 77 in method C
    Incorrect interface data for set 78 in method C
    can anybody help to resolve the above errors i might be giving inputs for the above FM wrong. if anypne of you faced above similar errors and resolve.
    Please help me to resolve the same.

    Hello Valhalla,
    Try this way:
    BAPI_USER_CREATE1 is remote enabled so you can create RFC destination for the all the system
    you want to create users.
    Load all the rfc destination in one table.
    Load all the users need to be created in one table.
    Loop at rfc_dest_tab.
        loop at users_tab.
             CALL FUNCTION 'BAPI_USER_CREATE1' DESTINATION rfc_dest_tab-RFC_DESTINATION
      EXPORTING
        USERNAME         =  users_tab-USERNAME
      NAME_IN          =
        LOGONDATA        =
        PASSWORD         =
      DEFAULTS         =
        ADDRESS          =
      COMPANY          =
      SNC              =
      REF_USER         =
      ALIAS            =
      EX_ADDRESS       =
      UCLASS           =
    TABLES
      PARAMETER        =
      RETURN           =
      ADDTEL           =
      ADDFAX           =
      ADDTTX           =
      ADDTLX           =
      ADDSMTP          =
      ADDRML           =
      ADDX400          =
      ADDRFC           =
      ADDPRT           =
      ADDSSF           =
      ADDURI           =
      ADDPAG           =
      ADDCOMREM        =
      GROUPS           =
      PARAMETER1       =
      EXTIDHEAD        =
      EXTIDPART        =         .
    ENDLOOP.
    ENDLOOP.
    This will create required user in remote SAP systems.
    Hope this solves your issue!
    Thanks,
    Augustin.
    Edited by: Augustarian on Aug 22, 2009 11:52 AM
    Edited by: Augustarian on Aug 22, 2009 11:52 AM

  • How to create Contract or Move-in using Function module

    Hello Gurus,
    I'm looking for a way to create contract(Move-in) using Function module.
    Please help me out...
    Thanks in advance,
    Rajesh

    Hi Rajesh,
    Please try this: BAPI_ISUMOVEIN_CREATEFROMDATA
    Regards,
    S

  • Problem when creating contract  with foreign trade / customs

    Hi,
    I encountered a problem when creating contract / outline agreement.
    I used ME31K to create a contract with a vendor outside of our country. I suppose that I should be able to see "Foreign Trade / Customs" in "Header" menu, but this entry is gray, I cannot enter it.
    I tried to create a scheduling agreement using ME31L with the same vendor and material, I can see "Foreign Trade / Customs" information. I suppose these two process are similar, aren't they?
    Btw., I checked the master data according to this thread:
    http://help.sap.com/saphelp_46c/helpdata/en/ed/3b6cc697e711d1b4e20000e82d81b0/content.htm
    Can anyone give me some hint?
    Thanks!
    Charlie

    These two processes are different:
    The Contract agreement or the Outline Agreement is that create the centrally contract (cross-plant) where it can maintain different pricing conditions for each and every plant. It creates the Release Order with reference to Outline Agreement. No detailed delivery schedule can be made in the Release Order. No Release documentation is created. Only time-dependent conditions can be created, Some Item Category 'M' and 'W' can be used.
    Whereas the Scheduling Agreement is the Plant Location what must be entered in the Scheduling Agreement. Its no need to create any other purchasing document except for delivery schedule line via Transaction ME38 or MRP running (with the appropriate setting of Source List). Delivery Schedule line items are created subject to your specific requirement. It can create both Scheduling Agreement with or without release of Documentation (subject to the Document Type LP or LPA) with the selection of either FRC or JIT delivery schedule. Either time-dependent or time-independent conditions can be created subject to the customizing in the Document Type of the Scheduling Agreement. Item Category 'M' and 'W' can not be used.

  • Unable to Create Contract Templates In Other Business Units In Fusion Contract Management

    Hi All.
    I am working on Fusion PPM Release 9.
    I Have set Profile Options HZ_DEFAULT_BU_CRM to SH-Business Unit & HZ_ENABLE_MULTIPLE_BU_CRM to Yes in task Manage Administrator Profile Values.
    But LOV is showing only SH-Business Unit. I am not able to get other Business Units In LOV & Not able to create contract Template.
    Any help regarding above issue is Appreciable 
    Thanks
    Shaan

    Hi Vara,
    Check the basic settings for Student Contract accounting. Are you using "Create RFC Destination for Automatic Creation and Update" functionality? Please check that whether you have maintained any RFC or not. If yes, then remove that.
    The automatic creation function causes the system to automatically create a student account with the account-specific master data when it creates student master data. Check this in SAP_CM_ACCOUNT_DATA_UPDATE.
    The automatic update function causes the system to automatically update the relevant account data when it updates account-specific student master data.
    You can activate and deactivate the automatic creation and change function. You make this setting in the IMG activity (De)Activate Automatic Student Account Creation and Update.
    Regards
    Vinod Kumar

  • Creating contract reference with Quotation - using bapi or fm

    Hi Friends
    Currently I am creating contract using function module sd_saleorder_create function module.But as per new requirement we have to create contract referenced with quotation number.
    Please suggest the suitable bapi or function module.if you suggest some thing ..kindly let me know?
    how to create contract referenced with particular line item in the quotation.
    where I need to pass the referenced line items...if you need any inputs..will reply by tomorrow...
    thanks
    Gowrishankar

    gowrishankar p wrote:
    Hi Friends
    >
    > Currently I am creating contract using function module sd_saleorder_create function module.But as per new requirement we have to create contract referenced with quotation number.
    >
    > Please suggest the suitable bapi or function module.if you suggest some thing ..kindly let me know?
    >
    > how to create contract referenced with particular line item in the quotation.
    >
    > where I need to pass the referenced line items...if you need any inputs..will reply by tomorrow...
    >
    > thanks
    > Gowrishankar
    is it really SD_SALEORDER_CREATE? if yes, which version are you in?
    Have you thought about 'BAPI_CONTRACT_CREATEFROMDATA'. Documentation available for this bapi.
    If not, just an FYI, REF_DOC field in (BAPISDHD1) -Contract_header_in structure can be used to pass the ref document and check for the type. You will also need to pass the type for this ref_doc.
    Assuming you have the configuration in place already.
    Search forum for this BAPI to get the sample code.

  • Creating contract with service line items

    Hi,
    My requirement is to create contract with multiple service line item. The issue is my system is ECC5 so i don't have BAPIS like BAPI_CONTRACT_CREATE or BAPI_SERVICE_CREATE .How do we achieve this without writing a bdc. Do we have any equivalent bapi in ECC5.

    Hi,
    Check this Fm BAPI_CONTRACT_CREATEFROMDATA

  • BAPI Create Contract Account in Module PSCD

    Hi all,
    I have a requirement create Contract Account (TCode CAA1) in module PSCD by BAPI.
    I use BAPI : BAPI_CTRACCONTRACTACCOUNT_CR1.
    I set value for some required parameters and Perform BAPI, i receive 2 error messages in RETURN parameter :
    - Enter a value in field Account Determ. ID
    - Enter a value in field Payment Terms
    I don't know where to set value for Account Determ.ID and Payment Terms in BAPI.
    I searched description of BAPI parameters but there is no BAPI parameter suitable.
    I also searched on this forum but no topic found.
    Pls help,
    Thank.
    nvsinh.

    Hi all,
    The problem is solved.
    The proplem comes from release version of ECC6.
    Thanks all,
    Sinhto

  • Classic scenario, where to create Contract and product category

    Hello All,
    We are using SRM4.0 ( Classic scenario) with non-sap backend system.
    We need to attach contract in Shopping cart in SRM.
      My questions are:
    1. In which system ( EBP or non-sap backed),  we need to create contract?  and how to create it?
    2. In which system( EBP or non-sap backend), we need to define product or product category? and how to create it?
    Regards
    Neelesh

    Neelesh
    When you replicate product categories from any backend system, they get created in SRM and update the value of logical system with the backend from which it replicated.
    You can only create Product category in standalone. You can try to create the same for classic but maintain log syst value with the correct backend. This is not advisable.
    PS : Reward points if helpful.
    Regards
    Jagadish

  • Create Contract in Backend System

    Hi Experts,
    I need to implement the method CONTRACT_LOGSYS_DETERMINE (on the BADI BBP_DETERMINE_LOGSYS) setting the logical system to create Contracts in the Backend system.
    But, I want to found this value (CV_LOGSYS) dinamically, without need to put the local system on the code (CV_LOGSYS = AABBCCC111).
    Can anyone help me with this???
    Thank you!
    Best Regards,
    Luciana

    Hi,
    Pls refer to following links for sample code ->
    Re: Status distribution incorrect in GOA
    Re: Distribution of GOA in R/3
    Re: GOA Distribution SRM 5.0-ECC 6.0 - Account Category & Multiple Distribution
    Re: Source determination in backend (R/3) for distributed contract i.e. GOA
    FM or BADI s' used to create a GOA
    BR,
    Disha.
    Do reward full points for useful answers and close the thread if your query is answered.

Maybe you are looking for

  • Problem with dynamic change a page item value

    Hi, I'm trying to dynamically calculated the value of an item based on a simple formula that involves the multiplication of two elements from the same page. To do this, create dynamic action as follows: Event: Change Selection Type: Item(s) Item(s):

  • Including a resource file in java

    hello all, I am new to java and the question I m asking may be quite basic. I have developed an application which is using a .jpg image file. In the code I m accessing the image by only specifying the name of the file (LoadFile("image.jpg")); instead

  • Line Break in Java for writing to a file

    Hi I am writing some data from excel sheet to a text file. I am using POI for reading the data from excel sheets. Whenever i encounter a value in the cell i want to add it to the text file.. this works fine But when its a new row(in excel sheet), i w

  • Input/Output error message when uploading a DVD to copy.

    Hi All, I have been getting this message "Unable to Create: input/output error." when trying to upload a dvd to burn using Disk Utility . At first I thought it was a problem with the disc so I had a friend of my send me another copy. This was 2 discs

  • Commas are coming in place of decimals in values

    Hi, How to correct the decimal places and commas in values. Currently commas are coming in places of decimal and vice versa. Regards Gaurav Jain