Assign status profile automatically when upload documents in cFolder

Hello all,
Is there any way to make the automatic assignment of a state profile to documents that are upload into a collaboration of cFolder?
At this time we do it manually, but carries to assign the state profile every time we upload a new document.
Best Regards,
Jennifer Lohan.

Hi
Use FM CFX_API_STATUS_PROFILE_ASSIGN somewhere in any user exit or BADI (let me know the scenario)
we pass status profile GUID and the Folder / Doc /collaboration GUID into the FM and it attaches the status profile to desired object.
regards
Alok

Similar Messages

  • How to assign status profile to marketing campaign ?

    Dear Friends,
    I am working on Marketing Campaign (SAP CRM 4.0) : I want to customize a new status profile for campaign. I create a new one and I don't know where I assign it to camapign : I searched in SDN and I found a message : "to assign status profile, you have to do when you customize campaign type : Marketing -> Marketing Planning and Campaign Management -> Basic Data -> Define Campaign Types/Objectives/Tactics : in this customizing point, when you define campaign type, here is a status profile field".
    The problem is I did not find any "status profile" field in this customizing point.
    Thanks in advance for your help.

    Hi,
    Pls follow below said path to create User Status profile
    CRM--> Marketing > Marketing Planning and Campaign Management> General Setting --> Change Status Profile for User Status
    Once you create Status profile you can see the same in the profile field of Campaign. You will have to assign this profile in the campaign then you can see the statusses in Change Status field,. But these stausses can not over write the system statusses.
    Hope this will help..
    Rgds
    Mallikarjun

  • How to assign status profile to components in service order

    Hi,
    For my business requirement, I want to assign status to individual components planned in the service order. Even though there is a status button on the component tab, there is no config where I can assign the status profile. We can only assign status profile to the order header and the operations and not to components level.
    As SAP has provided the status button in the component tab, I am hoping that there is a way to assign the status to the parts planned.
    Your help is much appreciated.
    Regards,
    Ram.

    hi all,
    It will be helpful if you give any useful tips on maintaining status for the component level in the service order.
    regards,
    ram.

  • Assign Status Profile upon BP Creation

    Hi all,
    Is there a way to default a Status profile and the Initial User profile upon BP creation?
    I have Status Profile: ZTEST which has inside 3 User Statuses:
    1 - Start (Initial)
    2 - Middle
    3 - End
    I need to have ZTEST automatically assigned and "Start" set as the first Status.
    Thank you in advance!
    Ciao!
    Max

    Hi all,
    thanks again for your patience.
    I am sorry to look dumb but I cannot solve my problem yet.
    I have done the following Steps:
    I have created status profile ZTest
    I have defined 3 user statuses with the following settings:
    Status Number - Status - Text - Initial Status - Lowest - Highest - Position - Priority
    1 - DRFT - Draft - X - 1 - 3 - 1 - 1
    2 - APVD - Approved -  - 2 - 3 - 1 - 1
    3 - CANC - Cancelled -  - 3 - 3 - 1 - 1
    I have select Object Type "Business Partner"
    When I go in the Transaction control (for each single User Status) and I press "New", two transactions are displayed:
    Business Partner Usage
    Change (Business Partner)
    And for each of these I can define No influence, Allowed, Warning, Forbidden (the remaining columns, i.e. No action, Set, Delete, do not have the radio button below).
    Moreover, going in the Object type transaction, I find "Object type does not set initial status".
    Whichever combination I try in assigning Transaction control to user statuses, nothing changes in the BP creation transaction (i.e. I can assign any User Status).
    Where am I wrong?
    I cannot find the place where I assign the transaction to the user status.
    I need user status to maintain approvals of Master Data. No need to block transactions etc. What my user expects is to go to BP transaction, press Create Person or Organization, and find there the ZTEST profile with the Draft user status setting AUTOMATICALLY ASSIGNED. So far the ZTEST is to be assigned manually and the initial user status can be selected without restrictions (i.e. I can select Draft, Approved or Cancelled). Anyway, once assigned e.g. Draft, the possible user status changes are correct according to the Low-High status settings.
    Thank you.
    Ciao!
    Max
    Edited by: Massimiliano Lamagna on May 21, 2008 4:40 PM

  • How to assign status profile to Business partner

    Hi Gurus,
    in sap crm 7.0 web ui
    i want to restrict particular user group to only" see" accounts it means only  "display"  view this we can achieve through status profile but how it is configured i don't know...can somebody help me understand it.
    Thanks,
    Gaurav
    Edited by: wwgauravshah on Nov 4, 2011 2:21 PM

    hi PP,
    in sap crm7.0 web ui
    1.i have a requirement that once the account is created manually one at a time and while saving bp, a  "opportunity"/lead transaction should get created automatically, this we can achieve with the help of action workflow ...can some body tell me how to configure it...exactly where we can assign action profile to BP.
    2. once sales manager makes any changes to BP master, change update should trigger action workflow to inform all employee responsible automatically about changes.
    please help me it's critical....
    Thanks,
    Gaurav

  • Access Denied when uploading documents

    Hi, 
    An end user who has design permission on a particular site gets access denied page when user clicks on "OK" in upload document dialog box.
    but document is uploaded and is checked-out.
    We checked features, permission they are all same on the all the sites(with issue or without  this issue)
    Regards,
    AnkitG

    Hi Ankit,
    Based on your description, it seems that you have add item permission but no edit item permission on the library.
    I recommend to go to the library permission of the library with issue and then click Check Permissions in the ribbon to check the permission for your account.
    If that is the case, then grant the necessary permission to the user on the library or click Delete unique permissions in the ribbon to inherit the permission from the site.
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • I keep getting an error when uploading documents

    I keep getting an error when uploading pages, keynote, or word documents into icloud.com. It won't tell me what type or error and it acts like it loads and gets all the way to the end of the bar and then says "error please try again." Please help!

    Have you tried a different web browser when submitting your proof of eligibility?

  • Assigning the role automatically when a user is created.

    Hi all,
    we are usign the EP 7.0 eph1 sp6 . we have a requirement that:
    When we are creating a new user and click save, then a user is created and to that user automatically a role should get assigned (without manual assignment of role to user). the role will have the framework page etc.
    and suppose we are assigning some role to the same user the above assigned automatic role should be deassigned automatically again.
    is there any possible way.
    Please help.
    regards,
    kavitha

    Hi
    When we are creating a new user and click save, then a user is created and to that user automatically a role should get assigned (without manual assignment of role to user). the role will have the framework page etc.
    for the above one we can follow the simple process ,
    as u need 2 assign the role automatically  while creating the user it self, u have to do the following.
    In user Adminstartion we have a button called Copy To New User.
    u just slect a user already created and just click on the button above, the  new user which is going to be created will get all the credntails and roles groups ,everything as the previous one.
    Just have a try .
    Sandeep

  • Word cannot open file when uploaded document to document library progrmmatically.

    I have created one button in which I am uploading a new document to document library through my code. The document library contains document template.
    My code is as below:
    private SPListItem CreateDocument(SPList Docs, string title)
    SPListItem newItem = null;
    try
    SPFolder cmsDocsFolder = Docs.RootFolder;
    SPFileCollection fileCollection = cmsDocsFolder.Files;
    if (!string.IsNullOrEmpty(Docs.ContentTypes[0].DocumentTemplateUrl))
    string docTemplateUrl = Docs.ContentTypes[0].DocumentTemplateUrl;
    SPFile docTemplateFile = Docs.ParentWeb.GetFile(docTemplateUrl);
    byte[] binaryFile = docTemplateFile.OpenBinary();
    string newFileUrl = cmsDocsFolder.Url + "/" + RemoveSpecialCharacters(title).Trim() + _docxExt;
    if (!Docs.ParentWeb.GetFile(newFileUrl).Exists)
    SPContentType contentType= Docs.ContentTypes.Cast<SPContentType>().FirstOrDefault(c => c.Id.IsChildOf(ContentTypeIDs.CMSDocument));
    if (contentType != null)
    SPFile addedFile = fileCollection.Add(newFileUrl, binaryFile, false);
    newItem = addedFile.Item;
    newItem[FieldNames.ContentTypeId] = ContentTypeIDs.CMSDocument;
    newItem[FieldNames.ContentType] = contentType.Name;
    catch (Exception ex)
    return newItem;
    My code does not throw any error but when I go to document library and click on uploaded document the file tries to open in word application but I am getting an error:
    "Word cannot open the file because the file format does not match the file extension. (url)"
    The browser I am using is FF.
    What am I missing? Please help.

    Hi,
    Please try to upload your document using SharePoint UI.
    If the issue still exists in Firefox, I suggest you check your Firefox settings.
    If not, please debug your code and watch the value or here is a blog for your reference:
    http://thearkfloats.blogspot.com/2013/10/programmatically-upload-to-sharepoint.html
    Best Regards
    Dennis Guo
    TechNet Community Support

  • About Status Profile (used in sale document)

    Hi all,
    I'm gonna use a customized status profile to forbid transferring requirements to MRP right after a new sale order is created(released), but I can't find the right 'Business Transaction' in 'Transaction Control' tab, is there any guru can help me out? Thanks in advance...
    Michael

    If you want to do it Status profile- you have to go with the enhancement & write coding accordingly.
    Try this-
    Maintain 2 status while creating status profile in BS02
    eg:
    INTL - initial- approval required
    RLSD - Released.
    Create Zschedule line category & determine in such a way,so that while creating order, this Zschedule line category has to be triggered ( you can do it with VOV5)- ( make sure, in Zsch.line cat- "Requirements" box should be unticked)
    now, Use the userexist to overwrite schedule line category- like- when the status is "RLSD", then sch.line cat has to be -CP(normal with "TOR" marked like in normal sch.line cat)
    check : USEREXIT_CHECK_VBEP in MV45AFZB 
    else check with
    USEREXIT_MOVE_FIELD_TO_VBEP in MV45AFZZ  ( for more info- you can verify with your ABAPer)

  • All DocumentSet derived ContentTypes' EventHandlers fires when uploading document

    I have made a custom "base" content type based on the Document Set content type. On this content type I attach 6 EventHandlers:
    <ContentType ID="0x0120D5200088cd8a49c45a45dbb0b808d0934cd901"
    Name="My Magical Base Document Set"
    Description="My Base Document Set"
    Group="Magical Content Types"
    ProgId="SharePoint.DocumentSet"
    PushDownChangedResourceFilesOnly="TRUE"
    Version="0">
    <FieldRefs />
    <Folder TargetName="_cts/MyDocSetCustom" />
    <XmlDocuments>
    <XmlDocument NamespaceURI="http://schemas.microsoft.com/sharepoint/events">
    <Receivers xmlns:spe="http://schemas.microsoft.com/sharepoint/events">
    <Receiver>
    <Name>MagicalBaseDocumentEventHandlerItemAdding</Name>
    <Type>1</Type>
    <Assembly>$SharePoint.Project.AssemblyFullName$</Assembly>
    <Class>MyMagicalProject.EventHandlers.MagicalBaseDocumentEventHandler</Class>
    <SequenceNumber>50</SequenceNumber>
    </Receiver>
    <Receiver>
    <Name>MagicalBaseDocumentEventHandlerItemUpdating</Name>
    <Type>2</Type>
    <Assembly>$SharePoint.Project.AssemblyFullName$</Assembly>
    <Class>MyMagicalProject.EventHandlers.MagicalBaseDocumentEventHandler</Class>
    <SequenceNumber>50</SequenceNumber>
    </Receiver>
    <Receiver>
    <Name>MagicalBaseDocumentEventHandlerItemDeleting</Name>
    <Type>3</Type>
    <Assembly>$SharePoint.Project.AssemblyFullName$</Assembly>
    <Class>MyMagicalProject.EventHandlers.MagicalBaseDocumentEventHandler</Class>
    <SequenceNumber>50</SequenceNumber>
    </Receiver>
    <Receiver>
    <Name>MagicalBaseDocumentEventHandlerItemAdded</Name>
    <Type>10001</Type>
    <Assembly>$SharePoint.Project.AssemblyFullName$</Assembly>
    <Class>MyMagicalProject.EventHandlers.MagicalBaseDocumentEventHandler</Class>
    <SequenceNumber>50</SequenceNumber>
    </Receiver>
    <Receiver>
    <Name>MagicalBaseDocumentEventHandlerItemUpdated</Name>
    <Type>10002</Type>
    <Assembly>$SharePoint.Project.AssemblyFullName$</Assembly>
    <Class>MyMagicalProject.EventHandlers.MagicalBaseDocumentEventHandler</Class>
    <SequenceNumber>50</SequenceNumber>
    </Receiver>
    <Receiver>
    <Name>MagicalBaseDocumentEventHandlerItemDeleted</Name>
    <Type>10003</Type>
    <Assembly>$SharePoint.Project.AssemblyFullName$</Assembly>
    <Class>MyMagicalProject.EventHandlers.MagicalBaseDocumentEventHandler</Class>
    <SequenceNumber>50</SequenceNumber>
    </Receiver>
    </Receivers>
    </XmlDocument>
    </XmlDocuments>
    </ContentType>
    I then create 24 new content types based off of the above content type and I bind them to a document library.
    After deployment, when the content types are all created and the library is created and have all the content types binded, I create a new document set in this library. I then try to add a new item (document).
    This is where the interesting thing happens. When I add a Word or Excel document none of the EventHandlers are fired. But when I add a PDF, TXT, or XML document then the ItemAdding EventHandler is fired, 24 times - meaning the ItemAdding EventHandler is
    fired for each DocumentSet content type binded to the list, before finally giving the uploaded document the content type "Document".
    The document library gets created by a ListInstance on deployment, and all the content types are being binded in this ListInstance.
    Is this a bug? Or have I done something wrong?

    Hi,
    I am trying to involve someone familiar with this topic to further look at this issue. There might be some time delay. Appreciate your patience.
    Thanks 
    Patrick Liang
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Patrick Liang
    TechNet Community Support

  • ICloud crashes when uploading documents.

    I've been wrking on something in Pages and wanted to carry on with it on my iPhone when I'm out, so I opened iCloud in Safari, entered iWork and uploaded the document. The upload bar appeared for a brief second, then the page crashed. When it reloaded, I got an "unexpected" error massage with an option to send a report.
    When I tried once more, I simply restarted iWork right after I clicked Upload.

    Hey swibowo,
    Welcome to the BlackBerry® Support Community Forums.
    To better assist you can you provide a screen shot of of what you are seeing in BlackBerry Link when the BlackBerry Q10 smartphone is connected? If this is possible please blank out any personal information that may be displayed in the image.
    Thank you.
    -HB
    Come follow your BlackBerry Technical Team on twitter! @BlackBerryHelp
    Be sure to click Kudos! for those who have helped you.Click Solution? for posts that have solved your issue(s)!

  • Will E7 switch profile automatically when connecte...

    Hi,
    I have read the N8 manual to get some idea and can't find the answer to this question (I am thinking of buying an E7).  On my E75 I can have the phone automatically switch to the "Silent" profile when I connect to the Parrot MKi9100 bluetooth car kit in my car.  I do this by going through the menu:
       Settings >> General >> Enhancement >> Wireless car kit >> Default profile
    Can anyone who has an N8 or has access to an E7 tell me if it has the same functionality?
    Thanks,
    Al
    PS While we're on the subject, if anyone has an N8 with a Parrot MKi car kit, can they tell me whether switching to "Silent" profile disables message alerts being sent over A2DP and interrupting music playback? (this is the way my E75 works)

    In N8 it is Settings > Phone > Accessories > Wireless car kit as here:
    You may however be disappointed for A2DP as found N8 considerably less functionality than say 5800XM with which you could establish two Bluetooth pairings both as "hands free" and as "music player" which N8 can't.
    Happy to have helped forum with a Support Ratio = 42.5

  • Will N8 switch profile automatically when connecte...

    Hi,
    I have read the N8 manual and can't find the answer to this question (I don't currently have an N8).  On my E75 I can have the phone automatically switch to the "Silent" profile when I connect to the Parrot MKi9100 bluetooth car kit in my car.  I do this by going through the menu:
       Settings >> General >> Enhancement >> Wireless car kit >> Default profile
    Can anyone who has an N8 tell me if it has the same functionality?
    Thanks,
    Al
    PS While we're on the subject, if anyone has an N8 with a Parrot MKi car kit, can they tell me whether switching to "Silent" profile disables message alerts being sent over A2DP and interrupting music playback? (this is the way my E75 works)

    In N8 it is Settings > Phone > Accessories > Wireless car kit as here:
    You may however be disappointed for A2DP as found N8 considerably less functionality than say 5800XM with which you could establish two Bluetooth pairings both as "hands free" and as "music player" which N8 can't.
    Happy to have helped forum with a Support Ratio = 42.5

  • Group is not assigned error in LSWM when uploading Routings

    Hi All,
    I am trying to upload the routings using LSMW Direct Input method using program RCPTRA02. While executing the lsmw, i am getting an error " Group cannot be determined for material XXXXXXXX plant XXXXX". But the SAP has to assign the Group while creating the routing for the material and plant. I dont know why its throwing that error. Is there any problem with the mapping which i dont think so. Any suggestions to resolve the error.
    Thanks

    Hi ben,
    we have exactly the same problem. Have you found some solution?
    I would appreciate so much if you could keep in contact with me in order to explain me the solution. Please reply the message and write the solution as detailed as it would be possible.
    Thanks in advance.

Maybe you are looking for