2007 Dec 14 7:36 PM
In the transaction CO02 there is a buttom (I think that is GOS) in the first line in the screen.
I need to save Note (<i>buttom-> Create-> Create Note</i>) in abap.
How can I do this ? is there a FM or Method ?
Thanks.
Best regards,
Marcelo Perine
In the transaction CO02 there is a buttom (I think that is GOS) in the first line in the screen.
I need to save Note (<i>buttom-> Create-> Create Note</i>) in abap.
How can I do this ? is there a FM or Method ?
Thanks.
Best regards,
Marcelo Perine
2007 Dec 14 8:28 PM
2007 Dec 14 8:32 PM
Hi,
If you want to use GOS, then
data: i_borident type borident,
gos_manager type ref to cl_gos_manager,
i_services type tgos_sels,
i_service type sgos_sels.
refresh : i_services. clear : i_services, i_service.
select * from sgosattr where name ne 'PERS_NOTE'.
i_service-sign = 'E'.
i_service-option = c_eq.
i_service-low = sgosattr-name.
append i_service to i_services.
*
endselect.
then call GOS
i_borident-objtype = '<CO02 Object Name>'.
i_borident-objkey = <your CO02 document number>.
create object gos_manager
exporting
is_object = i_borident
it_service_selection = i_services
ip_no_commit = ' '
exceptions
object_invalid = 1.
a®
2007 Dec 17 11:57 AM
ARS, thanks for your cooperation.
I´m using GOS to save Note.
After create OBJ, how can I save the text ?
Thank you.