Skip to Content
author's profile photo Former Member
Former Member

attacments to service Order (PM)

Hi Friends,

I wish u all happy new year 2007.

This is regarding plant maintenance(PM).

In IW32(change in service order) I have created attachment documents under service notification .

I want to know if there are any attacments to perticular service order.

Because i want to display an icon in the script if there are any attacments to the service order.

How can I find? Are there any tables that are linked with service order and attachments?

Please help me friends.

thanks in adavance.

Regards,

Saya

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Posted on Jan 03, 2007 at 04:35 PM

    Saya,

    How are the attachments assigned?

    PeteA

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 04, 2007 at 03:30 PM

    Hello Saya,

    Use function module SO_ATTACHMENT_READ to read attachments to a service order , you will find this function module in SOB2 function group, there are various function modules for attachments here.

    Please allot points if helpful 😊

    Avisesh

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 10, 2007 at 08:49 AM

    Hi,

    there are two threads in abap general forum. In fact, you may look for attachments with

    SELECT * UP TO 1 ROWS

    FROM srgbtbrel

    WHERE

    instid_a = g_object_gos-objkey AND

    typeid_a = g_object_gos-objtype AND

    catid_a = 'BO' ,

    where objkey is order number an objtype is business object key of the order. To show all attachments in a list you can use methods of CL_GOS_MANAGER. It is described in sap help.

    Regards,

    Christian

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.