REJECT MATERIAL IN PLANT
Dear All,
pl help, that user had rcvd a material in plant now this material is rejected on shop floor , user wants it to reject the material now pl guide that what he should do to scrap the material ,
help will be appreciated.
regards,
sap11
Hi,
If you want to Scrap from your Storage location through MIGO, proceed as below
Select Goods Issue & Others in MIGO screen ,
Select Mvt type 551
and Maintain Material in Material Tab, Qty in Qty Tab & Plant & Sto Loc in Where Tab.
Just check and Post...
It will be posted....
Always Remember.. Scrap Means It is deem to be consumed as Scrap.
If you have any other requirement,, pls let me know..
Thx
Raju
Similar Messages
-
Excise invoice num entery atthe time of line rejected material sending back
Hi Experts,
My question is we want to send back line rejection material to vendor back. so we are creating return po against which we are doing goods receipt against purchase order with 161 movement & returns item is also ticked.
Now the probelm is that what excise invoice number should I enter because we already have received all material against our old po means we have already inwarded all material agaisnt vendor excise invoice. If I put same excise invoice number system gives me error all material has been received against that invoice.
pl. guide.
Thanks
TruptiHi,
Vendor line rejection through PO -
1) create return PO (chek for return indicator in PO)
2) GR against return PO
3) Excise invoice through J1IS(refer 161 mtrl docuemnt here use MLTD)
4)invoice through J1IS will be the outgoing document from the factory.
regards,
sujit -
Hello all,
my requirement is, system should give error message while creating sales order, if chapter ID is not maintained for a material and plant combination.
please suggest the user exit.Hi
CASE 1 : All Plants are excisable.
In Material master , Foreign Trade data tab- mentioned Control code field mandatory. ( i.e nothing but Chapter ID)
CASE 2 : Few Plants are excisable
In the Case 2 you need to go for Enhancement
Program Name : MV45AFZB
User Exit: USEREXIT_CHECK_VBAP ( Item Level Check )
By using above user exit you write a logic with the help of ABAPer
Plant and Chapter ID combination table : J_1IMTCHID -
Need help on enhancement of 0CO_OM_OPA_1 with Material and Plant
Hi,
I have a requirement that need to build a BW report which shows Actual costs and Planned Costs of Service Orders. We are getting Actual costs from 0CO_OM_OPA_6 and now i am getting planned costs from 0CO_OM_OPA_1. For actual costs we are getting Service Orders, Material and plant from Satandard DS 0CO_OM_OPA_6. Where as For Planned Costs standard data source 0CO_OM_OPA_1 is not having Material and Plant information. For this we decided to enhance 0CO_OM_OPA_1 with Material and Plant.
But we are not sure the source tables for material and plant and the logic to extract these data from the tables. Can anybody please help me out.
Thanks for your supprt in advance.It's possible you may need to use a CO-PA (profitability analysis) datasource instead of 0CO_OM_OPA_6. 0CO_OM_OPA_6 extracts data from CO tables.
Based on the path you provided "...Profit. segment...", the requested data might exist with CO-PA.
If you determine the required data resides in CO-PA, you'll have to create a datasource based on the operating concern. You can perform a search within the online docs for steps to create this datasource.
Hope this helps.
Rod -
To Extend material to plant using MATERIAL_MAINTAIN_DARK .
I am tryin to extend material into plants using MATERIAL_MAINTAIN_DARK function module.Can someone please check the code below and tell me how i should modify it to work.Is BDC a better option?
DATA: t_amara_ueb LIKE mara_ueb OCCURS 0 WITH HEADER LINE.
DATA: t_amarc_ueb LIKE marc_ueb OCCURS 0 WITH HEADER LINE.
t_amara_ueb-mandt = sy-mandt.
t_amara_ueb-matnr = it_reqdata-material.
t_amara_ueb-tcode = 'MM01'.
t_amara_ueb-tranc = 1.
APPEND t_amara_ueb.
CLEAR t_amara_ueb.
t_amarc_ueb-mandt = sy-mandt.
t_amarc_ueb-matnr = it_reqdata-material.
t_amarc_ueb-werks = it_reqdata-plant.
t_amarc_ueb-tranc = 1.
t_amarc_ueb-KZKRI = 'X'.
APPEND t_amarc_ueb.
CLEAR t_amarc_ueb.
call function 'MATERIAL_MAINTAIN_DARK'
exporting
flag_muss_pruefen = 'X'
p_kz_no_warn = 'N'
kz_prf = space
kz_verw = 'X'
kz_aend = 'X'
kz_dispo = 'X'
tables
amara_ueb = t_amara_ueb
AMARC_UEB = t_AMARC_UEB
EXCEPTIONS
KSTATUS_EMPTY = 1
TKSTATUS_EMPTY = 2
T130M_ERROR = 3
INTERNAL_ERROR = 4
TOO_MANY_ERRORS = 5
UPDATE_ERROR = 6
OTHERS = 7
if sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ELSE.
COMMIT WORK.
ENDIF.
Thanks and Regards,
Pratima.Hi ,
Use the below code.
DATA : lt_mara_ueb TYPE TABLE OF mara_ueb INITIAL SIZE 0,
lt_marc_ueb TYPE TABLE OF marc_ueb INITIAL SIZE 0,
lt_errors TYPE TABLE OF merrdat INITIAL SIZE 0.
DATA : wa_mara_ueb TYPE mara_ueb,
wa_marc_ueb TYPE marc_ueb,
wa_messtab TYPE merrdat.
DATA : l_mstring(480).
parameters: l_matnr like mara-matnr.
* Set up I_MARA
REFRESH lt_mara_ueb.
wa_mara_ueb-mandt = sy-mandt.
wa_mara_ueb-tcode = 'MM01'.
wa_mara_ueb-matnr = l_matnr.
wa_mara_ueb-tranc = '0000000001'.
APPEND wa_mara_ueb TO lt_mara_ueb.
CLEAR wa_mara_ueb.
SELECT SINGLE * FROM marc INTO CORRESPONDING FIELDS OF wa_marc_ueb
WHERE matnr EQ l_matnr AND werks EQ '01FC'.
IF sy-subrc EQ 0.
MOVE '01BV' TO wa_marc_ueb-werks.
wa_marC_ueb-tranc = '0000000001'.
WA_MARC_UEB-PSTAT = SPACE.
APPEND wa_marc_ueb TO lt_marc_ueb.
ENDIF.
CALL FUNCTION 'MATERIAL_MAINTAIN_DARK'
EXPORTING
* FLAG_MUSS_PRUEFEN = 'X'
* SPERRMODUS = 'E'
* MAX_ERRORS = 0
p_kz_no_warn = 'N'
kz_prf = 'W'
* KZ_VERW = 'X'
* KZ_AEND = 'X'
* KZ_DISPO = 'X'
* KZ_TEST = ' '
* NO_DATABASE_UPDATE = ' '
* CALL_MODE = ' '
* CALL_MODE2 = ' '
* USER = SY-UNAME
* SUPPRESS_ARRAY_READ = ' '
* FLG_MASS = ' '
* IMPORTING
* MATNR_LAST =
* NUMBER_ERRORS_TRANSACTION =
TABLES
amara_ueb = lt_mara_ueb
* AMAKT_UEB =
amarc_ueb = lt_marc_ueb
* AMARD_UEB =
* AMFHM_UEB =
* AMARM_UEB =
* AMEA1_UEB =
* AMBEW_UEB =
* ASTEU_UEB =
* ASTMM_UEB =
* AMLGN_UEB =
* AMLGT_UEB =
* AMPGD_UEB =
* AMPOP_UEB =
* AMVEG_UEB =
* AMVEU_UEB =
* AMVKE_UEB =
* ALTX1_UEB =
* AMPRW_UEB =
* AMFIELDRES =
* AMERRDAT =
EXCEPTIONS
KSTATUS_EMPTY = 1
TKSTATUS_EMPTY = 2
T130M_ERROR = 3
INTERNAL_ERROR = 4
TOO_MANY_ERRORS = 5
UPDATE_ERROR = 6
OTHERS = 7
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
COMMIT WORK.
Regards,
Raghav -
Transaction code to display exception messages by material and plant
Hi,
Is there a transaction code or standard report in SAP to display exception messages by material and plant? I see the exception messages by individual material and plant in MD04 but I need to see a collective view. I tried Collective access in MD04 and MD46 but they are not giving me exception groups but I need exceptions listed out by material and plant.
Thanks.Visu,
I have never seen such a report.
MD06 does support fine tuning the output display, once the list has been generated. If you use this feature, the resulting display is the entire list as created by selecting the initial parameters (such as exception group), but with the specific items that contain your selected message highlighted. If you are addressing the messages interactively, you can select the review (glasses) screens, and scroll through just the ones which contain your selected exception message(s).
To try this, execute MD06. Select the groups as necessary. Execute. Wait for the list. Now, immediately, select 'search' (binoculars). Experiment with the output.
As mentioned in the previous post, if MD06 does not meet your needs, you will need to have a custom report written.
Rgds,
DB49 -
How to get material and plant by providing control key as input ?
How to get the material and plant info based on control key values using a function module?
kindly help..Hi,
Check the FM
K_VALID_PLANTS_OF_MATERIAL.
Sandeep Kaushik -
Different stock value for accepted and rejected material in quality
Hi,
when we send the final product in quality ,some material has accepted and some material has rejected
But system is showing the value of both accepted and rejected same.
But we want that the value for both should be different.
How we can get it
Regards
PremIt is not possible to valuate differently for accepted and rejected material.
The value for material in PO for total material. So it should be same value for both.
Regards
Ravi -
Hi buddies,
How to have plantwise rejected material report?
Kind Regards.Rohit,
UD code is Usage Decision code.
Once the inspection is completed then you need to perform the UD and tehn stock posting to release the stock from Quality to Unrestricted/Block/Scrap/sample etc. Now there be different UD codes will be there,
E.g. Accept for Unrestricted
Reject to Block/Scrap
And in this layout QA32/33, in change layout all these field will appear to you. So where ever the UD code will be representing the Block stock it can be easily traced out.by incorporating these fields in the QA32/33 layout.
Try it and revert if there is any discrepancy.
Regards,
Shyamal -
Hi Gurus,
I need to extend large no of materials to other plant in the same sales org and distribution channel. If I have few materials can be extended to other plant each one by going thru MM01, copy material from plant, sales org, dist channel.
Kindly help me how to extend if large no of materials to be extended by plant?
Regards,
Vamsi.Hello Vamsi,
There are many techniques available for changing data on a large basis for same parameters like CATT, MASS, LSMW, BDC.
You can use transaction MASS and can give object type BUS1001001(material: retail) or BUS1001 Material:Industry) and execute.
Then select the table MARC as you need to change Plant data and execute. Provide necessary information and execute.
This transaction MASS updates information at table level. So ensure all the things before using the transaction.
Regards,
Priyanka -
Uploading Material and Plant Masterdata
Hi BW experts,
I am trying to upload master data from R/3 Prod for 0Material & 0MAT_PLANT. My upload failed as some of the materials and plants created in R/3 have been created with a space character at the end of the name (i,e '1000 ' as a plant, note the space at the end). This should normally happen as in R/3 a conv exits stops users creating unacceptable names but it seems the exit has been modifed! What a pain!
I have decided to replace the space with a unscore character (i.e '1000_') so this way it can be read into BW, although we would not report on this errornous material or plant name. The code is as follows:
DATA: LEN TYPE I.
LEN = STRLEN( TRAN_STRUCTURE-MATNR ).
TRANSLATE TRAN_STRUCTURE-MATNR+LEN USING ' _'.
and I have used it in the transfer routine for 0PLANT and 0MAT_PLANT. The load goes on but fails with the following error for 0MATERIAL & 0MAT_PLANT:
DATA_OFFSET_TOO_LARGE
CX_SY_RANGE_OUT_OF_BOUNDS
An exception occurred. This exception is dealt with in more detail below
. The exception, which is assigned to the class 'CX_SY_RANGE_OUT_OF_BOUNDS',
was neither
caught nor passed along using a RAISING clause, in the procedure
"COMPUTE_MATERIAL" "(FORM)"
Since the caller of the procedure could not have expected this exception
to occur, the running program was terminated.
The reason for the exception is:
The system tried to access field "TRAN_STRUCTURE-MATNR" with type "C" and
length
18 in the current program "GPBMDZFJE4YBL86FIMHZC52BNOE " using offset 18.
Partial field access is not allowed with an offset specification that is
larger than actual field length.
Could this be due to the code?
Thanks for you help and guidance where you can provide.
DVHi Edwin,
I am not too good with ABAP so you may need to help verify the code for me little. Do you mean the code should look like this:
DATA: LEN TYPE I.
LEN = STRLEN( TRAN_STRUCTURE-WERKS ).
TRANSLATE TRAN_STRUCTURE-WERKS+LEN-1 USING ' _'.
If i have the code wrong can you please help?
Thanks Edwin
DV -
Plannning Material and Plant for MRP Run
Hi,
If I have a material (01) extended on 2 plants, on one plant (A) we have production and planning/MRP + stock and on the other one (B), just stocking and transfer. B's requirements are to be entered and planned at A. I also want stock at B to be considered with stock at A when MRP runs at A. In the material master, I have some settings. I want to know if these would be any good:
Material 01 on Plant A:
MRP PD
Strategy 40
Lot size EX
Coverage profile applied
Material 01 on Plant B:
MRP ND/PD tried both
Strategy 40
Lot size EX
Coverage profile applied (same)
Planning material: Material 01 itself
Planning plant: Plant A
I particularly want to know about points 5 and 6. Will they make any difference if I run MRP on scope of planning(all plants) or just plant A? Will stock at B be considered? What difference does that setting make in my case? Please help!
Thanks!No sales on Plant A. Only transfers and STO's. Stock is STO'd to Plant B (and other Plants, as well)
Plant B sells the stock.
Yes, I want to load the forecast in Plant A (COPA to SOP to DM to MRP). What do I do in this case?
I tried another case, as well. In that I put a special procurement on the material in Plant B view and marked it as external procurement. (the planning material and plant were there, didn't remove)
Then I entered the forecast in both plants separately (PIRs for both Plants) The requirements from Plant B made STPO Planned orders in Plant B and STCK Planned orders in Plant A. I am using coverage profiles (period is month, standard length 25 days, target 10 days for 1st period for 2 months, target 10 days for 2nd period for 1 month, target 10 days for the rest of the horizon) Not using any consumption modes.
The results I am getting don't make sense to me. I have attached screen shots for both plants MD04 and the MRP + work scheduling views -
Total sales values by material and plant
Hi,
I was trying to extract the following information:
material number, plant, total sales qty(2006), and total sales amount(2006) from sap table. So, can any one help me with the table or a report where in I can find all this information.
Thanks
PuttaHi,
Good evening and greetings,
You can get the info from the Table BSEG as below
BSEG-BUKRS = Company Code and a Sales Org is attached to a Company Code
BSEG-GJAHR = Fiscal Year
BSEG-DMBTR = Amount in Local Currency
BSEG-PSWBT = GL Account Amount
BSEG-HKONT = GL Account Number
BSEG-MATNR = Material Code
BSEG-WERKS = Plant
BSEG-MENGE = Quantity
BSEG-MEINS = Base Unit of Measure
You have to execute the report with the following input parameters in SQVI
Company Code
GL Account Number = Revenue Account
Fiscal Year
You will get all the info from the system in the single table.
Please reward points if found useful
Thanking you
With kindest regards
Ramesh Padmanabhan -
Hi,
Iam trying to create a purchase order. For that after selecting the material. It is showing an error that "material xyz not maintained in plant abc". For this I want to know how to assign a material to a plant. In addition to that, I would like to know before assigning a material to plant,what all is needed to be done. please give reply in detail as Iam totally new to it...
Regards,
Kaushik SreeramHi Kaushik
I have been seeing your posts since y'day, I think you have just started learning SAP and at each step you are stucking and taking gudence from forum. But I didnt find that you have not given rewards to anyone.
please reward to each useful answer as way to say thanks.
coming to your question, since you have created PO with account assignment (otherwise valuation area is not checked for quantity and value updating in OMS2 transaction code), system is asking to assign correct GL account and cost cetre.
what is material type you are using? first of all let us know do you want create purchase order for account assignment or for stock? if it is for accunt assignment, you need to choose correct cost centre, If it is for stock , first go to OMS2 and chose material type and click on quantity and value updating.
chose valuation area (plant), check quantity updating and value updating and save,
Then you can create PO, it wont ask account assignment.
Good luck
regards
Srinivas -
Differentiate material at plant level
Hi,
I want to differentiate material at plant level.
Example I have a material 3335 in plant 1000 and 1100 but in plant 1000 this material is spare part and in plant 1100 this material is main part so I have to maintain this data at plant level.
I tried to enter this data in plant data tab in material master but it will grey out after I save material master for one plant and when I try to extend the material to another plant it will not allow to change.
I want to know a field where I can maintain this data.
Thanks and Regards
Pavanyou cannot have one material number with several material types.
the material type is even above the material number level, as you assign material number ranges to a group of material types.
You either have to create 2 materials, or one plant has to live with the "wrong" material type name.
More important than the name of material type are the attributes of a material type. As they define what views can be used, what fields will be mandatory or optional....
You will rarely find a transaction in SAP that uses the material type for selection or does show the material type in reports.
So dont build to much logic into the naming.
If you need to seperate spare part from main part n the GL accounts, then you can allow and assign a different valuation class.
Maybe you are looking for
-
Whenever I want to download a free app, it asks me for 3 security questions. I answer them. Then it says "session has timed out". Then the whole process starts over. How can I get around this?
-
No audio on windows 8.1 mid-2012 MBP
I was able to install windows 8.1 pro on my mid-2012 Macbook Pro with relative ease and everything works fine... except a complete lack of audio. I have read in several forums to uninstall various audio devices and drivers, and I've tried downloading
-
When i connect my mac to internet it appear "ntpd"
when i connect my mac to wifi it appear some messages at the centra of the screen with some of application normall used in my pc like adobe reader website with a band with and give the option to deny it or allow.Please can you help to stop this probl
-
Hi, I want to write some arrays into a file side by side. Like that.. A B C D 1 0,25 0,4 0,25 2 0,36 0,3 0,96 Hox can i do it? Thanks a lot.. irfan
-
I want to import still images to make a stop motion animation, but when I try to change the duration of still images, it isn't reflected in the timeline. How can I do this?