Use two different Bapis into one interactive form

Hello. I'm creating a form in which I need the result from two different bapis, but the interactive form element in the layout of the view allows me only one data source node.
The form i want to create is one in which appears some data from one employee (so I use BAPI_EMPLOYEE_GETDATA). The problem is that I also want to show the qualifications shown as result of the BAPI_QUALIFIC_GETLIST bapi. Those qualifications should correspond to the employee.
I have one solution in my mind. That one is: I could create a node containing the structure with all the elements I need from the two bapis. Then I could copy there the results from the context nodes that are mapped to the bapis.
I believe this is a common situation. Not only to my specific example but to many other forms.So, I think there should be a way to do it without programming it myself. Or perhaps a better solution than mine. My worry comes to my mind because all the facilities Web Dynpro and LifeCycle offer to create interactive forms and common web applications.
Thanks to anyone with some answers.}
Of course, I'll reward for them!

Hello Alejandro Monteverde,
There is one and only one data sink for an interactive form and that is the data source node for you. There is no possibility that we can define a second or third datasource node for our application. Having the above statement in mind, the only way we can fulfill our requirement is to have a common parent node as the datasource node which in turn may have any number of nodes (in your case you would probabaly think of segregating the results from two BAPIs to map to two different nodes). A third node can be added tomorrow if you need so.
The solution that you have mentioned will also work equally good. In your approach you will have all the related information will be contained within one node. Fair enough.
Its a matter of how do you want to best represent your data structure.
Thanking you,
Krishanu

