Workflow Attchment Data

Hi,
In Leave workflow when approver rejects it the approver(Agent) provide the reason for rejection as an attachment.
I have to send the external mail to the employee.
I am able to send the mail with fixed information, however unable to extract the information from attachment ( want to know in which SAP Tables say SW* this information is stored) or any other solution.
Help Please.
Praveen Jain

in workflows these should be stored in container element Attach_Objects. These objects are of business object type SOFM. See the methods of this object on what you can do with it. You should be able to pass the attached objects to the send mail task with bindings.
Regards,
Jurgen

Similar Messages

  • Workflow attchment data stored in which SAP Tables

    Hi,
    In Leave workflow when approver rejects it the approver(Agent) provide the reason for rejection as an attachment.
    I have to send the external mail to the employee.
    I am able to send the mail with fixed information, however unable to extract the information from attachment ( want to know in which SAP Tables say SW* this information is stored) or any other solution.
    Help Please.
    Praveen Jain

    You really shouldn't worry about that. Use the access functions instead.
    If you are thinking about the e-mail address for a user, use the function module BAPI_USER_GET_DETAIL.
    If you are thinking about the e-mail address for an employee (which is not stored in the same table), one solution is to use BAPI_EMPLCOMM_GETLIST and look for an entry with subtype 10 (this one is SAP standard I believe) or any custom subtype which should hold e-mail address.

  • How to trigger a workflow when data inside a table changes

    Hi
    How to trigger a workflow when data inside a table changes ??
    We need to trigger a workflow when STAT2 field value in PA0000 table changes.
    rgds
    Chemmanz

    Make use of Business Object BUS1065. In this business Object you have an attribute Status which you can use. There are a number of events that will get triggered when the status is changed.
    Thanks
    Arghadip

  • E-Recruiting Workflow after Data Entry Error

    Greetings,
    The E-Recruiting Workflow after Data Entry Error enables you to change and internal or external application that was entered manually.  If for example, you enter the application to the incorrect reference code, you can assign a different one.  As a result the status of the original application is set to rejected with the status reason of "Replaced by new Application".
    My question is why doesn't the candidacy also get set to rejected?  Although the application is rejected, the candidacy is still in process and so this candidate will continue to show on the Candidate Shortlist for the requistion.  There is nothing that I can tell that will stop a recruiter from continuing to recruit this candidate.  I am thinking of changing the workflow to also reject the candidacy, but before I do that, I want to know if there is an error in my thought process here.
    Can anyone shed some light on this?
    Thanks!

    Hi;
    As far as I know this is how Acrobat works.  You can try to post your question in the Acrobat Forms Forums, you might get more help on this specific issue there since this isn't unique to FormsCentral forms: http://forums.adobe.com/community/acrobat/forms
    Thanks,
    Josh

  • Return order BUS2102 Workflow container data not populated

    Hi All,
    Please requesting you to provide your advise on the below issue.
    I have created a custom workflow with business object BUS2102
    In the Workflowtemplate (E.g. WS90000XXX)
    i have included the triggering event for BUS2102 with EVENT "CREATED" and
    added a container element SDReturnCN of type BUS2102
    Once the Return Order is created the Workflow is getting triggered successfully
    but data is not populated into the container SDReturnCN.
    Do i need to write and EXIT to populate container UNLIKE as in Credit memo bussiness object :BUS2094
    if yes please let me know which part i am missing.
    Thanks & Regards,
    Veeru.

    Hello,
    "but data is not populated into the container SDReturnCN."
    Check the bindings. Where is the value coming from?
    regards
    Rick Bakker
    hanabi technology

  • SharePoint Workflow Long Date does not output day of week!

    Hi all, 
    We have developed a workflow that sets a time delay and notifies users after three working days have elapsed. It detects a working day by checking whether the words "Saturday" or "Sunday" occur in the long date version of "Today".
    This workflow was running just fine but recently we found that emails were being sent out on the weekend and the cause for this was that the long date did not contain the day of week at all!. 
    I have been looking at this issue for a while and the only thing I have found is that when I change the site regional settings away from UK, the long date displays correctly again. In fact, it works for most locales, but as soon as I change the locale back
    to UK it stops working again. I have confirmed that this behaviour is consistent across more than one environment, and even on SharePoint Online!!
    Has anyone experienced this or have any solution? To me this seems like a bug and a call to MS but I thought I would post here to see if anyone had similar experiences. The only discussion I have ever found on this subject is linked below but I do not see
    a resolution to the problem. I don't think changing our locale is a solution! :-)
    https://social.msdn.microsoft.com/Forums/en-US/174e853f-69b6-46ab-a1a8-674daec898c0/workflow-lookup-on-datetime-field-format-set-to-long-date-but-missing-day-of-week?forum=sharepointcustomizationprevious
    Thanks,
    Tal

    My last reply that this did not fix the problem when I reactivated the workflow was deleted by someone from this forum post. 
    I still have this issue with the calculated field and will probably end up calling Microsoft Tech Support to have them help me figure out why this works in my WSS 3.0 version of our Sharepoint Help Desk app and not in the SFS 2010 version.  I have the
    exact same formula in the calculated field for both versions.  The SFS 2010 version always changes to "Sat" after any modification and there is no place in the workflows that get invoke when items are changed that this calculated field or any elements
    in the formula get touched.
    Alan-Seattle

  • Retrieve workflow container data in programming exit

    I am trying to use a programming exit in Workflow in order to amend the task container for the receipients field of a "Send Email" step. The reason why we are not determining the receipients in the usual way is because we hold the receipients (amongst other data) in a separate Z* table - this needs to stay this way.
    I created a class and copied method CHANGE_CONT_ELEMENT to base my altered code on. The method is triggered fine when testing the workflow. Here is what it now looks like:
    method CHANGE_CONT_ELEMENT .
      DATA: container TYPE REF TO if_swf_cnt_container,
            if_swf_cnt_container,
            cont TYPE REF TO IF_SWF_IFS_PARAMETER_CONTAINER,
            name TYPE swfdname,
            lh_wihandle TYPE REF TO if_swf_run_wim_internal,
            l_exception TYPE REF TO cx_swf_cnt_container,
            l_wiid TYPE sww_wiid,
            w_container type ref to IF_SWF_IFS_PARAMETER_CONTAINER,
            w_names type SWFDNAMTAB,
            wa_names type line of SWFDNAMTAB,
            w_value(30).
      w_container = me->m_ctx->GET_WI_CONTAINER( ).
      w_names = w_container->LIST_NAMES( ).
    data: w_name type SWFDNAME.
    w_name = 'TEST-NUMBER'.
    TRY.
      loop at w_names into wa_names.
        CALL METHOD w_container->get
         EXPORTING
          name       = wa_names.
      endloop.
    CATCH CX_SWF_CNT_ELEM_NOT_FOUND .
    CATCH CX_SWF_CNT_ELEM_TYPE_CONFLICT .
    CATCH CX_SWF_CNT_UNIT_TYPE_CONFLICT .
    CATCH CX_SWF_CNT_CONTAINER .
    ENDTRY.
    ENDMETHOD.
    Now w_names retrieves the names of the fields fine (including my "TEST" entry which I declared in the Workflow Builder), but the GET method causes a "CX_SWF_CNT_ELEM_NOT_FOUND" exception.
    Is this the correct way to retrieve data out of a Workflow container within a WF programming exit? What am I doing wrong?
    Kind regards,
    Michael Koch

    Hi Michael, Paolo & Other experts,
    I am trying to understand when, why and how to use a 'programming exit' in a SAP workflow.
    (1) Did you figure out the solution to your problem?
    (2) Is there any material / tutorial on use of a  'programming exit' in a workflow?
    Thanks
    Abaper

  • How to view workflow instance data in redable format which is stored in sql server in blob format

    Hope you are doing well,<o:p></o:p>
    I am praveen kumar i have query regarding microsoft workflow that i have created an workflow application and its working fine. Now i want to see the data which saved
    in database (sql server). when i check i found datakey and value is saved in UserEvent table but the data is saved in BLOB format. but i need to use that data in some sql reporting work. <o:p></o:p>
    what should i do to get that data. as i saved my object like user name, user id, user address . In redable format at database level.<o:p></o:p>
    Waiting for you response.<o:p></o:p>

    Hi praveen4.kumar,
    Welcome to WorkFlow forum.
    From your description above, it's recommended to use the method below.
    By default, the DataReader loads incoming data as a row as soon as an entire row of data is available. Binary large objects (BLOBs) need different treatment, however, because they can contain gigabytes of data that cannot be contained in
    a single row. The Command.ExecuteReader method has an overload that will take a
    CommandBehavior argument to modify the default behavior of the
    DataReader. You can pass SequentialAccess to the
    ExecuteReader method to modify the default behavior of the
    DataReader so that instead of loading rows of data, it will load data sequentially as it is received. This is ideal for loading BLOBs or other large data structures. Further information:
    Retrieving Binary Data
    Please let me know if there is anything that I can do to help.
    Best regards,
    Angie
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Can I access WorkFlow Container Data After Archiving?

    Hello .....
    I am tasked to Archive thousands of old WorkFlows that are cluttering up our system and are beginning to cause performance issues.
    I have managed to Archive some WorkFlows in our DEV system with Tcode SARA.
    My question is .... Can I still access container data for Archived WF's?  I can see logs that indicate successful Archive but our Managers still want to be able to see the container data.  is it possible or is it gone?  tahnk you in advance.
    Dan Avis

    Hello,
    Your archiving isn't successful until you've tested it out - and answered your own question.
    But as far as I can recall (I'll check) - yes, the container values are present. So far I haven't been able to find anything that was missing.
    regards
    Rick Bakker
    hanabi technology

  • Send workflow container data to workflow within BSP

    Hi Experts,
    Good day. I think this must be the right place for asking BSP related questions.
    My question is: I'm triggerring a workflow from BSP and container data for the workflow shall also be transferred.  But when my workflow is triggerred, related container data is not transferred to it. I think there might be something special to care about when calling workflow from BSP, but no exact information is found.
    Following is my code in onInputProcessing event handler.
      CALL FUNCTION 'SWE_EVENT_CREATE'
        EXPORTING
          objtype           = lv_objtype
          objkey            = lv_objkey
          event             = lv_event
        IMPORTING
          event_id          = lv_eventid
        TABLES
          event_container   = lt_container
        EXCEPTIONS
          objtype_not_found = 1
          OTHERS            = 2.
      IF sy-subrc = 0.
        COMMIT WORK.
      ENDIF.
    This code is triggering the workflow but the containers in workflow remain initial. Please kindly help me with this issue, any information is highly appriciated.
    Thanks in advance
    Regards
    Luis

    Hi Shailaja,
    The problems are solved, the related thread is in Business Process Management forum and you can search with 'Trigger workflow from BSP and transfer container data' under my name.(sorry I dont have the url to that, the address in my Firefox is always sdn.sap.com/irj/sdn/collaboration).
    Poinst have been distributed and thanks for your time and kindness.
    Best regards
    Luis

  • Error in reading workflow container data and populate it in web dynpro pdf

    Hi,
    Please advise on the following issue.
    I have an adobe interactive form built inside a webdynpro java application, on a RFC call this form is sent as an xstring and the BAPI triggers a workflow in the backend. At any point of time, on passing a workitem id, a custom function module returns the form data that exists in the workflow as an xstring back to webdynpro java, intenally this custom FM iterates through the internal table binary contents for IT_SOLIX_TAB and produces an xstring format out of this binary content. This xstring is passed back to the webdynpro java application so that the contents can be displayed in a pdf.
    I assume that since the data source context structure which has to be populated with this wf container form data is exactly the same as the one which generated this pdf in webdynpro java before the workflow trigger, the WDINTERACTIVEFORMHELPER.transer.... method should be sufficient to re-populate the wd java based pdf with wf container data.
    But I am unable to do this as I am getting "PDFDocument processor failed to process input pdf request" at this step. Though I can see that the RFC is returning the binary data
    Versions : ALD 8.1, CE 7.1 SP5 NWDS, Adobe reader 9
    Awaiting your inputs.
    Thanks
    Lisha

    Hi Hari,
    Why do you use a FM to read the container? You couldn't use bindings? Or are you reading the container of the workflow in a separate program?
    Are you sure the container element is filled when the workflow is started? If so how is it filled, in the event binding?
    Regards,
    Martin

  • Workflow Test Data for BUS1010

    Hello experts,
    i have a problem when testing my new workflow. I use BUS1010 for setting up credit data for debitors. I set test data for all BO like BUS2032. There is the key field 12 character long so I enter 0000012092 for my salesorder and for KNA1 0000001460.
    But now I want to enter the data for BUS1010. The problem is that there are 2 keys. One is the debitor and the other the credit control area (4 character). What should I enter for to create test data?
    At first I tried it only with 0000000000001460 ( 16 character). but it does't work. Then 00000000000014600001 (with credit control area 0001 at the end). How shall is enter it? With a ; or a . ?
    Please help.
    thanks

    Thanks,
    It must be a combination of two fields . the credit control area (field kkber)with 4 characters and the debitor account number ( kunnr  (data elemnt kun16)) with 16 characters i think. How to build the right key to create test data for BUS1010.
    When i enter debitor 1460 and credit control area 0001 in TA FD32 it get the right data. But why it isn't working when i enter it as test data for my workflow?

  • ISR ADOBE Workflow Scenario - Data doesn't update the Backend

    Hi,
    I am currently working on ISR-LOA Scenario. I have made all the ISR-Form-Process configurations and linked with my workflow. I event tested my process in the backend and portal. The process goes end to end. But does not update the infotyptes. No error was reported either in Portal or Backend. I was able to complete the termination process by copying the SAP standard scenario (STN1) and the workflow task WS17900391. But this LOA is a custom scenario. I dont see any difference? But i am really puzzled about this.
    As a simple process My workflow contains Task TS17900101 - Approve Form task and a mail step. According to, http://help.sap.com/saphelp_erp2005vp/helpdata/en/42/f280b91e5132c3e10000000a1553f6/frameset.htm
    the approve form step doesn't update the backend directly. I also tried task TS17900102 and TS17900108 (Save Data - Background Processing). I also applied authorizations P_ASRCONT and P_ORGIN to WF-Batch user. Please give me your suggestions.
    I was continuing the completed thread Re: Events Definition in Adobe Interactive Form - Help required, but i am opening this new thread.
    Thanks,
    Peterson.

    Hi
             I am facing some strange problem, in my project we are using the new HCM concept using Process Object and not the Notification type,
          I have take standard scenario SBC1 - child birth, done the config and checked the form and also process its not giving any error.
        But when i tried test process execution "HRASR_TEST_PROCESS", getts error message " Work Item Not Found; Workflow Not Started" and "Process Object Not Created",
    when i check the log in SLG1 tcode for Object: HRASR, Subobject: POBJ. "Case 46CC2D7604BB275EE1000000995893A9 does not exist. No administration authorization in Change and Transport System", this error message only consfuse me more.
        Can you help me on this, if you required i will send the screen shot of the error message

  • Error in reading workflow container data and populate it in web dynpro pd

    Hi,
    Please advise on the following issue.
    I have an adobe interactive form built inside a webdynpro java application, on a RFC call this form is sent as an xstring and the BAPI triggers a workflow in the backend. At any point of time, on passing a workitem id, a custom function module returns the form data that exists in the workflow as an xstring back to webdynpro java. This xstring is passed back to the webdynpro java application so that the contents can be displayed in a pdf.
    I assume that since the data source context structure which has to be populated with this wf container form data is exactly the same as the one which generated this pdf in webdynpro java before the workflow trigger, the WDINTERACTIVEFORMHELPER.transer.... method should be sufficient to re-populate the wd java based pdf with wf container data.
    But I am unable to do this as I am getting "PDFDocument processor failed to process input pdf request" at this step. Though I can see that the RFC is returning the binary data
    Versions : ALD 8.1, CE 7.1 SP5 NWDS, Adobe reader 9
    Awaiting your inputs.
    Thanks
    Lisha

    Hi Hari,
    Why do you use a FM to read the container? You couldn't use bindings? Or are you reading the container of the workflow in a separate program?
    Are you sure the container element is filled when the workflow is started? If so how is it filled, in the event binding?
    Regards,
    Martin

  • Column based on Approval Workflow completion date

    Would anyone know of a way to create a column that will display the completion date of an approval workflow than ran on a specific file in another library?
    Thank You

    It could be a simple single line of column
    The workflow on other file must update this column, then only it can hold data
    In SharePoint designer workflow, it can be done easily with "Create a list item" action.
    You can refer this video - http://www.lynda.com/SharePoint-tutorials/Creating-new-list-item/144025/161251-4.html
    Let me know if you need more help.
    Please 'propose as answer' if it helped you, also 'vote helpful' if you like this reply.

Maybe you are looking for