Location of the attachments in Guided Procedures
Hi,
does anybody know the location where the attachments from the Guided Procedure Runtime are stored?
Are they stored somewhere in the KM or in the database/filesystem directly?
In the Guided Procedure Monitoring i can see the attached documents, but i need an overview over all attached documents in the gp process instances for one Guided procedure.
Thank you in Advance - Regards
Martin
Edited by: Martin Fister on May 6, 2009 5:14 PM
Edited by: Martin Fister on May 6, 2009 5:15 PM
Hi Martin,
the standar "Attachment" functionality in GP stores the file in the database, may be you can get the table names asking here in the forums, anyway you can create your own attachments page using UI Patters and integrating it with the KM so the attached files will be stored there.
This tutorial will help you:
[Integrating KM with CAF UI Patterns|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/dabdb3ea-0c01-0010-df8f-ffd2755c74c5]
Regards,
Marco.
Similar Messages
-
Retrieving attachments from guided procedure
I have a problem with the GP API in webdynpro to retrieve attachments from a guided procedure.
According to the documentation on help.sap.com this should be easy:
http://help.sap.com/saphelp_nw2004s/helpdata/en/f7/d3c2fd5081446a844575e5af <http://help.sap.com/saphelp_nw2004s/helpdata/en/f7/d3c2fd5081446a844575e5af484722/frameset.htm> 484722/frameset.htm
But when implementing the code the IGPRuntimeManager class doesn't have a function getAttachmentList()
I checked it in multiple service packs. I tested it on 2004S SP10 and 2004S SP 16 and in both the function isn't there. I also tested it on the Composition Environment and there it does work.
When looking at the SAP Note 924776
it says that there are changes in the public API of SAP Netweaver 7.0 SP10 and SP7.
Does know how this API works after SP10 ?
I can't find any SAP documentation about how it works after the change.Well, Not sure which you are using. I will talk about 10134. I got the count of attachments using Human Task's global variable. count(bpws:getVariableData('MyHumanTask_1_globalVariable','payload','/task:task/task:attachment')).
I have used hwf:getTaskAttachmentContents() to read the contents of the file and I have assigned that to base64binary type variable. -
How to change the name of (Guided procedure) GP Runtime View?
Hello all!
At Design time in GP (Guided Procedure), I have added a runtime view at the tab "Runtime Views" named Additional Resources to a GP process. At runtime, when the process is started, at the left bar appears the button "Additional Resources". Is there a way to change this name? Any idea can be helpfull :).
Kindly Regards,
LuizaHi,
an other solution is change the block property QUERY_DATA_SOURCE_TYPE from "Table" to "Sub-query" , than change at run time the property QUERY_DATA_SOURCE_NAME.
First create block and add items
The QUERY_DATA_SOURCE_NAME will be for ex. "Select 'A' as col1, 'B' AS col2, 'C' as col3 from dual"
Set into items the column name property to col1 , col2 ...
At run time change the query to "Select 'Z' as col1, 'X' as col2 , 'Y' as col3 from dual"
in this way you can change the source of column value.
Caution because if you change value type from varchar2 to date you must cast date into varchar2.
May be that this way is valid only for view data not for insert-update, i don't remember.
bye
Message was edited by:
Killernero -
Where are stored attachments in guided procedures process??
Any one knows?
Hi Julio,
The history of the process is not lost after the process is finished. You can see the process instances at NWA->Availability and Performance Management->Process Monitoring->Guided Procedures->Process Instances Tab.
Here you can Search the Process running/completed/terminated/erroneous/archived Instances based on Initiator/Administrator/Owner/Overrseer userid forlast week/last month/last year/At any Time etc. In the result that you get after search, you can see all the data for each process task. You can see Input Context,Output Context, Processor,Attachment etc.
Also on the main page for this screen, there are few other tabs which can give you other information about the Process/Process templated and other GP objects.
Regards,
Ajay -
Wht r the prerequiestes for Guided Procedures
Hi frnds..
can any one tell the prerequisites for installation of Guided Procedures for EP6.0(2004, SP19) we r using now, n i want install for this .
Regards
RajeshHi
Check this link
[http://help.sap.com/saphelp_nw70/helpdata/EN/42/d26a715d745043e10000000a1553f6/frameset.htm|http://help.sap.com/saphelp_nw70/helpdata/EN/42/d26a715d745043e10000000a1553f6/frameset.htm]
[http://help.sap.com/saphelp_nw70/helpdata/EN/ff/1b3a4209a6ae04e10000000a1550b0/frameset.htm|http://help.sap.com/saphelp_nw70/helpdata/EN/ff/1b3a4209a6ae04e10000000a1550b0/frameset.htm]
Regards
Chandran S -
Attachments in Guided Procedures
Hello Community,
Im making a process in GP and i want that some roles of the process can attach documents but others only can read those documents. Im using the Runtime View Additional Resources but using it all the roles can read and attach documents.
How could i configure this Runtime View to allow read or read&attach?
Thanks in advance
Kind Regards
OscarHi Martin,
the standar "Attachment" functionality in GP stores the file in the database, may be you can get the table names asking here in the forums, anyway you can create your own attachments page using UI Patters and integrating it with the KM so the attached files will be stored there.
This tutorial will help you:
[Integrating KM with CAF UI Patterns|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/dabdb3ea-0c01-0010-df8f-ffd2755c74c5]
Regards,
Marco. -
UWL Guided Procedures and Substitution Rules functionality - how possible?
We are using Guided Procedures with Custom Web Dynpro objects and need to utilize user/role substitution that is easily enabled in other AdHoc tasks using 'Manage Substitution Rules. Unfortunately when creating and turning ON a substitution rule in the UWL all Guided Procedure Tasks are excluded and do not show up in the substituting person's UWL.
Does anyone have any ideas of how we can utilize Substitution Rules in UWL for all Guided Procedure tasks/steps?
Thanks in advance
-SteveWHi SteveW!
The situation you're facing is the normal behavior from GP in relation with substitution feature of UWL.
Unfortunately GP doesn't support substitution as the other UWL connectors do.
Best regards
Armando Zaro -
Delete the attachments in Service orders
Hi Guys,
I am developing a report, which it needs to be delete the attachments from the CRM service order, could you please suggest, is any FM/BAPI for the same.
Thanks,
Gourisankar.Hi,
User below code, it will work.
REPORT zcrm_service_order_delet_attch.
TABLES
TABLES:crmd_orderadm_h.
TYPES DECLARATION
TYPES: BEGIN OF t_crmd,
guid TYPE crmt_object_guid,
object_id TYPE crmt_object_id_db,
date TYPE crmt_posting_date,
object_type TYPE crmt_subobject_category_db,
END OF t_crmd.
TYPES: BEGIN OF t_crmd_final,
object_id TYPE crmt_object_id_db,
date TYPE crmt_posting_date,
sucess TYPE i,
failure TYPE i,
total TYPE i,
END OF t_crmd_final.
Internal Tables *
DATA: i_crmd TYPE STANDARD TABLE OF t_crmd,
w_crmd TYPE t_crmd,
i_object_no TYPE STANDARD TABLE OF crmt_icss_object_guid,
w_object_no TYPE crmt_icss_object_guid,
i_attch TYPE STANDARD TABLE OF crmt_icss_att_info,
w_attch TYPE crmt_icss_att_info,
i_crmd_final TYPE STANDARD TABLE OF t_crmd_final,
w_crmd_final TYPE t_crmd_final,
ls_crmt_object_guid TYPE crmt_object_guid_tab,
i_return_objects TYPE crmt_return_objects.
DATA: lt_ios TYPE skwf_ios.
DATA: ls_io TYPE skwf_io.
DATA: l_docbusobj TYPE sibflporb.
DATA: l_sucess TYPE i.
DATA: l_failure TYPE i.
DATA: l_tot_final TYPE i.
DATA: l_lines TYPE i.
CONSTANTS *
CONSTANTS:
c_typeid(10) TYPE c VALUE 'BUS2000116',
c_catid(2) TYPE c VALUE 'BO',
c_object_type(1) TYPE c VALUE 'P'.
Selection-Screen
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-s01.
SELECT-OPTIONS: so_date FOR crmd_orderadm_h-posting_date OBLIGATORY.
SELECTION-SCREEN END OF BLOCK b1.
Start-of-selection
START-OF-SELECTION.
PERFORM getdata.
PERFORM delete_attach_save_order.
PERFORM display_output.
write: u_line(100)
skip.
WRITE: /05 'Total number of attachments deleted',
75 l_tot_final.
*& Form getdata
FORM getdata .
SELECT guid
object_id
posting_date
object_type INTO TABLE i_crmd
FROM crmd_orderadm_h
WHERE posting_date IN so_date.
ENDFORM. " getdata
*& Form delete_attach_save_order
FORM delete_attach_save_order .
*Fetching the attachments for GUID.
LOOP AT i_crmd INTO w_crmd.
CLEAR: i_attch, i_object_no.
MOVE: w_crmd-guid TO w_object_no-object_guid.
APPEND w_object_no TO i_object_no.
CALL FUNCTION 'CRM_ICSS_GET_ATTACHMENTS'
TABLES
it_object_guid = i_object_no
et_attachment_list = i_attch.
*Deleting the attachment for GUID.
DESCRIBE TABLE i_attch LINES l_lines.
LOOP AT i_attch INTO w_attch.
l_docbusobj-instid = w_crmd-guid.
l_docbusobj-typeid = c_typeid. "'BUS2000116'.
l_docbusobj-catid = c_catid. "'BO'.
ls_io-objtype = c_object_type. "'P'.
ls_io-class = w_attch-att_class. "'CRM_P_ORD'.
ls_io-objid = w_attch-objkey.
APPEND ls_io TO lt_ios.
CALL METHOD cl_crm_documents=>delete
EXPORTING
business_object = l_docbusobj
ios = lt_ios.
IF sy-subrc = 0.
l_sucess = l_sucess + 1.
ENDIF.
*Saved the service order after deleting the attachment.
APPEND w_crmd-guid TO ls_crmt_object_guid.
CALL FUNCTION 'CRM_ORDER_SAVE'
EXPORTING
it_objects_to_save = ls_crmt_object_guid
iv_update_task_local = 'X'
IMPORTING
et_saved_objects = i_return_objects
EXCEPTIONS
document_not_saved = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
ENDLOOP.
*Moving the data to inter table to display the output.
IF l_lines EQ l_sucess.
MOVE: w_crmd-object_id TO w_crmd_final-object_id.
MOVE: w_crmd-date TO w_crmd_final-date.
MOVE: l_sucess TO w_crmd_final-sucess.
MOVE: l_failure TO w_crmd_final-failure.
MOVE: l_sucess TO w_crmd_final-total.
APPEND w_crmd_final TO i_crmd_final.
*Clearing the internal tables and variables.
CLEAR: i_attch,
w_crmd,
l_sucess,
l_failure,
ls_crmt_object_guid,
l_docbusobj,
lt_ios,
i_object_no,
l_lines.
ENDIF.
ENDLOOP.
ENDFORM. " delete_attach_save_order
*& Form Display_output
FORM display_output .
IF NOT i_crmd_final IS INITIAL.
WRITE: /5 'Order Number',
20 'Creation date',
35 'success Records',
55 'Fail Records',
75 'Total Records'.
ENDIF.
LOOP AT i_crmd_final INTO w_crmd_final.
WRITE: /5 w_crmd_final-object_id,
20 w_crmd_final-date,
35 w_crmd_final-sucess,
55 w_crmd_final-failure,
75 w_crmd_final-total.
l_tot_final = l_tot_final + w_crmd_final-total.
ENDLOOP.
CLEAR : w_crmd_final.
ENDFORM. " Display_output -
Add Translation of INteractive form in Guided Procedures
Hi.
I have created an interactive Form with Adobe Lifecycle Designer. I use the Form in Guided Procedures. You can add translation files of the form there. But what is a Translation file and how can i produce it?
Thanks a lot. Regards,
DominikI found this in the SAP documenation hope this will hel you a bit.
If you would like to translate ABAP dictionary objects i know the translation will be automaticly done by the System. This will work due to the system variable SY-LANGU.
kind regards
Fabian -
Error when testing a Guided Procedure that use a Visual Composer UI
Hello!
Trying to develop my first Guided Procedure in SAP NW CE 7.1 SR3.
I follow instructions that I earlier have used with CE 7.1 SP1 (in TechEd07), assuming no major changes from SP1 to SR3...
I have defined a Callable Object that is based on a Visual Composer UI.
The Visual Composer UI itself works fine when I test it in Visual Composer but when I try to test the Callable Object I get the following error message:
"Could not load execution container: Did not find active instance for component com.sap.caf.eu.gp.ui.co.wd4vc.exec.COExecWD4VC in running application."
When I click on the error message I get a lot of details of the underlying Java exception:
"java.lang.IllegalArgumentException: Cannot find view element with ID 9NEfbfuapOdP8O4KnmM19Q in application com.sap.caf.eu.gp.dt.workset.AppWorkset with namespace null"
(skipped all details...)
Have I missed some step (development or configuration) that is new in CE 7.1 SR3 compared to CE 7.1 SP1?
I have tried to read through the available on-line help but can't find anything that seems to differ...
Are there any examples/tutorials available for CE 7.1 SP3?
Thanks for your help,
Magnus.Hello Dipankar!
Thanks for trying to help me out!
I'm unfortunately having problem with finding the choice "Add Guided Procedure Information" in the options menu in VC.
I have looked in the menu "Tools --> Options" but failed to find this choice.
Is this choice maybe changed in SAP NW CE 7.1 SR3?
Regarding running the VC component as a stand-alone application I can launch the component from VC after deployment and it works fine both as HTML and Flex (I really like the Flex - version :-)!
But if you mean something else with running it stand alone please direct me to some doc-url so I can learn how to do that!
Best Regards,
Magnus. -
Urgent: Need clarification on Guided Procedure (GP)
Dear Guru,
I am researching on concept of Guided Procedure and Process Integration provided by SAP Netweaver. Can anyone clarify me the concept of Guided Procedure(GP) and the differences with Process Integration (PI)? Any useful resources on GP and PI I can learn from? Thank you very much.
Point will be given
Best Regard,
Mr.NopHi,
please check the SAP NetWeaver Developer's Guide on SDN:
https://www.sdn.sap.com/irj/sdn/developersguide
http://help.sap.com/saphelp_nw70/helpdata/en/8b/0b674240449c60e10000000a1550b0/frameset.htm
The following links might be of special interest for you:
Guided Procedures:
http://help.sap.com/saphelp_nw70/helpdata/en/b1/019742ad14c46ae10000000a155106/frameset.htm
Guided Procedures in general:
http://help.sap.com/saphelp_nw70/helpdata/en/39/198141f906040de10000000a1550b0/frameset.htm
Enabling Application to Application Processes
http://help.sap.com/saphelp_nw70/helpdata/en/cf/128a42f802a01ae10000000a155106/frameset.htm
Enabling Business-to-Business Processes
http://help.sap.com/saphelp_nw70/helpdata/en/80/c76642804a173be10000000a155106/frameset.htm
SAP NetWeaver Process Integration (PI) in general:
http://help.sap.com/saphelp_nw70/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm
best regards
Carsten -
How to setup Guided Procedure Monitoring in NWA?
Hi I have NW2004S patched to SP11.
When trying to open the Guided Procedure Monitoring in NWA
NWA, Monitoring>Guided Procedures
I get the following error:
Guided Procedures JMX provider is stopped in the target system. Start cafeugpmodeljmx~eap application
Guided Procedures JMX provider is stopped in the target system. Start cafeugpmodeljmx~eap application
Cannot retrieve basic info: :name=BasicInfoProvider,component=cafeugp not in repository
However, the application cafeugpmodeljmx~eap when you go to NWA applications tab.
Any suggestions on what must be done to configure the monitoring?
I need to do this to monitor / debug the GP.Go into Visual Administration and check if the application has been started. The path is Services -> Deploy -> Monitoring Configurator. Expand that and see if the jmx.eap application is running. If not, then start the application.
Thanx,
Mahesh -
Guided Procedures Life & Work Events Help Needed
Our HR Department recently saw an SAP demo of the ESS Life and Work Events, which uses Guided Procedures. We are now struggling with the decision to use Guided Procedures for the On-Boarding or if this same type of functionality can be delivered with HCM Processes and Forms. The biggest draw for the Guided Procedures is the u201Cchecklistu201D type delivery. Does anyone know if it would be possible to use HCMPF and have a similar u201Cchecklistu201D that the new hire can work through. I heard somewhere that SAP is moving away from recommending the use of Guided Procedures and is instead recommending using HCMPF.
did you follow this http://wiki.scn.sap.com/wiki/display/ERPHCM/Reusing+ESS+Java+applications+in+ESS+ABAP+Role?original_fqdn=wiki.sdn.sap.com As such work events are not delivered as such in new releases, you can reuse it however,check above.
-
Guided procedures - offline Adobe IF
Hey everyone,
I've came across an issue which is still unsolved regarding the implemention of Guided procedures and an offline Adobe Interactive Form.
I made a process in which an administrator can approve or reject a request. I created the Adobe Form in a callable object so that the user
can send his data in a offline-mode. Normally, the Adobe Form would trigger the corresponding process in Guided Procedures, but it
doesn't. (impersonalized form with mapping). I am almost positive there is nothing wrong with the configuration, I followed a tutorial.
I know the Adobe Interactive Form is received by Portal, since I can see the amount of requests in Guided Procedures - Administration -
Manage Impersonalized forms.
Any help / thoughts are appreciated.Hi guys,
Found the solution to this problem.
Since I am working with an impersonalized form (anonymous logon), I had
to assign default roles to my process in order to get this process triggered
by the Adobe Interactive Form.
Thanks! -
Hi
Can anybody tell me the difference betwwen two and which one is better and in what terms??
Is there any way out to migrate GP applications to BPM? It may sound weird but don't have any knowledge in this regard.
Thanks
MonikaHi Monika,
Netweaver BPM aka Galaxy is said to be the successor of Guided Procedures which will be phased out in future. SAP will be supporting GP only until 2013. Also there are several differences between GP and BPM. Some of them are:
With BPM, you can change your process easily as compared to GP
Mapping between tasks is a pain in GP, but easy in BPM
BPM is pretty new while GP is around for sometime and much more stable than BPM
BPM gives you the flexibilty to design the process Graphically that is easily uderstood by Business and Tecnical guys
In BPM lot more features are there currently and more will be there once Netweaver 7.2 is released.
Hope this helps!!
Regards,
Arafat
Maybe you are looking for
-
Forgot login for Mavericks and had to use start up disc. Now can't access keychain
OK, somehow stupidly forgot my login and had no other way to access my iMac except satr up disc. Well, after successfully changing my login, I keep getting pop ups to use several keychains, yet the new password does not work. Half of my apps wont wor
-
Ok, I know how to create a default property in a custom .as class so that when i use that class in mxml i can use the default property but... does anyone know how (or if) i can set a default property when i make an mxml component so that i can then u
-
Client Adapter for Access table connection
Were is possible to get just the portion of Oracle Open Client Adapter for ODBC V 6.0.5.35 that enable to establishe a connection with Access table?
-
When connecteed to i tunes "files corrupt" error
My ipod plays fine, but when connecting to iTunes, I get a file corrupt error. I don't have backup for some of the songs on the ipod so I wish to fix this issue without restoring. Any suggestions?
-
Can a system's SID be changed ?
We have a system on SQL2000. We want to change the SID without using homogeneous system copy method. What we want to try is to change the profiles, env, etc. Could you tell your experience? Points guaranteed.