SAP_WAPI_START_WORKFLOW

Dart, Jocelyn jocelyn.dart at sap.com
Wed Mar 15 16:39:00 EST 2006


Yes but you still need to use the actual ztest structure to format the data correctly first - INT1 is a bit format - not a byte format - so you can't just type in 000 as bytes.
Format the data correctly first, then you can move the formatted data to VALUE as a string. 
 

Regards, 
Jocelyn Dart 
Senior Consultant 
SAP Australia Pty Ltd. 
Level 1/168 Walker St. 
North Sydney 
NSW, 2060 
Australia 
T   +61 412 390 267 
M   + 61 412 390 267 
E   jocelyn.dart at sap.com 
http://www.sap.com <http://www.sap.com/>  

The information contained in or attached to this electronic transmission is confidential and may be legally privileged. It is intended only for the person or entity to which it is addressed. If you are not the intended recipient, you are hereby notified that any distribution, copying, review, retransmission, dissemination or other use of this electronic transmission or the information contained in it is strictly prohibited. If you have received this electronic transmission in error, please immediately contact the sender to arrange for the return of the original documents. 

Electronic transmission cannot be guaranteed to be secure and accordingly, the sender does not accept liability for any such data corruption, interception, unauthorized amendment, viruses, delays or the consequences thereof.

Any views expressed in this electronic transmission are those of the individual sender, except where the message states otherwise and the sender is authorized to state them to be the views of SAP AG or any of its subsidiaries. SAP AG, its subsidiaries, and their directors, officers and employees make no representation nor accept any liability for the accuracy or completeness of the views or information contained herein. Please be aware that the furnishing of any pricing information/ business proposal herein is indicative only, is subject to change and shall not be construed as an offer or as constituting a binding agreement on the part of SAP AG or any of its subsidiaries to enter into any relationship, unless otherwise expressly stated. 

 

________________________________

From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf Of Reyes Diaz, Damian
Sent: Thursday, 16 March 2006 3:29 AM
To: SAP Workflow Users' Group
Subject: RE: SAP_WAPI_START_WORKFLOW


I'd like to do that but INPUT_CONTAINER in rfm uses NAME/VALUE pairs where they both are string.
 
Thanks
 

________________________________

De: sap-wug-bounces at mit.edu en nombre de Schmidinger, Heinz (Unaxis IT BZ)
Enviado el: mié 15/03/2006 15:52
Para: SAP Workflow Users' Group
Asunto: AW: SAP_WAPI_START_WORKFLOW



I think you have to fill ZTEST-COND with the right type and ZEST-DESC with the right type and than move the content of ztest to VALUE.

 

Or do thw container-values.

 

________________________________

Von: Reyes Diaz, Damian [mailto:sap-wug-bounces at mit.edu] Im Auftrag von Reyes Diaz, Damian
Gesendet: Mittwoch, 15. März 2006 15:02
An: SAP Workflow Users' Group
Betreff: RE: SAP_WAPI_START_WORKFLOW

 

Using webdynpro in java to call to rfm I get the same error.

 

I've tested with an structure with two fields of type CHAR and it works fine, so, I think that the problem is with INT1 types.

 

Any suggestion?

 

Thanks

 

________________________________

De: sap-wug-bounces at mit.edu en nombre de Schmidinger, Heinz (Unaxis IT BZ)
Enviado el: mié 15/03/2006 14:30
Para: SAP Workflow Users' Group
Asunto: AW: SAP_WAPI_START_WORKFLOW

I belive the problem is in the testbench for values type INT1 !

 

Write a litte report about calling the f.m !

 

________________________________

Von: Reyes Diaz, Damian [mailto:sap-wug-bounces at mit.edu] Im Auftrag von Reyes Diaz, Damian
Gesendet: Mittwoch, 15. März 2006 13:32
An: SAP Workflow Users' Group
Betreff: RE: SAP_WAPI_START_WORKFLOW

 

I don't have any code to send. I'm testing that rfc using SE37 transaction.

In Input_container table, I fill one row with these values NAME='PPP' and VALUE='000TEST', where PPP is an element defined in workflow container with type ZTEST.

ZTEST is an structure with two fields: COD: INT1 and DESC: CHAR(40) so, I hope that PPP is filled with values:

PPP.CODE = "000"

PPP.DESC = "TEST"

but I get errors!!!

 

Please, anyone could help me?

 

Thanks in advance

 

 

 


 

________________________________

De: sap-wug-bounces at mit.edu en nombre de Mike Pokraka
Enviado el: mié 15/03/2006 11:51
Para: SAP Workflow Users' Group
Asunto: RE: SAP_WAPI_START_WORKFLOW

Should that not read:
 NAME='000TEST'

Sounds like an ABAP issue, maybe it might help if you post your code.

Reyes Diaz, Damian wrote:
> Thanks for your comments Mike.
> I have this structure: ZTEST with two fields: CODE: INT1 and DESC:
> CHAR(40).
> I fill this structure defined in workflow container in input container:
> NAME=PP   VALUE=000TEST
> Then, I get the following error:
>
> ERROR CODE: 2
> ERROR_MESSAGE: Structures of type 'ZTEST' cannot be assigned any
> constants
>
> Can anyone help me?
>
> Thanks
>
>
> ________________________________
>
> De: sap-wug-bounces at mit.edu en nombre de Mike Pokraka
> Enviado el: mié 15/03/2006 10:00
> Para: SAP Workflow Users' Group
> Asunto: Re: SAP_WAPI_START_WORKFLOW
>
>
>
> Hi Damian,
> If you look at the structure of INPUT_CONTAINER, you'll see it's simply
> NAME and VALUE.
> NAME contains the element name as defined in the workflow container, and
> VALUE will contain the data. Anything you want to pass to WF you simply
> add to the table, that's all there is to it.
> Cheers,
> Mike
>
> Reyes Diaz, Damian wrote:
>> Hi,
>>
>> I'm trying to start a workflow using SAP_WAPI_START_WORKFLOW.
>> Our problem is an structure defined as mandatory import parameter in
>> workflow container.
>>
>> We don't know how to fill structure data using INPUT_CONTAINER.
>>
>> Please, any suggestion?
>>
>> Thanks in advance
>>
>> _______________________________________________
>> SAP-WUG mailing list
>> SAP-WUG at mit.edu
>> http://mailman.mit.edu/mailman/listinfo/sap-wug
>>
>
> _______________________________________________
> SAP-WUG mailing list
> SAP-WUG at mit.edu
> http://mailman.mit.edu/mailman/listinfo/sap-wug
>
>
> _______________________________________________
> SAP-WUG mailing list
> SAP-WUG at mit.edu
> http://mailman.mit.edu/mailman/listinfo/sap-wug
>

_______________________________________________
SAP-WUG mailing list
SAP-WUG at mit.edu
http://mailman.mit.edu/mailman/listinfo/sap-wug

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20060316/2e65c276/attachment.htm


More information about the SAP-WUG mailing list