Document and content forwarding

hi all,
      I am working in a scenario approve/reject of product price the details of product is in PDF file, this file is send to SAP inbox as a attachment.In SAP inbox user will take decision. In this 5 level of approval stages.While taking decision the user will give comment and attachment to justify his approval.
For this i am created one activity with BO - MESSAGE method CREATE.After user clicked on the approve button one popup will there user can give his comment and attachment.
For every approval user will repeat the above process .in between if its rejected mail should trigger to all above user who are all approved.
Que:
While triggering the mail i need to forward the comment and attachment which is given in activity BO - MESSAGE method CREATE.how to do ? Give me some idea to complete this its very urgent or some document.
Its very urgent..
Points will be given for useful answer...
Thanks in adv,
Ram.

hi!!!!!!!!!!!!
u need to create a custom method 'ZREASONREJECTION' is a dialog method
with one exporting parameter 'REASON'
  and that method before sending the mail,
that method will return the lines that have entered by the user
and use those lines in the mail description
**code
begin_method zreasonrejection changing container.
DATA:
reason TYPE tsys1-diff OCCURS 0,
ch_text TYPE catsxt_longtext_itab.
Display popup
CALL FUNCTION 'CATSXT_SIMPLE_TEXT_EDITOR'
EXPORTING
im_title = 'Enter Reason for Rejection'
CHANGING
ch_text = ch_text.
APPEND LINES OF ch_text TO reason.
swc_set_table container 'Reason' reason.
end_method.
plz reward if helpful.........

