Can we link two business objects  in workflow?

Dear All,
Can we link two business objects  in workflow?My problem is that I have to take a standard BO for triggering my z workflow .But later  in one step  I am using BO which is Z as I am calling a standard Sap transaction in one of the method inside Zobject.
Please let me know how to go for it .
Kind Regards,
Anshu Kumar

Hi Anshu,
You can use the standard BO as the BO for your workflow and trigeger the workflow from its event. To pass values from the standard BO to the custom BO used in the activity step, you need to do proper binding between the std and custom BO in the activity step.
Do proper binding between event -> workflow -> task container.
For assistance on binding in workflows refer to the followng links:
http://****************/Tutorials/Workflow/Workflow.htm
https://www.sdn.sap.com/irj/scn/wiki?path=/display/abap/workflow%252bscenario
/people/sapna.modi/blog/2007/02/19/workflows-for-dummies--introductionpart-i
Hope this helps!
Regards,
Saumya

Similar Messages

  • Connect two Business Object (BUS2038 and BUS0010) in Workflow!

    Hi experts!
    I have a Workflow based in BUS2038 (Maintenance Notification), I can see attributes like Functional Location (code).
    My problem is, i can´t put Functional Location (Description) that is an attribute in BUS0010 (Functional Location) with an input Functional Location (code).
    BUS2038
    Input: Notification number
    Output: Functional Location (code) (attribute)
    BUS0010
    Input: Functional Location (code)
    Output: Functional Location (description) (attribute)
    I want put Functional Location (description) in a mail step.
    How I can achieve this?
    Thank in advance

    Thank you Rick Bakker, I implemented this BUS0010 in BUS2038 (and delegate) but when I was testing, the link between two business objects is <nothing>. Do you need any program for connect both Business Objects?
    Thank in advance!

  • Link Between Business Object and Transaction

    <b>How is Business Object linked to transactions?</b>
    For example, how is business object BUS2032 (Sales order) linked to transaction VA01 (Create sales order)?

    Hi Ben,
    I'm not sure that you link a business object and a transaction code explicitly. Normally in the business objects methods you have coded what transaction code should be called. Therefore if you use the methods of the business objects it then knows what transaction to call.
    Conversely on the workflow side you will find that down in the depths of the coding for VA01 (as an example) it calls workflow function modules and raises events. When doing so it provides the business object id and key to the business object (i.e. the sales order number). Indirectly I guess the change documents that are raised for most things in SAP like sales documents are uniquely identified and therefore can also be translated to the business object key (e.g. sales documents will have their own change document type).
    A brief example in my 4.6c system can be found in include LIEDPF4C in the form finsta_kontoauszug_buchen with a call to function SAP_WAPI_CREATE_EVENT. You see the the parameter "object_type" has a variable passed to it "objtype_finsta". If you drill back on objtype_finsta you see that is hardcoded to the value BUS4499.
    I guess you could say the developer of the business object knows what transaction codes the business object should use and the developer of the code in the transaction code knows what business objects he should be raising events for if necessary.
    Hope this helps.
    Regards,
    Michael

  • Two Business Objects to fill a Data Grid/table using Anchors?

    Hi,
    I have a SAP standard tile were a table (grid) is filled by an Business Object. I want to add an additional column and retrieve the value from another Business Object.
    My questions
    1) Can I use Anchors to automatically set the relationship between two Business Objects A & B, so that I can just Drag & Drop an additional field from Business Object B to the DataGrid of Business Object A in the design screen without writing additional code?
    2) Some BO's do come with a predefined relationship to other BO's, but in the case of I have to write a supply function do I have to use a specific "Data Source Type" such as "Business Object", "BusinessQuery" or "Business CollectioN"?
    3) I already tried to write a supply function, but I realized that the system does return for some BO's or BS's a object instance, if I call "gFactory.newBusinessQuery". Is there any logic/restriction behind?
    I know I can use RowLoaded2 and a unbound column, but I want to know if this approach is also possible?
    Thank you for any help,
    Regards,
    Andreas

    Hi Andreas,
    The answer to your question is YES. You can very well do it without any changes at the code level.
    The scenerio can be implemented using a concept called JointField Mapping in MAS.
    Scenerio 1 :
    If you want to display the extra field from another BO in a list tile on the click of a search button from the search tile , then
    Please do the following :
    1. Select the Busines Query that you have associated to the search tile and go to properties from the View Designer.
    2. In the properties, Click on the Joint Field Mapping and select the BO where the extra field id present and select the primary key, Segment Field associated, (extra field)BO Property that you want to display in the list tile.
    2. Add a new control (new Field) in the List tile - ie, From the Toolbox (Tileset COntrols).
    3.Go to properties of the newly added control. Associate the anchor as the same achor as the list tile was pointing to earlier. for eg : Y_BOCAPGEN.
    4. Then Go to BCOLFieldName property and give the property name as the newly added BO property name(New field).
    After everything is modelled, You will be able to see the extra field in your application!!!!
    NOTE : Ofcourse, After the Successful generation.
    Scenerio 2 :
    If you want to display an Extra Field in a Detail tile,
    1. Go to Relationship of the BO from the Detail tile and go to properties.
    2. In the properties, You can find the Joint Field Mapping porperty.
    3. This property is again modelled as explained in scenerio 1.
    Hope, It would have definetly helped and answered your query.
    Have a good day!!
    Best Regards,
    Vignesh Ravikumar.

  • Linking two ODS objects using a multiprovider

    Hello Gurus,
    I need to link two ODS objects and both are having 3 common characteristics and the relationship between the two objects are one to many.
    My questions would be....
    1)When the relationship is one to many can I set it up in the multiprovider to sum it up and show in the report?
    2)I have 5 other charaterstics that I need to report(Slice and dice) on, but these are not common ones to both ODS objects. Is it possible for the user to get the report based on these charaterstics also? Or do I need to make sure that these 5 also exist in both DOS objects?
    Thank you,
    DM

    Hi Sh,
    Thank you very much for your reply. But I have few concerns.
    1)One to many relationship will not have any effect on the data linking since the multiprovider clubs the key figures on common characteristics. I tried this on the system and it worked.
    2)The problem would be not having similar characteristics on both infoproviders. So if I want to report on the chars individually it will have a problem( Will come as non assigned values)
    But the documentation says the multiprovider supports Homogenous and Heterogeneous cases. Please refer the following link.
    http://help.sap.com/saphelp_nw04/helpdata/en/52/1ddc37a3f57a07e10000009b38f889/frameset.htm
    I am not sure what I can do now....whether to get all the characteristics in both infoproviders by enhancing the them. Or is there another way?
    And lastly the scenario I am looking at is billing and cost of goods. So I might find records in cost of goods which may not have corresponding records in billing.(There can be goods in stock which need to be billed)The problem would be the way multiprovider link records(union) so it will have all the records from both sides even if they do not correspond to each other.
    Let me know what you think.
    Cheers,
    DM

  • Linking External Business objects of ECC to Case in Webclient

    Hi guys,
    i have a requirement where i need to link external business object like BUS2080(Service Order),BUS2088(Service Notification) in record of UI component CRMCMP_CMG(CRMCMP_CMG/RecordTree ).
    I have done the below  configuarions:
    1) where i have created registry entry for the external object types.Defined the element types for the external objects.
    2) then i have done " Assign Element Types and Business Object Types to a Process'.
    3)Also implemented the BADI  CRM_CMG_ADD_OBJECT to link the external  business objects.
    Now i want to see these external business objects in the wbclient component  view CRMCMP_CMG/RecordTree.
    But couldn't get the objects there  only i can find the standard record model with CRM Business objects only.
    If any one  has worked in case management in webclient to link the objects please share your inputs .Also if anybody have any idea please share.
    Regards
    Snehasish

    Hi, did you find a solution already to your problem? We are facing the same problem.
    In the backend transaction (CRM in Sapgui) it's working fine, but in the CRM_UI transaction the reference object cannot be selected from the dropdown menu...
    Please let me know if you have a solution.
    Best regards,
    Marcel

  • Can I link two ipads to one macbook pro?

    Can I link two ipads to one macbook pro?

    Hello there, Chet.
    The following Knowledge Base article offers up a great explanation of how to use multiple iOS devices with one computer:
    How to use multiple iPhone, iPad, or iPod devices with one computer
    http://support.apple.com/kb/ht1495
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro.

  • Object Types--Link to business object in SBWP

    Hi All,
    In SBWP, there is an option under path Document>Create Attachment>Link to business object, in this list there is no Purchase Order,Purchase Requisition, Maintenance work order.
    Need to know how to add these business objects to this list.
    Thank You,
    Manoj

    Hi
    check the following settings
    SPRO--> cross Appl  component>Document management>Control data>Define document types-->select doc type >define  object link--->enter PORDER     Production Order
    Regards
    Sujit

  • Can we delegate a business object to more than one Subtypes?

    Can we delegate a business object to more than one Subtypes?
    So unless we delegate that Sub type , will the new method of that sub type  be not called from our WF?
    Edited by: kittu reddy on Nov 25, 2008 7:50 AM

    No this is not possible. I will like to know what is the business case you will require this.
    Thanks
    Arghadip

  • In ER DIagram using toad( how can i link two tables)

    Hi,
    Any Toad expert can guide me that how can i link two tables in Toad in ER Diagram to show the relationship between two tables.
    Thanks

    Hi,
    I hope there is foreign key relationship in tables, if so then you can click on "Find table dependencies" icon which will draw lines between them.
    ~Vinod

  • I can't see release business object in bapi explorer.

    Hi,
    i can't see my business object in bapi explorer which is already released.
    Regards,
    Gurprit

    Hello Gurprit
    I am not sure whether customer BAPIs are displayed in the BAPI explorer at all. However, you could try to push the <i><b>button with the filter icon</b></i> and choose option "<b>All </b>(BAPIs)".
    Regards
      Uwe

  • Can i Create A business object of my own without inheriting

    hi gurus,
                  Can i Create A business object of my own without inheriting from any other business object. i Know how to create sub type.

    yes, u can choose 'create' button in SWO1 and not fill field Supertype.
    or copy your new BO from already exist.

  • Can you link two iPhones, one on pay monthly the other on pay as you go, to the same iTunes account? As once sync'd the pay as you go looses its service provider??

    Can you link two iphones to iTunes account, one is pay as you go the other is pay monthly on different service providers, the pay as you go when sync'd can't find it's service provider ??

    The iTunes account has nothing to do with the cellular service provider. So you should be able to have both phones on the same account. What problem do you have with it?

  • How can I link two accounts on Behance: Adobe ID and earlier?

    I have some troubles with my old behance account created before Adobe ID subscription -- can't sign up. How can I link two accounts?

    You should probably ask in Behance
    The Cloud forum is not about using individual programs
    The Cloud forum is about the Cloud as a delivery & install process
    If you will start at the Forums Index https://forums.adobe.com/welcome
    You will be able to select a forum for the specific Adobe product(s) you use
    Click the "down arrow" symbol on the right (where it says All communities) to open the drop down list and scroll

  • Attaching link to business object using SO_NEW_DOCUMENT_ATT_SEND_API1

    Hi ABAP experts,
    I am trying to send a SAP mail with a link.  When the user clicks on the link
    they will jump to a transaction passing the parameters specified in the link.
    I have created the business object and want to know how to pass the
    parameters in the link.
    I have done it in the past so I know it can be done.  I just can't seem to remember how....
    When I click on the link it goes the transaction but I can't pass the parameters and execute the program....
    Thanks for your help in advance.
    Please see below code.
    ldf_facility = 'DH'.
    doc_chng-obj_name = 'mail_att'.
    doc_chng-obj_descr = text-024. "Validate Status
    *w_objtxt = text-999.
    w_objtxt = '<A HREF="sap-object://YJPV_REPT ">Document Status</a>'.
    *replace '&&' with ldf_facility into w_objtxt.
    *append w_objtxt to t_objtxt.
    *replace 'FF' with ldf_filename into w_objtxt.
    append w_objtxt to t_objtxt.
    w_objtxt = text-025. "Click the link above.
    append w_objtxt to t_objtxt.
    *Read last line.
    describe table t_objtxt lines tab_lines.
    read table t_objtxt into w_objtxt index tab_lines.
    *Get object document size.
    doc_chng-doc_size = ( tab_lines - 1 ) * 255 + strlen( w_objtxt ).
    *Document entry
    clear w_objpack-transf_bin.
    *header start
    w_objpack-head_start = 1.
    w_objpack-head_num = 0.
    *number of lines.
    w_objpack-body_start = 1.
    w_objpack-body_num = tab_lines.
    w_objpack-doc_type = 'RAW'.
    append w_objpack to t_objpack.
    w_objbin = 'YJPV_REPT'.
    append w_objbin to t_objbin.
    describe table t_objbin lines tab_lines.
    *Attached document text
    w_objhead = text-033. "IDoc List
    append w_objhead to t_objhead.
    w_reclist-receiver = sy-uname.
    w_reclist-rec_type = 'B'.   "'B' = R/3 user  'U' = internet mail
    w_reclist-express  = 'X'.
    append w_reclist to t_reclist.
    *Send document
    call function 'SO_NEW_DOCUMENT_ATT_SEND_API1'
      exporting
        document_data                    = doc_chng
        put_in_outbox                    = 'X'
    IMPORTING
      SENT_TO_ALL                      =
      NEW_OBJECT_ID                    =
      tables
        packing_list                     = t_objpack
       object_header                     = t_objhead
       contents_bin                      = t_objbin
       contents_txt                      = t_objtxt
      CONTENTS_HEX                     =
      OBJECT_PARA                      =
      OBJECT_PARB                      =
        receivers                        = t_reclist
    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.

    Hello,
    You can have the fixed width of the colums in excel (No additional spaces in the column) is you use, the seperator between the fields.
    For eg : If you are displaying 3 fields in the excel file, say MATNR, WERKS and QUANTITY.
    Then you need to
    Concatenate  matnr
                          werks
                          quantity
    into                ls_contents_bin-line
    separated by lc_tab.
    append ls_contents_bin to lt_contents_bin.
    Here lc_tab is the tab seperator to be declared as follows : -
    CONSTANTS : lc_tab         TYPE char01     VALUE  cl_abap_char_utilities=>horizontal_tab.
    The internal table lt_contents_bin is then passed to the table parameters contents_bin of the FM SO_NEW_DOCUMENT_ATT_SEND_API1.
    Thanks.
    Regards,
    Rinkesh Doshi

Maybe you are looking for

  • How do you get SFW5 to create a transport when activating components?

    How do you create a transport in order to transport the activation of a component to the next system in the landscape? In my sandbox system whenever I activate a component no transport is created. I have manually created a transport using system sett

  • BIC integration tool

    Going to support EDI interface which uses Seeburger AS2 adapter either at sender or receiver side.I have few doubts on BIC module: 1.Do i need to install BIC tool on my laptop or it is a web based tool which i can access from seeburger workbench? 2.F

  • Acrobat Distiller 9.0 closes after I load it : (

    Every time I manually open up Distiller 9.0 after it loads and goes to the Distiller screen, it automatically closes! It was working fine and I don't really use Distiller often so I am not sure when it started but does anyone know what I can do other

  • PO no in Order

    Hi SAP Experts, Is the PO no field in The Sales order Header seen in Invoice Header ? I have checked it appears at item level but want to know does it exists at Header level too? Appreciating your quick reply. Thanks and Regards, Umesh Karane.

  • Hyperlink issue in RH9

    When I create a hyper link in Robohelp 9.0.2.271 containing ".../#..", once saved, Robohelp automatically removes the "/" before the "#" making the URL non-functional. Example: A URL entered as: Becomes as shown below when saved (i.e., the "/" is rem