Creating Central Contract using Reference Purchasing Org

Hi,
We are using two type of purchasing organization:
a.Global Purchasing Organization - It is not assigned to any company code or plant.
b.Country Purchasing organization u2013 It is assigned to Global Purchasing Organization. This cross-plant country specific purchasing organization is to procure materials for several plants independent to a company code. We have assigned the purchasing organization to the plant and not to a specific company code.
Global purchasing organization has been setup a reference purchasing organization to be able to create central contracts that is independent of company code and plant.
However whenever we create the central contract using the reference purchasing organization, the system will not proceed unless we define a company code. Please let me know how we can avoid the Pop up message u201CThe Purchasing organization XXXX has not been assigned to a company code. Please enter a company code.u201D
Please note that neither Global nor Country purchasing organization is assigned to company code. The company code will be determined only from Plant.
Please help.
Regards,
AG

Hi.
In your case, both the Purchase organizations ( Global Purchase Organization & Country Purchase Organization ) are not assigned to the company code. But Country Purchase Organization is assigned to the plants from the different company codes and Global Purchase Organization is not assigned to any plant also.
In this case, If you are creating central contract with the Global Purchase Organization , you will get error. Becuase Global Purchase Organization is not assigned to any company code or plant.
If you are creating central contract with the Country Purchase Organization, system will allow. Because this purchase organization is assigned to the plants from the different company codes. Based on this plant, system will identify company code.
So, conclusion is Purchase organization is must be assgined to the plants. This setting is mandatory in order to indentify company code which is giving in the Purchase document. But the assignment of company code to the purchase organization is optional.
So, assign plants to the Global Purchase Organization and try to create central contracts. It will work.
Regards
KRK

