Problem when Different Sorage Location
Hi all,
Here i have one report which fetch data of material consumption. Report working properly. But here i have one Item like OIL and when this material use from two different storage location for making one Item. this time. My report fetch two time quantity value in ALV. means i am not getting sum of the use material like OIL which is use from two storage location.
So can u please kindly tell me how can i put If condition in my below coding . and this condition can i put on which table and which filed. Kindly tell me please.
My code is Below.
SELECT a~budat a~mblnr b~matnr b~menge b~bwart b~charg
INTO CORRESPONDING FIELDS OF TABLE it_rawmat
FROM mkpf as a inner join mseg as b on a~mblnr = b~mblnr
where b~bwart = '261' and b~werks in werks and b~matnr in matnr and a~budat in budat.
IF sy-subrc 0.
MESSAGE ' No Data For This Selection' TYPE 'I'.
SUBMIT ZPP_RAWMAT_CONSUMPTION VIA SELECTION-SCREEN.
ENDIF.
LOOP AT it_rawmat.
select single maktx
from makt
into it_rawmat-maktx
where matnr = it_rawmat-matnr.
select single matnr menge charg
from mseg
into (it_rawmat-matnr1, it_rawmat-menge1 , it_rawmat-charg1)
where mblnr = it_rawmat-mblnr AND bwart = '131'.
SELECT SINGLE maktx
from makt
into it_rawmat-maktx2
where matnr = it_rawmat-matnr1.
SELECT single matnr stlnr
from mast
INTO (it_rawmat-matnr3, it_rawmat-stlnr)
where matnr = it_rawmat-matnr1.
select SINGLE menge
from stpo
into it_rawmat-bomit
where stlnr = it_rawmat-stlnr and idnrk = it_rawmat-matnr.
if it_rawmat-bomit 0.
it_rawmat-bom_prcntge = ( it_rawmat-bomit * 100 ).
endif.
CONCATENATE IT_RAWMAT-MATNR IT_RAWMAT-CHARG INTO IT_RAWMAT-objek.
SELECT SINGLE CUOBJ
FROM INOB
INTO IT_RAWMAT-CUOBJ
WHERE OBJEK = IT_RAWMAT-objek.
IT_RAWMAT-OBJEK1 = IT_RAWMAT-CUOBJ .
SELECT SINGLE ATWRT
FROM AUSP
INTO IT_RAWMAT-ATWRT
WHERE OBJEK = IT_RAWMAT-OBJEK1.
Thanks
keyur chauhan
not answer
Similar Messages
-
Datagrid scrolling problem when different items are in the same column
I have a datagrid which I am populating with different items (LinkButtons, Images, Labels). However when there are different types of items in the same column and when i try to scroll everything gets messed up (Images get overlapped with each other or the labels get overlapped with images).
I am overloading the "IDropInListItemRenderer" to create different types of items in each cell and I am overloding the "updateDisplayList" function
Any ideas as to why the items get messed up during scrolling? Is there some other preperty of IDropInListItemRenderer that should be overloaded?Hi Subeesh Arakkan,
Thanks. This is the exact problem that I have. Althought my overloaded functions are a little different and Im trying to resolve it. But htis is a good lead.
Thanks,
Prashanth -
Hello All,
we have created shared folder on multiple client machine in domain environment on different 2 OS like-XP,Vista, etc.
from some day's When we facing problem when we are access from host name that shared folder is accessible but same time same computer when we are trying to access the share folder with IP it asking for credentials i have type again and again
correct credential but unable to access that. If i re-share the folder then we are access it but when we are restarted the system then same problem is occurring.
I have checked IP,DNS,Gateway and more each & everything is well.
Pls suggest us.
Pankaj KumarHi,
According to your description, my understanding is that the same shared folder can be accessed by name, but can’t be accessed be IP address and asks for credentials.
Please try to enable the option below on the device which has shared folder:
Besides, check the Advanced Shring settings of shared folder and confrim that if there is any limitation settings.
Best Regards,
Eve Wang
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected] -
Having a problem when scrolling through one clip: a different clip scrolls through point and time simultaneously. Can you please assist us?
First question: this is a Captivate forum, are you sure that you have a Captivate problem (with cpvc or an imported video)?
-
I was just wondering what do the different color circles mean when I've located my iphone. So far I've seen a green dot with a green bigger outlined circle around it , a gray circle , a gray circle with a gray bigger outline around it , a real big green circle like the whole circle is dark green. I'm mainly just wondering can you tell if they are texting or using the phone at the time or if its on off or on vibrate is that what those different colors mean?
Hi MyStErYbItCh69,
If you are looking for more information on the map indicators in Find My iPhone, you may find the following article helpful:
iCloud: Locate your device
http://support.apple.com/kb/PH2698
Regards,
- Brenden -
Hi, I am having a little trouble with exporting images to another drive and Catalogue and need some help if anyone can give me some advice
I am currently using Lightroom 5.6 and operating on a Mac with OSX Ver 10.9.5.
I am receiving an error problem when doing the following -
I am exporting selected photos from a particular Catalogue saved on Drive 1 to a folder created on another Drive where a Lightroom Catalogue has been created. In this Catalogue I have arranged for the images once exported to be moved to a different folder - I used the Auto Import process under the File dialogue box.
When processing the Export I receive an error message for each of the images being exported indicating the following -
Heading Import Results
Some import operations were not performed
Could not move a file to requested location. (1)
then a description of the image with file name
Box Save As Box OK
If I click the OK button to each image I can then go to the other Catalogue and all images are then transferred to the file as required.
To click the OK button each time is time consuming, possibly I have missed an action or maybe you can advise an alternative method to save the time in actioning this process.
Thanks if you can can help out.Thank You, but this is a gong show. Why is something that is so important to us all so very, very difficult to do?
-
SQL LOADER Problem when data is loaded but not come in standard formate
Hi guys,
I got problem when sql loader run data loaded successfully in table but UOM data not come in standard formate.
UOM table column contains the Unit of measure data but in my excel sheet it's look like :
EXCEl SHEET DATA:
1541GAFB07080 0 Metres
1541GAFE10040 109.6 Metres
1541GAFE10050 594.2 Metres
1541GAFE10070 126.26 Metres
1541GAFE14040 6.12 Metres
1541GAFE14050 0 Metres
1541SAFA05210 0 Metres
1541SAFA07100 0 Metres
1551EKDA05210 0 Nos
1551EKDA07100 0 Nos
1551EKDA07120 0 Nos
1551EKDA07140 0 Nos
1551EKDA07200 0 Nos.
1551EKDA08160 0 Nos.
1551EKDA08180 0 Nos.
1551EKDA08200 0 Nos.
1551EKDA10080 41 Nos.
1551EKDA10140 85 Nos.
.ctl file :
OPTIONS (silent=(header,feedback,discards))
LOAD DATA
INFILE *
APPEND
INTO TABLE XXPL_PO_REQUISITION_STG
FIELDS TERMINATED BY ','
OPTIONALLY ENCLOSED BY'"'
TRAILING NULLCOLS
( ITEM_CODE CHAR,
ITEM_DESCRIPTION CHAR "TRIM(:ITEM_DESCRIPTION)",
QUANTITY,
UOM,
NEED_BY_DATE,
PROJECT,
TASK_NAME,
BUYER,
REQ_TYPE,
STATUS,
ORGANIZATION_CODE,
LOCATION,
SUBINVENTORY,
LINE_NO,
REQ_NUMBER,
LOADED_FLAG CONSTANT 'N',
SERIAL_NO "XXPL_PRREQ_SEQ.NEXTVAL",
CREATED_BY,
CREATION_DATE SYSDATE,
LAST_UPDATED_BY,
LAST_UPDATED_DATE,
LAST_UPDATED_LOGIN
Some output came in table like:
W541WDCA05260 0 Metres|
W541WDCA05290 3 Metres|
W541WDCA05264 4 Metres|
W541WDCA05280 8 Metres|
1551EADA04240 0 Nos|
1551EADA07100 0 Nos|
1551EKDA10080 0 Nos.|
1551EKDA10080 41 Nos.|
proble in | delimiter...how to remove it ' | ' from my table when sqlloader program runnig ...... where i can change in .ctl file or excel file....it's urgent guys olz help me ..
thanksHi,
How are you extracting the data to Excel sheet ?
Please check the format type of the column in Excel sheet for UOM.
There is no issue in the SQL loader control file, but issue is there in your source excel file. (Try using a different method to extract the data to Excel sheet.)
Regards,
Yuvaraj.C -
Problem when creating contract with foreign trade / customs
Hi,
I encountered a problem when creating contract / outline agreement.
I used ME31K to create a contract with a vendor outside of our country. I suppose that I should be able to see "Foreign Trade / Customs" in "Header" menu, but this entry is gray, I cannot enter it.
I tried to create a scheduling agreement using ME31L with the same vendor and material, I can see "Foreign Trade / Customs" information. I suppose these two process are similar, aren't they?
Btw., I checked the master data according to this thread:
http://help.sap.com/saphelp_46c/helpdata/en/ed/3b6cc697e711d1b4e20000e82d81b0/content.htm
Can anyone give me some hint?
Thanks!
CharlieThese two processes are different:
The Contract agreement or the Outline Agreement is that create the centrally contract (cross-plant) where it can maintain different pricing conditions for each and every plant. It creates the Release Order with reference to Outline Agreement. No detailed delivery schedule can be made in the Release Order. No Release documentation is created. Only time-dependent conditions can be created, Some Item Category 'M' and 'W' can be used.
Whereas the Scheduling Agreement is the Plant Location what must be entered in the Scheduling Agreement. Its no need to create any other purchasing document except for delivery schedule line via Transaction ME38 or MRP running (with the appropriate setting of Source List). Delivery Schedule line items are created subject to your specific requirement. It can create both Scheduling Agreement with or without release of Documentation (subject to the Document Type LP or LPA) with the selection of either FRC or JIT delivery schedule. Either time-dependent or time-independent conditions can be created subject to the customizing in the Document Type of the Scheduling Agreement. Item Category 'M' and 'W' can not be used. -
NLS support problems when using AL32UTF8 in dads.conf
Hello,
Following a post by Joel Kallman, in one of the forum threads, about the mandatory use of AL32UTF8 in dads.conf, when running HTML DB v2.0, I changed my PlsqlNLSLanguage parameter accordingly.
Prior to the change, I experienced some problems when using non-English characters some application items appeared as gibberish when contained non-English characters, and the LIKE operator didn't perform as expected. After the change, it all seems to work OK, but now I have a different problem.
All the non-English characters in my HTML page source code appears as gibberish. On screen, at run time, everything display correctly, but the source code seems to be corrupted. It is very difficult, and very annoying to debug the pages that way. Is there a way to enjoy both worlds Using AL32UTF8 in the dads.conf, as required, and still getting a coherent HTML source code, containing non-English characters?
Thanks,
Arie.Joel,
I use the following settings and they work fine for me:
Operating system:
LANG=de_DE
LANGVAR=de_DE.UTF-8
NLS_LANG=AMERICAN_AMERICA.WE8ISO8859P1
daust:oracle[o1020]> uname -a
Linux daust.opal-consulting.de 2.4.21-37.EL #1 Wed Sep 7 13:35:21 EDT 2005 i686 i686 i386 GNU/Linux
daust:oracle[o1020]> cat /etc/redhat-release
Red Hat Enterprise Linux ES release 3 (Taroon Update 6)
daust:oracle[o1020]>
marvel.conf:
<Location /pls/htmldb>
Order deny,allow
PlsqlDocumentPath docs
AllowOverride None
PlsqlDocumentProcedure wwv_flow_file_manager.process_download
PlsqlDatabaseConnectString localhost:1521:o1020
PlsqlNLSLanguage AMERICAN_AMERICA.WE8ISO8859P1
PlsqlAuthenticationMode Basic
SetHandler pls_handler
PlsqlDocumentTablename wwv_flow_file_objects$
PlsqlDatabaseUsername HTMLDB_PUBLIC_USER
PlsqlDefaultPage htmldb
PlsqlDatabasePassword @BZvJYqadreElOqj5poCB5gE=
Allow from all
</Location>
Database:
daust:oracle[o1020]> sqlplus "/ as sysdba"
SQL> select * from nls_database_parameters;
PARAMETER VALUE
NLS_LANGUAGE AMERICAN
NLS_TERRITORY AMERICA
NLS_CURRENCY $
NLS_ISO_CURRENCY AMERICA
NLS_NUMERIC_CHARACTERS .,
NLS_CHARACTERSET WE8ISO8859P1
NLS_CALENDAR GREGORIAN
NLS_DATE_FORMAT DD-MON-RR
NLS_DATE_LANGUAGE AMERICAN
NLS_SORT BINARY
NLS_TIME_FORMAT HH.MI.SSXFF AM
PARAMETER VALUE
NLS_TIMESTAMP_FORMAT DD-MON-RR HH.MI.SSXFF AM
NLS_TIME_TZ_FORMAT HH.MI.SSXFF AM TZR
NLS_TIMESTAMP_TZ_FORMAT DD-MON-RR HH.MI.SSXFF AM TZR
NLS_DUAL_CURRENCY $
NLS_COMP BINARY
NLS_LENGTH_SEMANTICS BYTE
NLS_NCHAR_CONV_EXCP FALSE
NLS_NCHAR_CHARACTERSET AL16UTF16
NLS_RDBMS_VERSION 10.2.0.1.0####################
Using AL32UTF8 resulted in the same problem as described ( and fixed ) here: Re: Strange - HTML not written correctly
So, what is the proper configuration of the DAD, perhaps there are different ones for Unicode instances and non-Unicode instances.
~Dietmar. -
Bookmark dialog has stopped appearing when a bookmark location is selected
Firefox 3.6.12 has stopped displaying the Bookmark dialog when a URL location is selected for storage. Since the Bookmark dialog has stopped appearing, all the bookmarks can be found in the Recent Bookmarks section, and no place else.
This is different than how it operated previously. Only 1-program, Google Earth 6, which also installed Chrome, was upgraded since the Firefox bookmark dialog would appear allowing the user to select the folder destination as the link's saved location.This issue can be caused by the McAfee SiteAdvisor.
Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
* Don't make any changes on the Safe mode start window.
See:
* [[Troubleshooting extensions and themes]]
* [[Troubleshooting plugins]] -
I have 2 residences each with a printer. When I move from one place to another and try to print I always have to make sure the correct printer is shown in the print window. What can I do to make one change on my MacBook Pro when I change locations so I am not bothered with this nuisance problem?
There was a way from OS9 location manager to set a default printer for any given location. This is not the case in OSX.
You can however, easily change the default printer in Terminal.app with lpoptions -d PRINTERNAME. To view all the printers type lpstat -p. Keep in mind that the name in lpstat -p may be a little different than the name in Printer Setup Utility. You must use the lpstat -p, PRINTERNAME when changing it in Terminal.app. Of course, if the names are the same, you don't need to worry about it.
PowerBook G4 Mac OS X (10.4.9) MacBook Pro -
Always assets links are missing when changing the location.
Hi community: Can you share your ideas with me?
Since adobe muse older versions, asssets files are missing when changing the location or computer. For example develop some project on "desktop" when it move to another location( ex: Another partition or folder with different name), assets says links are missing, we have to relink all assest, is there are any way to fix it? why is that keep happenings? when i design muse templates to sell, it is serious problems to me .
Can you help me, thank you community!Hi,
Oracle have a tool for precompiling JSP's it's called ojspc
You can then turn JSP compilation off on the server.
Here's a batch file that I use.
Brenden
@echo off
set ORACLE_HOME=C:\[Jdev_install]\jdevstudio10133
if not exist %ORACLE_HOME%\j2ee\home\ojspc.jar goto error
java -Djava.compiler=NONE -Doracle.home=%ORACLE_HOME% -jar %ORACLE_HOME%\j2ee\home\ojspc.jar -extend com.orionserver.http.OrionHttpJspPage yourapp.war
goto end
:error
@echo ERROR: %%ORACLE_HOME%%\j2ee\home\ojspc.jar not found. Please set ORACLE_HOME to point to an OC4J or OracleAS instance and retry.
:end
if "%OS%" == "Windows_NT" endlocal -
Problems when adding iTunes to iMovie project
I recently recorded onto miniDV tape about 15 minutes of rare color film footage from 1938-40, courtesy of the University of Missouri archives. Using iMovie 6.0.1, I made about 15 clips, divided by subject and year and added some titles. I placed them into the clip viewer and previewed the movie. No problems when I previewed it. I also "unchecked" the ambient audio, because the film was silent and the only sound was the sound of the film projector picked up by the Sony TRV-30 digital camcorder. Via the Internet, I found the top songs of the those years and downloaded them from iTunes. I "clicked and dragged" the songs from iTunes into the sound track of the project. Here's where the problem arose. After I added the music, I previewed the movie. The music track played OK, but the video image was extremely "jerky;" in other words, it would appear to stop momentarily, then "jerk" to a start again. It appears that way through the entire project. Any ideas as to why it would be doing this?
Also, I have another "mystery." The icon for the project is in the "movies" folder. The icon appears as a white "one-dimentional square" with "sideways Vs" a the top and a black star on a white field on the face of the icon. When I click on the icon, the project opens (clips etc.). In previous projects, there is a two-dimentional folder with a blue front and when you open it, there are other sub-folders in it (a "media" folder" and the .mov file etc). Why does my current movie only give me the option of opening the project, and does not show the media folder and .mov file? As always, your assistance is very much appreciated. This forum has been very helpful to me in the past. --ScooperHi scooper,
... An answered the second part, I give a try to part one:
* is the project located on your Mac's local drive or external?
* is the iTunes library on the Mac's local drive or external?
* is the "internet" (<<woohoo, bad kharma;-) ) music coded as aac, mp3 or aiff? or, something different, internet "standard", as ogg, wav, whatever?
your Mac/iM tries to playback in realtime (sure, that makes sense with a movie...), but obviously has too much to do encoding the music...
in case you own QTpro or a designated audio-app (Garageband, Audacity), try to convert the internet music (<<woohoo, bad kharma... ah, said that) BEFORE import to iM into aiff...
in case of usage of external harddrives:
make sure, the drive is "MacOsExtended" formatted, not FAT32... use Disk Utility to accomplish that (any reformatting erases all content!)
pay the artists//respect local laws//get good kharma -
Partial page load problem when using Muse in an existing non-Muse Masterpage; how to issue a jquery args.get_isPartialLoad().
My page is loaded into a palcehold within the Ajax update panel within the current Masterpage, so page loadload doesn't occur. But if my Muse page can capture the partial pageload then I can tell jquery to run the Muse formating routine.Jackie, I am having the same issue and agree that it obscures our site analytics.
I only have the "WebMarketing" subscription - so I cannot see how often people visit my site (unless I just dont know how to view that). Here is a screen shot of how many different locations I have and how much it affects my site visitor count based on the other locations which seem "legit" because they have more page views than visits.
I hope there is a way to fix or block this. -
Service entry problem when not accepted
We have a problem when there are multiple service entries agains a PO. There are no problems when we do the first entry and accept. The problem happens when we do a second entry and the end user only saves and forgets to accept the SES. When they do an invoice against this unaccepted SES the system brings in the previous SES number, when this goes unnoticed the vendor gets paid twice for the same thing. Is there a way for SAP to look at the SES field in the invoice and determine that this SES number has already been paid? Thanks in advance.
Hi Eric,
please try the following: check in transaction XK02 the field "Check Flag for Double Invoices or Credit Memos" (LFB1-REPRF).
Indicator which means that incoming invoices and credit memos are checked for double entries at the time of entry.
In checking for duplicate invoices, the system compares the following characteristics by default:
Vendor
Currency
Company code
Gross amount of the invoice
Reference document number
Invoice document date
If all of these characteristics are the same, the system issues a message that you can customize.
The system only checks for duplicate invoices in Materials Management if you enter the reference document number upon entering the invoice.
Of course if the invoice document date is different, there is no message M8108 issued. Please read also the notes 305201 and 308008.
I would recommend you to use the service based invoice verification function (set the field EKPO-LEBRE to X) in the PO item.
Regards,
Edit
Maybe you are looking for
-
I don't like Apple's algorithm that constantly pushes the same songs at me, so I have a couple of playlists configured for songs I haven't listened to in a month, two months, etc. This has worked fine for years. Since I've gotten my iPhone 4S, howeve
-
File to RFC Scenario using BPM
Hi, Scenario:We have to post data 1 by 1 to SAP and also handle errors The file will be picked by the sender file adapter and given to bpm,bpm (uses message splitting) posts the data one by one to the sap r/3 system using receiver rfc adapter. errors
-
Can I set the position of the new mail window?
Each time I compose a new message, the new message window seems to appear at a different place, usually obscuring the main window. I would like to have it always appear to the side of the main window. Can I set this, perhaps in the property list?
-
Register products you get off Adobe Creative Cloud
I want to know how to register my products I got off the cloud download app. I have Photoshop CC 2014, Media Encoder, Adobe After Effects CC 2014 that l downloaded off the app. I want to know how I can find the 'serial number' to register the product
-
Cannot open PDFs downloaded from internet
For past two months, many (but not all) PDFs cannot be opened after being saved. The message is Adobe Reader could not open 'Worlds Most Competitive Cities IBM 2013.pdf' because it is either not a supported file type or because the file has been dam