Material/Serial Nbr is "Stuck" in a storage location and can not be moved
We have a situation created by my customers which has lead to a situation I have never seen before. A material/serial nbr. that is in our Returns location that can not be transfered, issued, removed, or anything via ANY MIGO movement type combination.
This is what happend:
- Customer return processed. Material ABC, Batch XYZ with Serial Nbr. 123 brought into our "RT" StoreLoc.
- Clerk processed MIGO to do a Stock Transfer of this material to another StoreLoc. (PS). He entered in the material ABC, batch XYZ, and a bad serial number 1233. He used a 453 Movement type.
- After realizing his mistake, he processed MIGO again and processed a GI Xfer posting with a 972 movement type to get rid of the bad material/serial nbr. he had just moved to the PS StoreLoc.
- Then he tried to redo the Stock Transfer using a 453 Movement type for the material ABC, batch XYZ, and the good serial nbr. 123, but, he gets a "Deficit of BA Ret.blocked prev. 1.000 EA " error message.
- At this point, he contacts me to ask what can be done.
No matter what we try to do, we can not access this part/serial nbr. combo to move it or issue it or whatever. It is like a ghost now. You can see the serial number via IQ03, but you can not do anything with this part/serial nbr.
Help! Do I need to write an ABAP to physically delete this material/serial nbr from its batch?
Hi,
First of all, I would assume you used customized movement type 972 to 'get rid of' your material ID with wrong serial number 1233 at PS storage location. If this is the case, then this posting did not return the stock quantity from PS to your RT storage location and that why when you tried to make another posting (with correct serial number 123), an error message was popped up as you simply do not have available stock. The solution in this case are -
1) Cancel the posting that you made previously with movement type 972. This cancellation will help return your stock (though with wrong serial number 1233) to PS storage location;
2) Cancel the posting that you have posted to move your stock back from PS to RT (again with wrong serial number). This steps ensure the stock quantity '1' is available at RT storage location;
3) Make another stock transfer (with correct movement type 453 and serial number 123) from RT;
4) Delete the serial master record 1233 so that it can no longer be used.
Cheers,
HT
Similar Messages
-
Stuck in single user mode and can not get past it
I am experiencing a problem I recently had lent me a Mac g4 tower. I decided to upgrade to tiger and accidentally set the start-up preference to the disc, every time I boot up it goes into single user mode, if I boot up holding the option key it brings up 3 icons on the right is an arrow in a circle formation which is refresh at a guess in the middle is the hard drive which is depressed kind of thing and on the right is a straight arrow. I have tried selecting each of these individually and even pressing enter all but the refresh icon goes back into single user mode. When the disc is in and I go to this it does not ring up the disc as an option.
I have zapped the PRAM reset the CUDA button and even telling it to reset the NRAM etc.
I have tried it with the disk in and out and all paths lead to the same outcome it starts up I hear the tone and the screen goes grey with an apple icon on then it goes to lack screen saying localhost:/root#.
I have also used the (fsck –fy) in single user mode to scan the disk and it says it appears to be ok. I have done all these steps multiple times but I am still getting the same outcome.
I have also tried pulling the logic battery and pressing the cuda switch and leaving it to stand and even pulling the RAM but this has not worked and I am still getting the same out come of been put straight in to single user mode.
I have tried starting up in safe mode but again this just goes to single user mode as well.
As yet I have not tried booting up using this machine as a slave drive or using another Mac as a slave drive and seeing what this out come does as I have not got access to another Mac at this time.
Unfortunately I do not have the original discs that came with the machine either so can not even boot from them.
Any other ideas would be greatly appreciated thank you.
Please read my post properly thanks.
I have tried several key commands such has D, C and even holding (option, command, shift and delete) when i do this it just brings up a folder with two changing flashing icons.Ok checked them out and followed the instructions given, but still getting the same outcome, looked at the system log and it tells me.
localhost login: PAM pam_inithandlers:no default config /etc/pam.d/other
localhost login:PAM error reading PAM configuration file
localhost login:PAM pam_start:failed to initialize handlers
localhost shutdown: halt by andy
Any more ideas??? -
Change storage location and plant for Return Delivery (outbound)
Hi,
I'm trying to achieve the following:
Sales orders contained the 'normal' plant. Whenever a return delivery is created it should default the plant to a 'return delivery plant / storage location'. I've looked in to this and it seems we've got multiple options, however i would like to check:
- Implement V02V0002 user-exit and link with 'return' movement type. Will this ensure plant change aswell?
- Use standard RETA rule and define ?situations?. Could somebody clearify whether we can achieve our goal with this: Change plant and storage location?
Any suggestions to achieve the above are very much appreciated.
Note: Material contains both views for 'return plant/storage location' and 'normal plant/storage location'.
System is R/3 4.6c with IS Retail activated.
Kind regards,
TimHi,
The delivery is created against/follow-on a sales order / subscription order / invoice. I don't think we use/have a 'return sales order'. Yes, we only use 1 plant / storage location for the returns of goods.
To sum it up:
- Implement badi/user-exit ensuring that the plant is changed/defaulted in to our 'returns plant' for return documents.
- Configure storage location via 'shipping condition'.
Correct?
Ps. I don't think we'll achieve changing the plant via configuring a shipping condition for our return document type. As the plant from the sales order doesn't match with the shipping condition it won't be taken in to account? And yes: It is mandatory/requirement to change the plant for customer return documents.
Thank you for your inputs.
Kind regards,
Tim -
Storage location Data is not saving in table MARD using BAPI method.
Hi Experts,
TABLES: T001L, "Storage Locations
MARA, "General Material Data
MAKT, "Material Descriptions
MBEW, "Material Valuation
MARC, "Plant Data for Material
MARD. "Storage Location Data for Mate
DATA: BAPI_HEAD LIKE BAPIMATHEAD, "MATERIAL
BAPI_MAKT LIKE BAPI_MAKT, "Material Description
BAPI_MARA1 LIKE BAPI_MARA, "Client Data
BAPI_MARAX LIKE BAPI_MARAX,
BAPI_MARC1 LIKE BAPI_MARC, "Plant View
BAPI_MARCX LIKE BAPI_MARCX,
BAPI_MBEW1 LIKE BAPI_MBEW, "Accounting View
BAPI_MBEWX LIKE BAPI_MBEWX,
BAPI_MARD1 LIKE BAPI_MARD, "Storage location
BAPI_MARDX LIKE BAPI_MARDX,
BAPI_RETURN LIKE BAPIRET2.
DATA: BEGIN OF INT_MAKT OCCURS 100.
INCLUDE STRUCTURE BAPI_MAKT.
DATA: END OF INT_MAKT.
DATA: BEGIN OF INT_MAT OCCURS 100,
WERKS(4), "Plant
LGORT(4), "Storage location
MTART(4), "Material type
MATNR(18), "Material number
MAKTX(40), "Material description
MATKL(9) , "Material group
MBRSH(1), "Industry sector
MEINS(3), "Base unit of measure
GEWEI(3), "Weight Unit
SPART(2), "Division
EKGRP(3), "Purchasing group
VPRSV(1), "Price control indicator
STPRS(12), "Standard price
PEINH(3), "Price unit
SPRAS(2), "Language key
BKLAS(4), "VALUATION CLASS
VERPR TYPE VERPR_BAPI, "MOVING PRICE
BWTTY(1), "Valuation Catogory
MLAST(1), "Price determination
MLMAA(1), "Material Ledger
EKLAS(4), "Valuation Class for sales order stock
QKLAS(4), "Valuation Class for Project Stock
ZKPRS TYPE DZKPRS, "Future price
ZKDAT TYPE DZKDAT, "Valid From Date
BWPRS TYPE BWPRS, "Tax price 1
BWPS1 TYPE BWPS1, "Tax price 2
VJBWS TYPE VJBWS, "Tax price 3
ABWKZ TYPE ABWKZ, "Devaluatin indicator
BWPRH TYPE BWPRH, "Commercial price 1
BWPH1 TYPE BWPH1, "Commercial price 2
VJBWH TYPE VJBWH, "Commercial Price 3
XLIFO(1), "LIFO/FIFO revelant
MYPOL(4), "Pool no for LIFO
MMSTA(2), "Plant specific material status
AUSME TYPE AUSME, "Unit of issue
QMATA(6), "Material Authorization group
RBNRM(9), "Catalog Profile
WEBAZ TYPE WEBAZ, "Goods reciept processing time in days
PRFRQ TYPE PRFRQ, "Recurring Insepction
SSQSS(8), "QM Control key
QZGTP(4), "Certificate Type
QSSYS(4), "Required QM system for vendor
END OF INT_MAT.
DATA: V_MATNR TYPE MARA-MATNR.
SELECT-OPTIONS:
PLANT FOR MARC-WERKS OBLIGATORY MEMORY ID PLT,
S_LGORT FOR MARD-LGORT MEMORY ID STL,
MATERIAL FOR MARA-MATNR MEMORY ID MAT,
MATLTYPE FOR MARA-MTART MEMORY ID MTY,
DIVISION FOR MARA-SPART MEMORY ID DIV.
PARAMETERS: F_FILE LIKE RLGRAP-FILENAME
DEFAULT 'C:\DATA\ZMATERIAL.XLS' MEMORY ID F_FILE,
GETDATA AS CHECKBOX, "Tick to download materials data to local harddisk
UPDDATA AS CHECKBOX. "Tick to update date to Materials Master
IF GETDATA = 'X'.
PERFORM DOWNLOAD_DATA.
PERFORM DOWNLOAD_FILE.
ENDIF.
IF UPDDATA = 'X'.
PERFORM UPLOAD_FILE.
PERFORM UPDATE_MM.
ENDIF.
FORM DOWNLOAD_DATA.
SELECT * FROM MARC WHERE LVORM EQ ' '
AND WERKS IN PLANT
AND MATNR IN MATERIAL.
CLEAR MARA.
SELECT SINGLE * FROM MARA WHERE MATNR = MARC-MATNR.
CHECK MATLTYPE.
CHECK DIVISION.
CLEAR MBEW.
SELECT SINGLE * FROM MBEW WHERE MATNR = MARC-MATNR
AND BWKEY = MARC-WERKS.
CLEAR MAKT.
SELECT SINGLE * FROM MAKT WHERE SPRAS = 'EN'
AND MATNR = MARC-MATNR.
CLEAR MARD.
SELECT SINGLE * FROM MARD WHERE WERKS IN PLANT
AND LGORT IN S_LGORT.
WRITE:/ MARC-WERKS, "Plant
MARD-LGORT, "Storage location
MARA-MTART, "Material type
MARA-MATNR, "Material number
MARA-MATKL, "Material group
MARA-MBRSH, "Industry sector
MARA-MEINS, "Base unit of measure
MARA-GEWEI, "Weight Unit
MARA-SPART, "Division
MARC-EKGRP, "Purchasing group
MBEW-VPRSV, "Price control indicator
MBEW-STPRS, "Standard price
MBEW-PEINH, "Price unit
MBEW-BKLAS, "VALUE CLASS
MAKT-SPRAS, "Language key
MBEW-BKLAS, "Valuation Class
MBEW-VERPR, "Moving price
MAKT-MAKTX, "Material description
MBEW-BWTTY, "Valutaion Catogorey
MBEW-MLAST, "Price Determination
MBEW-MLMAA, "Material Ledger
MBEW-EKLAS, "Valuation class for Sales order stock
MBEW-QKLAS, "Valutaion Class for Project Stock
MBEW-ZKPRS, "Future Price
MBEW-ZKDAT, "Valid From Date
MBEW-BWPRS, "Tax price 1
MBEW-BWPS1, "Tax price 2
MBEW-VJBWS, "Tax price 3
MBEW-ABWKZ, "Devaluatin indicator
MBEW-BWPRH, "Commercial price 1
MBEW-BWPH1, "Commercial price 2
MBEW-VJBWH, "Commercial Price 3
MBEW-XLIFO, "LIFO/FIFO revelant
MBEW-MYPOL, "Pool no for LIFO
MARC-MMSTA, "Plant specific material status
MARC-AUSME, "Unit of issue
MARC-QMATA, "Material Authorization group
MARA-RBNRM, "Catalog Profile
MARC-WEBAZ, "Goods reciept processing time in days
MARC-PRFRQ, "Recurring Insepction
MARC-SSQSS, "QM Control key
MARC-QZGTP, "Certificate Type
MARC-QSSYS. "Required QM system for vendor
INT_MAT-WERKS = MARC-WERKS. "Plant
INT_MAT-LGORT = MARD-LGORT. "Storage Location
INT_MAT-MTART = MARA-MTART. "Material type
INT_MAT-MATNR = MARA-MATNR. "Material number
INT_MAT-MAKTX = MAKT-MAKTX. "Material description
INT_MAT-MATKL = MARA-MATKL. "Material group
INT_MAT-MBRSH = MARA-MBRSH. "Industry sector
INT_MAT-MEINS = MARA-MEINS. "Base unit of measure
INT_MAT-GEWEI = MARA-GEWEI. "Weight Unit
INT_MAT-SPART = MARA-SPART. "Division
INT_MAT-EKGRP = MARC-EKGRP. "Purchasing group
INT_MAT-VPRSV = MBEW-VPRSV. "Price control indicator
INT_MAT-STPRS = MBEW-STPRS. "Standard price
INT_MAT-PEINH = MBEW-PEINH. "Price unit
INT_MAT-SPRAS = MAKT-SPRAS. "Language key
INT_MAT-BKLAS = MBEW-BKLAS. "VALVATION CLASS
INT_MAT-VERPR = MBEW-VERPR. "MOVING price
INT_MAT-BWTTY = MBEW-BWTTY. "Valutaion Catogorey
INT_MAT-MLAST = MBEW-MLAST. "Price Determination
INT_MAT-MLMAA = MBEW-MLMAA. "Material Ledger
INT_MAT-EKLAS = MBEW-EKLAS. "Valuation class forS.O Stock
INT_MAT-QKLAS = MBEW-QKLAS. "Valutaion Class for Project
INT_MAT-ZKPRS = MBEW-ZKPRS. "Future Price
INT_MAT-ZKDAT = MBEW-ZKDAT. "Valid From Date
INT_MAT-BWPRS = MBEW-BWPRS. "Tax price 1
INT_MAT-BWPS1 = MBEW-BWPS1. "Tax price 2
INT_MAT-VJBWS = MBEW-VJBWS. "Tax price 3
INT_MAT-ABWKZ = MBEW-ABWKZ. "Devaluatin indicator
INT_MAT-BWPRH = MBEW-BWPRH. "Commercial price 1
INT_MAT-BWPH1 = MBEW-BWPH1. "Commercial price 2
INT_MAT-VJBWH = MBEW-VJBWH. "Commercial Price 3
INT_MAT-XLIFO = MBEW-XLIFO. "LIFO/FIFO revelant
INT_MAT-MYPOL = MBEW-MYPOL. "Pool no for LIFO
INT_MAT-MMSTA = MARC-MMSTA. "Plant specific material
INT_MAT-AUSME = MARC-AUSME. "Unit of issue
INT_MAT-QMATA = MARC-QMATA. "Material Authorization group
INT_MAT-RBNRM = MARA-RBNRM. "Catalog Profile
INT_MAT-WEBAZ = MARC-WEBAZ. "Goods reciept processing
INT_MAT-PRFRQ = MARC-PRFRQ. "Recurring Insepction
INT_MAT-SSQSS = MARC-SSQSS. "QM Control key
INT_MAT-QZGTP = MARC-QZGTP. "Certificate Type
INT_MAT-QSSYS = MARC-QSSYS. "Required QM system for
APPEND INT_MAT.
CLEAR INT_MAT.
ENDSELECT.
ENDFORM.
FORM DOWNLOAD_FILE.
call function 'WS_DOWNLOAD'
EXPORTING
FILENAME = F_FILE
FILETYPE = 'DAT'
FILETYPE = 'WK1'
tables
data_tab = INT_MAT
EXCEPTIONS
FILE_OPEN_ERROR = 1
FILE_WRITE_ERROR = 2
INVALID_FILESIZE = 3
INVALID_TYPE = 4
NO_BATCH = 5
UNKNOWN_ERROR = 6
INVALID_TABLE_WIDTH = 7
GUI_REFUSE_FILETRANSFER = 8
CUSTOMER_ERROR = 9
OTHERS = 10.
IF SY-SUBRC = 0.
FORMAT COLOR COL_GROUP.
WRITE:/ 'Data Download Successfully to your local harddisk'.
SKIP.
ENDIF.
ENDFORM.
FORM UPLOAD_FILE.
call function 'WS_UPLOAD'
EXPORTING
FILENAME = F_FILE
FILETYPE = 'DAT'
FILETYPE = 'WK1'
tables
data_tab = INT_MAT
EXCEPTIONS
FILE_OPEN_ERROR = 1
FILE_WRITE_ERROR = 2
INVALID_FILESIZE = 3
INVALID_TYPE = 4
NO_BATCH = 5
UNKNOWN_ERROR = 6
INVALID_TABLE_WIDTH = 7
GUI_REFUSE_FILETRANSFER = 8
CUSTOMER_ERROR = 9
OTHERS = 10.
IF SY-SUBRC = 0.
FORMAT COLOR COL_GROUP.
WRITE:/ 'Data Upload Successfully from your local harddisk'.
SKIP.
ENDIF.
ENDFORM.
FORM UPDATE_MM.
LOOP AT INT_MAT.
CALL FUNCTION 'CONVERSION_EXIT_MATN1_INPUT'
EXPORTING
INPUT = INT_MAT-MATNR
IMPORTING
OUTPUT = INT_MAT-MATNR
EXCEPTIONS
LENGTH_ERROR = 1
OTHERS = 2
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Header
BAPI_HEAD-MATERIAL = INT_MAT-MATNR.
BAPI_HEAD-IND_SECTOR = INT_MAT-MBRSH.
BAPI_HEAD-MATL_TYPE = INT_MAT-MTART.
BAPI_HEAD-BASIC_VIEW = 'X'.
BAPI_HEAD-PURCHASE_VIEW = 'X'.
BAPI_HEAD-ACCOUNT_VIEW = 'X'.
Material Description
REFRESH INT_MAKT.
INT_MAKT-LANGU = INT_MAT-SPRAS.
INT_MAKT-MATL_DESC = INT_MAT-MAKTX.
APPEND INT_MAKT.
Client Data - Basic
BAPI_MARA1-MATL_GROUP = INT_MAT-MATKL.
BAPI_MARA1-BASE_UOM = INT_MAT-MEINS.
BAPI_MARA1-UNIT_OF_WT = INT_MAT-GEWEI.
BAPI_MARA1-DIVISION = INT_MAT-SPART.
BAPI_MARAX-MATL_GROUP = 'X'.
BAPI_MARAX-BASE_UOM = 'X'.
BAPI_MARAX-UNIT_OF_WT = 'X'.
BAPI_MARAX-DIVISION = 'X'.
Plant - Purchasing
BAPI_MARC1-PLANT = INT_MAT-WERKS.
BAPI_MARC1-PUR_GROUP = INT_MAT-EKGRP.
BAPI_MARC1-PUR_STATUS = INT_MAT-MMSTA.
BAPI_MARC1-ISSUE_UNIT = INT_MAT-AUSME.
BAPI_MARC1-QM_AUTHGRP = INT_MAT-QMATA.
BAPI_MARC1-GR_PR_TIME = INT_MAT-WEBAZ.
BAPI_MARC1-INSP_INT = INT_MAT-PRFRQ.
BAPI_MARC1-CTRL_KEY = INT_MAT-SSQSS.
BAPI_MARC1-CERT_TYPE = INT_MAT-QZGTP.
BAPI_MARC1-QM_RGMTS = INT_MAT-QSSYS.
BAPI_MARCX-PLANT = INT_MAT-WERKS.
BAPI_MARCX-PUR_GROUP = 'X'.
BAPI_MARCX-PUR_STATUS = 'X'.
BAPI_MARCX-ISSUE_UNIT = 'X'.
BAPI_MARCX-QM_AUTHGRP = 'X'.
BAPI_MARCX-GR_PR_TIME = 'X'.
BAPI_MARCX-INSP_INT = 'X'.
BAPI_MARCX-CTRL_KEY = 'X'.
BAPI_MARCX-CERT_TYPE = 'X'.
BAPI_MARCX-QM_RGMTS = 'X'.
Accounting 1
BAPI_MBEW1-VAL_AREA = INT_MAT-WERKS.
BAPI_MBEW1-PRICE_CTRL = INT_MAT-VPRSV.
BAPI_MBEW1-STD_PRICE = INT_MAT-STPRS.
BAPI_MBEW1-PRICE_UNIT = INT_MAT-PEINH.
BAPI_MBEW1-MOVING_PR = INT_MAT-VERPR.
BAPI_MBEW1-VAL_CLASS = INT_MAT-BKLAS.
BAPI_MBEW1-VAL_CAT = INT_MAT-BWTTY.
BAPI_MBEW1-ML_SETTLE = INT_MAT-MLAST.
BAPI_MBEW1-ML_ACTIVE = INT_MAT-MLMAA.
BAPI_MBEW1-VM_SO_STK = INT_MAT-EKLAS.
BAPI_MBEW1-VM_P_STOCK = INT_MAT-QKLAS.
BAPI_MBEW1-FUTURE_PR = INT_MAT-ZKPRS.
BAPI_MBEW1-VALID_FROM = INT_MAT-ZKDAT.
*ACCOUNTING 2
BAPI_MBEW1-TAXPRICE_1 = INT_MAT-BWPRS.
BAPI_MBEW1-TAXPRICE_2 = INT_MAT-BWPS1.
BAPI_MBEW1-TAXPRICE_3 = INT_MAT-VJBWS.
BAPI_MBEW1-DEVAL_IND = INT_MAT-ABWKZ.
BAPI_MBEW1-COMMPRICE1 = INT_MAT-BWPRH.
BAPI_MBEW1-COMMPRICE2 = INT_MAT-BWPH1.
BAPI_MBEW1-COMMPRICE3 = INT_MAT-VJBWH.
BAPI_MBEW1-LIFO_FIFO = INT_MAT-XLIFO.
BAPI_MBEW1-POOLNUMBER = INT_MAT-MYPOL.
BAPI_MBEWX-VAL_AREA = INT_MAT-WERKS.
BAPI_MBEWX-PRICE_CTRL = 'X'.
BAPI_MBEWX-STD_PRICE = 'X'.
BAPI_MBEWX-PRICE_UNIT = 'X'.
BAPI_MBEWX-MOVING_PR = 'X'.
BAPI_MBEWX-VAL_CLASS = 'X'.
BAPI_MBEWX-VAL_CAT = 'x'.
BAPI_MBEWX-ML_SETTLE = 'X'.
BAPI_MBEWX-ML_ACTIVE = 'X'.
BAPI_MBEWX-VM_SO_STK = 'X'.
BAPI_MBEWX-VM_P_STOCK = 'X'.
BAPI_MBEWX-FUTURE_PR = 'X'.
BAPI_MBEWX-VALID_FROM = 'X'.
BAPI_MBEWX-TAXPRICE_1 = 'X'.
BAPI_MBEWX-TAXPRICE_2 = 'X'.
BAPI_MBEWX-TAXPRICE_3 = 'X'.
BAPI_MBEWX-DEVAL_IND = 'X'.
BAPI_MBEWX-COMMPRICE1 = 'X'.
BAPI_MBEWX-COMMPRICE2 = 'X'.
BAPI_MBEWX-COMMPRICE3 = 'X'.
BAPI_MBEWX-LIFO_FIFO = 'X'.
BAPI_MBEWX-POOLNUMBER = 'X'.
*Storage Locations
BAPI_MARD1-PLANT = INT_MAT-WERKS.
BAPI_MARD1-STGE_LOC = INT_MAT-LGORT.
BAPI_MARDX-PLANT = INT_MAT-WERKS.
BAPI_MARDX-STGE_LOC = INT_MAT-LGORT.
WRITE:/ BAPI_HEAD-MATERIAL, BAPI_MARC1-PLANT ,BAPI_MARD1-STGE_LOC.
call function 'BAPI_MATERIAL_SAVEDATA'
exporting
HEADDATA = BAPI_HEAD
CLIENTDATA = BAPI_MARA1
CLIENTDATAX = BAPI_MARAX
PLANTDATA = BAPI_MARC1
PLANTDATAX = BAPI_MARCX
FORECASTPARAMETERS =
FORECASTPARAMETERSX =
PLANNINGDATA =
PLANNINGDATAX =
<b> STORAGELOCATIONDATA = BAPI_MARD1
STORAGELOCATIONDATAX = BAPI_MARDX</b>
VALUATIONDATA = BAPI_MBEW1
VALUATIONDATAX = BAPI_MBEWX
WAREHOUSENUMBERDATA =
WAREHOUSENUMBERDATAX =
SALESDATA = BAPI_MVKE1
SALESDATAX = BAPI_MVKEX
STORAGETYPEDATA =
STORAGETYPEDATAX =
IMPORTING
RETURN = BAPI_RETURN
TABLES
MATERIALDESCRIPTION = INT_MAKT
UNITSOFMEASURE =
UNITSOFMEASUREX =
INTERNATIONALARTNOS =
MATERIALLONGTEXT =
TAXCLASSIFICATIONS =
RETURNMESSAGES =
PRTDATA =
PRTDATAX =
EXTENSIONIN =
EXTENSIONINX =
IF BAPI_RETURN-TYPE = 'E'.
WRITE:/ 'Error Message ', BAPI_RETURN-MESSAGE.
ENDIF.
ENDLOOP.
ENDFORM.
<b>i am using this bapi method to copy materials from one plant to another plant using storage location so here what happenig is everyting is going correct but only the storage location data is not saving in table mard so any body faced this kind of problem please tell me.... and one more dbt
bapi_marcx-pur_status = 'x' what is 'X' here??? is that mandatory field or required field ???
points wil be rewarded.
reagrds,
sunil k airam.In the HEADDATA structure, STORAGE_VIEW should also be set as 'X' , in order to update storage location data
for example
BAPI_HEAD-STORAGE_VIEW = 'X'.
Also, PUR_STATUS corresponds to field MARA-MSTAE whose domain has value table T141, therefore values in the field are checked against T141
Edited by: Harris Veziris on May 12, 2008 12:37 PM -
Why can not freeze book inventory Storage location and Posting block?
Hello,
I tried to freeze book inventory storage location and posting block at storage location level in SAP.
1) OMBP -> "Freeze book inventory storage' is checked at that storage location.
2) MI01 -> the 'Posting Block' and 'Freeze book inventory' in the Physical Inventory Document is checked.
3) Post the Physical Inventory Document by using MI02.
But, I am still able to post inventory movement at that storage location after executing the above.
(I run MB1C with movement type 501 at that location.
I input the material number which are in the created Physical Inventory document.
The posted manterial document is created after I run MB1C.
The document date and the posting date in MB1C are the same date of Physical Inventoery Document.
I can see this material inventory movement from MB51!! )
My question is: Why SAP is allowed to execute the inventory movement after the 'freeze book inventory storage location' and 'Posting block' are checked at OMBP and MI01 ?
Any idea?
Help me, thank you.
Regards,
Sylvia ChenProblem solved. Thank you for all help!!
-
Link between storage location and batch number to retrive the salk3 field
HI,
In my report i need to give the output as follows
For each lgort with related batch number we need to get the salk3.So i need to get a link between lgort , batch number to retrive the salk3.can any one give the tables from which i can get the link and retrive the data.
note: My report output should look like the fields lgort batch and unrestriced value of stock in tcode mb52.
subhashini.
Edited by: subhashinikb on Apr 1, 2011 9:38 PMHi,
In 2 steps, u can get the unrestricted stock value.
step1: Get material no (MATNR), plant (WERKS), batch (CHARG) and unrestricted stock (CLABS) from table MCHB by sending Storage location and batch number.
Step2: Get standard price STPRS from table MBEW based on condition where MATNR = MCHB-MATNR, BWKEY = MCHB-WERKS and BWTAR = MCHB-CHARG.
unrestricted value in MB52 will be (MCHB-STPRS) * (MCHB-CLABS). -
On my canon powershot A3300IS the lense is stuck in the extended position and will not close
I have a canon powershot A3300 IS the lense is stuck in the extended position and will not close. How can I fix this myself?
Forneypamela,
Please remove the battery from the camera for a few minutes. Then, put the battery back in the camera and power it on again. If the lens is still stuck in the extended position, the camera is going to need service. I apologize for any inconvenience this may cause.
To start your repair process, you'll need to complete a Repair Request on our website.
If the camera is more than a year old, you may participate in the Canon Loyalty Program instead. The Canon Loyalty Program option allows you to replace your current camera for a discounted fee, plus shipping. The unit offered through this program carries a 90 day warranty. The original non-functioning camera would then be returned to Canon USA for recycling using a prepaid shipping label that would be provided.
If you would like to take part in this option, please call our Sales Department at (800) OK CANON (800-652-2666) seven days a week, 8am to Midnight. Let them know you have been working with online support and the Canon Loyalty Program was offered. Be sure to have your serial number for your camera at the time of your call.
If this is a time sensitive-matter, additional support options are available at Contact Us.
Did this answer your question? Please click the Accept as Solution button so that others may find the answer as well. -
How to get Storage Location and Vendor details in MD03 automatically
Hi folks,
We want to create automatic PR and PO from Planned Order.
But when PR gets created in MD03, the values for Purchase organization, Storage Location and fixed vendor are blank, even after maintaining source list with fixed vendor .
How to populate these values automatically ?
I am also attaching screenshot of MD03 screenHello
If you are creating the orders using MRP, you should make sure that the field MRP is set to 1 on the source list. The field 'fixed vendor' is not relevant to MRP. When the vendor is selected from the source list, the purchasing organization should be also copied to the purchase requisition.
The storage location will be copied from the respective field on the material master tab MRP2.
Also take a look on the following document:
MRP: Vendor is not selected and general problems on source determination
BR
Caetano -
RE: Difference between Storage location and warehouse
Hi All,
What is the difference between storage location and warehouse?Hi,
First of all Storage Lcoation is part of Inventory Management.
Warehouse is part of Logistics Execution.
Storage location is part of SAPu2019s enterprise structure that holds the stock quantity
Option: To maintain a single storage bin for every material in every storage location
To simplify: To utilize a storage location as the u201Cstorage facilityu201D means that the materialu2019s actual bin location is not important, or that the material is located in a single bin throughout the storage.
Warehouse is part of SAPu2019s enterprise structure that holds the stock bin location
To simplify: When a warehouse (Warehouse Management) is utilized as a storage facility, a materialu2019s actual bin location is of great importance
Advantage: Track a materialu2019s changing bin location
Warehouse Management has greater applications for use in a storage facility
Disadvantage: More complexity and usually requires more data entry
Hope this helps. -
Stock on posting date -storage location and batch wise
Dear All
I need to developa report exactly same as MB5B but with storage location and batch wise.
We need storage location wise opening stock, total receipts, total issues and closing stock, and values for given time period.
I have gone through some history tables like MCHBH and MBEWH.
But all the history tables are having fileds for period wise but not date wise.
Any focus on this?You have to read the coding of MB5B to see how SAP is doing it.
The stock per date is calculated, starting from a month end, adding or reducing quantities based on movements until the date in question is reached. -
Storage location and post.chge storage location not in the same warehouse
Hi All,
We have HU managed Storage Location, and in this Storage Location we have SUT managed Warehouse, Now while Goods Receipt we have to create inbound delivery, which is working fine and i can see my stock in Goods receipt area,, later on whicle creating Transfer Order to putaway in a bin i have a error message "Storage location and post.chge storage location not in the same warehouse" please help me with this error message. Thank you for all your inputs.
Regards
SamuelHi Nagesh,
Thank you for the input. I am receiving Stock from vendor and while creating Inbound delivery i created the Handling Unit and also packed it and i could also post it (PG Receipt). Now when i am creating TO i have that error message. The Storage Location where i am receiving is 9001and i have also maintained the partner Storage location,,, its like this Plant(1000)-SLoc(9001)-Partner SLoc(9002).... now the Storage Location 9002 is not HU managed,, the reason i gave this Storage location is, initially i gave 9001, but system said "Storage Location 9001 and 9001 must have different management systems". So now kindly tell me what is the purpose of the partner Storage location and which storage location should i give, as my partner Storage location across "1000-9001-????" thank you again for ur inputs.
Regards,
Samuel -
Please I need a help. I cannot backup my ipad and can not get into the iclous storage to delet them, because its read icloud storage is full. Please do you have a knowledge of how I can get rid of the message and get into the ipad?
Welcome to the Apple Community.
You might try a forced shutdown to begin with, hold down the top and home buttons together until the device shuts down, then restart it. -
Stock transport order between storage locations and assignment category type E not in MRP
Hello Gurus,
I have a stock transport order between 2 storage location which belongs to the same plant. Besides the stock transport order is allocated to a sales order (account assigment category E). When I run the MD03, the system take into account the quantity of the stock transport order as a future entry and this is wrong. I need that the MRP has not into account the stock transport order as an entry.
As an important information, If I modify the stock transport order removing the account asignment category E (sales order), then the MRP doesn't take into account it, so this is correct.
Could anybody tell me how to get it?
Thanks in advanced.Laura,
It is normal that MRP will consider an STO as a receipt element; this is basic planning. It is unclear to me why you think you do not want it to do so, but I will assume you have some logical reason.
Contrary to what some others may have suggested, changing the scope of check for availability checking has no effect on which elements are considered for MRP. MRP is a completely separate functionality from Availability Check.
For Location > Location STOs (within a plant), then, you normally have the receipt element of the STO in the destination storage location, and the requirements element of an equal amount in the source storage location. Net of these two elements is zero, unless you have already issued the STO at the source location.
Changing the Account assignment from "E" means that the STO will not be relevant for your Sales order (in other words, when you receive this STO into the destination storage location, it cannot be used for your sales order). In a general MTO scenario, it also means that the proceeds of this STO (the stock you received) cannot be used for ANY sales orders.
One way that some people make an STO 'not relevant' for MRP is to alter the destination storage location such that it is not relevant for MRP. You can change the MRP relevancy of the storage location in MM02 > MRP4 tab
Best Regards,
DB49 -
My iPod Nano (fourth generation) is stuck on a black screen and will not charge. It's done this before and you can still see a faint outline of the green charging sign and the time/date. HELP
Try:
- iOS: Not responding or does not turn on
- Also try DFU mode after try recovery mode
How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
- If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
- Try on another computer
- If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
Apple Retail Store - Genius Bar -
I downloaded the iOS 7 but it would not install so i tethered it to my computer the connect to iTunes screen came on the iPhone. But after a few minutes, it crashed and iTunes told me it was in recovery mode and that it will be restored to factory setting. After that process, it is stuck on the activation part and will not activate. Please advise!
All of Apple's servers...including the activation servers are pretty much flooded with users like you doing the same thing. Be patient and keep at it...or wait till the traffic to them has decreased and then try again. Coming back to it tomorrow (if that's a viable option for you) will likely increase your chances of not having issues.
Maybe you are looking for
-
CURRENT INFO ON REPLACING A SUPERDRIVE?
I have a G4 933 running 10.3.9 and my superdrive is not as super as it used to be. I've read all the threads about replacement drives and the Pioneer 110D seems to have been the drive of choice over the last 90 days. Before I buy and install, I wante
-
Regarding file content conversion and jdbc adapters
hi can any one send me the details about the sender jdbc adapter and the receiver jdbc adapter. i need the output of sender jdbc adapter(structure)also fro the receiver jdbc adapter. for file content conversion - can any one send abt the sender and r
-
SLD error after LDAP integration
Hello All, I integrated Corporate LDAP with EP 7.0 ,after that I have SLD error when I click on the ESS tab which says: Caused by: com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Failed to resolve JCO destination name 'SAP_R3_SelfService
-
DFS and Windows 7 x64 strange behavior when trying to access a DFS link through mapped drive
I've manually mapped a network drive (Q Drive) to a DFS location. Whenever I go into "My Computer" and open the Q Drive it shows the DFS links but when I double click one of the links it randomly takes me back to the "My Computer" starting point show
-
MRP plans sales orders outside planning horizon
MRP plans Sales order for Finished Goods Outside planning horizon even when using NETPL. Strategy 40 is in use with 3 level BOMs. Planning horizon - 200 day. How could it be prevented?