Dynamic model access in WD

Hi,
We different system landscape. I have to call one BAPI from CRM system using WD model.
my requirements is when I use this application in EPD it has to be call CRD and when I use in EPT it has to be call CRT system without modifying any code in model.
Could you explain how it is possible.
Krishna.

When you import the BAPI the logon it asks you is only to fetch the list of BAPI's from the system. This is design time and is needed since you cannot access any data fromt he system without a logon.
At run time its the logon info from the JCO's which does the job of fetching data. Since you must be using SSO or User Mapping the logon credentials will be automatically be passed on to the backend system.
Thanks,
GLM

Similar Messages

  • How to create a model access class ???

    HI,
          Can somebody tell me how to create a Model Access Class. In the Application Set, i can find the Model Access folder, but it has a list of application sets which is already created and the system asks to select a Application set. I need to create a new application set. Please help.
    Regards,
    Shiny

    Hi Shiny,
    I would suggest you not to create a new application set.
    If you are enhancing a standard PCUI application, i would suggest you to create new model access classes and assign them to the same application set which is assigned with the standard model access class for that application.
    Creating a model access class can be done through the transaction SE24(like any other Z-class).
    Go to transaction CRMC_BLUEPRINT_C and you could assign this newly created Model access class to the standard application set. This can be done under Application Element->Application Set->MOdel Access Class.
    If you still feel the need to create a new application set altogether, it can be done from Trx CRMC_BLUEPRINT_C->Layout of PCUI-> Application Element->Application set.
    I hope it helps.
    Cheers,
    Gyan.

  • Access Request "Model User" - Role Type "Role" disabled in "Select Model Access" screen.

    Hi All,
    I am implementing GRC AC 10.0 - ARM  for provisioning in SAP R/3 and Enterprise Portal systems.
    While using "Model User" access request, I find that UME portal groups are coming as disabled and are not available for selection in tab 'Select Model Access'.
    Also only Type "Single Roles" appear for assignment or selection in the "Model User" form. Type "Role" appears disabled.
    Request help, thanks.
    Regards,
    Piyush.

    Thanks all for the suggestions but issue persists.
    I ran repository object sync in full sync mode for the portal system.
    I re-imported the portal groups.
    Still as earlier while using "Model User" request, I can see the groups with the reference user but it is grayed out and not available for selection.
    The other three scenarios (Access request, Copy Request & Template) work fine. In those request I can select the portal groups as well.

  • Create model access class

    Dear experts,
    How do we create a model access class in CRM? I see where we can assign the model access class to an application set but I cannot find how to create a model access class.
    Thanks for your help,
    Stephanie

    Actually its just like normal class.You can directly create it through se24 or u can also create it by se80.I am sending u a link containing a demo example.Probably this should help.
    http://help.sap.com/saphelp_nw04/helpdata/en/e9/bb153aab4a0c0ee10000000a114084/frameset.htm

  • Dynamic Tab Access Control?

    Is there a way to set up dynamic tab access control? For instance if I wanted a professor to only have Shared access to a particular tab in a course page is there a way to define the credential to indicate which tab they should have access to?
    Thanks,
    Jason

    Is there a way to set up dynamic tab access control?
    For instance if I wanted a professor to only have
    Shared access to a particular tab in a course page
    is there a way to define the credential to indicate
    which tab they should have access to?
    I haven't tried this, but I think you could create a new course template that uses the instructor and student roles, and set the access control option in that to allow an instructor shared access to a given tab. New courses based on that template would use the same permissions. I don't think there's any need to include access control information in the credential itself (as the credential is just used for authentication; iTunes U itself decides what you get to).
    Or am I missing something in your question?
    Ken

  • Use AGENT through dynamic attribute access

    I'm working with some persistent objects, but don't know the actual persistent class until runttime.  To get the agent, I've coded this
    DATA: l_agntclass TYPE classname,
         lr_det_agent TYPE REF TO cl_os_ca_common.
    FIELD-SYMBOLS <lr_det_agent> TYPE any.
    l_agntclass = me->derive_agent_classname( ).
    ASSIGN (l_agntclass)=>agent to <lr_det_agent>.
    lr_det_agent ?= <lr_det_agent>.
    Now I can call the methods of lr_det_agent.  All well and good, and it works, but is this the right way?  I tried defining <lr_det_agent> as TYPE REF TO.  But that failed in the assign.  And I tried CASTING TYPE on the assign, but that doesn't accept classes.
    Am I missing something obvious?
    Thanks
    matt

    Hello Matt
    The solution is quite simple (see below):
    *& Report  ZUS_SDN_PERSISTENT_CLASS
    *& Thread: Use AGENT through dynamic attribute access
    *& <a class="jive_macro jive_macro_thread" href="" __jive_macro_name="thread" modifiedtitle="true" __default_attr="1143122"></a>
    REPORT  zus_sdn_persistent_class.
    DATA: gd_clsname    TYPE classname,
          gd_method     TYPE string,
          gd_attribute  TYPE string.
    DATA: go_obj        TYPE REF TO object,  " root object
          go_os_common  TYPE REF TO cl_os_ca_common.
    DATA: go_persist    TYPE REF TO cb_alert,
          go_agent      TYPE REF TO ca_alert.
    FIELD-SYMBOLS <go_det_agent> TYPE ANY.
    START-OF-SELECTION.
      BREAK-POINT.
      gd_attribute = 'CA_ALERT=>AGENT'.
      " In your case: CONCATENATE l_agntclass '=>AGENT' ...
      ASSIGN (gd_attribute) TO <go_det_agent>.
      go_os_common ?= <go_det_agent>.
      BREAK-POINT.
    END-OF-SELECTION.
    Regards
      Uwe

  • What is the best approach to store "dynamic" user accessibility ?

    Hi all,
    We are implemennting security in our ADF BC + Faces application. There is always requirement to hide/disable functionalities that a user is not allowed / authorized to access.
    Usually we do this during development time, based on what role the user is in. Using this approach, there is no way to change that , or give access to new role during runtime (after the deployment). This is what I call "static accessibility".
    In our apps, we need the give / revoke access to some functionalities during runtime. This is what I call "dynamic accessibility".
    One approach that comes to my mind is :
    We define the accessibility to each function that we want to protect (hide/unhide) in database tables. Then every time a use enter a page, read these tables through JDBC calls then store tha data in Managed Bean.
    Has anybody here implement this "dynamic accessibility" ?
    Is there a better approach ?
    Thank you very much,
    xtanto

    Saeed,
    SRDemo uses a managed bean that checks is user in role when called and returns true or false. Another approach - more elegant - is the use of a security property resolver as available
    http://jsf-security.sourceforge.net
    Regarding dynamic permissions, the use of JAAS seems to be a good solution. ADF Security uses JAAS permissions to assign component access to users.
    E.g. if the user role manager has access to edit the salary column, then the security constraint added to the update button could be
    #{!bindings.<attribute binding>.updateable}
    Note that ADF Security sets the updateable flag on an attribute.
    Or you use
    #{bindings.<iterator binding>.permissionInfo.create}
    #{bindings.<attribute binding>.permissionInfo.update}
    #{bindings.permissionInfo['pageDefName'].view}
    etc. to determine what a user can do or can't.
    Note that I haven't tested if the permissions are cached for a specific application or if they are checked each time again. If they are checked each time then this would be a performance penalty but allows to dynamically set permissions to user groups as obviously needed in your applications.
    No, we don't have tutorial for this. But a Oracle By Example for end-to-end security implementation is on my collateral plan for JDeveloper 11 (just need to write a doc writer ;-) )
    Frank

  • Dynamic field access in internal tables

    Hi everyone.
    I woulkd like to know if there is any way to identify the fields of an internal table at runtime. I'm creating a method in a class, and i would like to accept any itab as a paramter and then access the fields of that itab. I currently have the itab passing no problem using field symbols, and i am able to loop at the data, but i am unsure how to get the field names.
    Any suggestions?
    Thanks!

    Hi,
    Check the code below:
    REPORT ZYKTEST3 .
    DATA: d_ref TYPE REF TO data,
    d_ref2 TYPE REF TO data,
    i_alv_cat TYPE TABLE OF lvc_s_fcat,
    ls_alv_cat LIKE LINE OF i_alv_cat.
    TYPES: tabname LIKE dcobjdef-name ,
    fieldname LIKE dcobjdef-name,
    desc LIKE dntab-fieldtext.
    PARAMETER: p_tablen TYPE tabname. -
    > Input table field
    DATA: BEGIN OF itab OCCURS 0.
    INCLUDE STRUCTURE dntab.
    DATA: END OF itab.
    FIELD-SYMBOLS : <f_fs> TYPE table,
    <f_fs1> TYPE table,
    <f_fs2> TYPE ANY,
    <f_fs3> TYPE ANY,
    <f_fs4> type any,
    <f_field> TYPE ANY.
    REFRESH itab.
    CALL FUNCTION 'NAMETAB_GET' -
    > Fetches the fields
    EXPORTING
    langu = sy-langu
    tabname = p_tablen
    TABLES
    nametab = itab
    EXCEPTIONS
    no_texts_found = 1.
    LOOP AT itab .
    ls_alv_cat-fieldname = itab-fieldname.
    ls_alv_cat-ref_table = p_tablen.
    ls_alv_cat-ref_field = itab-fieldname.
    ls_alv_cat-seltext = itab-fieldtext.
    ls_alv_cat-reptext = itab-fieldtext.
    APPEND ls_alv_cat TO i_alv_cat.
    ENDLOOP.
    internal table build
    CALL METHOD cl_alv_table_create=>create_dynamic_table
    EXPORTING
    it_fieldcatalog = i_alv_cat
    IMPORTING
    ep_table = d_ref.
    ASSIGN d_ref->* TO <f_fs>. -
    > Dynamic table creation with fields of the table
    DATA: l_field TYPE fieldname,
    l_field1 type fieldname.
    SELECT * FROM (p_tablen) INTO CORRESPONDING FIELDS OF TABLE <f_fs>.
    Fetching of the data from the table
    LOOP AT <f_fs> ASSIGNING <f_fs2>.
    Here u can check the validations and process
    ASSIGN COMPONENT 2 OF STRUCTURE <f_fs2> TO <f_fs3>.
    ASSIGN COMPONENT 3 OF STRUCTURE <f_fs2> TO <f_fs4>.
    IF sy-subrc = 0.
    MOVE <f_fs3> TO l_field.
    MOVE <f_fs4> TO l_field1.
    WRITE:/1 l_field(20),
    22 l_field1(10).
    ENDIF.
    ENDLOOP.
    Regards
    Kannaiah

  • Dynamic programming accessing static method on classes

    Hi
    I need access to a static method on a class.
    The class name is first decided at runtime.
    How do I do that?
    Regards,
    Morten

    Hello Morten
    Here is a sample program for you:
    *& Report  ZUS_SDN_DYNAMIC_METHOD_CALL
    REPORT  zus_sdn_dynamic_method_call.
    DATA: go_msglist    TYPE REF TO if_reca_message_list.
    DATA: gd_method     TYPE tmdir-methodname,
          gd_class      TYPE seoclsname.
    START-OF-SELECTION.
      IF ( 1 = 2 ).
        CALL METHOD cf_reca_message_list=>create
    *      EXPORTING
    *        id_object    = 'RECA'
    *        id_subobject = 'MISC'
    *        id_extnumber =
          RECEIVING
            ro_instance  = go_msglist.
        go_msglist = cf_reca_message_list=>create( ).
      ENDIF.
      gd_class  = 'CF_RECA_MESSAGE_LIST'.
      gd_method = 'CREATE'.
      CALL METHOD (gd_class)=>(gd_method)
        RECEIVING
          ro_instance = go_msglist.
      IF ( go_msglist IS BOUND ).
        WRITE: / 'Class is bound'.
      ELSE.
        WRITE: / 'Class is NOT bound'.
      ENDIF.
    END-OF-SELECTION.
    Obviously, that is only half of the task. You need to make the method signature dynamically as well.
    Regards
      Uwe

  • Dynamic Remote Access

    Hi,
    I'm trying to access remote databases dynamically from HTML DB. I can already access remote tables if I create a synonym for a remote table using a db link, but in this case the remote database will depend on what the user selects so it will be built on the fly. I keep getting errors whenever I include the '@' sign in SQL query returning pl/sql function body.
    BTW - I'm trying to create a front end to allow app administrators to unlock user accounts or reset passwords on different databases.
    If this possible or what am I doing wrong?
    Thanks for any help,
    Pete

    Hi,
    Do a search for 'dynamic sql' in these forums, the topic has been discussed quite a few times.

  • Scenarios to use dynamic UI access and creation.

    Hi,
         I would like to know the possible scenarios to use Dynamic UI creation or access. Since so far I don't find any compelling need to use dynamic UI creation or other dynamic access to UI element.
    ThanQ for Ur time.
    Cheers,
    Sam

    Hi Sam.
    Dynamic Ui creation is only neede if you do not know which or how many UI
    elements you need during design time.
    We have one scenario where we need to generate select options for reports dynamically. The
    select options are defined in application tables and read during run time. So
    depending on the defined option in the table for a certain report, the selction UI is
    built dynamically.
    Many cases can be handled by using context attributes for the UI element
    properties e.g. (read only, visibility or required/normal item). We have some views
    where only certain user types have to enter certain data. So depending on the
    user type the visibility or required property of input fields is controlled by context
    sttibutes.
    But this is just one point of view. I guess there cvan be a lot of scenarios where
    dynamic UI creation is needed.
    Anyway, always consider that dynamic UI creation is less maintainable cause
    code is harder to read and understand.
    Cheers,
    Sascha

  • Dynamic filename access

    Hi all,
    I am trying to do dynamic file renaming for my file to file scenario.
    I mapped the filename to an output field and i can see it in Technical Ruoting/Payload in sxmb_moni also. But I am unable to generate the file using the variable substitution method.
    In MONI, I can see only upto Call Adapter. After that Response comes..I am unable to find the Outbound message and its payload.

    Hi Rahul,
    <i>Here what is done is we are copying everyline to the output file (my understanding)..</i>
    think you have got it wrong.
    These are the steps you need to do,
    1. Create a Dummy Datatype.
    2. create corresponding message Type.
    3. Create 2 message interfaces -- one inbound and one outbound with the same messagetype created in step 2.
    No Message mapping and Interface mapping.
    Now, as you have the same message type in the Source and Target message Interface , you do not need to have a message mapping.
    So, you file adapter will pick up the file --> Receiver determiantion will take place --> Interface Determiantion --> ( No Interface mapping ) --> Technical Routing --> Message (file) sent out of XI.
    I dont think a huge file should cause any issue. The file is not read line by line.
    Regards,
    Bhavesh

  • Dynamic file access

    I need to know how to access relative files in a directory so
    I can place them (or the file names) in a list within my flash
    application. My goal is to allow the user to download new XML files
    to a directory and have flash search the directory for new files.
    Flash would then display the files in a list and allow the user to
    "upload" them to the flash application (i.e. load the XML file that
    is selected). I'd appreciate any advice, especially if you can
    think of a better way to do it.

    Hmm, there was a post not too long ago (yesterday?) where all
    extensions were listed. Can't find it now. Maybe if you google
    it...
    The most active one here on the forum is
    http://www.flashjester.com

  • Dynamic url access in weblogic

    Hi All,
    I am currently working on moving my application from oc4j to weblogic92. On oc4j I keep all my xsd file in Apache/htdocs as a best practice and whenver
    I add a newly created xsd to this folder it can be accessable on the fly.
    Now, on weblogic server where should I keep my files in my domain so that it can be accessed similarly as I do in oc4j.
    Thanks in advance,
    user

    Well, I'm not really sure what you want this for, but if you want files associated with the web application to be available from the browser, then simply put them in the web application content tree (anywhere but in WEB-INF). Everything in the directory structure of the web application is available from the browser, except for WEB-INF, and unless you specify access rules for certain files/paths in your web.xml.
    In a Java application server, you can deploy multiple web applications that all have independent directory structures. There isn't a single directory to place files to make them available, like there is in Apache.
    Note that if you're developing standard web services, you should always be able to see the WSDL of a service (including the schema, I would assume) by calling the service from the browser with the "WSDL" request parameter. This will work without manually making the schema files available.

  • How to transfer currency rates to R/3 after dynamic modelling in BPS

    Hi all,
    I need your advice.
    I have, for example, a several sales plans, which were composed by using BPS. Each of sales plans depends on currency rates. After comparision these plans, I selected and approved one of them. After plan approval I transfer planned data to R/3.
    This is an issue to transfer currency rates, which corresponded to selected plan as well.
    Is there standart method to transfer currency rates for selected plan to R/3 (to "Currency Exchange Rates", tr-n OB08)?
    Your advice will be appreciated!

    Hi Dmitry,
    R/3 is the place basically meant for maintaining currency translation rates. If they have been maintained in BW/BPS directly, I don't think there is any facility to take them back to R/3 other than manually entering.

