How to reverse movement by BAPI GOODSMVT CREATE?
Dear all,
i want to use BAPI GOODSMVT CREATE to do the revese for the movement , this is my 1st to use this BAPI , can anyone here can give me the sample how to use this funtion to reverse the movement ... as i know is use the code for 06, for the value pass to this funtion total no have idea what value to pass in ...
Thanks
Edited by: Juan Reyes on Sep 3, 2009 3:14 PM
Hi Himanshu,
I have to reverse the GR and I am using BAPI -> BAPI_GOODSMVT_CREATE and passing below information but I am getting error message as 'Goods movement not possible with mvmt type 102'. Could you pls tell me what would be the possible reasons to get this error.
goodsmvt_header-PSTNG_DATE = 20110705
goodsmvt_header-DOC_DATE = 20110705
goodsmvt_code-GM_CODE = 06
goodsmvt_item-PLANT = 1400
goodsmvt_item-MOVE_TYPE = 102 <<< Reversal movement type
goodsmvt_item-ENTRY_QNT = 02
goodsmvt_item-ENTRY_UOM = SET
goodsmvt_item-PO_NUMBER = W299999508
goodsmvt_item-PO_ITEM = 0010
goodsmvt_item-MVT_IND = B
goodsmvt_item-XSTOB = ''. << space to use reversal types
Thanks in Advance
Venkat
Similar Messages
-
How to reverse movement type 647
Hi Everyone,
Need to reverse the GI (movement type 647) posted for Intra Co STO.
Tried using MIGO or MBST. We are getting error message: m7130 (Material Document cannot be processed)
The only allowed transactions that I found in OMJJ for movement type 647 are --
MB11
VL01
VL01N
VL01NO
VL02
VL02N
VL03N
VL08
Please let me know how should I reverse this GI posting.
Thanks & Regards,
RaviThanks Jürgen. Yes I could reverse the GI. But because VL09 was not listed in the allowed transactions for 647 I had not tried it earlier. Could you help me understand why it is not listed in OMJJ?
-
Problem in BAPI GOODSMVT CREATE OIL
Dear Abapers,
I have developed an ZFunction Module for to do posting 102 Movt type.An ABAP Dump is encountered when doing the negative subsequent adjustment via the Z function module. The dump only happens when BAPI_GOODSMVT_CREATE_OIL is called
After get into several functions and subroutines When I debug the BAPI_GOODSMVT_CREATE_OIL.Finally I got the error encountered place which is from select query on the line no: 204 in the function "OIB2_HPM_MAT_CHECK_COMPLETE"
IF i_mseg-bpmng NE i_ms2int-adqntp.
we skip this error mess in case an invoice had already
been posted where the quantity is greater than the
goods issue qty.
data: ls_ekbe type ekbe.
select single * from ekbe
into ls_ekbe
where ebeln = i_mseg-ebeln
and ebelp = i_mseg-ebelp
and vgabe = '2'
and bewtp = 'Q'.
if not sy-subrc is initial.
MESSAGE a359 WITH i_mseg-matnr i_mseg-werks i_mseg-zeile 'BPMNG'
RAISING bpmng_not_found.
endif.
ENDIF.
ENDIF.
Let me know,if you need more details for the sameThanks Aditya
How to check the materail quantity? is you are talking about Input material quantity ?
I guess there is some problem in additional quantity field(ADQNTP) in table MSE02 .Because dump is encountered after checking the below "IF" condition
*IF i_mseg-bpmng NE i_ms2int-adqntp.*
I m very new to this MM area thats why i can't perdict the usage of additional quantity things(ADQNTP).
I wish to tell you some more information.This ABAP is encountered for certain materials that too for some scenarios.
Is anything we need to takecare in master tables or some other tables ?
Please help me !!! -
Hi,
Can anybody send me some sample code to handle multiple files in application server. My requirement is to create an interface to create PO and GR from the file residing in Application server. Multiple files will be in application server. No selection screens are there. BAPI used are BAPI_PO_CREATE1 and BAPI_GOODSMVT_CREATE. And If anyone has already created this interface, please give me some idea of how to read multiple files and if possible send some sample code.
Any help will be greatly appreciated.
Regards,
NaveenHi Naveen,
Go through this link.
BAPI_PO_CREATE1
Re: Proble in Creating Multiple Item PO using BAPI_PO_CREATE1
BAPI_GOODSMVT_CREATE
http://www.sap-img.com/abap/bapi-goodsmvt-create-to-post-goods-movement.htm
http://www.4ap.de/abap/bapi_goodsmvt_create.php
Reward Points For the Helpful.
Regards,
Harini.S -
Hi All,
I would like to use the BAPI to create the IR and GR.
But i don't know which BAPI is use for create the IR and GR . Could you mind give any information about this?
Regards,
LukeHi Luke,
The function module "BAPI_GOODSMVT_CREATE " would perform the task. Please refer to the following link.
http://www.sap-img.com/abap/bapi-goodsmvt-create-to-post-goods-movement.htm
Regards. -
Hi all
If I already run F.05 , how to reverse?
Best Regards,
ManthanaHi,
Create a new valuation method in OB59. Select the valuation procedure as "Reset".
If you run F.05 with this valuation method, it would reset the previously valuated line items.
Please let me know if you need further information.
Regards,
Ravi Kumar -
We are trying to develop an interface with a third party software and we need to upload recipe from there.
So i am need a BAPI to create recipe and maintain aswell.
also I am trying to use BAPI BAPI_MATERIAL_SAVEDATA to create material and BAPI
BAPI_BOM_UPLOAD_SAVE to create BOM .
I manually entered data into fields but not able to create material and BOm.
Please give me the procedure on how to use them and BAPI for creating Recipe.
Help is appriciated.Hi Mirza
You can use BAPI_MATERIAL_BOM_GROUP_CREATE to create a BOM,
Regards
UK -
How do I move all my files from one User Profile (account) into another?
I needed to create a new account and want all of my files accessible in the new one.ok, what you're learning right now is 101 unix, which is good. Unix is a good thing
now: the way unix works, and macos (which uses unix underneath) the files and folders work like a hierarchy.
the start of that tree is /
so, if you were to do:
cd /
(cd means change directory)
it will bring you at the highest branch of the file system.
cd /Users
will bring you to where all the users are.
to see whats in /Users you can use your friend ls command
ls means list files/directories
so:
cd /Users
ls -la
(the -la here means show all (even hidden) and long format (very verbose)) this flag is very optional.
you will see
fred
user2
for example.
if you want to see the desktop of user2 you would change directory to it then list the files.
for example:
cd /Users/user2/Desktop
Note that the files and directory are case sensitive, so, desktop is NOT the same as Desktop, or DESKTOP
ls -la
you should then be able to see everything in users2 desktop
you could have done as well the same thing in smaller steps, for example:
cd /
cd Users
cd user2
cd Desktop
this is the equivalent of cd /Users/user2/Desktop
So, for your file, i don't know where it was, but know that if you log in as user2, it will directly put you in
/Users/user2
which most likely the file you had created from the other user was in /Users/user1
if you copied all the files from /Users/original_user to /Users/secondUser
most likely yes, all your mail, bookmarks etc would be copied over.
so in your case.
sudo chown -R seconduser:staff /Users/secondUser
should work
Remember that if you start a path with the character / it means start from the root of the file system, at the highest top you can ever get.
so
cd /Users/fred
is not the same as
cd Users/fred
unless you were in / already
i know it may be confusing at first but it's actually very logical if you play with it.
to simplify, think of it that / means C:\ on windows
you can't go any higher than C:\ (in a way)
if you're unsure which directory you're currently in, you can always type:
pwd
it will tell you where you are.
for example:
cd /
pwd
this shows /
cd Users
pwd
this now shows /Users
cd /System/Library
pwd will show /System/Library
cd /
cd /Users
cd fred
cd Library
pwd will show /Users/fred/Library
unix can look very scary but it's actually vital and very necessary to do tasks sometimes that would take for ever to do via the windows. This is good learning.
so for the myfile you had created, i can't tell you where it is, at the time you created, if you can do a pwd command you'll know the path,
ls -la (this shows all the files where you are)
if you see myfile in the list
do a pwd
whatever is return, the real location of the file would be:
whatever pwd returned / myfile
I hope that makes sense. -
How To Delete .mov file Created In Quick Time
How do I delete an audio file created in Quick Time Player and saved in my Movies folder as a .mov file? I can't drag it to Trash, and I can't access the delete option in the Edit dropdown, and Help doesn't seem to cover that topic. It just puts the floating blue marker beside Select All, which seems to do nothing much.
Many thanks.Right click (Control click) and choose Move to Trash.
-
How do I move a picture from one pdf-file to another, already created pdf-file, with adobe reader?
Reader doesn't have editing capabilities.
-
I have to create a new iTunes account as I cannot remember the security question answers to my current account, how do I move over my purchases from my current account to my new account?
fayry wrote:
... how do I move over my purchases from my current account to my new account?
This is not possible...
Anything Downloaded with a Particular Apple ID is tied to that Apple ID and Cannot be Merged or Transferred to a Different Apple ID.
Apple ID FAQs > http://support.apple.com/kb/HE37 -
i just bought a new macbook w/ mtn lion. when i transferred data from my old macbook over, it created another user name (i called it "old computer"). That's actually good--I'm not going to be accessing old files frequently--except for music, which i want on my new user name. How do i move files from my "old comp" account to my new one? Is there a way to easily move large #'s of files, or just one by one? I've googled extensively but can only find instructions for OSX 10.6 and previous, which talks about the "Shared folder," which I can't seem to find.
jesster03 wrote:
i just bought a new macbook w/ mtn lion. when i transferred data from my old macbook over, it created another user name (i called it "old computer"). That's actually good
That's actually bad. Peruse Pondini's Setup New Mac guide and seriously consider starting over. -
How do I move/copy contacts from Entourage to iCloud Address Book without creating duplicates? Address Book on Mac, iCloud, iPhone and iPad is now empty
Thank you for letting me know!
Going to give it a go. Had a back up of all my clients files stupidly not my software as I have the originals disks. Just realised that amongst the software is ibiz and have lost al my accounting and billing files for the last 7 years want to cry so losing my contacts now will really tip me over the edge!
Fingerscrossed this works! -
Create reversal document with BAPI: BAPI_ACC_DOCUMENT_POST.
Hi Guys,
I am Create reversal document with BAPI: BAPI_ACC_DOCUMENT_POST.First I am post financial document with BAPI BAPI_ACC_DOCUMENT_POST and Same Document. i am Reversal with same BAPI 'BAPI_ACC_DOCUMENT_POST'.
New reversal docment is created. but posting key are not changingin reversal docment.whatever posting key created in posting same posting key are created while reversal also.Please help mecheck
Mapping of POSTING KEY in BAPI_ACC_DOCUMENT_POST -
[CS6] How can I move shapes (created with paths)?
[CS6]
I created shapes with the pen tool.
Then I selected the path selection tool and selected a path.
Clicked right mouse key, choosed "Fill Path..." or "Fill Subpath"
(don't know what it means). After filling with a color I get an object in
the form of the path and I can move the path to another place.
But I can't move the object in the shape of the path.
I can't move it with "Path selection tool" because it's no path.
Then I tried the "Move Tool" but I also can't select the object with it
instead the whole canvas is moving.
How can I select and move shapes which were
created with the pen tool?You've drawn a Path then filled a region of a pixel layer.
To make Shape layers, use the Pen Tool in "Shape" mode set in the Options bar.
If you really do want to draw a Path and use it to create moveable pixel shape then do the fill with an empty layer targeted.
Maybe you are looking for
-
Document Number Not Generate In FEBA ( Bank Reconciliation)
Dear All, We have configured all the required details for Manual Bank Statement for Bank Reconciliation . Steps : 1 ) Take converted file from Bank 2 ) Upload that file in Text format into System then system automatically update FF67. 3) Go into FE
-
SAP R/3 Schedule Program :: 2 calls in 1Sec.
Hi We are running one schedule program ( 1 min. interval ) which is calling the RFC to pass the message to Web Service Business System using SAP XI as middleware. This is a Synchronous scenario in which WebService is providing the response back to SA
-
How to extract execution time of a step
how to extract execution time of a step ? This step calls another sequence, and I want to know how long it take to execute that seqeuence. I need this information during run time, not in the report. thanks.
-
Giving authorisation to specific users for usage of variant
Hi, I created variant for one report. Now i need to give authorization to specific users for usage of variant. Please let me know how to do this. Regards SRee
-
Trying to activate my imessage and FaceTime. I click on using my apple ID so it ask me for my password I put it in and it says its wrong which I know it's not cause I use it on other things and it works fine except for imessage and face time... So an