ENRICH_ITEM_DATA + create Shopping Cart from external Business Server Page
Dear SRM Gurus,
I am on SRM 2.0 with EBP 3.5 and Requisite 3.5/88.
On the Web Interface I get the message (German):
"Sachkonto 6610005 ist nicht angelegt (Bitte Eingabe prüfen) (Position 1) "
which means translated: G/L Account No 6610005 not available - please check your entry (position1).
I don't even find the Message Class which holds the message - It's not under package BBP_PU. In fact, when logging on in English - still the message is displayed German, while the messages in message class of package BBP_PU are translated.
In fact, I think, I am almost done - all required fields are accessible in ABAP - I just don't know, when to put what where...
thanx in advance, matthias
Message was edited by: Matthias Kasig
Message was edited by: Matthias Kasig
Message was edited by: Matthias Kasig
Hi CChung,
I've got a pdf "Open Catalog Interface" which also gives an html example - i can email you.
But let me tell you how I did it.
1. You define a catalog in SPRO for your BSP. SPRO -- general settings -- Enterprise Buyer -- define catalogs
there you place a parameter HOOK_URL as return URL. I guess that is what you already did.
2. Now it's really simple. When you jump to your BSP the HOOK_URL gets also transferred to your BSP. You just have to set up the page attribute 'HOOK_URL' as string auto-value (don't forget to check auto), and then you should be able to deal with its value the way you want.
In my case I transfer the value to a second result.htm.
I set up an htmlb:form which includes an invisible input field:
<htmlb:inputField id = "I01"
value = "<%= HOOK_URL %>"
disabled = "X"
visible = "FALSE"
width = "550" />
I guess a hidden field will do to.
In Event Handler OnInputProcessing I refer to this via:
DATA: data_t TYPE REF TO cl_htmlb_inputfield.
IF event->id = 'B01' AND event->event_type = 'click'.
data_t ?= cl_htmlb_manager=>get_data(
request = runtime->server->request
name = 'inputField'
id = 'I01'
IF NOT data_t IS INITIAL.
hook_url = data_t->value.
ENDIF.
and:
navigation->set_parameter( name = 'HOOK_URL' value = hook_url ).
or I use it for aborting in JavaScript like this:
<script language="JavaScript" type="text/javascript">
<!--
function abbrechen()
location.href = "<%= HOOK_URL%>";
//-->
</script>
Hope you get it, regards, Matthias
Similar Messages
-
Workbooks not opening from a Business Server Page (BSP)
Hello Experts,
I need help with opening workbooks from a Business Server Page (BSP). The problem is that the workbook is not opening, but instead a blank Excel page opens. I am using Microsoft Excel 2003 and on BI 7.0 version. Here is the code: Could you please look at the below code and advice me. This does not have any selection screen. Also, i have another workbook with a selection screen and I want to pass values to these selection variables. Is that possible? In the below code, my suspicion is either with 'application/vnd.ms-excel' or moving content in to X string. Please give your suggestion. Thanks so much.
Layout
<%@extension name="htmlb" prefix="htmlb"%>
<htmlb:content design="design2002+design2003" >
<htmlb:page title="Web Workbook LaunchPad" >
</htmlb:page>
</htmlb:content>
In page attributes:
file_content TYPE STRING
FILE_XCONTENT TYPE XSTRING
WA_WBDATA TYPE RSRWBSTORE
WBDATA TYPE RSR_RPEC_BIN_FILE
WBID TYPE RSSGUID25
On Initialization.
refresh wbdata .
clear: file_content .
data: temp_string type string .
select * from rsrwbstore into table wbdata
where workbookid = 'VXXGCMF53EVQAS7U8UA80OXN7'.
if not wbdata[] is initial .
loop at wbdata into wa_wbdata.
clear temp_string .
temp_string = wa_wbdata-clustd .
concatenate file_content temp_string into file_content .
endloop.
clear file_xcontent .
file_xcontent = file_content .
response->set_header_field( name = 'content-type'
value = 'application/vnd.ms-excel' ).
some Browsers have caching problems when loading Excel format
response->delete_header_field( name =
if_http_header_fields=>cache_control ).
response->delete_header_field( name =
if_http_header_fields=>expires ).
response->delete_header_field( name =
if_http_header_fields=>pragma ).
*start Excel viewer either in the Browser or as a separate window
response->set_header_field(
name = 'content-disposition'
value = 'attachment;filename=webforms.xls' ).
response->set_cdata( data = file_content ).
finally display Excel format in Browser
data: l_len type i.
l_len = xstrlen( file_xcontent ).
response->set_data( data = file_xcontent
length = l_len ).
navigation->response_complete( ).
endif .Hi Friend,
have a loook at the below specified threads.Hope it will help you.
[link1|download to excel in diffrent window;
[link2|Re: Exporting data from table to Excel in a particular format using BSP.]
[link3|download to excel in diffrent window]
With Regards,
SHARMILA BRINDHA.M -
Error When Create Shopping Cart from catalog SRM
Hi all,
Currently, I have problem need your help.
I tried to create an shopping cart from catalog. But I don't know how the G_L_ACCT was lost.
The information about account like this:
Now, I want to know where this data is selected. Would you please help me for this issue.
Extra Information: Acc_cat = 'A'.Dear Melynessa: normally you should not get this error message when flagging "Order as Direct Material" in SRM 7.0.
Please, check in your backend ECC6 if "Value updating" flag has been selected or not for the material type of your SC material ID under the IMG path "Logistic - General --> Material Master --> Basic Settings --> Materual Types --> Define Attributes of Material Types"
If field "Value updating" for material type is not flagged then, when creating a PReq or PO in SAP ECC6, you will get always an error message asking you for an account assignment.
Due to the circumstance above, in SRM, materials ID belonging to non-valuated material types should not be ordered as direct (flag order as direct is available always when you enter a material ID, even when it is non-valuated). If you flag the field "Order as Direct" for a non-valuated material, standard SRM system doesn't issue any error message. So, maybe, there is BAdi in your SRM system checking the "Value updating" for material type and avoiding "Order as Direct Material" flag being selected when it is a non-valuated material
Hope it helps.
regards
Valentí -
Create Shopping Cart from a Sales Order
Hi All,
Does anyone know if it is possible to create a Shopping Cart from demand driven by Sales Orders i.e. how to create a shopping cart from a Sales Order?
Please post any suggestion. I will reward all responses with points.
Thanks,
AshwaniHi,
Once the SC goes to Sourcing Cockpit,its status is already "APPROVED" .So you approval of SC is not possible.However you can have the approval process for PO (follow on doc).
See these very useful threads which explain different workarounds for your requirement:
Re: Carry Out Sourcing transaction in SRM
Re: Transfer SC to SRM trigger Workflow
BR,
Disha.
Do reward points for useful answers. -
Create Shopping cart - Enter company code error
Hi All,
While creating shopping cart from portal, system is throwing error as "Enter Company Code". When checked under basic data tab, there is no values for company code field. How to bring these values into SRM from ECC ?
Regds,
CBHi,
Please find the details...
i have taken this from System >> Status >> Component Information >>
SAP_ABA 701 0003 SAPKA70103 Cross-Application Component
SAP_BASIS 701 0003 SAPKB70103 SAP Basis Component
PI_BASIS 701 0003 SAPK-70103INPIBASIS Basis Plug-In
ST-PI 2008_1_700 0000 - SAP Solution Tools Plug-In
SAP_BS_FND 701 0002 SAPK-70102INSAPBSFND SAP Business Suite Foundation
SAP_BW 701 0003 SAPKW70103 SAP Business Warehouse
SAP_AP 700 0015 SAPKNA7015 SAP Application Platform
SRM_PLUS 700 0002 SAPKIBK202 SRM_PLUS for mySAP SRM
SRM_SERVER 700 0002 SAPKIBKV02 SRM_SERVER
SRM_EXPL 700 0002 SAPK-70002INSRMEXPL SRM Extended Functionality for SRM_PLUS including PPS
SRM_EXT 700 0002 SAPK-70002INSRMEXT SRM Extended Functionality for SRM_SERVER including PPS
Regds,
CB -
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 -
How to attach files while Creating shopping cart using FM- BBP_PD_SC_CREATE
Hi
I am trying to create shopping cart from R/3 system using RFC calls to FM's BBP_PD_SC_CREATE, BBP_PD_SC_SAVE & BBP_PD_SC_COMMIT.
Also I have to attach files as we do in Standard SAP shopping cart creation process..
But I see a parameter IT_ATTACH to pass the attachments in the FM - BBP_PD_SC_CREATE..Is that the right one to use? If yes, can you suggest the values to be passed in the same if you have done this before..
Thanks
Geetha
Edited by: GEETHA VASUDEVAN on Apr 20, 2009 6:17 PMHi
I am trying to create shopping cart from R/3 system using RFC calls to FM's BBP_PD_SC_CREATE, BBP_PD_SC_SAVE & BBP_PD_SC_COMMIT.
Also I have to attach files as we do in Standard SAP shopping cart creation process..
But I see a parameter IT_ATTACH to pass the attachments in the FM - BBP_PD_SC_CREATE..Is that the right one to use? If yes, can you suggest the values to be passed in the same if you have done this before..
Thanks
Geetha
Edited by: GEETHA VASUDEVAN on Apr 20, 2009 6:17 PM -
Create Shopping cart (or PO) in SRM/EBP from a flat file
Hi all
I am looking for a function module or BAPI or any program that i can use to create shopping cart in SRM from a flat file.
Is there a way to set up a break point in ITS transactions that are used to create shopping carts through portal? Can we debug HTML templates?
If any one knows how to do any of those please let me know.
Your help is greatly appreciated.
Thanks
SreenivasHi,
You would get better response for your question from
Internet Transaction Server (ITS)
Regarding your question about break point. yes it can be done.
Regards
Raja -
Including a field from a catalogue in 'create shopping cart' display screen
Hi all,
I am new to SRM, and i am faced with the following situation:
I need to include a field called 'supplier part number'(found in the MDM catalogue screen) in the display for 'Create Shopping Cart' screen. The field can be viewed in the detailed display for an individual item, once the item's details are fetched from the catalog; But now i need to include this field as an additional field corresponding to all the items listed in the normal display for 'Item overview' instead of selecting an individual item (from the 'item overview') and then checking its 'detailed display' . can you please give me any leads like - where i could possibly do the changes in the webdynpro component ( in my case it is ' /SAPSRM/WDC_UI_SC_DOTC_BD'; view - 'v_sc_dotc_basic') and any other details that can help me.
Regards,
Abhinay.Dear Poster,
As no response has been provided to the thread in some time I must assume the issue is resolved, if the question is still valid please create a new thread rephrasing the query and providing as much data as possible to promote response from the community.
Best Regards,
SDN SRM Moderation Team -
Adding a field from a catalogue in 'create shopping cart' display screen
Hi all,
I am new to SRM and i am faced with the following situation:
I need to add a field called 'supplier part number' to the 'create shopping cart' screen from the MDM catalogue. Once the entries for the field 'supplier part number' are fetched from MDM catalog, they must be displayed corresponding to every line line item displayed under 'item overview'. Currently the entry for 'supplier part number' for a given item is displayed in the 'detailed display' tab observed after clicking on the line item under consideration. But, I need to add this field to the items list under 'item overview' rather than restricting it to detailed display tab alone.
in my case the webdynpro component associated with adding item details from MDM catalogue is '/SAPSRM/WDC_UI_SC_DOTC_BD' and the view is 'v_sc_dotc_basic'. I am not able to locate the method/section of code that is responsible for fetching the entries in the field 'supplier part number' from MDM CATALOG to the item overview screen.
can you please give me any leads like - where i could possibly do the changes in the webdynpro component and any other details that can help me add the 'supplier part number' field to details under items overview tab.
Regards,
Abhinay.Hello,
Have you tried to add this field using the Catalog UI configuration tool?
The URL for the tool should be something like
http://adress:port/webdynpro/dispatcher/sap.com/tcmdmsrmcat~uisearch/MDM_SRM_UI_App?x -
Error while creating shopping cart
HI All,
While creating shopping cart by 3 step procedure, I am getting the error as below
Error when processing your request
What has happened?
The URL http://atlsapsr6.ananthtech.com:8000/sap/bc/gui/sap/its/bbpsc02/~flNUQVRFPTIzNjYxLjAwMy4wMi4wMQ== was not called due to an error.
Note
The following error text was processed in the system SR6 : Incorrect status in pricing
The error occurred on the application server atlsapsr6_SR6_00 and in the work process 0 .
The termination type was: RABAX_STATE
The ABAP call stack was:
Function: BBP_PD_ABORT of program SAPLBBP_PDH
Form: ABORT of program SAPLBBP_PDPRC
Form: PRC_MAINTAIN_SINGLE of program SAPLBBP_PDPRC
Function: BBP_PDPRC_UPDATE of program SAPLBBP_PDPRC
Form: PRC_UPDATE_CALL of program SAPLBBP_PDIGP
Form: PRICE_AND_VALUE_DETERMINE of program SAPLBBP_PDIGP
Form: SC_ITM_CHECK of program SAPLBBP_PDIGP
Form: ITMPROC_CHECK_AND_ENRICH of program SAPLBBP_PDIGP
Form: ITMPROC_MAINTAIN of program SAPLBBP_PDIGP
Form: ITMPROC_F_CREATE of program SAPLBBP_PDIGP
and While creating shopping cart by 1 step procedure, I am getting the error as below
2 Messages
No approval workflow found. Inform system administrator
You have exceeded your purchasing budget by 10,00 INR
Please suggest what to be done,
Advance thanks
SATYAhttp://help.sap.com/saphelp_srm30/helpdata/en/4e/1d74eff196d64e880fd28d41d4502b/content.htm
The budget is defined in the SAP Enterprise Buyer System and does not originate from FI/CO.
You can save the purchasing budget in various objects in the system:
§ User (Transaction SU01)
Tab Personalization ® Personalization object BBP_USER_BUDGET:
Here you define the amount, currency and validity of the purchasing budget.
A budget defined here has the highest priority and is called in every case.
§ Role (Transaction PFCG)
As under User (above).
Each user that is assigned to this role has the budget of this role.
This budget is subordinate to the budget assigned to a user.
§ Organizational Plan (Transaction PPOMA_BBP)
Organizational Unit ® Extended Attributes ® Purchase Order Limits ® User Budget:
Here you define the amount, currency and validity of the purchasing budget.
This budget is subordinate to the budget assigned to a user.
If budgets have been defined both for the role and for the useru2019s organizational unit (and none for the user himself), then the budget with the highest value is used. -
Attach doc from external content server- using Generic Object Service (GOS)
Dear All,
i have intergrated an external content server to SAP using SAP archive link. All the scanned document are there in Content server and corresponding entries are done in SAP.I can search and view document using tcode : OAAD
Please tell me steps for "how to attach a document from external content server using Generic Object Service "
Scenario is : For example when we change any Master records or create a new PO, or do some financial transaction then i need to attach the supporting document which is there in my content server connected to SAP.how do we manual attach a Document in SAP using GOS.
Do we need to do some special configuration to use GOS .please give the steps from initial.
Thanks
sandeepHello,
Check your configuration of document type assignement to required business document - object type, Archivelink table, content repository in OAC3 transaction.
Goto respective business document > Click on GOS > Create > Store business document - Here you can see defined document type with desctiption. Double click on this the assign your document to this business document. Save it.
This will help in attaching the document to your required business document.
To verify you can check the archivelink table or by transaction OAAD.
Hope this will help you.
-Thanks,
Ajay -
How to deactivate/ignore R/3 info records when creating Shopping Cart?
Hi all and thanks for reading...
We have the requirement of ignoring/deactivating R/3 info records when creating Shopping Carts SRM , so that no Vendor is proposed in transactions BBPSC01/BBPSC02.
At the moment, when info records exist in backed, system is proposing vendor and other data and we want them to be completely ignored, both in classic and extended classic scenarios.
How can we accomplish that? Is it possible to use BBP_SOS_BADI or is this BADI only valid for SRM local sources of supply?
Has anybody had the same problem and solved it before?
Thanks in advance for your help, regards
DavidHi David
Inforecord is only source of supply for classic scenario only.
Find and Check Sources of Supply
Use
With the Business Add-In BBP_SOS_BADI, you can search for and check sources of supply according to your own rules. These sources of supply include contracts, vendor list entries and product linkages. For this, the customer fields of the shopping cart or purchase order are transferred to the BAdI.
Standard settings
The BAdI provides the following methods:
1. BBP_SOS_INDEX_UPDATE_CHECK
Use: Check and update contract items in the source of supply table.
2. BBP_SOS_SEARCH
Use: Search for sources of supply according to your own rules.
3. BBP_SOS_CHECK
Use: Check and filter the sources of supply found by the standard search according to your own rules.
4. BBP_SOS_PD_CHECK
Use: Carrying out your own additional checks when creating a shopping cart document item with an assigned contract.
Activities
Implement the BAdI if you wish to determine or check sources of supply according to your own rules.
See also
Implementation
As prasanna mentioned - do you want disable both sides or only one side .
Muthu -
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 -
Connection Timed Out while creating Shopping cart
Hi,
When i am creating a shopping cart and click on the cost assignment tab i am getting a time out error. Find the error message below, i am able to open other tabs and able to create the shopping cart also. Please let me know what would be the issue with.
400 Session timed out - please log in again
Error: -11
Version: 7000
Component: ICM
Date/Time: Wed Mar 04 13:24:47 2009
Module: icxxthr.c
Line: 1705
Server: srv215_EBD_00
Error Tag: {-}
Detail: Session does not exist
Rgds
GGLYou would need to define secondary RFC Destination. Follow these steps to the end.
1.Create a secondary RFC user and an authorization in the backend(ECC)
1a)In Transaction SU01, create a new user (on the 'Logon data' tab,
you should select user type 'Dialog' or 'Service').
1b) Call Transaction PFCG for the role maintenance and create your own
role.
1c) In the role, select the 'Authorizations' tab and and choose the
button to change the authorization.
1d) Do not select ANY template on the dialog box.
1e) Choose 'Manual' ; then enter authorization object S_RFC and confirm
the entry.
1f) Expand the authorization object and choose the pencil symbol for
the 'Name of RFC to be protected'.
1g)Choose the pencil symbol for the 'Type of RFC object to be
protected', select the 'Function group' checkbox and save the
change.
1h)Generate and save the authorizations. Then return to the role.
1i)On the 'User' tab, enter the user you have created and carry out a
user comparison.
2. Define an secodary RFC destination in SRM server with the RFC user you have created
3. Supplier Relationship Management -> SRM Server -> Technical Basic Settings -> Define Backend Systems
In the Logical system entry of your backendsytem :Enter the secondary RFC destination into RFC(Dialog) field of the
4.Also make sure that the end user(Person creating shopping cart) has authorization object M_BBP_SHLP.
Let me know if this helps.
Thanks,
Surya
Maybe you are looking for
-
Box not working, told must wait 12 days for engine...
I have a very old BT Vision box and over the last few weeks it's been slowing dying. At least three times it completely erased all the recordings saved. We would re-set it to factory settings and just carry on using it, but after about a week it wo
-
I upgraded to lion and many software didn't work. Downgraded back to snow leopard and now my initial login page Is asking for my password. I put it in, but it's not working. Possible I have forgotten the correct one considering in think the last time
-
Mapping Multiple Nodes ?
Hi Guys, Request Structure - Node - occurs 0 - unbound Target Structure - Node - occurs 0 - unbound If there are 3 transactions coming from the reguest structure then i need to generate only 2 node structures on the target side. can anybody expla
-
Photo subject cut off in Apple TV
I use Adobe Photoshop to manage my photos before having them sync'd to Apple TV. In many cases the subject of the photo is cut off (heads, etc) when i display them via Apple TV. Yet in screen saver mode they display just fine. Would this having anyth
-
a window pops up when i click on photoshop saying that some of the application components are not found and it asks me to to reinstall. how do i reinstall it?