Attaching BOR object to Z  transaction

Hi All,
Can we attach a BOR object to a Z transaction. For example, if we have created a complete transaction in module pool, cn we send data to a BOR object from that module pool programming...or in simple words attachin a BOR object to a Z transaction???
Regards,
Sangvir Singh

Hi,
1) While you creating the BO attribute, it will ask for the option To refer Table (Virtual or Database Field).
2) In that select give your Table Name (Database Field) which you Custom Application referring.
3) You have to Assign the Key Field refer to that Table and attribute also you can assign like that.
4) Then once you execute the BO, it will ask for the Object Key, once you give it will bring those data and display.
5) And if you declare as Virtual attribute you can get the value at runtime and assign it to that attribute (it depends on your Requirement)
Regards,
Surjith

Similar Messages

  • How to create an inbox item with attached BOR object?

    Dear Colleagues,
    Does anyone of you know a simple way to create inbox items for a user?
    I would like to use the inbox for notifying users and attach a BOR object to the message as attachment. Is there a good and plain way to do that?
    It would also be good, to be able to do the determination of the receiver by a customizable responsibility or something similar, so that it is not hard-linked to SAP user accounts.
    Does anyone of you know a solution for this, that is not too complicated?
    Also I read that in the future notifications should be usable in the UWL (Universal Work List).
    I did not find anything but marketing material on UWL and I would not be terribly happy to set up a portal just for sending simple notifications/work items to people. Does anyone have a clue on how to accomplish this?
    That would be wonderful, thank you.
    Regards
    Christian

    Dear Scott,
    Thank you for this hint, the function looks promising.
    Is there a way to specify a receiver group and a text for the text part of the message?
    There is a Parameter called RECTYPE, which is expected to contain a "task id". The text seems to be derived in some way from the object type. Do you know any documentation or sample where this is used?
    How do I specify the recipient and the message subject and text?
    Concerning a single-step workflow: I don't know what the advantages/disadvantages are. The system receives a message or discovers a problem and wants to inform the related user.
    A simple workflow should be possible, but I have no idea what that means in terms of complexity for implementation and customizing.
    Sorry for so many questions and thank you.
    Christian

  • Enhancing BOR objects in EHVD transaction

    We are using IS-U 4.72. The IS-U data environment can be displayed in HTML format from interaction center screen. The configuration settings for viewing different objects and attributes are done through transaction code EHVD.
    We are having some requirements which are not available in EHVD structure.
    Please let me know how to enhance the EHVD structure and it's attributes.

    This can be achieved through implementing BAdI:
    ISU_CIC_ENV and ISU_CIC_EWHV
    Thanks and regards,
    Kaushik Das

  • Send Archived BOR Object as an Email Attachment

    Hi,
    I am sending an email with Attachments. There are some archived documents which are scanned and stored as pdf files.
    I need to send these  documents attached together with the email as attachment.
    *I have retrieved the BOR keys of the files to be sent. However, I am unable to physically attach these to the email. *
    I have written the following code.
    * Get attached BOR objects
      call method gr_case->bor_objects_get
        receiving
          re_bor_objects = lt_attachmnt
        exceptions
          failed         = 1
          others         = 2.
    * Build list of attachments
      loop at lt_attachmnt into ls_attachmnt.
        lv_object-describe = c_object_desc.
        lv_object-objtype  = ls_attachmnt-bor_type.
        lv_object-objkey   = ls_attachmnt-bor_key.
    *   Write Packing List (Attachments)
        ls_objpack-head_start = 1.
        ls_objpack-head_num   = 1.
        ls_objpack-body_start = 0.
        ls_objpack-body_num   = 0.
        ls_objpack-doc_type   = 'OBJ'.
        ls_objpack-obj_name   = ls_attachmnt-bor_type.
        ls_objpack-obj_descr  = ls_attachmnt-bor_key.
        append ls_objpack to lt_objpack.
      endloop.
    * send mail
      call function 'SO_NEW_DOCUMENT_ATT_SEND_API1'
        exporting
          document_data              = ls_doc_change
          put_in_outbox              = 'X'
          commit_work                = 'X'
        tables
          packing_list               = lt_objpack   " 1. row for document, following rows for each attachment
          object_header              = lt_objheader " e.g. for the filename
          contents_txt               = gt_text_tab  " content of ASCII data
          receivers                  = lt_receiver  " recipient
        exceptions
          too_many_receivers         = 1
          document_not_sent          = 2
          document_type_not_exist    = 3
          operation_no_authorization = 4
          parameter_error            = 5
          x_error                    = 6
          enqueue_error              = 7
          others                     = 8.
    This code sends some text files as attachments with the description of the BOR objects.
    Can someone please help?
    Best regards,
    Abhinava

    Is there a technical name? Something like BUS1234.
    Any way, from the code snippet you show above, I think there might be some confusion. The way I understand it is that you attach BOR objects to Cases (whatever case means). This is where the method BOR_OBJECTS_GET comes. If you want to attach PDF files, then, you will need a means to extract these files as binary internal tables. Your code below does not seem to do that. So, the BOR object attached to the case is different than the actual attached PDF file.
    If your BOR object provides a method to display a PDF file, then, you might want to look into that method's code and see how the PDF is extracted.

  • How to attach a smartform in BOR object

    Hi,
    I want to know how to attach a z smartform to BOR object? I tried to search out here but not able to have the result.
    Kindly provide the guidelines for it....
    Regards,
    Rickky

    Hi,
    In the BOR object, create a method say display_SF. Now in the ABAP properties for that method give "OTHER" option.
    Now in the BOR object, you can find the program which is used. Inside that program, You need to write the code to fetch the required data (ONLY BASIC REQUIRED DATA WILL BE ENOUGH) and call the smartform by passing all the print parameters and all the required data for that smartform.
    Now inside the smartform, with imported required data, you can write all the logic and data fetch etc for the printouts.
    The following sysntax can be used to fetch the required data into the method and can use to pass the same while calling the smartform.
    SWC_GET_ELEMENT CONTAINER 'Plant' PLANT.
    Regards,
    Harish

  • Could not see link to BOR object in attachment section of a dialog WI

    Hi,
        I have built a custom approval and a dialog WI (decision step) is sent to the approver for approval.
    In the preview, earlier I user to see a link to the BOR object in the 'Objects and attachments' section and when I hit that link the BOR's  default method (which is display in my case) is executed.
    For some reason, I could not see the link now. I think it was showing some months ago (not sure)
    Need your help in sorting this issue.
    Thanks,
    Amit Jain

    Hi,
    Please check the binding between the workflow and decision step. Make sure that there is an element in the task container of the BO type and the binding is perfectly present.
    Hope this will help.
    Thanks,
    Samson

  • BOR Objects and ABAP

    Guys,
    Not even sure if this is possible...
    How do I find BOR calls in an ABAP program.
    Example: BUS2088 or BUS2008 in program SAPLCOIH - for PM/CS orders).
    PeteA

    Hi Peter,
    Specify your business object and the method of the BOR object in the BASIC data tab in PFTC transaction.
    If you want to trigger the Workflow through and event then you will have to first link your event of the Business Object to the WorkFlow Task in Workflow Builder (TCODE PFTC) and then you can do the following :
    Please refer the code below to for your information.
    Data for workflow trigger
    DATA: objtype LIKE swetypecou-objtype,
    objkey LIKE sweinstcou-objkey,
    event LIKE swetypecou-event,
    event_container LIKE swcont OCCURS 0 WITH HEADER LINE.
    objtype = 'ZBUS1001'. "Material [sub object of BUS1001]
    MOVE v_wfmatnr TO objkey. "V_WFMATNR is material number
    event = 'CreatePLMMaterial'."Custom Event defined in
    ZBUS1001 [Tcode SWO1]
    REFRESH event_container.
    *Following are the Event parameters required in the *Workflow
    swc_set_element event_container 'Attachment' v_wfattachment.
    swc_set_element event_container 'Material' v_wfmatnr.
    swc_set_element event_container 'TisGroup' v_wftisgroup.
    swc_set_element event_container 'SchDate' v_schdate.
    CALL FUNCTION 'SWE_EVENT_CREATE'
    EXPORTING
    objtype = objtype
    objkey = objkey
    event = event
    TABLES
    event_container = event_container
    EXCEPTIONS
    objtype_not_found = 1
    OTHERS = 2.
    IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    COMMIT WORK.
    Please reward some points if it helps you.
    Regards,
    Amit M. Mishra

  • Webflow - Assign BOR Object to HR Org Structure

    This is posted to the BPM forum per suggestion in the ABAP Programming forum.
    I’m looking to attach a custom BOR object to our HR Org Structure; however, I can’t locate the correct transaction to perform this. As well as the transaction I need a little more detail on where in the transaction the configuration takes place. I’ve scoured all the menu options but can’t seem to locate it.
    This concept was taught at the BIT601 class in Belmont, CA last month by instructor Micah Wade. It was demo'd but not included as part of the handouts. The concept is extremely interesting for us and we would like to prototype it's functionality for some future development.

    Hi Bryan,
    Well, first off, my first reference for WF is always 'Practical Workflow for SAP', published by SAP Press, also known as 'the bible'.  However, I don't have a copy at home.
    Secondly, at the risk of touting a different forum's horn, you can always subscribe to SAP-WUG, a WF list moderated by yours truly. Almost 800 WFers worldwide.  If you go to http://mailman.mit.edu/mailman/listinfo/sap-wug you ought to be able to search archives, and also subscribe from there.
    Third, take a scenario where you have people responsible for approving something, say requisitions, on cost centers.  The approval is not hierarchical, or based on positions or jobs.  By attaching the Cost Object in table T7791, you are allowed to assign a specific cost center to the person, position, or job responsible for the approval of the requisition.  You can attach the same cost center value to multiple people too.  Then you write your role (or rule) resolution to look like (or call function like)RH_SAP_ORG_OBJECT_ACTORS_LIST, passing in the business object for Cost Center, and the specific Cost Center value.  That would return all the people associated with that specific Cost Center.
    Hope this helps,
    Sue

  • How to attach GOS in a standard transaction ?

    hi folks,
    could anyone tell me how to attach Generic Object Services (GOS) to a standard transaction eg me23n.
    this GOS toolbar is present in certain transactions like pb40 ..i want to implement the same in me23n ...how can i do that?

    welcome to SDN!!!
      cht this webblog
      /people/rammanohar.tiwari/blog/2005/10/10/generic-object-services-gos--in-background
      reward points if helpful

  • Generic BOR Object - TSTC

    Hi all,
    Can anyone let me know how the generic BOR object 'TSTC' can be used to call transactions from CRM4.0(SIE) to backend R/3 systems in a transaction launcher. Basically, i will be interested in knowing
    - how one can pass the transaction code
    - any customizing settings required for this
    Regards
    Hem

    Hemchandra,
    You can launch R/3 Transactions into IC WebClient using Transaction Launcher wizrd.
    Important points to be followed
    1. ITS should be configured properly
    2. Use the Tx Launcher Wizard and select transaction  type as BOR and choose TSTS_PAR in the next screen
    and select the process type parameter from list box and enter the R/3 Tx Code as value parameter.
    3. You can see the transaction code,process type parameters in the method PREPARE_DATA_FLOW of Action Handler class
    ex:
      bdc ?=
        gv_view_controller->get_custom_controller( 'CuCoBDC' ). "#EC NOTEXT
    <b>        TRANSACTIONCODE =
      'VA01'. "#EC NOTEXT</b>
      me->set_data( iv_name = gc_TRANSACTIONCODE
                    iv_value = TRANSACTIONCODE ).
          SALESDOCUMENTTYPE =
      'OR'. "#EC NOTEXT
    Hope this helps.
    Thirumal.

  • Change documnet name for BOR object DEVICE.

    Hi expert,
                        Could You please tell me Change document object name of BOR object DEVICE for creating new entries in SWEC transaction.

    It does not look like there is one. How to find out?
    1- Find the actual table of the BOR object
    2- Go to transaction SWED to find out if this table is linked to a change document object

  • Version management in BOR object

    Hi Gurus,
    I have a custom BOR object and i am checking it from SWO1 transaction.But i am not able to do version management for the Z BOR object.Kindly provide the way to do the same.
    Thanks and Regards
    Sudipto Sinha

    Go to se 38, put this object there , in the same screen click on utilities -> version -> generate version.

  • BOR object for Displaying the Spool

    I am trying to create work item that will display spool output.I have thought of using FM "SWW_WI_START_SIMPLE"  to create a work item and will take to the display of the spool file .Can any body suggest the BOR object which I can use for displaying the spool output??
    (Background of the issue-I am executing a report in background and taking out put of that on spool. After executing this I want to send that spool number in the work item to the user and from that work item a link should be generated that will take the user to the spool display.)

    Hi raz
    i think it will help you
    Firstly go to Transaction of event trace SWE4 on the event trace
    Secondly go to your transaction create one invoce
    then  go to SWEL it will display the BOR Triggered during the Invoice creation
    In case of any issue please revert back
    Donot forgot to reward points
    Regards
    hitesh

  • Attach a word file into transaction me52n

    Hi all,
    i have a report that should  attach a word file into transaction me52n.
    is anyone know how can i do that?
    thanks in advanced,
    dana.

    You can attach documents to purchase orders using the object services button that appears by itself on the title line of the screen above the normal button bar.
    To do this in a program - there are a number of class methods - look at classes beginning with CL_GOS*
    Andrew

  • Helpdesk - BOR Object for Notification Create BAPI

    Dear All,
    Kindly help in finding the BOR object for the notification creates BAPI 'BAPI_NOTIFICATION_CREATE'. This BAPI is used in the BSP application 'DSWPNOTIFCREATE'.
    But when tried to search from the where used list of this BAPI, which is used as function module, in SE37, no output is displayed. The message is displayed saying this object is not used anywhere.
    When tried to search this BAPI in the BAPI transaction of solution manager, I was unable to locate it.
    So how to find the BOR object for any BAPI. Is there is any BOR object present for the above BAPI in solution manager.
    Thanks & Regards

    Hi Sapna,
    For Creating the Notification, SAP provides 'BAPI_ALM_NOTIF_CREATE'. You can search the object name for the above BAPI in BAPI tode under PM node.
    And you can search in SWODTV table putting the BAPI name in ABAPPROG field.
    You have to call BAPI_ALM_NOTIF_SAVE for saving the Notification and commit.
    Manoj.

