Problem with the variable in FM not cleared.

Hi all,
I'm using RM_BACKFLUSH_GO function module for BackFlushing a serial number. Inside this FM other function module MB_CREATE_GOODS_MOVEMENT is called inside this function module there is variable called XCOMMIT and this is not getting cleared when i called RM_BACKFLUSH_GO.
I found that, this variable is set in another function call BAPI_HU_UNPACK in the same program.
Inside BAPI_HU_UNPACK, the MB_POST_GOODS_MOVEMENT is called where the variable is set.
I'm not able to clear this variable XCOMMIT. I have tried calling the perform clear_xcommit in program LMBWLFE0 from my program, but it didnt worked.
Can anybody tell me how to clear this variable.
Thanks n Regards

Hi,
You can clear the variable dynamically from the call stack
Data: l_f_stack(72) type c value '(SAPLMBWL)XCOMMIT'.
Field-symbols: <fs> type any.
Assign (l_f_stack) to <fs>.
If <fs> is assigned.
clear <fs>.
endif.
Hope this will help you
Regards,
Krishnakumar
Edited by: Krishnakumar on Apr 1, 2009 11:29 PM

Similar Messages

  • [Execute SQL Task] Error: Executing the query "DECLARE_@XMLA nvarchar(3000) ,__@DateSerial nvarch..." failed with the following error: "Incorrect syntax near '-'.". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly,

    Hi
    DECLARE @XMLA nvarchar(3000)
    , @DateSerial nvarchar(35);
    -- Change date to format YYYYMMDDHHMMSS
    SET @DateSerial = CAST(GETDATE() AS DATE);
    --SELECT @DateSerial
    Set @XMLA = 
    N' <Batch xmlns="http://schemas.microsoft.com/analysis services/2003/engine">
     <ErrorConfiguration xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ddl2="http://schemas.microsoft.com/analysisservices/2003/engine/2"
    xmlns:ddl2_2="http://schemas.microsoft.com/analysisservices/2003/engine/2/2" xmlns:ddl100_100="http://schemas.microsoft.com/analysisservices/2008/engine/100/100" xmlns:ddl200="http://schemas.microsoft.com/analysisservices/2010/engine/200"
    xmlns:ddl200_200="http://schemas.microsoft.com/analysisservices/2010/engine/200/200">
    <KeyErrorLimit>-1</KeyErrorLimit>
    <KeyNotFound>IgnoreError</KeyNotFound>
    <NullKeyNotAllowed>IgnoreError</NullKeyNotAllowed>
     </ErrorConfiguration>
     <Parallel>
    <Process xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ddl2="http://schemas.microsoft.com/analysisservices/2003/engine/2" xmlns:ddl2_2="http://schemas.microsoft.com/analysisservices/2003/engine/2/2"
    xmlns:ddl100_100="http://schemas.microsoft.com/analysisservices/2008/engine/100/100" xmlns:ddl200="http://schemas.microsoft.com/analysisservices/2010/engine/200" xmlns:ddl200_200="http://schemas.microsoft.com/analysisservices/2010/engine/200/200"
    xmlns:ddl300="http://schemas.microsoft.com/analysisservices/2011/engine/300" xmlns:ddl300_300="http://schemas.microsoft.com/analysisservices/2011/engine/300/300">
     <Object>
     <DatabaseID>MultidimensionalProject5</DatabaseID>
     <CubeID>giri</CubeID>
     <MeasureGroupID>Fact Internet Sales</MeasureGroupID>
     </Object>
     <Type>ProcessFull</Type>
     <WriteBackTableCreation>UseExisting</WriteBackTableCreation>
     </Process>
      </Parallel>
    </Batch>';
    EXEC (@XMLA) At SHALL-PCAdventureWorksDw ;
     iam executive the    query when iam getting below error.
      [Execute SQL Task] Error: Executing the query "DECLARE
    @XMLA nvarchar(3000)
    , @DateSerial nvarch..." failed with the following error: "Incorrect syntax near '-'.". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set
    correctly, or connection not established correctly. 
     how to solve this error;
     please help me

    What are you trying to do? What sort of data source is  SHALL-PCAdventureWorksDw?
    When you use EXEC() AT, I would execpt to see an SQL string to be passed to EXEC(), but you are passing an XML string????
    If you explain why you think this would work in the first place, maybe we can help you.
    Erland Sommarskog, SQL Server MVP, [email protected]

  • I installed Adobe CS6 Design & Web Premium on my Mac Book Pro a few years ago but have repeatedly encountered problems with the programs freezing or not opening properly. It's a Student and Teacher Licensing version so an academic ID is required but I am

    I installed Adobe CS6 Design & Web Premium on my Mac Book Pro a few years ago but have repeatedly encountered problems with the programs freezing or not opening properly. It's a Student and Teacher Licensing version so an academic ID is required but I am no longer a student--can I still reinstall it since my academic ID may no longer be valid?

    Erin Elzo as long as the serial number has been registered under your account at http://www.adobe.com/ then you should be able to continue to utilize the software.  You can find details on how to locate your registered serial number at Find your serial number quickly - http://helpx.adobe.com/x-productkb/global/find-serial-number.html.

  • I fixed the problem with the whole 'waiting' and not loading but now some of my apps won't open, what can I do?

    I fixed the problem with the whole 'waiting' and not loading but now some of my apps won't open, what can I do?

    - Try a reset. Nothing is lost
    Reset iPod touch: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Purchase/install any new app
    - Try the remaining items of:
    iOS: Troubleshooting applications purchased from the App Store

  • Hello I have a problem with the iPhone 5 does not know the account activation lock

    Hello I have a problem with the iPhone 5 does not know the account activation lock 

    You will not be able to access the device without the account activate lock password. IF you have the receipt and other proof of purchase you may have sucess with contacting apple and asking them for assistance. Depending gretaly on how much proof of purchase you have.
    Good luck Friend.

  • I have problem with the ID I can not forget to enter the account

    I have problem with the ID I can not forget to enter the account

    Please re-phrase the question or post in your native language.

  • : "Invalid object name '#Temp'.". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established correctly.

     Hi   .
        I was creating the  pass the values t in temp tables  though s sis package vs2012 .
      First I was taken on executive SQL TASK.
     IN EXCUTIVE SQL TASK  . I was write the stored proce:
    Sp;
    reate  procedure  USP_GETEMP2333
    AS
    begin
    Select  eid,ename,dept,salary from emp
    end;
    create table #temp(eid int,ename varchar(20),dept varchar(20),salary int)
      insert into #temp
       exec USP_GETMP02333
       go.
     It was executive correctly.
     I was taken another sequence container. In the sequence container iam creating one   executive  sql
    In 2<sup>nd</sup> excutive sql task: sql statements is
    if object_id('emp_fact_sal') is not null
     drop table emp_fact_sal
    select eid,ename as emp_name,sal_bar=
    case when salary<=5000 then 'l'
    when salary >5000 and salary<=7000 then 'm'
    else
    'h'
    end
    into emp_fact_sal from #temp.
     and one falt flies  it was taken to designation .
     iam changing  all  connection properties:
     in oldeb connection:
    in excutive sal task properties .
    delay validation is true,
    and retain connection maner is also true,
    and package mode is 64 bit is false.
     But iwas excutive in 2<sup>nd</sup> excutive ql task .
    Iam getting this type of errors,
                    [Execute SQL Task] Error: Executing the query " if object_id('emp_fact_sal') is not null
     drop ta..." failed with the following error: "Invalid object name '#Temp'.". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established
    correctly.
     Please help me

    Arthur suggestion works but you shouldnt even be doing this on a SQL Task.
    Use a data flow task. You'll have better control over the data that is being transfered and get better performance because no staging table will be used.
    Just because there are clouds in the sky it doesn't mean it isn't blue. But someone will come and argue that in addition to clouds, birds, airplanes, pollution, sunsets, daltonism and nuclear bombs, all adding different colours to the sky, this
    is an undocumented behavior and should not be relied upon.

  • Various audio problems with the onboard speakers but not the headphones​.

    The little volume wheel is connected to a variable resistor, which is soldered to the motherboard via 7 pins.  when the wheel loosens up, or the pins loosen up, the onboard speakers get flaky or just don't work.  We've been seeing this type of problem for a while now, and just thought that the general public should know.  Either replace the motherboard, or the volume controller, or wiggle and jiggle the wheel when it gives problems.  good luck all, and i hope this little tid-bit helps out.
    Kudos for Linux and all freeware!!

    Hi,
    Try the following.
    First, download and reinstall the Chipset driver on the following link.
    Chipset Driver - Windows 8
    When the reinstallation has completed, restart the notebook.
    When windows has reloaded, download the IDT Audio installer on the link below and save it to your Downloads folder.
    IDT Audio Installer - Windows 8.
    When done, open windows Control Panel, open Device Manager and open up Sound, Video and Game Controllers.  Right click the IDT device and select Uninstall - you should also get a prompt to remove the current driver, tick the box to allow this and then proceed with the uninstall.
    When complete, shut down the notebook, unplug the AC Adapter and then remove the battery.  Hold  down the Power button for 30 seconds.  Re-insert the battery and plug in the AC Adapter.
    Tap away at the esc key as you start the notebook to launch the Start-up Menu and then select f10 to enter the bios menu.  Press f5 to load the defaults ( this is sometimes f9, but the menu at the bottom will show the correct key ), use the arrow keys to select 'Yes' and hit enter.  Press f10 to save the setting and again use the arrow keys to select 'Yes' and hit enter.
    Let Windows fully load - it will automatically load an audio driver, but just let this complete.  Then open your Downloads folder, right click on the IDT installer and select 'Run as Administrator' to start the installation.  When this has completed, right click the speaker icon in the Taskbar and select Playback Devices.  Left click 'Speakers and Headphones' once to highlight it and then click the Set Default button - check if you now have audio through headphones.
    Regards,
    DP-K
    ****Click the White thumb to say thanks****
    ****Please mark Accept As Solution if it solves your problem****
    ****I don't work for HP****
    Microsoft MVP - Windows Experience

  • Anyone have a problem with the HDMI port suddenly not recognizing any digital source imput signal?

    I have an HP 2711x monitor. 
    Anyone suddenly have a problem with it no longer recognizing any digital source input with the HDMI port (or DVI), yet the VGA port works fine?
    Thanks.

    Hello Largelee,
    Welcome to the HP Forums, I hope you enjoy your experience! To help you get the most out of the HP Forums I would like to direct your attention to the HP Forums Guide First Time Here? Learn How to Post and More.
    I understand you are having issues with your HP 2711x Monitor not displaying HDMI or DVI inputs, yet it can display VGA inputs. Are these inputs all coming from the same device? Such as your computer? Does the computer's outputs show up on other devices via HDMI and DVI? If it works are you using the same cables? Are there any messages displayed on the monitors screen when you have the HDMI or DVI hooked up?
    Check to see if any of the documents below pertaining to the HP 2711x Monitor pertain to your issue:
    Flat Panel Monitor Displays Message about No Signal, Signal out of Range, Sleep, or Power Save
    'Input out of Range' Error After a Recovery or Upgrading to Windows 7
    Monitor is Blank
    Please respond with the answers to these questions so I can further assist you. Thank you for posting on the HP Forums. Have a great day!
    Please click the "Thumbs Up" on the bottom right of this post to say thank you if you appreciate the support I provide!
    Also be sure to mark my post as “Accept as Solution" if you feel my post solved your issue, it will help others who face the same challenge find the same solution.
    Dunidar
    I work on behalf of HP
    Find out a bit more about me by checking out my profile!
    "Customers don’t expect you to be perfect. They do expect you to fix things when they go wrong." ~ Donald Porter

  • Does anyone have problems with the 7th generation nano not being recognized by windows?

    Just got my nano and although it worked the first time I plugged it in to my laptop, it now can not be recognized by Windows, it is completely dead and will not charge at all...anyone else having this issue?

    Hello Chloe
    Start with the first article below to go over some general hardware troubleshooting to get a charge on your iPod nano. If you get that to turn on and you cannot get it to show up on your computer, then the second article should sort you out.
    iPod nano (7th generation): Hardware troubleshooting
    http://support.apple.com/kb/TS4433
    iPod not appearing in iTunes
    http://support.apple.com/kb/TS3716
    Regards,
    -Norm G.

  • I have problems with the agenda i can not seen the 12 months

    Dear Gentlemens and Womans
    I have download one week a go Mountain Lion,  but i have  a problem on my macbook in the agenda  i have  also an imac and ipad and i use icloud
    I can in de agenda use the day, the week, the month   but not the year ware you can see the 12 month  on my Imac can i well see the year
    Who can help me with this problem
    greatings
    Ad van Andel  
    [email protected]

    Contact Apple Support.  Here's how:
    http://support.apple.com/kb/HE57

  • Has anyone had a problem with the iPod touch 4 not charging?

    I sent my iPod 4 in to get fixed and they are saying its my fault it won't charge. All of a sudden it quit charging and charging port is messed up. All I did was plug in the charger. I have had the iPod less than 2 months.

    - Inspect the dock connector on the iPod for bent or missing contacts, foreign material, corroded contacts, broken, missing or cracked plastic. I Thin you did this and found problems
    - Make an appointment at the Genius Bar of an Apple store.
      Apple Retail Store - Genius Bar                 
    Apple will exchange your iPod for a refurbished one for $199 for 64 GB 4G and $99 for the other 4Gs. They do not fix yours.
    Apple - iPod Repair price                       
    A third-party place like the following will replace the connecto for less. Google for more.
    iPhone Repair, Service & Parts: iPod Touch, iPad, MacBook Pro Screens

  • Tried to download trail version of CS6 had problems with the instalation primarily - did not work (Windows 7). So deleted all files and re-installed the creative cloud now no apps showing on CC? Please help!

    Downloaded CS6 from the cloud on trial version a few weeks back. During instalation my computer crashed and left it kind of partially installed i think. I deleted the files i could find to try and re-instal. Have managed to get the creative cloud back but when i load it up im not given any options - no apps or home or anything just the shell. Does anyone know whats up or cangive me some advice to get my trial please. Many thanks

    When I try to install trial version now it brings up the cloud but nothing happens. Any ideas? Thankyou

  • Has anybody had problems with the global settings panel not working?

    I am on PC, Vista 64bit.  updated to the new flash player and now flash player will not allow me to chage anything in the global settings panel.  I need to allow third party content for editing wix sites and I cannot change any of the settings.  I have uninstalled and reinstalled many times and nothing has helped.
    My adobe reader also crashed and now will not load after uninstall.  Very frustrating!  Everythign worked fine before the update.
    Any ideas?

    To allow Flash Player settings, close all browser windows, then open Windows Explorer and type %APPDATA%\Adobe in the address bar. Delete the 'Flash Player' folder in there.  Do the same in %APPDATA%\Macromedia
    Regarding Adobe Reader, please post in that forum.

  • Has anyone else had problems with the iPhone 4S camera not focusing properly?

    Hi, now I own a iPhone 4S, and have noticed that it takes extremely horrible pictures and video.
    The focus is only decent on the right half of the photo and is extremely blurry on the left hand side.
    Here is a picture taken off my phone http://iforce.co.nz/i/fqxa0oh3.jcz.jpg
    If you have any suggestions, please let me know.
    Many thanks, Ian.

    Same for me! my iphone 4s gets extremely hot whit IOS 7.0.2.

Maybe you are looking for

  • Clearing g/l account with upload template and ZFG1

    Hi there I wonder if someone can help me please. I need to manually clear some line items from 2 g/l accounts that cannot be cleared using the clearing program (they are duplicate documents created in error and since reversed therefore account balanc

  • Max number of dataspaces in table space

    I am getting the error ORA-1686 max # files(1023)reached for tablespace SAPPR1 when trying to create a new dataspace. The tablespace has 1023 2GB dataspaces in it. What is my best option for this tablespace? Message was edited by: user582335

  • Flash on mac os 10 skips

    I feel silly posting this but I have read the board and the KB to no avail. When I play an favorite clip it skips thru it like someone was on the ff button. I have tried all the regular fixes like install, uninstall but am having no luck does any one

  • System error when trying to open Ngage?

    It was working up until today. Now I just get "system error" when I try opening it. I have tried installing n gage again and even deleting n gage but still the same problem. Any ideas?

  • IOS8 map app tells me to turn on Location Services which are already turned on

    I am trying to use the iPhone map app. I tap an address in Contacts; the map app opens with a pin at the desired address.  When I hit the car icon, I get a message:  Turn On Location Services to Allow Maps to Determine Your Location Location Services