‎2006 Jul 11 11:34 AM
Hello everybody,
in the Transaction AS01 (AS02) there is a button called 'Services for Object". At this place i can create an attachment for an asset in the "Online Mode".
Now i need to create attachments for assets in the <i><b>Background mode</b></i>. There is a 1:1 mapping between filename and asset number. Does anyone have an Idea how this can be done? Any function modules or similar...
Thank you very much in advance
Andrey
‎2006 Jul 11 11:45 AM
ok, i know a little bit more know...
with this small coding i can create an attachment now in online mode....
DATA: my_object TYPE REF TO cl_gos_manager,
ls_container TYPE REF TO cl_gui_custom_container,
ls_object TYPE borident occurs 0 with header line.
CREATE OBJECT my_object.
ls_object-objkey = '80000000100000010000'.
ls_object-objtype = 'BUS1022'.
append ls_object.
CALL METHOD my_object->start_service_direct
EXPORTING
ip_service = 'PCATTA_CREA'
is_object = ls_object
io_container = ls_container.
commit work.
what i need know is the possibility to set the filename without any dialog.
Any idea?
‎2009 Jun 04 2:14 PM
‎2009 Jun 04 2:19 PM
‎2009 Jun 04 3:01 PM
‎2009 Jul 16 4:28 AM
Experts,
Can you suggest how to set a printer and allow printing of one document at a time . I have documents attached using services for objects.
Awaiting for earliest response
Thanks
Banu