Maybe you are looking for

  • How can I know if the version of Flash Player installed is the right version for Internet Explorer?

    Hello, I have Windows 7 Starter with Internet Explorer 8 and Adobe Flash Player 10,1,85,3. I am experiencing problems with one particular web site which uses Flash technology to operate its web site., which is: gadget-detective.moonfruit.com. It has

  • Browse animation effects causing Bridge to freeze

    Every time I select browse effects from the animation menu, Adobe Bridge launches (as expected). When I navigate to the "Text/Blurs" folder and open it, Bridge freezes. I know I can add an effect to my text without resorting to Bridge, but I'm follow

  • How to send a do not reply response from Ironport

    Our business Ironport appliances are set up with several domains.   We have a requirement to send a receipt message responding to certain customers who email an address on only one of the configured domains.    The receipt message needs to come from

  • Desktop Resolution with SLI (GTX 560 Ti)

    Yesterday I installed my second MSI GTX 560 Ti and enabled SLI. Now, I have three monitors that are 1080p (native to 1920x1080) in which I wanted to enable surround. It lets me enable the feature but it seems to default to 5040x1050 instead of 5760x1

  • Where clause in Joins

    I have a selection screen like: Table       Field EKKO     EKORG EKKO     EKGRP EKKO     LIFNR ESSR     EBELN ESSR     EBELP ESSR     LBLNE ESSR     FRGZU ESSR     ERDAT ESSR     LOEKZ Due to further complexities in the program i am joining 3 tables