Similar Messages

  • How can I use two differant iphones on one itunes

    I can i use two differant iphones on one itunes, and keep the content seperate?

    You can sync as many iphones/ipod/ipads as you like to one computer.
    Each is different and is recognized as such

  • Combining two different programs on one plate form

    I have two different programs(calaender and addressbook)in two different classes (Each one has a "main").How do i bring them together on a single plateform so that clicking one button will run one of them and clicking other will run the other.
    Could some body please help me?
    Thanks.

    Hi,
    There is a loadClass method in Class. You can use this with reflection.
    You can also write a customised ClassLoader

  • Can I sync phone book entries of two different phones into one address book

    My wife and I have two motoroal phones (different models) and one iMac at home. I have synced my phonebook entries in the address book and it works fine. Trouble started when I tried to sync my wife's phone. All my numbers and details got downloaded in her phone. creating a seperate sub directory for her didn't help.
    Can someone help me solve the problem? Essentially the question is can two phones have exclusive (and independent of each other) access to the address book for syncing purposes? If yes how?
    I hope my question was clear enough. Help will be really appreciated.
    I use the motorola USB connection chord for the syncing.

    Just set up two Groups in Address Book. One with your contacts in, and one with your wifes.
    Then in iSync, click the icon for your wife's phone and choose the Address Book group you made for her, then do the same for your phone.

  • How to fill the data of two different tables into one?

    Hi Experts,
    I have two tables named CDHDR and CDSHW(structure). I have extracted the  data from these two tables through two function modules named CHANGEDDOCUMENT_HEADER and CHANGEDOCUMENT_POSITION. Now I have the data in to different tables.
    These two tables neither has relationship with each other through any field nor have any field which exist in both. Can anyone tell me in this case what should be the process to take the data of both the tables into one table. How can I match the record of one table to another?
    thanks a ton in advance.
    Edited by: Moni Bindal on Apr 28, 2008 4:16 PM
    Edited by: Alvaro Tejada Galindo on Apr 28, 2008 1:42 PM

    Hye Bindal,
      without a relation, it is not possible to club the data of 2 internal tables. More over it depends on the requirement as to y u should club to non related quantities in an internal table.
    if you wish to do so, one thing is it has internal table which includes the strucute of the 2.
    data: begin of ty_out,
              first type first_structure,
              second type second_structure,
             end of ty_out.
    data: itab type standard table of ty_out.
    data: wa type ty_out.
    loop into it1 into wa1.
    move corresponding wa to wa1.
    append wa to itab.
    endloop.
    loop into it2 into wa2.
    move corresponding wa to wa2.
    append wa to itab.
    endloop.
    now the internal table itab will have all the contents of it1 and it2.
    <REMOVED BY MODERATOR>
    Thanks,
    Imran.
    Edited by: Alvaro Tejada Galindo on Apr 28, 2008 1:43 PM

  • How do I combine two different libraries into one?

    I have three devices, one iphone and two ipods. How can I combine all three libraries into one single library. Is this possible?

    Choose the library connected to the iPhone, import the media content from the other one/two libraries. DeDupe.
    I've written a script called DeDuper which can help with the last bit. See this  thread for background.
    tt2

  • Getting two session varibles into one hidden form field

    In a hypothetical exaple, if my first session variable is kt_user_name and it's value is bestperson, and my second variable session is kt_exerreference and it's value is ex1a, I'd like have the value submitted in the hidden form field to be bestpersonex1a (without any spaces if possible). This is the code that I have for the hidden form field that submits the server variables:
    <br />
    <br />
    <form>
    <input type="hidden" name="exerreference" id="exerreference" value="<?php echo $_SESSION['kt_user_name'].$_SESSION['kt_login_user']; ?>" />
    <br />
    <br />But the form also has a php section above the head that seems to add the values to the databse. Here is the beginning of the code with the the first 4 values:
    <br />
    <br />// Add columns
    <br />$ins_exer1-&gt;setTable("exer1");
    <br />$ins_exer1-&gt;addColumn("user_name", "STRING_TYPE", "SESSION", "kt_user_name"."kt_login_user");
    <br />$ins_exer1-&gt;addColumn("exerreference", "STRING_TYPE", "SESSION", "kt_user_name");
    <br />$ins_exer1-&gt;addColumn("Shapes_present_with_target", "STRING_TYPE", "POST", "Shapes_present_with_target");
    <br />
    <br />My question is how do I also configure the code in the 2nd string of this "Add Columns" code to insert both server variables? When I put one server variable as the value in this code (0n line 2), it only inserted the one session varialbe value (not 2 as are in the form field). As you can see, I currently have "kt_user_name"."kt_login_user" which is givig me server errors.
    <br />
    <br />Here's another idea that didn't work yet:
    <br />
    <br />// Add columns
    <br />$user = $_SESSION['kt_user_name'].$_SESSION['kt_login_user'];
    <br />$ins_exer1-&gt;setTable("exer1");
    <br />$ins_exer1-&gt;addColumn("user_name", "STRING_TYPE", "SESSION", "$user");
    <br />$ins_exer1-&gt;addColumn("exerreference", "STRING_TYPE", "SESSION", "kt_user_name");
    <br />$ins_exer1-&gt;addColumn("Shapes_present_with_target", "STRING_TYPE", "POST", "Shapes_present_with_target");
    <br />
    <br />Any ideas on the correct syntax?
    <br />
    <br />Thanks for any help.</form>

    Günter,
    <br />
    <br />I think I did as you suggested. I put this as the form field:
    <br />
    <br />
    <form>
    <input type="hidden" name="exerreference" id="exerreference" value="<?php echo $_SESSION['kt_user_name']; ?><?php echo $_SESSION['kt_login_user']; ?> <br />" />
    <br />
    <br />and changed back the Add columns section to this:
    <br />
    <br />// Add columns
    <br />$ins_exer1-&gt;setTable("exer1");
    <br />$ins_exer1-&gt;addColumn("user_name", "STRING_TYPE", "SESSION", "kt_user_name");
    <br />$ins_exer1-&gt;addColumn("exerreference", "STRING_TYPE", "SESSION", "kt_user_name");
    <br />
    <br />The form does submit now, but only the kt_user_name server varible is showing up in the exerreference field of the databaswe, not also the kt_login_user server variable.
    <br />
    <br />Any ideas on what to do to get it working right? Do I need to modify the exerreference string in the Add columns section?
    <br />
    <br />Thanks - Dale</form>

  • Using two different datasource driver into a transaction

    Hi all,
    i have two database : one under Informix and another under Oracle.
    Well, well, i have declared two datasources in my apllicationserver ( Sun ONE 7).
    I have to use a session EJB to write into the two databases some data and i have to open an UserTransaction to deal with it.
    The flow is :
    - open the UserTransaction
    - Get the connection from the first datasource
    - launch the INSERT query in Informix
    - Get the connection from the second datasource
    - launch the INSERT query in Oracle
    My doubt is : Will the transaction work fine even if i have to use two different connection from two different datasources ?
    Using only one database the transaction work fine.
    Cheers.
    Stefano

    Hi,
    This will work correctly if you use XA drivers (XADataSource instances).
    You can check the vendor docs to see what exact classes you need to deploy for each database.
    Beware of the pitfall: if you don't use XA drivers then commit might very well appear to work, but rollback won't.
    Also, don't forget to close the connections.
    Hope that helps,
    Guy
    Atomikos TransactionsJTA - visit our new JTA forum at http://www.atomikos-support.com

  • How can I send email using two different email address that both link back to my one exchange account on my Ipad mini

    How can I send email using two different email address that both link back to my one exchange account on my Ipad mini? 
    On my PC I simply have a master return email address and use a POP for the secondary address.  Both are through the one exchange account without a problem.  I need to be able to do the same on my Ipad.

    Ah, I should have made that clear.  My domain didn't come from google.  It was purchased at and is hosted at dreamhost, but I haven't used their email servers in years - I just route everything through gmail.  I actually have a bunch of domains (with websites).
    Gmail has an option that lets someone with custom domains send (and receive) email through gmail using the custom domain once Google confirms proper ownership of the domain (to prevent spammers and such).  Gmail has a setting for "send email as" which allows gmail to be sent using a custom domain as the sender.  I'm pretty sure Apple's old mobileme had this feature too, but I didn't use it.

  • Use two different printer services in one web template?

    Hi!
    Is it possible to use two different help services for printing in the same web template (for the same table item)?
    Print1:
    <param name="HELP_SERVICE" value="HELP_SERVICE_PRINT"/>
    <param name="HELP_SERVICE_CLASS" value="ZCL_RSR_XLS_HELP_WINDOW_PRINT"/>
    Print 2:
    <param name="HELP_SERVICE" value="ZPRINTING"/>
    <param name="HELP_SERVICE_CLASS" value="ZBW_PRINT_HELP_SERVICE"/>
    I was thinking that you maybe could change the param name values for the "Help_service" and the "help_service_class" at runtime using the properties for the table item, so that you could choose which one to use, but I havne't been able to do that so far.
    Does anyone have an idea?

    This is not a problem. Just put the print service for the print to excel on an object other than the table web item. As long as these print services exist on any web item, you should be able to invoke them. I've tested this with putting the "Print with Excel" service on the Navigation Block Web Item and the other print service on the table web item. Hope that helps!
    Prakash

  • Can you use two different apple ID's on one Ipad?

    I would like to use two different apple id's on one IPAD.  One apple ID is for work and the other is for personal use.

    Read this.
    iTunes Store: Associating a device or computer to your Apple ID
    http://support.apple.com/kb/ht4627
     Cheers, Tom

  • Can I use two different devices with different apple ID for backing up data on one machine without losing any data that was backed up with one device earlier?

    Can I use two different devices with different apple ID for backing up data on one machine without losing any data that was backed up with one device earlier?

    The link is to a discussion started on 12/18 in the FiOS Internet forum.  Here's the link I get now, however it is different than the link I pulled a few hours ago.  If this system changes the link again, it may not work.
    http://forums.verizon.com/t5/FiOS-Internet/Frustration-and-just-confused-with-internet-help-please/t...
    You can also look for the topic, "frustration and just confused" in the FiOS Internet forum.
    Here's a link that is in the thread that gives more detail.
    https://secure.dslreports.com/faq/15984
    Good Luck!
    P.S.  "Copper Contributor" is my "rank."  gs0b is my user name.
    If a forum member gives an answer you like, give them the Kudos they deserve. If a member gives you the answer to your question, mark the answer as Accepted Solution so others can see the solution to the problem.

  • Can I use two different itune accounts on one computer?

    Can I use two different itune accounts on one computer?

    1. Give her a separate user account on your computer. If you have a backup copy of the library, you can restore it.
    2. If you encounter a 90-day waiting period, click here and ask the iTunes Store staff if they'll remove it.
    (125941)

  • How do I use two different apple IDs on one itunes?

    How do I use two different apple IDs on one itunes?

    This would be a violation of the terms of use of the itunes store and could result in the loss of your account.
    You cannot use the U.K. itunes store unless you are in the U.K

  • HT4059 Can I use Consolidate Files to move several different tracks into one Album?

    Can I use Consolidate Files to move different tracks into one Album?

    No, that's not what the Consolidate command is for. That command for getting all your track files into a single folder. To get all the tracks in an album to appear together, just Get Info on the tracks and make the album name all the same for each track. See:
    http://samsoft.org.uk/itunes/grouping.asp
    Regards.

