Object BUS2030 method CREATEQUOTATION can't be executed
Hi, am modifying the standard Workflow template 'AD_SD_AG' (WS23000025).
<b>In my User-ID</b>:
When i create any Inquiry (via IDOC), the BUS2030-Created event triggers this workflow and Quotationis created by the method 'CEATEQUOTATION'
<b>in End Users ID:</b>
when the same process is carried out, Workflow is end up with an error as mentioned above.
The errors are like:
1) Object BUS2030 method CREATEQUOTATION cannot be executed
2) Exception '1001' is not defined for method 'CREATEQUOTATION' object type
BUS2030.
I am totally confused why it is so happening, Executing in one users ID and not in the another User ID.
Also please give me suggestions how to handle Exceptions for the BUS2030-CREATEQUOTATION method in the Workflow.
Thanks & regards in advance.
Any replys are rewarede
Hi mike,
I checked with SU53, the authorization object is missing for that user. I need to check this still, if it works once object is assigned to that user.
In workflow am getting the error like below, please suggest me on this:
Exception 1001 is not defined for the method CREATEQUOTATION object type BUS2030.
regards
Manju
Similar Messages
-
Work item 000000399133: Object 000000399133 method SENDTASKDESCRIPTION can
hi experts,
sometimes frequently i get this kind of wrror after executing my workflow.
Work item 000000399133: Object 000000399133 method SENDTASKDESCRIPTION cannot be executed..how to correct this??what might be the problem?HI,
Please check user to whom you are sending mail are populated OR not ,Please check your rule .
For confirmation just hardcode user and then trigger the workflow .
regards,
Deepanker Dwivedi -
Error:Work item 000000001099:Object FLOWITEM method EXECUTE cannot be execu
Hello experts,
I have created a Sales order workflow whr after creation sales order will go to 1 person inbox and he will check the SO thoroughly and thn i hv added a user decision step for APPROVED or REJECTED for same person.
Now after creation of sales order it goin to the person inbox for checkin SO but when he is saving it thn decision screen with button APPROVED or REJCTED is not coming and m getting error :Work item 000000001099: Object FLOWITEM method EXECUTE cannot be executed. and error: Error when processing node '0000000024' (ParForEach index 000000)
i checked the agent mapping for both step....and thr is no error in agent mappin...in both steps i have mapped same rule with responsibility IDs
PLz suggest urgently wht can be cause of error.
Regards
NitinHi Nitin,
I think this seems to be an agent assignment issue.
To debug this issue go to the workflow log and check if the agents are correctly being picked by the rule or not. Simulate the rule and check for the agents being picked.
In the workflow log, check the agent for the User Decision step. If there is no agent found then there might be some issue with the data passed to rule.
Hope this helps!
Regards,
Saumya -
BPM error: exception cx_merge_split occured,object FLOWITEM method EXECUTE
Hi Guys
I am working on a interface involving BPM.....
I am facing this problem while executing the interface...
I am getting error texts as below:
exception cx_merge_split occured,
object FLOWITEM method EXECUTE
I am trying to fix it....Please provide any iputs on this...
Thanx in adavance.Is your Transformation step designed for multimapping (n:1 or 1:n)?
If yes the payload seems to be incorrect....did you check the working of your mapping (MM/ IM) using the expected payload structure...
the transformation step in BPM has been given exception as System Error
There is one block step before the transformation step...in which exception is not given...?can this be the cause??
Does it mean...you have a Block step in your BPM and your Transformation Step is placed in it....the Block should have an exception handling branch...have the exception handling logic as per your need....the Block step needs to use Exception Handler...same Handler to be used in the Transformation Step's System Error section.
Press F7 and check if your BPM is giving any warning message.
Regards,
Abhishek. -
Hi there,
We are getting this error in our BPM:
Object CL_SWF_XI_MSG_BROKER method SEND_SYNCHRON cannot be executed
while sending a message synchronously. This doesn't happen for all the sync send, but I see sometimes. Why do we see this inconsistency in the sync send step of the BPM?
Has anyone encountered this problem, and fixed it? Your help is greatly appreciated.
Thanks a lot.
KarmaHi
First of all check the mapping i.e transformation step in the BPM (Sync mapping). This you can check from the workflow log. Check all these interface mappings are using correct message type and interfaces
Have a look into these SAP notes-830803,710445
Regards
krishna -
PO release workflow - Object FLOWITEM method EXECUTE - WL821
Hello,
I have copied and slightly mofidified std wf WS20000075 (BUS2012). It was successfully tested in DEV.
Then, after transport to QA, I get the following error in tc SWEL:
Work item 000000001111: Object FLOWITEM method EXECUTE cannot be executed
Error when processing node '0000000093' (ParForEach index 000000)
Agent determination for step '0000000093' failed
Workflow WS90100001 no. 000000001111 activity 0000000093 role 'AC20000027': No agent found
Resolution of rule AC20000027 for task TS20000166: no agent found
Error when processing node '0000000093' (ParForEach index 000000)
Error when creating a component of type 'Schritt'
Error when creating a work item
The top error is detailled as below:
Work item 000000001111: Object FLOWITEM method EXECUTE cannot be executed
Message no. WL821
Any clue on how to fix this this error?
Best regards,
PeterHi Rick
I have same issue and following are details.
1. I have copied standard workflow and task 166 is throwing error.
"Resolution of rule AC20000027 for task TS20000166: no agent found"
2. I have recreated the step but still the workflow is throwing error.
3. If I execute the rule individually (PFAC_DIS) with a specific PO then the rule works fine. The rule executes the below mentioned exit successfully.
4. I am using exit to determine the agent, the workflow works fine if I don't use the exit. The exit is EXIT_SAPLEBNF_005. I am just pulling the agent from a ztable.
Please advise if you can help as I have not seen anyone answering.
by the way irrespective of the explicit rule update in the workflow the step executes AC20000027 by default.
Can you please help asap. Thank you.
regards
barin -
Can we make executable jar file which dont have main method?
I have a problem.
With whatever R&D i have done so far my understanding is that in order to create executable jar files i need a main method.
my problem is i have certain MIS reports which are developed in java and deployed through JSP pages...so my java program has no Main Method and only objects of the classes are being called in the JSP pages.
for e.g: i have a java class file BulkSms.class and i make an object of it in the JSP page through which my purpose is achieved by calling various method in the BulkSms through it s objects and there is no main method.
Can i make an executable jar file without a main method and if so please give me a detailed procedure of how to go about it.
i want to make it executable so tht on the click of it the MIS report is displayed from the JSP page.I am completely ignorant of JSPs, but you can not execute a jar or any java application unless you have a main method. It sounds like you need a way to launch the JSP - can't you do this with a browser?
-
Hi all,
I am getting error in one of the BPM mapping steps.
The error description is as below:
Error handling for work item 000000013183
Work item 000000013186: Object CL_SWF_XI_MSG_BROKER method CALL_TRANSFORMATION cannot be executed
com/sap/xi/tf/_MM_352_Validated_To_353_File_com.sap.aii.utilxi.misc.api.BaseRuntimeExceptionRunti
The mapping works fine for a set of data.
But when the validations fail for another set of data it gives the above error.
Please let me know if you have info on this error.
Best regards,
ThangeshHi,
The scenario is File<->XI->IDoc.
In BPM, we do validations & if the validation fails, the file is sent back to the Filerserver.
The File format is a nested structure.
The File format is as below:
>Header record
>Customer
>Address
>Address
>Partner details
>>Address
>>Address
>Partner details
>>Address
>>Address
>Trailer record
<b>The mapping works fine for a set of data:</b>
The mapping works fine if the File structure contains single record per structure/node.
<b>But the validations fail for another set of data & it gives the above error:</b>
But the mapping fails if the File structure is complex or nested structure. i.e., more than one record per structure.
could you kindly suggest how to handle this error?
best regards,
Thangesh -
How can I invoke web service in BPM Object's method?
In ALBPM 5.7,AJaX can code by Call BPM Object's method.So I want to invoke web service via AJaX by BPM method.
My sample code is:
1: HelloWorldWebService ws = HelloWorldWebService();
2: String param = "John";
3: String retresult = "";
4: ws.sayHello(name : parame; out result : retresult);
and,I have import HelloWorldWebService by wsdl into catalog.
In fact,at line 1 there is a error(fuego.connector.ConnectorRuntimeException: session is not started). Web service's instance is not created.
Anybody can help me? thanks.Hi,
I tried calling a simple webservice deployed in weblogic 8.1(see code) and it was working fine for me.
Code for WS
package service;
import com.bea.control.JwsContext;
import com.bea.jws.Protocol;
import org.xmlsoap.schemas.soap.envelope.HeaderDocument;
import com.bea.xml.XmlException;
import org.w3c.dom.Element;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
public class CheckCredit implements com.bea.jws.WebService
* @common:context
JwsContext context;
static final long serialVersionUID = 1L;
* @common:operation
* @jws:protocol form-get="false" form-post="false"
public boolean getCreditRating(String cardNumber)
System.out.println("Card number is: " + cardNumber );
boolean result = ((int)(Math.random() *100)) % 2 == 0?true:false;
return result;
Code from ALBPM Object method
creditRatingResult as Bool
getCreditRating CheckCreditService
using cardNumber = "1234-5567-4667-4566"
returning creditRatingResult = creditRatingResult
logMessage "Result is: " + creditRatingResult
What I suggest for you problem is:
1. Check the server on which you have deployed the WS. Does it require any sort of authentication prior to connecting to the WS
2. It seems you are using Java style in ALBPM. Try switching to PBL. I don't know how it makes a difference, but sometimes it helps
Thanks and Regards
Vivek Nandey
BEA Certified Developer for Integration Solutions
[email protected] -
I am using the standard task 17900100 to allow a manager to 'edit' an adobe form (not just approve or reject). The issue below does not occur every time but sometimes there is an error in the workflow log. The error message is as follows:
Object CL_HRASR00_WF_COMPONENTS method WI_EXECUTION_VIA_R3_INBOX cannot be executed.
I can see in the log that the agent was selected correctly but the task has not been sent to the agent. When I use transaction SWPR to restart the workflow (without making any changes), it restarts just fine and the task is sent to the agent's UWL inbox.
Does anyone know why I may be getting this error and how to prevent it? Could be related to a timing issue since it only occurs occassionally and not for every WF instance?
Thanks,
DerrickHi Derrick,
Did you find any solution to this issue? I am also facing the same issue.
I checked in application log SLG1 and the following error is logged:
Person is already being processed by user 01CPxxxxxxxx. (message number PBAS_SERVICE001)
However, this is happenning in some occassions but not everytime I execute 'Send' button in UWL workitem (Task TS33700021).
Regards,
Sumit -
Need to Hide Objects Default method in Approval Task
Dear All,
I have a requirement, where I need to hide the default method that is getting displayed in the approval task of the workflow.
The employee object and Trip objects default method are getting displayed in the preview of approval task. And same is getting displayed in the universal worklist in the columns of attachments.
There is an option in univesal worklist configuration where we can remove the attachments for display.
But to our requirement , only certain objects and attachments should be shown in portal and R/3 of the approval task.We need to restrict the employee object and trip object which is shown in objects and attachments column of the standard descision task.
Let me have any suggestion on this.
Thanks in advance.
regards,
Sabari Prabhu.Hi,
I took a look into this same issue some time ago, and at least I didn't find a way to restrict only certain attachments for displaying in UWL. If the attachments cannot be hidden, I have tried to avoid using the business objects as much as possible. For example the employee object is many times binded to the task only because you want to display certain attributes in the task description. Then I have just binded the needed attributes into separate container elements. Of course this will not solve all the cases.
Then other useful options are that you change the default method, and this method is implemented in a way that it either does not display anything, or displays something (maybe just an error message etc.) that makes more sense than the default method that SAP delivers. Or then you can implement for example your own web dynpro application that will be launched when you click the attachment.
Regards,
Karri -
Programatically create objects in library which can be imported to stage
I need to create an object in code which can then be imported to the stage.
Specifically it's a circle with an ellipse cut out of it. The size and position of the ellipse masked out need to be parameterized by sliders, and the size of the circle as a whole is also a parameter which might be dragged out on the stage.
Does anyone have an example of how to programatically create an object in action script which can be imported to the library which can take parameters (or rather expose some methods) which can be wired to other things in the project like a knob or slider?
Thanks in advance!
Michael Grantyou can use the function below. call it passing parameters for the circle's absolute x, y, radius and color and passing the ellipses (relative to the circle) x,y,radius x, radius y. a sprite is returned with the graphics, i think, you want:
//////////// sample function call: ///////////////////////////////////////////////
var c:Sprite = circleMinusEllipse(100,200,50,0xaa0000,-40,-20,40,20);
addChild(c);
//////////// nothing below needs to be changed ////////////////////////
function circleMinusEllipse(cX:Number,cY:Number,r:Number,col:Number,eX:Number,eY:Number,rX:Number, rY:Number):Sprite{
var c:Sprite = new Sprite();
c.x = cX;
c.y = cY;
with(c.graphics){
beginFill(col);
drawCircle(0,0,r);
drawEllipse(eX,eY,2*rX,2*rY);
endFill();
return c; -
Difference between Object equals() method and ==
Hi,
Any one help me to clarify my confusion.
stud s=new stud();
stud s1=new stud();
System.out.println("Equals======>"+s.equals(s1));
System.out.println("== --------->"+(s==s1));
Result:
Equals ======> false
== ------------> false
Can you please explain what is the difference between equals method in Object class and == operator.
In which situation we use Object equals() method and == operator.
Regards,
Saravanan.Kcorlettk wrote:
I'm not sure, but I suspect that the later Java compilers might actually generate the same byte code for both versions, i.e. I suspect the compiler has gotten smart enough to devine that && other!=null is a no-op and ignore it... Please could could someone who understands bytecode confirm or repudiate my guess?Don't need deep understanding of bytecode
Without !=null
C:>javap -v SomeClass
Compiled from "SomeClass.java"
class SomeClass extends java.lang.Object
SourceFile: "SomeClass.java"
minor version: 0
major version: 49
Constant pool:
const #1 = Method #4.#15; // java/lang/Object."<init>":()V
const #2 = class #16; // SomeClass
const #3 = Field #2.#17; // SomeClass.field:Ljava/lang/Object;
const #4 = class #18; // java/lang/Object
const #5 = Asciz field;
const #6 = Asciz Ljava/lang/Object;;
const #7 = Asciz <init>;
const #8 = Asciz ()V;
const #9 = Asciz Code;
const #10 = Asciz LineNumberTable;
const #11 = Asciz equals;
const #12 = Asciz (Ljava/lang/Object;)Z;
const #13 = Asciz SourceFile;
const #14 = Asciz SomeClass.java;
const #15 = NameAndType #7:#8;// "<init>":()V
const #16 = Asciz SomeClass;
const #17 = NameAndType #5:#6;// field:Ljava/lang/Object;
const #18 = Asciz java/lang/Object;
SomeClass();
Code:
Stack=1, Locals=1, Args_size=1
0: aload_0
1: invokespecial #1; //Method java/lang/Object."<init>":()V
4: return
LineNumberTable:
line 1: 0
public boolean equals(java.lang.Object);
Code:
Stack=2, Locals=2, Args_size=2
0: aload_1
1: instanceof #2; //class SomeClass
4: ifeq 25
7: aload_1
8: checkcast #2; //class SomeClass
11: getfield #3; //Field field:Ljava/lang/Object;
14: aload_0
15: getfield #3; //Field field:Ljava/lang/Object;
18: if_acmpne 25
21: iconst_1
22: goto 26
25: iconst_0
26: ireturn
LineNumberTable:
line 6: 0
}With !=null
C:>javap -v SomeClass
Compiled from "SomeClass.java"
class SomeClass extends java.lang.Object
SourceFile: "SomeClass.java"
minor version: 0
major version: 49
Constant pool:
const #1 = Method #4.#15; // java/lang/Object."<init>":()V
const #2 = class #16; // SomeClass
const #3 = Field #2.#17; // SomeClass.field:Ljava/lang/Object;
const #4 = class #18; // java/lang/Object
const #5 = Asciz field;
const #6 = Asciz Ljava/lang/Object;;
const #7 = Asciz <init>;
const #8 = Asciz ()V;
const #9 = Asciz Code;
const #10 = Asciz LineNumberTable;
const #11 = Asciz equals;
const #12 = Asciz (Ljava/lang/Object;)Z;
const #13 = Asciz SourceFile;
const #14 = Asciz SomeClass.java;
const #15 = NameAndType #7:#8;// "<init>":()V
const #16 = Asciz SomeClass;
const #17 = NameAndType #5:#6;// field:Ljava/lang/Object;
const #18 = Asciz java/lang/Object;
SomeClass();
Code:
Stack=1, Locals=1, Args_size=1
0: aload_0
1: invokespecial #1; //Method java/lang/Object."<init>":()V
4: return
LineNumberTable:
line 1: 0
public boolean equals(java.lang.Object);
Code:
Stack=2, Locals=2, Args_size=2
0: aload_1
1: instanceof #2; //class SomeClass
4: ifeq 29
7: aload_1
8: ifnull 29
11: aload_1
12: checkcast #2; //class SomeClass
15: getfield #3; //Field field:Ljava/lang/Object;
18: aload_0
19: getfield #3; //Field field:Ljava/lang/Object;
22: if_acmpne 29
25: iconst_1
26: goto 30
29: iconst_0
30: ireturn
LineNumberTable:
line 6: 0
} -
Passing Ref Cursor as parameter to object type method
I am encountering a problem passing a parameter of type REF CURSOR to methods of a set of object types I am developing.
Here is an example of what I am trying to do:
create or replace package p1 as
type c_Cursor is ref cursor;
end p1;
create or replace type t_Object as object
not instantiable method m1(p_Cursor in p1.c_Cursor) return varchar2
) not instantiable not final;
create or replace type t_Subtype under t_Object as
overriding method m1(p_Cursor in p1.c_Cursor)
return varchar2
The problem is that the PL/SQL compiler gives the error message PLS-00201 "p1.c_Cursor" not defined.
According to my PL/SQL book (SF's Oracle PL/SQL Programming) the only way to use a ref cursor as a parameter to functions/procedures is to wrap them in a package. Indeed I have developed a test procedure in a different package that uses p1.c_Cursor as a parameter and it works fine.
Oracle's documemtation suggests that object security (roles etc) can cause this error but as all the objects are being created in the same schema I don't see how this should be a problem.
If anyone can suggest how to get around this problem I will be very grateful.
BTW, if there are any mistakes in my sample code it's because I am writing it from memory as I don't have Internet access at work.
Thanks,
Charles.Thanks for your reply. I am still baffled as to why it doesn't work but, as you correctly point out, SYS_REFCURSOR works just fine. I figured that out earlier today and now the problem is solved.
Charles. -
Passing Objects to methods, why aren't they changed permanently?
If an object is passed by reference, and primitive types are passed by value; then why does the following programme not alter the original values of A and B?
I m trying to pass parameters into a method so that they can be altered and returned, can any one suggest a way to do this.
Thanks,
Ben.
public class Application2 {
Application2(){ }
void goProc(){
Integer A=new Integer(4);
Integer B=new Integer(6);
add(A,B);
System.out.println("A2 " + A);
System.out.println("B2 " + B);
void add(Integer A,Integer B){
System.out.println("A " + A);
System.out.println("B " + B);
A=A.valueOf(String.valueOf((A.intValue()+B.intValue())));
System.out.println("added " + A);
//Main method
public static void main(String[] args) {
Application2 App = new Application2();
Integer A=new Integer(4);
Integer B=new Integer(1);
App.add(A,B);
System.out.println("A1 " + A);
System.out.println("B1 " + B);
App.goProc();
OUTPUT.
A 4
B 1
added 5
A1 4
B1 1
A 4
B 6
added 10
A2 4
B2 6If an object is passed by reference,It isn't. Instead, a pointer to the object is passed
by value.That is exactly what passing by reference is.
Objects passed by reference can be modified and it will affect the caller, but modifying the reference (assiging a new object) won't affect the caller.
I m trying to pass parameters into a method so that
they can be altered and returned, can any one
suggest a way to do this.I think this is bad OO programing, it results in less readable code and may be hard to debug. Better is to make the method return the result and let the caller assign the new value. (This is my personal oppinion at least)
Maybe you are looking for
-
Some problems I have with my Curve 9300. Hope you can help me.
Hi everyone. I decided to post here to know if someone can help me out, I'm a blackberry curve 9300 user - O.S. 6, I've had the smarthpone for a while now, but since the beginning I've been having some minor details, I want to know if there's a simpl
-
XPATH condition in Receiver Determination in PI 7.1
Hi all, I'm doing a Inbound 850 Scenario (no BPM involved)...based on the condition for (/LIST/S_ISA/S_GS/S_ST/S_BEG/D_353 = 00) its should either create ORDERS.ORDERS05 or create ORDCHG.ORDERS05 if (/LIST/S_ISA/S_GS/S_ST/S_BEG/D_353 = 04)...I'm givi
-
IOS 8.3 and Appstore App Hiding issue
ever since I installed iOS 8.3 (DFU CLEAN NO RESTORE) I've had TONS of issues that I hadn't encountered in previous iOS updates... The most frustrating one is the ability to HIDE my purchased apps from the phone isn't working... I can slide to get HI
-
Desktop wallpaper published to HTML in Flash
How do I change the alignment of the published html file on my Desktop when displaying on single monitor? I created a 1024 x 768 image in Photoshop; saved it as PNG file and imported it in Flash 8. I added a few buttons to it and published the file i
-
Order table not opened in datablock Wizard in developer 9i
there is an error dispalying whenever user going to open ORDER table in datablock wizard under Forms builder, the error is : FRM-10095:Assertion failed in iewbdbc_oracle_to_id, at E:/f021W32/src/ie/jewbdc.C:715 Whereas, there is no for there in E dri