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.

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

  • 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

  • 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

  • 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.

  • 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

  • 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

  • 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

  • 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

  • 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

  • Create object and link to database in acrobat

    i am using visual studio and creating a C# application in .net. i am looking to allow users to open a pdf document and then use a custome symbols library to trace out objects on the pdf. the object i would like to attach to a database to extract the data from. is this possible

    Sorry, I don't understand what you want to do. Especially "trace out objects on the pdf" - what sort of objects and what do you mean by "trace out"?
    Also note that Acrobat is absolutely not for use on a server.

  • Create Object and Subject for Application Log

    Hello Experts,
    Could anyone tell me how to create the Z Object and subobject for the Application Log.
    ie) <b>BALOBJ_D & BALSUBOBJ</b>
    Could you please tell me the Tcode for that.
    Since I have to save the application in the new object so that it can be displayed using this Key.
    Thanks & Regards,
    Vasanth

    Hello Vasanth
    The transaction is SLG0 (Object Maintenance).
    Regards
       Uwe

  • Creating objects and efficiency

    I am implementing bounding circles for my game and I have a question. I have heard that creating a new object takes up a lot of time (i.e doing it every update). Should I give each of my objects a BoundingSphere instance variable (I created my own simple BoundingSphere class), update it's position every update along with the sprite, or should I remove the instance variable and just return a new BoundingSphere when it is requested?
    Just to clarify:
    Implementation 1:
    private BoundingSphere s;
    public BoundingSphere getBoundingSphere() {
       return s;
    //update s each time sprite is updatedImplementation 2:
    //no private instance variable
    public BoundingSphere getBoundingSphere() {
       return new BoundingSphere(radius, x, y);

    If you know a maximum bound on how many of the created objects you'll need at any given time, you can prevent lots of object creation by implementing an object pool. The pool keeps a list of pre-constructed objects, and to use it, a method may request an object, use a method to initialize its values (not a constructor), then release it back to the pool when it is done using it. This is usually done with Threads to limit the number of them running, but it can be done with any object.
    I hope this helps
    -JBoeing

Maybe you are looking for

  • Error while running EJB Client

    Hi All, I have just written a program in EJB for currency conversion. But while running the client , i am getting the following error: C:\Java Source Code\EJB>java CalculatorClient java.lang.NoSuchMethodError: loadClass0 at com.sun.corba.ee.internal.

  • F-28 Error Message 'Account

    Hi All I am trying to post the incoming payment(transaction code F-28) by using custom program . if i am trying to post the one document there is no problem but i am trying to post the multiple document at that time one document is posting successful

  • How to create a service product with a condition record?

    Hi all I'm quite new to CRM programming and I now need to create a service product with a condition record. For creating the product I use function COM_PROD_SERVICE_MAINTAIN_API and it creates a product propperly. The function offers parameter IT_CON

  • Pls give me step by step sequence of Automatic Payment Prog

    Hi, Pls give me step by step sequence of Automatic Payment Program. Thanks in Advance

  • Tree Applet

    hi there i would like to desgin a tree applet that goes into my web page. When someone clicks on one of the children (a file) i would like that file to open in another frame in my web page. Could anyone help me? I am not the greatest programmer in th