Similar Messages

  • Large documents and contents-errors in text - for thesis

    Hi - i´ll try to make it short. (quite experinced user on Mac and Pages - but hates Word)
    Large document like master/PhD on Pages 09 Version 4.1 (923) (using EndNote X4 for bibliography - but EndNote is not the problem! I tried it without...) - more than a hundred pages. (now with Lion 10.7.2 it seems to be even worse than with SLep).
    Content is numbered with up to four "levels" (like: 2.3.1.2 Xxxxxx). I seem to make a lot of things right because the content at the beginning of the document is correct with all the points (just the content is 4 pages long - and everything including the page-numbers is correct) -
    BUT:
    In the text most "sub-/headlines" or new points are correct - but some are just very wrong like:
    it should be 8.3.2.1 - instead it is 8.3.6 or even 2.1 - and everytime i try to change it its just wrong in another or the same way... - but in any case (as long as i am doing it right with tabs and using the right level) the content at the beginning of the document is correct.
    That is exactly why i hate Word - it just did the same crap (but Word also mixed up the footnote-numbering - in Pages 09 at least all the foodnotes are right).
    Any idea? - the next thing i will try is just to copy every paragraph into a new document - but i doubt that it will help - is there anybody at apple who could help???
    Greetings
    simplex

    I didn't answer either because I found your writing impenetrable and without the file to work with improbable we could talk you through it.
    It sounds to me like you have simply skipped a sequence somewhere and it has lost track of the numbering, or you got it to restart somewhere in an attempt to 'fix' your error.
    Peter

  • Using PowerShell to Copy the content of a Word Document and Paste that content into a New Message in Outlook

    So, I'm a little new to PowerShell and I came across a PowerShell which allow me to copy the content od a spreadsheet, into the new message in Outlook 2007.  I have search and search on a way to do the same with a Word Document.  I would like to
    create a PowerShell Script that copies the content of a Word Document and paste that content in an email message.
    I am basing my script on this
    #Create and get my Word Obj
    $w1 = New-Object  -comobject Word.Application
    $w1.Visible = $True
    $UserWord = $w1.Workbooks.Open("C:\Users\hhhh\Documents\Powershell\test.docx")
    #create outlook Object
    $Outlook = New-Object  -comObject  Outlook.Application 
    $Mail = $Outlook.CreateItem(0)
    $Mail.SentOnBehalfOfName = "[email protected]"
    $Mail.Recipients.Add("[email protected]")
    #Add the text part I want to display first
    $Mail.Subject = "Test email"
    $Mail.Body = "My Comment on the Excel Spreadsheet"
    #Then Copy the Word using parameters to format it
    $Mail.Getinspector.WordEditor.Range().PasteExcelTable($true,$false,$false)
    #Then it becomes possible to insert text before
    $wdDoc = $Mail.Getinspector.WordEditor
    $wdRange = $wdDoc.Range()
    $Mail.Display()
    Any Help would be great!

    My requirements are the Word documents are a template of sorts.  The document will be changes prior to its email with some changes.  The other twist is that the customer might more that one recipients, and each recipient will have to have a separate
    email, with the same content of the word document. 
    For example: Say I'm doing maintenance. The Word doc might descript that maintenance, in a set format. Once save the script is run to generate 3 to 10 email with separate recipients with the body of the email containing what was in the Word document.

  • Document stores in both SAP database and Content Server

    Hi,
    We don't want to store doc. in SAP database and chose to use content server. We have KPro checked in configuration also.
    Our basis team has created a content repository ZP that points to the content server, in the document area.. they enter "ARCHLINK" instead of DMS. So they told me to create doc. and pick this new ZP to store the doc. But we I created a doc. in CV01N, went to check in the original, the new repository ZP is not on the list of choice to pick from. So I cannot store the doc. in that new content repository.
    Our basis team told me that if we use DMS in the document area, the doc. stores in both SAP database and Content Server. We don't want to have doc. stores in SAP database that's why we have content server.
    How can I create DMS and store in content server only (not SAP database) ?
    Thank you,
    Sam Schwartzberg

    Hi Samantha,
    While check-in activity are you able to choose the new content repository i.e. ZP?
    If not then use t-code OAC0 and while creating the repository check whether the certificate is activated by basis or not .
    If not then you need to activate the certificate for the new repositoty in CSADMIN then only it will appear in the list while "check-in" the dcouments.
    Please check for the same. Also check the t-code OACT , this new repository is shown or not.
    I hope this will resolve the query.
    Regards,
    Ravindra

  • Creating pdf files from word document and allow copying of content

    I generate word documents and then save them in PDF format before sending out to clients.  Sometimes these documents contain quite a lot of data in table format and I want my clients to be able to copy the data from the tables and be able to paste it into excel.  How do I save as PDF and still allow copying of content?
    Thanks

    Open such a PDF in Adobe Reader: File | Properties | tab Security.  It will tell you if copying is allowed or not.
    I don't know if you can change these security options from Word; you'll have to ask Microsoft.  To change them after the PDF was created, you will need Acrobat.

  • How to make New Document and Upload Document to have same Content Type in Document Library in Sharepoint 2010

    Hi,
    How to make 'New Document' and 'Upload Document' to have same content type(Custom) in Document Library in Sharepoint2010.
    Note : I have created custom Content Type since I have custom columns along with upload column..
    Regards, Shreyas R S

    go to library settings 
    Change new button order and default content type
    set your custom content type to be #1
    when you upload new document it will automatically have your custom content type
    Hope that helps|Amr Fouad|MCTS,MCPD sharePoint 2010

  • Document Sets and Content Types

    Hi All,
    I am having trouble in getting the "document sets" content types applied as expected when I try to create a site based off custom template.
    Scenario:
    We have 8 document sets stored in a document library. This library is part of a site which we have saved as a template.
    E.g. of document sets is "Others", "Meetings" etc
    Each of these document sets have one or more content types associated with it.
    We are trying to create a site based off the saved site template using powershell.
    E.g. $web = New-SPWeb http://myserver/sites/mysite/subsite
    $web.ApplyWebTemplate("{GUID}#Name of Template")
    When we open the document sets in this newly created site, the content types seem to be coming all together rather than being associated with the specific document set.
    E.g. Clicking "New document" in the "others" document set would show up content types from "meeting" and all the remaining document sets present in that library.
    Interestingly, when I go to "Document Set" settings, I only see the content type of "Others" Document Set.
    Any idea why the "New document" dropdown for the document set is not behaving as expected?

    Hi Abhi,
    Based on your description, I did a test. In my testing, everything worked well.
    The steps are:
    Go to Site Actions->Site Settings->Site content types.
    Create a new content type, and select parent content type from Document Set Content Types, and Parent Content Type: Document Set
    Click ok
    Under Settings, click Document Set settings
    On the Allowed Content Type section, select some content types and add them
    Click OK
    Then repeat step2-6, and create another custom document set
    Open your library, and allow management of content types in advanced settings
    Add the two document sets into the library
    Check each document set, and each one had different content types
    Save the site as a template and include the content
    Create a new site based on the site template using PowerShell(the command was same with yours)
    After creating, check the document sets of the library in the new site, everything worked well.
    Please check your process as the above steps.
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • Help with exporting document and generating an enumerated value error

    Can anyone help me figure out why I cannot get this script to export the document and save it for the web?
    I keep getting the same frustrating "Enumerated Value expected".
    here is the script thus far:
    * attempting to create a script to insert names automatically within photoshop cs2. Similar to the PSP.
    tag = app.activeDocument;
    var lee = ["Barb","Belle","Betty","Carmel","Christy","Connie",
    "Debbie","Debra","Denise","Diamond","Dolceluna","Irene","Jacqui"];
    //determine if active layer is a text layer or not.
    if(tag.isBackground == true){
    alert("this is a background layer and cannot be changed.");
    else{
    alert("this is the name layer.")
    for(i=0;i<lee.length;i++){
    tag.activeLayer.textItem.contents = lee[i];
    var options = new ExportOptionsSaveForWeb();
    options.format = SaveDocumentType.PNG-24;
    options.interlaced = false;
        options.PNG8= false;
    var fName = lee[i];
    var newName = fName+'-'+tag.name+'.png';
    alert(newName);
    //EXPORT DOCUMENT KEEPS GENERATING ENUMBERATED VALUE EXPECTED
    // web.matte = MatteType.NONE;
    tag.exportDocument(File(tag.path + '/' + newName),ExportType.SAVEFORWEB,options);
    } // closes for loop
    }// end of else statement

    Yes the guide is misleading. It says 'For this property, only COMPUSERVEGIF, JPEG, PNG-8, PNG-24, and BMP are supported.'
    It really should say 'For this property, only COMPUSERVEGIF, JPEG, PNG, and BMP are supported.'
    But if you look under SaveDocumentType you will not find PNG-8 or PNG-24 listed in the values.

  • How to work JQuery and content editor webpart functionality in sharepoint 2013?

    Hi all,
    I have a requirement to display the list data in share-point page by using JQuery and content editor web-part. could you please any one suggest the process to display the list data using JQuery and ContentEditorWebpart.
    Thanks in advance.
    Thanks,
    phani kumar
    Phani kumar

    Hi,
    From your description, my understanding is that you want to show a list data in a page using jQuery and Content Query Web Part.
    You could use SharePoint REST API to accomplish your requirement, please refer to this code below:
    <div id="listData">
    </div>
    <script src="https://code.jquery.com/jquery-1.11.1.min.js" type="text/javascript"></script><script type="text/javascript">
    $(document).ready(function(){
    //replace your list title
    $.ajax({
    url: _spPageContextInfo.webAbsoluteUrl + "/_api/web/lists/getbytitle('customlist03')/items",
    type: "GET",
    headers: {"accept": "application/json;odata=verbose"},
    success: function (data) {
    if (data.d.results) {
    var obj = data.d.results;
    for(var i = 0; i < obj.length; i++)
    $("#listData").append("<div>title "+obj[i].Title+"</div>");
    error: function (xhr) {
    alert(xhr.status + ': ' + xhr.statusText);
    </script>​​
    The screenshot below is my result:
    Please refer to these articles:
    Working with lists and list items with REST
    https://msdn.microsoft.com/en-us/library/office/dn292552.aspx
    SharePoint 2013 – CRUD on List Items Using REST Services & jQuery
    http://www.plusconsulting.com/blog/2013/05/crud-on-list-items-using-rest-services-jquery/
    You can also get list data using JavaScript Client Object Model(JSOM), you could refer to this article:
    How to: Complete basic operations using JavaScript library code in SharePoint 2013
    https://msdn.microsoft.com/en-us/library/office/jj163201.aspx?f=255&MSPPError=-2147217396
    Here is a link about how to add code into page via Content Editor Web Part:
    http://blogs.msdn.com/b/sharepointdev/archive/2011/04/14/using-the-javascript-object-model-in-a-content-editor-web-part.aspx
    Best Regards,
    Vincent Han
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Error while checking in and storing: C:\Documents and setting*

    hI,
    I hace install the content server and i made content repository also.
    everything I made on development server, and the original application file is getting check in also.
    now when I tried to check in it in test sever, it giving me error like  Error while checking in and storing: C:\Documents and setting
    I transported all request like content repository and all to  test server from development server.
    regards,
    nitin

    Hi, Nithin,
    Check this also in development
    In your local machine Goto
    C:\windows\system32\drivers\etc
    There will be file called "hosts"
    in that file plz specify the IP of the content server.
    Eg;
    <IP address> <Content server name>
    102.210.23.186 My Content server
    Save the file.
    Restart the machine and then try check-in the file in content server.
    Regards,
    Ben

  • Error while checking in and storing: C:\Documents and Settings\user\Desktop

    Hi all,
    I'm getting  the following Error while checking in original to Content Server
    "Error while checking in and storing: C:\Documents and Settings\user\Desktop" Message 26253
    OAC0, OACT, CSADMIN settings seems to be Ok .
    Settings in DMS SPRO - in dc10, dc20(data carrier used PC)- everything fine
    -Authorization issues are not there
    Earlier checking in was possible with same settings, but now we are getting this error.
    From my end i had test the RFC Connection (SAPFTP, SAPFTPA, SAPHTTP, SAPHTTPA) through SM59 and its test run was successful. So the possibilty of RFC Failure was ruled out.
    I knew this problem was arised as there is some issue in Content Repository, but not able to trace it out.
    If any one knew what to do in this case, then let me know.
    Secondly, what are the things need to be checked to identify the content repository Checking in Issue.
    Regards,
    S Anand

    Error Resolved.
    I had only executed the below command
    ./dbmcli on SDB>db_execute SET LOG AUTO OVERWRITE ON
    OK
    seems like Log file was full. but now its working.
    Thanks for your suggestion.
    Regards
    S Anand

  • Error checking in document to content server

    Hi,
    While storing the document to content server we are getting "Error while checking in and storing " error. We use ECC 6.0 Request any inputs where to trace this error.
    Thx.
    Anirudh,

    Hello Anirudh,
    i assume that you get this error only after you click on the save button.Before clicking on the save button i assume you had checked in the original.
    Suggest you to put start the debugger using "/h" and then click on the the Save button. Once the debugger opens, put a break point on the "Message" using the debugger. And start debugging using F8 key. When the control stops at any message statement , just have a look at the content of the internal table filled before the Message stmt. It would help you to figure out the exact cause of the error message.
    Seeing the error message , i think that in your case it might be that signature are not sent from your system to the content server.
    You can see the details about the signature associated to he content repository from the "csadmin" transaction. if you have any problem with regarding to signatures, just check if you have any active signature. I think there is not active signature, just select one signature and activate the signature.
    If the problem still exists and it maps to the content server, contact your content server admin.
    Hope this helps you out, Best of luck.
    Regards,
    Om

  • ORACLE.FDK.ServerError while creating document and assigning category

    Hi,
    I try tro create a new Document in Content Services and assigning an existing category
    here is the code snippet:
    public static Item createDocumentWithCategory(Item parent, Item category)
    throws FdkException, RemoteException
    // get the Manager instances
    FileManager fm =s_WsCon.getFileManager();
    System.out.println("Ok document");
    RechercheCategorie categorie=RechercheCategorie();
    categorie.catValeur2();
    Item cat=categorie.getCat();
    Item workspace =fm.resolvePath("/solaria/E-TOP2", null);
    System.out.println("id dans create document:"+cat.getId()+"workspace name:=
    "+workspace.getName()+ "workspaceid:"+workspace.getId());
    // create Category definition for category instance
    NamedValue[] categoryDefs =WsUtility.newNamedValueArray(new Object[]=
    { Options.CATEGORY_ID, new Long(cat.getId()) }/*,
    { Options.CATEGORY_DEFINITION_ATTRIBUTES,
    WsUtility.newNamedValueArray(new Object[][] {
    { "CUSTOM_Attribute", "Value One" } }) }*/
    System.out.println("Ok document");
    // create document specifying category definition
    Item newDoc =fm.createDocument(
    WsUtility.newNamedValueArray(new Object[][] {
    { Attributes.NAME, "MyDoc41" },
    { Options.CATEGORY_DEFINITION, categoryDefs },
    { Options.DESTFOLDER, new Long(workspace.getId()) } }), null, null);
    System.out.println("Ok document2");
    return newDoc;
    It throws an Exception essage d'erreur:
    AxisFault
    faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
    faultSubcode:=
    faultString: ORACLE.FDK.UnexpectedError:ORACLE.FDK.ServerError
    faultActor:=
    faultNode:=
    faultDetail:=
         {http://xmlns.oracle.com/content/ws}fault:<detailedErrorCode xsi:type="x=
    sd:string">ORACLE.FDK.ServerError</detailedErrorCode><errorCode xsi:type=
    "xsd:string">ORACLE.FDK.UnexpectedError</errorCode><exceptionEntries xsi:ty=
    pe="ns1:ArrayOfFdkExceptionEntry" xsi:nil="true"/><info xsi:type="ns1=
    :ArrayOfNamedValue" xsi:nil="true"/><serverStackTraceId xsi:type="xsd:s=
    tring">139-1170838513360</serverStackTraceId>
    What is wrong with the code?
    Please advise
    Jo

    The stack trace is incomplete. Please post the complete exception stack trace.
    regards,
    -sancho

  • I just got a new PC at work, and I saved all my files in my profile (Documents and Settings...).Being a new firefox install, I cannot recover my custom preferences (and passwords...)

    At work, I was asked to exchange my PC for a new one (...) at a moment where I was completely stressed and hardly could find time to do things correctly ( I had big issues with some UNIX servers consuming all my time, and more...) I saved the content of my profile in (Documents and settings) from the XP pro OS. REinstalled Firefox, but cannot find a way to recover or use the content of Application Data\Mozilla\Firefox... How can I recover? (bookmarks, custom stuff passwors etc...)

    Profile is a folder which store all your personal data in a safe place
    * https://support.mozilla.com/en-US/kb/Profiles
    * here explain how to backup profile https://support.mozilla.com/en-US/kb/Backing%20up%20your%20information
    * here explain how to restore it
    https://support.mozilla.com/en-US/kb/Recovering%20important%20data%20from%20an%20old%20profile

  • Store document into Content Server

    Dear All;
    l have the following requirement for Content Server;
    - Generate the PR/PO form via print program.                         
    -Approver's signature will be display accordingly by the approval level.               EG:  1st level approver 'A' have been approved. Signature of approver 'A' will be display on the generated PR/PO form.                                        - Convert the generated form into PDF format.                         -To attach the supporting document via Generic Object Services (GOS).               -To store the PDF form & attached documents into Archived Link content server with URL address returned.     
    -An notification mail will send to respective approver based on release strategy configuration.     
    Basically it is Workflow integrate with Content Server.  There are few thing for me to do here:
    1. Store the PO/PR document into Content Server
    2. Run the workflow and view the attachement and add new attachement to Content Server from the Workflow process.
    3. Return the URL address to the user for the document that saved into Content Server
    l'm trying to do the first requirement now.
    The user will create the PR in tcode ME52N and PO in tcode ME22N, they can create the attachement and view the attachement, and the attachement are stored in the ECC6 database.
    l have installed the Content Server 6.40 with Filesystem (not the MaxDB) cause user do not want to buy the MaxDB license.
    The Content server 6.4 installation is completed, l can configure the CSDMIN in ECC6,
    In OAC0, l have created the Content Repository=ZA,
    Document Area = ARCHIVELINK
    Storage type = 04 HTTP Content server
    Version=0046
    Http Server = 10.120.0.10
    Port Number = 1090
    HTTP Script= ContentServer/ContentServer.dll
    Transfer drctry =
    10.100.0.10\cm\exdir   /# \cm\exdir is a directory in Content Server. #/
    the physical directory created in the Content Server as
    10.120.0.10\cm\za
    In OAC2, l have created a new Document type=ZCS, the document class=PDF
    In OAC3, l have created the following:
    Object Type= BUS2012, Document Type= ZCS, Link=X, Cont.Rep.ID=ZA, Link=TOA01, Rentention=99
    Object Type= BUS2105, Document Type= ZCS, Link=X, Cont.Rep.ID=ZA, Link=TOA01, Rentention=99
    (Honestly, l'm not quite sure the BUS2012 will work, it created by functional team, which l'm sure it actually represent the business object for PO and PR)
    With these, l think the linkage between business object and logical archive is established, but when l saved the attachement in ME22N and ME52N, the document still save into ECC6 Database, not the Content Server, because in the /cm/za directory in the Content server still empty.
    Anyone please advise any documentation/steps do store the document in Content Server from PO/PR and with returned URL to the users.
    Please help..
    Many thanks
    Jordan

    Dear all;
    Thanks for the information, l manage to store document actually.
    l used the OAAD to test to stored, once it is working, then l can use the option 'Store business document" ME23N and ME52N transaction code.
    One question here l would like to check:
    The WorkFlow team said that the Generic Object Service (GOS) - "Create Attachement" option in ME23N can actually store the document to Content Server instead of store into R3 Database.  He claimed some Basis have done it before, can anyone clarify if it is true?
    In OAC0, l have ZB Content Repository, set the "Storage Type = 04 HTTP Content Server" in order to save the document to Content Server.  The Document Area=Archive Link.
    With these setting l can only use the "Store Business Document" option to store the document to Content Server, not the "Create Attachement".
    l try to change the Document Area with different option like DMS, BDS etc but l can't get the Content Rep ID for ZB in OAC3 to link the Object Type?
    Anyone can help?
    Many thanks.
    Jordan Tan

Maybe you are looking for