This s ma whole object
FUNCTION ZMATERIAL_GEDET5.
""Local Interface:
*" IMPORTING
*" VALUE(I_MAT) LIKE MARA-MATNR
*" VALUE(I_PLANT) LIKE MARC-WERKS OPTIONAL
*" VALUE(I_VALUATIONAREA) LIKE MBEW-BWKEY OPTIONAL
*" VALUE(I_VALUATIONTYPE) LIKE MBEW-BWTAR OPTIONAL
*" TABLES
*" T_MAT STRUCTURE MARA OPTIONAL
*" T_PLANT STRUCTURE MARC OPTIONAL
*" T_VAL STRUCTURE MBEW OPTIONAL
*" RETURN STRUCTURE BAPIRET2 OPTIONAL
data : c_e value 'E',
c_s value 'S'.
data : c_c value 'C'. " CHANGE FLAG FOR CHANGE HISTORY
data : c_i value 'I'. " CREATE flag for change history
data : c_d value 'D'. " DELETE flag for change history
data : v_msg type string.
data : iv_chng_no type cdchangenr. " NUMBER RANGE NO FOR CHANGE HISTORY
constants : c_000(3) type c value '000',
c_001(3) type c value '001',
c_002(3) type c value '002',
c_003(3) type c value '003',
c_004(3) type c value '004',
c_005(3) type c value '005',
c_006(3) type c value '006',
c_007(3) type c value '007',
c_008(3) type c value '008',
c_009(3) type c value '009',
c_010(3) type c VALUE '010',
c_011(3) type c VALUE '011',
c_012(3) type c VALUE '012',
c_013(3) type c VALUE '013',
c_014(3) type c VALUE '014',
c_015(3) type c VALUE '015',
c_016(3) type c VALUE '016',
c_017(3) type c VALUE '017',
c_018(3) type c VALUE '018',
c_019(3) type c VALUE '019',
c_020(3) type c VALUE '020'.
DATA : WA_MARA TYPE MARA,
IT_MARA TYPE STANDARD TABLE OF MARA,
WA_MARC TYPE MARC,
IT_MARC TYPE STANDARD TABLE OF MARC,
WA_MBEW TYPE MBEW,
IT_MBEW TYPE STANDARD TABLE OF MBEW.
if not I_mat is initial.
select * from mara into CORRESPONDING FIELDS OF TABLE IT_MARA WHERE MATNR = I_MAT.
ENDIF.
if sy-subrc ne 0.
move : c_e to return-type,
'/KAARTECH/ZKN_PO' to return-id,
c_001 to return-number. " No table entries found for the given selection criteria
append return.
*& ERROR HANDLING
*Message Formating.
loop at return into return.
call function 'FORMAT_MESSAGE'
exporting
id = return-id
lang = sy-langu
no = return-number
v1 = return-message_v1
v2 = return-message_v2
v3 = return-message_v3
v4 = return-message_v4
importing
msg = v_msg.
return-message = v_msg.
modify return from return index sy-tabix.
endloop.
exit.
endif.
IF NOT I_MAT IS INITIAL AND I_PLANT IS INITIAL.
SELECT * FROM MARC INTO CORRESPONDING FIELDS OF TABLE IT_MARC FOR ALL ENTRIES IN IT_MARA WHERE
MATNR = IT_MARA-MATNR.
ENDIF.
*if not i_mat is initial and not i_plant is initial .
select * from marc into CORRESPONDING FIELDS OF TABLE it_marc where matnr = i_mat and
werks = i_plant.
endif.
if not i_mat is initial and not i_plant is initial .
select * from marc into CORRESPONDING FIELDS OF TABLE it_marc FOR ALL ENTRIES IN IT_MARA where
matnr = it_MARA-matnr and
werks = i_plant.
endif.
if sy-subrc ne 0.
move : c_e to return-type,
'/KAARTECH/ZKN_PO' to return-id,
c_001 to return-number. " No table entries found for the given selection criteria
append return.
*& ERROR HANDLING
*Message Formating.
loop at return into return.
call function 'FORMAT_MESSAGE'
exporting
id = return-id
lang = sy-langu
no = return-number
v1 = return-message_v1
v2 = return-message_v2
v3 = return-message_v3
v4 = return-message_v4
importing
msg = v_msg.
return-message = v_msg.
modify return from return index sy-tabix.
endloop.
exit.
endif.
IF NOT i_mat IS INITIAL and not i_valuationarea is initial and i_plant is initial.
*SELECT * FROM MBEW INTO CORRESPONDING FIELDS OF TABLE IT_MBEW FOR ALL ENTRIES IN IT_MARA WHERE
MATNR = IT_MARA-MATNR
and BWKEY = I_VALUATIONAREA.
endif.
if not i_mat is initial and i_valuationarea is initial and not i_plant is initial.
SELECT * FROM MBEW INTO CORRESPONDING FIELDS OF TABLE IT_MBEW FOR ALL ENTRIES IN IT_MARA WHERE
MATNR = IT_MARA-MATNR.
endif.
IF NOT i_mat IS INITIAL and not i_valuationarea is initial.
SELECT * FROM MBEW INTO CORRESPONDING FIELDS OF TABLE IT_MBEW FOR ALL ENTRIES IN IT_MARA WHERE
MATNR = IT_MARA-MATNR
and BWKEY = I_VALUATIONAREA.
endif.
if not i_mat is initial and i_valuationarea is initial.
SELECT * FROM MBEW INTO CORRESPONDING FIELDS OF TABLE IT_MBEW FOR ALL ENTRIES IN IT_MARA WHERE
MATNR = IT_MARA-MATNR.
endif.
IF NOT I_MAT IS INITIAL AND NOT I_VALUATIONTYPE IS INITIAL .
SELECT * FROM MBEW INTO CORRESPONDING FIELDS OF TABLE IT_MBEW FOR ALL ENTRIES IN IT_MARA WHERE
MATNR = IT_MARA-MATNR
AND BWTAR = I_VALUATIONTYPE.
endif.
*if not i_mat is initial and i_valuationtype is initial.
SELECT * FROM MBEW INTO CORRESPONDING FIELDS OF TABLE IT_MBEW FOR ALL ENTRIES IN IT_MARA WHERE
MATNR = IT_MARA-MATNR.
endif.
IF SY-SUBRC NE 0.
if sy-subrc ne 0.
move : c_e to return-type,
'/KAARTECH/ZKN_PO' to return-id,
c_001 to return-number. " No table entries found for the given selection criteria
append return.
*& ERROR HANDLING
*Message Formating.
loop at return into return.
call function 'FORMAT_MESSAGE'
exporting
id = return-id
lang = sy-langu
no = return-number
v1 = return-message_v1
v2 = return-message_v2
v3 = return-message_v3
v4 = return-message_v4
importing
msg = v_msg.
return-message = v_msg.
modify return from return index sy-tabix.
endloop.
exit.
endif.
ENDIF.
T_MAT[] = it_mara.
t_plant[] = it_marc.
t_val[] = it_mbew.
ENDIF.
ENDFUNCTION.
in output---- when we give matnr and plant means i m getting whole valuation area as output but i should get only the output which i give for plant.
You have sent this Abuse Report:
I am unable to use my account
The reason you are not able to use your account is that, there are 10 open questions against your name. As a rule you are not supposed to have more than 10 open questions. You will also find that you are not able to close any of your open questions. The reason is that they are all locked. The reasons for them being locked are:
- You have asked basic questions.
- You have not put any effort into answering your questions.
- You expect the forum to do your work.
- You did not search for available information.
- You have not read the Rules of Engagement of this forum, despite being asked to.
- You have used vague nonsense titles to your threads despite being warned.
and many other violations
I will let you delete/close some open questions if you promise to read the rules and abide by it, thus letting you post questions here. One more rule violation from your end and your id will be deleted. This is your last warning.
Do you agree to follow the rules of this forum?
pk
Similar Messages
-
Automatic whole object selection with lasso or magic wand tool.
Here I have a circle pattern, all the fills are the same, all have the same appearance,
when I try selecting all the internal scattered objects with the lasso tool, it only partially selects them, its slow getting around their borders while trying not to select the outer ring of objects, using the selection tool on this radial design is difficult, as when you select some pieces you deselect others, I was hoping for an option whereby you could tick a checkbox for the lasso or magic wand tool to "select whole object" when you run the wand or lasso over those objects.At the moment the lasso tool only partially selects based on which nodes you encircled.
I cannot select the outer ring (would be just as difficult with selection tool) and use inverse because there are many other objects on the page also, I could have created the inner circle on another layer initially, but had not, in this situation a small enhancement to the magic wand or lasso would be good for selecting whole objects. When using experimental design approaches we don`t naturally pre plan every step or idea from the beginning.
the other option is to select them all with lasso, the group them, move them then ungroup, but again just looking for the one step opportunity as it seems simple enough.Agreed. I think an "Grow" and "Grow All" option in the Select menu is the best way to achieve that. (Maybe Adobe can come up with better naming)
"Grow selection" would increase the selection by one anchor point in each direction for each partially selected path.
"Grow All" would select all the anchor points of each partially selected path.
For example, if you have 1 point selected on a circle, "Grow selection" would add the 2 adjacent points to the selection for a total of 3 points. "Grow All" would select all the points on the circle.
Another related feature would be an "Add to selection" option in addition to the "Save selection". And why not a "Substract from selection" option? You'd simply select a few points, choose add or substract and choose which saved selection to modify.
A lot of the selection toold work at the object level, not at the point level, like Deselect/Reselect/Inverse. This can be frustrating. -
Could otool default to showing the whole object file in assembly?
When I try to use otool, it just complains "one of -fahlLtdoOrTMRIHGScis must be specified". I eventually found through Google that otool -tv shows the text section in assembly, but I want to see every section in assembly.
Could otool just default to showing the whole object file in assembly when no command line options are specified?
Specs:
* otool (couldn't find version number through command line options)
* Xcode 4.5
* Mac OS X 10.8.2
* MacBook Pro 2009Would be nice iif someone from the AE departement could take a look at this. I tested it now with a full LabVIEW 2014 for Mac installation and there is the same problem. The liblvexports.a file in cintools/Mach-O is for both installations (32 bit and 64 bit) a 64 bit object library. Definitely a bug!
Rolf Kalbermatter
CIT Engineering Netherlands
a division of Test & Measurement Solutions -
What has happened? Where is my iPhoto and why are my photos now in Photos? This *****. The whole reason I bought a Mac was the ease of iPhotos. Horrible. Bad move.
iPhotos is still in your Applications folder. The iPhoto Library is still in your /Home/Pictures/ folder.
-
"there was an error opening this document the root object is missing or invalid" adobe reader 9
I get the following message every time I try an open some of my saved PDF files in Adobe Reader 9
"there was an error opening this document. the root object is missing or invalid."
these files are not down loaded from a website, they are files I greated some time back and I have not opened in a while.
I am runing window XP and this dos not happen with all my PDF files.
can you help.
JamesSounds like the files are corrupt. Time to restore them from a good backup.
-
When using quick edit for compressed CSS, edge code does not jump to the particular class but displays the whole thing. This destroys the whole purpose. Does anyone know a fix or extension for that.
I suspect that beautify doesn't touch CSS that it is not aware of (e.g. new properties/syntaxes, vendor-prefixes). See if there's a newer version available.
Which compressed CSS are you using? Most CSS libraries come with both compressed and original stylesheets, so use the original one during development/debugging, and switch to the compressed one for deployment.
Randy -
Trying to convert Pages to Word doc, but keep getting this error message: TypeError: Object doesn't support property or method 'invalidate' JavaScript console contains more details. Any ideas on how to get past this?
Right. If you are using delegated privs and sudo, make sure that sudo is configured to pass on the PERL5LIB and ORACLE_HOME environment variables at least.
-
Business Object BUS1001 - Material this is the Business object.
Hi All,
I need to activate the notification for the below .
I got the solution,However we do not have any workflow consultant,Would look forward for the step by step procedure to achieve the requirement from you.
Try by activating the workflows for material master Change. -how?
Create Change pointers, Where can i get this? so that they trigger an event or notification when there is a price change more than 40 % in the Material master....
BUS1001 - Material this is the Business object?
I would need a detailed procedure for the above.My step plan in your case would look like this:
Step 1: Hire workflow consultant.
Step 2: Give him the requirements
Step 3: Wait for result
Step 4: Test the workflow.
Or as an alternative you can search the forum because change documents have been discussed here many times.
Regards,
Martin -
Hi,
Do you know any good tutorials about saving and opening whole objects with the jFileChooser? Your direct advice on how to do it would be very appreciated too.
Regards,
PingenPingen wrote:
Hi,
Do you know any good tutorials about saving and opening whole objects with the jFileChooser? Break it down... I think what you want to do is serialize/deserialize an object to/from a file selected by the user through a JFileChooser. Correct?
If so, one (the serialization) has nothing to do with the other (how to get the user specified File). -
See this question about static object
1)static A a =new A();
2) A a1=new A();
what is the difference between them?static A a =new A();
When this line is written in another class say : class b;
a is accessible without the need for declaring an object of b.
i.e., b.a
Not in the other case.
Many factory classes and methods are accessed this way coz, the classes are private and abstract, so u cannot make an object of that class.
For example:
System.out.println() - here println() is a method, out is an object of some class that is declared static in the class System. if it were'nt static, then we had to make an object of the System class and then access the out object,
hope this helps
let me know -
How could we play all music videos within the music folder in the iPad2 ? In other words, select all, choose random, and click play and all music videos will automatically play upon completion of the one been viewed without the user having to deselect another video manually (annoying interrupt).
Currently you have to choose each music video and upon completion choose the next one manually. That defeats the whole concept of a music video library.
This does not happen on previous iPad or MacBook Pro iTunes!!!!!
Very annoying.
Thanks,
WMRYou can try leaving feedback : http://www.apple.com/feedback/ipad.html
-
CS5: Moving Anchor Points w/ Transform Panel, Not Whole Object
Hey there. Did the digging before asking but nothing came up. I'm pretty green, so I'm sure it's something silly. I'm trying to move specific anchor points on a path a few pixels up from their current position, while keeping everything else where it is, so it'll transform the figure's shape. I'm trying to do it precise by changing it's dimensions, rather than clicking and dragging. Thankfully, that's at least an option because it -does- work when I direct select the points I want and drag them. Problems with that:
1) I have very little control. If I want the point moved up by whole pixels, I pretty much have to get lucky because it's always in decimal points.
2) With shapes bordering each other (parts of a complex shape), if I want to move their location to scrunch something (Half circle in a larger half circle, wanting to flatten out the base), if I lift those points up, they leave a gap. As if the top border of the outer circle has another anchor point under the lower of the one above that, and I can't click on it to move everything while they're still touching. I can take screenshots if needed. I'm following a tutorial to get used to the program.
Alternately, I suppose if you have a shortcut for constraining the drag to whole pixels instead of fractions, that's great too. In Photoshop and the like, holding Shift would give me precision, but that's not the case in this tool or perhaps program.
Thanks a bunch. This program is frustrating, but I know I'll have fun with it when I get it.Hard to decipher exactly what you are asking for, but after reading your post a few times sounds like you want to move vector point by whole pixles amounts.
Have you tried setting your keyboard increment to 1 pixel, and using the cursor keys to nudge points.
If you are working on digital work, you may want to turn on snap to pixel grid, which will also kepep all your times to whole pixel amounts. -
if not I_mat is initial.
select * from mara into CORRESPONDING FIELDS OF TABLE IT_MARA WHERE MATNR = I_MAT.
ENDIF.
IF NOT I_MAT IS INITIAL AND I_PLANT IS INITIAL.
SELECT * FROM MARC INTO CORRESPONDING FIELDS OF TABLE IT_MARC FOR ALL ENTRIES IN IT_MARA WHERE
MATNR = IT_MARA-MATNR.
ENDIF.
if not i_mat is initial and not i_plant is initial .
select * from marc into CORRESPONDING FIELDS OF TABLE it_marc FOR ALL ENTRIES IN IT_MARA where
matnr = it_MARA-matnr and
werks = i_plant.
endif.
IF NOT i_mat IS INITIAL and not i_valuationarea is initial.
SELECT * FROM MBEW INTO CORRESPONDING FIELDS OF TABLE IT_MBEW FOR ALL ENTRIES IN IT_MARA WHERE
MATNR = IT_MARA-MATNR
and BWKEY = I_VALUATIONAREA.
endif.
if not i_mat is initial and i_valuationarea is initial.
SELECT * FROM MBEW INTO CORRESPONDING FIELDS OF TABLE IT_MBEW FOR ALL ENTRIES IN IT_MARA WHERE
MATNR = IT_MARA-MATNR.
endif.
IF NOT I_MAT IS INITIAL AND NOT I_VALUATIONTYPE IS INITIAL .
SELECT * FROM MBEW INTO CORRESPONDING FIELDS OF TABLE IT_MBEW FOR ALL ENTRIES IN IT_MARA WHERE
MATNR = IT_MARA-MATNR
AND BWTAR = I_VALUATIONTYPE.
endif.
T_MAT[] = it_mara.
t_plant[] = it_marc.
t_val[] = it_mbew.IN INPUT I M GIVING MATNR AND PLANT BUT IN OUTPUT I M GETTING WHOLE VALUTAION AREA FOR TAT MATERIAL BUT I SHOULD SHOULD THE OUTPUT WHICH S AVAILABLE IN TAT PARTICULAR PLANT.
if not I_mat is initial.
select * from mara into CORRESPONDING FIELDS OF TABLE IT_MARA WHERE MATNR = I_MAT.
ENDIF.
IF NOT I_MAT IS INITIAL AND I_PLANT IS INITIAL.
SELECT * FROM MARC INTO CORRESPONDING FIELDS OF TABLE IT_MARC FOR ALL ENTRIES IN IT_MARA WHERE
MATNR = IT_MARA-MATNR.
ENDIF.
if not i_mat is initial and not i_plant is initial .
select * from marc into CORRESPONDING FIELDS OF TABLE it_marc FOR ALL ENTRIES IN IT_MARA where
matnr = it_MARA-matnr and
werks = i_plant.
endif.
IF NOT i_mat IS INITIAL and not i_valuationarea is initial.
SELECT * FROM MBEW INTO CORRESPONDING FIELDS OF TABLE IT_MBEW FOR ALL ENTRIES IN IT_MARA WHERE
MATNR = IT_MARA-MATNR
and BWKEY = I_VALUATIONAREA.
endif.
if not i_mat is initial and i_valuationarea is initial.
SELECT * FROM MBEW INTO CORRESPONDING FIELDS OF TABLE IT_MBEW FOR ALL ENTRIES IN IT_MARA WHERE
MATNR = IT_MARA-MATNR.
endif.
IF NOT I_MAT IS INITIAL AND NOT I_VALUATIONTYPE IS INITIAL .
SELECT * FROM MBEW INTO CORRESPONDING FIELDS OF TABLE IT_MBEW FOR ALL ENTRIES IN IT_MARA WHERE
MATNR = IT_MARA-MATNR
AND BWTAR = I_VALUATIONTYPE.
endif.
T_MAT[] = it_mara.
t_plant[] = it_marc.
t_val[] = it_mbew.
Moderator Message: Well, I gave you a fair chance, but you chose to ignore it. Please read this first before any further posting: https://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement.
You'll be amazed at the number of rules you have managed to break in such a short span.
Edited by: kishan P on Oct 6, 2010 11:27 AM -
If this is "A Whole New Program" then dont call it FINAL CUT!!!
I cant believe that some of you are actually defending this product. I have been an editor for nearly two decades. I have used nearly every platform out there. I have used Final Cut since the week it came out. FCPx is fast...great! It can only do about half of what I need it to do but the other half is pretty fast??? This is the equivalent of Adobe making a new version of Photoshop that cant open earlier psd files and is incapable of opening a tiff or jpeg, "Oh, but it's fast and it has a great new layout!!!"
The dilemma is that "Pro" Final Cut users have all been anticipating this new version of FCP. Pro editors were expecting it to be able to do "at least" what it was capable of doing in the past, and hopefully much more. Afterall, it was called "FINAL CUT PRO". But it cannot import a Final Cut project. It can import an imovie project. Isn't imovie a free app for editing vacation videos and kids birthday parties? "Hmmmm, maybe we should reconsider the name. Many pro users will think this can do what the old version can do."
Those of you that are defending this "app" are probably young and inexperienced when it comes to real world editing. "Pro" editors depend on their editing platform for their livelihood. I'm sure that those of you that live with your parents and just got your new white macbook for college are probably loving this new "app". If you are editing your hot new blog for youtube, FCPx is probably just what you need.
I am not opposed to learning new ways of editing at all!! I was excited about learning the new language of Final Cut. I was excited about the new look and feel. It does look kinda cool. BUT, I dont get paid for how cool and fast my "app" is. I get paid for what I can do with Final Cut.
With FCPX, you can do less, period!!! Do not even try to argue that point.
I will be sticking with FCP7 or Premiere. And I hope that Apple refunds my money.Nope, though it did allow me to get some missing songs back onto my iPod. That's something. But neither "Back in Black" or "Dirty Deeds" show up anywhere on the Touch. Could this be because iTunes has no deal with AC/DC?
Quite frankly, at this point, I'd really rather not have the "ease of use" of iCloud attached to the iPod. It's not like I change my playlists that much. It would just be nice to get what I want onto my MP3 player. Not sure which one it was: iCloud, Music Match or the Air Port but the only real result of all the $ I plunked down is seeing all of my Wife's 231 Christmas songs popping up on my laptop. Really don't want them here. She SURE AS **** is sick of seeing all of my stuff on her computer.
Thanks again.
B. -
My wife and I share a computer but have separate Windows ID's. We also each have an iTunes account, using two separate Apple ID's. We have always struggled with the headache of getting music that one of us added (via purchase, downloading CD, etc.) to the other person's music library. A friend suggested we consolidate and share the same library. Sounded like a good idea so we moved the libraries to a public folder, consolidated them, etc. But now when one of us adds music to the library, the other person still has to do an "add file/folder to library" in order for them to be able to see it. This is exactly the step we were hoping to eliminate by this consolidation. Does anyone know if there is a way to make this happen automatically, or will we have to continue to do this every time?
Also, ended up with a lot of duplicates in the process of consolidating. Is there any way to identify and "mass delete" these? It will take a while to go through them all individually as the library is somewhat substantial (approx. 16k songs)
Hardware is Windows 8, one iPod classic, one iPod Nano (obviously only selected playlists on this one). All hardware and iTunes running latest software.
Any information would be appreciated!It sounds like you are using two independent libraries with a common media folder, whereas the plan would have been to ensure that both profiles were using the same library library database. Although you can place this within the Public folder I would normally create a shared library at the root of a drive, e.g. at X:\iTunes where X: is the drive that you want to use. See Make a split library portable for information on moving the library around back into a standard shape.
As for duplicates, Apple's official advice on duplicates is here... HT2905: How to find and remove duplicate items in your iTunes library. It is a manual process and the article fails to explain some of the potential pitfalls such as lost ratings and playlist membership.
Use Shift > View > Show Exact Duplicate Items to display duplicates as this is normally a more useful selection. You need to manually select all but one of each group to remove. Sorting the list by Date Added may make it easier to select the appropriate tracks, however this works best when performed immediately after the dupes have been created. If you have multiple entries in iTunes connected to the same file on the hard drive then don't send to the recycle bin.
Use my DeDuper script if you're not sure, don't want to do it by hand, or want to preserve ratings, play counts and playlist membership. See thisthread for background, this post for detailed instructions, and please take note of the warning
to backup your library before deduping.
(If you don't see the menu bar press ALT to show it temporarily or CTRL+B to keep it displayed.)
The most recent version of the script can tidy dead links as long as there is at least one live duplicate to merge stats and playlist membership to and should cope sensibly when the same file has been added via multiple paths.
tt2
Maybe you are looking for
-
Regarding Report creation in BI
Hi, I have created new sample schema in BI Reportsitory. It is display in BI Dashboard .But when i try to see result of the report that time i got following error. -------------------- Query Status: Query Failed: [nQSError: 17001] Oracle Error code:
-
Adjusting pitch and speed of a voice recording
Good afternoon, We are preparing anapplication that will be allowing a user to speak into a microphone and using a handful of presets allow them to adjust the pitch of their own recording. Rather then start from the ground up on this I am wondering i
-
How can I solve the problem? Many thanks
-
SQL-based Reports: Formatting Conditions
I need to format a line based on comparing 2 columns to each other. for example if col1 >= col2 then format I only see a way to compare col1 to a static value. Is what I am trying to do possible and if so how? Thanks in advance
-
How to reorg the WF tables.
The records in WF tables are purged with workflow purge program. But the table sizes are not reduced. How to reorg these WF tabels? Thanks & Best regards,