Show or hide item of the menu Generic Object Services (BC-SRV-GBT)

Hello experts,
How can I hide some items in the menu GOS for some object. I know it is possible, but I can't remember how I did it. Thanks for any help.
Best regards,
Aleksandr.

Check this link
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVOBS/BCSRVOBS.pdf
You can take care of this Link very useful
http://help.sap.com/saphelp_nw04/helpdata/en/be/3fe63659241157e10000009b38f889/frameset.htm
I made use of the table entries SGOSATTR after coding with the class.
I hope this documentation should be kept by Wflow experts in their kitty:))).
Thanks
Arghadip

Similar Messages

  • GOS: Generic Object Services (BC-SRV-GBT)

    Hi All,
    I have a requirement to implement GOS for our Netting document - object type OIA_BUS001, we need to link a url to our document. And I managed to get the toolbox to appear besides the gui title, using both the FM SWU_OBJECT_PUBLISH and the OO codes that was provided in the SAP help.
    But the results is not quite right - in both cases, when I click on the toolbox -> create, all the functions listed, 'Create attachement, 'create note', etc, are greyed out.
    Is there something that I'm missing here?
    That's not the least of my problems. When (being optimistic here) this ok, I need to find a way on how to update the url in the background....
    Appreciate if anybody have some pointers here.
    Regards,
    Nik

    Try the following code.
    /people/rammanohar.tiwari/blog/2005/10/10/generic-object-services-gos--in-background
    Report  Z_RMTIWARI_ATTACH_DOC_TO_BO
    Written By : Ram Manohar Tiwari
    Function   : We need to maintain links between Business Object and
                 the attachment.Attachment document is basiclally a
                 business object of type 'MESSAGE'.In order to maintain
                 links, first the attachment will be crated as Business
                 Object of type 'MESSAGE' using Message.Create method.
                 Need to check if we can also use FM
                 'SO_DOC_INSERT_WITH_ORIG_API1' or SO_OBJECT_INSERT rather
                 than using Message.Create method.
    REPORT  Z_RMTIWARI_ATTACH_DOC_TO_BO             .
    Include for BO macros
      INCLUDE : <CNTN01>.
    Load class.
      CLASS CL_BINARY_RELATION definition load.
      CLASS CL_OBL_OBJECT      definition load.
    PARAMETERS:
    Object_a
       P_BOTYPE LIKE obl_s_pbor-typeid DEFAULT 'BUS2012', " e.g. 'BUS2012'
       P_BO_ID  LIKE OBL_S_PBOR-INSTID DEFAULT '4700000368',  " Key  PO No.
    Object_b
       P_DOCTY  LIKE obl_s_pbor-typeid DEFAULT 'MESSAGE' NO-DISPLAY,
       P_MSGTYP LIKE SOFM-DOCTP        DEFAULT 'URL'     NO-DISPLAY,
    Relationship
       P_RELTYP  LIKE mdoblrel-reltype DEFAULT 'URL'.
      types: BEGIN OF TY_MESSAGE_KEY,
              FOLTP TYPE SO_FOL_TP,
              FOLYR TYPE SO_FOL_YR,
              FOLNO TYPE SO_FOL_NO,
              DOCTP TYPE SO_DOC_TP,
              DOCYR TYPE SO_DOC_YR,
              DOCNO TYPE SO_DOC_NO,
              FORTP TYPE SO_FOR_TP,
              FORYR TYPE SO_FOR_YR,
              FORNO TYPE SO_FOR_NO,
             END OF TY_MESSAGE_KEY.
      DATA : LV_MESSAGE_KEY type TY_MESSAGE_KEY.
      DATA : LO_MESSAGE type SWC_OBJECT.
      DATA : LT_DOC_CONTENT type standard table of SOLI-LINE with header
    line.
    First derive the Attachment's ( MESSAGE )document type.
      P_DOCTY = 'MESSAGE'.
      CASE P_RELTYP.
      In case of URls
        WHEN 'URL'.
           P_MSGTYP = 'URL'.
      In case of Notes / Private Notes
        WHEN 'NOTE' OR 'PNOT'.
           P_MSGTYP = 'RAW'.
        WHEN 'ATTA'.
           P_MSGTYP = 'EXT'.
      Not implemented as yet...exit
         EXIT.
        WHEN OTHERS.
       ....exit
         EXIT.
        ENDCASE.
    Create an initial instance of BO 'MESSAGE' - to call the
    instance-independent method 'Create'.
      swc_create_object LO_MESSAGE 'MESSAGE' LV_MESSAGE_KEY.
    define container to pass the parameter values to the method call
    in next step.
      swc_container LT_MESSAGE_CONTAINER.
    Populate container with parameters for method
      swc_set_element LT_MESSAGE_CONTAINER 'DOCUMENTTITLE'
                 'Title, created programatically'.
      swc_set_element LT_MESSAGE_CONTAINER 'DOCUMENTLANGU' 'E'.
      swc_set_element LT_MESSAGE_CONTAINER 'NO_DIALOG'     'X'.
      swc_set_element LT_MESSAGE_CONTAINER 'DOCUMENTNAME' P_DOCTY.
      swc_set_element LT_MESSAGE_CONTAINER 'DOCUMENTTYPE'   P_MSGTYP.
    'DocumentContent' is a multi-line element ( itab ).
    In case of URLs..it should be concatenated with &KEY& in the begining.
      CASE P_MSGTYP.
        WHEN 'URL'.
          LT_DOC_CONTENT = '&KEY&http://www.gtservicing.com' .
          append LT_DOC_CONTENT.
    In case of Notes or Private Notes, get the data from files on appl
    server or from wherever(? - remember background).
         WHEN 'RAW'.
           LT_DOC_CONTENT = 'Hi How r u?' .
           append LT_DOC_CONTENT.
    In case of File attachments
         WHEN 'EXT'.
          Upload the file contents using open dataset in lt_doc_content .
          Some conversion ( Compress ) might be required.
          Not sure at this point
      ENDCASE.
      swc_set_element LT_MESSAGE_CONTAINER 'DocumentContent' LT_DOC_CONTENT.
      swc_call_method LO_MESSAGE 'CREATE' LT_MESSAGE_CONTAINER.
    Refresh to get the reference of create 'MESSAGE' object for attachment
      swc_refresh_object LO_MESSAGE.
    Get Key of new object
      swc_get_object_key LO_MESSAGE LV_MESSAGE_KEY.
    Now we have attachment as a business object instance. We can now
    attach it to our main business object instance.
    Create main BO object_a
      data: LO_IS_OBJECT_A type SIBFLPORB.
      LO_IS_OBJECT_A-INSTID = P_BO_ID.
      LO_IS_OBJECT_A-TYPEID = P_BOTYPE.
      LO_IS_OBJECT_A-CATID  = 'BO'.
    Create attachment BO object_b
      data: LO_IS_OBJECT_B type SIBFLPORB.
      LO_IS_OBJECT_B-INSTID = LV_MESSAGE_KEY.
      LO_IS_OBJECT_B-TYPEID = P_DOCTY.
      LO_IS_OBJECT_B-CATID  = 'BO'.
    *TRY.
    CALL METHOD CL_BINARY_RELATION=>CREATE_LINK
      EXPORTING
        IS_OBJECT_A            = LO_IS_OBJECT_A
       IP_LOGSYS_A            =
        IS_OBJECT_B            = LO_IS_OBJECT_B
       IP_LOGSYS_B            =
        IP_RELTYPE             = P_RELTYP
       IP_PROPNAM             =
       I_PROPERTY             =
    IMPORTING
       EP_LINK_ID             =
       EO_PROPERTY            =
    *CATCH CX_OBL_PARAMETER_ERROR .
    *CATCH CX_OBL_MODEL_ERROR .
    *CATCH CX_OBL_INTERNAL_ERROR .
    *ENDTRY.
    Check if everything OK...who cares!!
      commit work.

  • Create Attachment through Generic Object Services (BC-SRV-GBT)

    Hello experts,
    I have one question about a storing of document in this functionality. As you know there are several ways of storing a document to some object.
    1. Using the menu: "Create - Create Attachment"
    2. Using the menu: "Create - Store  Business Document"
    In the first case the document will be saved in SAP Database (Please correct me if I mistake). In the second case an optical archive must be connected to the SAP System.  Can I use an optical archive in the first case?
    PS. When I use the second way I don't see the name of document in the Attachment List. If use  "Create - Create Attachment" - it is OK.
    Thanks advance for any help.
    Your faithfully,
    Alekseev Aleksandr
    Edited by: Aleksandr Alekseev on May 5, 2008 6:05 AM

    Hi Friend,
      You have posted your query in wrong forum.
      Pls post your query in BPM and Workflow Forum.

  • How to show items in the menu bar

    I'd like to know how to add and/or delete items from the menu bar.

    Yes....there is a menu bar at the top of the screen in which sit icons of things like volume, the date, the language, etc. When there are many of them, sometimes you can't see them all. I want to rearrange the order of some of them so that I can always see my Dropbox icon for example. If Apple kept iDisk (!!!!) that worked so well, I wouldn't be worrying about Dropbox. 

  • Open a pdf file from a item of the menu

    Hi, I need to open a file .pdf from a item of the menu, I'm working with Foms 6.0., the problem is that I don't have idea how do that!
    Thanks!

    Hi,
    Most folks use Java. Here is code for a Word doc:
    http://www.thescripts.com/forum/thread586852.html
    package oracle.forms.demos.ole;
    import com.jacob.activeX.ActiveXComponent;
    import java.awt.Panel;
    import com.jacob.com.*;
    public class wordbean extends Panel
    private ActiveXComponent MsWordApp = null;
    private Dispatch document = null;
    public void openWord(boolean makeVisible)
    //Open Word if we've not done it already
    if (MsWordApp == null)
    MsWordApp = new ActiveXComponent("Word.Application");
    //Set the visible property as required.
    Dispatch.put(MsWordApp, "Visible",
    new Variant(makeVisible));
    }

  • I have just updated to Lion and now my folders no longer show number of items on the bottom. Is there a fix for this?

    I have just updated to Lion and now my folders no longer show number of items on the bottom. Is there a fix for this? I allways found that handy. Now I have to click on an icon on the top, This is a backward step if that is now the only way to see the number of items. Am I missing something obvious?

    Parrotcat wrote:
    I have just updated to Lion and now my folders no longer show number of items on the bottom...    
    In the good old days of Snow Leopard, an open Finder folder had a border along the bottom of the window which could show the number of items in that window and the total available space on the hard disk or partition that folder resides on. That bottom border is gone in Lion and those two bits of information are gone with it. Is that what you're talking about? If so, I'd like to learn how to get it back too and "Show Item Info" is not the way.

  • Why is hide items in the cloud grayed out?

    hi. can anybody answer this question? Why is hide items in the cloud grayed out?

    Press the escape (esc) key to exit full-screen mode.

  • Add Command Menu Item in the Menu Panal

    Hi,
    I want to create a nother Command Menu Item in the Menu Panal without drag a view to it , because i want to put some image only. So, How i can do it ?

    See section 9.1.3 of the JHeadstart Developers Guide.
    Steven Davelaar,
    JHeadstart Team.

  • Anyone knows how to hide or dim the menu bar ?

    Anyone knows how to hide or dim the menu bar ?

    MagicMenu, but it may no longer work.
    Auto-hide the dock and menubar on a per-app basis .
    Hide Your Mac Menu Bar and Dock for a Cleaner Desktop.
    All found doing a Google search. Why not give that a try first before posting here.

  • Attachments Activating Generic Object Services (GOS) in VA41/VA42 at item level

    Hi to All,
    I'm trying to manage attachments for sales document at item level.
    I've already read this wonderfull post (Activating Generic Object Services Toolbar in SAP Objects) but I didn't understand how manage attachments at item level.
    Please, if anyone has ideas of how to achieve it please share solutions.
    Thanks & Best Regards,
    Umberto

    Hi again,
    Thanks for the answers, they were very helpful,
    but the customer isn't happy with the "Store business Documents" and it's Drag n' drop interface.
    I'm to develop a new GOS menu item, that will show
    a normal Open File dialog, and a following popup
    where the user can change the document title shown
    in the Attachment list.
    ARCHIVOBJECT_CREATE_FILE and ARCHIVOBJECT_GET_TABLE
    along with ARCHIV_CONNECTION_INSERT should probably
    cover the functionality I need.
    I know both the BOR type ID and the object ID is
    available to me in the Execute() method of the GOS menu handler I'm overriding, but for the ARCHIV_CONNECTION_INSERT, I'm supposed to supply an AR_OBJECT parameter (I know that this information is stored in the TOAOM table), but I have no clue where to get this information for the current object I'm trying to add an attachment for.
    Regards,
    Lars Wilhelmsen

  • Show originally filename in attachment list (generic object services)

    Hello everybody,
    does anybody know, if it is possible to show the originally filename of a document in the attachment list of generic object services?
    If I add more than one document for the same document type in generic object services, I'm not able to distinguish the documents.
    When I want to save an attachment to local PC, SAP offers me the originally filename as default. Therefore, the filename has to be saved somewhere...
    Thanks for any help or ideas in advance,
    Peter

    Richard,
    Your using the wrong object, I don't have access to an SAP system right now, so I can't tell you what the correct object is, but when it's configured correctly in OAC3 it will not be grey out.  Best thing to do it see what the object the program is publishing.  This is what GOS is looking for.  IFARCH21 is not the answer, unless your using workflow

  • Generic Object Services (GOS) + ArchiveLink against IXOS.

    Hi all,
    I'm currently working on a project where I'm supposed to extend the Generic Object Services (GOS) Icon with a menu item for storing documents down to IXOS through ArchiveLink, and a functionality for retrieving them / attaching them to an email.
    So far, I concluded that I need to create a class, whose superclass is CL_GOS_SERVICE, and at least override the EXECUTE() method with some functionality.
    The ARCHIVOBJECT function group contains some (probably)
    useful function modules - like ARCHIVOBJECT_CREATE_FILE and ARCHIVOBJECT_GET_BYTES / ARCHIVOBJECT_GET_TABLE.
    My problem so far is that I don't see the "connection",
    ARCHIVOBJECT_CREATE_FILE takes ARCHIV_ID, DOCUMENT_TYPE
    and PATH as arguments (parameters), and returns ARCHIV_DOC_ID - an unique ID to the stored document
    But how is the link between the archived document and the business object (i.e. the current object of the transaction I'm in) maintained?
    Thanks in advance,
    regards,
    Lars Wilhelmsen

    Hi again,
    Thanks for the answers, they were very helpful,
    but the customer isn't happy with the "Store business Documents" and it's Drag n' drop interface.
    I'm to develop a new GOS menu item, that will show
    a normal Open File dialog, and a following popup
    where the user can change the document title shown
    in the Attachment list.
    ARCHIVOBJECT_CREATE_FILE and ARCHIVOBJECT_GET_TABLE
    along with ARCHIV_CONNECTION_INSERT should probably
    cover the functionality I need.
    I know both the BOR type ID and the object ID is
    available to me in the Execute() method of the GOS menu handler I'm overriding, but for the ARCHIV_CONNECTION_INSERT, I'm supposed to supply an AR_OBJECT parameter (I know that this information is stored in the TOAOM table), but I have no clue where to get this information for the current object I'm trying to add an attachment for.
    Regards,
    Lars Wilhelmsen

  • Generic Object Services with SAPGui Classic Theme

    Dear Experts,
    the button for Generic Object Services is available in different transactions like VA03, ME23N, etc. We are facing now the problem that if a user has in his SAPGui the "Classic Theme" choosen the button for the GOS is not visible. The services can be only accessed through the menu (System->Services for Object)
    With other SAPGui Themes the GOS button is visible.
    We are using SAP Logon 720 Patch-Level 4.
    Thank you for your help.
    Regards,
    Milan

    Hi again,
    Thanks for the answers, they were very helpful,
    but the customer isn't happy with the "Store business Documents" and it's Drag n' drop interface.
    I'm to develop a new GOS menu item, that will show
    a normal Open File dialog, and a following popup
    where the user can change the document title shown
    in the Attachment list.
    ARCHIVOBJECT_CREATE_FILE and ARCHIVOBJECT_GET_TABLE
    along with ARCHIV_CONNECTION_INSERT should probably
    cover the functionality I need.
    I know both the BOR type ID and the object ID is
    available to me in the Execute() method of the GOS menu handler I'm overriding, but for the ARCHIV_CONNECTION_INSERT, I'm supposed to supply an AR_OBJECT parameter (I know that this information is stored in the TOAOM table), but I have no clue where to get this information for the current object I'm trying to add an attachment for.
    Regards,
    Lars Wilhelmsen

  • How to create a Generic Object Services for a standard tcode.

    Hi,
    We have a requirement where we are depreciating the assets (standard transaction ABAA) using a custom BDC program. We need to maintain a history (called audit trail) for the particular asset that has been depreciated using this program. For this audit train we have been asked to use "Generic Object Services" in transaction code ABAA.
    Unfortunately, Generic object services are not available in this transaction code. Can you please suggest me how to create "Generic Object Services" for a particular standard transaction code. Also, we have show the details of custom workflow that follows the approval process in order to depreciate the asset. how to show this workflow details using Generic Services. This is a very critical issue, any help will be very help ful.
    Please let me know should you require more information on this topic.
    Thanks,
    Ashish

    Instead of copyg the std fm to z, do the following,
    1. Go to se37 open FM VIEW_KURGV in display mode.
    2. Click on the spiral icon on the top.
    3. Then in menu go edit->enhancment options -> show implicit enhancement
    4. """""""""""""""""""""" kind of lines will appear in the cde, just rt click on the line at the place u want to insert the code and select
         enhancement implementation create.
    5. Give apropriate name for thi , it will inset a n place to write your code.
    This is an std sap methodology and is supported in upgradde also.

  • Generic Object Services for a standard transaction code

    Hi,
    We have a requirement where we are depreciating the assets (standard transaction ABAA) using a custom BDC program. We need to maintain a history (called audit trail) for the particular asset that has been depreciated using this program. For this audit trail we have been asked to use "Generic Object Services" in transaction code ABAA.
    Unfortunately, Generic object services are not available in this transaction code. Can you please suggest me how to create "Generic Object Services" for a particular standard transaction code. Also, we have show the details of custom workflow that handles the approval process in order to depreciate the asset. How to show this workflow details using Generic Object Services. This is a very critical issue, any help will be very help ful.
    Please let me know should you require more information on this topic.
    Thanks,
    Ashish

    Hello Ashish,
    i dont think activating of GOS will solve ur probs..... GOS wont create a WF item ...... try to get some kind of GOS before u do anything in SAP systems.
    u can do like this ......
    1 create custom screen where u can enter asset details and store in custom tables....and generate one custom doc.number to track.
    2. trigger WF when user submits it for approvals.
    3.Upon final approvals.--->run BDC to do postings......
    4.Give a Option to attach documents to the parking documents. ( that GOS ).
    regards
    Prabhu

Maybe you are looking for

  • Null value in List Binding (enumeration mode)

    Hi, how can I declare a NULL value in a List binding with enumeration mode? A user should be able to select an empty entry in a combobox to update an attribute with a null value. I'm using JDev9052 and JClient. Any hints? Thanks, Markus

  • Billing document creation problem

    Hi All,       i am not able create a billing document (vf01)with reference to a delivery order.It is giving error as billing document can not be saved due to error in account determination.can u please tell me how can i solve this problem.

  • One of the OUs won't appear in Sharepoint MySite

    Hi guys, I recently created corporate employee directory in SharePoint Foundation 2010 I have several OU's in my AD. One of the OU's won't appear in SharePoint MySite but all other OU's will and I can't figure out why. Where should I start looking? T

  • Tax code entry in sales order item conditions  from excel template

    Hi experts , I have a requirement , in which  tax code in sales order item conditions should be determined from an excel template. A Z transaction will fetch values from the template & create sales order in which tax code will be detrmined from the t

  • Embedding images into emails?

    PC users I know can copy and paste JPEGs into emails so that they are not attachments and are open when recipients open the mail. I have not been able to figure out how to do that on my G4. When I use that method, the graphic appears as an attachment