Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Checking if system is retail?

Former Member
0 Likes
3,871

Well, i really wonder why i could find something about it here already.

But unfortunateley i get 0 results searching ALL forums for keyword retail.

I suspect i just do something wrong when searching.

Anyway, maybe someone can tell me a way to find out if a system is a retail system or not?

1 ACCEPTED SOLUTION
Read only

matt
Active Contributor
0 Likes
2,819

There was a problem over the weekend which meant that searches were not working properly. Seems to be ok now.

Moderator Message

These forums are for civil, professional discussions ony. If you have an issue with what someone has posted, then report to the moderators via the abuse reports.

matt

Well, i really wonder why i could find something about it here already.

But unfortunateley i get 0 results searching ALL forums for keyword retail.

I suspect i just do something wrong when searching.

Anyway, maybe someone can tell me a way to find out if a system is a retail system or not?

11 REPLIES 11
Read only

sjeevan
Active Contributor
0 Likes
2,819

You mean you want to find out whether your system is IS-Retail?

Read only

Clemenss
Active Contributor
0 Likes
2,819

Hi Florian,

usually users know if they use IS-Retail or not. To konow you may ask one.

OK, this is what I found after quick search of SCN:

The activation is controlled by the Switch Framework (see chapter

3.3.2). An industry solution corresponds to a business function set in this Switch Framework.

SAP Retail as industry extension is configured by activating the corresponding business function

set ISR_RETAIL (SAP Retail) in the Switch Framework.

Up to release mySAP ERP2004 the u201Coldu201D Retail Switch was used. This Retail Switch is very

simple from a technical point of view; itu2019s just a specific entry in a defined database table. This

database table entry can be evaluated in an applicationu2019s program to control the business logic.

The most prominent example is that the Article Master Data Maintenance transaction can only

be started in SAP Retail (see Figure 7). With release SAP ERP 6.0 the activation by the old

Retail Switch has been replaced by a business function set activation to be consistent with the

Switch Framework paradigm of activating industry solutions.

Simply said: Try to run MM42 Article Master Data Maintenance transaction - This works only in Retail.

Obviously your network or hardware or software was not up and running when you searched all forums for retail.

I got

Search Results » Messages : 203 - Search Terms: retail

And then, if you use the search field on top right of all SCN pages, you may find the Wiki (716), SAP Support Notes (133), eLearning (108) and and and...

It looks more straightforward and honest if someone says: Sorry I have not got the time and/or don't want to put any effort in searching or googling, so I just ask here.

Regards

Clemens

Regards,

Clemens

Read only

Former Member
0 Likes
2,819

Thanks Clemens,

well i in fact DID use the search funcion. I always do that cause this way i get faster to my desired knowledge than waiting for someone to answer my questions.

And yeah i really had expected a LOT of hits by searching all forums for just one word.

thats why i was wondering so much.

going to try that again.

And about asking users, nice idea, tho i need to fin it out at runtime.

I´m about to automatically append fields to certain structures. It´s just i have to append different structures in case of a retail system instead of having a non-retail system.

So yeah i really need to go for reading that switch you are talking about. But well i´ll try to find that by searching, hopefully it will work now.

I was using SDN the first time from my home computer maybe i got some restrictions there that prevents a sucessful search trying again tomorrow from work.

Read only

sjeevan
Active Contributor
0 Likes
2,819

This message was moderated.

Read only

Former Member
0 Likes
2,819

Hi

Try to check SAINT transaction in order to get out all addon installed in the system.

My system is AFS: I can see it there.

It seems (I've just given a look only) a good table can be AVERS or try to check fm OCS_READ_ADD_ON_PRODUCTS

Max

Read only

matt
Active Contributor
0 Likes
2,820

There was a problem over the weekend which meant that searches were not working properly. Seems to be ok now.

Moderator Message

These forums are for civil, professional discussions ony. If you have an issue with what someone has posted, then report to the moderators via the abuse reports.

matt

Read only

Former Member
0 Likes
2,819

Even tho my English aint bad, at least i thought so, i couldnt really understand what you wanted to tell me with your moderator message.

Did i do something wrong? If so please let me know so it wont happen again in future, since i really like these forums and i plan on using them regularily for asking and helping out if i can.

If you have a tip for to increase the qualitiy of my posts/questions, just shoot it, i´m quite open minded

Thanks again for listening and sorry for making trouble if someone felt so.

Read only

matt
Active Contributor
0 Likes
2,819

In my view, Florian, you did nothing wrong. Nor did the others in this thread, really. But it seemed to be a bit heated.

Read only

Clemenss
Active Contributor
0 Likes
2,819

Hi Florian,

I hope my comments were not too offending. Actually, I could not think of a situation where code would determine if a system is Retail or not - usually you know before coding because the retail switch will (or even can) not be changed after it is activated.

OK, if you want, you can do as MM42 does:

DATA: lv_retailsystem_ident
      TYPE REF TO if_ex_w_retailsystem_ident,
      lv_retailsystem TYPE wsfw_retailsystem_identifier.
CALL METHOD cl_exithandler=>get_instance
   EXPORTING
     exit_name                     = 'W_RETAILSYSTEM_IDENT'
     null_instance_accepted        = seex_false
   CHANGING
     instance                      = lv_retailsystem_ident
   EXCEPTIONS
     no_reference                  = 1
     no_interface_reference        = 2
     no_exit_interface             = 3
     class_not_implement_interface = 4
     single_exit_multiply_active   = 5
     cast_error                    = 6
     exit_not_existing             = 7
     data_incons_in_exit_managem   = 8
     OTHERS                        = 9.

 CALL METHOD lv_retailsystem_ident->retailsystem_identification
   IMPORTING
     pe_retailsystem = lv_retailsystem.

I think, SAP uses a badi here to allow override of the switch framework by implementing something user-specific. If you use the above technique, the flag lv_retailsystem (Space = 'No', 'X' = 'Retail') will tell you if it is a retail system or not.

Regards

Clemens

Read only

Former Member
0 Likes
2,819

perfect, thats it!

Thanks clemens, and no i wasnt really offended, tho i tried to rectify myself a bit

Read only

Former Member
0 Likes
2,819

Good one Clemens, thanks for sharing...

Regards, Vinod