Retrieve role-activity relationship via papiws

We have a demand from a client who is asking for access the information about the audit trail activities and the role which those activities are associated in an external application.
We’re using PAPIWS’ method processGetVisibleActivities(String) from the WebService, but it only lists information about interactive activities from a process.
I would like to know if there’s a way to retrieve, via Webservice, all activities, like Begin, automatic acitivities and decisions.

Hi,
can you look at this
[https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a92195a9-0b01-0010-909c-f330ea4a585c?overridelayout=true]
Regards,
Muralidhar

Similar Messages

  • Trying to restrict access to Business Partners Roles and Relationships

    In CRM 7.0 I am trying to restict access to creating and maintaining certain Business Partner Roles and Relationships.  Some roles and relationships are brought over from our primary R/3 system and users are not allowed to change these.  However, certain Roles and Relationships exist only in CRM and should be allowed.  I am working with the authorization objects B_BUPA_RLT and B_BUPA_BZT.  The only field that seems to be checked is the Activity.  Even when I put limited BP Roles it seems that this field is not being verified.  My security trace returns the following:  B_BUPA_RLT  ACTVT=02;RLTYP= ;

    Authorization object B_BUPA_RLT as used in SAP GUI can't be used in CRM WebClientUI. In SAPGUI business partners always need to be maintained in a bp role regardless of the update-characteristic of this bp role. As there's no authorization-object to control maintenance of bp in general, auth. object B_BUPA_RLT also was used to restrict visibility of bp (data). The creation of a bp is controlled by assigning authorizations for the maintenance of bp roles. If i.e. no authorization for any bp role is available, the user can't create a bp at all. Authorization object CRM_BPROLE is in CRM WebClient UI used instead of authorization object B_BUPA_RLT.
    For more info about this see the following notes:
    1129682 - Authorization for BP roles in CRM5.2 WebClient UI.
    1259940 - Authority check for accounts depending on roles
    regards.

  • How to read data in CRM Activity relationship tab.

    Hello friends,
    I have a requirement to read data from CRM Activity relationship tab.
    Mainly i have to read Transaction No/object refernced trans field of CRM Activity relationship tab.
    Could anybody help me?
    Thanks,
    Bunny

    Hi,
    have you found in the meanwhile a good solution?
    I have also a similar requirement.
    At the moment I'm using the view CRMV_ACTFORGP to get the activities associated to a BP (by the way you have many filters that can be used) and then for each GUID (order guid - CRMD_ORDERADM_H-GUID) I call the fm BAPI_REL_GETRELATIONS to get the list of relationships.
    Regards
    Diego

  • Roles activation from business content

    Hi Experts,
    i have activate a business content role  SAP_BW_SALES_MANAGE_ADMIN related to sd module,where can i find the activated business content role in bi.i have check in the query designer and analyser for the role,but i could not find it.where as in the business content it shows the role was activated.
    i can see all the workbooks related to the role activated and i am able to see the workbook in analyser.
    pls guide me where can i find the business content roles which are activated and how to run the roles in reporting.
    Thanks in advance.

    Hi,
    May help you:----
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/101fb4f5-eb7c-2c10-5daa-b479c47f0a14
    http://help.sap.com/saphelp_nw70/helpdata/en/55/46eb411a7f6324e10000000a1550b0/content.htm
    http://wiki.sdn.sap.com/wiki/display/BI/AuthorizationinSAPNWBI
    The first link would be very helpful to you.......
    Regards,
    Suman

  • UWL - Retrieve Rejection text entered via UserDecisionNote

    Hello SDNers,
    I am using task TS20000131 for expense report approval process. I have setup UWL configuration for the same and every thing works fine except the Rejection text.
    In UWL configuration I am using UserDecisionNote and DecisionKey for including a mandatory rejection reason / text.
    However, I am not able to retrieve the text entered via UWL in the backend ECC system.
    I am able to see the text entered via UWL - show memo option in the further steps of the process.
    Where does the text entered get stored?
    We are on EP 7.01 and ECC 6.0 EHP4.
    Can someone help me by guiding me in the right path for this?
    Thanks,
    Kalyan
    The following is my UWL config
    <ItemType name="uwl.task.webflow.decision.TS20000131.ECCDEV" connector="WebFlowConnector" defaultView="com.sap.pct.erp.mss.tra.view.TripApprovalView" defaultAction="com.sap.pct.erp.mss.tra.action.DisplayExpenseForm" executionMode="default">
          <ItemTypeCriteria systemId="ECCDEV" externalType="TS20000131" connector="WebFlowConnector"/>
          <CustomAttributes>
            <CustomAttributeSource id="WEBFLOW_CONTAINER" objectIdHolder="externalId" objectType="WebflowContainer" cacheValidity="final">
              <Attribute name="TripNumber" type="string" displayName="Trip Number"/>
              <Attribute name="EmployeeNumber" type="string" displayName="Employee Number"/>
            </CustomAttributeSource>
          </CustomAttributes>
    <Actions>
    <Action name="com.sap.pct.erp.mss.tra.action.approver.SendBackTrip" groupAction="yes" handler="UserDecisionHandler" referenceBundle="com.sap.pct.erp.mss.tra.SendBack" returnToDetailViewAllowed="no" launchInNewWindow="no">
              <Properties>
                <Property name="UserDecisionNote" value="true"/>
                <Property name="decisionKey" value="2"/>
              </Properties>
            </Action>
    <Action name="com.sap.pct.erp.mss.tra.action.approver.RejectTrip" groupAction="yes" handler="UserDecisionHandler" referenceBundle="com.sap.pct.erp.mss.tra.Reject" returnToDetailViewAllowed="no" launchInNewWindow="no">
              <Properties>
                <Property name="UserDecisionNote" value="mandatory"/>
                <Property name="decisionKey" value="3"/>
              </Properties>
            </Action>
          </Actions>
        </ItemType>

    Hi Susan,
    This was a little tricky.
    I was not able to locate the entered text initially.
    The text was getting stored as an attachment in the workflow.
    The UWL config I have above worked fine.
    To locate the text entered via Rejection Reason, please do the following:
    1. After you enter the text and perform the appropriate action from UWL, login to your Backend system and go to transaction SWI1.
    2. Select your Work Item / Dialog Step by double clicking on it.
    3. Click on the "Log" button
    4. Click on the "Details" icon for the step where you entered the rejection text.
    5. At the bottom, now you should see the details of the selected step. In the details, you should one step with executed action saying "Attachment added". Here if you click on the "Office Document" link from the Object column --- you should see the Rejection text entered via UWL.
    Let me know if you are still facing the issue.
    Thanks,
    Kalyan

  • PPDS - Overlapping Operations ( Start- Start) activity relationship

    Hi Experts,
    We are having two operations 010 and 020 in a routing and we want to schedule both the operations at the same time and not in sequence. I believe that we can use the "required overlap functionality" in the routings for the parallel scheduling of the two operations.
    After setting the overlap functionality when I trying to run SAP_PP_002 the operations in the PPDS order are being scheduled in sequence. In addition, the PPDS PDS also shows an End- start in the activity relationship (I don't know if this makes any difference)
    Could one of the experts please let me know what are the settings in PPDS that you used to run the two sequential operations in parallel in APO?
    Thanks in advance

    Hii,
    You can use Parallel sequence of  operations in the routing to make the activity in PDS/PPM as start to start  relationship. And PPDS heuristic will consider the same ..
    Regards
    Debashis

  • Removing all activity relationships

    Hi all,
    Please help me with a solution on how to remove all activity relationships from my schedule.
    I have tried:
    Creating User Defined Fields (unable to create predecessor "then" command, as this is not on the list)
    Exporting to Excel, deleting relationships, then re-importing (receive error log as "Failed to find a matching object for Activity Relationship")
    Using the "Fill Down" option in activity table view
    All above are not successfull!
    Do you have any more ideas?
    Much appreciated,
    Sam

    sam
    i think you have not tried the easy option here.
    just copy all the activites for which you want to remove the relationships then paste it
    during the pasting option untick the RELATIONSHIP Tag and paste it.
    you will get the all the activities without relationship.now you can delete the original activities with relationships.
    Cheers

  • How Can realize a one-to-many relationship via RIA service in lightswitch

    I have to query a large data and the normal query in lightswitch is so slow that I decided to use RIA service to improve the query.However I am not very good at RIA service. I follow
    this tutorial and set up a very simple RIA service. In my project, I have a one-to-many relationship but I don't know how to
    realize it . here is the Relationship:
    public class CombinedStadium
    private EcoStatus _ecoStatus;
    [Key]
    public int Id { get; set; }
    public string Name { get; set; }
    public string Category { get; set; }
    public string Owner { get; set; }
    public string Street { get; set; }
    public string OrgCode { get; set; }
    public string Place { get; set; }
    public int? FoundYear { get; set; }
    public double? LandArea { get; set; }
    public double? BuildingArea { get; set; }
    public double? SiteArea { get; set; }
    public double? Investment { get; set; }
    public double? Fiscal { get; set; }
    public double? CommonWeal { get; set; }
    public double? SelfRaised { get; set; }
    public double? SocialDonate { get; set; }
    public double? Other { get; set; }
    public double? Longitude { get; set; }
    public double? Latitude { get; set; }
    public string Note { get; set; }
    public byte[] Photo { get; set; }
    [Include]
    [Association("Stadium_EcoStatus", "Id", "EcoId", IsForeignKey = false)]
    public virtual EcoStatus EcoStatus
    get { return this._ecoStatus; }
    set
    this._ecoStatus = value;
    if (value == null)
    this.Id = value.Id;
    I am not sure whether it is right or not. But I want "one CombinedStadium Entity may contains
    more than one(many)EcoStatus Entities.
    I tried the code above and update my datasource, I got the error "the entity
    LightSwitchApplication.Implementation.EcoStatus's property doesn't supported by the type of StadiumEcoReference".
    How Can I realize a one-to-many relationship via RIA and use it in my lightswitch program?
    thx !!!

    namespace WCF_RIA_Project
    public class CombinedStadium
    [Key]
    public int SiteId { get; set; }
    public string Name { get; set; }
    public string Category { get; set; }
    public string Owner { get; set; }
    public string Street { get; set; }
    public string OrgCode { get; set; }
    public string Place { get; set; }
    public int? FoundYear { get; set; }
    public double? LandArea { get; set; }
    public double? BuildingArea { get; set; }
    public double? SiteArea { get; set; }
    public double? Investment { get; set; }
    public double? Fiscal { get; set; }
    public double? CommonWeal { get; set; }
    public double? SelfRaised { get; set; }
    public double? SocialDonate { get; set; }
    public double? Other { get; set; }
    public double? Longitude { get; set; }
    public double? Latitude { get; set; }
    public string Note { get; set; }
    public byte[] Photo { get; set; }
    [Include]
    [Association("Stadium_EcoStatus", "SiteId", "StadiumId")]
    public IQueryable<CombindeEcoStatus> EcoStatus { get; set; }
    public class CombindeEcoStatus
    [Key]
    public int EcoId { get; set; }
    public string StatdiumName { get; set; }
    public int? StadiumId { get; set; }
    public int? Year { get; set; }
    public int? EmployeeNum { get; set; }
    public string OperateMode { get; set; }
    public string OpenStatus { get; set; }
    public double? OpeningDays { get; set; }
    public string ClientCount { get; set; }
    public double? Income { get; set; }
    public double? Expend { get; set; }
    [Include]
    [Association("Stadium_EcoStatus", "StadiumId", "SiteId", IsForeignKey = true)]
    public CombinedStadium Stadium
    get;
    set;
    public class WCF_RIA_Service : DomainService
    private ApplicationData m_context;
    public ApplicationData Context
    get
    if (this.m_context == null)
    string connString =
    System.Web.Configuration.WebConfigurationManager
    .ConnectionStrings["_IntrinsicData"].ConnectionString;
    EntityConnectionStringBuilder builder = new EntityConnectionStringBuilder();
    builder.Metadata =
    "res://*/ApplicationData.csdl|res://*/ApplicationData.ssdl|res://*/ApplicationData.msl";
    builder.Provider =
    "System.Data.SqlClient";
    builder.ProviderConnectionString = connString;
    this.m_context = new ApplicationData(builder.ConnectionString);
    return this.m_context;
    [Query(IsDefault = true)]
    public IQueryable<CombinedStadium> GetAllStadiums()
    var stadiumsQuery = from stadium in this.Context.StadiumSet
    select new
    ID = stadium.Id,
    Name = stadium.Name,
    Category = stadium.Category.Name,
    OwnerParts = stadium.Owner2StadiumMediatorCollection.Select(x => x.Owner.Name),
    Street = stadium.Street.Name,
    OrgCode = stadium.StadiumBase.OrgCode,
    Place = stadium.StadiumBase.Place,
    FoundYear = stadium.StadiumBase.FoundYear,
    LandArea = stadium.StadiumBase.LandArea,
    BuildingArea = stadium.StadiumBase.BuildingArea,
    SiteArea = stadium.StadiumBase.SiteArea,
    Investment = stadium.StadiumBase.Investment,
    Fiscal = stadium.StadiumBase.Fiscal,
    CommonWeal = stadium.StadiumBase.CommonWeal,
    SelfRaised = stadium.StadiumBase.SelfRaised,
    SocialDonate = stadium.StadiumBase.SocialDonate,
    Other = stadium.StadiumBase.Other,
    Longitude = stadium.StadiumBase.Longitude,
    Latitude = stadium.StadiumBase.Latitude,
    Note = stadium.StadiumBase.Note,
    Photo = stadium.StadiumBase.Photo,
    var result = stadiumsQuery.AsEnumerable().Select(x => new CombinedStadium()
    SiteId = x.ID,
    Name = x.Name,
    Category = x.Category,
    Owner = string.Join("/", x.OwnerParts),
    Street = x.Street,
    OrgCode = x.OrgCode,
    Place = x.Place,
    FoundYear = x.FoundYear,
    LandArea = x.LandArea,
    BuildingArea = x.BuildingArea,
    SiteArea = x.SiteArea,
    Investment = x.Investment,
    Fiscal = x.Fiscal,
    CommonWeal = x.CommonWeal,
    SelfRaised = x.SelfRaised,
    Other = x.Other,
    Longitude = x.Longitude,
    Latitude = x.Latitude,
    Note = x.Note,
    Photo = x.Photo,
    }).AsQueryable();
    return result;
    [Query(IsDefault = true)]
    public IQueryable<CombindeEcoStatus> GetAllEcoStatuses()
    var stadiumEco = from eco in this.Context.EcoStatusSet
    select new CombindeEcoStatus()
    EcoId = eco.Id,
    StatdiumName = eco.StadiumEco.Name,
    StadiumId = eco.StadiumEco.Id,
    Year = eco.Year,
    EmployeeNum = eco.Employee,
    OperateMode = eco.OperateMode,
    OpenStatus = eco.OpenStatus,
    OpeningDays = eco.OpeningDays,
    ClientCount = eco.ClientCount,
    Income = eco.Income,
    Expend = eco.Expend
    return stadiumEco;
    protected override int Count<T>(IQueryable<T> queryable)
    return queryable.Count();
    now I have solved my problem, but when I query the data in Lihgtswitch HTMLClient . I can't get the related entities "CombindeEcoStatus" . How can I write the return value of
    GetAllStadiums function to get the related CombindeEcoStatus of each
    CombinedStadium?
    thanks!

  • I recently moved to USA from Canada. I have not changed my apple id but I have changed my phone and computer. Is there a way to retrieve my purchased music via iTunes? I checked what was available to download and only got a few digital booklets.

    I recently moved to USA from Canada. I have not changed my apple id but I have changed my phone and computer. Is there a way to retrieve my purchased music via iTunes? I checked what was available to download and only got a few digital booklets.

    Most Windows users don't.
    Purchase an external hard drive and use the backup software that comes with it to backup files from your computer.
    Buy TouchCopy and install it on your new computer, connect your old iPod and transfer your songs to your computer.

  • PDS activity relationship

    Hello Experts,
    Can anyone explain how can I control the activity relationship in APO PDS.
    I need to change the relation from End to Start to Start to Start.
    It has to be somwhere in the routing I think but I'm not able to find out what exactly.
    Thank you very much in advance for your help
    Regards
    Georgi

    Hi Georgi,
    As you are aware, a typical routing has got many
    operations and activities.
    There are many activities which happens parallelly
    or one after the other.
    If you have activities 10, 20, 30 etc., each one will
    be followed and will get start after the previous one
    got end.
    The same will be maintained in routing master data
    (using ca01 transaction) and this will get transferred
    as PDS data into APO.
    This activity relationship data will be used by PPDS
    during scheduling of orders into its activities.
    Regards
    R. Senthil Mareeswaran.

  • PPM in CTM: Activity Relationships

    Dear Friends,
    Here a query from my side:
    As per CTM Faq note: 855229, CTM supports only End-Start Relationship activities.
    We are generating PPMs without Lot Size Margin in APO 4.1 and are getting start-start relationships. This is inspite of the fact, that in the PPDS PPM, the activity relationships are end-start.
    Could anyone throw some light on why this is happening? Any note for further reference would be really helpful
    Looking forward to hear,
    Sudhir

    Hi Sudhir
    CTM is a SNP functionality , so in SNP parellel relationship is not supported in application area>PPM and as well in PDS.
    Since SNP /CTM PPM is using the PPDS PPM to generate you will face problem in application area too.
    Now you need to use PDS inspite of PPM(Since for PPM SAP stopped the development work).
    For PDS - You have an option of generation CTM PDS while generating a PPDS PPM ,there is a Badi needs to be activated for this.
    Start-starts will not be supported.,since this creates a parellel sequece!
    But you want start-start ,in the CTM you can use PPDS source of supply,but the order will be a PPDS Source order,if you dont want then follow the other options.
    I hope I have clarified your doubt.
    Kind regards,
    sundar

  • Office 2013: can't retrieve the Product Key via Belarc Advisor

    Hi,
    Isn't it possible anymore to retrieve the Office Product Key installed on a computer via third party inventory software such as Belarc Advisor? I used to do that to see the Microsoft Office Product Key installed on a computer for previous Office versions.
    However, I tried with a computer where Office 2013 Home and Business is installed and Belarc Advisor didn't show its Product Key. Is it due to the new license management that consists of linking it to a Microsoft account and only entering the account credentials
    during the installation process instead of the Product Key? Isn't the Product Key stored somewhere on the computer anymore?

    Hi,
    Thanks for your answer although it's a typical half useless reply from an official Microsoft staff...
    Actually, I understand that Microsoft doesn't support third party software to retrieve a product key but my question was rather technical and driven by curiosity rather by the need of retrieving the product key. Indeed, I took over a computer park in a company
    and I'm performing an IT inventory. During this inventory, I retrieve Windows and Office Product Key. The licenses are genuine but since I'm not the one who purchased and installed these computer, I don't know them. Therefore, a simple solution is to use inventory
    software such as Belarc Advisor. But I noticed that it can't retrieve Office 2013 Product Key anymore whereas it was able with previous versions of Office.
    So to reformulate the question: isn't the Product Key stored somewhere locally on the computer anymore with Office 2013? Because if no, that would explain why third party software can't retrieve it anymore.
    My question is rather technical about the new way of managing Product Key with Office 2013 and driven by curiosity. So I don't need any official technical assistance.
    Thanks

  • HT1807 got an unlocked iphone 4s bt it asks for activation required via a wifi or mobile network each time i put a new sim. wat if i put in a sim which doesnt have 3g and i dnt have any wifi around me? how do i activate it then?

    I am living in uk at the moment and i have an unlocked iphone 4s. Each time i put a new sim in it a message appears saying ''Activation Required''. When i slide the unlock bar it asks to choose a wifi network or a mobile data network. So far this hasnt been a problem coz i always found a wifi network around me or the mobile data network worked fine. Now the problem is I am moving back to my country Bangladesh in couple of days. And back there wifi isnt a very available thingie. And mobile data network is very hard to connect. So if i put on a Bangladeshi mobile service sim in my phone how do i activate it without the wifi or mobile data network? Please some help asap would be much appreciated.

    Hi Allan,
    Sorry for the rant up there..   Thanks for your quick response.  I couldn't get to an Apple store and can't order anything from the States that contains Lithium ION batteries -- no U.S. Postal Services will deliver these to us anymore.  Target sold this to me as an unactivated Sprint phone.  I never activated it through Sprint in the States and just took it to Germany with me.  I updated to vs.6.0 via ITunes and without the Sprint SIM Card installed.  The IPhone is now accessible (Apps, Settings, etc., to be able to check firmware, et al., settings.  However, I can't tell if it's unlocked (since I upgraded the version without the Sprint SIM Card installed) until I go to the local cell phone shop and stuff in a BASE (provider) SIM card and test it out.  Is there a way to tell whether or not the phone is unlocked without a SIM card in it?  I don't think there is....

  • Updating custom boolean attribute in Active Directory via OIM

    The adapters delivered with the AD connector support updating standard attributes (string) and multi-value attributes, but I can't seem to figure out how to update a custom Boolean attribute in AD via OIM. The delivered Boolean fields all appear to have custom adapters (ie Account Locked, Password Never Expires, etc.)
    I've tried using the delievered adpADCSCHANGEATTRIBUTE adapter, but it fails (as expected) with:
    +com.thortech.xl.integration.ActiveDirectory.tcUtilADTasks : updateDetails : Attributes cannot update:[LDAP: error code 21 - 00000057: LdapErr: DSID-0C090B73, comment: Error in attribute conversion operation, data 0, v1772 ]+
    Suggestions?

    No I don't have custom boolean attributes in AD. But I added custom attributes of other types.
    When you say custom, do you mean it did not come with the out of the box AD connector, but exists in the Active Directory of your organization?
    There are a few attributes in AD which look like they are boolean when you see the AD console but are actually different. Look at the link for details.
    [http://support.microsoft.com/kb/305144]
    Look at this post for context.
    AD Provisioning - Password never expires & User must chg pwd at next logon
    Thanks,
    M

  • Delete Relationships via API

    Can anyone tell me the correct method for deleting relationships within the repository using the API? It seems to me that deleting one end of a relationship would null-out the OTHER_RELATIONSHIP_END_REF value on the other end of the relationship and then the other end would have to be deleted separately but that doesn’t seem to be the case. I have tried to retrieve the other end after deleting the first end and gotten a NO_DATA_FOUND exception. However, if I do not delete the other end then Designer throws an exception regarding a null value in the TO_ENTITY_REFERENCE property of the end I attempted to delete. I have taken steps to ensure the entities on both ends of the relationship are checked-out prior to performing the delete but I do not seem to be able to come up with a combination of deletes that completely removes the relationship.
    Any help would be greatly appreciated.

    I think I've solved my own problem: deleting one end of the relationship causes the other end to be deleted automatically -- nice.

Maybe you are looking for