Skip to Content
avatar image
Former Member

GOS 'Store business document' inactive in create transaction

Hi experts,

I have used used GOS 'store business document' for document archiving into content server. now my question is why this function or rather the GOS toolbar is inactive in create transactions like VA01/VF01 etc. but whereas it is active in VA02/ VA03?

T codes like ME21N / MIGO we can see the gos toolbar and function create attachment is active. In the same fashion why can't the function store business is working? why it is in inactive state?

My requirement is to get the GOS toolbar for create transaction as well, is it possible?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Feb 01 at 07:14 AM

    Hi Atul,

    attachments in GOS is saved against object number hence GOS toolbar is not active in FB01/VA01 etc. create T-Codes.

    I was having same requirement in my one of the project to add attachments in MIRO.

    I found exit in which i got object number generated(look exit/bapi etc executing after save action started) ....there i write my code to activate gos and called service directly.

    DATA: LR_GOS_MANAGER TYPE REF TO CL_GOS_MANAGER,
          LS_BORIDENT TYPE BORIDENT.
    LS_BORIDENT‐OBJTYPE = ‘BUS0000’.
    LS_BORIDENT‐OBJKEY = ‘12345689’.
    CREATE OBJECT LR_GOS_MANAGER
    EXPORTING
    IS_OBJECT = LS_BORIDENT
    IP_NO_COMMIT = ‘ ‘
    EXCEPTIONS
    OBJECT_INVALID = 1

    use the method CL_GOS_VIEW_MANAGER->START_SERVICE_DIRECT and call service 'PCATTA_CREA' directly to give popup for attachment...here you can initiate loop for adding more attachments.

    Add comment
    10|10000 characters needed characters exceeded