cancel
Showing results for 
Search instead for 
Did you mean: 

No Items are available; perform a search to add an item for My Shopping Cart

former_member213400
Active Participant
0 Kudos

hi folks,

we are implementing the SRM Fiori apps, in this My Shopping Cart app ended with "No Items are available; perform a search to add an item" message.

I have checked in browser console no error found in that.

even am trying to search in Products search bar, still no data is loading in the app.

Can you please suggest me?

Thank You in advance.........

Regards,

Kiran.

Accepted Solutions (0)

Answers (6)

Answers (6)

leilane_castro
Explorer
0 Kudos

Did anyone solved this issue? I am facing the same thing.

Former Member
0 Kudos

I Kiram.

Now we have April and I'm facing the same problem right now. I hope you have found a solution in the meantime.

Kind regards.
Gil

Former Member
0 Kudos

After that also you are not able to see the data?

What you did till now.

Did you implement TREX?

Let me know your step , so that i can give you proper solution.

Thanks,

JP

former_member213400
Active Participant
0 Kudos

Hi Experts,

I had debugged the My Shopping Cart app, here is the details

Class : /SRMNXP/CL_DATA_ACCESS_BASE

Method is

  lo_runtime->get_entityset(

     EXPORTING

       iv_entity_name           = iv_entity_name

       iv_entity_set_name       = iv_entity_set_name

       iv_source_name           = iv_source_name

       it_filter_select_options = it_filter_select_options

       it_order                 = it_order

       is_paging                = is_paging

       it_navigation_path       = it_navigation_path

       it_key_tab               = it_key_tab

       iv_filter_string         = iv_filter_string

       iv_search_string         = iv_search_string

     IMPORTING

       er_entityset             = er_entityset  ).


For DefaultUserSettings, please validate the user settings