Similar Messages

  • Contract with Reference Purchase requisition

    Hi experts,
    i created one pr from project system , pr quntity  1000 ea , i created quantity contract with reference to pr, quntity contract quantity is equal to pr quantity,now i am creating another contract with reference to same pr but i am not getting
    any warning and error message like already contract exits for this pr, is any option  to get error message when i am creating second contract.
    regards
    G.vijay kumar

    Hi
    Kindly check following any one of the message would works.
    Materials Management > Purchasing > Environment Data > Define Attributes of System Messages
    06     042     Target value of contract & exceeded by & &
    06     060     Document type/item category &/& (PReq) <-> &/& (contract)
    06     106     No requisition items selectable for contract type &1 item category &2
    You need to set error or warning message:
    Regards
    Shrinivas

  • Standard and Reference Purchasing Org

    What is the difference between standard and Reference purchasing organization?
    In which scenario  it is used?
    Regards,
    Komal

    Dear Komal,
    Please find difference of both these term & its application in simple manner.
    A) Reference Purchase Organization( Also called as Central Pur Org.)
    1)Used to map cross purchasing organization procurement transaction
    2) Possible to use other purchasing organization to use conditions of this Purchase Organization
    3) Allow to access contract
    4) In customizing you can configure which data ( i.e. contract or conditions ) a purchasing organization can access
    5) a multilevel reference relationship is not possible
    6) Purchasing Info record for central Purchasing organization must exist.
    7) This is normally at client level.
    B) Standard Purchase Organization:
    1) If a plant is having more than one purchasing organization , one of the purchasing organization  is designated as standard Purchase Organization.
    2)It is used for Transaction of pipeline material , Consignment material or stock transfer orders.
    3) In source determination system automatically pulls this Purchase Organization
    4) For goods issue Purchasing Info record of standard Purchase Organization is used.
    5) Standard Purchase Organization info record is used for auto PO generation during GR
    I thinks this will clear your concept.
    If useful reward points,
    Vivek Maitra

  • Reference Purchasing Org??

    Hi All,
    We have two plants 0721 and 0722 for the same company code. I have assigned Purchasing org 0721 to plant 0721 and Pur org 0722 to plant 0722.
    Also I have assigned 0721 as the reference purchasing organization for purchasing org 0722 in the config.
    I have created a contract (with no plant assignment) for purchasing org 0721 which is the reference purchasing organization.
    Now when I try to create a new PO using this contract for plant 0722 and purchasing org 0722 I get an error message as "Contract has different purchasing organization 0721". 
    But this error should not have been there as I have maintained purchasing org 0721 as reference pur org for 0722.
    Am I missing something here......
    Regards,
    V S

    Hi,
    1. Did you get error message or warning message?
    2. Is 0722 in T024Z-EKORG and 0721 in T024Z-EKORZ?
    Regards,
    Csaba

  • Create Central Contract from Requisition

    Dear SAPers,
    Is there anyway I could do this: I want to create centrally-agreed contract with reference from PR/RFQ.
    Yes, I know that..
    - I cannot change nor delete the plant in contract
    - The plant data is locked during contract creation (if using PR reference)
    I've been explaining this to my client, but they still want to create contract from PR (plant specific), that can be released to many plants.
    In standar SAP process, I know this requirement cannot be made. But..
    - Is there any custom I can make?
    - Can I override the error message (plant doesn't match with contract) at PO creation?
    - If can override it (which I can't. I tried to cange it in SPRO purchasing message setting), is there any effect? (in accounting, maybe?)
    Please share your comments.
    Thanks,
    Bayu

    Hi,
    Please check the below link
    [http://help.sap.com/saphelp_470/helpdata/en/75/ee0f0c55c811d189900000e8322d00/content.htm]
    Hope it will be useful.
    Thanks & Regards,

  • How to create a Contract with reference to a Sales-Order(VA01) with a BAPI

    Hi,
    my name is Wadim and i need help.
    My problem:
    I am creating a sales-order(VA01) with the BAPI 'BAPI_SALESORDER_CREATEFROMDAT2'.
    After that i have to create a contract(VA41) with reference to this order. I found the BAPI "BAPI_CONTRACT_CREATEFROMDATA" and it has the same interfaceparameters like the salesorder-bapi. but there are no parameters to get a connection to the sales-order.
    Is it even possible to get a connection to a sales-order with a bapi???
    thanks for help
    regards mark
    Edited by: Krapp Wadim on May 20, 2010 9:19 PM

    Hi Wadim,
    I have a similar requirement to create order lines in an existing contract with reference using  BAPI_CUSTOMERCONTRACT_CHANGE.  The order lines get created in the contract. However, the condition types from the order line which i'm referencing are not getting referenced and are not getting added in the Contract's line after referencing.
    Did you come across any such issue ? If yes , could you suggest the solution ?
    Regards,
    Venkat.

  • IDOC - create SD Contract from a Purchase Order

    Hi,
    I need to know if exist an IDOCs to create a SD Contract from a Purchase Order and another IDOC to change a Purchase Order from a SD Contract.
    Regards,

    Hi again,
    1. PO will create ORDERS IDOC this is SAP Standard.
    2. ORDERS IDOC will be send
    3. IDOC Segment E1EDK14 qualifier 12 contains the order type. A contract is also a type of sales order. So we need to get the correct order type in the segment. One option is using the userexit proposed earlier another and even easier is asking the XI colleagues to do the change already in XI.
    4. During Inbound processing the contract will now be created.
    http://help.sap.com/saphelp_erp2004/helpdata/en/cf/ab3827940311d295e600a0c9306667/frameset.htm
    You will send a ORDRSP from your Contract (I made a mistake earlier and said ORDCHG this would be the update of the contract from the PO...)
    I think you will need to worry to much of the ORDRSP on the SD side as in fact the IDOC does not care if it is send from order or from a contract.
    Depending on your configuration in MM it will update the PO.
    http://help.sap.com/saphelp_erp2004/helpdata/en/1c/deffb0844f11d2b471006094b9476a/frameset.htm
    Bascally in regards to quantity you will need to do more on the MM side because usually it is not expected that the Vendor is chnaging quantities etc... So it is still possible:
    http://help.sap.com/saphelp_erp2004/helpdata/en/1c/deffb0844f11d2b471006094b9476a/frameset.htm
    By the way we are having the scenario with the contract in our SAP sending ORDRSP and ORDCHG for contracts and it is working fine.
    Hope it helps.

  • How to creating Service Contract using BAPI_SLSTRANSACT_CREATEMULTI

    Hi,
    In my requirement, I have to create a Service Contract from flat file by using BAPI - BAPI_SLSTRANSACT_CREATEMULTI  and data which are comming from flat files are, Serial number, Sold-to party, Ship-to party, Installation date, Contract start date, Contract end date, Service profile, Response profile.
    Please suggest me what are the Import parameters should I pass in this BAPI to create Service Contract?
    Thanks in Advance,
    Deepesh

    Hi All,
    for everybody's benefit (and to avoid you the time I've spent to work this out...), here is a working example on how to create an sales order (TA) via the BAPI_SLSTRANSACT_CREATEMULTI.
    Not really a Service Contract, but it tells you how to call the BAPI.
    Points appreciated, if you find this helpful...
    I use the convention entryField for the values that should be set based on your system.
    Cheers
    G
    *& Report  ZZGVBAPISALESORDER
    REPORT  ZZGVBAPISALESORDER.
    include constants
    include crm_direct.
    // GUIDs
    data: lv_guid_h       type GUID_32,
          lv_guid_i       type GUID_32,
          lv_guid_sl      type GUID_32,
          lv_guid_p       type GUID_32.
    // Handles
    data: lv_current_handle type crmt_handle,
          lv_handle_h      type crmt_handle,
          lv_handle_i      type crmt_handle,
          lv_handle_sl     type crmt_handle,
          lv_handle_p      type crmt_handle.
    // Administration header + item + etc
    data: lt_salesorder_header type table of bapibus20001_header_ins,
          ls_salesorder_header type bapibus20001_header_ins,
          lt_salesorder_item   type table of bapibus20001_item,
          ls_salesorder_item   type bapibus20001_item,
          lt_scheduleline      type table of BAPIBUS20001_SCHEDLIN,
          ls_scheduleline      type BAPIBUS20001_SCHEDLIN,
          lt_partner           type table of BAPIBUS20001_PARTNER_INS,
          ls_partner           type BAPIBUS20001_PARTNER_INS,
          ls_logical_key       TYPE crmt_partner_logic_partner_key,
          lt_organisation      type table of BAPIBUS20001_ORGMAN_INS,
          ls_organisation      type BAPIBUS20001_ORGMAN_INS.
    // Saved sales orders
    data: lt_saved_process type table of bapibus20001_object_id,
          ls_saved_process type bapibus20001_object_id,
          ls_salesorder    type CRMT_RETURN_OBJECTS_STRUC.
    data: lt_input_fields type table of bapibus20001_input_fields,
          ls_input_fields type bapibus20001_input_fields,
          lt_return type table of bapiret2,
          ls_return type bapiret2.
    // Macro definition to populate structure and input field
    This, called as
    setfield ls_salesorder_header GUID lv_guid_h
    is exploded as
    ls_salesorder_header-GUID = lv_guid_h.
    ls_input_fields-fieldname = 'GUID'.
    append ls_input_fields to lt_input_fields.
    Note 1: &2 (field name) MUST be uppercase
    Note 2: for the salesorder header, I haven't used the macro,
    to show how the code should look.
    I've used the macro everywhere else.
    define setfield.
      &1-&2          = &3.
      ls_input_fields-fieldname  = '&2'.
      append ls_input_fields to lt_input_fields.
    end-of-definition.
    // end of macro definition
      // fill order administration header
    perform get_guid changing lv_guid_h.
    add 1 to lv_handle_h.
    ls_salesorder_header-guid          = lv_guid_h.
    ls_salesorder_header-handle        = lv_handle_h.
    ls_salesorder_header-process_type  = 'TA'.
    clear ls_input_fields.
    ls_input_fields-ref_handle = lv_handle_h.
    ls_input_fields-ref_guid = lv_guid_h.
    *ls_input_fields-ref_kind   = gc_object_ref_kind-orderadm_h.
    ls_input_fields-objectname = gc_object_name-orderadm_h.
    ls_input_fields-fieldname  = 'GUID'.
    append ls_input_fields to lt_input_fields.
    ls_input_fields-fieldname  = 'HANDLE'.
    append ls_input_fields to lt_input_fields.
    ls_input_fields-fieldname  = 'PROCESS_TYPE'.
    append ls_input_fields to lt_input_fields.
    append ls_salesorder_header to lt_salesorder_header.
      // fill organisation data (I needed this, you may rely on
    sales org determination instead...)
    clear ls_input_fields.
    ls_input_fields-ref_handle  = lv_handle_h.
    ls_input_fields-ref_guid    = lv_guid_h.
    ls_input_fields-ref_kind    = gc_object_ref_kind-orderadm_h.
    ls_input_fields-objectname  = gc_object_name-orgman.
    setfield ls_organisation REF_GUID lv_guid_h.
    setfield ls_organisation REF_HANDLE lv_handle_h.
    setfield ls_organisation REF_KIND gc_object_ref_kind-orderadm_h.
    setfield ls_organisation SALES_ORG_RESP salesOrgResp(input).
    setfield ls_organisation SALES_ORG salesOrg(input).
    setfield ls_organisation DIS_CHANNEL disChannel(input).
    append ls_organisation to lt_organisation.
      // fill order administration item
    perform get_guid changing lv_guid_i.
    lv_handle_i = lv_handle_h.
    add 1 to lv_handle_i.
    clear ls_input_fields.
    ls_input_fields-ref_guid   = lv_guid_i.
    ls_input_fields-ref_handle  = lv_handle_i.
    *ls_input_fields-ref_kind   = gc_object_ref_kind-orderadm_i.
    ls_input_fields-objectname = gc_object_name-orderadm_i.
    setfield ls_salesorder_item GUID lv_guid_i.
    setfield ls_salesorder_item HEADER lv_guid_h.
    setfield ls_salesorder_item HANDLE lv_handle_i.
    setfield ls_salesorder_item HEADER_HANDLE lv_handle_h.
    setfield ls_salesorder_item ORDERED_PROD product(input).
    *_set_field ls_salesorder_item ITM_TYPE 'TAN'.
    setfield ls_salesorder_item MODE 'A'.
    *adjustment taken from standard include LCMS_MAPPERF04
    *(see where-used-list for BAPI_SLSTRANSACT_CREATEMULTI, program LCMS_MAPPERU11)
    delete lt_input_fields where fieldname = 'HANDLE'
                                    OR
                                 fieldname = 'HEADER_HANDLE'.
    append ls_salesorder_item to lt_salesorder_item.
      // fill schedule line for item
    perform get_guid changing lv_guid_sl.
    add 1 to lv_handle_sl.
    clear ls_input_fields.
    ls_input_fields-ref_guid   = lv_guid_i.
    ls_input_fields-ref_handle  = lv_handle_i.
    ls_input_fields-ref_kind   = gc_object_ref_kind-orderadm_i.
    ls_input_fields-objectname = gc_object_name-schedlin.
    setfield ls_scheduleline ITEM_GUID lv_guid_i.
    setfield ls_scheduleline GUID lv_guid_sl.
    setfield ls_scheduleline HANDLE lv_handle_sl.
    setfield ls_scheduleline ITEM_HANDLE lv_handle_i.
    setfield ls_scheduleline QUANTITY '1.000'.
    append ls_scheduleline to lt_scheduleline.
      // fill partner line
    *perform get_guid changing lv_guid_p.
    *the partner use the logical key as well
    ls_logical_key-ref_partner_handle = '0001'.
    clear ls_input_fields.
    ls_input_fields-ref_guid   = lv_guid_h.
    ls_input_fields-ref_handle = lv_handle_h.
    ls_input_fields-ref_kind   = gc_object_ref_kind-orderadm_h.
    ls_input_fields-objectname = gc_object_name-partner.
    ls_input_fields-logical_key = ls_logical_key.
    setfield ls_partner REF_GUID lv_guid_h.
    setfield ls_partner REF_HANDLE lv_handle_h.
    setfield ls_partner REF_KIND gc_object_ref_kind-orderadm_h.
    setfield ls_partner REF_PARTNER_HANDLE '0001'.
    setfield ls_partner KIND_OF_ENTRY 'C'.
    setfield ls_partner PARTNER_FCT '00000001'.
    setfield ls_partner PARTNER_NO bpNumber(input).
    setfield ls_partner NO_TYPE 'BP'.
    setfield ls_partner DISPLAY_TYPE 'BP'.
    move-corresponding ls_partner to ls_logical_key.
    append ls_partner to lt_partner.
    //  example of a second partner function (custom) with data
        override
    ls_logical_key-ref_partner_handle = '0002'.
    clear ls_input_fields.
    ls_input_fields-ref_guid   = lv_guid_h.
    ls_input_fields-ref_handle = lv_handle_h.
    ls_input_fields-ref_kind   = gc_object_ref_kind-orderadm_h.
    ls_input_fields-objectname = gc_object_name-partner.
    ls_input_fields-logical_key = ls_logical_key.
    setfield ls_partner REF_GUID lv_guid_h.
    setfield ls_partner REF_HANDLE lv_handle_h.
    setfield ls_partner REF_KIND gc_object_ref_kind-orderadm_h.
    setfield ls_partner REF_PARTNER_HANDLE '0002'.
    setfield ls_partner KIND_OF_ENTRY 'B'.            "manual entry...
    setfield ls_partner PARTNER_FCT customFct(input).
    setfield ls_partner PARTNER_NO bpNumber(input).
    setfield ls_partner NO_TYPE 'BP'.
    setfield ls_partner DISPLAY_TYPE 'BP'.
    setfield ls_partner TITLE 'Mr.'.
    setfield ls_partner FIRSTNAME 'John'.
    setfield ls_partner LASTNAME 'Smith'.
    setfield ls_partner STR_SUPPL1 'John Smith and Co'.
    setfield ls_partner STREET 'Street1'.
    setfield ls_partner STR_SUPPL3 'Street4'.
    setfield ls_partner HOUSE_NO '42'.
    setfield ls_partner CITY 'Townville'.
    setfield ls_partner DISTRICT 'Districtshire'.
    setfield ls_partner POSTL_COD1 'AA1 2BB'.
    note now ...
    *adjustment taken from standard include LCMS_MAPPERF04
    *(see where-used-list for BAPI_SLSTRANSACT_CREATEMULTI, program LCMS_MAPPERU11)
    I don't use macro because name of the field in input_table is different
    *_set_field ls_partner COUNTRYISO 'GB'.
    *instead
    ls_partner-COUNTRYISO = 'GB'.
    ls_input_fields-fieldname = 'COUNTRY'.
    append ls_input_fields to lt_input_fields.
    *_set_field ls_partner LANGU_ISO 'EN'.
    ls_partner-LANGU_ISO = 'EN'.
    ls_input_fields-fieldname = 'LANGU'.
    append ls_input_fields to lt_input_fields.
    move-corresponding ls_partner to ls_logical_key.
    append ls_partner to lt_partner.
    Create sales orders                                                  *
    call function 'BAPI_SLSTRANSACT_CREATEMULTI'
      EXPORTING
        testrun       = false
      TABLES
        header        = lt_salesorder_header[]
        item          = lt_salesorder_item[]
        partner       = lt_partner[]
        organisation  = lt_organisation[]
        input_fields  = lt_input_fields[]
        scheduleline  = lt_scheduleline[]
        saved_process = lt_saved_process[]
        return        = lt_return[].
    // get the GUID of the created object
    call function 'BAPI_TRANSACTION_COMMIT'
      EXPORTING
        wait = 'X'.
    INCLUDE ZZGVBAPISALESORDER_GET_GUIDF01.
    The include contains only this:
    ***INCLUDE ZZGVBAPISALESORDER_GET_GUIDF01 .
    *&      Form  get_guid
          text
         <--guid  text
    FORM get_guid  CHANGING GUID.
      CALL FUNCTION 'SYSTEM_UUID_C_CREATE'
          IMPORTING
               UUID    = GUID.
    ENDFORM.                    " get_guid

  • How to create multiple Contracts using BAPI_BUSPROCESSND_CREATEMULTI?

    Hi Experts,
    I m trying to create multiple service contracts using BAPI_BUSPROCESSND_CREATEMULTI. I can create single transaction in one go but program is failing to create multiple service contracts in one go. It does create the multiple contracts but messes up with products and product related information. As when there is same product in two different contracts, the record in item internal table has same values for both contracts as we are not passing header guid to the intem related internal table 'ITEM', 'SCHEDULELINE' etc.
    How to use this BAPI to create mulitple service contracts in one go?
    Thanks and Regards.

    Any guideline?
    Thanks and Regards,

  • Create Service Contract using BAPI_SLSTRANSACT_CREATEMULTI

    Hi,
    In my requirement, I have to create a Service Contract from flat file by using BAPI - BAPI_SLSTRANSACT_CREATEMULTI and data which are comming from flat files are, <b>Serial number, Sold-to party, Ship-to party, Installation date, Contract start date, Contract end date, Service profile, Response profile.</b>
    Please suggest me what are the Import parameters should I pass in this BAPI to create Service Contract?
    Thanks in Advance,
    Deepesh

    Hi Deepesh ,
    Please use BAPI_BUSPROCESSND_CREATEMULTI for creating the service contract.This is better in terms of functionality and usage , though very similar to BAPI_SLSTRANSACT_CREATEMULTI in terms of its interface.
    You need to call :
    1. BAPI_BUSPROCESSND_CREATEMULTI
    2. BAPI_BUSPROCESSND_SAVE
    3. BAPI_TRANSACTION_COMMIT 
    in succession.
    As far as filling the import parameters is concerned,
    1.All your dates would go to APPOINTMENT_H or APPOINTMENT_I ( Header or Item)
    2.Sold-to Party, Ship-to Party would go to PARTNER.
    Regards,
    Rishi.

  • Create sales order with reference - Sales org. differ

    Hi Friends,
    Normally we create sales orders in a particular sales organization (Say sales org: X). Then there is a requirement to create another sales order in a different sales organization (Say sales org: Y) by copying the initial order available in X.
    In the standard SAP, the system does not allow to create a sales order by copying an order which is created in another sales organization. Can anyone please provide a solution for the above scenario?
    Thanks in advance.
    Regards
    Kanishka

    Hi,
    I don't know exactly what you need, but, if you just want to copy the itens or propose itens, you can use, besides the suggestion above, this configuration:
    Item Proposal:
    SPRO -> Sales an Distribution -> Master Data -> Item Proposal.
    [Item Proposal|http://help.sap.com/saphelp_47x200/helpdata/en/dd/56054c545a11d1a7020000e829fd11/frameset.htm]
    Dynamic Product Proposal:
    SPRO -> Sales an Distribution -> Basic Functions -> Dynamic Product Proposal.
    [Dynamic Product Proposal|http://help.sap.com/saphelp_47x200/helpdata/en/dd/56054c545a11d1a7020000e829fd11/frameset.htm]
    Regards,

  • Contract with reference to purchase requisition

    Hi!
    I have this situation: I want to creat a contract with reference to a purchase requisition and I'd want to divide the quantity of the purchase requisition. For exemple: I created a purchase requisition with 100 quantity. Now I'd like to creat a contract with 50 e another contract with 50. After that the system should block the creation of the contract with this requisition, becouse the full quantity is complitly requirid. I activated message 06053 but in this case I can use the purchase requisition only one time (whithout divide the quantity of the purchase requisition). I already put the message 06 076, but it works only for PO, a need it for contracts. As Vijay told me I put messages 06078 and 06099, but it didn´t work out.
    Regards,

    Hi
    With reference to PR, if u creating contract, if the PR quantity completly converted to contract then it will throw the error message " Materials of requisition XXXXXXX item 00010 alr. ordered in full"
    Message no 06076.
    Check this out.
    Regards,
    Raman

  • How to create new plant,purchasing org,purchasing group

    hi,
    how to create:
    1. new plant
    2. purchasing org
    3. purchasing group
    4.storage location ... in SAP-GUI
    rgrds,
    Piyush

    Hi Piyush,
    As path has been already provided in previous post.
    For New Plant :
    Once you are in define-copy-delete-check plant.
    select Copy-delete-check plant
    thne press F6 for copy org. object
    Usally copy-delete-check plant is selected it will copy all exisiting tables of that plant to new plant.
    For new Purchase Org. :
    Once you are in screen select "new enteries "or "copy as" whatever you like.
    Then you have to assign purchasing orgnization to plant or company code.. in aasigment > Materials management
    for New Purchasing group :
    From path already mentioned earlier either create new or copy as ...
    moreover there is no assigment needed its just a group of purchasing . You can use p.grp with any p.org if checks are not there however these checks will be there based on procurement process. In our orgnization its there. ie System will not allow you to use some purchasing group for import / sub contracting etc.
    For new Storage location I have already posted in your previous thread.
    Regards,
    Aakash
    Edited by: Aakash Raval on Dec 29, 2008 11:15 AM

  • How to create contract using fm BAPI_CONTRACT_CREATEFROMDATA or fm SD_SA...

    Hi All,
    I have a reqiurement where i need to create a contract using either of the function modules SD_SALESDOCUMENT_CREATE or BAPI_CONTRACT_CREATEFROMDATA  but i want the data related to partner like sold-to-party  in the contract to come from reference document no. but it is not taking values form that referenced document.
    Message was edited by:
            agarwal ashsih

    Hi,
    Look at the below code
    CALL FUNCTION 'SD_SALESDOCUMENT_CREATE'
    EXPORTING
    * SALESDOCUMENT =
    SALES_HEADER_IN = IT2_HEADER
    * SALES_HEADER_INX =
    * SENDER =
    * BINARY_RELATIONSHIPTYPE = ' '
    * INT_NUMBER_ASSIGNMENT = ' '
    * BEHAVE_WHEN_ERROR = ' '
    * LOGIC_SWITCH = ' '
    * BUSINESS_OBJECT = ' '
    * TESTRUN =
    * CONVERT_PARVW_AUART = ' '
    * STATUS_BUFFER_REFRESH = 'X'
    IMPORTING
    SALESDOCUMENT_EX = IT2_SALESDOC
    * SALES_HEADER_OUT = IT2_HEADERSALES
    TABLES
    RETURN = IT2_RETURN
    SALES_ITEMS_IN = IT2_ORDERITEMSIN
    * SALES_ITEMS_INX =
    SALES_PARTNERS = IT2_ORDERPARTNERS
    SALES_SCHEDULES_IN = IT2_ORDERSCHEDIN
    * SALES_SCHEDULES_INX =
    SALES_CONDITIONS_IN = IT2_CONDITIONS
    * SALES_CFGS_REF =
    * SALES_CFGS_INST =
    * SALES_CFGS_PART_OF =
    * SALES_CFGS_VALUE =
    * SALES_CFGS_BLOB =
    * SALES_CFGS_VK =
    * SALES_CFGS_REFINST =
    * SALES_CCARD =
    SALES_TEXT = IT2_ORDERTEXT
    * SALES_KEYS =
    * SALES_CONTRACT_IN =
    * SALES_CONTRACT_INX =
    * EXTENSIONIN =
    * PARTNERADDRESSES =
    * SALES_SCHED_CONF_IN =
    * ITEMS_EX =
    * SCHEDULE_EX =
    * BUSINESS_EX =
    * INCOMPLETE_LOG =
    * EXTENSIONEX =
    * CONDITIONS_EX =
    Regards
    Sudheer

  • Unable to create service central contract items

    Hi Experts
    We are in SRM 7 EHP 2 ECC 6 EHP 6
    We are unable to create Central Contract with Service.
    There is no "Outline" or "Service" on drop down from ADD LINE in Central Contract.
    Please help urgently.
    Thanks
    Ajit

    Hi Ajit,
    Please check if hierarchy template HIER_SE is assigned to this contract transaction type in the following customizing.
    spro -> SRM Server -> Cross-Application Basic Settings -> Service Procurement Activate Service Procurement
    Also SM34: /SAPPSSRM/VC_HT -> Assign to Transaction Type
    Best regards,
    Wendy

Maybe you are looking for

  • Crystal report - how to split a field into more fields

    Hello, I`m new to Crystal reports and I`ve got a trouble. I have field which contains an address - street, city, zip code. The example is: STEHLIKOVA 977 165 00 PRAHA 620 - SUCHDOL 165 00. What I need to achieve is to split this string into three sep

  • Satellite P200 - no sound playing through Panasonic HDTV

    Hi, I recently bought a P200 Notebook, and have tried to play HD DVDs through my Panasonic HDTV, connecting from the notebook's HDMI port to the TV's HDMI port with an HDMI lead, and connecting from the headphone socket on the notebook to the two aud

  • Tv series streaming

    i I have been streaming tv series from watch series and until a week ago I had no problem clicking on a link eg.godzilla or vid lock etc. now every link I open asks me to allow or deny storage on my computer .it seems to have something to do with Ado

  • SQL Injection is rampant this week

    Setting of the stage: I am using cf error reporting to send me an email whenever there is an exception error on my site. I am using cfqueryparam to make sure SQL injection is not getting through Trouble: using cfqueryparam to catch the attack causes

  • White screen when booting

    Yesterday i downloaded driver and software for hp 8600 printer. Today, the imac 2009 does not boot. All i get is a white screen. Is there anything i can do?