Badi for preventing PO creation in shopping cart in srm
Hi Experts,
Here I have a senerio in SRM. In shopping carts we need to avoid purchge order cretion for particular vendors. Because for these vendors through workflow after approval PO has to be created.
So I need BADI to prevent the purchage order creation for particular vendors.
Please suggest me in this regards.
Thanks in advance
G.S.Naidu
Hi Naidu,
PLease try this:
Enhancement MM06E005 Customer fields in purchasing document (It contains vendor as import paremeters)
Enhancement MEQUERY1 Enhancement to Document Overview ME21N/ME51N
I hope this may helpfull.
Thank you,
Thanks,
AMS
Similar Messages
-
One Step Workflow Activation for Shopping cart in SRM 7.0
Dear Experts,
On working to EXtended Classic Scenario, I need to configure one step approval for shopping cart in SRM 7.0.
Currently it is providing me Auto Approval by default and based on it PO is being created. I need one-level manager approval shopping cart.
I am working in Demo System of Extended Classic Scenario, I need only one step approval SC without any condition.
Kindly tell me the configuration steps in SRM and please tell me one more thing is there any need of BADI or other coding for one-step approval?
Thanks in Advance,
Regards
Pawan Keshwani
Edited by: pawankeshwani on May 25, 2011 6:22 PMHi Ashutosh,
Thanks for quick reply.
As per your comment when i am tring to activate /SAPSRM/C_SC_600_001_SP04 by t-code SCPR20, But It shows me a information pop up Maintain the client role and then Activation is Cancelled.
Kindly tell me what i am missing or any other prerequisite step to do for this BC Set Activation.
Thanks
Pawan Keshwani -
Automatic Po creation from shopping cart
Dear All,
I found that this issue has been discussed many time, but all the messages are talking about split criteria.
When I create a shopping cart with mulitple items (all the items are just copy of first item...... no question of split criteria) and without vendor, one held PO gets automatically created for each item once the shopping cart has been approved.
As vendor is not there in the shopping cart, it is creating held POs. But one Po is getting created for one item.
Recently we connected our development and sandbox system to new upgraded backend systems (4.6c to ECC 6). After that only, this issue is occuring in both the SRM systems. I am not sure how far upgrade is relevant to this issue. But before that, once the shopping cart has been approved, it will go to "Carryout sourcing" and buyer will assign a vendor and create one PO for all the items. Po will get replicated to backend system (extended classic). This is happening in our production system now.
While connecting to a new system, I am not sure whether I have missed out any settings. Or the issue is with ECC 6 upgrade.
Could you please help me asap as we are approaching the go-live date?
Thanks,
ArunMasa,
There is no source of supply in the shopping cart. Beacuse of that held PO is getting created.
But my question is, it should not even create the PO. Once the shopping cart has been approved, it should go to carry out sourcing where buyer will assign the vendor and creates the PO.
Now, it is directly creating the PO.
Thanks,
Arun -
Error while creating shopping cart. in SRM 7.0
HI experts,
while creating a shopping cart in SRM 7.00 we r getting following error messages.
Exception Data
Date: 17.08.2010
Time: 13:36:11
Short Text of the Message: An exception occurred
URL: http://hpsrm.iscodom.com:8001/sap/bc/webdynpro/sapsrm/wda_l_fpm_oif/
Path: /sap/bc/webdynpro/sapsrm/wda_l_fpm_oif/
Message ID:
Message Type:
Message No.:
Message Variable 1:
Message Variable 2:
Message Variable 3:
Message Variable 4:
Error Code: 558
Error Text: RABAX_STATE
Runtime Error: UNCAUGHT_EXCEPTION
ABAP Call Stack
: Method: ABORT of program /SAPPSSRM/SAPLBO_BASE
Method: /SAPPSSRM/IF_BADI_WRAPPER~CHANGE of program /SAPPSSRM/SAPLBO_BASE
Method: /SAPPSSRM/IF_BADI_WRAPPER~START of program /SAPPSSRM/SAPLBO_BASE
Method: HANDLE_PD_START_EVENT of program /SAPPSSRM/CL_BADI_WRAPPER=====CPForm: PROCDOC_CREATE of program SAPLBBP_PDFunction: BBP_PROCDOC_CREATE of program SAPLBBP_PD
Method: CREATE_SC_INT of program /SAPSRM/CL_PDO_FACTORY_SC_ADV=CP
Method: CREATE_NEW_INSTANCE of program /SAPSRM/CL_PDO_FACTORY_SC_ADV=CP
Method: CONSTRUCTOR of program /SAPSRM/CL_CH_WD_BOM_SC=======CP
Method: /SAPSRM/IF_CH_WD_MAP_FACTORY~CREATE_SC_MAPPER of program /SAPSRM/CL_CH_WD_MAP_FACTORY==CP
Regards,
vijay/nitinHi NITIN KHAIRNAR Masayuki Sekihara
We are also facing the same issue.
Can you help us out in identifying which BADI is active.
Please help us in solving the issue as we are getting many short dumps on daily basis because of this.
Thanks,
Ramakrishnan -
Error message while creating shopping cart in SRM 7.0
Hi,
While creating shopping cart in SRM 7.0, an error message is coming as 'No authorization to purchase from product category <product group>'.
Is there any missing authorization.
Thanks
SaswataHi Saswata,
Can you confirm if the "Extended Attributes" of the user's position in Org Structure has the product category maintained for the appropriate backend system?
Regards,
Nikhil -
Can we hide the field in Shopping Cart of SRM
Hi..
Can we hide the field in Shopping Cart of SRM??
I have to hide some of the fields from SRM shopping cart screen. is it possible to hide the fields??
Please suggest me
Thanks.
Regards,
Manoj TiwariHy,
For screen variants, just go to transaction SHD0.
The only screen variants available in SRM 4.0 are:
Item data overview in an invoice without purchase order reference: BBP_IV_NON_PO
Item data overview in the invoice with purchase order reference: BBP_IV
Item data overview in the confirmation: BBP_CF
Item data overview in the confirmation for time recording: BBP_CF_TIMEREC
Item data overview in the purchase order: BBP_PO;
Item data overview for contracts: BBP_CTR_ITEMLIST
Item data overview for selection of contracts: BBP_CTR_ITEM_SELLIST
Search results for entering an invoice and/or confirmation: BBP_SEARCH_PO
Search results for entering a purchase order: BBP_SEARCH_SC
Search results for displaying/processing an invoice: BBP_CHANGE_IV
Search results for displaying/processing a confirmation: BBP_CHANGE_CF
Search results for entering/displaying/processing/status of a shopping cart: BBP_SC;
Worklist for Sourcing: BBP_SOCO_WL
Work area in Sourcing: BBP_SOCO_GA
This is very light, and most of the SRM project have to make Templates, or ABAP screens repairs, to Hide/Show fields.
Regards.
Vadim -
After Oracle Upgrade to 11G - Not able to open shopping carts in SRM system
Dear Friends,
We have upgraded the Oracle to 11G on our SRM development
system.
Now we have an issue with opening the shopping carts from below url.
http://ussapdjs00.corpnet2.com:8001/sap/bc/gui/sap/its/bbp_mon_sc?sap-
client=600
But we could able to open the shopping carts from SRM(JED) system
through SAPGUI.
When we try to open the shopping carts from the URL, it is througing
ABAP dumps as below after taking long time.
28.09.2010 14:15:45 ussapdjs00 SYM98632 600
C SYSTEM_CORE_DUMPED
ShrtText
Process terminated by signal 11.
With this issue, we could not able to release the system to users for
operations.
Can some one please help me on this with some solutions.
Thanks in advance,
Regards,
SrinivasDear Friends,
We have applied latest kernel as below.
SAP R/3 Kernel information
SAP R/3 Kernel 640_EX2
Database Client Library OCI_102
created in AIX 2 5 00029F1AD300
created on Sep 26 2010 20:38:32
Support Level 0
Kernel Patch number 348
Source ID 0.348
DBSL Patch No. 335
ICU Version 2.6.1 Unicode Version 4.0
libsapu16 Version 1.0025 Sep 24 2010 20:08:26
Now issue is resolved... Thanks one and all for your help.
Regards,
Srinivas -
Creating shopping cart in SRM through an interface from an external system
Hello,
i am currenlty working on a SRM implementation at a client and we are looking into
building an interface for purchase requisitions from an external system to SAP.
To be able to get these requisitions as a package approved I would want them to go though the
approval process in SRM. Does anybody know if it is possible to create a shopping cart in SRM through an interface from another system?
thanks,
GeertSRM has a standard business scenario of PDP PM
here the external requirements are transferred to SRM for sourcing
in normal business scenario ECC PR is transferred to SRM which creates a dummy SC or say sourcing SC in SRM which appears in Purchaser's worklist after correct settings
SRM can work with NON SAP system also
so logically yr requirement should be possible
but in ECC PR transfer case the SC created in SRM is already apparoved.
BR
Dinesh -
Prevent Purchase Order creation without shopping cart
We have implemented SRM 5.0 Extended Classic Scenario.
Is it possible to prevent purchase orders to be created for this scenario if there is no preceding document in the form of a shopping cart?Hi Marinda,
The only ways to have a PO without SC is to create a PO from scratch from BBP_POC transaction.
you just have to control thsi through authorizations in PFCG.
Kind regards,
Yann -
Account assignment check for non-direct material in shopping cart creation
Hello Guru's
i'm very new to SRM please help me
We require all non-direct material shopping carts to be ordered with a valid account assignment. Therefore we implemented BADi ZUB2MB_DP_PROD_CHK to suppress the u201COrder as Direct Materialu201D Button. This button allows any order to be placed without account assignment like a direct material.
We started ordering direct materials in SRM at go-live with a cost center, but when they were received, SAP considered them consumed due to the account assignment and did not place them into QA Inspection or assign a batch. We immediately, switched back to SAP for direct materials.
We need a solution that will require all non direct material shopping carts to have account assignments, while allowing direct materials to be ordered with or without account assignments. All while keeping the current checks in place regarding the mixing of account assignments, Z required for TBI catalogs, etc.
please tell me how to write the logic in the DOC_CHEK_BADI to check weather account assignment is made for non-direct material while creating a shopping cart.
thanks in advance....Account Assignment notification, should be take care by standard SRM functionality itself..
Your using SRM 7.0 or 5.0 ??
Thanks!!
Bharath -
Creation of Shopping cart from CPPR
Hi,
While creating shopping cart from Collective processing, we have implemented BBP_DOC_CHECK_BADI for validations. Now, after this BADI, in the standard process the messages are being appended in the /SAPSRM/IF_SOA_MSG_HNDL~GET_ERROR_CODE. The creation is failing in Quality system but it is successful in Development system. Can you please tell me reason for difference in Error Handling process in both the systems.
The messages are getting cleared in Development system in BBP_PDH_MSG_INTERNAL_SAVE while in Quality system, it is not getting cleared. I found a parameter IV_METHOD in this FM and the sequence of calling this FM with IV_METHOD is differing for both. Are there any SAP notes?
In Brief,the error message from the BBP_DOC_CHECK_BADI Implemention are being cleared in Development system and not getting cleared in the Quality system.
Please provide me some points to resolve this.
Thanks inadvance,
Deepthi
Edited by: Deepthi B on Sep 29, 2010 1:02 PMHi Dennis,
I really appreciate for quick response. Please input your feedback on the below situation:
We are currently using the shopping Cart DSO along with PO Account Assignment DSO for reporting (on Multiprovider). Due to heavy load and constant change in user requirements there have been performance issues in the past. Now the end users want separate reports on Shopping Cart and PO Account Assignment. So I came with up the idea of building the Cube on top of Shopping Cart DSO and then built separate Report.
Present situation of the report:
Variable Entry:
Created on Date, Cost Centers, Internal Orders, Purchase Group, SC Created By, Goods Recipient, Requestor, Vendor
Some of the Characteristics we are using in report:
Shopping Cart Date, Shopping Cart Number, Purchase Order Number, SC Created By, SC Requestor, Goods Recipient, Purchasing Group, Controlling Area, Cost Center, Chart of Accounts, G/L Accounts, Order, Vendor, PO Line item Number, SC Item Number, SC Status, Shopping Cart Name & many custom fields pulled from the SRM system.
Please let me know for this scenario the good practice (Reporting on DSO or CUBE)
Thanks,
SAPBWI -
Vendor part number for non catalog item in shopping cart?
I have a requirement to get the vendor part number field in shopping cart basic data for non catalog item. This field is available for catalog items, would it be possible to make the same field available for non catalog items as well?
Hi Gummadi,
You can create custom fields in Shopping cart uisng a BADI and can populate the information.
BBP_CUF_BADI can be used to create customer fields.
Please get discuss with your ABAP fellow for the creation of customer field.
Award points for helpful answers.
Rgds,
Teja -
Which program / BADI to create a PR after shopping cart in backend R3
Hi SRM experts
In our system after shopping cart creation a purchase requisition get create in backend system R3.
Some how ADDRESS number field not get populated in Purchase requisition at the item level under deliery address tab.
I need to debug the process to find out the reason.
I want to know which program and BADI is responsible to create the PR in backend.
How can i debug this scenario. I am not sure on this.
Please help me.
Thanks
SandeepHi
Depend upon your backend version this class may called to create a PR
CL_BBP_BS_ADAPTER_RQ_CRT_31I Adapter for Backend Purchase Requisition
CL_BBP_BS_ADAPTER_RQ_CRT_40B Adapter for Backend Purchase Requisition
CL_BBP_BS_ADAPTER_RQ_CRT_45B Adapter for Backend Purchase Requisition
CL_BBP_BS_ADAPTER_RQ_CRT_46C Adapter for Backend Purchase Requisition
CL_BBP_BS_ADAPTER_RQ_CRT_470 Adapter for Backend Purchase Requisition
CL_BBP_BS_ADAPTER_RQ_CRT_ERP10 Adapter for Backend Purchase Requisition
method create_document
ADDR_SHIPT - Are you maintaing this attribute in SRM - This is a delivery address in r/3
regards
Muthu -
Creation of shopping cart through HTTP request
Hello all, I am trying to create a shopping cart through a HTTP request.
The URL I am managing is the same that the one that the Web Service BBPSC01 uses.
Using the following code I cannot connect to the server in background, the error "This browser is not supported" is launched.
In addition to this, I can open the URL successfully via R/3 when executing online.
Help very appreciated!
Thanks.
data declarations
DATA: client TYPE REF TO if_http_client.
DATA: host TYPE string VALUE 'host',
host2 TYPE string,
service TYPE string VALUE '8000',
path TYPE string VALUE '/sap/bc/gui/sap/its/bbpsc01/?sap-client=020&sap-language=EN',
errortext TYPE string. "used for error handling
DATA: dest(13) TYPE c.
dest = 'ZPORTAL_CESTA'.
CALL METHOD cl_http_client=>create_by_destination
EXPORTING
destination = dest
IMPORTING
client = client
EXCEPTIONS
destination_not_found = 1
internal_error = 2
argument_not_found = 3
destination_no_authority = 4
plugin_not_active = 5
OTHERS = 6.
IF sy-subrc NE 0.
WRITE: / 'Create failed, subrc = ', sy-subrc.
EXIT.
ENDIF.
set http method POST
CALL METHOD client->request->set_method(
if_http_request=>co_request_method_post ).
client->request->set_version(
if_http_request=>co_protocol_version_1_1 ).
client->request->set_header_field( name = '~request_method'
value = 'GET' ).
set request uri (/<path>[?<querystring>])
DATA uri TYPE string.
uri = path.
cl_http_utility=>set_request_uri( request = client->request
uri = uri ).
FIN: conectamos el final de la peticion
Send
DATA timeout TYPE i.
CALL METHOD client->send
EXPORTING
timeout = timeout
EXCEPTIONS
http_communication_failure = 1
http_invalid_state = 2
http_processing_failed = 3
OTHERS = 4.
IF sy-subrc NE 0.
DATA: subrc TYPE sy-subrc.
CALL METHOD client->get_last_error
IMPORTING
code = subrc
MESSAGE = errortext.
WRITE: / 'communication_error( send )',
/ 'code: ', subrc,
/ 'message: ', errortext.
EXIT.
ENDIF.
CALL METHOD client->receive
EXCEPTIONS
http_communication_failure = 1
http_invalid_state = 2
http_processing_failed = 3
OTHERS = 4.
IF sy-subrc NE 0.
CALL METHOD client->get_last_error
IMPORTING
code = subrc
MESSAGE = errortext.
WRITE: / 'communication_error( receive )',
/ 'code: ', subrc, 'message: '.
EXIT.
ENDIF.
DATA return_str TYPE string.
return_str = client->response->get_cdata( ).
close
CALL METHOD client->close
EXCEPTIONS
http_invalid_state = 1
OTHERS = 2.
DATA html_control TYPE REF TO cl_gui_html_viewer.
DATA container TYPE REF TO cl_gui_custom_container.
DATA html_table TYPE TABLE OF char255.
Create container for HTML viewer
CREATE OBJECT container
EXPORTING
container_name = 'CONTAINER'
EXCEPTIONS
cntl_error = 1
cntl_system_error = 2
create_error = 3
lifetime_error = 4
lifetime_dynpro_dynpro_link = 5.
IF sy-subrc NE 0.
MESSAGE e208(00)
WITH 'The control HTML_CONTAINER could not be created'.
ENDIF.
CREATE OBJECT html_control
EXPORTING
parent = container.
CALL FUNCTION 'CONVERT_STRING_TO_TABLE'
EXPORTING
i_string = return_str
i_tabline_length = 255
TABLES
et_table = html_table.
DATA: l_doc_url(255) TYPE c.
CALL METHOD html_control->load_data
EXPORTING
type = 'text'
subtype = 'html'
IMPORTING
assigned_url = l_doc_url
CHANGING
data_table = html_table.
CALL METHOD html_control->show_url
EXPORTING
url = l_doc_url.Dear Poster
Your thread has had no response since it's creation over
2 weeks ago, therefore, I recommend that you either:
- Rephrase the question.
- Provide additional Information to prompt a response.
- Close the thread if the answer is already known.
Thank you for your compliance in this regard.
Jason Boggans
SAP SRM SDN Moderator -
SRM 7 - defaulting values for multiple line items on shopping cart
Hi,
We are using SRM 7 - Employee self service - Punch out catalogues and describe requirements.
Our scenario is this:
- User is responsible for creating shopping carts for numerous cost centres/other users
- Shopping cart will have multiple line items (but the cost centre/other user will be same for all line items)
- Is it possible to define in a shopping cart that all line items will have a specific value? E.g. all line items will be assigned to a specific cost centre?
I know about assigning dedault values in PPOMA_BBP - but our situation is where user does not want to use this default value this time, but another value
Any suggestions?
ThanksThanks Alex for quick reply
To confirm, did you use the BBP_DOC_CHECK_BADI (in conjunction with the BBP_ITEM_CHECK_BADI) to look at different cost centres on the multiple lines on the shopping cart?
Also - did you use the same BADI to give user opportunity to enter a default cost centre that is then automatically applied to all line items on the cart?
Thanks
Azam
Maybe you are looking for
-
Hi Experts, Could you please tell me, how to pass XML document as a request string to the webservice scenario. Inside the service, I have to do the schema validation for the request . Please guide me, how to proceed further? Regards Sara
-
Document title showing within bleed area
I have designed a postcard of images, when I pdf the artwork the file name appears within my 3mm bleed area, does anyone know what I am doing wrong? I obviously need the title to appear outside the bleed area. I have attached the file to let you see
-
I deleted Acrobat XI but now cannot reinstall
If Acrobat XI is part of CC, and I subscribe to CC, I should be able to download it, but perhaps I deleted Acrobat incorrectly and there's still a preference file residing on the computer. In any case, although I don't have Acrobat XI installed curre
-
Uninstalling Flash Player 10 from school networked computers
I am employed by several Primary Schools to support their PC fleets. Both schools have older technology - the one with the problem is running (mainly) Windows XP Pro SP3, with Windows Server 2003 as the server software. I am the latest of a long line
-
Flash Pro CC produces swc that Flash Builder can't compile
I've been using Flash CS6 to work with graphics and I export swc files to use them in my FlashBuilder project. Today I tried to use to new Flash Pro CC. But now I've got the following issue. When I try to Run/Debug my project шт FlashBuilder - compil