Xml form and Approval workflow/process

Hi ,
I have created an xml form template and
I have to integrate with Approval process ..
My requirement is something like this ....
After the content created using the xmlform template by the content generator(role).
It should go to the Approver(role) action_inbox for approvalthen once Approver  approves the content should be copied from the original folder to a predefined folder.
Actually I trying to implement repository service,
With in which I am registering with
StatemanagementEvent.PUBLISH
Yet I am not sure whether I am doing correct or not
Can anyone Please guide me how to achieve this
thanks

Hi Patricio,
thanks for the reply..
Yes I think I need repository service..
I am using the xmlform template to generate the many contents. say I have generated
three content from a xmlform template
One content has to move to folderA
second content has to move to folderB
third content has to move to folderC
for this move action ... I am planning to implement repository service where I will capture the Approved Event( Right now I do not know which event is triggered.. I am searching for that.. if you know please let me know )
then after getting the which resource( rather in my case the xml file ). I have to move/copy this xml file to a designated folder..
this is actually my requirement
Sorry for not making clear about my requirement in my earlier query..
I would like to know ...
for this requirement is there built-in facility something like just configuring EP or
Am I going in the right direction ?
I am bit confused about the stepos involved in the approval process..
which comes first  Publish or Approval
thanks
pk
Message was edited by: PK G

