Can't see RETURN parameter in SyncBO

Hi
I have made a mobile application with smartsync, SyncBo type U01. I would like to show the error messages (that I can se when I test the BAPI wrapper) in the mobile application. I can't se any info about the RETURN type BAPIRET2 when I am mapping the datatypes in the SyncBO.
Is there a way to do this?
Best Regards
Morten

hello morten.
the field defined in the BAPI are only the fields that
you can map into your SyncBo.
if you want to get the information of the return text
(execution result from BAPIRET2), i think the MW will
send you this info thru a certain message types in the
client.
for any technical errors which hindered the synchronizer
to process the messages,  a MessageReply message is sent
from the MW. if your BAPI returned an error or
successfully updated the updates, it will be in the form
of a SyncReply.
your application should be implementing a
MessageReplyObserver and SyncReplyObserver, then register
them into the framework thru the InboxNotifier. your
observers will be notified on every synchronization.
please refer to javadocs on the details of this interfaces.
regards
jg

Similar Messages

  • Can't see input parameter in model for webservice

    Hai All,
      I have created model for a webservice in webdynpro project. For a method in that webservice there is an input parameter which is <b>two dymensional string arry</b> . But I am unable to see that parameter in schema of created model. How can i see that input parameter.
    could anybody help me out.
    Regards,
    Charan

    Hai Charan,
    I am Also Facing the same Problem,
    we cant change the auto generated code in webdynpro,
    Its Better to try with object array instead of two dimensional array.
    regards,
    Naga Raju.m

  • How to read ABAP return parameter into java code

    Hi all,
    How JAVA environment can trap an error returned from abap code?
    E.g.:
    From a BAPI wrapper written like this:
    "function zpm_gi_create .
    ""Interfaccia locale:
    *"  IMPORTING
    *"     VALUE(ZBAPIGOODSMVT) TYPE  ZBAPIGOODSMVT
    *"  EXPORTING
    *"     VALUE(RETURN) TYPE  BAPIRET2
    *"     VALUE(PO_NUMBER_ES) TYPE  ZBAPIEKKO-PO_NUMBER
    *"  TABLES
    *"      GOODSMVT_ITEM STRUCTURE  ZGOODSMVT_ITEM
      data: goodsmvt_header type bapi2017_gm_head_01,
            return2         type bapiret2 occurs 0 with header line,
      call function 'BAPI_GOODSMVT_CREATE'
        exporting
          goodsmvt_header             = goodsmvt_header
          goodsmvt_code               = zbapigoodsmvt-gm_code
          testrun                     = 'X'
    importing
      GOODSMVT_HEADRET   GM         =
        materialdocument              = matdoc
        matdocumentyear               = matyear
    tables
        goodsmvt_item                 = gm_item
      GOODSMVT_SERIALNUMBER       =
          return                      = return2.
    Our return (for istance is):
    "EBM                  312The (internal) unit xx has not been maintained in
    the unit table"
    How JAVA environment can trap this error or interpret the BAPIRET2 structure?
    Is there something to do in the corresponding syncBO?
    regards,
    eliana

    Hi elina ,
    these topic is already discussed in forum.
    Jo has replied to this doubt in these links.
    Re: Return messages in SyncBo
    Can't see RETURN parameter in SyncBO
    Return messages in SyncBo
    just note this..
    have to change like this , when u follow the help.
    if (messageReply.getType() == MessageReplyType.SYNC_BEGIN) {
              if (messageReply.getType() == MessageReplyType.SYNC_END) {
                Regards
                  Kishor Gopinathan

  • HT1600 Since the latest up-date I can't see any movies.  I always returns to the main menu.  Is anyone else having this problem and how do I fix it?

    Since the latest up-date I can't see any movies.  It always returns to the main menu.  Is anyone else having this problem and how do I fix it?  We have gone 3 days without the use of renting movies.

    Welcome to the Apple Community.
    First you should try logging out of your iTunes Store account (settings > iTunes Store > accounts) and then back in again.
    If that doesn't help, try resetting the Apple TV (Settings > General > Reset > Reset all settings). You should also try restarting your router.
    If both of the above don't help, you should try a restore (Settings > General > Reset > Restore).

  • HT1461 For Boot Camp, if you save a file when you are on the Windows side, when you return to the Mac side, can you see the file or can it only be "seen" on the operating side you create it in?

    For Boot Camp, if you save a file when you are on the Windows side, when you return to the Mac side, can you see the file or can it only be "seen" on the operating side you create it in?

    Why don't you  (generic most every post lacks critical details) be clear and say you never used Mac OS etc.
    But, I did try to anticipate and give you what you needed.
    Excel is one of those rare programs that, if they are extremely large complex spreadsheets still tend to run better under Office for Windows.
    A VM won't do for that but it does make it easier to transition. As in: install Windows natively, then use VMware Fusion or Parallels to attach to the partition and OS. That way you can run Windows as Guest OS VM under Mac; and still run Windows natively dual-boot when needed.
    The word "see" was not what you wanted, was it? really? you want to open and make changes and keep it on Windows side rather than Save As or copy to Mac
    You use Windows and don't know it has NTFS (NT FileSystem)?
    http://en.wikipedia.org/wiki/NTFS
    http://en.wikipedia.org/wiki/Hierarchical_File_System (HFS) native file system used by Apple
    And there is much more UEFI style "bios" and other things I suppose.
    Great thing about Google and encyclopedias or dictionary, you can look up what you don't know.

  • Sending form via email - can't see user responses in returned PDF

    I created a form in Form Central.  I chose "save as PDF form" and saved it on my computer.  I attached this form to an email and asked employees to fill out and send back to me as a pdf.  When people email me back their filled in form, I can only see the responses when I click on each individual box.  When I print the form, the responses do not print.
    Would appreciate help since I distributed the forms to the company, and realized there was a problem as responses started to come in today (I only tested it on my computer and had no issues)
    I would appreciate any help you can give.  Especially:
    Why is this happening? 
    How do I prevent this in the future?
    Is there anything I can do to resolve the issue, without having to send out an updated form?
    Christine

    The users filling out your PDF are not using Adobe Acrobat or the Free Adobe Reader to fill out your form - FormsCentral forms have to be filled out in Adobe Reader or Acrobat.
    Also, make sure that you are also using Adobe Reader or Adobe Acrobat to view those PDFs.
    The way to resolve this is to instruct your users to use Adobe Reader to fill out the form.
    This FAQ touches on the issue, but mostly related to the Submit button not working, however the issues you describe are caused by not using Adobe Reader or Acrobat as well: http://forums.adobe.com/docs/DOC-2653
    Thanks,
    Josh

  • How to use Return parameter of BAPI in DOE

    Hello all,
    I have a question on Return parameter of BAPI wrappers written in backend. When we use the BAPI in DOE there i do not see any table which stores these Return parameters then what is the use of writting it in BAPI wrappers.
    Can anyone please clarify??
    Thanks & Best Regards,
    Abhishek

    Hi,
    BAPIRET are stored in log tables during delta download(You can check it in logs and traces of backend integration).
    In case of upload, the bapiret is returned in message error list to the devices. Its also stored in message error list table which you can see it in message monitoring.
    In upload scenario case all the BAPIRET returned by backend are captured ,where as in case of delta load or push the BAPIRET of type 'A' and 'E' are captured by default and other message types are captured when trace setting is higher.(SMMW_TRC_SETTING).
    Regards,
    Dhana

  • Oracle Date error on return parameter

    Hi,
    I'm getting a date parameter from Oracle returned as 0006-08-13, for Aug 13, 2006.
    I've tried a number of things in the SELECT statement, with both to_char and to_date, neither which have been sufficient.
    So I thought I'd try the replace method, but am getting an error.
    I have the following declared to have the parameter returned:
    Date datereq = admsql.getDate(9);
    String dtreq = replace(0,0,2(datereq));Do I need anything else or should I somehow use replace() wrapped around <%=dtreq%> ?
    Do I need to instead cast something to a SimpleDateFormat object in this case?
    Please advise. This is the one maddening area about Oracle!

    Hi,
    I'm getting a date parameter from Oracle returned as
    0006-08-13, for Aug 13, 2006.No, you're not. The date has probably been inserted incorrectly and is wrong in the database. Either that, or you need to learn how to format Java dates into Strings correctly.
    to_char is for converting a database DATE (or NUMBER) to a database character type such as VARCHAR2
    to_date is for converting a character type such as VARCHAR2 to a database DATE type
    I have no idea what it is you're trying to do with replace(); is that supposed to be String.replace()? If so, I don't think the code you've written should compile, and if it did, it still wouldn't do what you want; you can't do a string replacement on a Date object.
    You can get see what's been stored in your DATE (?) column with:
    // fix "your_date_column" and "your_table" and "where_clause"
    SQL = "select to_char(your_date_column, 'yyyy-mm-dd Day Month dd, Year') from your_table where where_clause";
    PreparedStatement ps = connection.prepareStatement(SQL);
    ResultSet rs = ps.executeQuery();
    rs.next();
    String dtreq = rs.getString(1);(Or you could run that SQL statement in SQL*Plus or some other general purpose SQL client; if you're going to program regularly with a database, such a thing is an essential professional tool).
    If the above SQL tells you the date really is Aug 13, 2006, then you need to figure out how to convert Java dates to Strings correctly; if the date is stored incorrectly, then you need to fix your program elsewhere.

  • Returning Internal Table as Returning Parameter of Method (by Value).

    When you return an internal table as the returning parameter of a method, it is passed by value.  I understand the concept of passing by value vs. passing by reference, but exactly what this means in this case is ambiguous.
    1)  It could mean that the entire table, including data, is copied from the local table in the method into the parameter provided by the calling code.
    2)  Alternatively, it could mean that only the pointer to the table is passed by value and the data is not literally copied from one place in memory to another.  This would <b>not</b> be the same as passing by reference.  For instance, I believe this is how object references are passed by value.
    I want to know how it works, so that I know if there is an efficiency problem with returning a huge table.  The returning parameter is wonderful for getter methods, and I prefer to use it over exporting parameters, but I have some concern about passing tables as returning parameters since I don't know how this works.
    Can anyone either explain this, or at least make it clear to me whether or not there is an efficiency issue?
    Thanks, in advance,
    -Chris

    Thanks to those who tried to help me with this question, but I finally had to just figure it out on my own.  I just realized today that there is a way to find the answer using the debugger's <i>Go To->Status Display->Memory Use</i> option.  This shows how variables are stored in memory.
    The answer:
    First of all, if you set one internal table equal to another like:
      i_tab1 = i_tab2.
    or like:
      i_tab1[] = i_tab2[].
    both will simply set <i>i_tab1</i> to point to the same memory that <i>i_tab2</i> is using.  It does <b>not</b> make a copy.  Now, if you attempt to change <i>i_tab1</i>, with an <i>append</i> statement for instance, a copy of <i>i_tab2</i>'s memory is made <b>then</b>!  The requested change to <i>i_tab1</i> is then applied to the copied data.  <b>AHA!!!</b>  This means that even if you think you are copying a table, you are not really doing it until it becomes necessary due to a divergence in values.
    I specifically tested a returning parameter to see how memory is handled, and it is basically just like an '<i>=</i>' statment.  No copy of the data is performed at first.  The memory that is allocated for the local variable in the method is simply pointed to by the variable used in the calling code to recieve that value.
    What if you then change the value in the calling code after the method has finished executing?  The answer depends on the situation.  If the value that you returned from the method is still being pointed to by another variable somewhere, then a copy is made when you attempt to change the returned table in the calling code, but if there is no longer another variable pointing to this memory, you can change the table in the calling program all you want without causing a copy in memory.
    For instance, if you have a getter method that returns the value of an attribute, at first no copy will be made, but when you try to change the table in your calling code, a copy will be made then.  However, if you just fill a local table in your getter method and return that table, there will never be a copy made, because the local variable that originally pointed to that memory expired when the method completed.  That means that after the method completes, the only variable pointing to the allocated memory is the one in the calling code that recieved the returning value.
    This is fantastic!!  This behaives in a way that seems to provide maximum efficiency in most cases.  Also, the table copies are <b>never</b> a waste, since they only happen upon changing of one of the table variables that point to the common memory, and in this case you would <b>want</b> to make a copy to avoid corrupting the other variable.
    Also, even if you did return your table as an exporting parameter by reference, you would not gain any significant efficiency.  There would still be no table copy if you don't change the returned table.  Also, if you did change the returned table, you <b>would</b> still produce a table copy if there was another variable, like an attribute, still pointing to the memory that you set your exporting paramter from before.
    The only situation that I can see resulting in a needless efficiency problem is if someone used a getter method to return the value of a table attribute, then changed the returned table in the calling program, and then used a setter method to set the whole table attribute equal to the changed table.  This would be a waste, so maybe this should be accomplished in another way.
    In conclusion, there is essentially no reason to hesitate returning a whole internal table as a returning parameter from a method call, even though it is pass by value.
    Kudos to the ABAP development team for their good design!

  • I can't see my image in an applet

    I am drawing an image in an applet, I see the image in jbuilder but i can't see it with IE 5.0 , I am using graphis 2D, please help me

    this is the code in the applet class:
    package untitled9;
    import java.awt.event.*;
    import java.awt.*;
    import java.net.*;
    import java.applet.*;
    * <p>Title: </p>
    * <p>Description: </p>
    * <p>Copyright: Copyright (c) 2003</p>
    * <p>Company: </p>
    * @author unascribed
    * @version 1.0
    public class Applet1 extends Applet
    boolean isStandalone = false;
    Image imagen,fondo;
    double alpha = -0.2;
    int r = 0;
    URL u,fondo_url;
    PopupMenu popupMenu1 = new PopupMenu();
    MenuItem menuItem1 = new MenuItem();
    //Get a parameter value
    public String getParameter(String key, String def)
    return isStandalone ? System.getProperty(key, def) :
    (getParameter(key) != null ? getParameter(key) : def);
    //Construct the applet
    public Applet1()
    //Initialize the applet
    public void init()
    try
    jbInit();
    catch(Exception e)
    e.printStackTrace();
    //Component initialization
    private void jbInit() throws Exception
    menuItem1.setLabel("rotar");
    this.addMouseListener(new java.awt.event.MouseAdapter()
    public void mousePressed(MouseEvent e)
    this_mousePressed(e);
    popupMenu1.add(menuItem1);
    //Get Applet information
    public String getAppletInfo()
    return "Applet Information";
    //Get parameter info
    public String[][] getParameterInfo()
    return null;
    public void paint(Graphics g)
    Graphics g_3 = g.create();
    Graphics2D g2 = (Graphics2D)g_3;
    Graphics2D g3 = (Graphics2D)g;
    if (r==1)
    g2.rotate(alpha,100,100);
    try
    fondo_url = new URL("file:/C:/Documents and Settings/macastro/Escritorio/untitled9/src/untitled9/fondo.gif");
    catch (MalformedURLException e)
    g3.drawString ("Mal formado el URL",10,10);
    fondo = getImage(fondo_url);
    g3.drawImage(fondo,100,100,this);
    try
    u = new URL("file:/C:/Documents and Settings/macastro/Escritorio/untitled9/src/untitled9/imagen.gif");
    catch (MalformedURLException e)
    g2.drawString ("Mal formado el URL",10,10);
    imagen = getImage(u);
    g2.drawImage(imagen,100,100,this);
    void this_mousePressed(MouseEvent e)
    r = 1;
    alpha+=-0.1;
    repaint();
    and this is the code in the html file:
    <html>
    <head>
    <title>
    HTML Test Page
    </title>
    </head>
    <body>
    untitled9.Applet1 will appear below in a Java enabled browser.<br>
    <applet
    codebase = "."
    code = "untitled9.Applet1.class"
    name = "TestApplet"
    width = "400"
    height = "300"
    hspace = "0"
    vspace = "0"
    align = "middle"
    >
    </applet>
    </body>
    </html>

  • Can not see any Data in OKE.OKE_K_FUND_ALLOCATIONS

    I am looking in this table with SQLPlus and TOAD and can not see any rows.

    Hi Hussein;
    First I ran:
    select fu.user_name, fr.responsibility_name
    , fu.user_id, fr.responsibility_id resp_id
    , furg.responsibility_application_id resp_appl_id, furg.security_group_id sec_group_id
    from apps.fnd_user_resp_groups furg
    , apps.fnd_user fu
    , apps.fnd_responsibility_vl fr
    where furg.user_id = fu.user_id
    and upper(fu.user_name) = upper('&User_Name')
    and furg.responsibility_id = fr.responsibility_id
    order by 1, 3
    Passing in SYSADMIN
    Taking this row:
    SYSADMIN,General Ledger Super User,0,20434,101,0
    I ran:
    I ran exec fnd_global.APPS_INITIALIZE (0,20434,101,0);
    I still get no rows returned.
    Is thier a way in the App to ensure the SYSADMIN,General Ledger Super User can see this data? Or am I missing something else?

  • Can not see records after was given select on table

    Hello,
    I have a database 10gV2 and I 'grant select on table1 to user1'. When user1 logged on, he can not see any data from table1. He can desc table1 but when doing a select count(*) from user99.table1 , a zero record returned. Or select * from user99.table1, nothing is returned, no records. Why?

    possibly there is a vpd policy on the table which applies a where predicate allowing the user only to see rows relevent to his session.
    or rows inserted are not committed therefore only visible in the session where transaction is active.
    A

  • Can't see the issue in code...please help

    I have this procedure within a package. Trying to compile and can't...get errors and I can't see why...any help???
    PROCEDURE KILL_ORPH_2PHASE_COMMITS (inLocal_tran_id IN varchar2) is
      tsql            VARCHAR2(256);
      v_local_tran_id varchar2(22 byte);
    BEGIN
    IF inLocal_tran_id is not null then
        tsql := 'ROLLBACK FORCE ''' || inLocal_tran_id || '''';
        dbms_output.put_line(tsql);
        EXECUTE IMMEDIATE tsql;
        RETURN;
    END IF;
        --open cursor
        open cur_2pc;
        loop
          --fetch cursor data
          fetch cur_2pc
            into v_local_tran_id;
          exit when cur_2pc%NOTFOUND;
          tsql := 'ROLLBACK FORCE ''' || v_local_tran_id || '''';
          dbms_output.put_line(tsql);
          EXECUTE IMMEDIATE tsql;
    EXCEPTION
      WHEN OTHERS
        THEN
          dbms_transaction.purge_lost_db_entry('''' || v_local_tran_id || '''');
    END;
    END LOOP;
    CLOSE cur_2pc;
    END KILL_ORPH_2PHASE_COMMITS;Error is:
    Compilation errors for PACKAGE BODY ADMIN.ADMIN_DBA_MAIN
    Error: PLS-00103: Encountered the symbol "EXCEPTION" when expecting one of the following:
    ( begin case declare end exit for goto if loop mod null
    pragma raise return select update while with <an identifier>
    <a double-quoted delimited-identifier> <a bind variable> <<
    continue close current delete fetch lock insert open rollback
    savepoint set sql execute commit forall merge pipe purge
    Line: 40
    Text: EXCEPTION
    Error: PLS-00103: Encountered the symbol "LOOP" when expecting one of the following:
    Line: 45
    Text: END LOOP;

    The BEGIN and END are not matching..??
    From your code, it looks like...you want each statement in your loop to have it's own begin..exception..end..
    BEGIN
    IF inLocal_tran_id is not null then
        tsql := 'ROLLBACK FORCE ''' || inLocal_tran_id || '''';
        dbms_output.put_line(tsql);
        EXECUTE IMMEDIATE tsql;
        RETURN;
    END IF;
        --open cursor
        open cur_2pc;
        loop
       BEGIN----------<<<<<<<<Begin for each iteration to have it's own loop...
       ------------>>>(this is for each statement in the loop...)
         --fetch cursor data
          fetch cur_2pc
            into v_local_tran_id;
          exit when cur_2pc%NOTFOUND;
          tsql := 'ROLLBACK FORCE ''' || v_local_tran_id || '''';
          dbms_output.put_line(tsql);
          EXECUTE IMMEDIATE tsql;
    EXCEPTION
      WHEN OTHERS
        THEN
          dbms_transaction.purge_lost_db_entry('''' || v_local_tran_id || '''');
    END;
    END LOOP;
    END KILL_ORPH_2PHASE_COMMITS; ----<<<Another End for the procedure....>>>

  • Can not see wave form in arrange window  logic 9 Please help

    I have been using Logic for 3 months now...mostly just importing old wave files from past protools sessions.  Everything was working fine until I created a new session to record audio.  I record the audio at a nice level...I hit playback...I can hear it fine but I can't see the wave forms.  I can see it in the sample editor.  I've searched around and found the same problem in the past on some forums......they say to trash preferences...  I went to my mac drive...library...preferences  and nothing  I have no files labeled  com.apple.logic.pro  now I'm lost....the funny thing is... when I zoom in horizontal ...the wave form shows but it makes the track way too large.  Any help would be great.  Thanks

    In Logic:  Preferences/Audio
    What is the "Recording Delay" parameter set to?
    It should be zero, default is zero. If it's set to a positive or negative Logic will often not show the wavforms. If that's it, it's one of the long standing bugs in Logic.

  • A few months back I Dropped my iPhone 4 and I cracked my screen and now i cant unlock my phone due to touchscreen not working plus there are blured lines across the screen and I can't see anything that it displays. Now when I try too connect my iPhone 4 t

    A few months back I Dropped my iPhone 4 and I cracked my screen and now i cant unlock my phone due to touch screen not working plus there are blurred lines across the screen and I can't see anything that it displays.
    Now when I try too connect my iPhone 4 to iTunes on my computer at home an error message comes up saying that I have to unlock my iPhone 4 for it to communicate to my device.
    But the problem is that I can't unlock my iPhone 4 because I'm unable to see the key pad and my touch screen no longer responds when I touch it.
    I just want to reset my iPhone 4 back to its Factory Settings & start all over from the beginning.
    How can I unlock my iPhone 4 with iTunes on my computer or any other option you suggest me trying.
    Thank you in advance,
    SiHero

    If you have had a "local guy "repair your iphone you will not get any support from Apple for warranty OR post warranty
    If Verizon return it to Apple it wil not be handled by Apple
    If Verizon also use unauthorised repairers you may be lucky
    (Apple do not sell parts to local guys or anyone else )

Maybe you are looking for

  • Upload Excel File to SharePoint using VBA

    Hi, I copied and modified the code from a friend which he got it from this website forum. This apprantely works for some people and not me. Please tell me what I am doing wrong. Ignore xxxxxx part of the Sharepoint site. Nothing wrong with the site,

  • Adapter modules in sync scenarios

    Hi all, here we have some strange requirements to the format of a WebService Outbound Call: So I have a Sender SOAP Channel and developed an adapter module for it, because of a kind of self defined envelope around the data. This module cuts of the en

  • How To display Project Information In Infopath Form Field On Form Load Base on Project Id.

    Hello, I have a Requirment that I want to Display Project Name and their Client Name in Info Path Form Field as I Open the Form. I do have uploaded InfoPath form in Forms Library in Project  of Project server 2010.  is there any simple way to do this

  • Flash help tutorial problem

    I'm just getting started with Flash and thought I'd work through the tutorials included in the programs help. The tutorial I'm stuck on is called: Creating Graphics - Applying Gradients. The section I'm stuck on is Create a transform gradient with a

  • WD ABAP iview for Adobe Forms showing data of previous PERNR

    Hi Experts, We have developed adobe forms using HCM P&F functionality. We copied standard delivered WD ABAP Iview "Termination" multiple times for the use in developed forms. The Portal IDs are attached to the employee's IT 0105-Subtype 0001 Syname.