Catalog items visible to everyone, purchaseable only for some users

Hello everybody
Me again trying to find a solution to the following problem:
We need to have some items in our catalog that are visible for every user but only purchaseable via shopping cart / SRM for some authorized users. I couldn't find any possibility in the customizing. So my attempt would be to add an additional attribute in CCM where I can put some kind of flag and then to construct an authorization check based on that flag and on a authorization profile. In case the authorization check fails, the catalog item may not be put in the shopping cart. Preferabily the shopping cart icon should be disabled for such items.
Did somebody out there already think about something similar or already implemented something like that?
It would also be a good basis for offering a publicly viewable, browseable catalog for "window shopping", because I also didn't find a way until now to publish the catalog as a standalone web application without shopping cart functionality.
What do you out there think about it?
Kind regards,
Renaud

Hi Christophe
Thanks a bunch for your great help! I could solved the problem and am now able to have some catalog items visible but only purchaseable for authorized users. This is what I've done:
1. Create a new authorization class (SU21)
2. Create a new authorization object within this class
3. Create a new authorization field within this object
Don't forget to save and quit the SU21 transaction and then reenter it (/nsu21) because only then you'll see your changes / additions... seems to be a "refresh-bug" in SU21.
4. Create a new role (PFCG) and an authorization profile containing the new authorization object. Assign the values needed.
5. Create a new attribute in CCM and assigned it to OCI cust_field5 (because this one is of type TEXT50)
6. Implemented some code in BAdI BBP_CATALOG_TRANSFER:
DATA: wa_et_sc_item_data  TYPE BBP_PDS_SC_ITEM_D.
DATA: wa_catalog_content  TYPE BBP_WS_OCI_ITEM_S.
DATA: lv_authorized       TYPE c.
DATA: lt_limtab           TYPE TABLE OF string.
DATA: wa_limtab(10)       TYPE C.
DATA: lv_message_v1       LIKE SY-MSGV1.
DATA: lv_message_v2       LIKE SY-MSGV2.
DATA: lv_message_v3       LIKE SY-MSGV3.
DATA: lv_message_v4       LIKE SY-MSGV4.
LOOP AT et_sc_item_data INTO wa_et_sc_item_data.
* Get corresponding line from transferred catalog data
  READ TABLE catalog_content INTO wa_catalog_content
                             WITH KEY line = wa_et_sc_item_data-number_int
                             BINARY SEARCH.
  IF sy-subrc = 0.
*   If field content for checking authority against is not empty...
    IF NOT wa_catalog_content-cust_field5 IS INITIAL.
*     Perform authority check
      AUTHORITY-CHECK OBJECT '<your auth.object here>'
                      ID     '<your auth.field here>'
                      FIELD  wa_tab.
      IF sy-subrc <> 0.
        MOVE wa_catalog_content-cust_field5  TO lv_message_v1.
        MOVE wa_et_sc_item_data-ordered_prod TO lv_message_v2.
*       Eliminate leading zeroes from product number
        WHILE lv_message_v2+0(1) = '0'.
          SHIFT lv_message_v2.
        ENDWHILE.
*       Output message
        MESSAGE ID     'ZXXX'
                TYPE   'W'
                NUMBER '000'
                WITH   lv_message_v1
                       lv_message_v2.
*       Remove item from SC
        DELETE et_sc_item_data.
      ENDIF.
    ENDIF.
  ENDIF.
ENDLOOP.
Interesting observation is, that when issueing the message with type = 'I' it does not condense the message text. With type = 'W' it does...
I also found out the reason, why the way via ET_SC_MESSAGES will not work: SAP <b>has hard coded</b> somewhere after the BAdI call the message id and message number... so no way to bypass this without a modification.
Kind regards,
Renaud

