Set value using Container Operation for structure field(s).

Cameron Hunt, Group Services UK Cameron.Hunt at RMC.CO.UK
Wed Sep 26 04:06:43 EDT 2001


Ron,
I think maybe the best, although not a very elegant way to solve this is
with an "Alternative Binding". I generally just code a simple function
module that handles the population of the fields within a structure. If it
starts to get complex though, it is probably best to create another
specialised BO method.
 
Regards,
Cameron Hunt
 
-----Original Message-----
From: Johns, Ron E [mailto:RJohns at powercor.com.au]
Sent: 26 September 2001 05:53
To: SAP-WUG at MITVMA.MIT.EDU
Subject: Set value using Container Operation for structure field(s).
 
 
Hi everyone,
 
This is probably simple....
 
How is it possible to set a value in a container element that is a field of
a structure using the Container Operation?
For example, BAPI method CREATEFROMDATA2 in business object type DRAW has a
mandatory container called DocumentData which is based on structure
BAPI_DOC_DRAW2.
We need to set the values for the fields in this structure, e.g.
DOCUMENTTYPE etc.  Neither the binding editor, nor the Container Operation
step seem to allow you to access the individual fields in this structure.
 
 
Regards,
 
 
Ron Johns
Powercor Australia
**********************************************************************
This email and any file attachments are confidential and intended
solely for the use of the individual or entity to whom they are
addressed. If you have received this email in error please tell us
immediately by return email and delete the document.
**********************************************************************
 
 
**********************************************************************
This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager.
 
This email is sent by a member of the RMC Group p.l.c. group of Companies.
RMC Group p.l.c. is registered in England under company no. 249776. The registered office address of RMC Group and its UK subsidiaries is RMC House, Coldharbour Lane, Thorpe, Egham, Surrey TW20 8TD.
 
This footnote also confirms that this email has been swept by MIMEsweeper for the presence of computer viruses.
www.mimesweeper.com
 


More information about the SAP-WUG mailing list