2010 Dec 25 2:19 PM
Hi All,
I using the following method for view attachments in an ALV program .
CREATE OBJECT go_myobject
EXPORTING
is_object = ls_object
ip_no_commit = 'X'
EXCEPTIONS
OTHERS = 1.
CALL METHOD go_myobject->start_service_direct
EXPORTING
ip_service = 'VIEW_ATTA'
is_object = ls_object
io_container = lo_container.
But I do not want to appear menu (in toolbar: create, change etc...) Is there a method you can view the attachmet list only.
Can you help me please, BR.
2010 Dec 27 12:07 PM
Example:
DATA: st_object0 TYPE sibflporb.
DATA: i_belnr0 TYPE LFA1-LIFNR.
CLEAR: st_object0, i_belnr0.
st_object0-instid = '0000100000'. "CUST CODE
st_object0-typeid = 'KNA1'.
st_object0-catid = 'BO'.
CALL FUNCTION 'GOS_ATTACHMENT_LIST_POPUP'
EXPORTING
is_object = st_object0
ip_mode = 'D'. ----->display mode
Example:
DATA: st_object0 TYPE sibflporb.
DATA: i_belnr0 TYPE LFA1-LIFNR.
CLEAR: st_object0, i_belnr0.
st_object0-instid = '0000100000'. "CUST CODE
st_object0-typeid = 'KNA1'.
st_object0-catid = 'BO'.
CALL FUNCTION 'GOS_ATTACHMENT_LIST_POPUP'
EXPORTING
is_object = st_object0
ip_mode = 'D'. ----->display mode
2010 Dec 26 5:16 AM
Check this Blog, Naimesh has explained very well about GOS objects.
[GOS Objects|http://help-abap.blogspot.com/2008/09/tutorials.html#GOS]
2010 Dec 26 10:57 AM
Hi Gautham Vangaveti.
I have known the blog. I made this development with reference of the blog. First of all, I searched the blog but could not reach this conclusion.
Thanks.
2010 Dec 27 12:07 PM
Example:
DATA: st_object0 TYPE sibflporb.
DATA: i_belnr0 TYPE LFA1-LIFNR.
CLEAR: st_object0, i_belnr0.
st_object0-instid = '0000100000'. "CUST CODE
st_object0-typeid = 'KNA1'.
st_object0-catid = 'BO'.
CALL FUNCTION 'GOS_ATTACHMENT_LIST_POPUP'
EXPORTING
is_object = st_object0
ip_mode = 'D'. ----->display mode
2010 Dec 27 12:12 PM
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |