AW: AW: getting an attribute

Schmidinger, Heinz (Unaxis IT BZ) heinz.schmidinger at unaxis.com
Mon Sep 30 09:15:01 EDT 2002


the key for the object bus1001 is vbap-matnr. if you create the object =
or
read the instance you must pass this as the key I think because you =
want to
access an instance of object BUS1001 not an instance of VBAP.
 
 
-----Urspr=FCngliche Nachricht-----
Von: Jose Burgman [AST] [mailto:jose.burgman at ast.co.za]
Gesendet am: Montag, 30. September 2002 14:59
An: SAP-WUG at MITVMA.MIT.EDU
Betreff: Re: AW: getting an attribute
 
Material is an attribute of the object VBAP so an instance should exist =
- I
think the problem is that the key from VBAP is not being passed across =
to
the get property macro - these fields contain no value when I'm in =
debug
mode in the macro itself.=20
 
Jose
 
-----Original Message-----
From: Schmidinger, Heinz (Unaxis IT BZ)
[mailto:heinz.schmidinger at unaxis.com]
Sent: Monday, September 30, 2002 2:43 PM
To: SAP-WUG at MITVMA.MIT.EDU
Subject: AW: getting an attribute
 
 
is an instance of object 'BUS1001' avaiable at this time ?
Otherwise maybe you shoud do swc_create_object 'BUS1001' mat_key
 
-----Urspr=FCngliche Nachricht-----
Von: Jose Burgman [AST] [mailto:jose.burgman at ast.co.za]
Gesendet am: Montag, 30. September 2002 14:11
An: SAP-WUG at MITVMA.MIT.EDU
Betreff: getting an attribute
 
Hi every-one
 
Well, I've got to a point where I'm not sure how to proceed. I'm in the
process of creating a standard role. The position is determined by the
material number - I'm using BUS2030 (Customer Inquiry)as a starting =
point.
In BUS2030 the items are a multiline element (of type VBAP) - I pass =
this to
my standard role and extract the table (of type VBAP, called material). =
I
read the first line of the table and I seem to get a key. When I try =
and get
the material property (also an object BUS1001), no information is =
returned.
In debug mode it seems the key is not passed across and I get nothing =
back
for my material, although the key shows in my extracted object.=20
 
ie
  DATA: material TYPE swc_object OCCURS 0,
        matobj TYPE swc_object,
        matnr TYPE swc_object.
  =20
  swc_get_table ac_container 'Material' material. =3D=3D=3D=3D=3D> =
material filled
with table
  READ TABLE material INDEX 1 INTO matobj. =3D=3D=3D=3D=3D=3D> matobj =
filled
  swc_get_property matobj 'Material' matnr.  =3D=3D=3D=3D=3D> matnr not =
filled. In
debug mode, the key in
matobj is not passed across to the implementation
program.
 
Can any-one tell me what I'm doing wrong?
 
Thanks
 
Jose.
______________________________________________
 
"This information is intended only for the person or entity to which it =
is
addressed and
may contain private, confidential, proprietary and/or privileged =
material
and may be subject
to confidentiality agreements.
 
Any review, retransmission, dissemination, or any other use of or =
taking of
any action in
reliance upon this information, by persons or entities other than the
intended recipient,
is prohibited.
 
If you received this in error, please contact the sender and delete the
material from all
storage media.
 
The company is neither liable for proper, complete transmission of the
information contained
in this communication, any delay in its receipt or that the mail is
virus-free"
______________________________________________
 
"This information is intended only for the person or entity to which it =
is
addressed and
may contain private, confidential, proprietary and/or privileged =
material
and may be subject
to confidentiality agreements.
 
Any review, retransmission, dissemination, or any other use of or =
taking of
any action in
reliance upon this information, by persons or entities other than the
intended recipient,
is prohibited.
 
If you received this in error, please contact the sender and delete the
material from all
storage media.
 
The company is neither liable for proper, complete transmission of the
information contained
in this communication, any delay in its receipt or that the mail is
virus-free"
 


More information about the SAP-WUG mailing list