ACC_CAT
CURRENCYUSD
PLANT1
BE_CO_CODE
BE_PUR_GROUP
BE_PUR_ORG
TEMP_CART_ID133
USERIDUSERNAME
TEMP_ID_CREATE
GUID0
FULLNAMEFul name of user
OBJECT_ID
REQUESTED_BYUSERNAME
DCPFMX
DATFM2
SHOP_ON_BEHALF_ENABLEDX
BE_LANGUE
CUSTOM_JSFILEP
FIELD_EXT_JSON[ { "VIEW_KEY":"Wi_common_miniSC_it", "SERVICE_NAME":"/SRMNXP/SHOPPING_CART", "ENTITY_NAME":"ShoppingcartItem"}, { "VIEW_KEY":"wi_common_miniSC_hd", "SERVICE_NAME":"/SRMNXP/SHOPPING_CART", "ENTITY_NAME":"Shoppingcart", "VFD":[ { "FIELD_NAME":"TEST", "CONT

OTHER_TXT_JSON{"Wi_home_assist":"Product Details","Wi_home_catalogs":"Catalogs","wi_home_oTemp":"","wi_home_oTrack":"My Carts","wi_home_search":"","wi_home_slists":"My Favorites"}

ADV_FEATURES{"S_PCAT":"X","S_CRCP":"X","S_CFTL":"X","S_CF_L":"X","S_SVTL":"X","S_SV_L":"X","S_PRC":"X","S_PREL":"X","S_RADR":"X","S_DPLK":"X","S_SRIT":"X","S_TMPL":"X","BE_F4_HELP":"X"}

CUSTOMIZ_SW_STATUS_ALL{"SRMNXP01_FP01_GNRL_ENHMT":"X","SRMNXP01_FP02_GNRL_ENHMT":"X","SRMNXP01_FP03_GNRL_ENHMT":"X","SRMNXP01_FP03_THEMING":"X","SRM_701_SHIP_TO_ADDRESS_SC":"X"}

ADV_CUST_STATUS{"1":"X"}
PROD_CAT_OPTIONSTD_PC
SYS_LOG_OPTION
VIEW_CONF_JSON
HELP_SUP_JSON


For CATALOG_ITEM,

in this am getting one error, error is "Error, the resolved search scope is empty" in below method

        CALL METHOD lo_trx_srh_instance->get_search_result

          EXPORTING

            iv_template_id       = 'SRMNXP01~STANDARD~SRMNXP02_CATALOG~'

            iv_srch_key          = lv_srch_str_s

            iv_prod_cat          = lv_prod_cat

            iv_search_type       = 'SRCH_RESULT'

            is_paging            = ls_paging

            iv_fuzzy             = lv_fuzzy

            it_attributes        = lt_attributes

            ir_composite         = lr_composite

          IMPORTING

            er_data              = lr_data

            et_messages          = et_messages

            ev_hits              = lv_hits

            ev_attr_search_scope = lv_attr_srch_scope.

at the end of the method there is code as below

TRY.

       lo_responses = lo_request->search( iv_count_only = lc_count_only ).

     CATCH cx_esh_if_engine INTO lx_esh_if_engine.

       lv_message = lx_esh_if_engine->if_message~get_text( ).

       EXIT.

   ENDTRY.

   CALL METHOD me->get_response

     EXPORTING

       io_responses = lo_responses

     IMPORTING

       er_data      = er_data

       ev_hits      = ev_hits.



once courser get into the "TRY" its exit from the program its not at all executing the "get_response" method.


I guess from the "get_response" method data is pulling.


and still we are researching, i will update if i get any key point.


please guide me if you already fixed or if you have a known solution for the issue.


Regards,

Kiran.

former_member213400
Active Participant
0 Kudos

Error Name is "Error, the resolved search scope is empty"

former_member213400
Active Participant
0 Kudos

i for got to inset my Search Customizing settings, please find the image.

please validate and guide me.

Thanks in advance.

former_member213400
Active Participant
0 Kudos

Hi Folks,

Thank you for the reply Laurent.......

here is quick update MDM & TREX not mandatory because our client not having any master data management and they dont need cross catalog search.

And am going through central OSS note which is shared by you, as of now what i noticed is i found the correction notes which are related to SP01 and SP02 but my system is in SP07.

Coming to main point as i mentioned in the discussion we are implementing SAP SRM Fiori apps, Approve, Track & My Shopping Cart.

here is Track Shopping Cart app is displaying with data remaining two apps are not displaying any data.

experts please guide me, i need your help.

Regards,

Kiran.

Former Member
0 Kudos

Kiran VK wrote:

...

Coming to main point as i mentioned in the discussion we are implementing SAP SRM Fiori apps, Approve, Track & My Shopping Cart.

here is Track Shopping Cart app is displaying with data remaining two apps are not displaying any data.

The solution for the problem with the Approve App was quite simple. If you have a look at the help documentation:

Approve Shopping Carts - SAP Fiori principal apps 1.0 for SAP SRM - SAP Library

You will find the following information:

Define Task Types for Approve Shopping Carts

You find this setting in Customizing (SPRO) for Supplier Relationship Management under SRM Server -> Define Task Types for Approve Shopping Carts.

Have also a look at note 2132711

You will find the correct value here. ('TS40007952')

After doing this our Approve app works. But we still have to do some research with the catalogs for the shopping cart app.

Former Member
0 Kudos

Hi Gil Ritte,

Please tell me where are you till now in My Shopping Cart app, i have implemented this app and I can help you if you can tell me what you did till now.

Thanks,

JP

Former Member
0 Kudos

Jay Prakash Singh wrote:

Hi Gil Ritte,

Please tell me where are you till now in My Shopping Cart app, i have implemented this app and I can help you if you can tell me what you did till now.

Thanks,

JP

Hi JP,

First of all I have to say that I'm just the Fiori guy. I have only limited access to the SRM system and most of the time I have to ask the SRM team for information or changes.

From the following note ( http://service.sap.com/sap/support/notes/1911004 ) we used the cooking book document "SRM UI Add-on Config cookbook V5.2.3-min.pdf". The SRM team told me that they have completed chapter 1. But they are still investigating chapter 2.

The Webdynpro applications works. If I use our test user I can see 5 shopping carts. But If I use the Fiori app with the same user I just get an empty app "No positions available …"

Kind regards.

Gil

Former Member
0 Kudos

Hi Gil,

Chapter 2 is very important to implement the my shopping cart fiori app.

Thanks,

JP

Former Member
0 Kudos

Hi Kiran,


If you are not using MDM also you need to have TREX.


TREX is must to implement my shopping cart fiori app.


so if you are not using MDM and cross catalog search then in case MDM will not require to you.


You will need.


1. MDM ABAP API ( In order to access catalog extractor becuase you are going to extract product master data into stagging table.)


2. TREX , It require becuase it takes data from SRM stagging table.


After that you will done with the my shopping cart.


Thanks,

JP

former_member213400
Active Participant
0 Kudos

Hi

can you please guide us, we have short notice of time.

if you need any details from my end please let me know.

Thank you,

Kiran.

Former Member
0 Kudos

Hi Kiran,

Please follow below PDF in order to implement the my shopping cart.

You will not be able to see all these feature untill you will install mdm abap api.

Also please go through SAP SRM User Interface Add-On 1.0 coockbook.

You have to follow 2 Enable Cross-Catalog Search till end except implementing BADI.

After doing this please let me know i will guide you.

You need to do below Task.

1. Install TREX

2. Install MDM ABAP API.

3. Create RFC between TREX and SRM

4. Create RFC between MDM and SRM

5. After installing above component you will be able to run transaction MDMAPIC( for the value see cookbook)

Do above thing and let me know.

Thanks,

JP

Former Member
0 Kudos

To download PDF see note 1911004

former_member213400
Active Participant
0 Kudos

Thank You for spontaneous reply.......

Sure after done these steps i will let you know Jay.

former_member213400
Active Participant
0 Kudos

Hi Jay,

As per your guidelines am following the  SAP SRM User Interface Add-On 1.0 coockbook SP01.

And we had discussion on MDM and TREX. i need to know about these two.

Jay we really required these Two installations to be happened?. for basic Shopping Cart app and to show basic data in the app, not only My Shopping Cart but also Approve & Track Shopping Cart.


Thank you Jay......


Regards,

Kiran.

former_member213400
Active Participant
0 Kudos

Hi Masa,

I need your help, can you please guide me.

If we want to Implement just(Just means Not full fledged functionality, i just wanted to load the apps with data) Basic SRM Fiori apps do we really required TREX & MDM?

it is not my query, one of my client is asked.

Thank you in advance......

Regards,

Kiran.

laurent_burtaire
Active Contributor
0 Kudos

Hello Kiran,

all necessary informations are available on the market place:

1rst point of OSS note 1974343 - FAQ note for Fiori My Shopping Cart app

MDM is not mandatory (it depends on your customer if he has or not internal catalogs), butif it exist in the system landscape, you will have to installe the MDM API.

For TREX, it is mandatory as you can create your SC only using Catalog Cross-Search.

For more details, check OSS note

1986290 - General Information Note: SAP Fiori My Shopping Cart app for SAP SRM 1.0

Regards.

Laurent.

former_member213400
Active Participant
0 Kudos

Hi  Laurent,

As per your inputs i gone through that, but still am not able to get the conclusion.

if MDM and TREX not mandatory, is that cookbook configuration(1911004) is enough  to run the simple and basic My Shopping Cart app? or anything need to be done?.

Please guide me.

Thanks in advance.

Regards,

Kiran.

Former Member
0 Kudos

Hi Kiran,

What is your issue please tell.

Thanks,

JP

saurabh_vakil
Active Contributor
0 Kudos

Hi Kiran,

Check if this helps - https://scn.sap.com/thread/3793420

Regards,

Saurabh

former_member213400
Active Participant
0 Kudos

Hi Saurab,


Thank You for the reply....

I gone through the thread which is shared by you, in the thread he said some issue with the MDMAPIC.

i tried as a tcode in SRM system it is saying that does not exit.

@ Jay Prakash,


Can you please explain what need to be done, or else if there is any document related to this issue please kindly share with us.


Thank You,

Kiran.