Query related to local Orders (  after it syncs )

Hi all
When we create a local Order "NEW" is assigned to the Order id (I know that internally a unique sync key is defined).
How do i get the corresponding order id after the synchronization without resetting all the data in the client ?
Thanks
Vipin

hello vipin,
there's no api to do this at the moment. the "real" key
assigned to your newly created synbo is mapped to your
deviceid in the middleware. so in your client, all newly
created syncbo instances have local keys (<100000). now,
when you try to modify syncbo having these local keys after
you had uploaded them, the middleware takes care which
syncbo instance is to be modified by retrieving the real
global key.
a simple workaround is to define a semantic field which
will be updated with the global key that is returned when
your syncbo is inserted in the backend. if you have worked
with the contact address sample application (SAP_EXM002),
the person number field is a semantic key field which is
assigned with a value on the middleware when the data in
inserted into the backend. this value is then returned to
the client and that field is updated. you can define the
same sort of a semantic key field for the global synckey.
regards
jo

Similar Messages

  • Keeping my itunes playlist order after I sync to iPod Nano 7th Gen

    So I created a playlist but I am having trouble keeping the order of songs after I sync. I have tried rating them as well but as soon as I sync, Alphabetical order is what I get. Any thoughts?

    In iTunes, go to your playlist.  On the playlist, click on its column header row at the far left end, above the column with sequential numbers below.  That sorts the playlist by playlist order, and you can change the song order by dragging songs around on the list.  You may have done this already.
    If you sync this playlist to the iPod, it should appear in that order on the iPod.
    If it does not, you may not be looking at the playlist on the iPod.  If you select the list of All Songs on the iPod, it will be in alphabetical order.  Even if you only have one playlist synced to the iPod, the All Songs list is not the playlist.  If you select the playlist on the iPod, it should be in playlist order.

  • Query related to Calling Zreport after Std ME21N Transaction

    Hi all,
    I m looking for the transaction or any way by which i can call my Zreport (having Purchase Order number as selection Criteria) After ME21N / ME22N / ME23N transaction.
    pls. note: i do not want to run my Zreport Explicitly.
    Regards,
    S Anand

    Use ME_PROCESS_PO_CUST - BADI and POST Method

  • Query Related to Work Order

    Hello Experts,
    I am facing problem regarding costs in work order.
    After creating a work order of type PM02 we are not able to view the Plan Cost in "Costs" tab.
    This is happening from year 2012 as in previous orders we were able to view the costs in year 2011.
    Not able to understand the reason behind it as i am new to this module.
    Thanks
    Himanshu

    Greetings Himanshu,
    I understand you are now able to schedule a PM Order to a 2011 date and see the planned cost there?
    There are year-specific settings for planning in General Controlling > Organization > Maintain Versions > General Version Definition > Controlling Area Settings > Settings for Each Fiscal Year
    you could try to check if there are relevant entries there for 2012, lack of these settings would prevent planning.

  • To build query related to SNP: Planned Order

    Hi,
    System: SCM 5.0
    Scenario: SO received at plant and planning creates PR against SO at plant and accordingly SNP:Planned Order at Vendor location. If SO is cancelled/deleted (manually), sometime only the PR gets cancelled/deleted (automatically during planning run) but corresponding SNP:Planned Orders still remains at vendor location and so the dependent requirements. PR and Planned Orders are pegged to SO so one-to-one relation is maintained.
    I could not find any reason why system is not deleting Planned Order at vendor location despite SO and PR is deleted at plant location. So I am planning to build query where SNP:Planned Orders are not pegged to any PR or SO.
    Can anyone help with list of SNP:Planned Order tables so that I can build query around it to identify ghost Planned Orders.
    Hope I was clear with my query but let me know if any further information is require.
    Thanks and regards,
    Devang

    HI Marius,
    Sorry for delay reply.
    I was working on on some other more critical issues to business.
    Finally we decided to built report to identify obsolete Planned Orders for which PR is not available in ordering plant. I have listed below logic for that report:
    Get Location ID from table /SAPAPO/LOC based on Location entered in selection screen
    Get PEGIDs from FM /SAPAPO/DM_MATLOC_GET_PEGIDS based on IV_SIMID as 000 and location id from step 1
    In FM /SAPAPO/OM_PEG_CAT_GET_ORDERS, use SIMVERSION as 000 and in Import Para IS_GEN_PARAMS insert all PEGIDs from step 2.
    From Export Para ET_PEG_INPNODE take From_OrderID and store in internal table.
    Execute T.Code /SAPAPO/RRP4 with following selection (Use Selection Variant: OBSOLETE PR and add Location as entered in Selection Screen)
    Planning Version: 000
    From: Current date – 60 days
    To: Current date +180 days
    Location: 0000201328
    Product: *
    Order Type: 1F
        6. Compare output of step 4 and step 5 and display result.
    From FM /SAPAPO/DM_MATLOC_GET_PEGIDS the output (step 4) will be Order ID (22 characters) while step 5 (T.Code /SAPAPO/RRP4) will give Planned Order number (8 character). I am not sure how to compare Internal Order ID (22 characters) for corresponding Planned Order Nos. (8 characters).
    I have not marked your post as correct answer as still need to find answer of above query.
    Thank you in advance for your guidance.
    Regards,
    Devang Shah

  • BEx Query Columns come back in different Order after drill?

    I have a strange effect when I work with BEx Queries in Xcelsius.
    On default, I open and display the Bex Query "A". Columns are in order like defined in BEx Designer (Column1, Column2, Column3.....)
    I want to do a drill, and so in Xcelsius BEx Connection settings I set the Filter on Field "X" in the XLS and in "Query Usage" I addionally apply the setting "Refresh when Trigger Cell "X" changes".
    Starting the report works fine. But when I do the drill and the Query refreshes, the BEx Query Columns come back in different order?!?
    It looks as if Column 2 and Column 3 are exchanged.
    How can I fix that?
    Thx,
    B. Wegner

    After some testing....
    This issue is independent from the filter value. But it only seems to occure when a second BEx Query connection is defined.
    The BEx Query Data Columns come back in different order after
    - Refresh on Trigger
    - Refresh after XY Seconds
    Any Ideas?
    Edited by: B.Wegner on Nov 16, 2010 3:42 PM

  • Firefox Mobile changes bookmark order after sync

    I've got all my bookmarks arranged on Firefox desktop into various folders and there are also various bookmarks in the Unsorted Bookmarks folder that are sorted by date added. I've connected to Firefox sync and synced the desktop. I've then installed firefox mobile on android and connected that to Firefox Sync. This then syncs all my desktop bookmarks on to Firefox mobile. However when I go back into Firefox desktop the order of my unsorted bookmarks has been changed and ordered by name.
    I assumed that either Firefox Desktop would be the master and everyother device synced with this would follow the same order or that the first device linked (the desktop) would be the master. However Firefox mobile seems to sync the bookmarks, change the order and then sync this new order with the desktop.

    yesterday I did what you suggest,
    This morning I turned on my computer and open firefox, you bookmarks toolbar back chaotic.. you can see my snapshot
    so chaos occurs bookmarks toolbar every firefox is opened and synchronize.
    although today I fix bookmarks toolbar, tomorrow morning when I open firefox, it would be chaos again
    ''cor-el [[#answer-720436|said]]''
    <blockquote>
    You would have to restore the bookmarks from an older JSON back if the recent backup that Firefox uses to rebuild the bookmarks when you delete the places.sqlite file is already corrupted.
    The name of a JSON bookmarks backup file includes a total item count (includes folders and separators) and an hash value to prevent saving the same backup more than once.
    *bookmarks-YYYY-MM-DD_<item count>_<hash>.jsonlz4.
    So you can check if there is a sudden unexplained change in the item count.
    </blockquote>

  • Select query help for Sales order

    Hi Experts,
    I have to write a select query to fetch sales orders which are open along with the quantities which are open ( not delivered). What would the best approach for this?
    Any help is appreciated. Expecting code samples....Thanks
    Thanks
    Ricky

    hi,
    do like this,
    write a select query for vbak and vbuk as follows.
    delivery status field is <b>lfstk</b> from <b>vbuk</b>,
    and relation field is <b>vbeln</b> from the both the tables.
    reward points if useful,
    regards,
    seshu.

  • My palm m105's touch screen doesn't work properly after a sync.

    I dug out my old m105, put new batteries in and start it. On first launch it auto runs the alignment tool, and after touching all the points it goes to the main screen and works fine. No problem till here.
    Now, I plug it into my old computer which still has the palm software with my apps, and I run the sync operation (from the palm device sync manager, cause I lost my cradle and I'm connected via the serial cable), and it syncs fine BUT, here comes the problem, when it finishes the sync (successfully) the touch screen is all misaligned. I can't go back to the home screen or do anything useful.
    My palm m105's touch screen doesn't work properly after a sync.
    I dug out my old m105, put new batteries in and start it. On first launch it auto runs the alignment tool, and after touching all the points it goes to the main screen and works fine. No problem till here.
    Now, I plug it into my old computer which still has the palm software with my apps, and I run the sync operation (from the palm device sync manager, cause I lost my cradle and I'm connected via the serial cable), and it syncs fine BUT, here comes the problem, when it finishes the sync (successfully) the touch screen is all misaligned. I can't go back to the home screen or do anything useful.
    Thanks in advance!
    Post relates to: Palm m105
    Post relates to: Palm m105

        Maldoman578,
    Let's help solve this mystery together! Is your screen freezing after every reboot? Is there any physical/liquid damage on the device? When did this issue begin? Did you notice this after a recent update or application download?
    EfrainM_VZW
    Follow us on Twitter @VZWSupport

  • Query relating to the creation of Managed Service Accounts

    Hi Folks
    I am studying for my 70-411 exam and have a query relating to the creation of Managed Service Accounts.
    I have successfully created an MSA account named 'MSATest' on a DC  using:
     new-adserviceaccount -name msatest –dnshostname home-dc-01 -passthru
    and
     add-AdcomputerServiceAccount -identity home-ap-01 -serviceaccount msatest -passthru
    However the guide that I am using now says that I now need to run:  Install-ADServiceAccount on the host computer in the domain to install the MSA in order to make available it available for use by services.
    So on my member server (home-ap-01) I have installed the Active Directory Module for powershell and ran:
    PS C:\Users\administrator.PCECORP> Install-ADServiceAccount -Identity msatest
    Install-ADServiceAccount : Cannot install service account. Error Message: 'An
    unspecified error has occurred'.
    At line:1 char:1
    + Install-ADServiceAccount -Identity msatest
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : WriteError: (msatest:String) [Install-ADServiceA
       ccount], ADException
        + FullyQualifiedErrorId : InstallADServiceAccount:PerformOperation:Install
       ServiceAcccountFailure,Microsoft.ActiveDirectory.Management.Commands.Insta
      llADServiceAccount
    PS C:\Users\administrator.PCECORP>
    However this errors, Have I misunderstood the purpose of the Install-ADServiceAccount ?  or am I doing something wrong?
    Thanks in advance for you help.

    Try using  -RestrictToSingleComputer parameter when creating service account with New-ADServiceAccount.
    Gleb.
    Hi Gleb
    Thank you for your help, it is appreciated.  That did the trick.
    All the best.

  • Palm m125 stylus won't work after hot sync

    Yesterday I dropped my m125 and the batteries fell out. I didn't notice right away and the system did a hard reset.
    When I put the m125 in the cradle and did a hot sync, it updated everything and then I got a message I needed to reset the palm. When I clicked on the reset button, I went directly to a screen that says Preferences on the LHS and Date and Time on the RHS. My stylus no longer works properly at this point. When I touch the home icon, it does not register. If I try to navigate anywhere using the stylus, it registers that I am touching somewhere else on the screen. There is no way I can get to the home screen so I can go through the welcome and calibrate the stylus.
    I uninstalled the palm desktop software, restarted the machine and reinstalled the software. Same exact problem. I installed the DigiFix free software, hot synced to add the program and ... same exact problem.
    IF I take the batteries out for a hard reset, then the palm is working exactly correctly.
    But I can't get any of my information back unless I hot sync, which renders the palm useless again.
    IF I could download the keyboard software, I could hypothetically manually add all the lost info a little bit faster than using the touch screen. But I can't find the software and I will be vulnerable to losing everything again if I can't hot sync the stuff back onto my computer.
    One other thing I don't know if it is relevant, even after I uninstalled, restarted and reinstalled the palm desktop software, all of my original data was still available. Shouldn't it be gone if I had removed the entire program? Does it matter?
    Post relates to: Palm m125

    After the hard reset; are you able to align your screen? If I am following you correctly you are saying this is the case, and only after the sync the digitizer will no longer align.
    If this is the case you may have corrupted data in you Palm Desktop. First I would rename the backup folder under your original user name and sync again to see if this will resolve the issue. If not then you can create a new user name in your Palm DT, then hard reset the device again, then choose to sync to the new user name you created instead of the original user name. Then you could export your original data to a (original user name) file, and then import the data under the new user name to restore your data.
    When you delete the Plam DT application it does not remove the data file. When you
    re-install the Palm DT software it will re-associate to the original data. This is why the data came back.

  • Query related to Email adapter

    Hi,
    I have query related to receiver Email adapter. I am able to run a scenario for 2 attachments in receiver mail adapter scenario.
    My scenario is that I am picking up the multiple files using sender file adapter "additonal fiiles" fucntionality and and post the two files as attachments in receiver email adapter. I am picking up two formats: .xml file and PDF and successfully attached to the receiver email adapter.
    My query is is related to Standard module processors sequence.
    For 3 files in mail attachments(.xml , pdf & .txt)  what should be the module processors sequence in receiver email adapter?
    Currently I am using the following module processors sequence
    1     localejbs/AF_Modules/MessageTransformBean                          Local Enterprise Bean     trans2
    2     localejbs/AF_Modules/PayloadSwapBean                          Local Enterprise Bean     swap
    3     localejbs/AF_Modules/MessageTransformBean                          Local Enterprise Bean     trans1
    4     sap.com/com.sap.aii.adapter.mail.app/XIMailAdapterBean     Local Enterprise Bean     mail
    swap -> swap.keyName -> payload-name
    swap> swap.keyValue> file1
    trans1> Transform.ContentDescription>file1
    trans1> Transform.ContentDisposition>attachment
    trans1> Transform.ContentType>application/pdf;name="file1.pdf"
    trans2>Transform.ContentDescription>file1
    trans2>Transform.ContentDescription>inline
    Can any body tell me what should be the sequence of module processors and the associated parameters so that all formats(.xml , pdf & .txt)  should go as an attachments in the reciever email adapter.
    Thanks & Regards
    Prabhat

    it would be something like this, Try this
    1 localejbs/AF_Modules/PayloadSwapBean Local Enterprise Bean swaptxt
    2 localejbs/AF_Modules/MessageTransformBean Local Enterprise Bean trans3
    3 localejbs/AF_Modules/PayloadSwapBean Local Enterprise Bean swapxml
    4 localejbs/AF_Modules/MessageTransformBean Local Enterprise Bean trans2
    5 localejbs/AF_Modules/PayloadSwapBean Local Enterprise Bean swappdf
    6 localejbs/AF_Modules/MessageTransformBean Local Enterprise Bean trans1
    7 sap.com/com.sap.aii.adapter.mail.app/XIMailAdapterBean Local Enterprise Bean mail
    swapxml -> swap.keyName -> payload-name
    swapxml> swap.keyValue> file2
    swappdf -> swap.keyName -> payload-name
    swappdf> swap.keyValue> file1
    trans1> Transform.ContentDescription>file1
    trans1> Transform.ContentDisposition>attachment
    trans1> Transform.ContentType>application/pdf;name="file1.pdf"
    trans2>Transform.ContentDescription>file2
    trans2>Transform.ContentDisposition>attachment
    trans2> Transform.ContentType>application/xml;name="file2.xml"
    trans3> Transform.ContentDescription>file3
    trans3> Transform.ContentDisposition>attachment
    trans3> Transform.ContentType>application/txt;name="file3.txt"
    mail --> mime.contenttype   --> multipart/mixed
    I have not tried this myself. but it should work

  • Query  related to the transfer of the control to the other controller.

    Hi all,
    I have a query related to the transfer of the control to the other controller.
    I have components A and B .From a view of component A I neeed to open a window which belong to component B.Problem is that ,if I use create_window_for_cmp_usage( ) and the open( ) method and after that there is some code,then that code is getting executed before the window is opening.
    I want that the control should be back to the these code after the window is poped up and  after clossing the window. 
    Eg
    method ONACTIONOPEN_WINDOW .
    DATA lo_window_manager TYPE REF TO if_wd_window_manager.
      DATA lo_api_component  TYPE REF TO if_wd_component.
      DATA lo_window         TYPE REF TO if_wd_window.
      lo_api_component  = wd_comp_controller->wd_get_api( ).
      lo_window_manager = lo_api_component->get_window_manager( ).
      lo_window         = lo_window_manager->create_window_for_cmp_usage(
                         interface_view_name    = 'ZHELLO_WORLD'
                         component_usage_name   = 'USAGE_HELLO'
                       title                  =
                       close_in_any_case      = abap_true
                         message_display_mode   = if_wd_window=>co_msg_display_mode_selected
      lo_window->open( ).
      data a type i.
      data b type i.
      a = 2.
      b = 3.
      a = a + b.
    endmethod.
    In this case I am calling  ONACTIONOPEN_WINDOW method.But before opening the window the a iscalculated here.I want that after popuping  the window the calculations should be done .
    How will I achieve this.
    Thanks in advance.
    Edited by: vaibhav nirmal on Nov 25, 2008 6:42 AM

    Hi,
    You will have to do your calculation as an event in your new window, or capture the closing of the new window as an event in your currenbt view and do your calculations in the event.
    Regards,
    Shruthi R

  • Field Selection Keys related to Purchase Order

    Hi,
           I have a query regarding Field Selection Key.
    When we go to Field Selection Screen connected to Purchase Order, we can find so many Field Selection Keys viz., $$$$, $$$2, AKTH, ME21N, etc.
    How to judge which is to be used when?
    I like to know how these Field Selection Keys are linked to Purchase Order Screen in the background.
    Please guide me in this regard by giving proper suggestions in this regard.
    Thanks in advance.
    Thanks & Regards,
    Srinivasa M.S
    +91-9910077829

    Hi Karthik,
                        Thanks for your valuable information.
    I like to know few more things.
    1) Is it possible to create our own Field Selection Key?
    2) If you observe the list of Field Selection Keys related to Purchase Order Screen, you can see that there are Field Selection Keys by name ME21N, ME21, AKTH, etc.
    If the Field Selection Keys are predefined by SAP, it is OK. But, if there is an option to create our own Field Selection Key, then what is the procedure to do the same?
    It seems that ME21N, ME21, and AKTH are used for Create Purchase Order Screen.
    There are also keys ME22N and ME23N used for Change Purchase Order Screen and Display Order Screen.
    I am little bit confused about this.
    We are linking the Field Selection Keys to the Document Types.
    But, I think it is only for create Purchase Order Screen. Please correct, if I am wrong.
    Also, I like to know how we are linking the Field Selection Keys related to Change Purchase Order Screen and Display Purchase Order Screen?
    Please clarify all my doubts by giving proper suggestions.
    Thanks in advance.
    Thanks & Regards,
    Srinivasa M.S
    +91-9910077829

  • 10.8.3  - Messages still out of order after waking from sleep or restart

    This bug is still present in Messages, although it was supposed to be fixed with 10.8.3.
    I've tried both the App store update to 10.8.3 as well as the combo updater. When I check Messages' version after each, it's 7.0.1 (3318), and the copyright date is 2002-2012. So I'm assuming that the application is not being updated, although I don't know what version of Messages was included in 10.8.2.
    Anyone else have the same problem?

    Hi,
    It is the same app version and build number.
    The Apple Doc linked from the COMBO download page states the "fix" applies to Messages on waking from Sleep and at no other occasion.
    It seems that people are also reporting the iMessages are out of order during the Sync (sort of a Known Issue since Messages beta when New iMessages are Instant  and mix with a Sync that is in progress).
    They are also reporting them out of order even when not syncing (i.e. the Mac is On and Awake  just not the device in use).
    Of these some people are reporting that in some cases the restarting of the app restores the correct order.
    It seems this may be the ones that arrive as New during the sync process rather than other occasions.
    What is not clear is what steps might help.
    Obviously removing the Apple ID in the Mac Version (Sign Out) and shutting the app, restarting it and adding the Apple ID again sound more involved than a fix should be.
    However refreshing the Link to the server may be the way to go.
    9:16 PM      Thursday; March 21, 2013
      iMac 2.5Ghz 5i 2011 (Mountain Lion 10.8.3)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

Maybe you are looking for

  • How to make changes in stored procedure?

    Few years back i developed an application using oracle 7. now i have to execute the same application but with some modifications using oracle 8i web db. Now the problem is that if i have to make any change in the stored procedures, first i've to drop

  • How to put break point in the update routine

    I am trying to create a break point in update routine. I can do that in the start routine but I would like to know how I can include a break point in update routine in Q. Thanks

  • Approach for CST with or without Form C

    Hi Gurus, I have a requirement wherein the CST value on the order should vary depending on customer providing FORM C or not. I have suggested to have 2 condition types for CST and asked the customer to accordingly update the value in the Tax Classifi

  • CONFIG DB

    DEAR ALL, I NEED YOUR HELP TO GIVE ME THE STEP TO LEARN HOW TO CONFIGURE DATABASE CORRECTLY MEANS I KNOW HOW TO INSTALL BUT I NEED HOW TO CONFIGURE LIKE PUT THE DATABASE IN ARCHIVE LOG (I KNOW THAT ) BUT I NEED THE OTHER CONFIGURATION PLEASE DONT TEL

  • M9 Files crash Lightoom

    Anyone know why Leica M9 DNG files crash Lightroom on an IMac Core i7.  Whenever I move to the Develop Mode Lightroom crashes.  They work fine in Photoshop Camera Raw Thanks Larry