XI getting slow after process very large message.
Hi All,
I had load data more than 50 MB after that I cannot access any function from browser(RWB,message monitoring,..) but in ABAP side that still work fine. I guess that j2ee engine still process the message that is a reason. So how I can stop the process when I load the the large files. I already try delete queue,delete workitem from SWWL,cancel the message. But nothing happen XI still very slow.
Do I have to only start/stop J2EE engine?
Could you please to advice?
Thanks
Park
HI Park Saeiam ,
in adition to Marcos
If the "browser" functions are not working it is possible that the java part of the XI just crashed and you have to restart the J2EE engine. your message may show error HTTP STATUS CODE 401 authorization error
this error generally occurs when java part of the XI crashes and server is unable to recognise your browser and your credentials.
In that case you need to restart J2EE engine and also you need to manually restart all asynchronous messages which will come in error due to restarting of J2EE engine.
I advise you not to create such huge messages.
also you may try to send this kind of huge message through IDOC package
IDocs are normally sent in packages between systems. You configure this within the IDoc configura-tion partner profile by specifying processing mode Collect IDocs and transfer. IDocs are then proc-essed by report RSEOUT00 in the sender system. During inbound processing in the IDoc adapter of the Integration Server, this IDoc package is split up into single XI messages. Therefore, an IDoc pack-age cannot be processed as one unit within XI. This also has an impact on performance.
In SP11, a solution will be available for IDoc adapter outbound processing to collect IDoc-XML mes-sages and transfer them as an IDoc package, as in the traditional IDoc world.
The IDoc adapter is designed to be able to process IDoc-XML structures that represent IDoc pack-ages.
for more help you can refer SAP XI TUNING GUIDE
Thanks
sandeep sharma
PS: if helpful Reward points
Similar Messages
-
In Mail on iMac, successfully running OS X Lion, one mailbox on My Mac for "Recovered Messages (from AOL)" keeps showing 1 very large message (more than 20 Mb) that I just cannot seem to delete. Each time I go into my In Box, the "loading" symbol spins and the message appears in the "Recovered Messages" mailbox. How can I get rid of this recurrent file, please?
At the same time, I'm not receviving any new mails in my In Box, although, if I look at the same account on my MacBook Pro, I can indeed see the incoming mails (but on that machine I do not have the "recovery" problem).
The help of a clear-thinking Apple fan would be greatly appreciated.
Many thanks.
From Ian in Paris, FranceIan
I worked it out.
Unhide your hidden files ( I used a widget from http://www.apple.com/downloads/dashboard/developer/hiddenfiles.html)
Go to your HD.
Go to Users.
Go to your House (home)
there should be a hidden Library folder there (it will be transparent)
Go to Mail in this folder
The next folder ( for me ) is V2
Click on that and the next one will be a whole list of your mail servers, and one folder called Mailboxes
Click on that and there should be a folder called recovered messages (server) . mbox
Click on that there a random numbered/lettered folder -> data
In that data folder is a list of random numbered folders (i.e a folder called 2, one called 9 etc) and in EACH of these, another numbered folder, and then a folder called messages.
In the messages folder delete all of the ebmx (I think that's what they were from memory, sorry I forgot as I already deleted my trash after my golden moment).
This was GOLDEN for me. Reason being, when I went to delete my "recovered file" in mail, it would give me an error message " cannot delete 2500 files". I knew it was only 1 file so this was weird. Why 2500 files? Because if you click on the ebmx files like I did, hey presto, it turned out that they were ALL THE SAME MESSAGE = 2500 times. In each of those folders in the random numbers, in their related message folder.
Now remember - DONT delete the folder, make sure you have gone to the message folder, found all those pesky ebmx files and deleted THOSE, not the folder.
It worked for me. No restarting or anything. And recovered file. GONE.
Started receiving and syncing mail again. Woohoo.
Best wishes. -
hello all, always my firefox get slow after being used for 2h or 1h i get this message in my event viewer
Faulting application name: plugin-container.exe, version: 36.0.1.5542, time stamp: 0x54f851c0
Faulting module name: xul.dll, version: 36.0.1.5542, time stamp: 0x54f85115
Exception code: 0xc0000005
Fault offset: 0x011afb85
Faulting process id: 0x1528
Faulting application start time: 0x01d05c55ff96f561
Faulting application path: C:\Program Files (x86)\Mozilla Firefox\plugin-container.exe
Faulting module path: C:\Program Files (x86)\Mozilla Firefox\xul.dll
Report Id: 3d950c7c-c849-11e4-8099-002186899b43
looking forward,[[What is plugin-container]] and how to troubleshoot it becoming slow: [[Firefox is slow - How to make it faster]]
-
I wanted to know if iphone 3gs gets slow after updating to ios5?
I wanted to know if iphone 3gs gets slow after updating to ios5?..and what features are missing for 3gs
I have iphone3gs just upgraded to iOS5 just now.
So far i am not experiencing any slow down because of the new iOS.. Rather i feel like its slightly faster than the previous version (4.3.5)..
One of the first thing i want to try was the location based reminders.. After upgrade i coudn't find the option, and went trough the user manual to find out that it is not available for 3gs..:( -
Hi,
is anyone experienced in boosting performance of large message processing in XI? I've got messages of about 3MB size. Their processing in XI takes about 5 minutes. The respective mappings are quite simple. I have seen that I can configure a special queue for large messages but the usage of this queue doesn't help.
Kind regards,
HeikoHi,
3MB essage shouldnt be taking 5 mins for getting processed. IS there a lot of load on your Inegration Server?? In SXMB_MONI do you see the message in Waiting stage for a lot of time and then is it getting processed??
if so hen You can try to priotirize this particular message to be processed first
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/59e837d3-0201-0010-c096-dc1869733413
cheers,
Naveen -
System gets Slow after 10.6.5 update
So, I just updated it using standalone combo installer and straight away notice that to repair the disc permitions now takes 3 mins, before it took only 1min. even if there is nothing to repair. and futher more my whole system gets very slow after a few hours of using safari, skype, vuze, together and wasn't able to shut down just after using safari alone, had to press the power. havent been using anything else for so long so dont know how about it, but it seems to be ok. ah, im using airport to get to the internet if that's important.
See:
Mac Maintenance Quick Assist,
Mac OS X speed FAQ,
Speeding up Macs,
Macintosh OS X Routine Maintenance
Essential Mac Maintenance: Get set up,
Essential Mac Maintenance: Rev up your routines,
Maintaining OS X,
Five Mac maintenance myths, and
Myths of required versus not required maintenance for Mac OS X for information. -
Iphone get slower after downlaoding ios 7
my iphone 4 has become very slow after downlaoding ios 7. games stuck and apps open slowly,screen lock stuck some time. during typing a message text shows after some time.
Hi tj786,
Thanks for visiting Apple Support Communities.
If you are experiencing performance issues after upgrading to iOS 7, follow these steps:
If you have not already, I recommend first restarting, and then resetting your iPhone:
Restarting your device
Press and hold the Sleep/Wake button for a few seconds until the red "slide to power off" slider appears, and then slide the slider.
Press and hold the Sleep/Wake button until the Apple logo appears.
Note: Reset your device only if you are unable to restart it.
Resetting your device
Press and hold the Sleep/Wake button and the Home button together for at least ten seconds, until the Apple logo appears.
You can find the full article with these steps here:
iPhone, iPad, iPod touch: Turning off and on (restarting) and resetting
http://support.apple.com/kb/ht1430
If you are still experiencing the same issue, I recommend resetting all settings next:
Go to Settings > General > Reset, then choose Reset All Settings: All your preferences and settings are reset.
Reset iPhone settings
http://help.apple.com/iphone/7/#/iph7a2a9399b
If the issue persists, the last thing I recommend is backing up and restoring your iPhone:
iOS: How to back up and restore your content
http://support.apple.com/kb/HT1766
iTunes: Restoring iOS software
http://support.apple.com/kb/HT1414
Best,
Jeremy -
Getting Slow after Migration to a new Mac
Every time, I've bought a new Mac and using Migration Assistant to migrate my data to new Mac. The new Mac is getting slower, not look like a hardware upgrade. For example, my Macbook Pro i5 needs more than 10 seconds to start MS Word while my MBA needs less than 2 seconds.
Will there so many scrap or unused data migrated from my old mac? And my "migration data" has been accumulated for several times since 5~6 years ago. I've used this "migration data" for every new Mac arrives. So, This is not the first time I've expereinced, this was happens several times when I bought a new Mac.
Please note that Spotlight Indexing is complete.
Thanks.
Regards,Thanks for your suggestions. I've updated the software already (noticing that it was system, i-movie and garage band which were being updated) but that didn't help. Previously that did help for i-photo though.
Anyway, I tried the sudo thing, I got the following messages but still no i-movie :
updatedyld_sharedcache: warning mismatched install path in /System/Library/CoreServices/RawCamera.bundle/Contents/Resources/MetadataLib.dy lib for /usr/lib/libgcc_s.1.dylib
updatedyld_sharedcache: warning mismatched install path in /System/Library/CoreServices/RawCamera.bundle/Contents/MacOS/RawCamera for /usr/lib/libgcc_s.1.dylib
updatedyld_sharedcache: warning mismatched install path in /System/Library/CoreServices/RawCamera.bundle/Contents/Resources/MetadataLib.dy lib for /usr/lib/libgcc_s.1.dylib
updatedyld_sharedcache: warning mismatched install path in /System/Library/CoreServices/RawCamera.bundle/Contents/MacOS/RawCamera for /usr/lib/libgcc_s.1.dylib
updatedyld_sharedcache: warning mismatched install path in /System/Library/CoreServices/RawCamera.bundle/Contents/MacOS/RawCamera for /usr/lib/libgcc_s.1.dylib
updatedyld_sharedcache: warning mismatched install path in /System/Library/CoreServices/RawCamera.bundle/Contents/Resources/MetadataLib.dy lib for /usr/lib/libgcc_s.1.dylib
Any other ideas? -
Firefox gets slow after awhile and also hangs and sometimes i get plugin-container.exe error
Hello, it's a while that Firefox gets slow and also hangs and sometimes i get plugin-container.exe error...
I'm not sure but maybe it often happens after monitor goes to Screen Saver or after it turns off...
Error signature
AppName: plugin-container.exe AppVer:1.2.9.3951
ModVer: 5.1.2600.5512 Offset:0000100bYou can run Java in Firefox.exe instead of plugin-container.exe, but I'm not sure that actually would be better than where you are now.
(1) In a new tab, type or paste '''about:config''' in the address bar and press Enter. Click the button promising to be careful.
(2) In the filter box, type or paste '''java''' and pause while the list is filtered
(3) If '''dom.ipc.plugins.java.enabled''' is true (bolded), right-click it and choose Reset (or double-click it to toggle).
If that value already is false, you might be having a problem with another common plugin such as Flash. -
Hi,
I bought my mac last month and everything was super! Until recently, I just noticed that my mac is getting slow. For example, if I go to 'Finder/Applications my sub-menus don't open as they used to (I have as "View: Show items as icons, in a list, in columns, or with cover flow" . It takes second to do preview to look at folders.
Please advice. What can I do????????? Everything is fine. I am happy with it I just liked the quick/fast privilege that Mac has
Thank you so much.
cnia2here is the answer to that problem, might sound crazy, but it dose work !!
"The way to fix the five second openning on the folders. Jack the double mouse click speed to the highest setting. The higher the double click the faster the folders in the finder open. Sounds crazy, but it work for me. When set to a low setting the folders in the finder take about 3-5 seocnds to open. I sent bug reports to Apple."
http://forums.macrumors.com/showthread.php?t=464580&highlight=Finderbecomeslow -
Mac gets slow after installed OS X 10.5 Leopard
Dear All,
Hope you had a great Christmas!!
As I mentioned, after I upgrade my OS X10.4 to 10.5 Leopard my Mac gets very slow to start the machine. Normally takes less than minute to start to operate, but now it takes long time to load.
First I thought it because of my hard drive running low space so I moved most of files to my external hard drive, left 57G free space but nothing is improved.
Any ideas why? Anyone knows how to improve the speed?
Thanks for your helps!
MichaelSounds plenty sufficient to me.
according to a quick google search, mdworker is related to spotlight, indexing what/where/content of files.
there may be other ppc stuff lurking, especially if this is not your first mac and you used migration wizard to move from a PPC to intel mac.
Thats what I did...and was quite unhappy with the perfrmance.
I finally found a QT plugin that was (one of the things) killing my quads performance. (select the plugin, do a get info, it'll tell you if its PPC or universal) QT plugins do not show in activity monitor.
Found another firefox plugin that did the same.
activity monitor shows relative processor usage.
with no programs open other than activity monitor, whats using a high percentage of processor?
Oh, and if you have an old copy of Norton utilities, that will cause all sorts of problems. The only Norton/symantec product that is still OK to use is their anti-virus, and then, only version 8 or higher. System saver and all the other parts of NU just cause problems under X.
As longs as you have at least 15% of your disk free, you should be OK there.
Much below that, and the system will complain and start doing strange things. -
File Server/AFP gets slow after a week or so
Hi all,
I manage a file server at our office here, with around 20-30 users, running 10.3.9 server. Users connect via AFP for general office duties, but also remote-desktop into a windows server using Rdesktop via X11. They use SMB to access their files from the windows side.
I find after a week or so that logins to the shares, and general file access gets incredibly slow, and grinds to a halt eventually, but comes good after the server is rebooted.
It is usually quick to authenticate in any case, but takes an age to bring up the list of shares that the users can pick from (probably 10-15 at most depending on their permissions). Even after a fresh reboot it takes about 10 seconds to bring up the list of shares to pick from. Is there any way to fix this?
I find that is someone has their computer set to calculate folder sizes on a server drive/share it can make the server grind to a standstill, but even with everyone set up correctly it still goes slowly all by itself after a few days/weeks of running. Logging in via Remote Desktop becomes slow at this point too.
I've tried some of the tips in this thread below with only limited success.
http://discussions.apple.com/thread.jspa?threadID=343979&tstart=15
Any help is greatly appreciatedAs you upgraded the router's firmware,reset the router for 30 seconds and reconfigure the router from scratch.
On the router setup page,Under the Wireless tab,click on the Advanced Wireless Settings...Change the Beacon Interval to 75, Change the Fragmentation Threshold to 2304,Change the RTS Threshold to 2307 and Click on Save Settings... -
How to process very large internal tables and stop time limit
Hello Experts,
I am currently having a problem on how to fix a certain report where we process more than 500 thousand
records in the internal table. I can't think of any solution that can make the below code any faster.
I just checked in our prod server and the error time limit exceeded stops in the loop statement. Anyway,
Below is the code. Any input will be appreciated. Thanks guys and take care!
Get sales document and corresponding line item
SELECT avbeln bposnr a~auart
avkorg avtweg a~kunnr
bmatnr bpstyv b~spart
FROM vbak AS a
INNER JOIN vbap AS b
ON avbeln = bvbeln
APPENDING TABLE lt_vbap
WHERE a~auart IN lr_auart
AND a~vbeln IN s_vbeln
AND a~vbeln IN s_vbill
AND a~vbtyp EQ p_vbtyp.
LOOP AT lt_vbap ASSIGNING <wa_vbap>.
IF <wa_vbap>-auart EQ 'ZUCI' OR
<wa_vbap>-auart EQ 'ZURV' OR
<wa_vbap>-auart EQ 'ZUPR'.
Check ifa delivery document has been created
CLEAR wa_vbill.
SELECT SINGLE vbeln
FROM vbfa
INTO wa_vbill
WHERE vbelv = <wa_vbap>-vbeln
AND ( ( vbtyp_n EQ 'J' AND vbtyp_v = 'C' )
OR ( vbtyp_n EQ 'T' AND vbtyp_v = 'H' ) ).
IF sy-subrc <> 0.
<wa_vbap>-del_ind = 'X'.
CONTINUE.
ELSE.
Check if within selection parameters
CLEAR wa_likp.
READ TABLE lt_likp INTO wa_likp WITH KEY vbeln = wa_vbill.
IF sy-subrc <> 0.
SELECT SINGLE *
FROM likp
INTO wa_likp
WHERE vbeln = wa_vbill.
APPEND wa_likp TO lt_likp.
ENDIF.
IF NOT wa_likp-wadat_ist IN s_erdat.
<wa_vbap>-del_ind = 'X'.
CONTINUE.
ENDIF.
ENDIF.
ELSE.
Check if this has already been billed
CLEAR wa_vbill.
SELECT SINGLE vbeln
FROM vbfa
INTO wa_vbill
WHERE vbelv = <wa_vbap>-vbeln
AND ( ( vbtyp_n EQ 'M' AND vbtyp_v = 'C' )
OR ( vbtyp_n EQ 'O' AND vbtyp_v = 'H' ) ).
IF sy-subrc <> 0.
<wa_vbap>-del_ind = 'X'.
CONTINUE.
ELSE.
Check if within selection parameters
CLEAR wa_vbrk.
READ TABLE lt_vbrk INTO wa_vbrk WITH KEY vbeln = wa_vbill.
IF sy-subrc <> 0.
SELECT SINGLE vbeln fkdat
FROM vbrk
INTO wa_vbrk
WHERE vbeln = wa_vbill.
APPEND wa_vbrk TO lt_vbrk.
ENDIF.
IF NOT wa_vbrk-fkdat IN s_erdat.
<wa_vbap>-del_ind = 'X'.
CONTINUE.
ENDIF.
ENDIF.
ENDIF.
Get Material Type and Division
IF <wa_vbap>-spart IS NOT INITIAL.
SELECT SINGLE mtart
FROM mara
INTO lv_mtart
WHERE matnr = <wa_vbap>-matnr.
ELSE.
SELECT SINGLE mtart spart
FROM mara
INTO (lv_mtart,<wa_vbap>-spart)
WHERE matnr = <wa_vbap>-matnr.
ENDIF.
If material division is same as parameter division
IF <wa_vbap>-spart = p_spart.
If material is subsidiary-owned
IF <wa_vbap>-spart in lr_spart.
If customer is the same as that of parameter division
IF <wa_vbap>-kunnr NE lr_kunnr OR <wa_vbap>-auart EQ 'ZUDO' OR <wa_vbap>-auart EQ 'ZUS3'.
If item is a free good, tag order type as 'ZUPR' to treat
the item the same way as 'ZUPR'
IF <wa_vbap>-pstyv = 'TANN' OR
<wa_vbap>-pstyv = 'ZKNF' OR
<wa_vbap>-pstyv = 'ZKNN' OR
<wa_vbap>-pstyv = 'ZFLO' OR
<wa_vbap>-pstyv = 'ZKBF' OR
<wa_vbap>-pstyv = 'ZKLN' OR
<wa_vbap>-pstyv = 'ZREN'.
lv_auart = <wa_vbap>-auart.
IF lv_auart EQ 'ZUPR'.
CLEAR <wa_vbap>-pstyv.
ENDIF.
<wa_vbap>-auart = 'ZUPR'.
CLEAR: lv_mtart.
ENDIF.
Set Cost of Goods Sold Account
<wa_vbap>-cogshkont = '0050000010'.
CASE <wa_vbap>-auart.
WHEN 'ZUPR'.
CASE lv_mtart.
WHEN 'ZUL4'.
<wa_vbap>-del_ind = 'X'.
CONTINUE.
WHEN OTHERS.
Check if division is defined in mapping table
READ TABLE lt_ulsub INTO wa_ulsub
WITH KEY spart = <wa_vbap>-spart.
IF sy-subrc = 0.
<wa_vbap>-kostl = wa_ulsub-kostlp.
<wa_vbap>-bukrs = wa_ulsub-bukrsp.
<wa_vbap>-type = 'TP'.
Set Cost of Goods Sold Account
IF lv_auart = 'ZUPR'.
<wa_vbap>-cogshkont = '0050000006'.
ENDIF.
ELSE.
<wa_vbap>-del_ind = 'X'.
CONTINUE.
ENDIF.
ENDCASE.
WHEN 'ZUCI' OR 'ZUDO' OR 'ZURD' OR 'ZUS3'.
Get cost center from header text
PERFORM get_cost_center USING <wa_vbap>-vbeln
CHANGING <wa_vbap>-kostl.
* Change by LGTE 11-02-2006
Check if Medvale sales
IF <wa_vbap>-auart EQ 'ZUCI' AND <wa_vbap>-kostl IS INITIAL.
<wa_vbap>-del_ind = 'X'.
CONTINUE.
Check if UL Cost Center
ELSEIF <wa_vbap>-kostl NE gv_ul_kostl.
IF <wa_vbap>-kostl NE gv_ul_kostl.
* End change.
Get material division and check if subsidiary product
SELECT SINGLE spart FROM mara INTO <wa_vbap>-spart
WHERE matnr = <wa_vbap>-matnr.
READ TABLE lt_ulsub INTO wa_ulsub
WITH KEY spart = <wa_vbap>-spart.
IF sy-subrc = 0.
Get requestor's company code from cost center data
SELECT SINGLE bukrs
FROM csks
INTO <wa_vbap>-bukrs
WHERE kokrs = lc_kokrs
AND kostl = <wa_vbap>-kostl
AND datbi GE sy-datum
AND datab LE sy-datum.
IF sy-subrc = 0.
For donations, only include if a subsidiary company is donating
IF <wa_vbap>-auart EQ 'ZUDO' OR <wa_vbap>-auart EQ 'ZUS3'.
IF NOT <wa_vbap>-kunnr IN lr_kunnrnt.
<wa_vbap>-del_ind = 'X'.
CONTINUE.
ENDIF.
CHECK <wa_vbap>-kunnr IN lr_kunnrnt.
ENDIF.
For ZUCI, if the company code of the costcenter is UL, do not include
IF <wa_vbap>-bukrs EQ gc_ul_bukrs.
<wa_vbap>-del_ind = 'X'.
CONTINUE.
ENDIF.
IF <wa_vbap>-bukrs = wa_ulsub-bukrsp.
<wa_vbap>-type = 'RV'.
ELSE.
<wa_vbap>-type = 'RV'.
ENDIF.
ELSE.
Check if customer defined in table ZFI_DONATIONS
SELECT SINGLE kunnr FROM zfi_donations INTO <wa_vbap>-kostl
WHERE kunnr = <wa_vbap>-kostl.
IF sy-subrc <> 0.
lv_error = 'X'.
CONCATENATE 'Cost center/Customer' <wa_vbap>-kostl
'does not exist. Please check Sales Order'
<wa_vbap>-vbeln
INTO lt_disp-message SEPARATED BY space.
lt_disp-type = 'E'.
<wa_vbap>-del_ind = 'X'.
APPEND lt_disp.
CONTINUE.
ELSE.
<wa_vbap>-type = 'RV'.
ENDIF.
ENDIF.
ELSE.
<wa_vbap>-del_ind = 'X'.
CONTINUE.
ENDIF.
ELSE.
<wa_vbap>-del_ind = 'X'.
CONTINUE.
ENDIF.
WHEN OTHERS.
<wa_vbap>-del_ind = 'X'.
CONTINUE.
ENDCASE.
ELSE.
<wa_vbap>-del_ind = 'X'.
CONTINUE.
ENDIF.
ELSE.
<wa_vbap>-del_ind = 'X'.
CONTINUE.
ENDIF.
Get company code description
SELECT SINGLE butxt FROM t001 INTO <wa_vbap>-butxt
WHERE bukrs = <wa_vbap>-bukrs.
IF sy-subrc <> 0.
SELECT SINGLE name1 FROM kna1 INTO <wa_vbap>-butxt
WHERE kunnr = <wa_vbap>-kostl.
ENDIF.
Change by LGTE on 11-02-2006
Get Transaction Type
CASE <wa_vbap>-auart.
WHEN 'ZUPR'. "UL Promo/Samples
IF <wa_vbap>-pstyv = 'TANN' OR
<wa_vbap>-pstyv = 'ZKNF' OR
<wa_vbap>-pstyv = 'ZKNN' OR
<wa_vbap>-pstyv = 'ZFLO' OR
<wa_vbap>-pstyv = 'ZKBF' OR
<wa_vbap>-pstyv = 'ZKLN' OR
<wa_vbap>-pstyv = 'ZREN'.
<wa_vbap>-ltext = 'Free Goods'.
ELSE.
<wa_vbap>-ltext = 'Product Samples'.
ENDIF.
WHEN 'ZUDO'. "Donations - R/3
<wa_vbap>-ltext = 'Donations - R/3'.
WHEN 'ZUCI'. "Donations - ZUCI
<wa_vbap>-ltext = 'Donations - ZUCI'.
WHEN 'ZURD' OR 'ZUS3'. "UL Returns - Donation
<wa_vbap>-ltext = 'UL Returns - Donation'.
ENDCASE.
Get material description
SELECT SINGLE maktx
FROM makt
INTO <wa_vbap>-maktx
WHERE matnr = <wa_vbap>-matnr
AND spras = sy-langu.
Get division from material master
SELECT SINGLE spart FROM mara INTO <wa_vbap>-spart
WHERE matnr = <wa_vbap>-matnr.
Get division description
SELECT SINGLE vtext
FROM tspat
INTO <wa_vbap>-vtext
WHERE spras = sy-langu
AND spart = <wa_vbap>-spart.
Get Valuation Class
SELECT SINGLE bklas
FROM mbew
INTO lv_bklas
WHERE matnr = <wa_vbap>-matnr.
Determine G/L of FG Based on Valuation Class
READ TABLE lt_val_cls INTO wa_val_cls WITH TABLE KEY bklas = lv_bklas.
<wa_vbap>-fghkont = wa_val_cls-hkont.
Determine Cost Center of Cogs Account
READ TABLE lt_ulsub INTO wa_ulsub WITH TABLE KEY spart = <wa_vbap>-spart.
<wa_vbap>-cogskostl = wa_ulsub-kostlp.Hi!
First of all, don't use SELECT SINGLE inside of LOOP,
instead SELECT all relevated rows before LOOP in intertal tables (using FOR ALL ENTRIES) and then use
READ TABLE WITH KEY BINARY SEARCH.
it will match faster.
for example:
IF NOT lt_vbap[] IS INITIAL.
SELECT vbeln
FROM vbfa
INTO lt_vbill
FOR ALL ENTRIES IN lt_vbap
WHERE vbelv = lt_vbap-vbeln.
ENDIF.
SORT lt_vbap BY vbeln.
READ TABLE lt_vbill WITH KEY vbeln = <wa_vbap>-vbeln
BINARY SEARCH. -
Hello,
I have had this issue for a long time now and just dealt with it by always reading my mail in IE, which I dislike very much. It's very strange...When I click on my Yahoo Mail shortcut (or access it any other way), the page shows up for several seconds very distorted and totally magnified before it reloads in IE, at which point this is in my browser window: chrome://ieview/content/reloaded.html. I set the page to automatically load in IE because I cannot read the distorted page what-so-ever in Firefox. At one point, it worked for a couple days and I thought it somehow fixed by itself. However, it went right back to messing up. The thing that initially triggered this was that my cat was stepping all over my keyboard one day and somehow she hit a combination of keys to cause this issue. Any help would be much appreciated!You're welcome
-
USB 2.0 devices get slow after standby / hibernation when docked for Windows 7
Hello,
I am the proud owner of a Lenovo ThinkPad T400. I am having difficulty with my usb 2.0 devices not hooking up to my computer after I resume my computer from hibernation or sleep modes. I tried searching the forum for someone who has had the problem and I seem to have found nothing, but if I missed something I am sorry for the inconvenience. I found this link (http://www-307.ibm.com/pc/support/site.wss/document.do?lndocid=MIGR-73031) but this fix is for XP. Should this still work the same for 7? Is there any other fix that I do not know about?
Thanks in advance for your help.pjg,
Did you have the same problem with your T500? I did not ever to seem to have this problem until recently. I am trying to figure out if I am missing something inside windows that would detect all of the USB components plugged into it. I don't remember having this problem with Vista. I would not think that there should be much of a difference, with respect to this issue, from Vista to 7.
I bought my machine when Vista was available and I did not notice a long lag time for USB devices, so I upgraded to 7 and I just re-installed all of the software that Lenovo puts on their machines (the preloaded factory stuff) and there was no change. I am running out of ideas to try and fix this.
Maybe you are looking for
-
Trying to Read In Values Into Hash
I am reading in a file...and i have this file being read Fileds:Name|Address|SS john|billsbury drive|030303030 how do i make a hash table so that when my tokener reads Name, it could store john so that it would be Name = John Address = billsbuy drive
-
Creating an XML file from multiple sql tables
I have very little xml experience, but need to generate an xml file from multiple table. I know what the output needs to look like, but do not know how to setup the code. Any help would be appreciated. - <Practice SourceID="EPIC" ExternalPracticeID="
-
Just purchased my macbookpro last week. Ever since a couple of days ago I have had a prompt that has been randomly coming up telling me to there is a problem and that i need to shut down immediately. I can't close out of my work, since the screen is
-
My yahoo mail works on safari but not firefox
tonight i still can receive yahoo mail but the top line is gray so i can't send mail, i can't delete mail with the top trash can, i cannot edit or add a new contact. please advise. apple laptop, all up to date
-
Anybody use Drop Drawers application as well as Logic on their computer? If so, has it ever caused problems? Thanks Ed Dual 2.3 Ghz PPC G5 Mac OS X (10.4.9)