Examples of using SAP_WAPI
Hello.
Our webdynpro application has to use UWL and SAP workflow.
We cant find more examples how to work with SAP_WAPI, and any documentation for workflow API in the net.
Actually we have to use workflow only for transfer data from one task to another. All user interface will be in webdynpro without SAPGUI.
We cant answer to some questions because of we never used to work with sapworkflows:
- What BOR object to use for creating our type object.
- What methods, events, attributes to build?
- What is better to use for starting workflow: sap_wapi_create_event or sap_wapi_start_workflow.
- And examples how to manage sap workflow via RFC-calls
Appreciate for your help.
Sergey,
a member of HR project team
Hi Sergey,
My experience is of using Web Dynpro to work with work items from an already-started workflow, and I have used the following SAP_WAPI calls:
SAP_WAPI_GET_HEADER - to get high level information about a work item
SAP_WAPI_GET_WORKITEM_DETAIL - to get information about a work item
SAP_WAPI_READ_CONTAINER - to get information from a work item's container
SAP_WAPI_DECISION_READ - to get the available decision options for a decision-type work item
SAP_WAPI_CREATE_EVENT - to create a work item event with attached container values
SAP_WAPI_GET_OBJECTS - to get information about the BOR objects associated with a work item
SAP_WAPI_WORKITEM_COMPLETE - to complete a work item and update container values at the same time
SAP_WAPI_SUBSTITUTES_GET - get a list of the specified user's substitutes
SAP_WAPI_WRITE_CONTAINER, SAP_WAPI_SET_WORKITEM_COMPLETD and SAP_WAPI_WORKITEM_CONFIRM are called by the UWL Updating Container action handler.
In general if you browse function group SWRC you can see all the SAP_WAPI function modules and see what they do.
Best regards,
Darren
Similar Messages
-
Is there an example to use interface to replace if then else pattern in F#
is there an example to use interface to replace if then else pattern in F#
i want to make match pattern with only one rule to represent dynamic number of rules which is use
let rec fun1 m number fun2param =
match m with
| fun2param(a,b,number) -> ****rewrite terms ****
let fun2param number =
if number = 1 then
function.....
elif number = 2 then
function ....
computing nightmareIn general, you use a match
let fun2param number =
match number with
| 1 -> function.....
| 2 -> function ....
in the same way as you would use a `switch` construct in 'C' in place of a repeated if/elif...elif/else
Your request is somewhat vague, so I'm not sure whether you would benefit from wrapping that behind an active pattern. -
Example for Using WDR_SELECT_OPTIONS and SALV_WD_TABLE in one View
Hello,
I need an Example for Using the WD-Components WDR_SELECT_OPTIONS and SALV_WD_TABLE
in one view. Can anybody help me?
Thanks
TotoHello,
Please see these:
[https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3439404a-0801-0010-dda5-8c14514d690d]
[https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/21706b4b-0901-0010-7d93-c93b6394bc1d]
[https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/media/uuid/39c54fe7-0b01-0010-0eb6-d63ac2bdd637]
[/people/rich.heilman2/blog/2005/12/20/using-select-options-in-a-web-dynproabap-application]
[/people/thomas.jung3/blog/2005/12/21/webdynpro-abap-alv]
[https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3133474a-0801-0010-d692-81827814a5a1]
[https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/bd28494a-0801-0010-45a3-fc359d82d3e8]
Regards. -
how come when i make a web site and i test it in my local server it works fine when i tranfer to server certain things do not work example i used javascript to put in a prompt bar for a newsletter page at the server it did not work but at local it did also it works at MOZZILLA but not internet explorer i also have cs4 was wondering if there is a way to test a page in dreamweaver and then transfer THANK YOU X-FACTOR-MEDIA
In future, please try to make the subject line of your posts shorter. In this case the following would have been sufficient: "JavaScript works locally, but not on remote server".
Short, but meaningful subject lines make it easier for others to identify what your question is about, and often bring faster help. -
How can I download itunes when I get the following errors ..ituneshelper did not install correctly error 7..I .have installed and uninstalled a dozen times with various fixes...b noir for example and used Revo to clean up.
This has been a problem for 6 weeks now, I retry when I have time and patience and use my other laptop which is also Windows 7 and runs with no problem.
Every attempt fails when all seems fine on the desktop and I try to log on to Itunes I get the errors.
Any help greatly appreciated.
billymacGo to Control Panel > Add or Remove Programs (Win XP) or Programs and Features(Later)
Remove all of these items in the following order:
iTunes
Apple Software Update
Apple Mobile Device Support (If this won't uninstall press on)
Bonjour
Apple Application Support
Reboot, download iTunes, then reinstall, either using an account with administrative rights, or right-clicking the downloaded installer and selecting Run as Administrator.
See also HT1925: Removing and Reinstalling iTunes for Windows XP or HT1923: Removing and reinstalling iTunes for Windows Vista, Windows 7, or Windows 8
Should you get the error iTunes.exe - Entry Point Not Found after the above reinstall then copy QTMovieWin.dll from:
C:\Program Files (x86)\Common Files\Apple\Apple Application Support
and paste into:
C:\Program Files (x86)\iTunes
The above paths would be for a 64-bit machine. Hopefully the same fix with the " (x86)" omitted would work on 32-bit systems with the same error.
tt2 -
Link with examples of using dbms_stats package
Please,
Should Someone let me know when I could find a link or some example on using the new DBMS_STATS package to gather data statisitcs?
ThanksAll, made in Oracle:
http://download-west.oracle.com/docs/cd/B19306_01/server.102/b14231/general.htm#sthref1861
http://download-west.oracle.com/docs/cd/B19306_01/server.102/b14211/stats.htm#PFGRF30102
http://download-west.oracle.com/docs/cd/B19306_01/appdev.102/b14258/d_stats.htm#sthref7887
http://download-west.oracle.com/docs/cd/B19306_01/appdev.102/b14258/d_stats.htm#sthref7903
http://download-west.oracle.com/docs/cd/B19306_01/appdev.102/b14258/d_stats.htm#ARPLS059 -
C++ example to use Acroform OLE Automation
Can anyone provide me with an example for using the Acroform OLE Automation objects AFormApp, Fields and Field. The only examples provided with the SDK are for VB or C#.
When I use CreateDispatch to instantiate AFormApp object in C++, am getting a compilation error saying CreateDispatch is not a member of the class. Please let me know if the implementation has changed with Acrobat 9 SDK and I need to use it differently.There are C++ samples in the SDK for using all the IAC APIs via OLE except Acroform. Believe there should also be a C++ Acroform OLE sample.
Maybe you can ship that in next version of SDK and provide a sample code here or via email. Am particularly looking to traverse the fields and populate values in them. -
Any PL/SQL examples of using ICX?
I am trying to include some static HTML into a web page that's
generated in PL/SQL. The documentation has led me to the ICX
module (to connect through to the LiveHTML agent) but its
examples are in PERL which I don't know in any
depth. I would be very grateful to anyone who can supply a
simple example of using ICX in PL/SQL.
Regards,
Anthony.As far as I know, Artificial Intelligence has not yet been achieved, although if someone's written a PL/SQL package that can beat Gary Kasparov at chess I'd like to see it.
My wife thought the movie was called "A One". -
Any PL/SQL examples of using ICX in the Web Server?
I am trying to include some static HTML into a web page that's
generated in PL/SQL. The documentation has led me to the ICX
module but its examples are in PERL which I don't know in any
depth. I would be very grateful to anyone who can supply a
simple example of using ICX in PL/SQL.
Regards,
Anthony.As far as I know, Artificial Intelligence has not yet been achieved, although if someone's written a PL/SQL package that can beat Gary Kasparov at chess I'd like to see it.
My wife thought the movie was called "A One". -
Simple jsp example of using BI Bean in Myeclipse
hi
anyone can show me a simple jsp example of using BI Bean in Myeclipse
or how to import BI Bean into Myeclipse
I would so thankful for who can answer me.. please its urgent
thanksSorry, I was not very clear in my last message.
I need all my webservices to share the same bean during one user session.
Then, if a page calls 2 different web services, only 1 database connection is made instead of 2. And if the user opens other pages which call other webservices, they will use the connection kept into the session bean.
Anyway, I tried to do like it is said in your website but I can not build my project. I have an error : java.lang.LinkageError: JAXB 2.0 API is being loaded from the bootstrap classloader, but this RI (from jar:file:/C:/.../build/web/WEB-INF/lib/jaxb-impl.jar!/com/sun/xml/bind/v2/model/impl/ModelBuilder.class) needs 2.1 API. Use the endorsed directory mechanism to place jaxb-api.jar in the bootstrap classloader. I do not understand because I have downloaded the jax-ws 2.1.1 api and no other libraries are imported in my project. :-(
I wonder if it is not related to netbeans... -
[svn] 3291: Update example to use swfobject.
Revision: 3291
Author: [email protected]
Date: 2008-09-22 08:46:23 -0700 (Mon, 22 Sep 2008)
Log Message:
Update example to use swfobject. Update text of link in app to Download Flex 4. It was Flex 2.
Modified Paths:
flex/sdk/trunk/frameworks/javascript/FABridge/samples/srcview/SourceIndex.xml
flex/sdk/trunk/frameworks/javascript/FABridge/samples/srcview/SourceTree.html
Added Paths:
flex/sdk/trunk/frameworks/javascript/FABridge/samples/srcview/swfobject.js
Removed Paths:
flex/sdk/trunk/frameworks/javascript/FABridge/samples/srcview/AC_OETags.jsHi
please replace this text (which is not records but just text, and therefore we can not query it):
TransactionID ProductID Quantity QuantityOnHand
1 1
2 ? 2
2 1
3 ? 5 = 3+2
3 1
1 ? 6 = 5 + 1
4 1
9 ? 15 = 6 + 9
with a DDL+DML queries to help us help you.
>> DDL+DML are queries to create your relevant table and a query to insert the sample data.
Thanks
[Personal Site] [Blog] [Facebook] -
Any good examples of using hashCode?
I am creating a simple test class of a date object using getYear, getMonth, GetDay, compareTo, equals and hashCode. Ive got everything else working fine, but im wondering if I am getting the correct output from the hashCode method. What exactly does the hashCode method do? anyone got a good example of using it and what it outputs?
the name of my date class - here's the rest of my code if you want to verify it:
package Final;
import java.util.GregorianCalendar;
import java.util.Calendar;
public class SimpleDate
/** Creates a new instance of SimpleDate
public SimpleDate()
GregorianCalendar greg = new GregorianCalendar();
year = greg.get(Calendar.YEAR);
month = 1 + greg.get(Calendar.MONTH);
day = greg.get(Calendar.DATE);
/** Creates the setDate method which allows the day, month, and year of the
* date to be specified
public SimpleDate( int year, int month, int day )
setDate( year, month, day );
/** Sets the day, month, and year variables for the date
public void setDate( int year, int month, int day )
GregorianCalendar greg = new GregorianCalendar();
greg.set(Calendar.YEAR, year);
greg.set(Calendar.MONTH, month-1);
greg.set(Calendar.DATE, day);
this.year = greg.get(Calendar.YEAR);
this.month = 1 + greg.get(Calendar.MONTH);
this.day = greg.get(Calendar.DATE);
/** Defines the method getYear which gets the integer value which represents
* the year in the date
* @returns int year
public int getYear()
return year;
/** Defines the method getMonth which gets the integer value which represents
* the month in the date
* @returns int month
public int getMonth()
return month;
/** Defines the method getDay which gets the integer value which represents
* the day in the date
* @returns int day
public int getDay()
return day;
/** Defines the boolean method equals which compares two dates to see if they
* are equal
* @returns boolean equals
public boolean equals()
return equals;
public int compareTo()
return comparable;
public int hashCode()
return hashcode;
public String toString()
String string1 = new String();
return string1;
/*************Built-in Self Test************/
public static void main(String[] args)
SimpleDate date = new SimpleDate();
SimpleDate date2 = new SimpleDate();
date.setDate(2005, 11, 4);
System.out.println("Day, Month and Year: " + day + " " + month + " " + year);
date.getYear();
System.out.println("The year selected is: " + year);
date.getMonth();
System.out.println("The month selected is: " + month);
date.getDay();
System.out.println("The day selected is: " + day);
date2.setDate(2004, 11, 4);
System.out.println("The first date selected equals the second date selected: " + date.equals(date2));
//System.out.println("The first date selected is comparable to the second date selected: " + date.compareTo(date2));
//How do I implement compareTo?
System.out.println("The hashcode for the first date selected is: " + date.hashCode());
System.out.println("The hashcode for the second date selected is: " + date2.hashCode());
// ***** Instance Variables *****
static int year;
static int month;
static int day;
boolean equals;
int comparable;
int hashcode;
} -
Any Examples of using ActiveCollectionModelDecorator with POJO data control
Are there any Examples of using ActiveCollectionModelDecorator with POJO data control in any of the sample packs?
OK, here's an quick example. Create a new Windows Forms application and add a ScatterGraph and a Label to the form. Add a cursor to the ScatterGraph, then add the code below to the form. This generates 50 random data points when the form is loaded and plots them, then uses the cursor's AfterMove event to display the current X and Y positions in the label. Here's the code:
Private Sub OnFormLoad(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Const dataLength As Integer = 50
Dim xData(dataLength - 1) As Double
Dim yData(dataLength - 1) As Double
Dim rnd As Random = New Random
For i As Integer = 0 To dataLength - 1
xData(i) = i
yData(i) = rnd.NextDouble() * 10
Next
ScatterGraph1.PlotXY(xData, yData)
End Sub
Private Sub OnAfterMoveXYCursor(ByVal sender As Object, ByVal e As NationalInstruments.UI.AfterMoveXYCursorEventArgs) Handles XyCursor1.AfterMove
Label1.Text = String.Format("({0}, {1})", e.XPosition, e.YPosition)
End Sub
Hope this helps.
- Elton -
More complicated examples of using BRFPlus
Hello!
Where can I find more complicated examples of using BRFPlus functionality? I need in examples that use expression types like DB query, Step sequence, Search Tree or XSL transformation.Hi Alexander,
With NW 7.0 EHP1 BRFplus can be used for rather simple examples. Development is not completed for all features.
You may use Decision Table, Boolean, Range, Constant, Formula.
FYI: There are some demo reports in a package call SFDTDEMO.
However Ruleset and Rule and not really usable in NW 7.0 EHP1. Those features will be made available in NW 7.0 EHP2. For really complex examples you will need them. In NW 7.0 EHP2 there is no limitation anymore. I am comfortable that even complex cases can be supported well.
BR,
Carsten -
Need examples of using HEAD, BODY and TABLE options of SET MARKUP
Hi!
Looking for examples of using the HEAD, BODY and TABLE options of the SET MARKUP command in SQL*Plus. Will be used in 10.2.04 on Linux.
Have been trying to set up an "H1" header but not having any success. Documentation and examples in the documentation are not very helpful.
Thanks for your time and help!
Dave Venus$ echo "select sysdate from dual;"|
sqlplus -L -s -M 'html on head <title>MyTitle</title> body bgcolor="black" table border="0" scott/tiger
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<meta name="generator" content="SQL*Plus 10.2.0">
<title>MyTitle</title>
</head>
<body bgcolor="black">
<p>
<table border="0">
<tr>
<th scope="col">
SYSDATE
</th>
</tr>
<tr>
<td>
2009-02-12 15:22:00
</td>
</tr>
</table>
<p>
</body>
</html>Edited by: Laurent Schneider on Feb 12, 2009 3:22 PM
Maybe you are looking for
-
How to block the sales order for not creating requirement
Dear All, My client want that whenever a sales order is raise, that should not go create requirement for production unless until account department check whether the prices etc are correctly put or not how can i do this thanks
-
How do i get my playlist to sync
how do i get my playlist to sync
-
Developer6i Net8 client and OID/LDAP
Is it possible to get the Net8 client that comes with Devloper 6i to be able to speak LDAP to OID? Even though it has the 'i' suffix, it does not seem to have the 'internet' capabilties that could be used with OID? Is there a patch or an upgrade? I t
-
Hello. I have one problem. I have 2 components? for example compA and compB. In compB I used compA. From compB I give parameters to compA throuth Context mapping and in compA execute RFC using this parameters. After execute I want to mapping result c
-
Reg Change of Source system in BI Producton
Dear All, We had a R/3 source system 900 and data was getting loaded from this client to BI 600 client everyday. Scenario:- Nowin R/3 the client system is changed from 900 to 950 and 900 client is no longer available. Problem:- What are the steps w