Change "MOVE-CORRESPONDING" statement to MOVE statement in FM

Hello Guys,
I have created a datasource based on FM standard template RSAX_BIW_GET_DATA. In the source code in this template, there is a LOOP statement and below that there is a "MOVE-CORRESPONDING" statement.
LOOP AT g_t_select INTO l_s_select WHERE fieldnm = 'PGMID'.
        MOVE-CORRESPONDING l_s_select TO l_r_pgmid.
        APPEND l_r_pgmid.
ENDLOOP.
My customer does not allow MOVE-CORRESPONDING statement for performance reasons. Hence I need to change it to MOVE statement. But I do not know the structure of l_s_select and I am not well at ABAP. So How do I write MOVE statement here.
Can anybody help on this?
Regards
Utpal

Hi Tibollo,
Thanks for your prompt reply. Your suggestion has solved my problem. One input to this from  my side. It will not accept FIELDNM because it is not present in l_r_pgmid. Remind you l_r_pgmid is declard as a range and ranges does not have FIELDNM.
Anyway, that portion I have modified and it worked. Thanks a lot. I am rewarding u points.
Regards
Utpal

Similar Messages

  • Error in MOVE-CORRESPONDING  statement

    Hi all,
    I am facing issue in move-corresponding statement.
    Form:
    FORM get_first_data USING   it_lifnr TYPE ty_lifnr
                                 it_prdha TYPE ty_prdha
                                 it_matnr TYPE ty_matnr
                                 ct_list_struct TYPE yt_list_struct
                                 pd_datab LIKE sy-datum
                                 pd_datbi LIKE sy-datum.
    In loop statment:
    LOOP AT lt_eket.
      Liste mit EKET-Einträgen anreichern
        clear ld_subrc.
        CLEAR ct_list_struct.
        MOVE-CORRESPONDING lt_eket TO ct_list_struct.
    After this statement it is giving error that, ct_list_struct is not a structure or internal table with header line.

    Hi,
    Is ct_list_struct an internal table? if so, try to declare a work area for assigning data:
    FORM get_first_data USING it_lifnr TYPE ty_lifnr
    it_prdha TYPE ty_prdha
    it_matnr TYPE ty_matnr
    ct_list_struct TYPE yt_list_struct
    pd_datab LIKE sy-datum
    pd_datbi LIKE sy-datum.
    "In loop statment:
    data: wa_list_struct like lines of ct_list_struct
    LOOP AT lt_eket.
    * Liste mit EKET-Einträgen anreichern
    clear ld_subrc.
    CLEAR ct_list_struct.
    MOVE-CORRESPONDING lt_eket TO wa_list_struct.
    append wa_list_struct to ct_list_struct.
    thanks,

  • Some, but not all, podcasts existing on the iPod no longer appear in iTunes. Different podcasts have been affected at different times, after changes in the state of the iPod. Only podcasts are affected.

    I have not seen this precise issue addressed anywhere. I don’t know if it’s an iTunes or an iPod problem:
    - Some, but not all, podcasts existing on the iPod no longer appear in iTunes;
      this, after normal behavior for more than a year since purchase of the iPod.
    - Different podcasts have been affected at different times, after changes in the state of the iPod.
    - Only podcasts are affected.
    - This concerns an iPod nano 6th gen. and iTunes 11.0.2 (26) on System 10.6.8
    - The only change to iTunes, the Mac, or the iPod is that just before this condition began
      I’d begun syncing an iPhone via iTunes.
    I sync manually (“manually manage music and videos”). The first time this happened, I wanted to delete seventeen podcast episodes (all belonging to one podcast) existing on the iPod — but they didn’t show up in iTunes. I tried re-downloading them and re-syncing, to see if the new versions would somehow “re-link” to iTunes. They didn’t. Only one — new — episode appeared in iTunes.
    I ultimately reset the iPod and manually resynced all the podcasts I currently had on iTunes. That worked, though I had to painstakingly add in all the other content deleted by the reset.
    So: after that reset and manual sync, all podcasts and episodes on the iPod were visible to iTunes and I was able to delete the podcast and its — now 18 — episodes I’d wanted to get rid of to begin with. But the next time I connected the iPod, only 8 podcast episodes out of 21 episodes total existing on the iPod were visible to iTunes. These are different podcasts; I’d deleted the original “invisible” ones.
    By “visible,” I mean in the “Podcasts” list view under “[name]’s iPod” in the iTunes sidebar. If I select “[name]’s” iPod in the iTunes sidebar and the “Podcasts” tab, all podcasts and episodes are visible, though greyed out because I’m set to sync manually. It’s unclear to me if these are the podcasts on the iPod or those currently in iTunes, as they are currently the same. If I switch to syncing automatically, all content on the iPod will be lost again, so I’m not up to trying it at the moment.
    As I said,  this involves only podcasts. All other content on the iPod does appear in iTunes.

    I have the same problem- i see my movies in the ipod section in itunes and they even show as mpeg4 in the 'kind' section but they dont have that small TV icon next to them. if i play these in itunes, they play fine- but try playing them on the ipod and all you hear is the sound and no picture. All videos that i manually transfer work fine in the beginning- its when i hook up the ipod to the comp again and start itunes- they start showing up without the 'tv' icon!! i have to again transfer them from the itunes library to activate them as videos.
    Need Help!!!

  • How to change the privacy statement link url

    I looked into the previous threads , could not find the answer to "Changing the privacy statement url to clients privacy statement url".
    I am talking about the privacy statement URL in the page that user see it as soon as user logs into the e-business suite.
    I have read the previous theads and developers guide regading how to show or hide this autofooter thing. but could not find any thing about how to change the one in the login page.I even looked ino personalization but could not find a place to change this url. please HELP.
    Another question is " is it ok to show privacy statement in just the first page and hide it in rest of the application pages?"
    Thanks
    karan

    Extract from Personalization Guide - Page Footer - Personalization Considerations
    * If you wish to personalize the URL that points to the Privacy Statement for a page that displays a standard Copyright and Privacy (that is, its Auto Footer property is set to true), set the Scope to OA Footer, in the Choose Personalization Context page of the Personalization UI.
    * If you wish to personalize the URL that points to the Privacy Statement for a page that displays a custom Copyright and Privacy (that is, its Auto Footer property is set to false), set the Scope to Page in the Choose Personalization Context page of the Personalization UI. In the following Page Hierarchy Personalization page , identify and personalize the Privacy page element.

  • How can I create a navigation bar in the template so I can change the down state of a button on a page made from the template in DW3?

    We're creating pages from a template in DW3. The template includes a header, footer and a navigation bar. We've made the navigation bar an editable region so that we can change the down state of the buttons on pages where it is required. However, when we make a new page from the template and try to change the behaviors of the buttons in the navigation bar it will not allow us to make those changes. 

    Have you considered using CSS styled text/list menus instead of image rollovers.  It isn't hard really and it's actually a much better choice for   web accessibility and for search engines to find and follow your links.   Here are some links to several CSS menu systems you can try:
    CSS Express Drop-Down Menus (tutorial)
    http://www.projectseven.com/tutorials/navigation/auto_hide/
    CSS Tab Designer creates 60+ CSS Styled Button and Tab Menus  (download)
    http://www.highdots.com/css-tab-designer/
    List-O-Rama  (DW Extension)
    http://www.dmxzone.com/go?5618
    CSS  Menu Maker (On-Line Menu Generator)
    http://www.cssmenumaker.com/
    Pop-Menu  Magic2 by PVII (DW extension purchase)
    http://www.projectseven.com/products/menusystems/pmm2/index.htm
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    www.alt-web.com/
    www.twitter.com/altweb
    www.alt-web.blogspot.com

  • Can a button change to another state and remain there, and also go to a URL?

    Hi --
    I've been wracking my brain and scouring the internet since yesterday to find a solution to this...It seems easy enough, but I'm at a loss...maybe I'm over thinking it and it's simply not possible?
    We have a button that we want to, when clicked, change to another state, remain there, and also use a navto to go to another page within the publication...is this possible?
    We've tried doubling up the actions of the button, using fake buttons, etc. all without success. What we have it at now is...you can tap to navto, and the button does change, but it reverts back to it's previous state in that moment between releasing the button and actually jumping to the page we want it to go to.
    The only explanation I've come up with is based on the information on this page: http://help.adobe.com/en_US/digitalpubsuite/using/WS67cb9e293e2f1f60-8ad81e812b10bfd837-80 00.html -- that because the two actions I want to accomplish fall into the two different categories: Supported actions for hyperlink buttons and Supported actions for slideshow buttons, that this simply isn't possible?
    Your help is greatly appreciated!
    Thanks,
    Kristina

    No, that's not supported with multiple actions. You can't switch a state and then jump to another document.

  • [svn:osmf:] 14180: PARB changes: Move BinarySearch to layout package, it doesn't need to be part of the public API.

    Revision: 14180
    Revision: 14180
    Author:   [email protected]
    Date:     2010-02-15 21:52:51 -0800 (Mon, 15 Feb 2010)
    Log Message:
    PARB changes: Move BinarySearch to layout package, it doesn't need to be part of the public API.
    Modified Paths:
        osmf/trunk/framework/OSMF/.flexLibProperties
        osmf/trunk/framework/OSMF/org/osmf/layout/LayoutRendererBase.as
    Added Paths:
        osmf/trunk/framework/OSMF/org/osmf/layout/BinarySearch.as
        osmf/trunk/framework/OSMFTest/org/osmf/layout/TestBinarySearch.as
    Removed Paths:
        osmf/trunk/framework/OSMF/org/osmf/utils/BinarySearch.as
        osmf/trunk/framework/OSMFTest/org/osmf/utils/TestBinarySearch.as

    Revision: 14180
    Revision: 14180
    Author:   [email protected]
    Date:     2010-02-15 21:52:51 -0800 (Mon, 15 Feb 2010)
    Log Message:
    PARB changes: Move BinarySearch to layout package, it doesn't need to be part of the public API.
    Modified Paths:
        osmf/trunk/framework/OSMF/.flexLibProperties
        osmf/trunk/framework/OSMF/org/osmf/layout/LayoutRendererBase.as
    Added Paths:
        osmf/trunk/framework/OSMF/org/osmf/layout/BinarySearch.as
        osmf/trunk/framework/OSMFTest/org/osmf/layout/TestBinarySearch.as
    Removed Paths:
        osmf/trunk/framework/OSMF/org/osmf/utils/BinarySearch.as
        osmf/trunk/framework/OSMFTest/org/osmf/utils/TestBinarySearch.as

  • [svn:osmf:] 14181: PARB changes: Move DateUtil to f4mClasses, it doesn' t need to be part of the public API.

    Revision: 14181
    Revision: 14181
    Author:   [email protected]
    Date:     2010-02-15 21:57:55 -0800 (Mon, 15 Feb 2010)
    Log Message:
    PARB changes: Move DateUtil to f4mClasses, it doesn't need to be part of the public API.
    Modified Paths:
        osmf/trunk/framework/OSMF/.flexLibProperties
        osmf/trunk/framework/OSMF/org/osmf/elements/f4mClasses/ManifestParser.as
    Added Paths:
        osmf/trunk/framework/OSMF/org/osmf/elements/f4mClasses/DateUtil.as
    Removed Paths:
        osmf/trunk/framework/OSMF/org/osmf/utils/DateUtil.as

    Revision: 14181
    Revision: 14181
    Author:   [email protected]
    Date:     2010-02-15 21:57:55 -0800 (Mon, 15 Feb 2010)
    Log Message:
    PARB changes: Move DateUtil to f4mClasses, it doesn't need to be part of the public API.
    Modified Paths:
        osmf/trunk/framework/OSMF/.flexLibProperties
        osmf/trunk/framework/OSMF/org/osmf/elements/f4mClasses/ManifestParser.as
    Added Paths:
        osmf/trunk/framework/OSMF/org/osmf/elements/f4mClasses/DateUtil.as
    Removed Paths:
        osmf/trunk/framework/OSMF/org/osmf/utils/DateUtil.as

  • Just got my ATV2 and the stream from my win 7 Itunes library drops out after 30min or when changing movies.

    just got my ATV2 and the stream from my win 7 Itunes library drops out after 30min of when changing movies. I have to turn off and turn on home share to stream again. Should i return all my apple products and go android instead....help, I want it to work. My firewall is off, ATV2 is running on ethernet and library is on wireless. My ps3 streams just fine over the network, I assume Itunes is at fault?

    Please any one who comes across this and shares in my fustrations please click below and lodge a complaint. There is no solution to the dropouts until apple sorts it...Lets get the message across loud and clear
    http://www.apple.com/feedback/appletv.html

  • Change base view state from a custom component

    I'm pretty new to flex and I'm having a small issue in change the view state from a component.
    My Application have 2 custom components called userlogin and main menu. In the main application page I have userlogin component in one state and the main menu component in another. I'm trying to change the state if the login in successful from user login to main menu. I have the following function written inside the login component.
    private function IsUserLoggedIn(evt:ResultEvent):void
                    if (evt.result.islogin.toString() == "true")
                        currentState = "MainMenu";
                    else
                        Alert.show("Login failed, please try again.", "Login Failed");
    This code worked when I had all the controls in the main page. But then I created components and included them in to components and now when the login is success, its giving the following error.
    ArgumentError: Undefined state 'MainMenu'.
        at mx.core::UIComponent/getState()[E:\dev\4.0.0\frameworks\projects\framework\src\mx\core\UI Component.as:9908]
        at mx.core::UIComponent/findCommonBaseState()[E:\dev\4.0.0\frameworks\projects\framework\src \mx\core\UIComponent.as:9928]
        at mx.core::UIComponent/commitCurrentState()[E:\dev\4.0.0\frameworks\projects\framework\src\ mx\core\UIComponent.as:9750]
        at mx.core::UIComponent/setCurrentState()[E:\dev\4.0.0\frameworks\projects\framework\src\mx\ core\UIComponent.as:9701]
        at mx.core::UIComponent/set currentState()[E:\dev\4.0.0\frameworks\projects\framework\src\mx\core\UIComponent.as:6087 ]
        at components::UserLoginForm/__btnSubmit_click()[C:\Projects\WarrantyAutomation\src\componen ts\UserLoginForm.mxml:60]
    I'm sure this has something to do with accessing the states from a custom component, but I do not know how to change the state to the main menu. Please help me with this. Any help is greatly appriciated.

    Hi dasun1981,
    private function IsUserLoggedIn(evt:ResultEvent):void
                    if (evt.result.islogin.toString() == "true")
                        currentState = "MainMenu";
                    else
                        Alert.show("Login failed, please try again.", "Login Failed");
    If I am right the above function is in your userlogin component and the two components "userlogincomponent" and "maincomponent" are in main application file and the states were also defined in main application file.
    But in the function above the currentState refers to the state of the userlogin component and not the main application ...but the states are defined in main application file...that's the reason why the exception was thrown...
    Instead you replace the line in the above function with the below line:
    Application.application.currentState = "MainMenu";
    Please mark it as answer if it helped you.
    Thanks,
    Bhasker Chari

  • Invalid request for a change in window state

    Ok...
    Creating a JSR168 portlet and it works fine in Pluto, but I get the following when I deploy to P7:
    ERROR: Content not available. REASONE: Invalid request for a change in window state
    Here is what the portlet is supposed to do:
    * Display a form
    * User clicks find
    * Lookup is performed
    * Window state in processAction() method of portlet is changed to MAXIMIZED
    * I'm guessing this is where the error is occuring
    I also think that for the TableContainer, I have some sort of attribute incorrect having to do with one of the channelsIs values.
    I tried toggling them one way or another without any effect.
    Suggestions?

    Ive run into this issue also. I need a way for a portlet to change to its maximized state for the purposes of user registration. Is there anyway this can be done? I know that sun jsp "Providers" which are shown on their example desktop, have some sort of maximized state that they can go into, but im not sure how to use this in a portlet.
    There seems to be very inconsistent support between the proprietary sun provider api, and the portlet api.

  • [svn:osmf:] 14179: PARB changes: Move Base64Decoder to f4mClasses, it shouldn't be part of the public API.

    Revision: 14179
    Revision: 14179
    Author:   [email protected]
    Date:     2010-02-15 21:47:05 -0800 (Mon, 15 Feb 2010)
    Log Message:
    PARB changes: Move Base64Decoder to f4mClasses, it shouldn't be part of the public API.
    Modified Paths:
        osmf/trunk/framework/OSMF/.flexLibProperties
        osmf/trunk/framework/OSMF/org/osmf/elements/f4mClasses/ManifestParser.as
        osmf/trunk/framework/OSMFIntegrationTest/org/osmf/net/drm/TestNetStreamDRMTrait.as
        osmf/trunk/framework/OSMFTest/org/osmf/net/httpstreaming/f4f/TestHTTPStreamingF4FFileHand ler.as
    Added Paths:
        osmf/trunk/framework/OSMF/org/osmf/elements/f4mClasses/Base64Decoder.as
    Removed Paths:
        osmf/trunk/framework/OSMF/org/osmf/utils/Base64Decoder.as

    Kleopatra wrote:
    Struggling with fx cell editing turned up some issues, f.i. edits not always committed as expected (by me, expectation arguable, of course : -)
    http://javafx-jira.kenai.com/browse/RT-15366
    yet another variant of "let the developer cope with the harder stuff" - it's closed as wont-fix (because we are unwilling to change a lacking api ...)
    CU
    Jeanette

  • Post install problem. Changes to the state or options of DB SUSDB can't be made at this time. DB Is in single-user mode.

    Hi,
    Have you ever come across this problem before.
    Changes to the state or options of DB SUSDB can't be made at this time. DB Is in single-user mode and a user is currently connected to it.
    It's preventing the post WSUS installation task from completing.
    I opted to use the WID Database option and it created the SUSDB.
    How can I resolve it?
    Thanks  

    this sounds similar to some issues that occurred when KB2720211 was first release (the update does put the DB into single-user mode, to perform some tasks, then switches it back into multi-user mode. sometimes, that switch-back was not performed, and the
    DB was left in single-user mode).
    You can refer to this thread, the steps are buried in there.
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/531d576b-eeaf-40dc-9057-b3adbde6186f/kb2720211-debacle-is-this-acceptable-microsoft-quality?forum=winserverwsus
    Don
    (Please take a moment to "Vote as Helpful" and/or "Mark as Answer", where applicable.
    This helps the community, keeps the forums tidy, and recognises useful contributions. Thanks!)

  • Can we change movement 601 to Zmovement type during PGI?

    Hi all,
    Can we change the standard movement type 601 based on some logical condition to Z movement type during PGI?
    If any exit is there , please provide.
    Thanks for giving input.
    Saravanan

    Hi lakshmipathy,
    Thanks for your answer.
    So , can I  take that re-determination of movement type during PGI is not possible?
    Why I need this requirment?
    Account determination in TDP ( IS-OIL ) functionality is based on movement type .
    In my case , because of additive addition to the main material , only some times the G/L account determination should change and this can be controled by checking additive flag during PGI and if flag available , then If I can change movement type only to these cases , I can go do new account determination. Other wise I do not want to distrub the present configuration.
    If this is not feasible , then I have to think some other way to get it done .
    Thanks and regards,
    Saravanan

  • Disk health state dont change OS health state

    Hi,
    Scenario: SCOM 2012 R2 UR4.
    The health state of a disk in a given server dont change the health state at OS.
    The health state at disk is warning, but the health state at OS is OK.
    The questions are:
    Is this behavior normal?
    How to configure health state at OS to be the same at disk?
    Thanks in advance!

    As of i have seen even i have seen such situations in my SCOM 2007 R2 where it shows Healthy event if there are multiple Monitors in a critical state.
    Based on my understanding SCOM calculates based on the Dependency monitor.
    Example: Best state and worst state.
    1.So may be even though that disk related issue is there but that totally does not affect the Health of the Agent.
    2.In case if there is any specific service named Service 1 which is in a critical state and there is Service 2 and if Service 2 has also become critical because it depends on Service 1. So because of 1 service multiple services are in a non healthy state,
    Then if this is the case at that time the agent may change to a critical state in the dashboard.
    May be your current situation is like example 1 and not like example 2 so you are still getting the state as Healthy in the Dashboard.
    =============================
    Any one please correct me if i am wrong.
    Gautam.75801

