CALLING BDC IN WORKFLOW
HI
I am trying to call a bdc in my workflow based on the user decission i.e. after user makes a particular decission it has to call BDC. I am using a call transaction statment for calling my BDC, I have defined a FM for the same the code i have written is : call transaction 'zapprove' after this i have made a business object based on this and defined the task. I am calling the task after the user decission in order to run the BDC but it is not updating the required table. I have checked the BDC as well as FM and BO all of them are working fine so i am not able to find the particular error. Please help me on this.
thanks in advance.
ramu thanks a lot for your help but my problem is still there i am sending the whole codes that i am using in order to get BDC triggered from workflow just go through it and suggest me where i am going wrong. I also tried ur method but the problem remains to be same so please help me.
FM CODE .
FUNCTION ZBAPI_APPROVE.
""Local interface:
*" IMPORTING
*" VALUE(ZPERNR1) LIKE ZAPPROVE-ZPERNR OPTIONAL
*" EXPORTING
*" VALUE(RETURN) LIKE BAPIRETURN STRUCTURE BAPIRETURN
SUBMIT ZPZ03_BDC
EXPORTING LIST TO MEMORY AND RETURN.
ENDFUNCTION.
FM ENDS****************************************************
**********************************BDC******************************************************
report ZPZ03_BDC
no standard page heading line-size 255.
TABLES:ZPMC_B.
DATA: IT_ZPMC_B LIKE ZPMC_B OCCURS 0 WITH HEADER LINE,
WA_ZPMC_B LIKE LINE OF IT_ZPMC_B.
DATA:BDCTAB LIKE BDCDATA OCCURS 0 WITH HEADER LINE.
DATA: ZBANKN(14),
DATE1(10).
*PARAMETERS: P_PERNR LIKE ZPMC_B-ZPERNR.
SELECT SINGLE * FROM ZPMC_B INTO WA_ZPMC_B
WHERE ZSTATUS = 'WAITING'.
*ZBANKN = WA_ZPMC_B-ZBANKN.
perform bdc_dynpro using 'SAPLEHC3' '0100'.
perform bdc_field using 'BDC_CURSOR'
'Q0009_ESS-SUBTYPE'.
perform bdc_field using 'BDC_OKCODE'
'=CHAN'.
perform bdc_field using 'Q0009_ESS-SUBTYPE'
'0'.
perform bdc_dynpro using 'SAPLEHC3' '0200'.
perform bdc_field using 'BDC_CURSOR'
'P0009-BANKN'.
perform bdc_field using 'BDC_OKCODE'
'=SAVE'.
CALL FUNCTION 'CONVERT_DATE_TO_EXTERNAL'
EXPORTING
DATE_INTERNAL = SY-DATUM
IMPORTING
DATE_EXTERNAL = DATE1.
perform bdc_field using 'P0009-BEGDA'
DATE1.
perform bdc_field using 'P0009-BANKS'
WA_ZPMC_B-ZBANKS.
perform bdc_field using 'P0009-BANKL'
WA_ZPMC_B-ZBANKL.
perform bdc_field using 'P0009-BANKN'
WA_ZPMC_B-ZBANKN.
perform bdc_field using 'P0009-ZLSCH'
WA_ZPMC_B-ZZLSCH.
CALL TRANSACTION 'PZ03' USING BDCTAB MODE 'N'
UPDATE 'S'.
WA_ZPMC_B-ZA_DATE = SY-DATUM.
WA_ZPMC_B-ZSTATUS = 'COMPLETED'.
MODIFY ZPMC_B FROM WA_ZPMC_B.
FORM BDC_DYNPRO USING PROGRAM DYNPRO.
CLEAR BDCTAB.
BDCTAB-PROGRAM = PROGRAM.
BDCTAB-DYNPRO = DYNPRO.
BDCTAB-DYNBEGIN = 'X'.
APPEND BDCTAB.
ENDFORM.
Insert field *
FORM BDC_FIELD USING FNAM FVAL.
CLEAR BDCTAB.
BDCTAB-FNAM = FNAM.
BDCTAB-FVAL = FVAL.
APPEND BDCTAB.
ENDFORM.
*******************************************BDC ENDS*************************************
*******************************************BO***********************************************
Implementation of object type ZAPPROVE *****
INCLUDE <OBJECT>.
BEGIN_DATA OBJECT. " Do not change.. DATA is generated
only private members may be inserted into structure private
DATA:
" BEGIN OF PRIVATE,
" to declare private attributes remove comments and
" insert private attributes here ...
" END OF PRIVATE,
KEY LIKE SWOTOBJID-OBJKEY.
END_DATA OBJECT. " Do not change.. DATA is generated
BEGIN_METHOD ZBAPIAPPROVE CHANGING CONTAINER.
DATA:
ZPERNR1 TYPE ZAPPROVE-ZPERNR,
RETURN LIKE BAPIRETURN.
SWC_GET_ELEMENT CONTAINER 'Zpernr1' ZPERNR1.
CALL FUNCTION 'ZBAPI_APPROVE'
EXPORTING
ZPERNR1 = ZPERNR1
IMPORTING
RETURN = RETURN
EXCEPTIONS
OTHERS = 01.
CASE SY-SUBRC.
WHEN 0. " OK
WHEN OTHERS. " to be implemented
ENDCASE.
SWC_SET_ELEMENT CONTAINER 'Return' RETURN.
END_METHOD.
************************************BO ENDS**********************************************
when i test my BO it is working perfectly and as far as i know there is no programming part included during task defination so i am not able to follow up where i am going wrong.
Please help me on this.
Thanks in advance.
Saurabh Anand
[email protected].
Similar Messages
-
Refresh document call in RESTful workflow is taking long time.
Hi,
I am facing an issue with the Refresh Document step, in Raylight Workflow using RESTful API.
We are using this Refresh Document call, To make the dataprovider mappings formed.
For few WEBI documents, this Refresh document step is taking much time to complete. After some investigation, we got to know that there are a series of SQL scripts running against actual data source, for each Refresh Document call. If the SQL script is taking much time, then the refresh document call is taking much time as well.
Up to now, we are able to solve this problem in some cases, Like below.
1. For a WEBI Document with Contexts to Answers during Refresh Document:
Ex:
Method: PUT
URI: http://localhost:6405/biprws/raylight/v1/documents/1111/parameters
Request Body: (setting default Context)
<parameters>
<parameter>
<id>3</id>
<answer>
<values>
<value id="4">Context1</value>
</values>
</answer>
</parameter>
</parameters>
Result: Success (No Time out Exception)
2. For a WEBI Document with some prompts to Answers during Refresh Document:
Ex:
Method: PUT
URI: http://localhost:6405/biprws/raylight/v1/documents/1111/parameters
Request Body: (With Some Dummy Values)
<parameters>
<parameter type="prompt" optional="true">
<id>1</id>
<answer type="Text">
<values>
<value id="1">Dummy Text</value>
</values>
</answer>
</parameter>
<parameter type="prompt" optional="true">
<id>3</id>
<answer type="Numeric">
<values>
<value id="1">0</value>
</values>
</answer>
</parameter>
</parameters>
Result: Success (No Time out Exception)
3. For a WEBI Document with No prompts and No Contexts to Answers during Refresh Document:
Ex:
Method: PUT
Request Body: (Empty)
Result: Time Out Exception (from my C# code)
Only In this scenario (3) i am facing issue, As I have no answers to set any default values to Parameters. So the SQL scripts are executing. Due to this, if there is any time taking scripts, then the Refresh document step is taking much time or even throwing Time out exception from my C# code. I tried by increasing the timeout for WebRequest in C#, But still not solved.
For creation of a WEBI document, Can we skip the SQL scripts, running in Refresh Document API call?
If yes, then please let me know your valuable ideas to solve my problem.
Please let me know for more information.
Thanks in advance.
Thanks,
MahendraHi Anthony,
Yes, I tried creating same WEBI Document using Web Intelligence Rich Client and also using Web Intelligence from BI Launch Pad.
On both WEBI Clients I am able to create the same WEBI Document, which I am trying to create using RESTful API.
My observations are like below:
Observation 1: After selecting required Result Objects/columns in Query Panel, by clicking on Close -> Apply Changes and Close button, I can create the WEBI Document and Save it successfully.
Observation 2: After selecting required Result Objects/columns in Query panel, If I click on Run Query, It is taking much time to bring fresh data.
Just like in my first observation, I am only looking for creating WEBI Documents successfully, without bringing fresh data. It is enough for me, If I can create the WEBI documents from RESTful API successfully. Here I am not looking for any fresh data from this Refresh Document step, except the dataprovider mappings.
As mentioned in my previous reply, Without dataprovider mappings, we are unable update Report Specification. For this, to make the dataprovider mappings formed, we are using this Refresh Document step, After updating dataprovider specification
Is this Refresh Document call required in Workflow?
Please suggest me if any other REST API Call, that I can use to get the dataprovider mappings formed, other than Refresh Document step.
Thanks in advance. Currect me if I am wrong.
Thanks,
Mahendra -
How to park an FI document using BDC in Workflow
Hi,
I want to park FI document using some background process.
Can i use BDC in my WF for this purpose.
If yes, kindly guide me through this.
RegrdsHi,
Thanks for your reply.
I need to park an FI accounting journal document rather than an AP (invoice) document.
if we can use BDC in workflow,Can you pleas let me know the process ?
Regards -
Hi,
Is it possible to call BDC in User Exits? Requirement is to update cusotmer master using by CALL TRANSACTION that called from a user exit.
How to know the user exit name, If I already know the function module name and include name?
Ex: Include - ZXVSVU02.
Function Module - EXIT_SAPLVV02_001.
<removed by moderator>
Edited by: Thomas Zloch on Jun 8, 2010 12:44 PMHi,
Have you tried calling BDC through module pool program? if its going to wotk there, sure u will get it done from user exist......
I have worked it through module pool.......all the best for ur try.....
Kalyan -
Problems with BPEL API calling a BPEL workflow
Hallo,
i have copied my text from the Application-Server forum to this forum becouse here it is a better place for my problem.
I have a problem with the BPEL API. I try to invoke a BPEL workflow with the BPEL API. Up to the Point where i call the BPEL workflow with the command "deliveryService.post(processName, action, nm);".
When this command is processed i following error:
java.lang.NoClassDefFoundError: javax/ejb/EJBException
It looks like i am missing a jar file, but in my Development tool an at the compilation i get no errors or warnings. Only when command above is called.
The initialization of the deliveryService works fine.
The only point i can image an error is at the definition of the jndi for the remote connection to BPEL. There i have following entry's:
jndiProviderUrl = "http:ormi://server:port:instance/orabpel";
jndiFactory = "oracle.j2ee.rmi.RMIInitialContextFactory";
jndiUsername = "xxx";
jndiPassword = "yyy";
I get folowing errror message:
java.lang.NoClassDefFoundError: javax/ejb/EJBException
at com.oracle.bpel.client.util.ExceptionUtils.handleServerException(ExceptionUtils.java:76)
at com.oracle.bpel.client.delivery.DeliveryService.getDeliveryBean(DeliveryService.java:254)
at com.oracle.bpel.client.delivery.DeliveryService.post(DeliveryService.java:174)
at com.oracle.bpel.client.delivery.DeliveryService.post(DeliveryService.java:149)
Please can someone tell me what i am doing wrong?
BS
PS: i used following tutorial to create my code for calling BPEL:
http://www.oracle.com/technology/products/ias/bpel/pdf/orabpel-Tutorial7-InvokingBPELProcesses.pdfgot some steps more ... but now i havent any clue. Out of this message i think my ProviderURL is wrong. but i try this both and got always the same error message.
jndiProviderUrl = "opnm:ormi://amy:6003/orabpel"
jndiProviderUrl = "opnm:ormi://amy:6003:oc4j_soa/orabpel"
java.lang.Exception: Erstellen von "ejb/collaxa/system/DeliveryBean"-Bean nicht erfolgreich. Es wurde folgende Exception gemeldet: "javax.naming.NamingException: Invalid provider URL
at com.evermind.server.rmi.RMILocation.createRMILocation(RMILocation.java:80)
at com.evermind.server.rmi.RMILocation.createRMILocation(RMILocation.java:57)
at com.evermind.server.rmi.RMIClient.getLocations(RMIClient.java:661)
at com.evermind.server.rmi.RMIClient.getDomain(RMIClient.java:640)
at com.evermind.server.rmi.RMIClient.getContext(RMIClient.java:534)
at com.evermind.server.rmi.RMIInitialContext.get(RMIInitialContext.java:44)
at oracle.j2ee.rmi.RMIInitialContextFactory.getInitialContext(RMIInitialContextFactory.java:45)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
at javax.naming.InitialContext.init(InitialContext.java:223)
at javax.naming.InitialContext.<init>(InitialContext.java:197)
at com.oracle.bpel.client.util.BeanRegistry.lookupDeliveryBean(BeanRegistry.java:277)
at com.oracle.bpel.client.delivery.DeliveryService.getDeliveryBean(DeliveryService.java:250)
at com.oracle.bpel.client.delivery.DeliveryService.post(DeliveryService.java:174)
at com.oracle.bpel.client.delivery.DeliveryService.post(DeliveryService.java:149)
Please can someone help me?
What is wrong wis my ProviderURL?
BS -
Call BDC through report.
Hi experts,
I want to call BDC for MIGO through report . I had collected required the data in internal table now i want to call the BDC by using call transaction method and update the data using internal table. I used the SUBMIT command to call the bdc but default selection screen comes.
How to suppress the selection screen of bdc ?Hi Abhishek ingole,
Use BAPIs instead of BDC for MIGO...
BAPI_PO_CREATE --> To create Purchase Order
BAPI_PO_CHANGE --> To change Purchase Order
BAPI_PO_GETDETAIL --> Todisplay Purchase Order
BAPI_GOODSMVT_CREATE
Refer below code and modify it according to your req.
* Structures for BAPI
DATA: GM_HEADER TYPE BAPI2017_GM_HEAD_01.
DATA: GM_CODE TYPE BAPI2017_GM_CODE.
DATA: GM_HEADRET TYPE BAPI2017_GM_HEAD_RET.
DATA: GM_ITEM TYPE TABLE OF
BAPI2017_GM_ITEM_CREATE WITH HEADER LINE.
DATA: GM_RETURN TYPE BAPIRET2 OCCURS 0 WITH HEADER LINE.
DATA: GM_RETMTD TYPE BAPI2017_GM_HEAD_RET-MAT_DOC.
CLEAR: GM_RETURN, GM_RETMTD. REFRESH GM_RETURN.
* Setup BAPI header data.
GM_HEADER-PSTNG_DATE = SY-DATUM.
GM_HEADER-DOC_DATE = SY-DATUM.
GM_CODE-GM_CODE = '04'. " MB1A
* Write 971 movement to table
CLEAR GM_ITEM.
MOVE '412' TO GM_ITEM-MOVE_TYPE .
MOVE 'Q' TO GM_ITEM-SPEC_STOCK.
MOVE '3800533484' TO GM_ITEM-MATERIAL.
MOVE '1' TO GM_ITEM-ENTRY_QNT.
*MOVE 'PC' TO GM_ITEM-ENTRY_UOM.
MOVE '1060' TO GM_ITEM-PLANT.
MOVE '0007' TO GM_ITEM-STGE_LOC.
*MOVE '0901' TO GM_ITEM-MOVE_REAS.
MOVE 'P203601001' TO GM_ITEM-WBS_ELEM.
MOVE 'P203601001' TO GM_ITEM-VAL_WBS_ELEM.
APPEND GM_ITEM.
* Call goods movement BAPI
CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
EXPORTING
GOODSMVT_HEADER = GM_HEADER
GOODSMVT_CODE = GM_CODE
IMPORTING
GOODSMVT_HEADRET = GM_HEADRET
MATERIALDOCUMENT = GM_RETMTD
TABLES
GOODSMVT_ITEM = GM_ITEM
RETURN = GM_RETURN.
IF NOT GM_RETMTD IS INITIAL.
COMMIT WORK AND WAIT.
CALL FUNCTION 'DEQUEUE_ALL'.
ELSE.
COMMIT WORK AND WAIT.
CALL FUNCTION 'DEQUEUE_ALL'.
ENDIF.
WRITE:/ GM_RETMTD.
LOOP AT GM_RETURN.
WRITE:/ GM_RETURN.
ENDLOOP.
Hope it will solve your problem..
Thanks & Regards
ilesh 24x7 -
List not found error when a site workflow is called from list workflow
Hi ,
I have created a SharePoint 2013 list workflow , where in i call call 2010 site workflow.
The 2010 site workflow has just a log message in it.
when i run this 2013 workflow. it calls 2010 workflow , and then workflow status gives cancelled ,
if I run site workflow independently it works, if i call a 2010 list workflow within 2013 workflow it works.
The error message is list not found.
Please provide me the solution for this,.
Thanks,
Surajthanks for your reply .
yes , The workflow history is associated and logging the logs . i have also tried associating the new workflow history. but still the same error -
Hi All,
I have slightly twisted version of the calling child workflow problem.
I have one parent workflow & 4 child workflows. Parent workflow has to call
a child workflow during run time. But the crux is parent workflow has to
decide on the run time which of the child workflows to invoke & call the
appropriate workflow accordingly.
Now the current WLI UI allows me to select the child workflow from a
drop-down kinda interface where all the "callable workflows" appear we have
to select one of them. Which is in a sense a hard coding of which child w/f
to call.
What I want is to select at the run time which of the child w/fs to invoke
then invoke them accordingly.
Is it possible to select the w/f to be called at run time ? If yes then how
Has anybody done something similiar ?
thanx in advance for help.Hi
There are ways to do this. You could have cascading decision nodes which
decide which workflow to call (order by frequency). In this case you could
fall through to then next one if it is false. So you use a variable, based
on variable take the appropriate path
Tony
"Prashant Atgur" <[email protected]> wrote in message
news:[email protected]..
Hi All,
I have slightly twisted version of the calling child workflow problem.
I have one parent workflow & 4 child workflows. Parent workflow has tocall
a child workflow during run time. But the crux is parent workflow has to
decide on the run time which of the child workflows to invoke & call the
appropriate workflow accordingly.
Now the current WLI UI allows me to select the child workflow from a
drop-down kinda interface where all the "callable workflows" appear wehave
to select one of them. Which is in a sense a hard coding of which childw/f
to call.
What I want is to select at the run time which of the child w/fs to invoke
then invoke them accordingly.
Is it possible to select the w/f to be called at run time ? If yes thenhow
Has anybody done something similiar ?
thanx in advance for help. -
Call transaction in Workflow doesn't work
Hi all,
I'm a strange problem.
I built a call transaction in a FM. If I test the FM the call transaction works fine.
if I put this FM in a workflow (in a class I build ad hoc for the WF) it doesn't work,
I check in degub the import partameters and it is ok.
I try to execute the FM also in UPDATE or in BACKGROUND task, or the call transaction in different MODE or UPDATE ways, but nothing.
any idea?
thanks
enzoHi,
Whether your BDC code in your function module is requesting any input from user?. If yes, make sure to pass values since you are calling through Workflow which dont popup BDC screens?.
Let me know your scenario is different than I told here.
Regards
Krishna -
Unable to deserialize HTTP response content - SharePoint Designer Call Web Service Workflow Activity
I am creating a workflow using SharePoint Designer 2013 and I'm using the call HTTP web service action.
The web service call works (it is for a text messaging service, and I get the text message to my phone) however the workflow stops at this point with internal status "suspended" and gives the error message below when clicking on the "i"
icon.
I have tried setting the Accept and Content-Type request headers to "application/json; odata=verbose" (minus the quote marks) as other posts suggested but this doesn't make a difference (e.g. here: https://social.msdn.microsoft.com/Forums/windowsapps/en-US/f0b18411-87d1-466b-aab0-1a0093605ed4/workflow-cannot-read-json-after-latest-sp15-patches?forum=sharepointdevelopment).
I tried adding in the Content-Length header too but that made no difference.
I tested calling another web service (https://sharepointurl/_api/contextinfo) and this works fine.
Is there any way to get the workflow to accept this XML as the response? I don't actually really need anything out of the response content, but I do need the workflow to carry on after this step and carry out other activities after this call.
Error message:
Details: An unhandled exception occurred during the execution of the workflow instance. Exception details: System.IO.InvalidDataException:
Unable to deserialize HTTP response content. Expected ContentType : 'application/json', 'text/plain' or 'text/html', Received ContentType : 'text/xml'. Content (truncated) : '<?xml version="1.0" ?><outbound-message-delivery messageId="35d60bd2-a829-4382-8189-7a74de2d1cca"
isError="false"><recipient msisdn="6427xxxxxxx" isError="false"></recipient></outbound-message-delivery>'. ResponseStatusCode : 'OK' Request Uri : 'https://www.txtserviceurl.co.nz/api/3/sms/out?to=6427xxxxxxx&body=test+from+workflow'
at Microsoft.Activities.Messaging.SendHttpRequest.OnReceiveResponse(NativeActivityContext context, Bookmark bookmark, Object value) at System.Activities.Runtime.BookmarkCallbackWrapper.Invoke(NativeActivityContext context, Bookmark bookmark, Object value)
at System.Activities.Runtime.BookmarkWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager) Exception from activity SendHttpRequest HttpPost Switch<String> Sequence Microsoft.SharePoint.WorkflowServices.Activities.CallHTTPWebService
Stage 1 Sequence Flowchart Sequence TestingHi,
Thank you for your post.
I'm trying to involve someone familiar with this topic to further look at this issue. There might be some time delay. Appreciate your patience.
Best Regards,
Lisa Chen
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Lisa Chen
TechNet Community Support -
CNTR_ERROR While calling BDC from BSP
Hi ALL
I am calling a RFC from BSP which in turn call a BDC for the transaction TP04.
When i run the BSP in debugging mode its posting data and working fine.
But otherwise also it doesn't throw any error on browser. but when i check ST22 it throws exception CNTL_ERROR.
My function is remote enabled and i am using destination 'NONE' as well.
I have also checked the Blog by Brian.
suggestions are welcome
NareshHi
Browser is not giving any error,Friendly HTTP is turned off.
I am calling my own fucntion module like this
CALL FUNCTION 'ZTM_FM_TP04' destination 'NONE'
EXPORTING
emplno = employeeno
STARTDATE = strtripbegin
STARTTIME = strstarttime
ENDDATE = strtripend
ENDTIME = strendtime
FIRSTDEST = strfirstdest
COUNTRY = strcountry1
REASON = strreason
CASHADVANCE = strcashadvance
CASHCURR = strcashcurr
BANKADVANCE = strbankadvance
BANKCURR = strbankcurr
TABLES
ADDDEST = adddest.
and within the function module i am calling Call Transaction like this
CALL TRANSACTION 'TP04' USING BDCDATA
MODE 'N'.
But its not posting any data and while checking thru ST22 its giving following error
A RAISE statement in the program "CL_GUI_CUSTOM_CONTAINER=======CP " raised th
exception
condition "CNTL_ERROR".
Since the exception was not intercepted by a superior program
in the hierarchy, processing was terminated. -
HTTP call in a workflow using GetFolderByServerRelativeUrl returns Forbidden
This is using Office365 SPO with a 2013 workflow being created in the 2013 Designer.
We are trying to make a workflow (whose steps will later on be part of a larger) that simply does an HTTP GET call. We have a url variable set to https://xxxxx.sharepoint.com/sites/xxxx/_api/web/GetFolderByServerRelativeUrl('/sites/xxx/xxx')/files, headers
Accept and Content-Type set to "application/json;odata=verbose" and Authorization as an empty string. In the call action the RequestType is GET, RequestHeaders has those values, and the ResponseContent/Headers are set to empty dictionaries with a
ResponseStatusCode variable as an empty string. When the workflow is run the ResponseStatusCode is given a value of Forbidden. When the Authorization header part is missing it returns Unauthorized as per normal.
Navigating to the web url shows the feed page with the correct number of file entries. However, the entries all contain 0 info in the response (I'm guessing that has to do with it being a url call instead of an actual REST call).
Any ideas? This is making my and another employee's foreheads the same flatness as our desks.
Note: Both of us are still fairly new as SP was tossed on our laps w/o any warning. So if it looks like any of this is a horrible way please say so, nicely ;)Hi Tanwedar,
Thanks for posting your issue, Kindly browse the below mentioned URL to create workflow step by step using Designer 2013
http://dinushaonline.blogspot.in/2014/07/sharepoint-2013-workflow-check-if.html
I hope this is helpful to you. If this works, Please mark it as
Answered.
Regards,
Dharmendra Singh (MCPD-EA | MCTS)
Blog :
http://sharepoint-community.net/profile/DharmendraSingh -
Hi,
Can we call an BSP page from within workflow step and can it show in Universal worklist of the Enterprise Portal?
If it possible then from which version of Web application server and enterprise portal it is supported?
Thank you
arunI am imaginating that you what to put the web page as an attachment in a work item.
Well, first try to put the URL of your app into the workitem description. If this solution is doesnt like you you can develop an ABAP application that shows your BSP and then just put this application in a transaction.
Note: check this blog
/people/thomas.jung3/blog/2004/08/26/updated-calling-a-bsp-application-from-a-sapgui-transaction
Then create a METHOD (in your business object) that executes this transaction, and use this method in your step.
Best regards
Ariel -
Call bdc or call transaction in bapi
Hi,
i create MAM sales order using bapi BAPI_ADMGMTSO_CREATEFROMDATA .
But i want create genral business partner using t-code bug1 for that i use bdc.
how i should call that bdc in above bapi.
Please anybody suggest solution for this?Hi,
I don't find BAPI_ADMGMTSO_CREATEFROMDATA, but what you can do is create a customize ZBAPI_ADMGMTSO_CREATEFROMDATA and made a call function to BAPI_ADMGMTSO_CREATEFROMDATA and after commit you put your bdc code. -
WKLPI Excpetion while calling a public workflow
Hi,
I am getting an error as follows
Cannot identify a unique CA based on selection criterias.
Exception while creating a subworkflow instance object.....
I get this error while invoking a public workflow from a task.
Has anyone encountered a similiar case....aor does anyine know how to rectify
this error
Regards
RajSeems like after calling a java method from a native code using JNIEnv*, it is not reusable. How can i achieve my goal ?By keeping instead another structure as a class variable: JavaVM*.
With that variable you can retrieve JNIEnv* in each C++ method you need it.
Suppose you want to use JNIEnv* in SomeCppClass::someCppMethod() method:class SomeCppClass {
private:
JavaVM * jvm;
public:
SomeCppClass();
~SomeCppClass();
void someCppMethod();
SomeCppClass::SomeCppClass() : jvm(NULL) {
JavaVMInitArgs vm_args;
JNIEnv * env;
if (JNI_CreateJavaVM(&jvm, (void **)&env, &vm_args) != 0) {
// some error handling
SomeCppClass::~SomeCppClass() {
if (jvm != NULL) {
jvm->DetachCurrentThread();
jvm->DestroyJavaVM();
jvm = NULL;
void SomeCppClass::someCppMethod() {
JNIEnv * env;
if (jvm->AttachCurrentThread((void **)&env, NULL) < 0) {
// some error handling
}Regards
Maybe you are looking for
-
Hi, What is the size limit to display the BI report on portal/web. If the the report is very large what is the best way to handel it. Should we use Information broadcasting or open hub. Please advise. thanks, Isac
-
Get DocNum from CFL (choose from list)
Hi SAP gurus! Wish all of you a very Happy and Prosperous New Year 2012 ! is it possible to get Document Number from List of Goods Receipt (CFL) ..? in Landed Cost Screen, when user clicks on 'Copy From' button, i am trying to execute query based on
-
Relentless nagging and misinformation about updating Firefox
Hello. This is a general letter to Mozilla. I've been a faithful supporter of Mozilla products for a very long time now, but as of late, with Firefox and Thunderbird trying to force me to buy a new Mac Intel computer I neither want, need nor can affo
-
Received message with invalid client
Logs on one Lion 10.7.5 machine are full of dscl[48193]: received message with invalid client_id 3 The PID keeps incrementing but the client_id is always 3 Googling mainly leads back to: https://discussions.apple.com/message/18643232?searchText=Recei
-
Help. my ipad won't turn on
it only shows apple logo. nothing else. i did reset with home button..that don't work. plugged in with usb..that don't work. i was doing restore...