Maybe you are looking for

  • Error with BC App Module Passivation

    We are seeing an error when BC4J is trying to passivate an application module. It is attempting to persist its state to a databse. It works fine when deployed to the integrated WebLogic instance in JDev, and when deployed to a single standalone WebLo

  • Can anyone explain how to create lov programatically?

    Hi to all, Can anyone explain to me how to create lov programatically?. Actually i created a region and items usig code and i want to know how to create lov and mapping also. Suppose anyone knows plz let me know. its urgent one. Thanks in Advance. by

  • EHP4 Upgrade: PREPARE/INIT/PREPARE_JSPM_QUEUE ended in error.

    Hi Experts, We are upgrading our ECC system from 700 to 701 release using SAPehpi. Our current phase is in Step 3: Configuration. we encountered our error in phase PREPARE_JSPM_QUEUE. Here is the trouble ticket log: Trouble Ticket Report Installation

  • Bricked iTouch

    I tried to update my 2G iPod Touch from 3.1.3 to iOS4 yesterday. About halfway through the process, iTunes came up with a numberless error saying that the iTunes Store could not be reached at this time. I have tried countless times over the last 36 h

  • Path for sales document characteristics value

    Hi, Can any one please let me know the path for Sales document's characteristics value. Please tell me the screen flow from a sales order to it's class type and characteristics value. Thanks, Kuntal