Maybe you are looking for

  • CRM 5.0 outbound queues to Mobile sales

    Hi all, We have upgraded from CRM 3.0 to CRM 5.0. I am looking at the outbound queues in SMQ1 that are bound to Mobile sales Sites and am not finding any data bundles other than the name of the Replication Object name in the LUW's of these queues. Bu

  • Small Issue - But it is really BUGGING me !!

    When I type in what SHOULD turn into links (letters turn blue with a line under them and allow you to click on it) in either my emails or mainly for me in this situation now its my signature,,, email links seem to work but not actual web addresses. I

  • Master Detail Query automatic query ..Urgent help

    In my last question, I asked about how to automatically query a form based on table or master detail and gota good answer. What I actually need to do is also query on the detail, for example select a.user_id, b.week_ending,b.mon_hrs,b.tues_hrs from e

  • Vaildating typed data for a search help

    Hi Experts, I have a scenario wherein i have a field which is attached to a dictionary search help, when i type some value in this field without using F4 how should i validate the value, Is it automatically done by the dictionary search help.. Anuj G

  • Threshold and interpolate array in LabVIEW FPGA

    Hi, It's a classical one, but I don't find an answer that fit my problem : I want to threshold an array with a 4-20 mA analog input then interpolate an other array with the result of the threshold. The result of the interpolation is then sent to an 4