Multible MBO's with input parameter's how to pass them?

Hello gurus i'm currently working on native app that based on BAPI MBO's and each MBO takes input parameter and return some values
at the first MBO i made the input parameter is personalization key but after adding a second MBO and make the same to the second MBO when i generated the code and passing the PK values only for the first MBO i got an error
any help on how to pass input parameters for native app that based on BAPI for multiple MBO and i will not pass all the parameters at the same time depend on the screen that i'm in i will call MBO
thanks in advance

Steps to do a sync from MBO is given below (android native app):
Create MBO and PK.
Map MBO load parameter with PK.
Create Second MBO and another PK (or use existing PK if the input parameter of first MBO is same as second MBO).
Map Second MBO load parameter with second PK.
Sample native code (android):
//Assing Values to PK
PersonalizationParameters param = CustomersDB.getPersonalizationParameters();
          param.setPK_CustomerInput("1001");
          param.save();
          CustomersDB.subscribe();
//Make a blocking synchronize call to Unwired Server to pull in all MBO data
          CustomersDB.synchronize();
//Finall is the query generated by SUP to get the data from the table Customers.
//Customers is the MBO name in SUP and table name in Device DB
Customers.findAll()
Give the steps you performed with relevant screen shots to help you further.
More info, Developing SAP Android Mobile app from scratch - Part 4
Midhun VP