Similar Messages

  • XML Forms and Posting Directly to iView

    Hey Everyone,
    This is my first time posting a question on SDN, so please forgive me if I leave anything out.
    I have a question regarding XML Forms and iViews. We are using EP 6.40 SP12.
    I would like to have an XML Form filled out and have it's contents sent directly to an iView which is located on the opening screen of our Portal. The scenario is that every Tuesday the form will be filled out, saved and will appear on the user's Portal. An appropriate folder structure has been created in KM to hold all the forms, etc...
    Any help would be much appreciated,
    Cheers
    Rav

    Hi Ravinder,
    After generating the forms,you have to create iViews for the Forms,Authoring iview and Render List iView.
    These iViews can be assigned to users,or assigned to some page using Delta link.
    The updated news will be available as a List on the Browser iView,which can be clicked to drill details.
    The properties are set in the iView properties of Layout Set ,for example for authoring iView
    Layout Set = NewsExplorer
    For render List iView
    Layout Set = NewsBrowser
    Path to Initially Displayed Folder /documents/myNews
    The values will change depending upon the form name.
    Please go through this document for a detailed example
    <a href="https://media.sdn.sap.com/html/submitted_docs/Best_Practices/EP/documentation/How-to_Guides/KM/How%20to%20create%20XML%20forms.pdf">https://media.sdn.sap.com/html/submitted_docs/Best_Practices/EP/documentation/How-to_Guides/KM/How%20to%20create%20XML%20forms.pdf</a>
    This Document gives a step by step solution on using XML forms.
    Regards,
    Siddhartha
    Message was edited by: Siddhartha Jain

  • XML Forms and URL links in RenderListItem Form

    Hello everyone,
    I'm new at XML Forms and trying to do my first forms. I have this scenario:
    - user fills several entry fields in "Edit" Form, 2 of them include URL Links.
    - Every new entry in "RenderListItem" Form lists fields "Title" and URL1 URL2.
    In RenderListItem Form, i would like to control the behaviour of these links. Link URL1 should open in a new window, but URL2 should stay in the same browser window.
    How can i achieve this ?
                                          Thank you in advance for any help,
                                                Nuno

    Hi Nuno,
    you can achieve this by changing the XSL file.
    Check out this thread for more infos: XML form display in same browser window
    Best regards,
    Robert

  • How to insert PO details in an ADF based form and initiate the process flow

    Hi All,
    Could any one let me know how to insert PO details in an ADF based form and initiate the process flow in oracle BPM. This ADF form will be custom one....How to create a ADF custom based form.Please let me know the step by step process..Am new to BPM
    Thanks in advance,
    sreevani

    Hi All,
    Could any one let me know how to insert PO details in an ADF based form and initiate the process flow in oracle BPM. This ADF form will be custom one....How to create a ADF custom based form.Please let me know the step by step process..Am new to BPM
    Thanks in advance,
    sreevani

  • XML Forms and Permissions

    Hi guys,
    I am using EP 6.0 SP14 and have a question about how to use XML Forms and permissions.
    The scenario is... We have a KM Navigation iView which displays the RenderListItem form using the NewsExplorer layout set. Several people have access to this iView, so they can create new news. Also, for each news created, there are the options Edit and Delete.
    The issue is that we do not want someone to Edit/Delete the news created by another person. We want only the "owner" to do this task. Two acceptable solutions would be:
    - The RenderListItem only displays the items created by that particular user, allowing it to use the options Edit/Delete.
    - All news created are displayed, but only the ones created by the current user will have the Edit/Delete options available
    Is it possible to reach one of the above solutions using configuration only?
    I found this thread:
    Repository Service auto change resource permissions
    But it uses Java programming, which we would like to avoid, if possible.
    Thanks in advance
    Fernando Urzedo

    Hi Fernando,
    > not familiarized with the Portal API yet.
    > Furthermore, we are running low on time
    Take it as your chance to get more familiar with it
    Especially the KM framework has a lot of interfaces where you can extend the functionality with a lot of magic, which simply is not possible by just configuring something.
    > in that third thread,
    > how should I import it into portal?
    "Third thread"? I think you mean the thread you have referred to?! (So: Implementing a Repository Service).
    To get s solid basis for this, search on google for
    <i>Detlev "Repository Service" site:forums.sdn.sap.com</i>
    You can start implementing this by the KM (RF Component) wizard, which creates the basic implementation for you.
    Hope it helps
    Detlev

  • Learning sql and pssql ,xml,forms and report

    ihave learned sql and plsql i donot Xml and forms and reports  how to learn by own by easy method
    by sql and psql we have learned from basic to higher ,weather things going from book to online (any other way to practising and understanding the concepts)

    learning sql and pssql ,xml,forms and repojavascript:;learning sql and pssql ,xml,forms and reportrt for beginners

  • XML Form and workflow

    Hi ,
    Can a workflow is possible by using iviews which are created bt XML form Builder ?
    Aneez

    Hi,
      As i understand XML Form Builder helps us create a Form Template which can be used to create content easily. Content created are stored as KMContent and ones thes workflow (Approval) is set to the folder the documents are subjected to the workflow.
    iViews are used to display the content from the KM Content.
    Regards,
    S.Divakar

  • XML forms with approval

    Hi All,
    We have requirement of designing XML forms with some static contents to be filled by user 1 and send the same info to user 2 for approval.  Once user 2 approve/rejects it, user 1 has to know about the action.
    Is this requirement is fairly possible using XML forms builder ? how approvers are identified in XML forms to send the information ?
    Please share your experiences in this regards. Looking forward to your kind responses.
    Regards,
    Anil kumar.

    Hi Anil
    1. Design / build your xml form as per your requirment using XML Form builder.
    2. Enable the Approval process for the folder where these .xml files will be stored. (as pointed out by Noel).
    3. Enable UWL functionality in the portal so that users can see if they have any items for approval.
    4. Once approved, publish the document for other users to read on.
    No coding in WD Java is required. You can entirely achieve this via customization and configuration.
    Thanks
    Deepak

  • Inconstancy in Approval Workflow- Process Controlled Workflow

    Hello Experts,
    We are in SRM 7.0 classic scenario using process controlled workflow and facing an issue as described below:-
    During the approval workflow, we are observing that in
    Case 1: When approver3 is forwarding the work item to approver10, the approver10 in not getting the work item in his Inbox. However, when we see the log detail in SWI6 the status is shown as u201CREADYu201D
    Case 2: We created a shopping cart with identical details as in Case 1 and followed the same approval process i.e.Approver3 forwarding the work item to approver10, however in this case approver10 is getting the work item in his Inbox and when we see the log details in SWI6 the status is shown as u201CCOMPLETED"
    We tried this scenario for 10 times and we found that in 2 cases the approval status is showing as u201CREADYu201D while in other 7 cases the approval workflow got completed.
    Can you all experts please help us understand why this is happening and how can be find the root cause i.e why Case 1 is in u201CREADYu201D status for last 2 days.
    We seek your help in understandingroot cause so that we can eliminate any inconsistency in future.
    Any pointers to resolve this issue will be highly appreciated.
    Thank you in advance.
    Regards,
    RKS

    Use class /SAPSRM/CL_WF_APV_FACADE. This is used by standard SAP WF Analysis.
    Methods - RETRIEVE_PROCESS_HISTORY, GET_CURRENT_PROCESS_STATE, CREATE_PROCESS_FORECAST.
    To analyze more, check the program /SAPSRM/WF_CFG_ANALYSIS_002. Check lines 209...216 (These Lines pull Previous Approved Steps, Current Process Step & Gets the approval forecast). However the REJECTED Items (Accept Decision) work little different (which is not captured by this report).
    To Identify the current approval process awaiting decision by the requester of the cart, use method GET_CURRENT_PROCESS_STATE, return parameter structure /SAPSRM/S_WF_PROCESS-PROCESS_LEVEL_LIST-DECISIONSET_LIST-ITEM_STATUS_LIST gets you the current status of the item (ACCEPTED, REJECTED, OPEN, INQUIRED). If ITEM_STATUS_LIST-ITEM_STATUS EQ 'REJECTED', then the WF is waiting for acceptance/resubmission from the requester.
    To your specific need, pass DOCUMENT_GUID to the class /SAPSRM/CL_WF_APV_FACADE=>GET_CURRENT_PROCESS_STATE get the return parameter /SAPSRM/S_WF_PROCESS. It will give you PROCESS_LEVEL_LIST. Then loop through DECISIONSET_LIST. It contains Table Types of AGENTS_LIST, ITEM_STATUS_LIST, WORKITEM_LIST. At /SAPSRM/S_WF_PROCESS level, you can get all the details of the current process level details
    Thanks,
    SC

  • Using Javascript to email a form in a workflow process

    I've created an Acroform which will be routed around in a workflow process.  The user will open the form, add information and hit a button which is coded in javascript usng the mailDoc function.
    It works perfectly EXCEPT that each time the document is forwarded, "Adobe Acrobat Pro.pdf" gets appended to the name of the file in the email.  It doesn't actually rename the file, so the file does open properly, but the email looks pretty goofy.
    Example.  The filename is Form14.pdf. 
    When the third person signs off and clicks the email button, the email is created, with the address, subject line and body of the email completed, and the document attached has the little icon and then
    - Form 14.pdf - Adobe Acrobat Pro.pdf - Adobe Acrobat Pro.pdf - Adobe Acrobat Pro.pdf
    Is there some way to prevent it from concatenating like this every time the document is emailed?
    Thanks!!!

    Maybe you could try it like this... I saw this question answered not too long ago.
    Submit Portal Form Values to Portal Report

  • Completion and approval workflows in line item based SC approval scenario

    Hi SRM experts,
    We are on SRM 7 ECS , support pack SAPKIBKV08
    We are designing line item based SC approval workflow. We also have completion workflow. i.e after requester creates a shopping cart, it goes to buyer as per completion workflow( if the SC does not have price , vendor or has a free text)  , and then after the completion workflow, it goes to main SC approval workflow.
    My questions are :
    1. If a requester creates 2 line items in SC , and 1 line item does not have price/vendor/or material , whereas 2nd line item has price/vendor/ and material , can we send onlt the 1st line item  to completion workflow and not send the 2nd line item in the completion workflow but directly to SC approval workflow  ?  OR we have to send the entire cart to the completion workflow ?
    2. After the completion and the approval workflow , if line item 1 is approved, can it create a PO , whereas the 2nd line be still in approval . i.e  do all the cart items need to be approved before creating POs or as and when individual line items get approved , they can create thier own POs
    Rgds
    Sumendra

    Hi Sumedra,
    Which workflow are you using - application or process contrlled workflow?
    Assuming you are using process-controlled workflow - I will answer following questions -
    1. Can offline approval be used for item based shopping cart approval workflow?
    - Yes, it can be used !
    2. Can different line items be sent by mail to different mail boxes?
    Yes
    3. Will 1 manager see all the 10 line items OR only the 1 line item for which he is responsible?
    1 manager can 'see' all the items but he can only approve or reject the item that he is suppose to act on. All other item will be grayed out. However, this behaviour is configuarable !
    4. If he will get only line for which he is responsible , and once he clicks on approve , will this approval apply to his line item only , OR it will apply to all the 10 line items ?
    - see above
    Regards,
    Amit

  • XML forms and KM folders

    i want to enable users to create 3 forms which are saved to a folder where administrators can approve them. however the users shouldn't be able to see what is in the folder because it is likely to contain forms submitted by other users.
    the only way i can see of doing this is to create a url iview containing the xml form (edit view). the url string contains the path to the folder where the forms are stored .i.e. /documents/client_forms/
    but this is a bit messy and leaves us having to maintain the url in each environment.
    i thought the com.sap.km.cm.xmlformedit iview was going to do the trick but you can't specify where the form is saved.
    is there any other iview template which will do this? can i create a KM navigation iview with a null renderer or something so that it only shows the create forms associated with the folder and not the actual contents?

    Hi,
    Yes, you can create a custom layoutset and within it a custom Collection renderer that doesn't show any resources, just the create xml commands. copy the NewsExplorer layoutset and the NewsCollectionRenderer. in your new collection renderer set the properties: Folders Selection, Files Selection, Links Selection to Off, that way it won't show any resource. assign this collection renderer to your new layoutset instead of the original one and use it in your KM navigation iview.
    Best regards,
    Avishai Zamir

  • Rendering PDF form and invoking the process

    I've seen few recent posts about rendering the form from .NET application and I was wondering if you could explain and give few more details about how to create an .NET application which will render the form with LC Forms and then invoke the process.
    If you have any kind of other documentation please tell me about it...
    I was reading SDK help and few livedocs, but since I do not have experience with .NET it is all a little bit confusing for me.
    Once I render the PDF in my application how do I invoke the process? Is the submit button on the form enough or I have to write an a web service?

    What did the errors say? Can you post a copy of the pdf so we can test out. The presets embed the font, but might be a unicode issue, or one of the few fonts which are copyrighted and do not allow embedding.
    What application was the pdf was created from, what settings were used, and if you can outline the fonts. What font or font(s) are the ones reflowing?

  • Images and XML forms and Images and scaling

    Hello,
    I have two questions about using images in XML forms.
    1) How do I insert images into the XML form editor.
    The thread HTML Editor in XML Form? (Posted: Aug 26, 2004 7:50 PM), discuss how the HTML Editor in XML forms can be extended to be able to insert images like in the KM editor.
    Has anyone any practical experience with this?, as the thread is fairly old.
    And is there other solutions which are more suited?
    The portal is running on WAS 6.40, EP 6.0 SP11
    2) Is is possible for the portal to scale images
    In the portal, different users will use XML forms to publish news stories. These users will want to publish images along with the text.
    In many content management systems, the system will automatically scale the images (e.g. create one thumbnail, a mid-size image and keep the full size) Can this be achieved in the portal.
    The reason for this is to make sure that no one can post a very large image and to make sure each image is the same size.
    I'm interested in hearing how other people, solve the issue with uploading and scaling of images used in the portal.
    Kind regard,
    Jørgen Ruud
    Will reward SDN points.

    Hi Sumit,
    Just to add to what Duncan had said ... please ensure the following things as well
    1. Access portal using FQDN
    2. Maintain proper browser settings http://wiki.sdn.sap.com/wiki/display/EP/MSIE6BrowserSettingsforaccessingSAP+Portals
    3. Please go through the forum link http://forums.sdn.sap.com/thread.jspa?threadID=1814082
    Regards,
    Mahesh

  • XML form and hyperlink

    Hi,
    I have a created an XML form which uploads a pdf from edit form and displays a hyperlink to that pdf in view.
    But my problem is that when I am clicking on the hyperlink it shows me the path to the document and then when i click on it opens the document.
    I don't want the path to be displayed. I am using the schema reference for the the hyperlink property.
    Your help would be greatly appreciated...
    Thanks,

    Hi,
    Try by changing the class property from <b>Label</b> to <b>Counter</b>. The path name will not be displayed. It will be replaced by 1.
    Hope this helps.
    Regards,
    Shankar

Maybe you are looking for