L_TO_CREATE_SINGLE bin to bin
I am trying to use the function module L_TO_CREATE_SINGLE to do a material movement from a bin to another bin. But I dont know what i am doing bad. Somebody can show me an example of the use of that FM for do that i need? Regards.
Check the below sample code :
data: l_lines type i,
l_matnr like mara-matnr,
l_anfme like rl03t-anfme,
l_uom like mara-meins,
l_oldvalue like plfh-mgvgw,
l_newvalue like plfh-mgvgw,
l_lgnum like ltak-lgnum,
l_source_lgtyp like lagp-lgtyp,
l_source_vlpla like ltap-vlpla,
l_source_qty like lqua-gesme,
l_destination_lgtyp like lagp-lgtyp,
l_destination_vlpla like ltap-vlpla,
l_tanum like mseg-tanum.
data :scr_sku like mara-matnr.
call function 'L_TO_CREATE_SINGLE'
exporting
i_lgnum = l_lgnum
i_bwlvs = '999'
i_matnr = scr_sku
i_werks = '1000'
i_anfme = l_anfme
i_altme = l_uom
i_vltyp = l_source_lgtyp
i_vlpla = l_source_vlpla
i_nltyp = l_destination_lgtyp
i_nlpla = l_destination_vlpla
i_commit_work = 'X'
i_bname = sy-uname
i_kompl = 'X'
importing
e_tanum = l_tanum
exceptions
no_to_created = 1
bwlvs_wrong = 2
betyp_wrong = 3
benum_missing = 4
betyp_missing = 5
foreign_lock = 6
vltyp_wrong = 7
vlpla_wrong = 8
vltyp_missing = 9
nltyp_wrong = 10
nlpla_wrong = 11
nltyp_missing = 12
rltyp_wrong = 13
rlpla_wrong = 14
rltyp_missing = 15
squit_forbidden = 16
manual_to_forbidden = 17
letyp_wrong = 18
vlpla_missing = 19
nlpla_missing = 20
sobkz_wrong = 21
sobkz_missing = 22
sonum_missing = 23
bestq_wrong = 24
lgber_wrong = 25
xfeld_wrong = 26
date_wrong = 27
drukz_wrong = 28
ldest_wrong = 29
update_without_commit = 30
no_authority = 31
material_not_found = 32
lenum_wrong = 33
others = 34.
Thanks
Seshu
Similar Messages
-
Creating Transfer Order for Delivery with Specified Source Bin
Hello,
My requirement is to create a pick transfer order for an outbound delivery.
<b>L_TO_CREATE_DN</b> works perfectly well, however, it does not let me to specify the source (fixed) bin in my warehouse. It actually executes the bin determination routine to pick the source bin for me, which is not acceptable.
<b>L_TO_CREATE_SINGLE</b> won't work as my destination bin is a dynamic bin, and this FM does not allow to set LTAP-NKDYN.
So, I'm stuck. LT03 actually allows the user to input source bin information, so I'm saving BDC as my last option, but wanted to see if anyone here has other ideas.
Thanks in advance!
R.D.Hi,
Try this L_TO_CREATE_SINGLE
Tks,
Krishna -
Hi Friends,
In one customised tcode I want to have functionality to move sales order specific stock to different storage type & Bin.
So if the stock is luying in 5 bins for speciifc sales order 8552442 item 0010. I wan to move stock in one go to different bins
Pop up I am planning is as below
From Bin To Bin
xxx aaa ( This will be put manually by the User)
yyy bbb ( This will be put manually by the User)
zzz ccc ( This will be put manually by the User)
I want to have only one TO for this
I am confused whether I need to use bapi L_TO_CREATE_SINGLE or L_TO_CREATE_MULTIPLE.
Thanks,
KiranFor TO creation you can use an example like below:
call function 'L_TO_CREATE_SINGLE'
exporting
i_lgnum = wh_number "Warehouse number
i_bwlvs = '999' "MvT999
i_matnr = lqua-matnr "Material no.
i_werks = lqua-werks "Plant
i_lgort = lqua-lgort "Storage location
i_anfme = lqua-verme "Requested Qty
i_altme = lqua-meins "Unit of measure
i_letyp = ltap-letyp "SU Type
i_vlpla = lqua-lgpla "Source storage bin
i_vlqnr = lqua-lqnum "Quant
i_vltyp = lqua-lgtyp "Source storage type
i_nlpla = ltap-nlpla "Destination storage bin
i_nltyp = v_nltyp "Destination storage type
i_squit = squit
importing
e_tanum = l_tanum
e_ltap = l_ltap
exceptions
no_to_created = 1
benum_missing = 2
bwlvs_wrong = 3
betyp_missing = 4
foreign_lock = 5
vltyp_wrong = 6
vlpla_wrong = 7
vltyp_missing = 8
nltyp_wrong = 9
nlpla_wrong = 10
nltyp_missing = 11
rltyp_wrong = 12
rlpla_wrong = 13
rltyp_missing = 14
squit_forbidden = 15
manual_to_forbidden = 16
letyp_wrong = 17
vlpla_missing = 18
nlpla_missing = 19
sobkz_missing = 20
sonum_missing = 21
bestq_wrong = 22
lgber_wrong = 23
xfeld_wrong = 24
date_wrong = 25
drukz_wrong = 26
ldest_wrong = 27
update_without_commit = 28
no_authority = 29
material_not_found = 30
lenum_wrong = 31
others = 32.
You can call this FM more than once if you want to transfer more items,
or you can call L_TO_CREATE_MULTIPLE if you want to create more items
in one FM call. -
My ITunes gift card I brought, the Reemdem code had bin wide out so I can no longer see that code what do I do?
"bin wide out"?
If you mean you cannot read the code on the back of the card take it back to the store you purchased it from. If the numbers are not visable because you scratched them out I don't know if the store will replace or refund that. If you can read some of the numbers you could just keep trying a combination of letters and numbers to replace the missing ones. This will take a while depending on how many inputs are missing. You will have to use 0 through 9 and I am guessing A through Z. -
I am trying to free up space on my pc and moving itunes files to external hard drive. I have followed instructions and believe I have file copied to new drive, but I am having trouble moving file to recycle bin as the instructions say. I am getting the following error message: cannot delete ituneshelper.dll:access denied, make sure disk is not full or write protected and file not in use. I know the file is not in use when trying to move. Any help would be most appreciated. I am on Windows XP.
Yes. And you should not have moved that folder. Put it back. To move your iTunes library move the folder from User's Music.
tt2 -
Can not see all the clips in large Icon view in my bin
I arranged my clips in a bin in large Icon view but i can not see all the clips in the bin while in that mode. I see the clips when in list mode or when i drag them out of the bin into the main bin. As soon I drag them back in large icon view bin they do not show up, when going back in list view they are there.
Any idea
Also my daughter accidently pulled the electrical plug, which turned my external hard drive off. So the media was off line. I hit reconnect the clip but the clip does not show as connected in the bin it keeps the Media offline icon but putting the clip in the viewer or time line it plays it. So the clip is reconnected
hope anybody can help with those two issues thanksNick
thanks for your message it helped to show the clips. Here how I solved it. I put the clips i could not see in large Icon view, to the Project folder. Even in the project folder I was only seeing the clips with Thumbnail in list view. When i hit large Icon view the clips disappeared, and they could not have been lower down as i only have about 5 folders in the project. I then clicked arrange the clip by name and they showed up again. Like that i dragged the clip back in to its bin and it showed up. The reason for going back and forth I arranged the clips manually in the bin before and when hitting arrange by name it spread them to far apart and put the clips not in a sequence I liked.
for the second part I followed Neil's suggestion it worked. -
Sehr geehrte Damen und Herren
Seit rund einem Jahr bin ich Abonnent der Creative Cloud. Ich stelle nun folgendes fest:
1. Das Programm Creative Cloude Desktop lässt sich nicht installieren. Die Installation bricht mit einem Fehler ab.
2. Ich kann Creative Cloude Desktop nicht mehr aus meinem System deinstallieren. Abbruch mit Fehlermeldung.
3. Ihr System verweigert mein Login in mein Adobe Konto. Auch eine Neueröffnung eines Adobe Kontos bricht mit Fehlermeldung ab.
Ich verstehe nicht, was ich falsch mache und bitte um Erläuterung. Ihre umfangreichen Hilfeseiten helfen mir hier nicht weiter.
Danke und Gruss
Lukas Marbacher
Lukas Marbacher
Hammerstrasse 7, 6312 Steinhausen
041 741 86 92
[email protected]Hallo Lukas,
als Erstes vielleicht dieses: Wir hier im Forum sind Anwender wie Du und ich. Nur hin und wieder taucht hier jemand der Adobe Mannschaft auf.
Zum Thema:
So seltsam es erscheinen mag, aber das ist wohl wieder eine Sache für das Cleaner Tool.
Manchmal - aus welchen Gründen auch immer - will" CC (auch bei mir) nicht richtig arbeiten. In diesem Fall solltest Du CC komplett löschen (nicht nur mit PC-Bordmitteln) und neu installieren und zwar mit Hilfe des "Adobe Creative Cloud Cleaner Tool".
Ich zitiere: Mit dem Cleaner Tool für Adobe Creative Cloud (CC) können Installationsprobleme bei Adobe Creative Cloud- und Adobe Creative Suite (CS3-CS6)-Anwendungen behoben werden. Das Tool kann Installationsdaten von Prerelease-Installationen von Creative Cloud- und Creative Suite-Anwendungen bereinigen. Es entfernt keine Installationsdaten aus früheren Versionen von Adobe Creative Cloud- oder Creative Suite-Produkten.
Hier der Link: http://helpx.adobe.com/de/creative-suite/kb/cs5-cleaner-tool-installation-problems.html . Bitte beachte unbedingt die dort vorgeschriebenen Folge der Operationen.
Dann wäre da noch dieser Tipp: Manchmal ist aber auch die (zu löschende) Datei "opm.db" im Adobe OOBE Verzeichnis der Übeltäter.
Falls erforderlich und Du weitere Fragen hast benutze den Chat, wenn er "offen" ist, ich hatte damit gute Erfahrungen. Siehe Contact Customer Care = http://helpx.adobe.com/contact.html
Hans-Günter -
How do I lock items in a bin so that sequences can't be launched, clips cannot be bent, folded or mutilated? Ideally, can I lock a bin up so it can't even be opened? (assistant editor is going to capture a bunch of tapes for me and I want to eliminate risk of anything being disturbed) thanks.
Sorry... sarcasm caused by frustration at my current edit job.
I've never come accross, or heard of any locking feature in the Browser of FCP. I think it would be unneccessary... well, seeing as you brought it up, i can kind of understand why it might be handy for a short-term solution to keeping Bins safe... but...
I think the safest way is as Jim said, just start a new project for the assistant and get all the new tapes captured to it and then copy them over into your master project.
all the best
J -
What is the diffrence between ASCII and BIN mode
Hello All,
What is the diffrence between ASCII and BIN mode
Regards,
Lisa.'ASC' :
ASCII format. The table is transferred as text. The conversion exits are
carried out. The output format additionally depends on the parameters
CODEPAGE, TRUNC_TRAILING_BLANKS, and TRUNC_TRAILING_BLANKS_EOL.
'IBM' :
ASCII format with IBM codepage conversion (DOS). This format correspond
to the 'ASC' format when using target codepage 1103. This codepage is
often used for data exchange by disc.
'DAT' :
Column-by-column transfer. With this format, the data is transferred as
with ASC text. However, no conversion exists are carried out and the
columns are separated by tab characters. This format creates files that
can be uploaded again with gui_upload or ws_upload.
'DBF' :
The data is downloaded in dBase format. Because in this format the file
types of the individual columns are included, import problems, for
example, into Microsoft Excel can be avoided, especially when
interpreting numeric values.
'WK1' :
The data is downloaded in Lotus 1-2-3 format.
'BIN' :
Binary format. The data is transferred in binary format. There is no
formatting and no codepage conversion. The data is interpreted row by
row and not formatted in columns. Specify the length of the data in
parameter BIN_FILESIZE. The table should consist of a column of type X,
because especially in Unicode systems the conversion of structured data
into binary data leads to errors. -
iPhone 5s photos/video,deleting duplicate photos and video transferred from other iPhone 5s & iPhone 4S
I have tried selecting photos and videos to throw them in trash bin, but the trash bin doesn't work when pressing and or clicking on it
I would like to know how to get rid of the unwanted and duplicate pictures that I've transferred from my other iPhones.
If someone could please help me, I would greatly appreciate it !!
Thank you so much,
GingerHow did you transfer the photos from your other iPhone? If you did it by importing them from the old phone to a computer and then used iTunes to sync them back to the new phone, then you would delete them by syncing again using iTunes but this time change the selection of which photos are to be synced. Each time you sync using iTunes, it sets the non-Camera Roll photos on the phone to match the current settings/selection in iTunes.
-
Using GetResource to get a file from a different folder than bin
Hi guys,
here is the line of code I am working with:
final static URL musicD = Sound.class.getResource("Sound//MusicD.mid")this loads MusicD.mid from the project/bin/Sound folder. However, SVN messes up my bin folder badly, how can I get a resource from the project folder, or better yet project/sound folder as opposed to the bin folder? Thanks!
P.S. I am on a tight deadline, so a straight answer would be very helpful, what I dont need is more smug advice! =) thanks!hiwa wrote:
Christ_Guard wrote:
Hi guys,
here is the line of code I am working with:
final static URL musicD = Sound.class.getResource("Sound//MusicD.mid")this loads MusicD.mid from the project/bin/Sound folder. However, SVN messes up my bin folder badly, how can I get a resource from the project folder, or better yet project/sound folder as opposed to the bin folder? The syntax is wrong. Besides, what is your current current directory from where your application is launched? Is it in a jar file?Thanks for the honest help, I really appreciate it! I am working out of eclipse and compiling it there, so it is not yet a jar file. How would you suggest fixing the syntax to work?
P.S.
the directory I am working from is this:
C:\Users\Christian\TCSS 305 Workspace\shielc-tetristhis directory has the src and bin directories, yet I dont know how to get the resources from this directory instead of the bin directory. -
Importing swf from bin-release to Flash Professional..
Hello,
I'm trying to take a .swf from the bin-release folder from Flash Builder and import it into Flash Professional CS5 and it doesn't work. Here are the steps I have taken:
I'm using the following simple code in FlashBulder
<?xml version="1.0" encoding="utf-8"?>
<mx:Application
xmlns:mx="http://www.adobe.com/2006/mxml" width="
1200" height="450" backgroundColor="
#cc5500"
>
<mx:Canvas color="#ffffff"backgroundColor="
#000000"width="
100%" height="100%"
>
</mx:Canvas>
</mx:Application>
I create a project (Project->Export Release Build)
I copy the .swf from the bin-release folder to my desktop.
Finally I open Flash Professional CS5 create a new .fla and try to import the swf using File->Import->Import to Stage but nothing happens.
I can import other swfs that I have created from Flash Professional successfully.
Does anyone know what I might be doing wrong?
Thanks in Advance.The solutions is to navigate to the Flex Compiler tab
(Project>Properties) and add the
“-use-network=false” argument to the “Additional
compiler arguments” line. -
Downloads from Safari going to trash bin
Hello,
Whenever I download files from Safari they go to the Trash bin. It's only with direct downloads using Safari as iTunes and other program downloads/updates go to the appropriate locations. I obviously messed something up (probably deleted some important download files or pathway) and I don't know how to fix it. Any help would be greatly appreciated. Sorry for the basic question.
Thank you!If I want to create a Download folder on the desktop that Safari will download to, I'm thinking I should create it at the Macintosh HD level so that it would be at the same level as the Applications and Documents folders, right?
No. That level is for system-wide folders. There shouldn't be a Documents folder there. Documents should be in your home folder, along with a Downloads folder. If you really want the Downloads folder on the desktop, Command-Option-Drag it there. That will create an alias to it on the desktop but leave the folder in its normal location.
Instead of putting it on the desktop, why not drag it to the dock (to the right of the divider bar) or to the Finder sidebar (lower section)? -
Why are subclips going into wrong bin?
When I open a clip from a bin and create a subclip, I expect that subclip will land back in the bin the master clip came from, but this is not always happening. Sometimes the subclip appears in the correct folder, and sometimes it shows up in the higher level master folder, or in some other folder, almost random. Is there some protocol to follow to make sure the subclip always appears in the folder of its master clip?
"When multiple instances of the project panel are open" ...
Perhaps I don't understand this. I've never (to my knowledge) opened a second instance of the project panel ... and yet several times the subclips "disappeared" ... only to find that they'd somehow landed in a parent folder. This is with the project panel in the 'standard' lowere left quadrant, only one folder open and showing.
It's puzzled me when it happens ... double-click on a file, it goes to the source monitor; set i-o, right-click "create subclip" ... sometime it goes in the folder it came out of, occasionally to the "upper" folder.
Neil -
Need help to create an .sh or .bin file
Hi all,
I have develop Java a program which could be run on both windows and unix/linux operating systems. I could create a .exe file for windows platform. Is there anybody know how to create .bin or .sh for using the .jar file to unix/linux based operating systems.
Please hope a reply from you guys as soon as possible,
Thanks in advanceYou could try jnix or [jar2sh|http://www.martiansoftware.com/lab/jar2sh.html]
Maybe you are looking for
-
Hi everyone, I have a macbook pro connected to the wrt54gc v2 router via wireless and i'm having some anoying problems. I noticed that there is a big latency when loading pages or pinging external IP's. I've been trying all kind of configurations and
-
Hi, I am creating a report and I need the information of Purchase order versions which are created after PO is released. Pls tell me in which tables version information is saved. Based on version, I need to find the PO amount at the time of different
-
IPhone 3GS All folders disappeared after reboot.
Hi, I am using ihone 3GS jailbroken and unlocked in India. During unlocking the version was downgraded from 5.1 version to 4.1 As it was password protected, my little kid was pressing some buttons and it got rebooted. But after it came up I just see
-
IDVD won't allow burning...
I get an error message saying "Error in Project Structure" and "there is an empty slideshow in your project. Make sure every slideshow has at least one image blah blah blah..." I have created a slideshow in iPhoto and exported to QT 7 pro, then impor
-
What setup is require to run a consumption-based planning
Dear all, I know there is a two way to run Consumption-Based Planning in standard SAP: 1 - Forecast-based Planning, and 2 - Re-order point Planning. My question is what is the configuration setup and material master value maintenance require for the