Similar Messages

  • Outlook asking for username and password, but only for some users

    Hello, I'm
    in an Exchange Server 2013 client
    environment, two CAS servers
    and two Mailbox.
    Some users are having trouble in Outlook 2007
    and 2012, which is directly
    requesting the user name and password, not all,
    just some.
    The Active Directory is ok,
    DNS and also own Exchange
    servers apparently do not see errors.
    Has anyone here ever experienced this?
    How can I solve this problem?
    As this happens only to some users
    and the vast majority have no problems, so
    difficult to find the cause.
    Thank you!
    Ivanildo Teixeira Galvão

    Hi Ivanildo,
    From your description, only some users have an issue that Outlook prompts for username and password. In your case, I recommend you compare the normal and problematic Outlook settings. Here is the Outlook settings in my environment for your reference:
    1. "Always prompt for logon credentials" isn't checked.
    2. Logon network security using Negotiate Authentication.
    3. "Connect to Microsoft Exchange using HTTP" is checked.
    4. Use the NTLM Authentication when connecting to my proxy server for Exchange.
    Hope this can be helpful to you.
    Best regards,
    If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Amy Wang
    TechNet Community Support

  • How to set a shared calendar 'read only' for SOME users in ML server

    I am setting up Mountain Lion Server and wish to set up a series of calendars to be used by a studio of approx 20 people - two calendars will show the kind of thing I'm trying to achieve.
    Calendar A shows appointments and meetings - it can be viewd and edited by all
    Calendar B shows who is taking leave and when - it can be viewed by all, but edited by only a small group of people
    What is the best way to set this up? On The earlier version of the server we had set up calendars on the server and delegated - this is not possible on Mountain Lion Server.

    I don't think you can do this strictly by personalization since you need to use SPEL, unless the attribute you will be using for the display to control readonly is already present in the VO. Basically you need to check a value, say Supplier, and have another attribute say readOnly, tthat is set to TRUE if the supplier equals your desired supplier and FALSE for all other suppliers.
    Regards,
    LC

  • Error 906 when getting InitialContext (but only for some users)

    I currently have an application where I'm attempting SSO. I'm obtaining the user's credentials using JAAS and then querying ADS with JNDI. All of our Java code is hosted through WebLogic 8.1. If I run the WebLogic process as a certain user, I can successfully authenticate and query ADS. However, if I run WebLogic as another ADS user, I get "Identifier doesn't match expected value (906)". This error occurs at the point that I attempt to obtain InitialContext (which means the intial authentication works). Anyway, these ADS users are in the exact same ADS group, and as far as I can tell, they have the same permissions. Is there something I'm missing? Thanks...
    Also, I have debug=true in my jaas.conf, but it only spits out basic debug information. Is there some way I can get full debugging?
    Terence

    I should probably let you know that I'm using WebLogic's JRockit 1.4.2_05

  • Unable to open attachments in WebUI only for some users

    Hello ,
    Can you please help with this attachment problem we have..
    Certain users are unable to open/view attachements in emails.
    This is causing huge downtime as the users work a lot on emails and attachments.
    1. Checked the profile of users who are able to open and who are not
    able to open and they appear same
    2. PC issue was ruled out as the user who was unable to open the
    attachment tried logging into the pc where user was able to open the
    attachment , but still could not open the attachment
    Can you please suggest what could be the issue.
    Thanks
    Regards
    Monica.

    Hi Monica,
    If the authorization check was not problems, and the problematic user tried in a same Internet Explorer with the same settings where another user can open attachments without problems, it's complicated
    I would tried to debug a little in the SAP system with the problematic user, trying to get some clues about it. I can point you:
    - The URL that is associated to an attachment is built on iterator class CL_CRMIC_ATTACHMENTS_IT, at method IF_HTMLB_TABLEVIEW_ITERATOR~RENDER_CELL_START. There you have a switch, and when the p_column_key is 'FILENAME', check the value for
    lv_row_ref->url. It should be something like this:
    /sap(<COOKIESTRING>)/crm/crm_att_provide?cid=<CONTENT_ID>&content_disposition=attachment
    - When you try to open the attachment, the class that will handle this is CL_CRM_ATT_PROVIDER. Check method IF_HTTP_EXTENSION~HANDLE_REQUEST and debug it's execution.
    Check if this helps you a little more...
    Kind regards,
    Garcia

  • Report Error only for some users - Unsupported RPL stream version detected: 101.116.1047292257. Expected version: 10.6.

    Hi,
    We have certain SSRS report  (which includes subreports) which
    many users are able to access, but
    some users cannot access- they get this error:
    "Unsupported RPL stream version detected: 101.116.1047292257. Expected version: 10.6."
    (We are not using SP integrated mode)(using SSRS 2008 R2)
    No problem in VS or on server when trying to run this report.
    User having this problem has the sam ewindows and explorer versions.
    Please advice
    Namnami

     have the user clear their temporary internet cache
    How? 
    Another detail- on the problematic user's computer if I run the explorer using my credentials, the report runs fine. 
    Thanks
    Namnami

  • Sharepoint Foundation - search working for some users (or computers), but not others

    Hi all,
    We have doozy of a search problem with SharePoint Foundation 2010 that I'm hoping someone can help with.
    We have an application that is listening on port 14197 and search is working just fine, but only for one or two users.
    If I do a search while logged in using the account we set the application up with then the search works fine and it returns records as expected.
    If I use a different account - one that has full control over the app, then the exact same search fails with the following message:
    We did not find any results for 06BSL.
    Suggestions:
    Ensure words are spelled correctly.
    Try using synonyms or related searches.
    Try broadening your search by searching from a different site.
    Additional resources:
    Get additional search tips by visiting Search Help
    If you cannot find a page that you know exists, contact your administrator.
    We've done everything we can think of, including several procedures to create new search accounts, replace databases, etc.
    Nothing has helped and all of the info we can find online is in relation to getting search working when it doesn't work at all.  In our case it is working, but only for some users.  We thought it might have been a permissions issue, but not matter
    what permissions we seem to give to test accounts they still don't work.  We've set up a test account, for example, that is a member of the 'application owners' group, but cannot produce any search results with it.
    The SharePoint Foundation server is running on Windows 2008 Server Foundation, with a separate SBS 2003 DC.  
    Any help most appreciated.

    Hi Alex, thanks for your response and apologies about the late reply - didn't realise someone had responded until now!
    Agreed that this looks like a permissions issue, but we're stumped as to what it could be.  The 'test' account displays this problem - if we try and search on 06BSL
    we get no results, but it does appear that this account has full control over this document (see below).
    Note that the 'Manage Permissions' page presents a comment 'This list item inherits permissions from its parent. (Customer QA & Product Management)' which is what we're
    expecting.
    The indexing schedule is set to 5 minutes. 
    Appreciate your help with this, as we've spent a huge amount of time on this problem but don't seem to be any closer to a resolution.
    Cheers,
    Damian
    Check permissions result (this result is the same for the list or for the document itself):
    Permission levels given to test (DOMAIN\test)
    Full Control
    Given through the "QA Application Owners" group.
    Design, Contribute, Read
    Given through the "QA Application Members" group. 

  • Team view data not getting refers for some user

    Hi,
    We are facing an issue in team view app for mss,  manager's are seeing details of employees not belonging to their Org Unit/ data not getting refreshed. This seems to be the Cache related issue where the data of perviously logged in user is displayed to the current user till browser cache are cleared manually.
    User don't have permission to clear browser cache. Is there any work around.The issue is coming only for some users.I have enable the 'ABAP HTTP Security session Enabled' property of the system used.
    Regards
    Pallavi

    Hi Karthik,
    in the first view I execute the BAPI and in the second view I show the results. In the second view I also submit the modified data via another BAPI.
    As I execute and display result of same BAPI in two different views I have bound the same model node to both of these views. Let me give you some sample code for understanding what have I done.
    In the first BAPI's search action handler I have written:
              Zsr_Packnr_Validate_Components_Input input = new Zsr_Packnr_Validate_Components_Input();
              wdContext.nodeZsr_Packnr_Validate_Components_Input().bind(input);
              input.addT_Version(new Zsr_Packnr_Field_Values());
              input.addT_Zsr_Genbr(new Zsr_Packnr_Field_Values());
    input.setZsr_Gmc(globalMaterialCode);
              input.setZsr_Mrc(mrc);
              input.setZsr_Ctry(country);
              input.setZsr_Dc(distributionChannel);
              input.setZsr_Div(commercialSegment);
    wdContext.nodeOutput_Validate().invalidate(); //as u suggested
              wdContext.currentZsr_Packnr_Validate_Components_InputElement().modelObject().execute();
              wdContext.nodeOutput_Validate().invalidate();
    In the second BAPI I just display the output node from the same Model context node (its mapped to the second view too).
    But as I said whenever I update some values in the result set and submit it the data gets submitted properly. But when I press the search button again, the previous set of data gets populated, not the just updated data.
    If anybody has some idea on why the second time search BAPI execution still shows the previous set of result it will be a great help to me.
    Thanks for all your help.
    Shubhadip

  • OBIEE access denied for some users only

    Hi All,
    we are using OBIEE 10.1.3.4 version on windows envorinment .The users can access the OBIEE reports using 'PORTALPATH' session varible in RPD.For some of the users are got "access denied" while they are accessing for thir particular dashboard.Eariler these user got access this dashboard with out any errors.We dnt changed in our system anything from last three months.
    We have no idea why we are getting these error for particular users only.Its Prod issue we need to reslove these error ASAP.
    we are getting these error"acess denied for user to path/shared/shared/_test/testdashboard
    Error Codes:09XNZMXB"
    but last one year its working without any issues .From our side we dnt did any changes in production like RPD level,Catalog level and config file changes , we have no idea why suddenly we are getting these kind of error for some users only not for all users.
    Could u please advice me how to reslove this PROD issueASAP.
    Thanks,

    Well its Prod (you have a dashboard called testdashboard in Prod?) anyway - someone might have changed the presentation catalogue permissions on the dashboard. All it takes is for someone to remove 'Everyone' or change a Group permission and it could effect.
    If they changed the Parent folder and cascaded the changes down this might cause this issue.
    You have a folder called 'Shared' - check the groups that the people are in have 'Traverse' , 'Read' or higher. Also chek dashboard permissions themselves from Settings-Manage Interactive Dashboards - Check the Padlock icon.
    Are you users getting allocated into the correct WEBGROUPS ? Is this assisngment done explicitly in the webcat or via an RPD Variable ? Have you checked NQQueryl.log to make sure any init blocks are completing successfully?
    Either persmissions have changed or group memebership is not completing.
    Good luck
    Alastair

  • Auto closing of dispute cases--only for some company codes

    Hi
    We have activated dispute management for several company codes in our system. The auto closing of dispute cases also has been activated in status management. Cases are automatically closed by the system (through a batch job) when the last disputed object is cleared.
    Now there is a requirement to deactivate auto closing only for some company codes. They want to close cases manually in these company codes.
    Is this possible and if so how?
    Regards
    Raj.

    You cannot deselect at a company code level.
    Can we go through you proposed process.
    So you have a dispute for $100.
    The customer pays it and the dispute closes.
    Then the customer calls up and says they have an issue with the invoice they paid previously.
    I have seen this happen before but there was a little twist
    1 - The customer raised a debit note against the client for the issue that they had. The original invoice is cleared but a debit note is created and then disputed and processed. So you can close the original dispute and create a new dispute against the debit note
    2 - The customer paid the wrong invoice. The dispute was closed. However to rectify the miss allocation the clearing document will be reversed meaning the dispute is "re-opened" and can be processed.
    I am unaware of any other requirement for a customer to "re-dispute" a paid item in SAP.

  • Edit password rules only for BCC user

    Hi all,
    our customer has requested some changes on the password rules only for BCC users.
    So, i should change the follow component:
    /atg/userprofiling/passwordchecker/PasswordMinLengthRule
    /atg/userprofiling/passwordchecker/PasswordMixedCaseRule
    /atg/userprofiling/passwordchecker/PasswordMustIncludeNumberRule
    /atg/userprofiling/passwordchecker/PasswordMustIncludeSymbolRule
    /atg/userprofiling/passwordchecker/InternalPasswordMustNotIncludeLogin
    /atg/userprofiling/passwordchecker/InternalPasswordNotInPreviousNRule
    But the component password rules above, should be changed only for the BCC users. How can i do this?
    Edited by: user7618461 on 30-set-2011 3.45

    Hi Christoph,
    in your Identity Store, you can use LDAP Server as authentification method (Tab Workflow). You need an attribute which contains the DN of the users and fill out port and host of your directory. That means that the PW can remain in the AD. Just try it, haven't used this possibility yet. You could also use Kerberos via AD instead. These scenarios don't cover your requirement that some might be without an AD account (which is not that common).
    Otherwise it's getting difficult again to get all passwords at once from your AD. You have to decrypt the passwords without a key...  AD could store a lower encrypted password for NT4, which makes this a bit easier, but still "unesthetic". You get these hashes via SSL and not with the common initial load jobs.
    The PW-Hook gets the passwords before they are set. That's why you could store and ecrypt the new passwords in the Identity Store and wait for 1 or 2 months till everyone had to change their password (if you use this policy).
    Best regards,
    Nils
    Edited by: Nils Sibold on Jul 18, 2008 3:10 PM

  • How do I add a new user to my account? But I wanna give him a special product (e.g. InCopy) only for some month...

    I am admin and I want to add a new user to my account. But as written above, I want that he/she will get this product only for some month and not for a whole year.
    Thanks for the help.

    Team license links that may help
    -manage your team account http://forums.adobe.com/thread/1460939?tstart=0
    -Team Installer http://forums.adobe.com/thread/1363686?tstart=0

  • Make UDF Read-only for all users

    Hi
    Can i use any script to make a UDF read-only for all users?
    i am looking at CPRF and CUFD Tables
    thanks

    Hi,
    You should never try updating system table directly.  That will against supporting policy by SAP.
    Thanks,
    Gordon

  • Need to give REVOKE CLOSE option in CO02 only for selective users

    Hello,
    Need to Restrict Revoke Close Option in Tcode CO02 (Under Functions - Restrict Processing - Revoke Close) through Role/Object Level.  Can any one suggest how to control this .    Need to give access for CO02 for 5 Users , but only 2 Users can able to do Revoke Close Option , other 3 Users should not able to do this activity.
    BR,
    Murali

    There is no authorization object as B_USERSTAT_T , but there is a authorization object as B_USERSTAT . I tried to create a Temporary Role and manually assigned this Object .  In this object there is no way to control REVOKE Close option . 
    But there is one way noted in Google to restrict Revoke Close option .
    1.Goto BS22
    2.Select the system status TEC0 (I0045) & just duble click it,
    3.Maintain the Revoke technical completion (BUTA) =Forbidd (not allowed),
    But if i set the above Parameter ,  this will restrict Revoke Option for all the users .  I need to control ONLY for selective users .  I can set some value in user data for those users  , based on that i can write some coding to restrict , but i want to know where to write this code ....  I tried in some area , but it never works.
    Can any one give some idea to fix this issue.
    BR,
    Murali

  • Latest update 3.3 only for lion users? total mess

    apple did a major step to indicate that aperture is no app for "pro"users. If it should be that it should support not only the latest system version!
    latest update 3.3 only for lion users? total mess.
    I will look for another solution. Sad.

    Hi,
    I was wondering if somebody could give me some guidance please?
    I bought an N73 in September after much research and a lot of deliberating, I decided to purchase one (via O2 in England) even though i had heard lots of unhappy people claiming the phone had ruined their life etc due to its software faults.
    I haven't updated my phone yet since buying it mainly due to being put off by the number of NEW problems the updates can cause.
    I dont have any major problems with my phone, its got a bit slower with time and the camera isnt very quick when uploading and sometimes switches off (but i think its to do with the slide mechanism on the back), anyway i would be grateful if you would give me your honest opinion as to whether i should upgrade to the latest firmware or not!
    Many Thanks
    Richie

Maybe you are looking for