Similar Messages

  • BAM Report with input parameter

    Hi,
    How to design a report with input parameter? BAM ADC contains data about different clients.
    I have to design a report which iterates over these clients and display one client info at a time.
    Thanks
    Samatha

    Instructions in User guide on how to create surface prompts
    http://www.oracle.com/technology/products/integration/bam/index.html> 11g Documentation> User guide
    http://download.oracle.com/docs/cd/E12839_01/integration.1111/e10230/prompts_parameters.htm#CHDEEACD
    Also look at call center -->Reassign cases sample under demos in BAM 11g.

  • I have a friends ipod and he has some movies. I want the movies however I don't know how to pass them to my itunes.

    I have a friends ipod and he has some movies. I want the movies however I don't know how to pass them to my itunes.

    Awsome Files might work.
    http://www.macroplant.com/awesomefiles/

  • How to create a Mapping with Input Parameter?

    Hi,
    I have a target table where the primary key column should be loaded with an Input parameter value. How can we implement this? Let me know if any examples are available?
    Regards
    Kishan

    Use a map input operator in your mapping. In the outgroup add an attribute, mapp the attribute with the column and then you can start the mapping with an extra input parameter.
    Bye
    Detlef

  • Regarding" Material PO text " with input parameter is PR requisition

    Hi Experts,
    I need to develop a ALV report in which the input parameter is PR requisition, Requisition date, Plant ,Purchase Group, Purchase organization
    And I needed to get its corresponding u201Cmaterial PO Textu201D.
    I am using the function module READ_TEXT with
    goto me53n( purchase requisition) -
    > text----->item_text->doubleclick->goto->header
    id = 'B04'.
    tname = '100000166000010'.
    tdobject = 'EBAN'.
    How do i display all the text in alv against the PR requisition, Requisition date, Plant ,Purchase Group, Purchase organization, PR item number  PO number , Po date , PO item number
    thanx.
    Moderator message: please open only one thread per issue.
    Edited by: Thomas Zloch on Jan 17, 2012 10:42 PM

    lets say item text is 8-10 lines, you want to display that as well in the output? how much the user have to scroll for 10 PRs  just think..
    rather give them the report output without the item text and give them a hotspot. once they click hotspot, show them a popup  for item text

  • Dynamic Imagelink Component - Calling Impl method with input parameter

    Hi All,
    I have requirement where Imagelinks are created dynamically on the pageload. Generated the components and the components are displayed on the jspx.
    Now when I click the image link, a method in AMImpl should invoke and this method takes some input parameters.
    I am able to call the method successfully in AMimpl with the help of below code. But I could not understand how to pass the input parameters to that method.
                               RichCommandImageLink lockimageLink =
                                new RichCommandImageLink();
                            lockimageLink.setIcon("icon.png");
                            lockimageLink.setId("icon" + index);                   
                            MethodExpression me =
                                JSFUtils.getMethodExpression("#{bindings." +
                                                             "MyMethodName" +
                                                             ".execute}");
                            lockimageLink.addActionListener(new MethodExpressionActionListener(me));
      public static MethodExpression getMethodExpression(String name) { 
       Class [] argtypes = new Class[1]; 
       argtypes[0] = ActionEvent.class; 
       FacesContext facesCtx = FacesContext.getCurrentInstance(); 
       Application app = facesCtx.getApplication(); 
       ExpressionFactory elFactory = app.getExpressionFactory(); 
       ELContext elContext = facesCtx.getELContext(); 
       return elFactory.createMethodExpression(elContext,name,null,argtypes); 
      } Can some one please suggest how to pass input parameters to the Impl method.
    Jdeveloper Version : 11.1.1.4.0
    Thanks,
    Morgan.
    Edited by: 900114 on May 12, 2012 11:23 PM

    You can use the below method to call an AMImpl method. You can pass parameters as well to the AMImpl method.
    DCBindingContainer bindings = getDCBindingContainer();
    OperationBinding ob = bc.getOperationBinding("MyMethodName");
    Map m = ob.getParamsMap();
    ob.put("paramName", "paramValue"); paramName is the parameter in AMImpl and paramValue is the value to be passed.
    ob.execute();
    Where getDCBindingContainer() is:
    public DCBindingContainer getDCBindingContainer() {
    ExpressionFactory exprFactory;
    ELContext elContext;
    ValueExpression valueExpression;
    DCBindingContainer dcBindingContainer;
    FacesContext facesContext = FacesContext.getCurrentInstance();
    exprFactory = facesContext.getApplication().getExpressionFactory();
    elContext = facesContext.getELContext();
    valueExpression =
    exprFactory.createValueExpression(elContext, "#{bindings}",
    Object.class);
    dcBindingContainer =
    (DCBindingContainer)valueExpression.getValue(elContext);
    return dcBindingContainer;
    Hope this helps
    Edited by: umesh.agarwal on May 13, 2012 12:10 AM
    Edited by: umesh.agarwal on May 13, 2012 12:10 AM

  • Starting/Openeing a  Workbook empty or with Input Parameter

    Hi,
    how to configure BW / BEX / a workbook  to start a workbook always empty or with the input parameter dialogue ?
    ThanXs
    Martin

    Sorry Martin, on the purge side of things....
    It depends on whether you are using BW 3.,5 or BI 7.
    If you are on 3.5 on the Tools menu there is an option to Delete Query Results.
    If you are on BI 7:00 then the link tell you all:
    SAP entertainment: Migration of 3.x objects to BI 7.0
    - Delete query results.. para.

  • Search Help With Input Parameter in WebDynpro ABAP

    Hello all,
    I have been facing a problem regarding a search help I wanted to attach to an input field on my UI. The search help expects an import parameter and offers four output parameters. What I did was to create a context node based on a ddic structure. The structure has one attribute for each of the five parameters. I defined the search help for all context attributes except the importing one where I deactivated the search help. The search help is available on one of the input fields on the view and bound to one of the attributes in the context. The other context attributes are not bound to anything. The names as well as the data types are the same in the search help as well as in the ddic structure, bound to the context node.
    During WDDOINIT, I am setting the "import" context attribute. The problem is that the table with the search help parameters is empty when the search help exit is entered. Do you have any idea what I have to do in order to provide the import value to the search help?
    Thanks in advance and best regards
    Simeon

    Hi,
    By context node, do u mean that u made a drop down with values in ddic structure ,
    rather than that u can use FM 'VRM_SET_VALUES' this would be simpler if that makes sense for ur requirement.
    pls revert if any comments on it.
    regards,
    Dinesh.

  • OSB XSLT trasformations with input parameter

    Hi,
    how can I pass input parameters at XSLT trasformation in Assign activity?
    Thk
    L.

    Hi checked these links, but I didn't solve my problems :-(.
    I have this xslt resource:
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
    <xsl:output method="xml" indent="yes" omit-xml-declaration="yes"/>
    <xsl:template match="/">
         <xsl:param name="in_stringSearch"/>
         <fields>
              <xsl:for-each select="//*[starts-with(text(),$in_stringSearch)]">
                   <field>
                        <xsl:for-each select="ancestor-or-self::*">
                             <xsl:text>/</xsl:text>
                                  <xsl:value-of select="$in_stringSearch"/>
                             </xsl:for-each>
                   </field>
              </xsl:for-each>
         </fields>
    </xsl:template>
    </xsl:stylesheet
    I created an assign activity, in the expression field I selected xslt resource and linked above xslt resource, my question is, how I can pass 'in_stringSearch' to xslt from assign?
    Thk
    L.
    Edited by: user8874385 on 7-gen-2011 4.12
    Edited by: user8874385 on 7-gen-2011 4.13

  • Fumnction Module with Input Parameter

    Hello all,
                   I have a Popup window in which a message displays with a value and Yes or No Option. if No is clicked  i have to Display a list of data, if its Yes is clicked  i have to get a value as a Parameter in pop up window (i,e User should enter the value ). Is there any FM to get this. This is an ALV Report.
    YES       NO
    if YES
        ENTER THE VALUE : ______________
    else.
       Display
    Points will be Rewarded.
    Thanking you in advance.
    Regards,
    Nagulan

    Hi Nagulan,
    Yes there is a function module by name  'C14A_POPUP_SAVE_WITH_CANCEL' which displays a pop up as per your requirement.
    I had a similar requirement in my project.This is the code that I used.You can refer to it and write your own code.
    In this code a function module is called to display the popup.The popup contains three options-Yes,No and Cancel.When selecting Yes,The details present in the input fields will be saved in the Ztables.If NO is selected in the popup,then the transaction will be exited.
    In the function module,answer holds the user command.
    e_answer needs to be created by user.The statement for it is :
    DATA :e_answer type c.  
    In the function module as you can see, J indicates Yes and N indicates No.J and N are predefined for Yes and No respectively.
    In the PAI module of that Screen,you need to write this code
    CASE SY-UCOMM.
    when SAVE.
    CALL FUNCTION 'C14A_POPUP_SAVE_WITH_CANCEL'
    IMPORTING
    e_answer = answer.
    IF answer = 'N'.
    ***Leaving the transaction****
    LEAVE TRANSACTION.
    ELSEIF answer = 'J'.
    ***The right side of the equation is the name of the input field in the screen.The left hand side of the ****equation is the field name in the ZTable ztm09_ekpo.**
    ztm09_ekpo-ebeln = ztm09_ekko-ebeln. "ztm09_ekko is the name of the Z Table.
    MODIFY ztm09_ekpo.
    endcase.
    Hope this will help you.
    Revert for any querries.
    Regards,
    Kashyap Ivaturi

  • ADF View with input parameter?

    I've a table with three column:
    company id, company name, revenue
    Another table:
    employee id, employee name, company id (foreign key in company table)
    Now I've to display list of employees in 1 company (based on logged in user). How shall I achieve this in ADF using BCs?
    A very standard requirement it seems... A tutorial would be good if someone can point me to that?
    Thanks.

    Create 2 EO for the 2 tables. Create VO on top of them. You can then create a View Criteria on the EMPVO which has the condition companyId = :bCompanyId (where bCompanyId is the bind variable defined and the values is passed from UI).
    http://jobinesh.blogspot.com/2010/10/how-to-set-bind-variable-values-at.html

  • My children are currently sharing an account with my ex husband, how can create them their own account so they are not dependent on him, will they lose all their music they have bought on his account?

    As far as I can tell, they don't have their own libraries or store accounts

    Thank you this helps, also once they create their own id, will their purchased songs be theirs?
    Yes.
    Can they share a library together somehow??
    They can either share an Apple ID, or, if they create two seperate accounts, they can authorize the same computer with two different apple IDs so purchases across both accounts are accessible on the same machine.
    An additional option for sharing an iTunes library across machines on the same network exists:
    iTunes: How to share music and video - Support - Apple

  • Two iphones with the same id how do change them to separate ones please help

    is there a way to change it

    Read
    Read http://macmost.com/setting-up-multiple-ios-devices-for-messages-and-facetime.htm l
    If you wish to share an Apple ID with family members then read: http://www.macstories.net/stories/ios-5-icloud-tips-sharing-an-apple-id-with-you r-family/

  • Lost bookmarks with new upgrade. How to get them back?

    I am using Window's XP and lost my Bookmark list when I upgraded to the new Firefox. How do I get this Bookmark list back?

    I don’t understand what you say you’ve done, but you can import mailboxes in Mail doing File > Import Mailboxes.

  • How to expose odata service for input parameter based procedure.

    i have created one procedure in my schema.
    CREATE PROCEDURE TEST
    (in id varchar) AS
    BEGIN
    SELECT * FROM "table" WHERE "ID" = :id;
    END;
    and i am able to call the procedure from console.
    CALL "schema"."TEST"('1')
    my question is how to expose this procedure as odata service.
    is there any way to do it. ???

    hello Avinash. this is where i stuck in my code. i dont know how to wrap procedure in calculation view..
    My procedure code is below.
    create procedure "Get_User_for_Project"(in PROJECT_ID VARCHAR(255), out OUTPUT_TABLE "schema"."test_table")
    language SQLSCRIPT sql security definer  as
    BEGIN
    truncate table "schema"."test_table";
    OUTPUT_TABLE = SELECT "ID", "FIRST_NAME", "LAST_NAME" FROM "schema"."U_USER" WHERE "ID" IN (SELECT "USER_ID" FROM "schema"."U_USER_PROJECT" WHERE "PROJECT_ID" = :PROJECT_ID);
    END;
    my procedure is working fine. i just need help to wrap in calculation view with input parameter.

Maybe you are looking for

  • Droid RAZR (not MAXX) 4G, service drops on GB and ICS

    Okay, the forums are full of threads concerning this issue. The phone loses data connectivity as well as voice. Every person seems to have a different opinion as to when or where their service drops, and I have tried to find a fix (official or not) s

  • How to Open Doc. and Docx. attachments with Word 2013 from Firefox

    I just got a new laptop and installed Office 2013. However, when I try to open an attachment from my email or a document from the web, the box comes up that says "What should Firefox do with this file?" I can save the file fine, but when I click "Bro

  • Surround sound problem

    surround sound problemF hi, i have a creative t7900 8 speaker surround sound setup. back in august i purchased a x-fi soundblaster extremem audio sound card. up until yesterday it was working fine. i opened my pc up after disconecting all the cables

  • Cannot delete or add playlists to iPod using manual adjust option

    Hello! First time I tried manual adjust it worked for me (I deleted 2 lists off my iPod, and added a new one). But now, two days after I did that, adding or deleting playlists simply won't work. When I connected my iPod to the computer, iTunes told m

  • Formula node error: missing right parenthesis

    Hi NI community, I am working with the formula node structure for the first time and I came along this error which I can't fix. It says it finds a # character, but the strange thing is that there is no character. Is there anyone who can help me with