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

Similar Messages

  • 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

  • How to create contract in SAP-SRM via a bespoke?

    Hi All,
    I got one requirement to create contract in SAP-SRM via a bespoke interface from the sourcing workbench.
    How to create contract in SRM via a bespoke?
    Even I don't know what is a bespoke. I belong to SAP bw platform
    kindly give me the solution.
    Thanx in advance,
    Ravi.

    Hi
    <b>Bespoke</b> <u>means</u> <b><u>Customer development</u></b>.
    So you can create Shopping carts, either automatically via logging to SRM portal or programmatically using Bespoke developments / programs.
    <b>BAPI Function module -  'BBP_PD_SC_CREATE_EXTERNAL' is used to create shopping cart from portal with other function modules.</b>
    <u>Also you can use RFC BBP_PD_SC_CREATE function module for Creating Shopping Cart.</u>
    <b>Create Shopping cart (or PO) in SRM/EBP from a flat file</b>  
    /message/3529548#3529548 [original link is broken]
    Create Shopping cart (or PO) in SRM/EBP from a flat file
    Function Module's for Shopping Cart.
    Do let me know.
    Regards
    - Atul

  • Central contract in SRM 7.0 with ECC 6.0

    Hi
    We are using SRM 7.0 with ECC 6.0
    When we create contract in SRM 7.0 & Trying to distribute to Backend as Contract, It is showing error in BBP_PD as below
    HEADER I1015 Awaiting Approval
    HEADER I1021 Created
    HEADER I1038 Complete
    HEADER I1141 Released
    HEADER I1180 Document Completed
    HEADER I1193 In Distribution
    HEADER I1195 Distribution Incorrect
    0000000001 I1143 Item is Active
    Badi BBP_DETERMINE_LOGSY is activated to define backend system
    No IDOC is also generated.
    No errors in MOnitor also
    Not sure what is message type needs to define & what else is needed
    Regards,
    NNK

    HI
    Need to do following
    1. Keep conidtion types in ECC & SRM same for contract.
    2. Also Add message types BLAORD & COND_A manually in ECC in WE20.
    Then only it works
    Regards,
    NNK

  • Contract in SRM not Transferred to ERP

    Hi All;
    We are using SRM 7 classic scenarion
    I created contract in SRM then released it but it did get transferred to the backend.
    I checked SMQ1 and found "Transaction recorded"
    I checked also in BBP_PD and found "Distribution incorrect"
    It was working fine before.
    Please advise what to do.
    Thanks

    Thanks for your replies;
    We are using  IDOC technology , I used to check in WE05 BLAORD if there is any erro. but now i am not finding any IDOC in WE05, BD87.
    I checked in SLG1 an found "Error
    Error: Recipient not found
    The error ocurred by processing event RELEASED_NEWLY with GUID 76C5A64DE6B03816E10000000A010E29 and object_id= 4605000167
    What this error means?
    Our production system has been copied recently to as created QA system. In SRM QA, i copied and existing contract, which got transferred to ERP sometime back  with the same vendor but still it did not get transferred and i got the above error.
    Your help is highly appreciated.

  • 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

  • Conversion Program for Creating Loan Contract

    Hi,
    Has anyone worked on a conversion program to create a Loan Contract?
    I am trying to use a BAPI. Its BAPI_LOAN_CONTRACT_CREATE.
    But the problem is this BAPI is not released by SAP yet.
    Can I use a BAPI which is not released. If YES, then what are the problems I would be facing later. And if NO, then what is the solution to this?
    Thanks.

    There are a lot of SAP notes for this BAPI, and none says "don't use it", so you should be fine. You could send a message to SAP pointing them to the unreleased status.
    Thomas

  • Uploading contracts into SRM from flat file...

    I am asked to develop this program but I am not sure what transactions are involved and what approach to take.
    I know how to upload the file but not sure how to upload the contracts to SRM.
    Thanks for the help.

    Hi Rakesh,
    I have encountered the same difficulty in creating the contract as well. Thanks for your code sample. I have tried to follow it closely but still i am not successful. Is it possible for you to take a look at my code?
    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 return all 0s. The error message in pc_message is supply only one type of vendor and one type of responsible employee. 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!

  • Upload ECC Contracts to SRM

    Hi Experts ,
    Can anyone please confirm me, exactly in which situation , we upload ECC Contracts to SRM..by report BBP_CONTRACT_INITIAL_UPLOAD ?
    We are deploying Classic scenario with ECC6 (EHP4) with SRM7.0.
    Thank you in advance.
    Regards
    NAP

    Initial Upload of Central Contracts and Scheduling Agreements from SAP ERP to SAP SRM. This is just help aid report
    You can use program BBP_CONTRACT_INITIAL_UPLOAD to upload contracts and scheduling agreements from an SAP ERP system to an SAP SRM system. Depending on the settings you make, contracts and scheduling agreements are then uploaded from the SAP ERP system to the SAP SRM system as a central contract. Generally, this initial upload is a one-time activity performed at the time of installation in the SAP SRM back-end system. For more information, see the program documentation.
    Situation could be Some backend contracts wanted to use in Extended classic scenario . so Manual effort is reduced to create a Local contract. so that SAP gave option to reutilise the contract rather than creating from scratch.
    After you transfer a contract from backend to SRM , you must make them inactive other wise this contract will be active at both systems.
    now SAP recently developed some migration reports to convert GOA into CCTR .
    If you are upgrading from an earlier release of SRM / support package of ERP and you are already using SRM Globals Outline Agreements (GOAs) as source of supply in ERP you need to convert the replicated GOAs in ERP to replicated Central Contracts. Please refer to the program documentation of report MMBSI_CONTRACT_MIGRATION. For converting the GOAs created the lower releases in SRM to Central Contract in SRM 7.0 system please use the report /SAPSRM/MIGRATE_GOA_TO_CC. These reports have to be executed saperately in both the systems. The preferred sequence would be to run the migration report in SRM first to convert GOA to CC and then run the migration report in ERP. Running the report in ERP presupposes that the system connectivity regardings SOA services between ERP and SRM has been set up completely.

  • Badis for PO and Central Contract in SRM 7.0 in classic

    Hi everyone,
    I need you help. We are working in a implementation of SRM7.0 with ECC 6.0 Ehp 4 in a classic scenario. We want to know which badis we can use in order to change the purchasing group of the PO an Central Contract when their are transfered to ECC.
    BR,
    Ivá

    Hi Muthu,
    We are wondering if it is posible the following:
    - An user wants to create PO form SRM. This PO in SRM has the Purchasing group XXX, but (for any reason) we need when this PO is send to ECC, the system changes the purchasing group to YYY.
    BR
    Ivá

  • Creation of backend contract from SRM system?

    Dear Experts,
    I am bit confused with the scenario of creation of backend contract from SAP SRM system? It says in few cases, based on the BAdi 'BBP_DETERMINE_Logsys', the system creates a backned contract directly in a backend ERP system. Why do we need when we have central contract?
    We can meet the same requirement through central contract where we will authorize only purchasing organizations of a backend system and block the contract for local sourcing in SRM?
    Secondly, How to find a contract / scheduling agreement created in a backend system when a central contract is distributed to the backend system?
    Thanks and regards,
    Ranjan

    Hello Ranjan
    question on contracts?
    Note 1476307 - Importing parameter not filled in BADI BBP_DETERMINE_LOGSYS
    in classic scenario , The Business wanted to create a contract from cockpit or via BID
    this BADI helps
    Symptom
    You have implemented BAdi BBP_DETERMINE_LOGSYS to control the system in which contract is created in following scenarios:
    1. Creation of contract from an accepted quote / bid.
    2. Creation of contract from a requisition in SOCO.
    In the method IF_EX_BBP_DETERMINE_LOGSYS~CONTRACT_LOGSYS_DETERMINE of the BAdi implementation, importing parameter IT_ORG doesnot have any values.
    Other terms
    Backend contract
    Reason and Prerequisites
    some business wants to create a backend contract from SRM . see some Dinesh Powale / Claude  threads for more understanding.
    Muthu

  • Smartforms on Purschase Order and Purchasing Contracts in SRM system

    Hi Friends,
        Can anyone provide sample example of smartforms on Purchase Order and Purchsing Contracts in SRM system?
    It is great, if you send me valuable material to create smartforms on PO and Purchase Contracts in SRM system.
    Thanks in Adv.
    BABA

    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

  • Passing custom field in contract in SRM to contract in ECC

    Hi,
    We are using SRM 7.0 with ECC 6 (no EHP). We're planning to use central contract distributed with IDOCs. Our contract in ECC has custom field added in the header. We have tried and successfully pass the contract from SRM to ECC (using IDOC BLAORD03 and COND_A).
    I know we can create custom field in contract in SRM, but how to pass the value in the custom field in SRM contract to custom field in ECC contract? Do we need to edit IDOC BLAORD03? Is it possible?
    Best regards,
    Yosea

    Hi,
    Does anyone know the answer?
    John

  • Distributing Central Contract from SRM to ECC

    Hi,
    We are using SRM 7.0 with ECC 6.0 in backend (no EHP). We're setting up a central contract with IDOCs. From what I read we have made the configuration:
    in SRM:
    - Assign attribute CT_PROC_TY = CCTR
    - Connfigure new condition type PB00 which is the same with ECC price for contract
    - activate the BADI BBP_DETERMINE_LOGSYS and coding it so for contract it will always go to backend (in method CONTRACT_LOGSYS_DETERMINE)
    - I have activated BADI BBP_CTR_BE_CREATE but writing no code, as there no need for me to do mapping
    in ECC:
    - Activate inbound IDOC type BLAORD and COND_A and assign it to the logical system of SRM
    Then I create the contract in SRM. but:
    1. When creating contract, in item overview, i cannot tick 'distribution' indicator. Not sure what is the function
    2. In item detail, tab distribution, I cannot put create release-purchasing org. Even when using search help it is not giving any value
    Actually dont really understand the usefull of the indicator above, so I let it be empty, then I release the contract
    The contract then not appear in ECC. I have checked SMQ1/SMQ2 nothing. Even in WE05 in ECC nothing. The only thing I see is in SLG1 where I see error triggered by user WF-BATCH with message "No recipient found"
    Do i miss something in here? Any help will be very appreciated.
    Josh

    Hi Josh,
    Central contract is only possible in SRM 7.0 with ECC 6.0 EHP 4. You can use local contracts or GOA.
    Regards.

  • Benefits of implementing Central Contracts in SRM 7.

    Dear Experts,
    Picture the following:
    - Classic Scenario.
    - One ECC 6 EHP 4 Back end.
    I'm currently exploring the benefits of implementing Central Contracts against using only Purchasing Contracts in ECC and replicating them to SRM for use in the Shopping Carts.
    So my question is why would you implement central contracts in SRM instead of just replicating these contracts from ECC? What benefits would you get out of having central contracts in place against having only Purchasing Contracts in ECC?
    Thanks for your input.

    adding to Manju one point .
    - Procurement department(PURCHASER) can use web interface to create / manage contracts rather GUI interface and quick contract creation / maintenance
    - Approval mechanism simplified with less efforts.
    - Different ways to create a contract from SRM
       Copy an existing contract
    Use an existing template
    Upload an external file
    Upload a contract from the catalog
    Muthuraman
    1.You can use this business process to access SAP SRM contract features, such as contract hierarchies, discount across contract hierarchies, and grouping logic, when determining source of supply in SAP ERP.
    2.You can create a central contract in SAP SRM, and it can then be used as source of supply in both SAP SRM and SAP ERP. Relevant data is sent to SAP ERP for a source of supply determination, and a specific type of contract or scheduling agreement can be created there.
    3.While determining a source of supply, you can access central contracts directly.
    4.The price is determined in SAP SRM before the SAP ERP purchase order (PO) is sent to the supplier.
    5.You can create and change central contracts and renegotiate existing contracts directly with a supplier, or through the creation of an RFx. You can automatically assign a contract as a source of supply, or it can be listed as one of numerous potential source of supply contracts. A strategic purchaser can create a contract whenever they anticipate a long-term relationship with a supplier.
    6.Contract management enables purchasers from various parts of the company at different locations to take advantage of the terms of globally-negotiated contracts for specific product categories. You can provide users with specific levels of authorization to contracts, and you can categorize documents as confidential.
    6.You can distribute central contracts to release-authorized purchasing organizations, and these organizations can then use them as source of supply in the appropriate SAP ERP system. Hierarchies can be used to organize, structure, display, and search for contracts.
    7.If you use SAP NetWeaver Business Intelligence (SAP BI), you can view various consolidated reports of contract management. For example, you can view aggregated value released against all contracts in a contract hierarchy.

Maybe you are looking for

  • Can not use Atheros WLAN card on my Satellite A100-784

    I install the Atheros WiFi driver from the Toshiba drivers folder and I get a message saying "The device is not present or could have been ejected/unplugged from the system-Insert or reinsert now". The WiFi switch is switched on while it was being in

  • BB Line Reset Question

    Hi - had issues with BB speed - ip profile was set to only 0.25mbps.  BT did a line reset on Monday lunchtime.  IP profile is still set ot 0.25mbps.  Contacted BT who said it would take 10 days for the line to stabilise and spped will vary in that ti

  • Thumbnail view of photos in iphoto

    i cannot get iphoto to return to thumbnail views of all my photos. instead it changed to a full view in the viewing screen.

  • Roaming between APs

    Please advise me on this. I have four 1200 Access Points with the latest firmware. They are on the same subnet. When I am associated with an AP the signal strength is Excellent. As I move far away from the AP the signal decreases to Fair. I am close

  • Overlaying Clip Name

    Does anyone know a way (or plugin) that will allow me to overlay the clipname onto the video in FCP (or FCE). I have a rough edit that has thousands of clips that needs to be reviewed and I need to find an automated way of overlaying the name of the