Maybe you are looking for

  • Error in MIGO while stock transfer from plant to Depot - Intra-company

    Dear gurus, I am facing an error while posting MIGO during intra-company plant to plant STO. Settings for STO: SPRO >IMG > MM >Purchasing > Purchase Order>set up Stock Transport Order Define Shipping Data Define/assign Checking rule Assign Delivery T

  • Sharing images between multiple help outputs

    Hi Everyone, Question: does anyone know if it is possible to have an image repository that sits outside of the help SSL such that multiple Webhelp systems can reference a common image repository? I'm using Rh10 to write help in English which then get

  • Import matching raw files?

    I'm switching from the discontinued Aperture, but my workflow doesn't seem to be supported in LR. I shoot raw plus jpeg, and store everything off-line. I import the jpegs-only for organizing and culling and for many purposes, they are good enough. Fo

  • I Need HELP to config my laptop in France HP's Server URGENT

    Hello, i've ben connected to your Site (US HP) and i've make  my desired config in one pavilion DV8, but i live in France and  i can't make this config in HP France (Not this one and others)  i dont ave this possibility here and i need to know why???

  • Ical unexpectedly quit....again and again and again and again

    My iCal unexpectedly now quits every time I try to start it up--it shows the calendar (but none of my events) then gives me the message about it unexpectedly quitting. I read some of the other posts about similar startup issues, but I kind of need so