How Can I create an IMAGE object from another BO

Vincze Árpád Arpad.Vincze at itelligence.hu
Fri Oct 25 06:55:51 EDT 2002


Hello,
 
The following program part doesnt work :
 
INCLUDE <object>.
data:    obj TYPE swc_object.
  DATA:
    BEGIN OF KEY,
      IMAGELINKARCHIVEID LIKE TOAV0-ARCHIV_ID,
      ARCHIVEDOCID LIKE TOAV0-ARC_DOC_ID,
    END OF KEY.
*
   KEY-ARCHIVEDOCID =3D ...
   KEY-IMAGELINKARCHIVEID =3D ...
 
 =20
  swc_create_object obj 'IMAGE' key.
* create object doesnt work !!!!!=20
* why !? it sends error 1001
 
  swc_set_element container 'IMAGE' obj.
 
 
Any hints?!
 
     regards:
                    Arpad
 
 =20
Vincze =C1rp=E1d
itelligence Hungary Kft.
H-1138 Budapest, V=E1ci =FAt 141
Tel.:   (+36 1) 452 3822
Fax:    (+36 1) 452 3839
Mobil:   (+36 20) 9 533 578
arpad.vincze at itelligence.hu
 


More information about the SAP-WUG mailing list