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.
Similar Messages
-
Configurations needed for distributing central contract to backend system
Dear Gurus,
I have configured central contract and getting approved in the local SRM system. Now, I need to distribute the central contract to the backend system. I have already get the PI interfaces configured using the integration scenario Central contract management.
Now, I assign the backend POrg as well as the target values for the backend contract and try to release the central contract. The central contract is getting released. However, no contract is getting created in the backend system.
I donot see any XML messages generated in the SRM system (SXMB_MONI).
Do I need to maintain some settings in the SRM system to enable the distribution of contract to the backend system?
Thansk and regards,
RanjanHi,
When one creates Local Contract; there is one option named 'Distribute' on contract screen.On drop down; one mention back end system. After clicking on it; contract has been created in ECC.
If contract is not getting generated in back end; refer SAP Note: 609222.
Check whether you find any error/information message in Txn BBP_CTR_MON.
SRM Settings:
1. Implement BBP_DETERMINE_LOGSYS: Determines whether contract is to be created in SRM or ECC.
2. Assign transaction type to attribute CT_PROC_TY in Org Structure.
3. Check whether have maintained message type BLAREL, COND_A, BLAORD.
4. Assign role SAP_BBP_STAL_START_PURCHASER to process contracts.
Helpful SAP Notes: 641919, 646903
Regards,
yaniVy
reward if helps -
Unable to create PO in backend system for a text material in Shopping cart
Hi All,
When I am approving a shopping cart with text material(ie without material/product/goods), I am getting PR instead of PO. Please explain the settings for getting PO.
Regards
SATYAHi,
SPRO--> SRM > SRM server> cross application basic settings --> Define objects in backend system (PR,RS,PO)
Always purchase requision
Or
PO if item data complete,other wise PR.
1. Enter the organizational unit and/or the category.
2. Enter a source system.
3. Choose the procurement type.
Reservation if stock is available, otherwise external procurement
The system creates a reservation if the material is subject to inventory management and sufficient stock quantity is available in the warehouse on the requested date.
Always reservation for materials subject to inventory management
The system creates a reservation if the material is subject to inventory management, irrespective of whether stock is available.
Always external procurement
The system does not create a reservation, but always procures the item externally. In this case, you specify the type of external procurement.
The following options are significant if the system cannot create a reservation (for example, if there is no stock available or for a non-stock item) or the system must not create a reservation (choose Always external procurement).
Purchase order if item data complete, otherwise purchase requisition
The system always tries to create a purchase order. If the item data is incomplete (for example, the vendor or price is not known), the system creates a purchase requisition from the item.
Always purchase requisition
The system always creates a purchase requisition.
Always local purchase order
The system always creates a local purchase order.
Thanks
prasad.s -
Can't create user into backend system and contents in portal.
hi expert,
I installed EP(EP,BI-JAVA) as add in installation on existing BI-ABAP system based NW04s.
I can log on portal by abap user. But unubale to create any content and user in ABAP through portal.
What must be done after setup Addin JAVA STACK??
I assign following roles to test user.
Administrators :UME Database
Authenticated Users:Built-in Group Authenticated Users Built-in Groups Adapter
Everyone
but the error message is like "An error occurred in the persistence. The original and possible not translatet message was: "BAPI_USER_CREATE1@BWBCLNT100: ID=01, NUMBER=491, MESSAGE=You are not authorized to create users in group". Contact your system administrator. "
If anyone can advice me, it would be appreciated very much.
Regards
MASAKIIf this is what you mean "But unubale to create any content and user in ABAP through portal"....
creating users in portal is not possible since your UME is now linked to the ABAP in an add-in installation or a dual stack system users can only be created in the ABAP system and with the roles SAP_BC_JSF_COMMUNICATION_RO /without RO should let you create users in the ABAP stack....
you can only assign roles to users on the Portal for the ABAP users ...
heres the reason...
Combined AS for ABAP + Java installation
If you install an AS for ABAP + Java, UME is automatically set up to use the ABAP user management of the same Web AS installation. This option uses the configuration file dataSourceConfiguration_abap.xml.
AS for Java installation
If you install SAP Net Weaver AS for Java the UME is linked to the java database with users and groups in the Java system database, or if you want to subsequently connect an LDAP directory to the UME. This option uses the configuration file dataSourceConfiguration_database_only.xml -
Creating contracts on backend - iDocs not even sent from SRM
Hi all
I'm having a bit of trouble configuring backend contracts and could use a little help from the experts.
Trying to create a contract from SoCo or bid invitation results in a success message informing a contract number, but idocs BLAORD and COND_A don't appear on WE02 on the backend. Checking on WE05 on SRM, no idocs are listed, so I'm assuming they are not even being created.
BAdIs BBP_DETERMINE_LOGSYS and BBP_CTR_BE_CREATE are implemented and active, logical systems and RFC destinations are defined correctly and organizational data is ok. Also backend POs are working fine. Please advice.
Best regards
AlvaroHello Alvaro,
for backend contract creation, there is no IDOC generated in SRM, but directy in R/3, but the function BBPV_CONTRACT_CREATE.
If an error occurs during this function call, you should get an error message in Application Monitoring.
You can access those monitors via the web, with role SAP_BBP_STAL_ADMINISTRATOR, or directly in SAP GUI with transaction RZ10.
Last option: debug the process
Rgds
Christophe
PS: please reward points for helpfull answers -
Global Outline Agreement (Contract Create in Backend System)
Hi All
We are trying to create contract in backend system automatically. We have implemented the following two BADI.
BBP_DETERMINE_LOGSYS (SRM 5.0)
BBP_CTR_BE_CREATE (SRM 5.0)
But they are not getting triggered, when the contract is created. Just for the sake of confirming this, We put some logic for inserting an entry in the custom table if at the BADI is trigerred. But after the creation of contract there is no entry found in the custome table, hence I believe that the BADI is not getting trigerred.
My requirement are
1) I want this BBP_CTR_BE_CREATE to be triggerred when I click the "Release" button in "Global Outline Agreement".
2) Pointers how this can be debugged when releasing the outline agreement
Any help to solve this/ some useful pointer would be highly appreciated.
Note: I have checked these but did not help much,
https://forums.sdn.sap.com/click.jspa?searchID=1066187&messageID=1694393
https://forums.sdn.sap.com/click.jspa?searchID=1066187&messageID=1162212
Regards
KathirvelHi Bala,
Please see the note
Note 646903 - Global outline agreement: Tips and tricks.
This contains details of debugging the GOA transfer BADI.
Actually you need to make a variable X while starting debugging and then only BADI get trigerred.
This will solve your issue as debugging seems to be only way for your issue.
regards,nishant
please award points if it helps -
How to create Contract in SAP backend systems( R/3)
Hello All,
We have SRM4.0 with classic scenario. We don't have sourcing cockpit , bidding engine and all activated.
Please suggest me, how can I create contract in backend system?
We don't want to create GOA in SRM system and distribute it to backend system.
Regards
NeeleshHi Neeleesh,
Go through the GOA setup in the <a href="https://websmp205.sap-ag.de/~sapidb/011000358700002897362004E/CG_Sourcing5.pdf">Strategic Sourcing Configuration Guide</a>
In the web GUI you can use the transaction BBP_CTR_MAINCC to create the Global Outline Agreement
Note 646903 is also useful.
Hope this helps.
/Kristoffer -
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,
RanjanHello 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 -
No PO Created in backend system after Bid is accepted
We are on SRM 4.0. using Classic Scenario
We can create a bid invitation in SRM and we have used the BADI - BBP_DETERMINE_LOGSYS to indicate to the system to create a purchase order in the backend system after the bid is accepted. We keep getting the following error in SM21: Purchase orders cannot be created without IPC pricing
Did you have to turn on the IPC in order to create the purchase order in R/3? Also, if you have used the BBP_DETEMINE_LOGSYS Badi and have example code that might be helpful as well.
If anyone has some useful BID INVITATION configuration document or tips that will be appreciated. email id is [email protected]
Thanks,
AshwaniHi,
The BADI is used in case of Backend contract creation.Please read the documentaion of the BADI carefully.
You can use the Business Add-In BBP_DETERMINE_LOGSYS to define your own
criteria for determining the backend system / company code. You use thi
BAdI to determine the source system for
o Shopping cart items
In the standard system, the backend system is determined using the
product category Define Backend Systems. The backend System is
placed in the field ITEM_DATA-LOGICAL_SYSTEM. Then the system calls
the Business Add-In BBP_DETERMINE_LOGSYS.
The company code is put in the field ITEM_DATA-BC_CO_CODE. Then the
system calls the Business Add-In BBP_DETERMINE_LOGSYS.
o Contracts
In the standard system, the system creates contracts locally from
Sourcing and SAP Bidding Engine You can use this BAdI to determine
backend system.
Example
Shopping Cart:
Backend system A is determined for product category OFFICEMATERIAL. You
also want to consider the vendor and purchasing organization fields
during determination of the backend system. The purchase order is to be
created in backend system B for the vendor OFFICE1 and purchasing
organization 0001. You overwrite the field ITEM_DATA-LOGICAL_SYSTEM wit
B.
Contract:
The local system used by the standard system to create contracts is
XYZ4711. In the field CV_LOGSYS, you enter the logical system ABC0815
that links to a backend system. In this way, contracts are created in
the backend system.
Sample codes for the BADI:
method IF_EX_BBP_DETERMINE_LOGSYS~DETERMINE_LOGSYS.
data: w_acct_data type enriched_acct_data.
data: w_acct_icom type BBP_PDS_ACC_ICOM.
data: w_et_messages type BBP_TMESSAGES_BADI.
data: re_obj(40).
data: imkey(8).
field-symbols: <waItem> type bbp_oci_enritem.
field-symbols: <waAcct> type bbp_oci_enracct.
field-symbols: <f1> type any.
if not acct_data[] is initial.
loop at item_data assigning <waItem>.
loop at acct_data assigning <waAcct> where line = <waitem>-line.
check <waAcct>-acc_cat = 'RE'.
if not <waAcct>-acc_str is initial.
CALL FUNCTION 'Z_RE_ACCT_ASSGN'
EXPORTING
ACC_STR = <waAcct>-ACC_STR
BUKRS = <waItem>-BE_CO_CODE
IMPORTING
RE_OBJ = RE_OBJ
IMKEY = IMKEY
TABLES
BBP_RETURN = w_et_messages.
endif.
if not imkey is initial and w_et_messages[] is initial.
move imkey to <waAcct>-rl_esk_key.
move re_obj to <waAcct>-acc_str.
modify acct_data from <waAcct>.
endif.
endloop.
endloop.
endif.
endmethod.
OR
method IF_EX_BBP_DETERMINE_LOGSYS~DETERMINE_LOGSYS.
data: ztprod type zprod1.
data result(4).
data tline TYPE LINE OF bbpt_detlogsys_item.
loop at item_data into tline.
case sy-uname.
when 'BUYER3'.
if tline-product eq '69E2D3C8AF4B5C4CBDCC73A50C58EFA2' or
tline-product eq '6BB856ADA25D584FA0B5A2FDCDA27766' or
tline-product eq 'F31AD68E8EDCE646A9C7ECC4F24CE464' or
tline-product eq 'ABC0320E1A37E743B75406DF0B7C53BF' or
tline-product eq '3C0665006B2D2A43B3A1CC74B560E8A9' or
tline-product eq '8F97635441496647A69CD021A5FFF4D2'.
tline-be_co_code = '1000'.
tline-logical_system = 'F47CLNT800'.
tline-BE_PUR_ORG = 'O 50000660'.
tline-BE_PUR_GROUP = 'O 50000662'.
modify item_data from tline.
endif.
when others.
select single * from zprod1 into ztprod where product eq tline-product.
if sy-subrc eq 0.
tline-be_co_code = '3000'.
tline-logical_system = 'F47CLNT800'.
modify item_data from tline.
elseif tline-product is initial.
tline-be_co_code = '3000'.
tline-logical_system = 'F47CLNT800'.
tline-BE_PUR_ORG = 'O 50000612'.
tline-BE_PUR_GROUP = 'O 50000614'.
modify item_data from tline.
endif.
endcase.
endloop.
endmethod.
Also if you have activated "EXTENDED CLASSIC SCENARIO"( SPRO>Supplier Relationship Management>SRM Server>Cross-Application Basic Settings>Activate Extended Classic Scenario),then IPC is mandatory for ECS .
BR,
Disha.
Do reward points for useful answers. -
Please let me know the usage of def Backend systems?
Hi friends
Please let me know the usage of Def Backend systems with fields
Thanks
regards
chinna
Edited by: chinna krishna on Nov 25, 2008 5:53 AMHi krishna
In this Define Backend system . you can define all your backend system and EBp system, Catalog system, SUS ROS system. This configuration helps you to communicate with other system. and it helps to view howm many systems are connected with other systems.This configuration is mother of all configuration.
Define Backend Systems
In this activity, you specify
u2022 Which backend system(s) you are working with
u2022 Which local system you use to run your business scenario
u2022 Whether purchase orders and their follow-on documents (confirmations, goods receipts/service entry sheets, and invoice) are to be created locally in Enterprise Buyer
u2022 Whether contracts from the Sourcing application or from the Bidding Engine are to be created in the backend system (as of backend release 4.6B)
u2022 Whether SAP Supplier Self-Services and SAP Enterprise Buyer are to run in the same client
Requirements
u2022 In the activity Define RFC Destination, you have defined the RFC destinations for your systems.
u2022 In the activity ALE Settings (Logical System), you have defined the logical systems for your systems.
Activities
Define the following:
u2022 Name and description of the system. If you have already defined the logical system in ALE Settings (Logical System) you should use the same description here.
u2022 The RFC destination for the system
u2022 Type and release level of the backend system
In order to create a contract in the backend system, set up a logical system with RFC and system type CM.
If you are using supplier registration with catalog integration, you must enter SUPPL_DIR here. A prerequisite is that you have have made a dummy entry under Logical System.
If you are using SAP SUS and SAP EBP in the same client, you must enter EBP_SUS here.
u2022 Select Local if the system is your local Enterprise Buyer system.
As of SRM Release 4.0, this setting is required for all SRM scenarios. In previous releases, this entry was only required for standalone deployment.
u2022 In the column SLD ID, enter the name of the associated system in the SAP System Landscape Directory (SLD). Prerequisite: The technical name of the local EBP system is entered in the SLD. Make this setting for
o The local Enterprise Buyer system if you exchange documents via the SAP Exchange Infrastructure (XI). The ID of the local EBP system is located in the SAP Landscape Directory (or LCR). Example: PJC_CLIENT_300
o An external system (for example, SAP PP-MRP or the system of an external provider) from which, you transfer requirements into Enterprise Buyer.
o The SUS System if you use this scenario
o For the SAP Content Integrator (CI). If you use the CI to map product IDs, the SLD-ID must be available for all systems whose product IDs are to be mapped.
Hope this helps you
regards
Muthu -
Hi All,
We are trying to figure out PROS N CONS of two different options that can be used to send a contract to backend (as a follow on doc from bidding engine app only). These are
1. Directly create a backend contract by using badis.
2. Create GOA in SRM and then send it to the backend.
Currently there is a single backend and classic scenario. We want to consider the options of contract alert mgmt and adding additional backend in future.
Ques1: Please suggest what can be the better option to implement and what are advantages and disadvantages of both.
Ques 2: In option 1 the system creates a backend contract WITH NO COPY OF CONTRACT IN SRM. Is this statement true? If yes how can this be resolved as we want to have contract copy in SRM as well?
Thanks in Advance
HussainHi,
it is a feasible solution:
Now when an accepted bid is converted into contract it should create a GOA and create contract in backend (here we have a single backend). So the contract is available in SRM also as GOA.
Just disable the Badi and make the GOA doc type as the follow on document for bid. The system will create an incomplete GOA, which you can complete and distribute.
The operational contract created from distribution then can be used as source of supply in R/3 and all POs placed against it are recorded in SRM.
My query is that we want to have alert mgmt to notify the purchasers about the expiring contracts and then use "Negotiate" contract function for creating a bid invitation out of expiring contract. Is this functionality possible considering the classic mode and GOA.
Yes, SRM alerts on each contract type, also on GOAs. From GOA a Bid invitation (Negotiate) can be created and the GOA can be renewed and is redistributed.
Is there any special customisation or BADI required?
Make the follow on settings in SRM to enable the right doc types as follow on document. Also make sure, that the distribution of contracts is working fine by using the BADI BBP_CTR in R/3 for conditions as well for company code (when needed). Then you are fine.
Cheers,
Claudia -
Automitic source of supply assignment in backend system for SRM
Hello Experts,
I am facing one issue regarding source of supply for SRM purchase Requisitions in backend ECC system.
When we create a shopping cart in SRM 5.0, a purchase requisition is created in backend and has source of supply assigned to it.
I donu2019t want to assign source of supply to purchase requisitions created for SRM.
Can you please suggest how to achieve this?
Also I think, SRM is internally using BAPI u201CBAPI_REQUISITION_CREATEu201D from backend ECC system for creation of requisition. This BAPI has an importing parameter u2018AUTOMATIC_SOURCEu2019, and if we pass space to this parameter, it creates requisition without assigning source of supply.
If this is correct, then can I use any BADI or customization in SRM to set the value of this parameter as space when SRM calls this BAPI?
Thanks in Advance.
Thanks and Regards,
SanjaySPRO--> SRM > SRM server> cross application basic settings --> Define objects in backend system (PR,RS,PO)
waht is the settings you maintained for your product category / purchase group - external procurement .
the above setting determines your follow on documents in the backend systems.
as discuused in the thread are you using any BADI ?
Unable to create PO in backend system for a text material in Shopping cart
peter offers how to debug to ..in the above link.
br
muthu -
PO is created in the Backend Instead of PR - Classic Secnario - SRM 5.0
SRM experts,
My client has upgraded to SRM 5.0 and ECC 6.0 from SRM 3.0 and 4.6c version respectively. SRM is using classic scenario, so Shopping cart is created in SRM and Purchase Requisition and Purchase Orders are created in the backend system. In the Sources of supply tab, we will see the Vendor, Outline agreement and other information based on the Plant, Product category and Purchasing group we select in the shopping cart. If user selects the vendor with outline agreement in the sources of supply tab then Shopping cart will create Purchase order instead of Purchase requisition in the backend system. I am new at this clients site and client does not have any documentation about how these has been configure in the system. Can someone please help me to find out where the settings might have been made in the system to create Purchase order instead of Purchase requisition if shopping cart contains vendor with outline agreement. I am asking this question because we have another enhancement request with similar requirement but with different condition.
I will reward the points for helpful answers.
Thank you experts.
MPHi,
Could you checkthe foll cust link in SPRO:
Define Objects in Backend System (Purch. Reqs, Reservations, Purch. Orders).
PO is created if you set the "*" for EITHER the purchasing group OR the product category.
SRM is creating PR or PO depending on:
- SRM customizing (ex: always external proc + PR if incomplete, PO if complete)
- the interpretation of SC data by R/3.
IF your SC is considered complete by SRM (but with a fixed vendor and not a preferred vendor) the system will check if it can create a PO in R/3.
For this, each item will request a META_INTERPRETE_DATA to R/3, asking if it can create a PO. If R/3 considers this data as incomplete, it will reply to create a PR.
Usual cases of R/3 PR creation instead of PO:
- prefered vendor in SRM (and not a fixed one)
- custom checks in user exits in R/3
- error messages in R/3 (ex: O6 334 In the case of a fixed vendor, please enter info record)
To debug without debuging into R/3, you can also try the following:
- use BADI DETERMINE_TARGET_OBJECT and force PO creation
- so the system will always try to create a PO
- R/3 won't create the PO (for the same reason as in META_INTERPRETE_DATA), and will raise an error in SRM
- finally you get the real error in application monitor (SC --> backend application errors
Related thread:
Re: PO not create from SC with source of supply in classic sena
BR,
Disha.
<b>Pls reward points for useful answers.</b> -
PO not created in the backend for SC
Hi,
I am using SRM 5.0 and i created a shopping cart.. The shopping cart is ordered sccessflly but a PO is not created in the backend system.
I have made the follwing setting.
The backend system definition seems fine.
I have also defined the prodct category and the target system.
Number ranges are assigned in the SRM system.
I checked rz20 and did not find any errors there..
Shold i created a docment type EC in the backend MM system??
What else could i be missing. Please advise.Hi,
You could check the return of FM B31I_INTERPRETE_DATA, which is called when a follow-on document is created in backend system.
Try to debug the shopping cart transfer, as specified in note 1173815. Perhaps the backend return message can be helpful.
Kind regards,
Ricardo -
Password not sent from EP to backend System in Replication
Hi,
I am trying to replicate user data from Enterprise portal to R/3 system. And i was successful in doing so but the problem is when i create a user in EP then the same user is created in the backend system but password is not being set. The backend System says PasswordDeactivated.
Can anyone tell me how to solve this.
Regards
PadmajaHi Zuljana,
Kindly check if your partner profile is active. (Indicated by 'A')
Sometimes if your partner profile is not active, you wont be able to distribute your model. Check the 'A' indicator
Regards,
Nikhil
Edited by: Pbponikhil on Dec 21, 2010 4:11 PM
Maybe you are looking for
-
K9N Platinum Ram Voltage??!
Hello dudes! Can someone tell me what ram voltage K9N Platinum is?! O ill buy some memories, with 1.9 or 2.0v... and just wanna know what is ram voltage of this mobo... i know asus m2n-e max is set to 1.95v... but dont know about K9N platinum... So..
-
My iPod 5th gen won't turn on!
My iPod 5th gen was working fine last night and after charging it won't turn on with power button today. I'm not able to reboot using home button and power button simultaneously because my home button stopped working couple weeks back and I was using
-
Hideing a Column in ALV Table which is Displaying the POWL Query data
Hi SDNers, I want to hide a column of ALV Table which is displaying my POWL Query data in it and hideing should be based on the Role as well. i.e few of the role the column shoudl be hidden and few of the roles should have the Column visible. waiting
-
SNP to PPDS conversion log not displaying all errors
Hi Experts, We use a batch job to convert SNP orders to PPDS order. Post successful job completion, we checked in receipts view (/sapapo/rrp4) and found that there were some SNP orders still lying within PPDS horizon (these orders were not converted
-
"Match Regular Expression" and "Match Pattern" vi's behave differently
Hi, I have a simple string matching need and by experimenting found that the "Match Regular Expression" and "Match Pattern" vi's behave somewhat differently. I'd assume that the regular expression inputs on both would behave the same. A difference I'