SAP_WAPI_START_WORKFLOW

Reyes Diaz, Damian Damian.Reyes at getronics.com
Wed Mar 15 09:02:10 EST 2006


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 --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 10118 bytes
Desc: not available
Url : http://mailman.mit.edu/pipermail/sap-wug/attachments/20060315/dce50d75/attachment.bin


More information about the SAP-WUG mailing list