How to create GOS view attachment list in ECC6

Hi,
I created Z transaction. I have to create View attachment List to this transaction. How to create GOS view attachment list in ECC6. can anybody send sample code on this.
Thanks in advance.
Zakir.

Hi all,
I've following problem with class CL_GOS_ATTACHMENTS.
Transaction IE01/02/03 (create/change/display equipment) starts and instantiate GOS manager, and related BAdI are called.
Then, when I choose one of available service, CL_GOS_ATTACHMENTS is instantiated, and inside that class a new GOS manager is instantiated, inspite of already existing instance.
As a result, related BAdI are called twice, but unfortunately second time some SY variables are not correctly filled, particularly SY-TCODE and SY-MODNO are both empty.
I've develop a workaround so that when sy-tcode is filled I save it somwhere, and when it's empty I filled it from saved value, does anyone know any other solution??
Many thanks
Regards
m@x

Similar Messages

  • Problem with GOS view attachment list in SAP Upgrade

    Hi,
    The view attachment list is working fne in 4.6c for the Z  transaction. When I run the same transaction in ECC6, I am getting the 'GOS View Attachment List' icon, but when I click on
    this icon, it is given short dump in ECC6 where as in 4.6c it is working fine. It shows the followin dump in ECC6.
    SET HANDLER: Reference to handler object cannot be NULL.
    The current ABAP program "CL_GOS_TOOLBOX_VIEW===========CP" had to be
    terminated because it has
    come across a statement that unfortunately cannot be executed.
    When specification a handler for an event in the SET HANDLER statement,
    the reference "IS_SERVICE-SERVICE" to the handler instance cannot be NULL.
    Program CL_GOS_TOOLBOX_VIEW===========CP
    Include CL_GOS_TOOLBOX_VIEW===========CM004
    Row 69
    Module type (METHOD)
    Module Name DISPATCH_SERVICE
    =============================================
    When I click on SET HANDLER statement, control leads to method DISPATCH_SERVICE in class CL_GOS_TOOLBOX_VIEW.
    =============================================
    I am using the following code.
    data: lo_container type ref to cl_gui_custom_container,
    ls_object type borident.
    ls_object-objtype = 'ZRECON'.
    ls_object-objkey = gs_rec_all_scr-reconobj.
    case ok_code.
    when 'ATTACH'.
    call method go_myobject->start_service_direct
    exporting
    ip_service = 'CREATE_ATTA'
    is_object = ls_object
    io_container = lo_container.
    when 'LIST'.
    call method go_myobject->start_service_direct
    exporting
    ip_service = 'VIEW_ATTA'
    is_object = ls_object
    exceptions no_object = 1
    object_invalid = 2
    execution_failed = 3
    others = 4.
    endcase.
    The short dump given at
    call method go_myobject->start_service_direct
    Thanks a lot.
    Zakir.

    Hi,
    I am facing the same issue. Can somebody help me to fix this issue?
    Thanks,
    Geetha

  • View attachment list in ECC6

    Hi,
    I am trying to assign the GOS service for the Z transaction using a ehancment spot in PBO . Problem is I am getting the GOS service enabled for the transaction. But when I click on
    "View Attachment list" service, it is given short dump in ECC6 where as in 4.6c not. IIt shows the followin dump.
    SET HANDLER: Reference to handler object cannot be NULL.
    The current ABAP program "CL_GOS_TOOLBOX_VIEW===========CP" had to be
    terminated because it has
    come across a statement that unfortunately cannot be executed.
    When specification a handler for an event in the SET HANDLER statement,
    the reference "IS_SERVICE-SERVICE" to the handler instance cannot be NULL.
    Program CL_GOS_TOOLBOX_VIEW===========CP
    Include CL_GOS_TOOLBOX_VIEW===========CM004
    Row 69
    Module type (METHOD)
    Module Name DISPATCH_SERVICE
    =============================================
    I am using the following code.
    data: lo_container type ref to cl_gui_custom_container,
    ls_object type borident.
    ls_object-objtype = 'ZRECON'.
    ls_object-objkey = gs_rec_all_scr-reconobj.
    case ok_code.
    when 'ATTACH'.
    call method go_myobject->start_service_direct
    exporting
    ip_service = 'CREATE_ATTA'
    is_object = ls_object
    io_container = lo_container.
    when 'LIST'.
    call method go_myobject->start_service_direct
    exporting
    ip_service = 'VIEW_ATTA'
    is_object = ls_object
    exceptions no_object = 1
    object_invalid = 2
    execution_failed = 3
    others = 4.
    endcase.
    The short dump given at
    call method go_myobject->start_service_direct
    Thanks a lot for ur suggestions.
    Zakir.

    Solved Question

  • How to create a view object and attach with extended AM

    Hi,
    I tried to create new vo and attach this vo with the extended AM. But it is throwing error like 'PC.NAME : invalid identifier' (Actually this PC.NAME is exiting one).
    Now i want to know how to create a view object similar like seeded one but with one additional condition in the where clause.
    It is possible though extension, but i want to create two view object similar like seeded one, one with some other condition in the where clause
    and another one with some other condition.
    So for my requirement, i'll extend one VO and i'll add my condition but how to do it for second condition.
    But i want same seeded VO with two different condition.
    Any suggestions please,
    SAN

    SAN,
    There is no need to attach the newly created VO with extended AM. You need to attach the same with the standard AM.
    Regards,
    Gyan

  • How can I add the attachment list pdf file context to purchase order ?

    Dear all,
           I have use services for object in ME22N to attach PDF file to purchase order,I want to know how can I add the pdf file context to purchase order when I send the purchase order to vendor.
    Thanks in advance
    Best regards,
    Merry

    hi,
    attach document through Service for Object button. Service for Object button available down side of Command screen ( in your PO screen ME22N ) .
    Click your Service Object button -> Create -> Create attachment 
    then select your window directory ( which file you need to attach) select your file Now your system shows message  Service "Create attachment" is started. 
    Save again your PO. You can see (open) your attachment in same field ( Service for Object ) select and Create and check attachment list. You can attach as many document in your PO.

  • Problem in "View Attachment list"

    I am trying to assign the GOS service for the Z transaction using a ehancment spot in PBO . Problem is I am getting the GOS service enabled for the transaction. But when I click on
    "View Attachment list" service, it is given short dump in ECC6 where as in 4.6c not. IIt shows the followin dump.
    SET HANDLER: Reference to handler object cannot be NULL.
    The current ABAP program "CL_GOS_TOOLBOX_VIEW===========CP" had to be
    terminated because it has
    come across a statement that unfortunately cannot be executed.
    When specification a handler for an event in the SET HANDLER statement,
    the reference "IS_SERVICE-SERVICE" to the handler instance cannot be NULL.
    Program CL_GOS_TOOLBOX_VIEW===========CP
    Include CL_GOS_TOOLBOX_VIEW===========CM004
    Row 69
    Module type (METHOD)
    Module Name DISPATCH_SERVICE
    =============================================
    I am using the following code.
    data: lo_container type ref to cl_gui_custom_container,
    ls_object type borident.
    ls_object-objtype = 'ZRECON'.
    ls_object-objkey = gs_rec_all_scr-reconobj.
    case ok_code.
    when 'ATTACH'.
    call method go_myobject->start_service_direct
    exporting
    ip_service = 'CREATE_ATTA'
    is_object = ls_object
    io_container = lo_container.
    when 'LIST'.
    call method go_myobject->start_service_direct
    exporting
    ip_service = 'VIEW_ATTA'
    is_object = ls_object
    exceptions no_object = 1
    object_invalid = 2
    execution_failed = 3
    others = 4.
    endcase.
    The short dump given at
    call method go_myobject->start_service_direct
    Thanks in advance.

    Solved Question

  • How to  create i view  in visual composer give details screenshots

    how to  create i view  in visual composer give details screenshots

    Hi,
    Go through these threads
    VisualComposer
    http://help.sap.com/bp_epv170/EP_US/HTML/Executive_Cockpit.htm
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/1752b737-0401-0010-0ba3-87c3eda8c6ce
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e019d290-0201-0010-f186-8630a949800a
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/30987099-a74c-2a10-70b5-a2751ce79359
    http://help.sap.com/saphelp_nw04/helpdata/en/fd/4a7e40417c6d1de10000000a1550b0/content.htm
    Tarak
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/00b9ba6d-1291-2a10-208d-bd27544e7939

  • How to create a group mailing list in JavaMail?

    Hello,
    I've been searching through the entire API, specifically the InternetAddress class and I can't seem to find out how to create a group/mailing list. Does anyone know how to do this?
    That is, I would like to be able to group a bunch of e-mail addresses together and give that group a name "my friends". Then send it off using this 'group mail address' as opposed to an array of InternetAddress[]. Then when the recipients receive the e-mail, they see "my friends" in the To: field, instead of everyone's e-mail address...
    Is this possible in JavaMail? I've tried many things like creating an InternetAddress object passing in a comma-delimited list of e-mail addresses but it doesn't like it.
    Thanks in advance!

    Hi:
    I have the same problem. I've read JavaMail implements RFC 822 which allow mailing lists. But, �how can I implement it with JavaMail?
    Best regards,
    Fabio Galarraga.

  • How to create a group contact list on iphone4?

    how to create a group contact list on iphone4?

    You can create your groups on your computer and sync them on your iPhone. Or you can use an application. I developped Easy Group, to manage group of contacts, and send group texts and group emails.
    http://itunes.apple.com/fr/app/easy-group/id461469079?mt=8
    Rémi
    Note: I may receive some form of compensation, financial or otherwise,from my recommendation or link.

  • How to create a group mailing list?

    how to create agroup mailing list?

    i have followed instructions on "how to create a group mailing list" & get a total blank when i hit return after entering the group name in addressee column.   this is after i created a new group under address book, & then drug over individual names into the group.   what am i doing wrong?

  • How to creat a view in

    Hi all,
    i am new to can u tell me how to creata a view. and how we can create node.and how we can create outbound plug and inbound plug.
    thanks & regards
    naveen

    Hi Naveen,
    In the component click on view qith the right button and select "Create View" follow the steps. Its a very simple wizard.
    Let me know if you have more issues.
    Best regards,
    Caíque Escaler

  • How to create a view in R/3?

    Hello, Can anyone plz gimme step by step how to create a view in R/3....

    Hi dear,
    go to SE11, out your Z* view and click create...
    Then choose your source tables, the join condition between them and, finally, all the fields (coming from source tables) you need for your purposes...
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/cf/21ed06446011d189700000e8322d00/content.htm
    Hope it helps!
    Bye,
    ROberto

  • How to create a view with Oracle apps Org initialization ?

    Hi,
    How to create a view which needs Oracle apps org initialization to provide the correct data .
    The purpose of the view is to be accessed in Primavera DB via a DB link for reporting purpose.
    So how should the org be initialized so that the view returns the correct data when accessed from the remote data base using the DB link?
    EX: step1 run fnd_client_info.set_org_context for the org
    step2 query the veiw returns correct data in Oracle.
    How can this be achieved if the view needs to be accessed via DB link?
    sample view sql :
    select po_header_id
    from po_distributions_all pod
    where (apps.po_intg_document_funds_grp.get_active_encumbrance_func
    ('PO',
    pod.po_distribution_id
    ) <> 0
    Thanks in advance!
    Darshini

    Hi,
    This is not possible in Oracle. What u can do is create the view without the where clasue and supply the where clause at runtime.
    Hope this helps...
    Regards,
    Ganesh R

  • How to create a view on tables with different keys?

    I have to create a View on:
    Z3PVR: Transparent Table
    BSEG: Cluster Table
    CKIS: Transparent Table
    BKPF: Transparent Table
    RV61A: Structure
    T001: Transparent Table
    All the tables have different "Key Fields" and the structure has no "Key Fields". When i create the view, what do I mention in the "JOIN FIELDS" tab. and how do i create the view with the structure?
    Please advise.

    How to create a view on a Non-Transparent Tables.
    how to create view?
    HELP.. How to create a view with the tables with ALV

  • How to create a view indicating column's length?

    SQL>create table abc (a number(12));
    I want to create a view cde with a length of number(5) by "describe cde" in sql*plus.
    SQL>create view cde(a) as select a from abc;
    SQL>desc cde
    A NUMBER(12)
    how to create a view indicating column's length? the actual value in abc only <1000
    I want to create a view cde with a length of number(5) .
    SQL>desc cde
    A NUMBER(12)
    Thank You
    Ming-An Zhang

    This does not make sense. How can a view be a NUMBER(5) and the actual column a NUMBER(12)?
    What happens if there is a 10 or 12 digit number in the table? Just what is the view suppose to do? Crash and burn? Where is the logic in that?!
    If the table's column has an incorrect precision and size, THEN FIX IT!! Do not hack it with view!
    It is silly purposefully building constructs into the database that can easily result in run-time errors.

Maybe you are looking for