Once again fill/create object

Josie Henriques jhenriques_procwork at timbrasil.com.br
Wed Dec 14 06:29:02 EST 2005


  Hi Mark

 

    Thanks for you help. I'll try this too.  Last night a colleague called me and said that I should try to use interfaces too.

 

    Something have to work!!!

    

 

Josie de Assis Francisco Henriques

Consultora ABAP

Aspen / Procwork

Tel.: 21 82087663

  _____  

From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf Of Mark Pyc
Sent: quarta-feira, 14 de dezembro de 2005 08:12
To: SAP Workflow Users' Group
Subject: Re: Once again fill/create object

 

G'day Josie,

 

You don't set an Object Instance's attributes when you create it, you create the Instance and it determines the values of it's attributes internally. All you need to create an instance is the object type and the key. The code behind the object must then be able to determine the value of all attributes based on the key. 

 

If you're not happy with what attributes BUS7022 has then you'll need to create a subtype, extend the subtype and then delegate to it.

 

I've just had a look and I'm not at all familar with that particular object. The fact that it uses a Workitem ID as a key means that finding the key to pass when instanciating may not be straight forward. Is anyone familiar with BUS7022?? 

 

Good luck,

Mark

 

On 12/13/05, Josie Henriques <jhenriques_procwork at timbrasil.com.br> wrote: 

Thank you Flavio

It has helped me a lot. I could get an object's attribute but I now don´t know how to set these values in the object I'm creating. I'ts a different object from the one I'm using in my WF. 

Josie de Assis Francisco Henriques
Consultora ABAP
Aspen / Procwork
Tel.: 21 82087663

-----Original Message-----
From: sap-wug-bounces at mit.edu [mailto: sap-wug-bounces at mit.edu] On Behalf Of Flavio Oliveira
Sent: terça-feira, 13 de dezembro de 2005 17:06
To: sap-wug at mit.edu
Subject: RE: Once again fill/create object 

Josie:

Try to take a look at the online help. You will find all information you
need:

http://help.sap.com/saphelp_47x200/helpdata/en/c5/e4acd5453d11d189430000e829fbbd/frameset.htm 

Flavio.


>From: "Josie Henriques" <jhenriques_procwork at timbrasil.com.br>
>Reply-To: "SAP Workflow Users' Group" < sap-wug at mit.edu>
>To: "SAP Workflow Users' Group" <sap-wug at mit.edu>
>Subject: Once again fill/create object
>Date: Tue, 13 Dec 2005 16:37:53 -0200 
>
>
>
>   I need to create an object (BUS7022) but its attributes will be filled
>with data from 3 objects.
>
>
>
>   Does anyone has some code sample to send for me? With swc_ate_object, 
>swc_set_element and others statements?
>
>
>
>thanks
>
>
>
>Josie de Assis Francisco Henriques
>
>Consultora ABAP
>
>Aspen / Procwork
> 
>Tel.: 21 82087663
>
>
>


>_______________________________________________
>SAP-WUG mailing list
>SAP-WUG at mit.edu
> http://mailman.mit.edu/mailman/listinfo/sap-wug <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/20051214/cb97fa1e/attachment.htm


More information about the SAP-WUG mailing list