Task :  new objects and attachments

Hi,
in my task i would like to add an object that allows to go to a transaction SM30 for exemple.
Thanks

Hi,
If you just want to go to a transaction, that is relatively easy.
Just add a method in a BO which looks a bit like the following:
Begin_method SM30 changing container.
   Call transaction 'SM30'.
End_method.
If you want to extend the functionality of this method 'call transaction' you can use parameter ID's or apply the statement CALL TRANSACTION USING BDCDATA... See for more info the ABAP-documentation (press F1 in your editor for that).
Hope this helps you in creating your method.
Kind regards,
Joost van Poppel

Similar Messages

  • How can i include  'Objects and Attachments' in the Decision Step ?

    i found some relevant threads for this particular topic but not able to solve my problem , so i thought of openeing new thread.
    My requirement is to fill the 'Objects and Attachments ' in Decision step with a  display method of purchase order number.
    From SAP Inbox , when i click on Objects and Attachments , it should navigate to Display method of my BOR object with the Purchase order number.

    Hi Sanju , i did exact the same way  ,
    &_EVT_OBJECT& --> &BUS2012&  ( This is done at the start of workflow )
    Now go to you task of the user decesion and make the following binding....
    &BUS2012& --->&_ATTACH_OBJECTS&  in the biding step between decession task and workflow container.
    I am getting this error message paul,
    The Object Types '[BO.ZIPARI]'  (source) and  '[BO.SOFM]' (target) are not compatible.
    i am trying to create a method in BOR and passing back the attachment back to task container but not succeeded yet .
    My requirement is , from SAP inbox before taking decision , approver wants to review for that i need to link the PO number clickble at 'Objects and Attachments'.

  • Objects and Attachments in User Decision Step not possible

    Hi all,
    I have designed a workflow where during the 1st step(Archivelink image display) I am able to display archived image, and in the inbox for the first workitem I can see the Objects and Attachments link related to the image.
    But my second workflow step(is userdecision dialog), I would like to see the same archived image link as the in the previous workitem under Objects and Attachments.(I dont want to create a new attachement)
    Can somebody tell me how can I accomplish this task.
    Thnks
    Yogi

    Hello,
    what you need todo is to use a container binding from the single step task from the 1st step where you bind the image object to the workflow container.
    Then in the user decision task you create a container element which refers to the image object. Then use a binding to 'send' the object from the workflow container to the task container.
    Kind regards,
    Peter

  • How do I set up the "Objects and Attachments"

    Hi .... I'm new at WorkFlow (and SAP for that matter) and have inherited a WF that is already built.  In several of the steps I can see "Objects and Attachments" on the work item screen where a User can click to be directed to a transaction. For example, on one screen the User can click on "Incoming Invoice: 5105601690" to be directed to the Invoice Display Screen that is populated with information for that particular invoice (5105601690).
    I am looking at the WF using TCode SWDD and cannot figure our how the original developer set this up.  So my question is ..... for a particular WF step, how do you set up the "Objects and Attachments: area so that the User will be directed to a particular transaction when he/she clicks on it.
    Thanks in advance, and sorry for such a "juvenile" question.
    Dan A

    Thanks for your reply Rajkumar,
    I am looking at the screen you have directed me to.  Business object is BUS2081 (actually it is ZMMWBS2081 which is a customized version BUS2081) Method is "Display" and Attribute is "InvoiceDocNumber".  How do I know by looking at this that "Display" means Display Invoice?  What if I wanted to display the PO instead?
    Thanks for the "spoon feeding".
    Dan A

  • Why i cannot see 'Objects and attachments ' in decision step?

    Dears:
      i am doing some workflow in SO, but i cannot see the object link under 'Objects and attachments ' in INBOX. like 'Sales Order: 0500001005 '.
      i have do the binding from workflow to task.
      any advice?

    Hi
    This sounds like a binding issue.
    Make sure that:
    1. You have created the binding from the workflow container to the task container
    2. The object (Salesorder) is correctly instantiated when you're using it in your task
    3. Make sure that your not binding out any invalid object/ values to your salesorder workflow container object in any of the previous steps.
    Regards
    Morten Nielsen

  • Work Item Objects and attachments

    Hi,
    We are working for the travel expenses related workflow scenario where we are able to see the employee trip details under the objects and attachments. This happens with the method 'DISPLAY' which is a default method and which is used to display the trip details. We are seeing this under the User Decision. I am using the BO BUS2089.
    Now we want another link below this which on clicked will call a smartform.What i essentially imply is that when the link is clicked, a pop up will appear where the user will enter LOCL and when clicked on print preview, he will be able to see the smartform.
    What i want to know is that how can we have multiple links in objects and attachments in one work item itself.
    Thanks in advance for all the help.

    Hi,
    For every object instance in the work item container there will be a link in the preview pane in SBWP. If you want to have a link to a smartform then make sure the User Decision task has a container element which references the smartform object.
    Regards,
    Eddie

  • Subject on objects and attachments

    Hi all,
    Does anyone know how to change the subject on an SOFM object I create on the fly and attach to a task?
    Under "Objects and attachments" the attachment shows up as "Office Document: SDM".  How do I change the "SDM" to something else.
    Thanks,
    Scott

    Thanks Mike,
    Here is how I am creating the docuemnt....
      DATA: FLOWITEM TYPE SWC_OBJECT,
            WF_ID    LIKE SWWWIHEAD-WI_ID.
      SWC_GET_ELEMENT CONTAINER 'WI_ID' WF_ID.
      SWC_GET_ELEMENT CONTAINER 'FLOWITEM' FLOWITEM .
    SWC_GET_PROPERTY FLOWITEM 'WorkitemId' WF_ID.
      SWC_SET_ELEMENT CONTAINER 'NOTEID' WF_ID.
    *wf_id = '000000415638'.
    CALL FUNCTION 'SWL_WI_NOTE_CREATE'
         EXPORTING
              WI_ID                         = WF_ID
            WORKITEM                      =
         EXCEPTIONS
              ERROR_SETTING_NOTE_EXIST_FLAG = 1
              ERROR_NOTE_CREATION           = 2
              ERROR_CONTAINER_UPDATE        = 3
              CONTAINER_DOES_NOT_EXIST      = 4
              ERROR_IN_WI_ENQUEUE           = 5
              ILLEGAL_WI_STATE              = 6
              OTHERS                        = 7.
    Where does the subject even come from?  Also, how do you change the subject or title field in FM's & methods?
    Thanks,
    Scott

  • Workflow Decision suppress "Objects and attachments "

    Hi all,
    Is there a way to suppress the "Objects and attachments " message or change the text that reads "No attachments or objects"?
    Thanks in advance,
    Scott

    hi,
    first post workflow questions in the SAP Business Workflow
    Executing transactions is done by first finding the business object related to the transaction and then see if a method exists for changin in dialog
    for instance, BUS1001 methods display, edit, delete
    executing transactions who don't belong to a business object from workflow can be done with a task which uses method execute of business object TRDIR, you have to pass the progrm name .
    kind regards, Rob dielemans

  • Create Objects and Attachments

    Hi All,
    I want to know how to create Objects and Attachments  in Workflow as in case of Customized WF . As for Purchase Order Release I can see the Click on the Link and Display the Document. How it get done?
    Help Me
    Thanks

    Hello Munish,
    First goto SWO1 to create objects.(custom).
    Second you can copy std. WF and enhance it for your requiremet.
    in custom BO you can write method and in that you can call your form59.
    from swel you can find which std. B.O. is used for PO Release.
    Hope magic works,
    Regards,
    Purvesh.

  • Fill the 'Objects and Attachments ' in Decision step with milestone detils

    My requirement is to fill the 'Objects and Attachments ' in Decision step with a display milestone details as seen in cj20n transactiobn.
    I am using business object MLST_NETW but display method does not show detsils of milestone .
    is there any other way i could  possibly show th emilestone detsils as seen in cj20n transction.

    Yes th ebinding is correctly done when I chcek in SBWP for that item it displays the link with the milestone no and when i cleck on the link it asks me the milstone no also but it does not display any detils of milestone or does not navigate to th emilestone page.
    I tried testing the display method of the stnadard business object MLST_NETW independly but i see even here the milestone detils page not appearing .Is there some other bO which has to be used or some way through which i colud navigate to the milestone detsils page transaction is CJ20n

  • Adding Process Objects in Objects and Attachments

    Hi,
    For the PO Release workflows, the agent getting the workitem in his SAP inbox and Can display the PO by clicking on the Objects and attachments. I want to add some more Objects in that. Is it possible and if yes please tell me how?

    Yes you can add more than one attachments to the Objects & Attachments sections.
    all you have to do is you have to pass to entries to the &_ATTACH_OBJECTS& I think already you are making one entry into this element , try to enter one more entry into this element by default it will show you the two attachments.

  • WorkItem Objects and attachments

    In workitem objects and attachments. I want insert one attachment in runtime.
    I am using SAP_WAPI_ATTACHMENTS_ADD but i am unable to attach. I want to attach smartform pdf output kindly suggest me.

    You can check below code. It might help you.
    DATA: LV_HEADER TYPE SWR_ATT_HEADER,
            ATTID TYPE SWR_ATT_ID.
      DATA RET_CODE TYPE SY-SUBRC.
      LV_HEADER-FILE_TYPE = 'B'.
      LV_HEADER-FILE_NAME = FILE_NAME. * dynamic
      LV_HEADER-FILE_EXTENSION = FILE_EXN. * dynamic
      LV_HEADER-LANGUAGE = 'E'.
    CALL FUNCTION 'SAP_WAPI_ATTACHMENT_ADD'
        EXPORTING
          WORKITEM_ID          = WORKITEM_ID
          ATT_HEADER           = LV_HEADER
         ATT_TXT              =
          ATT_BIN              = FILE_CONTENT
          DOCUMENT_OWNER       = SY-UNAME
         LANGUAGE             = 'EN'
        DO_COMMIT            = 'X'
      IMPORTING
        RETURN_CODE          = RET_CODE
        ATT_ID               = ATTID
    TABLES
       MESSAGE_LINES        = MESSAGE_LINES
       MESSAGE_STRUCT       = MESSAGE_STRUCT
    But the real problem is you need to store file data in variable ( here FILE_CONTENT ) before calling this FM.
    other wise attachment will be uploaded without data. As a result of that you can not open the attachment in workflow.
    Thanks
    Sanjay

  • WF: Objects and Attachments

    I have a requirement that I need to remove the Objects and attachments link from the workitem which come with the workitem description how can I achieve this.I need this because I have created my own screen for display, change ,approve and reject
    and I don't need a link in Objects and attachments for PR display.
    Thanks in Advance.......

    Go to SWDD and sleect that prticular activity which goes as a workitem
    click the Binding
    In second half of the binding, you will have bindings from step to workflow
    In that..you will be having an entry like below
    Example:
    &PURCHASEORDER&  <-- &WI_OBJECT_ID&
    Select the above entry and delete this line..
    save and activate your workflow.
    Thats it.

  • The method creates a new object and initializes it...

    Hello there,
    I just started learn the Java, and can't understand the method declaration in "Parameter Types" example at "[Passing Information to a Method or a Constructor|http://download.oracle.com/javase/tutorial/java/javaOO/arguments.html] " tutorial section.
    public Polygon polygonFrom(Point[] corners) {
    // method body goes here
    Can you explain me please the example above, what does "Polygon polygonFrom" means?
    And can it be " the method creates a new Polygon object and initializes it", isn't it Constructor's and the new operator job?
    Thanks a lot!

    869857 wrote:
    public Polygon polygonFrom(Point[] corners) {
    // method body goes here
    }Can you explain me please the example above, what does "Polygon polygonFrom" means?
    Polygon is the return type of the method polygonForm
    And can it be " the method creates a new Polygon object and initializes it", isn't it Constructor's and the new operator job?We can't say that it is a constructor and new operator job. Because, As the return type is Polygon, the method should return an object of Polygon or null. For that purpose only the method needs to create a new Polygon object and initialize with some values.

  • Newbie problem with new objects and tools.

    in chapter 4 of the after effects essential training series from Lynda.com in the section about controlling animation with the pick whip. when he applies the null object the red bar immediately populates (correct usage?) the timeline to the right. when i apply the null object it's hidden to the left, under all the layer info, and i need to drag it out into view.
    ive found that whenever i have a problem, e.g., im using a tool and nothing is happening, it always comes down to this same thing: the layer is not with everything else and i need to drag it out into view.
    not only am i new to mac, but im only marginally literate and a total newb to anything more advanced than iphoto, any advice would be appreciated.

    Rick Gerard wrote:
    I'm not understanding what you are asking.
    If you have a layer in the timeline, a null, and the parenting column is visible you simply click on the pickwhip next to the layer and drag it to the name of the null layer. The Parenting box now says that Layer 1 is connected to Null 1.
    Now, when you move the null, the layer will move.
    i understand what they do and how to set them up.
    my question is more specific, but also applies more generally to other tools and layers. when Ian creates his null layer in the video (as well as other layers ive seen him create) the red bar that represents his null layer immediately appears in the timeline with the begining of the red bar at the left end of the work area. it is fully visible. when i create one the file shows up in the list of layers on the panel to the left of the time line, but it is not visible in the comp window and the red bar is hidden to the left side of the visible timeline to where you have to click its right end and drag it out from behind the panel on the left.
    this has happened with other layers ive created using other tools and before i figured out what to look for it was very frustrating. now, whenever i can't find something, or a tool that im using isnt doing anyhting (besides creating more and more layers) ive learned to look and see if theyre just hidden. it seems like it's probably a setting. but clearly, something is different: he creates a null layer and it appears in the timeline, and mine appear slid to the left.

Maybe you are looking for

  • Go to and not play right! - please help

    Hi - thanks for looking I'm using a movie as an umbrella app that calls in various swf files when a user clicks a button - all works fine. In the individual swf files that get called up from the above app there are a sequence of scenes that are suppo

  • IPhone will no longer sync to iTunes

    I downloaded the latest itunes software last night in order to download the new iPhone software but since updating my iTunes my phone will no longer sync. It appears in the devices category but whenever I go to click on my phone, iTunes freezes and I

  • Pacman is horribly slow to sync with Community.

    I've really had this problem ever since I started using Arch and I figured I was just screwing something up so I'm here to find out what. So of course I always run rankmirrors after a new install and currently my mirrors are. Server = http://archlinu

  • How can I retrieve last month and last mont -1?

    Hi guys, I am finishing to build a complex SSIS package, the last task is pretty simple but I'd like you to suggest the better solution in terms of performance (table with millions rows). The task is to create two table, one with the last update (arc

  • If my iphone 3g screen has smashed and my phone is out of warranty. will apple be able to replace the phone for me or repair the screen?

    if my iphone 3g screen has smashed and my phone is out of warranty. will apple be able to replace the phone for me or repair the screen? i heard apple can upgrade my phone if a pay a specific amount? is this correct? also if my phone is out of warran