How to call Call shopping Cart
Hi experts ,
I have requirement where in one custom developed (Z/Y)webdynpro component offers users a Link ( Link to action ) This link should open the SAP shopping cart in SRM 5.0 Custom developed webdynpro component is also in SRM5.0
Please provide hints or solution how proceded ?
Thanks in advance
Badarinarayan patil
Hi ,
U can do this in two ways .
First ,
U can use OBN to call the SC screen by providing below parameters ,
CALL METHOD wd_comp_controller->m_portal_manager->navigate_to_object
EXPORTING
system = navigation_data-system
object_type = navigation_data-object
operation = navigation_data-operation
business_parameters = lt_parameter_table
resolving_mode = 'USER_SET_OF_ROLES'.
Second ,
U can call LAUNCH_TARGET to call the SC url .
CALL METHOD LO_NAVIGATION_SERVICE->LAUNCH_TARGET
EXPORTING
IV_TARGET_TYPE = /sapsrm/if_ch_wd_navi_serv_c=>gc_target_type-url
IS_URL_COMPONENTS = ls_url_component
Regards,
Kalpana
Similar Messages
-
BAPI_SCEC_CREATE - how to get the shopping cart to go to our workflow
Dear experts,
When a shopping cart is created using BAPI_SCEC_CREATE, it will get approved automatically. We want the shopping cart to go through our approval workflow. Is there any way to achieve this? I saw threads on similar question but there's no solution. It seems to be related to Sourcing relevant indicator (SOURCE_REL_IND) in table BBP_PDIGP. I've tried executing BAPI_SCEC_CREATE followed by BAPI_TRANSACTION_COMMIT and then BBP_PDIGP_DB_DIRECT_UPDATE to reset the SOURCE_REL_IND. However, it didn't work.
Does anyone know how to get the shopping cart created by BAPI_SCEC_CREATE to go to a workflow?
Thanks,
LaraHello Lara,
When a shopping cart is created using BAPI_SCEC_CREATE, it will get approved automatically. We want the shopping cart to go through our approval workflow. Is there any way to achieve this?
Have a look at SRM article below:
[Enable SRM Workflow for External Purchase Requisitions|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/5082a622-7310-2c10-1a9b-ef31dd69a770]
It seems to be related to Sourcing relevant indicator (SOURCE_REL_IND) in table BBP_PDIGP.
Check your customizing:
(in SRM 7.0) SAP Supplier Relationship Management > SRM Server > Sourcing > Define Sourcing for Product Categories
Depending on product category you used when creating your SC, its items are relevant or not for Sourcing.
Regards.
Laurent. -
Can anyone advise on how to get a shopping cart on iweb please
can anyone advise on how to get a shopping cart on iweb please
I would suggest using Pay Pal. If you sign up for a free business account you can use the merchant services to set up buy now buttons, add to cart buttons, and the shopping cart. The only draw back is that your can't customize the look to match your site. I would use pay pal for two reasons, people know and trust them and its much cheaper than having your own merchant account. Good luck
-
Advice please on how to add a shopping cart in iweb
Hi
I am going to re-vamp my iweb created website and was wondering if anyone could advise me on how to add a shopping cart please, and which one would you suggest...? Paypal...?
I use GoDaddy to host my site and publish through MobileMe.
Also, bit of a two part question.... Can I use simpleviewer on my iweb created site... is it compatible...?
I would like to go with iweb but may consider other options if this is not possible..
Thanks for any help
Gerry....Sorted...
-
How to navigate to Shopping Cart Web Dnypro Component in SRM 7.0?
Hello guys , I have one requirement like this, we develop on custom web dynpro to show exist shopping cart status, and we want to add link to shopping cart number, When user click link, open new IE window to show shopping cart infomation.
How could I navigate to standard shopping cart web dynpro component? I found some codes on navigate to another component, But SC component is based on FPM OIF , Any one could provide some suggestions?
Tks.thank you for the link.
I open the new window with shopping cart details with the following code:
data lr_componentcontroller type ref to ig_componentcontroller .
data l_api_componentcontroller type ref to if_wd_component.
data lr_port_manager type ref to if_wd_portal_integration.
lr_componentcontroller = wd_this->get_componentcontroller_ctr( ).
l_api_componentcontroller = lr_componentcontroller->wd_get_api( ).
lr_port_manager = l_api_componentcontroller->get_portal_manager( ).
* Add the SC guid as parameter
ls_launch_par-key = 'sapsrm_boid'.
ls_launch_par-value = <MY_SC_GUID>.
append ls_launch_par to lt_launch_par.
* Go to Shopping cart details screen
call method lr_port_manager->navigate_absolute
exporting
navigation_target = 'OBN://BOSystemAlias=SAP_SRM/BOTechnicalName=sc/Operation=detailprof'
navigation_mode = if_wd_portal_integration=>co_show_external_headerless
launcher_parameters = lt_launch_par. -
How to jump into shopping cart from ERP
Hi All,
I am working on utilities report in SRM server, If I execute the report the shopping cart per product will display at the output in ALV.
If I click on the Transaction number the needs to Jump into shopping cart.
Could any one please suggest me how to do this requirement.
Thanks and Regards,
PrabaHi Praba,
It might be best to provide details on where you currently are with this project, i.e. is all you are looking for the WD Component to call to open shopping cart status or do you already have this but calling it results in runtime error or similar?
It is very important to include all the details rather than asking something like 'suggest me how to do this requirement', this indicates to the general community that you have not even tried yourself to do this and if the issue is that you are unable to code such a task then you should raise a thread in the relevent ABAP forums.
Regards,
Jason -
How to create a shopping cart which will be in saved state
I am creating the shopping cart using the standard function module BAPI_SCEC_CREATE. After the shopping cart creation, I use the FM BAPI_TRANSACTION_COMMIT , so that the created shopping cart is committed.
Now , The problem is, if I create a shopping cart using the above process, it gets into awaiting approval state. What do i do to save a shopping cart rather than creating it. I mean to say, the state of the shopping cart should be saved.
And let me know the procedure to update an existing shopping cart which is in saved state.
Thanks,
Karthik Babu.
Edited by: karthik_pulluru on Jul 28, 2011 12:27 PMHi,
As per your suggestions, I am using BBP_PD_SC_CREATE FM to create my shopping cart. the shopping cart is being created in HELD state. But, the item details, partner details, account details and org data is not being inserted.
DATA iv_header type BBP_PDS_SC_HEADER_IC.
lv_header_ref = '1'.
lv_item_count = '2'.
iv_header-guid = 1.
iv_header-description = 'test for save cart'.
iv_header-currency = 'USD'.
iv_header-process_type = 'SHC'.
*ls header
ls_header-process_type = 'SHC'.
ls_header-currency = 'USD'.
ls_header-subtype = 'EP'.
ls_header-businessprocess = '1'.
*lt item
ls_item-guid = '2'.
ls_item-number_int = '0000000002'.
ls_item-parent = '1'.
ls_item-description = 'Deep Groove Lower Fuser'.
ls_item-product_type = '01'.
ls_item-category_id = '00106'.
ls_item-quantity = '1.000'.
ls_item-unit = 'EA'.
ls_item-gross_price = '39.0000'.
ls_item-price_unit = '1'.
ls_item-deliv_date = sy-datum + 1.
ls_item-be_stge_loc = '0001'.
ls_item-be_co_code = '1000'.
ls_item-currency = 'USD'.
ls_item-be_plant = '1000'.
ls_item-be_pur_group = '003'.
ls_item-be_pur_org = '1000'.
*****To be populated from Header Data
append ls_item to lt_item.
account data
data: ls_account type BBP_PDS_ACC ,
rt_account_data type BAPIT_ACC.
ls_account-p_guid = '2'.
ls_account-acc_no = '0001'.
ls_account-g_l_acct = '400000'.
ls_account-cost_ctr = '1000'.
ls_account-co_area = '1000'.
ls_account-profit_ctr = '1402'.
ls_account-acc_cat = 'CC'.
append ls_account to lt_account.
*bupa data
data:
ls_bup type BBP_PDS_PARTNER,
rt_bupa_det TYPE BAPIT_BUP_C.
ls_bup-parent_guid = 2.
ls_bup-partner_fct = '00000016'.
ls_bup-PARTNER_no = '0000000206'.
ls_bup-mainpartner = 'X'.
ls_bup-p_guid = '2'.
append ls_bup to lt_bup.
ls_bup-parent_guid = 2.
ls_bup-partner_fct = '00000075'.
ls_bup-partner_no = '0000000007'.
ls_bup-mainpartner = 'X'.
ls_bup-p_guid = '2'.
append ls_bup to lt_bup.
*org data
data: ls_org type BBP_PDS_ORG ,
rt_org_det type BAPIT_ORG_C.
**********Org
ls_org-proc_org_ot = 'O'.
ls_org-proc_org_id = '50000011'.
ls_org-proc_group_ot = 'O'.
ls_org-proc_group_id = '50000012'.
ls_org-p_guid = '2'.
append ls_org to lt_org.
data e_header type BBP_PDS_SC_HEADER_D.
CALL FUNCTION 'BBP_PD_SC_CREATE'
EXPORTING
I_REF_GUID =
I_BAPIMODE = 'X'
I_PARK = 'X'
I_SAVE = ' '
I_TESTRUN = ' '
I_HEADER = IV_HEADER
I_SRC_GUID =
I_SRC_OBJECT_TYPE =
IT_ATTACH =
IV_MSG_SCENARIO = ' '
IMPORTING
E_HEADER = e_header
ET_ATTACH =
TABLES
I_ITEM = lt_item
I_ACCOUNT = lt_account
I_PARTNER = lt_bup
I_CONFIRM =
I_LONGTEXT =
I_LIMIT =
I_ORGDATA = lt_org
I_TAX =
I_PRIDOC =
I_HCF =
I_ICF =
I_TOL =
E_ITEM = e_item
E_ACCOUNT = e_account
E_PARTNER = e_partner
E_CONFIRM =
E_LONGTEXT =
E_LIMIT =
E_ORGDATA = e_orgdata
E_TAX =
E_HCF =
E_ICF =
E_TOL =
E_STATUS =
E_MESSAGES = lt_message1
call function 'BAPI_TRANSACTION_COMMIT'.
I pasted my code here. pls tell m ewhere i went wrong.
Thanks,
Karthik Babu -
How to create a shopping cart in JSP?
I am creating an online product ordering system, How can i create a shopping cart in jsp? is there a way i can save a table containg itemcode, price, quantity in jsp? Can i save it using bean or session? please help me. thanks in advance.
Hello,
i want to create online shopping cart using html and JSP.
At first i want to create 1html page where login ad logup optios are provided. After his login, a JSP page containing 3 links namly T-shirts,Jeanspat and Formals is displayed.
After user select any of the link it must go to particular page.
There, option of color, size is provided.
And some 5 to 6 items are displayed with its pfxd prices.
And in the same page a cart is provided. Whe the user selects(clicks) any item the same must display in cart.
In the same page link to T-shirts,Jeanspat and Formals is displayed agaiT-shirts,Jeanspat and Formals is displayed agaiT-shirts,Jeanspat and Formals is privided again.
next page must show the items selected. And finally it must show the "thank you" page stating that your delivary will be delivered to you within 24 hrs.
Thanks in advance ,
sameer -
How to see "completed" shopping carts in Shopping Cart POWL?
Hi,
We are running SRM 7.0 SP 6 in Extended classic scenario. (And for some prod. cat. we run classic scenario)
Our issue is that we would like to have th possibility to display shopping carts, that has been completed (GR is made on the PO).
These are not visible in the Shopping Cart POWL from Standart SAP, how I make the completed SC visible in this POWL?
/BrianHi Brian,
I think the qucik criteria miantenance section does not have the criteria field "including completed shopping cart". Atleast it was not there in suppor pack 5.0 , could be a bug with SAP.
Alternative is to go to advance search and from there for SC you will have the criteria including completed SC option check that and you will get.
You can create your own Query from the template for SC and that have the option including completed shopping cart.
Cheers
Iftekhar Alam -
How to setup Multilingual Shopping Cart with same currency?
Hi Everyone,
I would like to ask if it is possible to setup a shopping cart where the prices for the products are staying in the same currency but the language of the cart is changed.
Example:
Setting up a shopping cart for a New York located Hungarian Bakery where we give an option to teh visitor to choose language.
Off course I will create 2 sets of pages for English and Hungarian but when they get to the point of buying a product
they will enter to the shopping cart catalogs, etc...
Since the store will only deliver to the United States, we have to keep the currency in $US, not to change to Hungary's official currency (Forint),
but I would love to change the language of the shopping cart text to Hungarian, example: Catalog>Cookies ideally changed to Katalogus>Sutemenyek.
Since the number of layouts for catalogs, product views and shopping cart are limited;
Should we use javascript to replace text everywhere where it occurs?
If we do this, How can you detect which languages where are currently using?
Another direction: Is Liquid Layout will suits better?
Liquid have limitations for the number of layouts?
Is Liquid become an official supported Alpha ever?
**I didn't started to experience on Liquid yet cause BC states that it is not recommended for production sites, only a Beta testing environment still...
thank you for all of you if you can take time and answer my questions for the benefits of all of us,
nova*
cvmweb.comLiam,
Thank You for caring to get back to me! You rule!
by the way, I have the jquery translator opened in another tab the results to Hungarian are funny though...
There is so much NO in BC land
Crucial things that BC supposed to address fast (i know that i am talking to myself here )
- more than one layouts for catalogs and products (is that so hard to scale this system)
**the time we are waiting for basic functions was enough to assembly a programmer team and build out the system
entirely, based on PHP and MySQL so we can join developers and make million useful plugins, widgets!
- add filters by tags to sort by price, weight, name, etc ...
- enable multiple shipping addresses
- add RMA functions (return merchandise)
- integrate with shipworks or make a plugin for BC so we can automate order processing, labels, tracking number postbacks...
I ran into something every week and the answer is always wait and not possible
nova*
www.cvmweb.com -
How to create a shopping cart URL to send it by email
Hi,
I need to set a shopping cart URL to be sent by email. Once it is recived by the customer, he should be able to open the shopping cart by clicking on it.
Any suggestion?
Cheers,
BeatrizHi,
What you could do is send the login link (link for the login page) in the email.Then the user can login into SRM and see the SC's.
For more clues for sending the login link,look up for the standard code of the program "RBBP_NOTIFICATION_OFFAPP"(SRM 5.0) or "RSWUWFMLEC"(SRM 4.0).
HTH,
BR,
Disha. -
How to delete approved shopping carts at header level in SRM 5 ?
Hi All
We are using SRM 5 (Classic Scenario) and we have a requirement in which we need to delete the approved shopping carts at header level. Here we are referring the case where SC lies in approved state in SRM but no PO generated in back end.
We assume that if PO has been created for SC then shopping cart can not be deleted at all.
I have seen advices like deleting approved shopping carts at item level but this would not suffice. As well we have seen that if we delete the SC at item level still SC shows complete value in header.
Please advise on this.
Regards
Pranay Gupta
+919711120111Hello,
As far as I know, cart can be deleted at header level when its status is held.
You can try to archive your carts, since item can be deleted.
Check the archiving criteria here:
http://help.sap.com/saphelp_srm50/helpdata/en/3c/f8f03bb8e88109e10000000a11402f/frameset.htm
And shopping cart archiving procedure here:
http://wiki.sdn.sap.com/wiki/display/SRM/ShoppingCartArchiving
Regards,
Ricardo -
Migration - how to cancel all shopping carts in process
Hello people,
we are migrating from EBP to SRM (another machine).
During this migration the users can access the EBP to check their old shopping carts, but could not change them.
I have create a role with BBPPU02 transaction only.
When the user tries to change a shopping cart (on hold), they receive a message informing they don´t have access to BBPPU03 transaction. Thanks ok.
My question is: is there a job to cancell all shopping carts in process? Those shopping carts on hold, or not authorized. I would like to set their status to something like "Cancelled". This way the user could not change anyway.
Do you know?
Thanks a lot!I decided to take off the profiles.
-
HELP - netpoint.api - how to get current shopping cart object by sessionid
Hi,
I need to retrieve the current shopping cart object (NPOrder) by sessionid on the webtools site when the user is not logged in yet. I have tried these code. But items get mixed up on different sessions.
NPOrder myCart;
NPPartPricingMaster PriceList;
string userID = ((NPBasePage)Page).UserID;
string SessionID = ((NPBasePage)Page).SessionID;
PriceList = new NPPartPricingMaster("WebPrice");
myCart = new NPOrder(UserID, SessionID);
myCart.AddPart(Request.QueryString.Get("AddPartNo").ToString(),
System.Convert.ToInt32(Request.QueryString.Get("Quantity").ToString()), "", "", PriceList,
Request.QueryString.Get("tbNote").ToString());
myCart.Save();
Thanks for help!
DavidHi David,
I'm not sure what is your im, but i think that you try to add new part. Problem is probably that you haven't got any cart in this situations. maybe you should create empty cart is this one doesn't exist.
NPOrder order = new NPOrder()
please provide more details (specially where you run this code, what version you running) of this not help you.
Greg. -
How to find out Shopping Cart created in backend system or ECC system
Hi All,
I am new to SAP SRM7.0. The Client has implemented "Extended Classic Scenario". i.e. SC>Approval>PO>Confirmation>Invoice process in ECC.
We created few SC with "Free text" i.e. Describe what you need option in SC.
The SC is created with 4 digit number 2690. Also, the Status " Approved". since its low value.say 5 GBP.
I have like 25 to 30 SC created like this: I need to know the following:-
1. When i open SC and look for Related document, i see only SC number , but no Follow on document. not sure why ?
2. How can i know the list of SC in backend system. i.e like ECC of the SRM backend system. Please let me know the table name it get stored.. I searched EBAN and found only those which has PO is stored.
also can you please advise if by creating the SC in SRM.. will get replicated in ECC system ?. or only if Follow on doc gets created it will get replicated in ECC system?.
Thx
MJHi,
SC is never replicated to backend.
Extended scenario document flow is SC -> SRM PO(Main) -> ERP PO(Copy).
Please go to BBP_PD transaction and navigate to SC item detail. You see what is the follow-on document.
Regards,
Masa -
How to find out Shopping cart no after creation PO from PDP
HI all,
Classic PDP Scenerio:
PR is transfered to SRM system and from thier i drafted the PO (Classic scenerio). However, once PO is created in the Backend system , how findout the related documents information (PO or SC) which is created from PR?
Thanks
HarishHi Harish,
Have a look at the following thread:
Re: Get the tracking number ( SC no) using PO in SRM
Hope this helps.
Thanks,
Pradeep
Maybe you are looking for
-
Error messages in Disk Utillity
Hello! We are getting the same error messages on three different machines. Im not able to find out what it means: Warning: SUID-file «System/Library/PrivateFrameworks/DiskManagement.framework/Versions/A/Resources /DiskManagementTool»has been changed
-
Unrecoverable disk space loss after failure in scanning
I am using a Mac Mini with HP C410a for scanning. The OSX verion is 10.7.1. Because HP has not provided the special driver for lion, I have to rely on the Scan function of OSX. The scanning process usually consumes huge volume of disk space. For
-
Unable to connect Forms, Reports to Personal Oracle8i
Hi everyone I have installed Oracle 8i Personal Edition on Windows 98, and I have installed Oracle Developer. I am unable to connect to the Oracle Database from either Forms or Reports to the Personal Oracle Database. I tried connecting using User :
-
I can not use iMessage or blue tooth since the upgrade to iOS7. My Apple ID is not being accepted, even with a restart and a password change. I am not receiving texts from others who are sending as an iMessage. How do I fix this?
-
I have reinstalled itunes multiple times but apple mobile device doesn't download. how can i fix this or download apple mobile device